[oe] [2011.03-maintenance][PATCH] gtk+_2.20.1: Depend on gdk-pixbuf-native

Khem Raj raj.khem at gmail.com
Mon Aug 27 22:50:54 UTC 2012


also BBCLASSEXTEND gdk-pixbuf recipes to provide
native version

Newer distros which ship glib-2.0 version 2.32+
there are some missing symbols that gtk+ 2.20
will complain about. So we create own gdk-pixbuf
so it does not link to library from host system

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes/gtk+/gdk-pixbuf_2.10.14.bb |    1 +
 recipes/gtk+/gtk+_2.20.1.bb        |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/gtk+/gdk-pixbuf_2.10.14.bb b/recipes/gtk+/gdk-pixbuf_2.10.14.bb
index e41f9e0..c41a2be 100644
--- a/recipes/gtk+/gdk-pixbuf_2.10.14.bb
+++ b/recipes/gtk+/gdk-pixbuf_2.10.14.bb
@@ -64,6 +64,7 @@ do_install() {
 	cd gdk-pixbuf && oe_runmake install DESTDIR=${D}
 }
 
+BBCLASSEXTEND = "native"
 
 SRC_URI[md5sum] = "018d7dd0fa7de01cfdb77c7c55e7ba26"
 SRC_URI[sha256sum] = "d02344239d048390ba02fcfd7de4f9efc0dfb51e7b06dfa46a6314d666ea4de2"
diff --git a/recipes/gtk+/gtk+_2.20.1.bb b/recipes/gtk+/gtk+_2.20.1.bb
index 62f2f3c..4d801f1 100644
--- a/recipes/gtk+/gtk+_2.20.1.bb
+++ b/recipes/gtk+/gtk+_2.20.1.bb
@@ -13,13 +13,13 @@ SRC_URI_append = "file://gtk-dnd-grab-deadlock-fix.patch \
 SRC_URI[gtk.md5sum] = "53e6f3a93bd22934878fc4a4a34c68aa"
 SRC_URI[gtk.sha256sum] = "0e081731d21e34ff45c82199490c2889504fa8b3c7e117c043e82ababaec0f65"
 
-PR = "${INC_PR}.5"
+PR = "${INC_PR}.6"
 
 BBCLASSEXTEND = "native"
 
 ARM_INSTRUCTION_SET = "arm"
 
-DEPENDS_virtclass-native = "libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native"
+DEPENDS_virtclass-native = "gdk-pixbuf-native libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native"
 PROVIDES_virtclass-native = "gdk-pixbuf-csource-native"
 
 # Enable xkb selectively
-- 
1.7.9.5





More information about the Openembedded-devel mailing list