[OE-core] [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary

Mike Crowe mac at mcrowe.com
Sat Jun 13 18:46:34 UTC 2015


On Saturday 13 June 2015 at 19:44:41 +0100, Mike Crowe wrote:
> pixbufcache_sstate_postinst expects to be able to call
> gdk-pixbuf-query-loaders which may be linked against libjpeg.so.8 so we'd
> better make sure jpeg-native is available in the sysroot.
> 
> Signed-off-by: Mike Crowe <mac at mcrowe.com>
> ---
>  meta/classes/pixbufcache.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass
> index 9e6ecc8..755a654 100644
> --- a/meta/classes/pixbufcache.bbclass
> +++ b/meta/classes/pixbufcache.bbclass
> @@ -72,6 +72,7 @@ PIXBUFCACHE_SYSROOT_DEPS_class-native = "\
>      glib-2.0-native:do_populate_sysroot_setscene libffi-native:do_populate_sysroot_setscene \
>      libpng-native:do_populate_sysroot_setscene zlib-native:do_populate_sysroot_setscene \
>      harfbuzz-native:do_populate_sysroot_setscene \
> +    ${@bb.utils.contains('PACKAGECONFIG', 'jpeg', 'jpeg-native:do_populate_sysroot_setscene', '', d)} \

If this patch is deemed acceptable then perhaps a similar check against
PACKAGECONFIG should be added to libpng-native?

Mike.



More information about the Openembedded-core mailing list