Gentoo Archives: gentoo-commits

From: "Remi Cardona (remi)" <remi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/gtk+/files: gtk+-2.12.0-libtracker_so.patch
Date: Fri, 21 Sep 2007 22:01:42
Message-Id: E1IYqRP-0003My-W5@stork.gentoo.org
1 remi 07/09/21 21:53:39
2
3 Added: gtk+-2.12.0-libtracker_so.patch
4 Log:
5 last minute fix for tracker
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.1 x11-libs/gtk+/files/gtk+-2.12.0-libtracker_so.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/files/gtk+-2.12.0-libtracker_so.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/files/gtk+-2.12.0-libtracker_so.patch?rev=1.1&content-type=text/plain
13
14 Index: gtk+-2.12.0-libtracker_so.patch
15 ===================================================================
16 --- gtk/gtksearchenginetracker.c 2007/06/22 14:32:22 18219
17 +++ gtk/gtksearchenginetracker.c 2007/09/18 21:48:01 18846
18 @@ -71,10 +71,16 @@
19 {
20 int i;
21 GModule *tracker;
22 + GModuleFlags flags;
23
24 done = TRUE;
25 -
26 - tracker = g_module_open ("libtracker.so.0", G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
27 + flags = G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL;
28 +
29 + tracker = g_module_open ("libtrackerclient.so.0", flags);
30 +
31 + if (!tracker)
32 + tracker = g_module_open ("libtracker.so.0", flags);
33 +
34 if (!tracker)
35 return;
36
37
38
39
40 --
41 gentoo-commits@g.o mailing list