Re: [Tracker] Building tracker and tracker apps from trunk



Hi!

On Sat, Jan 10, 2009 at 9:58 PM, Damien Moore <damienlmoore gmail com> wrote:
Hi again,

I have two problems:

1/ I also want to get the gui tools, but I either have missing dependencies or have used the wrong flags with autogen.sh (either is entirely possible - I'm not terribly familiar with the linux build tools).

I've tried variants on:
./autogen.sh --enable-deskbar-applet --enable-tracker-search-tool --enable-tracker-preferences --enable-tracker-applet --enable-libtracker-gtk --prefix=/usr --sysconfdir=/etc

but the build config summary reports only the deskbar-applet being enabled (see below).

Have you installed the development packages of "glib-2.0",  "gtk+-2.0", "dbus-1", "libgnome-2.0","libgnomeui-2.0" and "dbus-glib"?

When some of those packages are missing, those components are disabled and the compilation doesn't fail. I think we should show an error if the option --enable-X is used (the user explicitly enable that option) and the required libraries are not present.

2/ I'm also have trouble with the dbus interface. I've tried to call the Text method of org.freedesktop.Tracker.Search interface but it returns with "can't find method in interface with args xxx" type error. (On the other hand I can call GetVersion method from org.freedesktop.Tracker interface). This was code that worked for the version of tracker that shipped with hardy (0.6.6), but doesn't work on trunk...

There is a small change in the DBus API. In 0.6.6, there were one Tracker object with 5 interfaces. Now we have 5 objects with one interface (per object). So, instead of connect to

Object: org.freedesktop.Tracker
Interface: org.freedesktop.Tracker.Search

You should use:
Object: org.freedesktop.Tracker.Search
Interface: org.freedesktop.Tracker.Search

The "Version" method is working because that interface keep the same name and object.

 To explore the DBus API of tracker, try d-feet (https://fedorahosted.org/d-feet/). It helps a lot to check objects/interfaces/methods/signatures.

Regards,

Ivan
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]