[OE-core] [PATCH] pixbufcache: Add missing dependency on jpeg-native

Burton, Ross ross.burton at intel.com
Mon Jul 21 12:49:24 UTC 2014


On 21 July 2014 13:39, Jacob Kroon <jacob.kroon at mikrodidakt.se> wrote:
> gdk-pixbuf-native uses png and jpeg loaders. When updating the
> loader-cache, these needs to be already populated in the sysroot.
>
> Although png was present, the jpeg dependency was missing, so add it.

But those dependencies are dependent on a PACKAGECONFIG setting, so
you'll potentially be forcing a build of libjpeg purely to satisfy a
fetch from sstate of a JPEG-disabled gdk-pixbuf.  Also, libtiff and
libjasper are missing.

If we can't change the sysroot creation order so that the order is
zlib, libpng, libjpeg, and then gdk-pixbuf then I think this needs to
be pulled out to a function that can do neater logic, such as iterate
through PACKAGECONFIG and add the required dependencies (for each
enabled option, turn the build depends into
%s-native:do_populate_sysroot_setscene).

Ross



More information about the Openembedded-core mailing list