Re: [Tracker] runtime checking for tracker availability
- From: "Samuel Cormier-Iijima" <sciyoshi gmail com>
- To: "Mikkel Kamstrup Erlandsen" <mikkel kamstrup gmail com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] runtime checking for tracker availability
- Date: Fri, 20 Oct 2006 05:09:44 -0400
On 10/20/06, Mikkel Kamstrup Erlandsen <mikkel kamstrup gmail com> wrote:
2006/10/20, Jamie McCracken <jamiemcc blueyonder co uk>:
> Mikkel Kamstrup Erlandsen wrote:
> > Is there an easy *clean* way to check if tracker is installed at
> > runtime? I thinking here namely on the deskbar handler which needs to do
> > this.
> >
> > I have been playing around with some dbus stuff. I need a call to check
> > whether tracker is available without starting it (via dbus activation)!
> >
> > dbus.bus.ListActivatableNames was added in dbus 0.91.0 but edgy only has
> > 0.70.0...
>
> you could check for the tracker service file in usr/dbus-1/services
Yeah, but for that I'd need the path where dbus service files are
installed... Digging around I hva not been able to device a runtime way of
doing this.
I think this was discussed earlier on the list; I can get the services dir with
pkg-config --variable=session_bus_services_dir dbus-1
but apparently it didn't work for other people (I'm running latest Ubuntu Edgy)
Cheers,
Mikkel
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]