Bug#619220: yelp: please wipe out dependency_libs from .la files (Policy 10.2)

Steve Langasek steve.langasek at canonical.com
Tue Mar 22 02:27:16 UTC 2011


Package: yelp
Version: 2.28.0+webkit-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

Hi folks,

The attached patch has just been applied to the Ubuntu yelp package, to null
out the dependency_libs field in the libtool .la files being shipped in the
-dev package.  This is generally a good idea because it avoids causing
consumers of your library to require other .la files listed here to be
available at build time when they're not actually needed (i.e., in the
dynamic linking common case).  It's specifically a good idea right now
because multiarch is imminent, and that means the .la files referenced here
are going to *move* soon, causing build failures for anything using libtool
to build against yelp.  As long as yelp is going to need a rebuild to fix up
the invalid .la references, it would be nice to get rid of them altogether.

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.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
=== modified file 'debian/rules'
--- debian/rules	2011-01-11 12:54:59 +0000
+++ debian/rules	2011-03-22 01:40:30 +0000
@@ -6,6 +6,7 @@
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
+include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS += --with-gtk=2.0
 



More information about the pkg-gnome-maintainers mailing list