Package: came
Version: 1.9-1
Severity: grave
Tags: patch

Hi Ben,

The came package currently depends on libfreetype6, but it does not use it.
This dependency is being pulled in via giblib-config --libs, which works as
designed but is *not* a correct tool for getting a list of libs to link
against on a GNU system using dynamic linking.

Attached is a short patch which fixes the came package build to no longer
link against spurious libraries.  This patch changes the binary package
dependencies from this:

 Depends: giblib1 (>> 1.2.4), libc6 (>= 2.3.2.ds1-4), libcurl3 (>= 7.12.2-1), 
libfreetype6 (>= 2.1.5-1), libimlib2, libx11-6 | xlibs (>> 4.1.0), libxext6 | 
xlibs (>> 4.1.0), zlib1g (>= 1:1.2.1)

to this:

 Depends: giblib1 (>> 1.2.4), libc6 (>= 2.3.5-1), libcurl3 (>= 7.15.0-1), 
libimlib2

Although libfreetype6 is currently available in unstable, due to bug #314385
it is very likely that this package will have to go through a library
transition in the near future.  Since came doesn't use freetype, I'm filing
this bug at "grave" severity pre-emptively, to encourage you to get your
package free of the transition before it starts.  Please fix this bug at
your earliest convenience.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/
diff -u came-1.9/debian/changelog came-1.9/debian/changelog
--- came-1.9/debian/changelog
+++ came-1.9/debian/changelog
@@ -1,3 +1,11 @@
+came (1.9-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Hard-code -lgiblib -lImlib2 instead of using the output of giblib-config,
+    which is incorrect for GNU/* systems using dynamic linking.
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Wed, 25 Jan 2006 02:58:32 -0800
+
 came (1.9-1) unstable; urgency=low
 
   * New upstream.
only in patch2:
unchanged:
--- came-1.9.orig/Makefile
+++ came-1.9/Makefile
@@ -23,7 +23,7 @@
 all build: $(PROGS)
 
 camE: $(OBJS)
-       $(CC) $(CFLAGS) -o $@ $(OBJS) `giblib-config --libs` -lcurl
+       $(CC) $(CFLAGS) -o $@ $(OBJS) -lgiblib -lImlib2 -lcurl
 
 install: all
        $(INSTALL_DIR) $(bindir)

Attachment: signature.asc
Description: Digital signature

Reply via email to