Bug#820095: libgdk-pixbuf2.0-dev: Please relax dependency with libpng12-dev

Hideki Yamane henrich at debian.or.jp
Tue Apr 5 12:01:12 UTC 2016


Package: libgdk-pixbuf2.0-dev
Version: 2.33.2-1
Severity: normal
Tags: patch

Hi,

 During build gnome-todo pacakge with experimental packages, I've got
 a build failure with missing libpng12-dev that is cauase by libgdk-pixbuf2.0-dev.

> checking for GNOME_TODO... no
> configure: error: Package requirements (gmodule-export-2.0
>                   gio-2.0 >= 2.43.4
>                   glib-2.0 >= 2.43.4
>                   goa-1.0 >= 3.2.0
>                   gtk+-3.0 >= 3.19.5
>                   libecal-1.2 >= 3.13.90
>                   libedataserver-1.2 >= 3.17.1
>                   libedataserverui-1.2 >= 3.17.1
>                   libical >= 0.43
>                   libpeas-1.0 >= 1.17) were not met:
> 
> Package 'libpng12', required by 'gdk-pixbuf-2.0', not found

 Yes, /usr/lib/x86_64-linux-gnu/pkgconfig/gdk-pixbuf-2.0.pc says

> Name: GdkPixbuf
(snip)
> Requires.private: gmodule-no-export-2.0 libpng12

 But Its package dependency is

> Package: libgdk-pixbuf2.0-dev
> Source: gdk-pixbuf
> Version: 2.33.2-1
(snip)
> Depends: libc6 (>= 2.4), libgdk-pixbuf2.0-0 (= 2.33.2-1), libglib2.0-0 (>= 2.37.6),
> libpng12-0 (>= 1.2.13-4), gir1.2-gdkpixbuf-2.0 (= 2.33.2-1), libglib2.0-dev (>= 2.37.6),
> libx11-dev, libpng-dev, shared-mime-info
              ^^^^^^^^^^

 There's only libpng-dev (there should be libpng12-dev, too). Probably gdk-pixbuf
 was built with unstable chroot, however, libpng-dev is only in experimental,
 so built package has a conflict information. 


 patch attached.

diff -urN gdk-pixbuf-2.32.3.orig/debian/control.in gdk-pixbuf-2.32.3/debian/control.in
--- gdk-pixbuf-2.32.3.orig/debian/control.in    2016-01-28 02:24:01.000000000 +0900
+++ gdk-pixbuf-2.32.3/debian/control.in 2016-04-05 10:47:01.439479341 +0900
@@ -69,7 +69,7 @@
          gir1.2-gdkpixbuf-2.0 (= ${binary:Version}),
          libglib2.0-dev (>= 2.37.6),
          libx11-dev,
-         libpng-dev,
+         libpng-dev | libpng12-dev,
          shared-mime-info
 Description: GDK Pixbuf library (development files)
  The GDK Pixbuf library provides:



More information about the pkg-gnome-maintainers mailing list