mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
gdk-pixbuf: enable other loaders by default
Refer [1], upstream gdk-pixbuf disable some loaders by default from 2.42.11, this makes some format of icons not works well after upgrade gdk-pixbuf, report error like: matchbox-deskto[501]: Error loading icon: Failed to load /usr/share/pixmaps/xinput_calibrator.xpm: Unrecognized image file format Add PACKAGECONFIG gif, others, and fix the same as some other sdks and arch linux, disable these loaders by default, refer [2][3][4] [1]e052a11207[2] https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/846 [3]3ab7810255[4]4fa2d98a19(From OE-Core rev: 10ea616e0aa0921e02c00689df5a7f2ec5e2b7ce) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b5b4fad3e9
commit
b6f5bc7bc7
@@ -32,7 +32,7 @@ GIR_MESON_DISABLE_FLAG = "disabled"
|
||||
|
||||
LIBV = "2.10.0"
|
||||
|
||||
GDK_PIXBUF_LOADERS ?= "png jpeg"
|
||||
GDK_PIXBUF_LOADERS ?= "png jpeg gif others"
|
||||
|
||||
PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
|
||||
@@ -41,6 +41,8 @@ PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}"
|
||||
PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
|
||||
PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
|
||||
PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff"
|
||||
PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled"
|
||||
PACKAGECONFIG[others] = "-Dothers=enabled,-Dothers=disabled"
|
||||
PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false"
|
||||
|
||||
EXTRA_OEMESON = "-Dman=false"
|
||||
|
||||
Reference in New Issue
Block a user