Package: sylpheed-claws-gtk2 Version: 1.9.100-1 Severity: grave Hi Ricardo,
As you know, the sylpheed-claws-gtk2 package currently depends on libfreetype6, but it does not use it. This dependency is being pulled in because the package uses libtool convenience libs with building, and there is no proper solution for this that works portably without pulling in indirect library dependencies. As you approved on IRC, attached is a patch which uses -Wl,--as-needed as a hack to get ld to drop unneeded library dependencies from the resulting binaries. I will be uploading an NMU with this patch shortly. Cheers, -- 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 sylpheed-claws-gtk2-1.9.100/debian/changelog sylpheed-claws-gtk2-1.9.100/debian/changelog --- sylpheed-claws-gtk2-1.9.100/debian/changelog +++ sylpheed-claws-gtk2-1.9.100/debian/changelog @@ -1,3 +1,13 @@ +sylpheed-claws-gtk2 (1.9.100-1.1) unstable; urgency=low + + * Non-maintainer upload with permission of the maintainer. + * Use -Wl,--as-needed when linking, to prevent sylpheed-claws from picking + up dependencies on a large number of dependencies it doesn't use; this + appears to be the only reasonable way to drop these dependencies when + using libtool convenience libraries. + + -- Steve Langasek <[EMAIL PROTECTED]> Fri, 25 Nov 2005 01:41:28 -0800 + sylpheed-claws-gtk2 (1.9.100-1) unstable; urgency=high * New upstream release. diff -u sylpheed-claws-gtk2-1.9.100/debian/rules sylpheed-claws-gtk2-1.9.100/debian/rules --- sylpheed-claws-gtk2-1.9.100/debian/rules +++ sylpheed-claws-gtk2-1.9.100/debian/rules @@ -43,7 +43,7 @@ build-stamp: patch-stamp config.status dh_testdir - $(MAKE) + $(MAKE) LDFLAGS="-Wl,--as-needed" touch build-stamp clean: clean-patched unpatch