On Wed, 2007-12-12 at 21:16 +0100, Michael Biebl wrote: > 2007/12/12, Emilio Pozuelo Monfort <[EMAIL PROTECTED]>: > > Hi, > > > > When I was merging Ubuntu's tracker from Debian's, I thought about the patch > > which disables trackerd in KDE. I thought that shouldn't happen, as if a KDE > > user installs tracker he will expect tracker to work out of the box. > > > > I discussed it with Sebastien Bacher and he agreed with me that it wasn't > > optimal. But he explained to me (and I agree with it) that there shouldn't > > be > > more than one indexer running at the same time, so it's a workaround for > > [1]. > > But as Michael Biebl explains in [2] with his user case, this is not the > > best > > thing to do. But we need to do something. You don't want to have tracker, > > strigi, beagle... running at the same time. > > > > So I was wondering whether the XESAM spec specifies some way to solve this, > > or > > at least a way for indexers to say they are indexing. If the first is done, > > that > > would be great. However if it isn't but the second option is implemented, > > tracker could check whether there are other indexers running, and if so, > > stop > > running. > > I guess XESAM will define a D-Bus API (similar to > org.freedesktop.PowerManagement) > and the first indexer that grabs this interface on startup will server > requests. > Other indexers will simply exit if they notice that the interface is taken.
tracker already does that but with its own interface only (hence the exit if dupe instance found) Dbus allows multiple apps to own the same dbus interface but you can pass a flag to specify exclusive ownership and exit if it fails jamie _______________________________________________ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list