Bug#976027: haskell-gi-gdkpixbuf: Please depend and build-depend on libgdk-pixbuf-2.0-dev instead of libgdk-pixbuf2.0-dev
Simon McVittie
smcv at debian.org
Sat Nov 28 15:41:34 GMT 2020
Source: haskell-gi-gdkpixbuf
Version: 2.0.24-1
Severity: normal
Tags: patch
User: pkg-gnome-maintainers at lists.alioth.debian.org
Usertags: split-gdk-pixbuf
In Debian 10 and older, the libgdk-pixbuf2.0-dev package contains
development files for two libraries: gdk-pixbuf-2.0 and the deprecated
gdk-pixbuf-xlib-2.0.
In testing/unstable, it has been split into libgdk-pixbuf-2.0-dev
and libgdk-pixbuf-xlib-2.0-dev packages, in preparation for a new
upstream release of gdk-pixbuf-2.0 that moves gdk-pixbuf-xlib-2.0
into a separate source package. libgdk-pixbuf2.0-dev continues to
exist, but is now a transitional package that pulls in the deprecated
libgdk-pixbuf-xlib-2.0-dev in addition to libgdk-pixbuf-2.0-dev.
It looks as though haskell-gi-gdkpixbuf only requires the main
gdk-pixbuf-2.0 library. Please update the Depends and Build-Depends
so that it only pulls in that part, as in the attached patch.
The form suggested in the attached patch is backwards-compatible with
older Debian releases:
libgdk-pixbuf-2.0-dev | libgdk-pixbuf2.0-dev
but if this package is unlikely to be backported, you can simplify that
to just the new package:
libgdk-pixbuf-2.0-dev
Thanks,
smcv
-------------- next part --------------
diff --git a/debian/control b/debian/control
index 5629cb5..1b53e3b 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,7 @@ Build-Depends: debhelper (>= 10),
libghc-haskell-gi-base-dev (<< 0.25),
libghc-haskell-gi-base-prof,
pkg-config,
- libgdk-pixbuf2.0-dev,
+ libgdk-pixbuf-2.0-dev | libgdk-pixbuf2.0-dev,
Build-Depends-Indep: ghc-doc,
libghc-gi-gio-doc,
libghc-gi-glib-doc,
@@ -44,7 +44,7 @@ Architecture: any
Depends: ${haskell:Depends},
${misc:Depends},
${shlibs:Depends},
- libgdk-pixbuf2.0-dev,
+ libgdk-pixbuf-2.0-dev | libgdk-pixbuf2.0-dev,
Recommends: ${haskell:Recommends},
Suggests: ${haskell:Suggests},
Conflicts: ${haskell:Conflicts},
More information about the Pkg-haskell-maintainers
mailing list