Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783909 - x11-libs/gtk+:3: missing gdk-pixbuf BDEPEND
Summary: x11-libs/gtk+:3: missing gdk-pixbuf BDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-18 21:17 UTC by David Michael
Modified: 2021-04-19 02:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix.patch (0001-x11-libs-gtk-add-missing-gdk-pixbuf-BDEPEND.patch,858 bytes, patch)
2021-04-18 21:18 UTC, David Michael
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2021-04-18 21:17:19 UTC
GTK+ 3 depends on the gdk-pixbuf-pixdata command, but gdk-pixbuf is not in BDEPEND, so it fails to cross-compile.

> /usr/bin/glib-compile-resources gtk.gresource.xml \
> 	--target=/var/tmp/portage/x11-libs/gtk+-3.24.26/work/gtk+-3.24.26/gtk/gtkresources.h --sourcedir=/var/tmp/portage/x11-libs/gtk+-3.24.26/work/gtk+-3.24.26/gtk --c-name _gtk --generate-header --manual-register --internal
> /usr/bin/glib-compile-resources gtk.gresource.xml \
> 	--target=gtkresources.c --sourcedir=/var/tmp/portage/x11-libs/gtk+-3.24.26/work/gtk+-3.24.26/gtk --c-name _gtk --generate-source --manual-register --internal
> gtk.gresource.xml: to-pixdata preprocessing requested, but GDK_PIXBUF_PIXDATA is not set, and gdk-pixbuf-pixdata is not in PATH.
> gtk.gresource.xml: to-pixdata preprocessing requested, but GDK_PIXBUF_PIXDATA is not set, and gdk-pixbuf-pixdata is not in PATH.
> make[2]: *** [Makefile:9686: /var/tmp/portage/x11-libs/gtk+-3.24.26/work/gtk+-3.24.26/gtk/gtkresources.h] Error 1
> make[2]: *** Waiting for unfinished jobs....
Alternatively, maybe gdk-pixbuf could be added to PDEPEND in dev-libs/glib since the actual issue is the glib-compile-resources command being able to process <file preprocess='to-pixdata'> elements in gresource files.
Comment 1 David Michael 2021-04-18 21:18:15 UTC
Created attachment 700614 [details, diff]
fix.patch
Comment 2 Larry the Git Cow gentoo-dev 2021-04-19 02:25:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32910ffcb6a78481f1e529e9ff3b33352409cf9e

commit 32910ffcb6a78481f1e529e9ff3b33352409cf9e
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-19 02:12:17 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-19 02:20:48 +0000

    x11-libs/gtk+: Version bump to 3.24.28
    
    Closes: https://bugs.gentoo.org/783909
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-libs/gtk+/Manifest            |   1 +
 x11-libs/gtk+/gtk+-3.24.28.ebuild | 254 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 255 insertions(+)