aboutsummaryrefslogtreecommitdiffstats
path: root/main/nautilus/007-tracker0.10-compat.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-25 18:06:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-25 19:53:02 +0000
commit286429b1aa72ee964ba0cac4b79c754859b1c60a (patch)
tree33c01e6792fd99a430be126c19b9b71947ffd060 /main/nautilus/007-tracker0.10-compat.patch
parent3597c695c8ae4a22da8bd26c363aa8ceae267be3 (diff)
downloadaports-286429b1aa72ee964ba0cac4b79c754859b1c60a.tar.bz2
aports-286429b1aa72ee964ba0cac4b79c754859b1c60a.tar.xz
main/nautilus: upgrade to 2.32.2.1
Diffstat (limited to 'main/nautilus/007-tracker0.10-compat.patch')
-rw-r--r--main/nautilus/007-tracker0.10-compat.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/nautilus/007-tracker0.10-compat.patch b/main/nautilus/007-tracker0.10-compat.patch
new file mode 100644
index 0000000000..fbac659369
--- /dev/null
+++ b/main/nautilus/007-tracker0.10-compat.patch
@@ -0,0 +1,22 @@
+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)) {