From: Jakob Haufe Date: Mon, 12 Mar 2012 00:23:33 +0000 (+0100) Subject: New patch to fix linkage of libglabels X-Git-Tag: debian/3.0.0-1~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c4bbf36486ebf07b5fdde8df33098b31e4549ba5;p=glabels New patch to fix linkage of libglabels --- 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 index 00000000..4c4a146c --- /dev/null +++ b/debian/patches/0004-libglabels-silently-uses-gobject-fix-linkage.patch @@ -0,0 +1,34 @@ +From: Jakob Haufe +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@ diff --git a/debian/patches/series b/debian/patches/series index dbf2b8a2..159c2ec6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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