[oe-commits] Martin Jansa : edbus: add patch to fixup performance_test autotools config and disable it

git at git.openembedded.org git at git.openembedded.org
Mon Aug 20 18:10:22 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: c7e2aad3cd732b986269f040ac8ff84259d5a846
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=c7e2aad3cd732b986269f040ac8ff84259d5a846

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Thu Jul 26 10:44:44 2012 +0200

edbus: add patch to fixup performance_test autotools config and disable it

* it fails to find Eina.h anyway, will enabled it when fix is upstream

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 ...edbus-configure.ac-fixup-performance_test.patch |   51 ++++++++++++++++++++
 meta-efl/recipes-efl/efl/edbus_svn.bb              |    2 +
 2 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/meta-efl/recipes-efl/efl/edbus/0001-edbus-configure.ac-fixup-performance_test.patch b/meta-efl/recipes-efl/efl/edbus/0001-edbus-configure.ac-fixup-performance_test.patch
new file mode 100644
index 0000000..db1b15d
--- /dev/null
+++ b/meta-efl/recipes-efl/efl/edbus/0001-edbus-configure.ac-fixup-performance_test.patch
@@ -0,0 +1,51 @@
+From 133d67d43fc21674f525da9ecd530f2b73fbdeea Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa at gmail.com>
+Date: Thu, 26 Jul 2012 10:35:35 +0200
+Subject: [PATCH] edbus: configure.ac fixup performance_test
+
+Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
+---
+ configure.ac |    6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index d798484..d0fc4ee 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -69,6 +69,7 @@ want_ehal="yes"
+ want_enotify="yes"
+ want_eofono="yes"
+ want_eukit="yes"
++want_performance_test="yes"
+ 
+ case "$host_os" in
+    mingw*)
+@@ -78,6 +79,7 @@ case "$host_os" in
+       want_enotify="no"
+       want_eofono="no"
+       want_eukit="no"
++      want_performance_test="no"
+       ;;
+ esac
+ 
+@@ -127,7 +129,7 @@ AC_ARG_ENABLE([eukit],
+ AC_ARG_ENABLE([performance_test],
+    [AC_HELP_STRING([--disable-performance_test], [Disable performance build])],
+    [enable_performance_test=$enableval],
+-   [enable_performance_test="${want_eukit}"])
++   [enable_performance_test="${want_performance_test}"])
+ 
+ 
+ ### Checks for programs
+@@ -277,7 +279,7 @@ fi
+ 
+ if test "x${have_edbus_performance_test}" = "xyes" ; then
+    PKG_CHECK_MODULES([EDBUS_PERFORMANCE_TEST],
+-      [ecore >= 1.2.0 eina >= 1.2.0 dbus-1 >= 0.62 ecore-evas >= 1.2.0 elementary],
++      [ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99],
+       [have_edbus_performance_test="yes"],
+       [have_edbus_performance_test="no"])
+ fi
+-- 
+1.7.8.6
+
diff --git a/meta-efl/recipes-efl/efl/edbus_svn.bb b/meta-efl/recipes-efl/efl/edbus_svn.bb
index 720703e..c22fcaf 100644
--- a/meta-efl/recipes-efl/efl/edbus_svn.bb
+++ b/meta-efl/recipes-efl/efl/edbus_svn.bb
@@ -5,7 +5,9 @@ PV = "1.2.1+svnr${SRCPV}"
 PR = "${INC_PR}.0"
 DEFAULT_PREFERENCE = "-1"
 
+EXTRA_OECONF += "--disable-performance_test"
 SRC_URI = "\
   ${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep \
+  file://0001-edbus-configure.ac-fixup-performance_test.patch \
 "
 S = "${WORKDIR}/${SRCNAME}"





More information about the Openembedded-commits mailing list