summaryrefslogtreecommitdiff
path: root/recipes/nautilus
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-04-09 16:09:06 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-04-09 16:09:06 +0000
commitcf68d88dc9a23665ac8cb8bf7599d4f210d52718 (patch)
tree58361e035aa81827d57c3ee9f39dfcf0f105d5c4 /recipes/nautilus
parentb4a26e4e01baea3cb9e4e034a835e96c4629b8eb (diff)
nautilus: Compile idl files against STAGING_DIR_HOST.
Diffstat (limited to 'recipes/nautilus')
-rw-r--r--recipes/nautilus/nautilus/idl-sysroot.patch7
-rw-r--r--recipes/nautilus/nautilus_2.24.2.bb3
2 files changed, 10 insertions, 0 deletions
diff --git a/recipes/nautilus/nautilus/idl-sysroot.patch b/recipes/nautilus/nautilus/idl-sysroot.patch
new file mode 100644
index 0000000000..0062cfb11a
--- /dev/null
+++ b/recipes/nautilus/nautilus/idl-sysroot.patch
@@ -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"'$::'
diff --git a/recipes/nautilus/nautilus_2.24.2.bb b/recipes/nautilus/nautilus_2.24.2.bb
index 30915b75fc..58cb015ba5 100644
--- a/recipes/nautilus/nautilus_2.24.2.bb
+++ b/recipes/nautilus/nautilus_2.24.2.bb
@@ -4,6 +4,9 @@
inherit gnome
+SRC_URI += "file://idl-sysroot.patch;patch=1"
+export SYSROOT = "${STAGING_DIR_HOST}"
+
LICENSE="GPL"
PR = "r1"