]> git.sur5r.net Git - glabels/blob - debian/patches/0004-libglabels-silently-uses-gobject-fix-linkage.patch
4c4a146cbf8c53fa46ac56860956e56eedbcc3da
[glabels] / debian / patches / 0004-libglabels-silently-uses-gobject-fix-linkage.patch
1 From: Jakob Haufe <sur5r@sur5r.net>
2 Date: Mon, 12 Mar 2012 01:18:38 +0100
3 Subject: libglabels silently uses gobject, fix linkage
4
5 ---
6  configure.ac                    |    1 +
7  libglabels/libglabels-3.0.pc.in |    2 +-
8  2 files changed, 2 insertions(+), 1 deletions(-)
9
10 diff --git a/configure.ac b/configure.ac
11 index ca2276d..26d3903 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -163,6 +163,7 @@ dnl - LIBGLABELS more modest prerequisites
15  dnl ---------------------------------------------------------------------------
16  PKG_CHECK_MODULES(LIBGLABELS, [\
17         glib-2.0 >= $GLIB_REQUIRED \
18 +       gobject-2.0 >= $GLIB_REQUIRED \
19         libxml-2.0 >= $LIBXML_REQUIRED \
20  ])
21  
22 diff --git a/libglabels/libglabels-3.0.pc.in b/libglabels/libglabels-3.0.pc.in
23 index bb07823..13c824a 100644
24 --- a/libglabels/libglabels-3.0.pc.in
25 +++ b/libglabels/libglabels-3.0.pc.in
26 @@ -5,7 +5,7 @@ includedir=@includedir@
27  
28  Name: LIBGLABELS
29  Description: GLabels Template Library
30 -Requires: glib-2.0 libxml-2.0
31 +Requires: glib-2.0 gobject-2.0 libxml-2.0
32  Version: @VERSION@
33  Libs: -L${libdir} -lglabels-3.0
34  Cflags: -I${includedir}/@LIBGLABELS_BRANCH@