Patchwork [meta-oe,meta-efl,14/46] edbus: add patch to fixup performance_test autotools config and disable it

login
register
mail settings
Submitter Martin Jansa
Date Aug. 10, 2012, 1:43 p.m.
Message ID <1210a35df07fb0f9a4f0854c8e4e67c374c6d09f.1344601517.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/34205/
State Accepted
Commit c7e2aad3cd732b986269f040ac8ff84259d5a846
Headers show

Comments

Martin Jansa - Aug. 10, 2012, 1:43 p.m.
* it fails to find Eina.h anyway, will enabled it when fix is upstream

Signed-off-by: Martin Jansa <Martin.Jansa@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(-)
 create mode 100644 meta-efl/recipes-efl/efl/edbus/0001-edbus-configure.ac-fixup-performance_test.patch

Patch

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@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@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}"