Source: plank
Version: 0.11.89-1
Severity: normal
Tags: patch
User: pkg-gnome-maintain...@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 plank 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
diff --git a/debian/control b/debian/control
index 2896575..7e8ef1f 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: debhelper-compat (=12),
                libbamf3-dev (>= 0.4),
                libcairo2-dev (>= 1.13.0),
                libdbusmenu-gtk3-dev (>= 0.6.2),
-               libgdk-pixbuf2.0-dev (>= 2.26.0),
+               libgdk-pixbuf-2.0-dev (>= 2.26.0) | libgdk-pixbuf2.0-dev (>= 
2.26.0),
                libgee-0.8-dev,
                libglib2.0-dev (>= 2.40.0),
                libgnome-menu-3-dev,
@@ -68,7 +68,7 @@ Section: libdevel
 Depends: libplank1 (= ${binary:Version}),
          libbamf3-dev (>= 0.2.92),
          libcairo2-dev (>= 1.10.0),
-         libgdk-pixbuf2.0-dev (>= 2.26.0),
+         libgdk-pixbuf-2.0-dev (>= 2.26.0) | libgdk-pixbuf2.0-dev (>= 2.26.0),
          libgee-0.8-dev,
          libglib2.0-dev (>= 2.40.0),
          libgtk-3-dev (>= 3.10.0),

Reply via email to