Bug#834998: libglib2.0-bin: +depends libgdk-pixbuf2.0-dev and libxml2-utils

Simon McVittie smcv at debian.org
Wed Aug 22 10:14:25 BST 2018


Control: severity -1 minor
Control: retitle -1 libglib2.0-dev-bin: does not depend on packages containing xmllint and gdk-pixbuf-pixdata

On Sun, 21 Aug 2016 at 14:00:21 +0200, HJ wrote:
> the program glib-compile-resources requires [libgdk-pixbuf2.0-dev
> and libxml2-utils] otherwise it will print erros like:
> 
> XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
> 
> and:
> 
> to-pixbuf preprocessing requested but GDK_PIXBUF_PIXDATA not set and gdk-
> pixbuf-pixdata not found in path.

This is not the core functionality of glib-compile-resources: it
can process many resource files, some of which do not contain XML or
gdk-pixbuf data. A hard dependency for optional functionality seems too
strong. If you are packaging an application that requires this processing,
you will need to include the appropriate packages in its Build-Depends.

At the time this bug was opened, glib-compile-resources was also in
libglib2.0-bin, a general (non-development) utility package, for which
dependencies on development packages would have been inappropriate.

Now that glib-compile-resources has moved from libglib2.0-bin to
libglib2.0-dev-bin, I think it would be appropriate to add Suggests for
libgdk-pixbuf2.0-bin (into which gdk-pixbuf-pixdata has been moved
recently) and libxml2-utils. I'll do that now.

    smcv



More information about the pkg-gnome-maintainers mailing list