diff options
author | Koen Kooi <koen@openembedded.org> | 2008-10-30 10:21:20 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-10-30 10:21:20 +0100 |
commit | 6314775271323c584587f94940c4b4724a656d76 (patch) | |
tree | 7d2d733d33a75f1e7ab17567b2c6e7a26fae8801 /packages | |
parent | fb43a0277a1472dbbdea175cee1789b25c072a5f (diff) |
exo: fix build of python modules and disable running of tests at
buildtime, my buildmachine can't run target code
Diffstat (limited to 'packages')
-rw-r--r-- | packages/xfce/exo/exo-no-tests.patch | 14 | ||||
-rw-r--r-- | 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 0000000000..1cb51ab600 --- /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 49ab44582c..17ea87d3d3 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 |