]> code.ossystems Code Review - openembedded-core.git/commit
gdk-pixbuf: remove native loader cache generation, use the class
authorRoss Burton <ross.burton@intel.com>
Fri, 17 May 2013 08:54:39 +0000 (09:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 May 2013 13:06:58 +0000 (14:06 +0100)
commit3a7625c23b3fbd163dcd4036767b194438ec238d
tree1f77d01ff33c66c361bc3d30c3b276ed10b06f17
parent7cbde5d8f2b88ec4e79cb0d564ee0f3c9baa7c2d
gdk-pixbuf: remove native loader cache generation, use the class

We assumed that the only relevant gdk-pixbuf loaders in the native environment
were the ones in gdk-pixbuf itself, as the icon cache is only for PNG files.
However, glib-compile-resources can transform SVG files to raw image data, and
done natively this requires the SVG loader to be registered.  The current
implementation relies on this assumption by generating the cache based on the
staging directory during install, so if gdk-pixbuf-native is re-installed to the
sysroot after librsvg-native it will overwrite the loader cache.

So, remove the code in do_install that updated the cache, and rely on the new
logic in pixbufcache.bbclass that updates the cache when it's installed into the
sysroot itself.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.26.5.bb