[tracker] libtracker-sparql: Remove GConf dependency
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-sparql: Remove GConf dependency
- Date: Tue, 5 Apr 2011 13:11:54 +0000 (UTC)
commit 5700cbd9ed78e20128b9817e2434cb5dd2f991a4
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Apr 1 17:36:30 2011 +0200
libtracker-sparql: Remove GConf dependency
In Maemo's case we're now reading from gconf-dbus using GDBus
directly, instead of using the non-thread-safe gconfclient API
configure.ac | 16 ----------------
src/libtracker-sparql/Makefile.am | 3 +--
src/libtracker-sparql/tracker-init.c | 20 --------------------
3 files changed, 1 insertions(+), 38 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 344805b..4872559 100644
--- a/configure.ac
+++ b/configure.ac
@@ -595,23 +595,7 @@ AC_ARG_ENABLE(maemo,
AM_CONDITIONAL(HAVE_MAEMO, test "x$enable_maemo" = "xyes")
if test "x$enable_maemo" = "xyes" ; then
-
AC_DEFINE(HAVE_MAEMO, 1, [Define if we enable Maemo specific features])
-
- PKG_CHECK_MODULES(GCONF,
- [gconf-2.0],
- [have_gconf=yes],
- [have_gconf=no])
-
- LIBTRACKER_COMMON_CFLAGS="$LIBTRACKER_COMMON_CFLAGS $GCONF_CFLAGS"
- LIBTRACKER_COMMON_LIBS="$LIBTRACKER_COMMON_LIBS $GCONF_LIBS"
-
- LIBTRACKER_SPARQL_CFLAGS="$LIBTRACKER_SPARQL_CFLAGS $GCONF_CFLAGS"
- LIBTRACKER_SPARQL_LIBS="$LIBTRACKER_SPARQL_LIBS $GCONF_LIBS"
-
- if test "x$have_gconf" != "xyes"; then
- AC_MSG_ERROR([Couldn't find gconf, needed when enabling maemo support])
- fi
fi
####################################################################
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am
index 207fe7a..c5214e1 100644
--- a/src/libtracker-sparql/Makefile.am
+++ b/src/libtracker-sparql/Makefile.am
@@ -25,8 +25,7 @@ libtracker_sparql_la_SOURCES = \
tracker-connection.vala \
tracker-cursor.vala \
tracker-utils.vala \
- tracker-uri.c \
- tracker-init.c
+ tracker-uri.c
libtracker_sparql_la_LIBADD = \
$(BUILD_LIBS) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]