Re: [Tracker] PATCH: Allow specifying the ontology directory in DConf



Hi Jonatan,

You're leaking db_config. You must clean it up in the or a shutdown function (and make sure it's called if that db_config was instantiated).

Kind regards,

Philip

Jonatan Pålsson schreef op 8/08/2013 15:42:
Hi list,

Currently it is possible to specify the directory holding the Tracker
ontologies using a pre-processor flag. I would however like this to be
more configurable (due to work with custom ontologies). The following
patch allows users to configure the ontologies directory using a key
in DConf. The new key is called ontologies-dir and is placed in
org.freedesktop.Tracker.DB.

The patch is available here:
https://github.com/Pelagicore/tracker-ivi/commit/70037b236124a2354a7928786a9047c29b67de79

I don't believe the patch will apply cleanly without first applying
https://github.com/Pelagicore/tracker-ivi/commit/213456024d686305d0f6a30b09fa81f04e601fdd
(user data & cache in DConf) - but I can create a clean patch if this
previous patch is not of interest.




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