[tracker/configure-for-binaries: 61/80] tracker-writeback: Cleaned up CFLAGS/LIBS
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/configure-for-binaries: 61/80] tracker-writeback: Cleaned up CFLAGS/LIBS
- Date: Wed, 27 Oct 2010 14:22:52 +0000 (UTC)
commit eb9e834539c957c5a5216ada651abccd9a342b06
Author: Martyn Russell <martyn lanedo com>
Date: Tue Oct 26 09:47:20 2010 +0100
tracker-writeback: Cleaned up CFLAGS/LIBS
configure.ac | 31 +++++++++++++++++++------------
src/tracker-writeback/Makefile.am | 9 +++------
2 files changed, 22 insertions(+), 18 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bb6878c..257f228 100644
--- a/configure.ac
+++ b/configure.ac
@@ -338,6 +338,16 @@ TRACKER_EXTRACT_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
PKG_CHECK_MODULES(TRACKER_EXTRACT, [$TRACKER_EXTRACT_REQUIRED])
+# Check requirements for tracker-writeback
+TRACKER_WRITEBACK_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
+ gio-unix-2.0 >= $GLIB_REQUIRED
+ gthread-2.0 >= $GLIB_REQUIRED
+ gmodule-2.0 >= $GLIB_REQUIRED
+ dbus-1 >= $DBUS_REQUIRED
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED"
+
+PKG_CHECK_MODULES(TRACKER_WRITEBACK, [$TRACKER_WRITEBACK_REQUIRED])
+
# Check requirements for tracker-miner-fs
TRACKER_MINER_FS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
@@ -408,16 +418,6 @@ TRACKER_UTILS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
PKG_CHECK_MODULES(TRACKER_UTILS, [$TRACKER_UTILS_REQUIRED])
-# Check requirements for tracker-writeback
-TRACKER_WRITEBACK_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED
- gmodule-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
- dbus-1 >= $DBUS_REQUIRED
- dbus-glib-1 >= $DBUS_GLIB_REQUIRED"
-
-PKG_CHECK_MODULES(TRACKER_WRITEBACK, [$TRACKER_WRITEBACK_REQUIRED])
-
# Check requirements for tracker-search-tool
TRACKER_SEARCH_TOOL_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
@@ -554,8 +554,9 @@ if test "x$enable_taglib" != "xno" ; then
[taglib_c >= $TAGLIB_REQUIRED],
[have_taglib=yes],
[have_taglib=no])
- AC_SUBST(TAGLIB_CFLAGS)
- AC_SUBST(TAGLIB_LIBS)
+
+ TRACKER_WRITEBACK_CFLAGS="$TRACKER_WRITEBACK_CFLAGS $TAGLIB_CFLAGS"
+ TRACKER_WRITEBACK_LIBS="$TRACKER_WRITEBACK_LIBS $TAGLIB_LIBS"
else
have_taglib="no (disabled)"
fi
@@ -1872,6 +1873,9 @@ if test "x$enable_exempi" != "xno" ; then
[have_exempi=yes],
[have_exempi=no])
+ TRACKER_WRITEBACK_CFLAGS="$TRACKER_WRITEBACK_CFLAGS $EXEMPI_CFLAGS"
+ TRACKER_WRITEBACK_LIBS="$TRACKER_WRITEBACK_LIBS $EXEMPI_LIBS"
+
AC_SUBST(EXEMPI_CFLAGS)
AC_SUBST(EXEMPI_LIBS)
@@ -1905,6 +1909,9 @@ if test "x$enable_playlist" != "xno" ; then
[have_playlist=yes],
[have_playlist=no])
+ TRACKER_WRITEBACK_CFLAGS="$TRACKER_WRITEBACK_CFLAGS $TOTEM_PL_PARSER_CFLAGS"
+ TRACKER_WRITEBACK_LIBS="$TRACKER_WRITEBACK_LIBS $TOTEM_PL_PARSER_LIBS"
+
AC_SUBST(TOTEM_PL_PARSER_CFLAGS)
AC_SUBST(TOTEM_PL_PARSER_LIBS)
diff --git a/src/tracker-writeback/Makefile.am b/src/tracker-writeback/Makefile.am
index e4e31a9..47a4b61 100644
--- a/src/tracker-writeback/Makefile.am
+++ b/src/tracker-writeback/Makefile.am
@@ -5,15 +5,12 @@ modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)/writeback-modules
INCLUDES = \
$(BUILD_CFLAGS) \
+ -I$(top_srcdir)/src \
+ -I$(top_builddir)/src \
-DLOCALEDIR=\""$(localedir)"\" \
-DMODULESDIR=\"$(modulesdir)\" \
-DWRITEBACK_MODULES_DIR=\""$(modulesdir)"\" \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(TRACKER_WRITEBACK_CFLAGS) \
- $(TAGLIB_CFLAGS) \
- $(EXEMPI_CFLAGS) \
- $(TOTEM_PL_PARSER_CFLAGS)
+ $(TRACKER_WRITEBACK_CFLAGS)
modules_LTLIBRARIES =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]