tracker r2320 - in trunk: . src/tracker-indexer



Author: carlosg
Date: Tue Oct  7 12:05:19 2008
New Revision: 2320
URL: http://svn.gnome.org/viewvc/tracker?rev=2320&view=rev

Log:
2008-10-07  Carlos Garnacho  <carlos imendio com>

        * src/tracker-indexer/Makefile.am: Split the relevant parts of
        tracker-indexer into libtracker-indexer.so, make tracker-indexer use
        it.
        * src/tracker-indexer/tracker-metadata.h:
        * src/tracker-indexer/tracker-module.h: Fix includes so it doesn't
        give problems when compiling modules out of tree.


Modified:
   trunk/ChangeLog
   trunk/src/tracker-indexer/Makefile.am
   trunk/src/tracker-indexer/tracker-metadata.h
   trunk/src/tracker-indexer/tracker-module.h

Modified: trunk/src/tracker-indexer/Makefile.am
==============================================================================
--- trunk/src/tracker-indexer/Makefile.am	(original)
+++ trunk/src/tracker-indexer/Makefile.am	Tue Oct  7 12:05:19 2008
@@ -15,6 +15,20 @@
 	$(PANGO_CFLAGS)							\
 	$(GMODULE_CFLAGS)
 
+libtracker_indexerdir = $(libdir)/tracker
+libtracker_indexerincludedir=$(includedir)/tracker-1.0/libtracker-indexer/
+libtracker_indexer_LTLIBRARIES = libtracker-indexer.la
+
+libtracker_indexer_la_SOURCES =	 					\
+	tracker-metadata.c						\
+	tracker-metadata-utils.c
+
+libtracker_indexerinclude_HEADERS =					\
+	tracker-metadata.h						\
+	tracker-metadata-utils.h					\
+	tracker-module.h
+
+
 libexec_PROGRAMS = tracker-indexer
 
 tracker_indexer_SOURCES =						\
@@ -27,14 +41,10 @@
 	tracker-indexer-module.c					\
 	tracker-indexer-module.h					\
 	tracker-main.c							\
-	tracker-marshal-main.c						\
-	tracker-metadata.c						\
-	tracker-metadata.h						\
-	tracker-metadata-utils.c					\
-	tracker-metadata-utils.h					\
-	tracker-module.h
+	tracker-marshal-main.c
 
 tracker_indexer_LDADD =							\
+	libtracker-indexer.la						\
 	$(top_builddir)/src/libtracker-db/libtracker-db.la 		\
 	$(top_builddir)/src/libtracker-common/libtracker-common.la 	\
 	$(top_builddir)/src/libstemmer/libstemmer.la	 		\

Modified: trunk/src/tracker-indexer/tracker-metadata.h
==============================================================================
--- trunk/src/tracker-indexer/tracker-metadata.h	(original)
+++ trunk/src/tracker-indexer/tracker-metadata.h	Tue Oct  7 12:05:19 2008
@@ -23,7 +23,7 @@
 #define __TRACKER_METADATA_H__
 
 #include <glib.h>
-#include <libtracker-common/tracker-field.h>
+#include <libtracker-common/tracker-common.h>
 
 typedef struct TrackerMetadata TrackerMetadata;
 

Modified: trunk/src/tracker-indexer/tracker-module.h
==============================================================================
--- trunk/src/tracker-indexer/tracker-module.h	(original)
+++ trunk/src/tracker-indexer/tracker-module.h	Tue Oct  7 12:05:19 2008
@@ -25,7 +25,7 @@
 G_BEGIN_DECLS
 
 #include <glib.h>
-#include <tracker-indexer/tracker-metadata.h>
+#include "tracker-metadata.h"
 
 typedef struct TrackerFile TrackerFile;
 



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