retitle 634452 libgalago.pc should not hard-code dependencies' old CFLAGS
reassign 634452 libgalago-dev
forcemerge 634452 634453 634454
affects 634452 galago-python
affects 634452 eds-feed
affects 634452 galago-gtk-python
tags 634452 + patch upstream
thanks

On Tue, 19 Jul 2011 at 00:25:52 +0200, Lucas Nussbaum wrote:
> > In file included from /usr/include/libgalago/galago-object.h:28:0,
> >                  from /usr/include/libgalago/galago-image.h:30,
> >                  from /usr/include/libgalago/galago-account.h:28,
> >                  from /usr/include/libgalago/galago.h:40,
> >                  from galago.override:4:
> > /usr/include/dbus-1.0/dbus/dbus.h:29:33: fatal error: 
> > dbus/dbus-arch-deps.h: No such file or directory
> > compilation terminated.
> > make[3]: *** [galago.lo] Error 1

This is <https://bugs.launchpad.net/ubuntu/+source/eds-feed/+bug/749111>,
and became a problem when dbus was converted to multiarch. Ubuntu has a patch
which looks about right (attached).

Regards,
    S
diff -pruN 0.5.2-2/debian/changelog 0.5.2-2ubuntu1/debian/changelog
--- 0.5.2-2/debian/changelog	2011-04-10 11:46:38.000000000 +0100
+++ 0.5.2-2ubuntu1/debian/changelog	2011-04-10 11:41:57.000000000 +0100
@@ -1,3 +1,12 @@
+libgalago (0.5.2-2ubuntu1) natty; urgency=low
+
+  * 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.
+
+ -- Steve Langasek <steve.langa...@ubuntu.com>  Sat, 09 Apr 2011 21:12:36 -0700
+
 libgalago (0.5.2-2) unstable; urgency=low
 
   * libgalago-dev should depend on libgalago3 and not libgalago2. 
diff -pruN 0.5.2-2/debian/control 0.5.2-2ubuntu1/debian/control
--- 0.5.2-2/debian/control	2011-04-10 11:46:38.000000000 +0100
+++ 0.5.2-2ubuntu1/debian/control	2011-04-10 11:41:57.000000000 +0100
@@ -1,6 +1,8 @@
 Source: libgalago
+Section: libs
 Priority: optional
-Maintainer: Riccardo Setti <gisk...@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Riccardo Setti <gisk...@debian.org>
 Uploaders: Jose Carlos Garcia Sogo <js...@debian.org>, Loic Minier <l...@dooz.org>
 Build-Depends: libdbus-glib-1-dev (>= 0.71), debhelper (>= 5), libglib2.0-dev (>= 2.2.0), cdbs, gtk-doc-tools
 Standards-Version: 3.7.2
@@ -32,4 +34,3 @@ Suggests: devhelp
 Description: Libraries and header files for developing against libgalago
  The libgalago-doc package contains the documentation files 
  needed to develop applications with libgalago.
-
diff -pruN 0.5.2-2/libgalago.pc.in 0.5.2-2ubuntu1/libgalago.pc.in
--- 0.5.2-2/libgalago.pc.in	2006-05-17 08:53:26.000000000 +0100
+++ 0.5.2-2ubuntu1/libgalago.pc.in	2011-04-10 11:41:57.000000000 +0100
@@ -6,6 +6,6 @@ includedir=${prefix}/include
 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

Reply via email to