[oe-commits] Graeme Gregory : at-spi_1.28.0.bb : fix compile on systems without host installen gnome devel

git version control git at git.openembedded.org
Thu Jan 21 00:10:45 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2154e8eb1a513d0944da59a780f962bacd0bcb8f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2154e8eb1a513d0944da59a780f962bacd0bcb8f

Author: Graeme Gregory <dp at xora.org.uk>
Date:   Thu Jan 21 00:09:17 2010 +0000

at-spi_1.28.0.bb : fix compile on systems without host installen gnome devel

The configure script was generation paths in /usr/* when looking for
orbit-2-idl and bonobo idl files so feed our staging paths in instead.

---

 recipes/gnome/at-spi_1.28.0.bb |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/recipes/gnome/at-spi_1.28.0.bb b/recipes/gnome/at-spi_1.28.0.bb
index 3639407..79b48b3 100644
--- a/recipes/gnome/at-spi_1.28.0.bb
+++ b/recipes/gnome/at-spi_1.28.0.bb
@@ -6,8 +6,16 @@ LICENSE = "LGPL"
 DEPENDS = "gtk+ atk libbonobo orbit2 orbit2-native"
 RDEPENDS_${PN} = "libgail-gnome gtk-module-gail"
 
+PR = "r1"
+
 inherit gnome
 
+do_configure_prepend () {
+	sed -i "s|ORBIT_IDL=.*|ORBIT_IDL=${STAGING_BINDIR_NATIVE}/orbit-idl-2|" ${S}/configure.in
+	sed -i "s|BONOBO_ACTIVATION_IDL_DIR=.*|BONOBO_ACTIVATION_IDL_DIR=${STAGING_DATADIR}/idl/bonobo-activation-2.0|" ${S}/configure.in
+	sed -i "s|LIBBONOBO_IDL_DIR=.*|LIBBONOBO_IDL_DIR=${STAGING_DATADIR}/idl//bonobo-2.0|" ${S}/configure.in
+}
+
 do_stage () {
 	autotools_stage_all
 }





More information about the Openembedded-commits mailing list