nautilus: Compile idl files against STAGING_DIR_HOST.
authorStanislav Brabec <utx@penguin.cz>
Thu, 9 Apr 2009 16:09:06 +0000 (16:09 +0000)
committerutx@penguin.cz <utx@penguin.cz>
Thu, 9 Apr 2009 16:09:06 +0000 (16:09 +0000)
recipes/nautilus/nautilus/idl-sysroot.patch [new file with mode: 0644]
recipes/nautilus/nautilus_2.24.2.bb

diff --git a/recipes/nautilus/nautilus/idl-sysroot.patch b/recipes/nautilus/nautilus/idl-sysroot.patch
new file mode 100644 (file)
index 0000000..0062cfb
--- /dev/null
@@ -0,0 +1,7 @@
+Index: nautilus-2.24.2/add-include-prefix
+===================================================================
+--- nautilus-2.24.2.orig/add-include-prefix    2008-10-06 17:22:21.000000000 +0000
++++ nautilus-2.24.2/add-include-prefix 2009-04-09 16:00:05.000000000 +0000
+@@ -1 +1 @@
+-sed -e 's/^/ /' -e 's/  */ /g' -e 's/ / -I /g' -e 's/ -I $//'
++sed -e 's:^: :' -e 's:  *: :g' -e 's: : -I '"$SYSROOT"':g' -e 's: -I '"$SYSROOT"'$::'
index 30915b7..58cb015 100644 (file)
@@ -4,6 +4,9 @@
 
 inherit gnome
 
+SRC_URI += "file://idl-sysroot.patch;patch=1"
+export SYSROOT = "${STAGING_DIR_HOST}"
+
 LICENSE="GPL"
 
 PR = "r1"