From da1e9673b8cf2281e27bf8307eead00444f1e879 Mon Sep 17 00:00:00 2001 From: Jakob Haufe Date: Mon, 12 Mar 2012 00:47:14 +0100 Subject: [PATCH] New patch to fix linkage of libglbarcode --- ...code-uses-pangocairo-not-plain-pango.patch | 37 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 38 insertions(+) create mode 100644 debian/patches/0003-libglbarcode-uses-pangocairo-not-plain-pango.patch 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 index 00000000..9b2723ea --- /dev/null +++ b/debian/patches/0003-libglbarcode-uses-pangocairo-not-plain-pango.patch @@ -0,0 +1,37 @@ +From: Jakob Haufe +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 diff --git a/debian/patches/series b/debian/patches/series index 89b8a0f5..dbf2b8a2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 0001-menu.patch 0002-manpage.patch +0003-libglbarcode-uses-pangocairo-not-plain-pango.patch -- 2.39.5