diff options
author | Ross Burton <ross.burton@intel.com> | 2015-09-25 23:25:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-28 12:00:16 +0100 |
commit | 8a12632e975d0efe71346b56202d19fe3f83ff08 (patch) | |
tree | b00e5069620422f28dd563e53264c7b29bd0fafc /meta/classes/pixbufcache.bbclass | |
parent | b0707780fb4eb3a11c00e8d112d44b750e6d522c (diff) | |
download | poky-8a12632e975d0efe71346b56202d19fe3f83ff08.tar.gz |
gdk-pixbuf: move gdk-pixbuf-query-loaders to $libdir for multilib safety
If for example gdk-pixbuf and lib32-gdk-pixbuf are in an image then only one
${bindir}/gdk-pixbuf-query-loaders will be installed, so only one variant will
actually be usable.
Solve this by moving gdk-pixbuf-query-loaders into ${libdir} as it's intimately
tied to the library and rarely directly invoked by the user, and update the
callers to use the right path.
(From OE-Core rev: 69df75f268e2b3d5874f05e2b5a6125f6d990a03)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/pixbufcache.bbclass')
-rw-r--r-- | meta/classes/pixbufcache.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass index 349967d74b..18fd9fa68d 100644 --- a/meta/classes/pixbufcache.bbclass +++ b/meta/classes/pixbufcache.bbclass | |||
@@ -15,7 +15,7 @@ if [ "x$D" != "x" ]; then | |||
15 | else | 15 | else |
16 | 16 | ||
17 | # Update the pixbuf loaders in case they haven't been registered yet | 17 | # Update the pixbuf loaders in case they haven't been registered yet |
18 | GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders --update-cache | 18 | GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders ${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache |
19 | 19 | ||
20 | if [ -x ${bindir}/gtk-update-icon-cache ] && [ -d ${datadir}/icons ]; then | 20 | if [ -x ${bindir}/gtk-update-icon-cache ] && [ -d ${datadir}/icons ]; then |
21 | for icondir in /usr/share/icons/*; do | 21 | for icondir in /usr/share/icons/*; do |
@@ -46,7 +46,7 @@ python populate_packages_append() { | |||
46 | } | 46 | } |
47 | 47 | ||
48 | gdkpixbuf_complete() { | 48 | gdkpixbuf_complete() { |
49 | GDK_PIXBUF_FATAL_LOADER=1 ${STAGING_BINDIR_NATIVE}/gdk-pixbuf-query-loaders --update-cache || exit 1 | 49 | GDK_PIXBUF_FATAL_LOADER=1 ${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache || exit 1 |
50 | } | 50 | } |
51 | 51 | ||
52 | # | 52 | # |