diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-12-17 14:32:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-19 17:54:55 +0000 |
commit | 5f178fca39fb5f0b3b672be2cfcf273038a66e2e (patch) | |
tree | 9033ed5281ef2337c20e032b0e0bf9c5b8d24d81 /meta | |
parent | 359eb5194c7023570477e71d2f576a0611fb539f (diff) | |
download | poky-5f178fca39fb5f0b3b672be2cfcf273038a66e2e.tar.gz |
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
(From OE-Core rev: 6665a41c6506039e6ba6cfdbaa941369e42d682f)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | 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 465f2b7f6a..553196a150 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" | |||
42 | RRECOMMENDS_${PN}_class-native = "" | 42 | RRECOMMENDS_${PN}_class-native = "" |
43 | DEPENDS_class-native = "glib-2.0-native atk-native pango-native cairo-native gdk-pixbuf-native" | 43 | DEPENDS_class-native = "glib-2.0-native atk-native pango-native cairo-native gdk-pixbuf-native" |
44 | 44 | ||
45 | do_install_append_class-native () { | ||
46 | create_wrapper ${D}/${bindir}/gtk-update-icon-cache \ | ||
47 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
48 | } | ||
49 | |||
45 | python populate_packages_prepend () { | 50 | python populate_packages_prepend () { |
46 | prologue = d.getVar("postinst_prologue", True) | 51 | prologue = d.getVar("postinst_prologue", True) |
47 | 52 | ||