]> git.sur5r.net Git - glabels/commitdiff
New patch to fix linkage of libglabels
authorJakob Haufe <sur5r@sur5r.net>
Mon, 12 Mar 2012 00:23:33 +0000 (01:23 +0100)
committerJakob Haufe <sur5r@sur5r.net>
Wed, 28 Mar 2012 17:20:37 +0000 (19:20 +0200)
debian/patches/0004-libglabels-silently-uses-gobject-fix-linkage.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0004-libglabels-silently-uses-gobject-fix-linkage.patch b/debian/patches/0004-libglabels-silently-uses-gobject-fix-linkage.patch
new file mode 100644 (file)
index 0000000..4c4a146
--- /dev/null
@@ -0,0 +1,34 @@
+From: Jakob Haufe <sur5r@sur5r.net>
+Date: Mon, 12 Mar 2012 01:18:38 +0100
+Subject: libglabels silently uses gobject, fix linkage
+
+---
+ configure.ac                    |    1 +
+ libglabels/libglabels-3.0.pc.in |    2 +-
+ 2 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index ca2276d..26d3903 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -163,6 +163,7 @@ dnl - LIBGLABELS more modest prerequisites
+ dnl ---------------------------------------------------------------------------
+ PKG_CHECK_MODULES(LIBGLABELS, [\
+       glib-2.0 >= $GLIB_REQUIRED \
++      gobject-2.0 >= $GLIB_REQUIRED \
+       libxml-2.0 >= $LIBXML_REQUIRED \
+ ])
+diff --git a/libglabels/libglabels-3.0.pc.in b/libglabels/libglabels-3.0.pc.in
+index bb07823..13c824a 100644
+--- a/libglabels/libglabels-3.0.pc.in
++++ b/libglabels/libglabels-3.0.pc.in
+@@ -5,7 +5,7 @@ includedir=@includedir@
+ Name: LIBGLABELS
+ Description: GLabels Template Library
+-Requires: glib-2.0 libxml-2.0
++Requires: glib-2.0 gobject-2.0 libxml-2.0
+ Version: @VERSION@
+ Libs: -L${libdir} -lglabels-3.0
+ Cflags: -I${includedir}/@LIBGLABELS_BRANCH@
index dbf2b8a28290bba50832fab5861bcb480123f304..159c2ec6d88f7949e1844c0b8262bb4e3eb94bfd 100644 (file)
@@ -1,3 +1,4 @@
 0001-menu.patch
 0002-manpage.patch
 0003-libglbarcode-uses-pangocairo-not-plain-pango.patch
+0004-libglabels-silently-uses-gobject-fix-linkage.patch