Package: libgalago Version: 0.5.2-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty ubuntu-patch
Hi guys, The libgalago.pc file currently hardcodes the contents of @PACKAGE_CFLAGS@ and @PACKAGE_LIBS@ variables that are resolved at build time. This is obviously wrong - the whole point of pkg-config is that you only declare which other libraries your library depends on, and when your /reverse build-depends/ are built, the paths for these other libraries are resolved to their current locations. This will be a non-theoretical issue shortly, when multiarch begins to roll out ond /usr/lib/glib-2.0 will move. Please consider applying the attached patch for this, to help preserve archive buildability during the multiarch transition. This patch has been uploaded to Ubuntu with the following explanation in the changelog: * libgalago.pc.in: don't substitute cflags/ldflags for other libraries into the .pc file, use Requires.private instead. Fixes build failure of all packages depending on libgalago, because multiarch means the glib headers have moved. LP: #749111. 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. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
only in patch2: unchanged: --- libgalago-0.5.2.orig/libgalago.pc.in +++ libgalago-0.5.2/libgalago.pc.in @@ -6,6 +6,6 @@ Name: libgalago Description: Galago Association/Presence Communication Library Version: @VERSION@ -Libs: -L${libdir} -lgalago @PACKAGE_LIBS@ -Cflags: -I${includedir} @PACKAGE_CFLAGS@ - +Libs: -L${libdir} -lgalago +Cflags: -I${includedir} +Requires.private: dbus-glib-1 dbus-1 gobject-2.0 glib-2.0