gtk+: reinstate no-demos patch for gtk+-native, it fails to build without it
authorKoen Kooi <koen@openembedded.org>
Fri, 5 Mar 2010 09:42:11 +0000 (10:42 +0100)
committerKoen Kooi <koen@openembedded.org>
Fri, 5 Mar 2010 09:45:24 +0000 (10:45 +0100)
recipes/gtk+/gtk+-2.18.6/no-demos.patch [new file with mode: 0644]
recipes/gtk+/gtk+_2.18.6.bb

diff --git a/recipes/gtk+/gtk+-2.18.6/no-demos.patch b/recipes/gtk+/gtk+-2.18.6/no-demos.patch
new file mode 100644 (file)
index 0000000..0fc4c48
--- /dev/null
@@ -0,0 +1,10 @@
+--- gtk+-2.10.1/Makefile.am.orig       2006-08-08 12:37:30.000000000 +0100
++++ gtk+-2.10.1/Makefile.am    2006-08-08 12:37:48.000000000 +0100
+@@ -1,6 +1,6 @@
+ ## Makefile.am for GTK+
+-SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos tests perf contrib
++SRC_SUBDIRS = gdk-pixbuf gdk gtk modules tests perf contrib
+ SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros
+ # require automake 1.4
index cba32e5..9321b43 100644 (file)
@@ -1,10 +1,13 @@
 require gtk+.inc
 
-PR = "${INC_PR}.1"
+SRC_URI_append_virtclass-native = " file://no-demos.patch;patch=1 \
+"
+
+PR = "${INC_PR}.3"
 
 BBCLASSEXTEND = "native"
 
-DEPENDS_virtclass-native = "atk-native pango-native cairo-native libxrender-native"
+DEPENDS_virtclass-native = "libpng-native atk-native pango-native cairo-native libxrender-native"
 
 # Enable xkb selectively
 XKBTOGGLE = " --disable-xkb"