lemolo: disable redundant contacts-service check
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 28 Jan 2015 23:34:16 +0000 (15:34 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Wed, 28 Jan 2015 23:34:16 +0000 (15:34 -0800)
It is not just that the Lemolo .spec file unnecessarily
specifies a build dependency on contacts-service, there is
also a redundant configure check which we need to remove.
The code itself then compiles fine without contacts-service.

Change-Id: I7a696b269e0e31128d6d762cff5dcf336cc105a7

meta-tizen-common-share/recipes-efl/lemolo/lemolo-extraconf.inc
meta-tizen-common-share/recipes-efl/lemolo/lemolo/remove-contacts-service-check.patch [new file with mode: 0644]

index 9284603..2b189b0 100644 (file)
@@ -1,4 +1,8 @@
+# Upstream source contains a redundant configure check for
+# contacts-service. The library is never really used.
+SRC_URI += "file://remove-contacts-service-check.patch"
+
 do_configure_prepend() {
     # Set the path to the binary edje_cc otherwise it will search it in the host rootfs
     sed -i 's!@edje_cc@!${STAGING_BINDIR_NATIVE}/edje_cc!g' Makefile.am
-}
\ No newline at end of file
+}
diff --git a/meta-tizen-common-share/recipes-efl/lemolo/lemolo/remove-contacts-service-check.patch b/meta-tizen-common-share/recipes-efl/lemolo/lemolo/remove-contacts-service-check.patch
new file mode 100644 (file)
index 0000000..1839484
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 6a4f680..0309755 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -51,7 +51,6 @@ if test "$want_tizen" != "no"; then
+    PKG_CHECK_MODULES([TIZEN],
+                 [
+                         appcore-efl
+-                        contacts-service2
+                         vconf
+                         capi-system-power
+                         aul