[oe-commits] Laurentiu Palcu : gtk+-native: add gtk-update-icon-cache wrapper

git at git.openembedded.org git at git.openembedded.org
Wed Dec 19 18:02:08 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: 6665a41c6506039e6ba6cfdbaa941369e42d682f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6665a41c6506039e6ba6cfdbaa941369e42d682f

Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date:   Mon Dec 17 14:32:43 2012 +0200

gtk+-native: add gtk-update-icon-cache wrapper

This is needed in order to point where the pixbuf loaders.cache is
located and avoid warnings like the one below that appear when the
sstate is fetched from a remote machine:

(gtk-update-icon-cache:8913): GdkPixbuf-WARNING **: Cannot open pixbuf
loader module file '/REMOTE/MACHINE/PATH/loaders.cache': No such file or directory

Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-gnome/gtk+/gtk+_2.24.14.bb |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb b/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
index 465f2b7..553196a 100644
--- a/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
+++ b/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
@@ -42,6 +42,11 @@ BBCLASSEXTEND = "native"
 RRECOMMENDS_${PN}_class-native = ""
 DEPENDS_class-native = "glib-2.0-native atk-native pango-native cairo-native gdk-pixbuf-native"
 
+do_install_append_class-native () {
+	create_wrapper ${D}/${bindir}/gtk-update-icon-cache \
+		GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache
+}
+
 python populate_packages_prepend () {
     prologue = d.getVar("postinst_prologue", True)
 





More information about the Openembedded-commits mailing list