Bug#975699: wmdrawer: requires gdk-pixbuf-xlib-2.0.pc but does not build-depend on a package containing it

Simon McVittie smcv at debian.org
Wed Nov 25 09:18:40 GMT 2020


Source: wmdrawer
Version: 0.10.5-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

To reproduce: build wmdrawer on a release architecture in unstable (I used
amd64).

> No package 'gdk-pixbuf-xlib-2.0' found
> Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gdk-pixbuf-xlib-2.0' found
> images.c:29:10: fatal error: gdk-pixbuf-xlib/gdk-pixbuf-xlib.h: No such file or directory
>    29 | #include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is because the deprecated gdk-pixbuf-xlib-2.0 module used to be
pulled in as an indirect dependency by GTK 2. However, GTK 2 doesn't
actually use that module, and as a result libgtk2.0-dev no longer depends
on it, causing wmdrawer to fail to build.

In the short term, please build-depend on either

    libgdk-pixbuf-xlib-2.0-dev | libgdk-pixbuf2.0-dev

if you want backports to older Debian to be possible, or

    libgdk-pixbuf-xlib-2.0-dev

if not. That's enough to close this bug. (This might also be a good
opportunity to check that all the other packages required at build time
are in the Build-Depends.)

For the longer term, the upstream maintainers of gdk-pixbuf have deprecated
the gdk-pixbuf-xlib-2.0 module[0] and do not intend to maintain it further,
so it would be better if wmdrawer can stop using it.

Thanks,
    smcv

[0] https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib



More information about the Pkg-wmaker-devel mailing list