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

Final question before submitting GIMP package.



I have finished packaging GIMP for debian.  The only question I have
now is about the .deb files.  As it stands, I build two .deb files.
One has the static app gimp-XXX.deb and the other has the shared app
gimp-shared-XXX.deb.  Both have the exact same debian.control files.
I wondered if this would be a problem.  dpkg should do the right
thing, but I wondered if this might cause other trouble since the only
discriminating factor is the filename.

If anyone cares, I modified the configure script so that it added an
environment var to LIBS at the end instead of lXpm.  Then in
debian.rules I do this:

build:
	$(checkdir)
	./configure
	rm -f app/gimp
	$(MAKE) DESIRED_MOTIF_LIB=/usr/X11/lib/libXm.a
	touch build

build-shared:
	$(checkdir)
	./configure
	rm -f app/gimp
	$(MAKE) DESIRED_MOTIF_LIB=-lXm
	touch build-shared

Note that I remove the binary so that it'll get relinked.  The normal
build and binary targets build the static executable.  There's a
build-shared and binary-shared for the shared version.

--
Rob



Reply to: