aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gtk+/gtk+.inc
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-10-01 09:59:43 -0700
committerChris Larson <chris_larson@mentor.com>2010-10-03 11:36:53 -0700
commit86822c3ae68dad2d25f4429221e76eb92dc0cdfe (patch)
tree098a8968e25095c5c102655d6bcba54aa09d1063 /recipes/gtk+/gtk+.inc
parent049d5299fb8f560b280124b47f01381f2e9cfe1f (diff)
downloadopenembedded-86822c3ae68dad2d25f4429221e76eb92dc0cdfe.tar.gz
gtk+-native: generate wrappers for relocation [v2]
Generate wrapper scripts for the gdk-pixbuf tools, to ensure they are using the correct paths into the sysroot. Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'recipes/gtk+/gtk+.inc')
-rw-r--r--recipes/gtk+/gtk+.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes/gtk+/gtk+.inc b/recipes/gtk+/gtk+.inc
index bb74d785de..e25016c5e1 100644
--- a/recipes/gtk+/gtk+.inc
+++ b/recipes/gtk+/gtk+.inc
@@ -16,7 +16,7 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.bz2;
file://xsettings.patch \
"
-INC_PR = "r8"
+INC_PR = "r10"
inherit autotools pkgconfig
@@ -79,8 +79,12 @@ do_install_virtclass-native () {
install -d ${D}${sysconfdir}/gtk-2.0
rm -f ${D}${libdir}/gtk-2.0/*/*.la ${D}${libdir}/gtk-2.0/${LIBV}/*/*.la
- mkdir -p "${D}${sysconfdir}/gtk-2.0"
- ${B}/gdk-pixbuf/gdk-pixbuf-query-loaders ${B}/gdk-pixbuf/.libs/*.so | sed 's:${B}/gdk-pixbuf/.libs:${STAGING_LIBDIR}/gtk-2.0/${LIBV}/loaders:' > "${D}${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders"
+ create_wrapper ${D}${bindir}/gdk-pixbuf-query-loaders \
+ '"GDK_PIXBUF_MODULEDIR=${libdir}/gtk-2.0/${LIBV}/loaders"'
+ ${D}${bindir}/gdk-pixbuf-query-loaders > \
+ "${D}${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders"
+ create_wrapper ${D}${bindir}/gdk-pixbuf-csource \
+ '"GDK_PIXBUF_MODULE_FILE=${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders"'
}
postinst_prologue() {