]> code.ossystems Code Review - openembedded-core.git/commitdiff
pixbufcache.bbclass: add harfbuzz-native to PIXBUFCACHE_SYSROOT_DEP
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 11 Mar 2015 08:35:41 +0000 (01:35 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Mar 2015 17:38:36 +0000 (17:38 +0000)
Fixed:
DEBUG: Executing shell function pixbufcache_sstate_postinst
g_module_open() failed for sysroots/x86_64-linux/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libharfbuzz.so.0: cannot open shared object file: No such file or directory

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

index b8d75bd38ccc7eab266da90f4db1679a3e058eeb..9e6ecc8a53e94aeda396897905c47c1d9a025df4 100644 (file)
@@ -67,6 +67,11 @@ pixbufcache_sstate_postinst() {
 # Packages that use this class should extend this variable with their runtime
 # dependencies.
 PIXBUFCACHE_SYSROOT_DEPS = ""
-PIXBUFCACHE_SYSROOT_DEPS_class-native = "${@['gdk-pixbuf-native:do_populate_sysroot_setscene', '']['${BPN}' == 'gdk-pixbuf']} 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"
+PIXBUFCACHE_SYSROOT_DEPS_class-native = "\
+    ${@['gdk-pixbuf-native:do_populate_sysroot_setscene', '']['${BPN}' == 'gdk-pixbuf']} \
+    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 \
+    "
 do_populate_sysroot_setscene[depends] += "${PIXBUFCACHE_SYSROOT_DEPS}"
 do_populate_sysroot[depends] += "${@d.getVar('PIXBUFCACHE_SYSROOT_DEPS', True).replace('_setscene','')}"