]> arthur.barton.de Git - netatalk.git/commitdiff
Disable Tracker miner stuff, hang since adding dbus afpstats
authorRalph Boehme <sloowfranklin@gmail.com>
Mon, 25 Feb 2013 11:41:09 +0000 (12:41 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Mon, 25 Feb 2013 11:41:09 +0000 (12:41 +0100)
etc/spotlight/slmod_sparql.c

index fd0f984560e7c95403b33001d7b820aeaea4a374..9edad460b6135089843e8b8707f79b943e0a3cfa 100644 (file)
@@ -73,7 +73,13 @@ static int sl_mod_init(void *p)
 
     become_root();
     connection = tracker_sparql_connection_get(NULL, &error);
+#if 0 
+    /*
+     * Disabled for now, hangs in tracker_miner_manager_new_full() since adding
+     * the dbus afpstats stuff.
+     */
     manager = tracker_miner_manager_new_full(FALSE, &error);
+#endif
     unbecome_root();
 
     if (!connection) {
@@ -83,11 +89,13 @@ static int sl_mod_init(void *p)
         EC_FAIL;
     }
 
+#if 0
     if (!manager) {
         LOG(log_error, logtype_sl, "Couldn't connect to Tracker miner");
         g_clear_error(&error);
         EC_FAIL;
     }
+#endif
 
 EC_CLEANUP:
     EC_EXIT;
@@ -326,6 +334,7 @@ EC_CLEANUP:
 
 static int sl_mod_index_file(const void *p)
 {
+    return 0;
 #ifdef HAVE_TRACKER_MINER
     EC_INIT;
     const char *f = p;