From: Ralph Boehme Date: Tue, 5 Mar 2013 11:26:18 +0000 (+0100) Subject: Reenable tracker-miner interaction X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=1d609821c5793090b09b5899ded7ae0433fc18f9;hp=48af5314c0219b42d13057d907e6837de437a015 Reenable tracker-miner interaction --- diff --git a/etc/spotlight/slmod_sparql.c b/etc/spotlight/slmod_sparql.c index 9edad460..fd0f9845 100644 --- a/etc/spotlight/slmod_sparql.c +++ b/etc/spotlight/slmod_sparql.c @@ -73,13 +73,7 @@ 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) { @@ -89,13 +83,11 @@ 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; @@ -334,7 +326,6 @@ EC_CLEANUP: static int sl_mod_index_file(const void *p) { - return 0; #ifdef HAVE_TRACKER_MINER EC_INIT; const char *f = p;