23 lines
912 B
Diff
23 lines
912 B
Diff
Index: nautilus-2.32.2/libnautilus-private/nautilus-search-engine-tracker.c
|
|
===================================================================
|
|
--- nautilus-2.32.2.orig/libnautilus-private/nautilus-search-engine-tracker.c
|
|
+++ nautilus-2.32.2/libnautilus-private/nautilus-search-engine-tracker.c
|
|
@@ -122,10 +122,16 @@ open_libtracker (void)
|
|
done = TRUE;
|
|
flags = G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL;
|
|
|
|
- tracker = g_module_open ("libtracker-client-0.8.so.0", flags);
|
|
+ tracker = g_module_open ("libtracker-client-0.10.so.0", flags);
|
|
+ /* we use the same API as in 0.8 */
|
|
version = TRACKER_0_8;
|
|
|
|
if (!tracker) {
|
|
+ tracker = g_module_open ("libtracker-client-0.8.so.0", flags);
|
|
+ version = TRACKER_0_8;
|
|
+ }
|
|
+
|
|
+ if (!tracker) {
|
|
tracker = g_module_open ("libtracker-client-0.7.so.0", flags);
|
|
|
|
if (tracker && !g_module_symbol (tracker, "tracker_resources_sparql_query_async", &x)) {
|