]> git.sur5r.net Git - glabels/commitdiff
New patch to fix linkage of libglbarcode
authorJakob Haufe <sur5r@sur5r.net>
Sun, 11 Mar 2012 23:47:14 +0000 (00:47 +0100)
committerJakob Haufe <sur5r@sur5r.net>
Wed, 28 Mar 2012 17:20:37 +0000 (19:20 +0200)
debian/patches/0003-libglbarcode-uses-pangocairo-not-plain-pango.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0003-libglbarcode-uses-pangocairo-not-plain-pango.patch b/debian/patches/0003-libglbarcode-uses-pangocairo-not-plain-pango.patch
new file mode 100644 (file)
index 0000000..9b2723e
--- /dev/null
@@ -0,0 +1,37 @@
+From: Jakob Haufe <sur5r@sur5r.net>
+Date: Mon, 12 Mar 2012 00:44:57 +0100
+Subject: libglbarcode uses pangocairo, not plain pango
+
+Only having pango here results in incomplete linkage and complaints by
+dpkg-shlibdeps.
+---
+ configure.ac                        |    2 +-
+ libglbarcode/libglbarcode-3.0.pc.in |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index ebcb0c4..ca2276d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -176,7 +176,7 @@ dnl ---------------------------------------------------------------------------
+ PKG_CHECK_MODULES(LIBGLBARCODE, [\
+       glib-2.0 >= $GLIB_REQUIRED \
+       cairo >= $CAIRO_REQUIRED \
+-      pango >= $PANGO_REQUIRED \
++      pangocairo >= $PANGO_REQUIRED \
+ ])
+ AC_SUBST(LIBGLBARCODE_CFLAGS)
+diff --git a/libglbarcode/libglbarcode-3.0.pc.in b/libglbarcode/libglbarcode-3.0.pc.in
+index 325eff2..f621f14 100644
+--- a/libglbarcode/libglbarcode-3.0.pc.in
++++ b/libglbarcode/libglbarcode-3.0.pc.in
+@@ -5,7 +5,7 @@ includedir=@includedir@
+ Name: LIBGLBARCODE
+ Description: GLabels Built-In Barcode Library
+-Requires: glib-2.0 cairo pango
++Requires: glib-2.0 cairo pangocairo
+ Version: @VERSION@
+ Libs: -L${libdir} -lglbarcode-3.0
+ Libs.private: -lm
index 89b8a0f54416511513b756d61cc543788b201458..dbf2b8a28290bba50832fab5861bcb480123f304 100644 (file)
@@ -1,2 +1,3 @@
 0001-menu.patch
 0002-manpage.patch
+0003-libglbarcode-uses-pangocairo-not-plain-pango.patch