Re: [Tracker] Tracker GConf should use DBus session bus



On 09/03/2012 08:26 PM, Aleksander Morgado wrote:
I think we made it this way because the key that we needed on
Harmattan
was in the system bus.

So if we would change it we should probably add an #ifdef for
harmattan
so that on this platform it remains the way it is now.
The whole file is exclusively for Meego. On other systems, locale
settings are not stored in GConf and we use the environment variables.
I am developing on a Meego derived platform, although not Harmattan.
On Harmattan it was definitely correct to use the system bus. If you can
verify that upstream Meego does not use the system bus for GConf, I
think we should simply change it given that Harmattan will never use
tracker master.
Thanks JÃrg, Philip,

While we could change master here, I actually wonder where we're using
this Harmattan code?

Is it on MeeGo?
Is it for general purpose (i.e. someone wants to use gconf with dbus)?

The setup would affect anyone using the MeeGo Touch Framework, see:
http://apidocs.meego.com/1.0/mtf/i18n.html#localesystem

Depending on these answers, we can either:

a) fix in master and rename as Philip suggests
b) create a new .c file for that target

I am fine with either as long as we don't disrupt anyone using Tracker
on existing platforms. Richard, patches/branches welcome ;)

There's no upstream MeeGo anymore, and I don't believe Tizen cares about
Tracker, so I wouldn't spend one minute trying to handle those cases.

Yes that may be true, but I don't know how many projects are still based on Meego 1.2 - maybe very few.

I am not too bothered about Tracker being patched or not as long as we have some record of a discussion about this that can be found via Google. Maybe I'm stupid but it did actually take quite a while to work out what was going wrong the Tracker's GConf support.

You certainly need to be able to set the locale in your settings application process, and have the changes propagated to all other apps and daemons that are using locale settings. I assume GSettings does this, but just relying on Tracker picking up an environment variable or an application specific config file wouldn't be enough IMHO.

-- Richard



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