]> code.ossystems Code Review - openembedded-core.git/commit
pixbufcache: handle gdk-pixbuf not being present
authorRoss Burton <ross.burton@intel.com>
Thu, 13 Oct 2016 19:36:35 +0000 (20:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Oct 2016 08:49:10 +0000 (09:49 +0100)
commit03cdb3366ded46cd760656e4cda0be37c1f82109
tree688dcc6180aac475a8639e328946974cb6818c7f
parentfcfd3e76eb52353345aa9a1f7ec0f9795e607493
pixbufcache: handle gdk-pixbuf not being present

It's possible - albeit unlikely - that gdk-pixbuf isn't present in the sysroot
when a recipe inheriting this class is and the sysroot is finalised.

One example would be if the sstate archive has librsvg but not gdk-pixbuf:
librsvg will be extracted from the sstate but gdk-pixbuf will be built to "fill
in the gap".  In this situation the setscene completion hook installed by
pixbufcache.bbclass will attempt to execute gdk-pixbuf-query-loaders, but that
binary hasn't been installed by gdk-pixbuf yet.

Also add gdk-pixbuf-native to DEPENDS in native builds to ensure that the
binaries we expect will be present, as it's possible to build loaders without
linking to GdkPixbuf.

[ YOCTO #10420 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/pixbufcache.bbclass