[folks] Make libzeitgeist a hard dependency of folks. As discussed here: https://bugzilla.gnome.org/show_bug



commit 41d164c3e4e2ff62b374a47f999921e836aea69f
Author: Jeremy Whiting <jpwhiting kde org>
Date:   Tue Jun 12 14:26:25 2012 -0600

    Make libzeitgeist a hard dependency of folks.
    As discussed here: https://bugzilla.gnome.org/show_bug.cgi?id=677428

 backends/telepathy/lib/Makefile.am |    2 --
 configure.ac                       |   31 +++----------------------------
 2 files changed, 3 insertions(+), 30 deletions(-)
---
diff --git a/backends/telepathy/lib/Makefile.am b/backends/telepathy/lib/Makefile.am
index 1c967c2..6a4ae3d 100644
--- a/backends/telepathy/lib/Makefile.am
+++ b/backends/telepathy/lib/Makefile.am
@@ -146,12 +146,10 @@ libfolks_telepathy_la_LIBADD = \
 	$(top_builddir)/folks/libfolks-internal.la \
 	$(NULL)
 
-if ENABLE_ZEITGEIST
 libfolks_telepathy_la_VALAFLAGS += --pkg zeitgeist-1.0
 libfolks_telepathy_la_VALAFLAGS += --define=HAVE_ZEITGEIST
 libfolks_telepathy_la_CFLAGS += $(ZEITGEIST_CFLAGS)
 libfolks_telepathy_la_LIBADD += $(ZEITGEIST_LIBS)
-endif
 
 # The quoting here is unnecessary but harmless, and has the useful side-effect
 # that vim quickfix mode (:make) doesn't interpret the libtool --mode=link
diff --git a/configure.ac b/configure.ac
index b17436e..5c59478 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,24 +101,6 @@ fi
 
 AM_CONDITIONAL([ENABLE_EDS], [test "x$enable_eds_backend" = "xyes"])
 
-
-AC_ARG_ENABLE(zeitgeist,
-        AC_HELP_STRING([--enable-zeitgeist],
-                       [ build the Zeitgeist]),
-        enable_zeitgeist=$enableval,
-        enable_zeitgeist=no )
-
-AM_CONDITIONAL([ENABLE_ZEITGEIST], [test "x$enable_zeitgeist" = "xyes"])
-
-if test "x$enable_zeitgeist" = "xyes"; then
-        AC_DEFINE(HAVE_ZEITGEIST, [1],
-                  [Define as 1 if you have the Zeitgeist support])
-else
-        AC_DEFINE(HAVE_ZEITGEIST, [0],
-                  [Define as 1 if you have the Zeitgeist support])
-fi
-
-
 # Automatically check the dependencies for the libsocialweb backend
 SW_CLIENT_REQUIRED=0.25.20
 AC_ARG_ENABLE(libsocialweb-backend,
@@ -213,9 +195,7 @@ if test x$enable_eds_backend = xyes; then
         PKG_CHECK_MODULES([EDATASERVER], [libedataserver-1.2 >= $EDATASERVER_REQUIRED])
 fi
 
-if test x$enable_zeitgeist = xyes; then
-        PKG_CHECK_MODULES([ZEITGEIST], [zeitgeist-1.0 >= $ZEITGEIST_REQUIRED])
-fi
+PKG_CHECK_MODULES([ZEITGEIST], [zeitgeist-1.0 >= $ZEITGEIST_REQUIRED])
 
 #
 # Vala building options -- allows tarball builds without installing Vala
@@ -290,7 +270,8 @@ if test "x$enable_vala" = "xyes" ; then
 
         VALA_CHECK_PACKAGES([telepathy-glib
                              gio-2.0
-                             gee-1.0])
+                             gee-1.0
+                             zeitgeist-1.0])
 
         if test x$enable_tracker_backend = xyes; then
           VALA_CHECK_PACKAGES([tracker-sparql-$TRACKER_SPARQL_MAJOR])
@@ -299,11 +280,6 @@ if test "x$enable_vala" = "xyes" ; then
         if test x$enable_eds_backend = xyes; then
           VALA_CHECK_PACKAGES([libebook-1.2 libedataserver-1.2 libxml-2.0])
         fi
-
-        if test x$enable_zeitgeist = xyes; then
-          VALA_CHECK_PACKAGES([zeitgeist-1.0])
-        fi
-
 fi
 
 # this will set HAVE_INTROSPECTION
@@ -612,6 +588,5 @@ Configure summary:
         Tracker backend.............:  ${enable_tracker_backend}
         Libsocialweb backend........:  ${have_libsocialweb_backend}
         E-D-S backend...............:  ${enable_eds_backend}
-        Zeitgeist support...........:  ${enable_zeitgeist}
 
 "



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]