[tracker/libtracker-miner] Removed tracker-{processor|crawler|monitor} from binary



commit 0987f0e4a52535c30399c76c1d18731941c4475f
Author: Martyn Russell <martyn imendio com>
Date:   Mon Aug 17 11:50:53 2009 +0100

    Removed tracker-{processor|crawler|monitor} from binary

 src/tracker-miner-fs/Makefile.am         |    6 -
 src/tracker-miner-fs/tracker-crawler.c   | 1235 ---------------------
 src/tracker-miner-fs/tracker-crawler.h   |   70 --
 src/tracker-miner-fs/tracker-indexer.c   |   18 +-
 src/tracker-miner-fs/tracker-monitor.c   | 1627 ----------------------------
 src/tracker-miner-fs/tracker-monitor.h   |   77 --
 src/tracker-miner-fs/tracker-processor.c | 1730 ------------------------------
 src/tracker-miner-fs/tracker-processor.h |   66 --
 tests/tracker-miner-fs/Makefile.am       |    3 -
 9 files changed, 3 insertions(+), 4829 deletions(-)
---
diff --git a/src/tracker-miner-fs/Makefile.am b/src/tracker-miner-fs/Makefile.am
index 61dbe55..7113d1c 100644
--- a/src/tracker-miner-fs/Makefile.am
+++ b/src/tracker-miner-fs/Makefile.am
@@ -45,8 +45,6 @@ tracker_miner_fs_SOURCES =						\
 	tracker-albumart.h						\
 	tracker-config.c						\
 	tracker-config.h						\
-	tracker-crawler.c						\
-	tracker-crawler.h						\
 	tracker-dbus.h							\
 	tracker-indexer.c						\
 	tracker-indexer.h						\
@@ -56,10 +54,6 @@ tracker_miner_fs_SOURCES =						\
 	tracker-marshal-main.c						\
 	tracker-miner.c							\
 	tracker-miner.h							\
-	tracker-monitor.c						\
-	tracker-monitor.h						\
-	tracker-processor.c						\
-	tracker-processor.h						\
 	tracker-status.c						\
 	tracker-status.h						\
 	tracker-removable-device.c					\
diff --git a/src/tracker-miner-fs/tracker-indexer.c b/src/tracker-miner-fs/tracker-indexer.c
index 885510a..9ba250b 100644
--- a/src/tracker-miner-fs/tracker-indexer.c
+++ b/src/tracker-miner-fs/tracker-indexer.c
@@ -74,7 +74,6 @@
 #include "tracker-indexer.h"
 #include "tracker-indexer-module.h"
 #include "tracker-marshal.h"
-#include "tracker-processor.h"
 #include "tracker-removable-device.h"
 #include "tracker-status.h"
 #include "tracker-utils.h"
@@ -129,8 +128,6 @@ struct TrackerIndexerPrivate {
 	TrackerPower   *power;
 	TrackerStorage *storage;
 
-	TrackerProcessor *processor;
-
 	TrackerClient *client;
 
 	GTimer *timer;
@@ -577,10 +574,6 @@ tracker_indexer_finalize (GObject *object)
 	g_object_unref (priv->storage);
 #endif /* HAVE_HAL */
 
-	if (priv->processor) {
-		g_object_unref (priv->processor);
-	}
-
 	if (priv->client) {
 		tracker_disconnect (priv->client);
 	}
@@ -838,11 +831,6 @@ indexer_constructed (GObject *object)
 	 */
 	tracker_status_set_and_signal (TRACKER_STATUS_IDLE);
 
-	indexer->private->processor = 
-		tracker_processor_new (indexer->private->config, 
-				       indexer->private->storage, 
-				       indexer);
-
 	indexer_load_modules (indexer);
 
 	/* Set up idle handler to process files/directories */
@@ -1013,9 +1001,9 @@ start_cb (gpointer user_data)
 
 	indexer = TRACKER_INDEXER (user_data);
 
-	if (indexer->private->processor) {
-		tracker_processor_start (indexer->private->processor);
-	}
+#ifdef FIX
+	/* Start processor here */
+#endif
 
 	return FALSE;
 }
diff --git a/tests/tracker-miner-fs/Makefile.am b/tests/tracker-miner-fs/Makefile.am
index 16ba1b7..40fe90d 100644
--- a/tests/tracker-miner-fs/Makefile.am
+++ b/tests/tracker-miner-fs/Makefile.am
@@ -30,15 +30,12 @@ tracker_metadata_utils_SOURCES = 						\
 	$(top_srcdir)/src/tracker-store/tracker-events.c			\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-dbus.c			\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-config.c			\
-	$(top_srcdir)/src/tracker-miner-fs/tracker-crawler.c			\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-indexer.c			\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-indexer-module.c		\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-marshal-main.c		\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-module-metadata-utils.c 	\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-module-file.c		\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-module-iteratable.c		\
-	$(top_srcdir)/src/tracker-miner-fs/tracker-monitor.c			\
-	$(top_srcdir)/src/tracker-miner-fs/tracker-processor.c			\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-removable-device.c		\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-status.c			\
 	$(top_srcdir)/src/tracker-miner-fs/tracker-utils.c			\



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