[oe-commits] Koen Kooi : exo: fix build of python modules and disable running of tests at
GIT User account
git at amethyst.openembedded.net
Thu Oct 30 09:22:41 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6314775271323c584587f94940c4b4724a656d76
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6314775271323c584587f94940c4b4724a656d76
Author: Koen Kooi <koen at openembedded.org>
Date: Thu Oct 30 10:21:20 2008 +0100
exo: fix build of python modules and disable running of tests at
buildtime, my buildmachine can't run target code
---
packages/xfce/exo/exo-no-tests.patch | 14 ++++++++++++++
packages/xfce/exo_0.3.4.bb | 4 ++++
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/packages/xfce/exo/exo-no-tests.patch b/packages/xfce/exo/exo-no-tests.patch
new file mode 100644
index 0000000..1cb51ab
--- /dev/null
+++ b/packages/xfce/exo/exo-no-tests.patch
@@ -0,0 +1,14 @@
+The tests/ subdir consists of stuff trying to run a generated file ('exo-csource'), which doesn't work on host systems
+
+--- /tmp/Makefile.am 2008-10-30 09:23:41.000000000 +0100
++++ exo-0.3.4/Makefile.am 2008-10-30 09:24:03.011124000 +0100
+@@ -23,8 +23,7 @@
+ pixmaps \
+ po \
+ po-doc \
+- $(PYTHON_SUBDIR) \
+- tests
++ $(PYTHON_SUBDIR)
+
+ AUTOMAKE_OPTIONS = \
+ 1.8 \
diff --git a/packages/xfce/exo_0.3.4.bb b/packages/xfce/exo_0.3.4.bb
index 49ab445..17ea87d 100644
--- a/packages/xfce/exo_0.3.4.bb
+++ b/packages/xfce/exo_0.3.4.bb
@@ -4,8 +4,12 @@ inherit xfce
XFCE_VERSION = 4.4.2
SRC_URI += " file://configure.patch;patch=1"
+SRC_URI += " file://exo-no-tests.patch;patch=1"
# Note: Python checking is broken
+do_configure_prepend() {
+ sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g ${S}/configure.in
+}
do_stage() {
autotools_stage_all
More information about the Openembedded-commits
mailing list