[Pkg-gpe-maintainers] Bug#620444: libcontactsdb: please clean out dependency_libs

Evan Broder evan at ebroder.net
Fri Apr 1 22:20:26 UTC 2011

Package: libcontactsdb
Version: 0.5-4
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

Hi -

I've just applied the attached patch to libcontactsdb in Ubuntu to
empty out the dependency_libs field in the libtool .la file being
shipped in the -dev package. This is generally a good idea because it
avoids causing consumers of your library to require the .la files
listed to be available when they're not actually needed (i.e., in the
common case of dynamic linking). It will also cause problems in the
near future because multiarch is landing soon, which will cause the
..la files referenced by libcontactsdb to move, which would cause build
failures for anything linking against libcontactsdb. This change will
require a rebuild of libcontactsdb anyway in order to update the paths
in the .la file, so it's a great opportunity to just wipe out
dependency_libs entirely.

The changelog entry for this upload in Ubuntu is:

 * Rebuild to pick up multiarch changes.
 * Clean .la files.

Thanks for considering the patch.

- Evan

-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-24-generic (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpSWXphf
Type: text/x-diff
Size: 354 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gpe-maintainers/attachments/20110401/e1b815e5/attachment.diff>

More information about the Pkg-gpe-maintainers mailing list