[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Is this really the debian way ?



Hello, 

I try to port cjs (part of Cinnamon) to Debian.

On the control file these packages are made: 

cjs  - Mozilla-based javascript bindings for the GNOME platform
libcjs0c - This is the shared library applications link to
libcjs-dev - This package contains the development files applications need to
 build against.

I wonder if this is the way Debian wants the packages.

Then on the rules files I see this : 

DEB_DH_MAKESHLIBS_ARGS_libcjs0c = -Xusr/lib/cjs-1.0/ -V'libcjs0c (>= $(DEB_UPSTREAM_VERSION)), libcjs0-$(LIBMOZJS)' -- -c4

So they have to use some sort of "hack" to find the files of the second package. 

If this is the way Debian wants the packages, how can I do the same with dh7. 
All the parts are of a debian directory made by the Linux mint developers. 
and on the faq is stated that it is better to make a debian diretory instead of using upstream.

Roelof 		 	   		  

Reply to: