Bug#820095: Bug: libgdk-pixbuf2.0-dev: Please relax dependency with
Hideki Yamane
henrich at debian.or.jp
Tue Apr 5 13:13:46 UTC 2016
libpng12-dev
Message-Id: <20160405221346.eb3af34a06a4ca63c0c6a729 at debian.or.jp>
In-Reply-To: <20160405123810.GL7787 at rene-engelhard.de>
Organization: Debian JP Project
X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Tue, 5 Apr 2016 14:38:10 +0200 Rene Engelhard <rene at debian.org> wrote:
> No, this is wrong, and still would get the build failure.
>
> The correct solution iy to make gdk-pixbuf mention libpng.pc in Requires,
> which would work for both 12 and 16.
$ apt-file search libpng.pc
emscripten: /usr/share/emscripten/system/lib/pkgconfig/libpng.pc
libpng-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/libpng.pc
libpng12-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/libpng.pc
Nice :)
Thanks for your suggestion, then how about this one?
diff -urN gdk-pixbuf-2.33.2/debian/patches/libpng-dependency.patch gdk-pixbuf-2.33.2.patched/debian/patches/libpng-dependency.patch
--- gdk-pixbuf-2.33.2/debian/patches/libpng-dependency.patch 1970-01-01 09:00:00.000000000 +0900
+++ gdk-pixbuf-2.33.2.patched/debian/patches/libpng-dependency.patch 2016-04-05 21:49:19.673104358 +0900
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -590,7 +590,7 @@
+
+ dnl Test for libpng
+ if test x$with_libpng != xno && test -z "$LIBPNG"; then
+- for l in libpng16 libpng15 libpng14 libpng12 libpng13 libpng10; do
++ for l in libpng libpng16 libpng15 libpng14 libpng12 libpng13 libpng10; do
+ AC_MSG_CHECKING(for $l)
+ if $PKG_CONFIG --exists $l ; then
+ AC_MSG_RESULT(yes)
diff -urN gdk-pixbuf-2.33.2/debian/patches/series gdk-pixbuf-2.33.2.patched/debian/patches/series
--- gdk-pixbuf-2.33.2/debian/patches/series 1970-01-01 09:00:00.000000000 +0900
+++ gdk-pixbuf-2.33.2.patched/debian/patches/series 2016-04-05 21:47:53.564979401 +0900
@@ -0,0 +1 @@
+libpng-dependency.patch
More information about the pkg-gnome-maintainers
mailing list