Re: [Tracker] Removal of some modules before 0.16.0



On 15/03/13 10:53, Martyn Russell wrote:
On 15/03/13 10:48, Debarshi Ray wrote:
Preferably, the photos app would maintain and keep the flickr miner
itself ... since we like to be integrated as a project rather than have
a seriously big code base with plugins for all projects out there. Is
this a possibility?

Sure. Currently Documents carries the Google and SkyDrive miners.  At
some point Photos and Documents might end up sharing some of these
miners.  I don't know what would be the best way to do that. Ideas?

Should be quite easy... the directory and configure.ac stuff for that
miner should lift and shift for the best part into another repository.

In configure.ac, there is a section for the miner specifically:

##################################################################
# Check for tracker-miner-flickr
##################################################################

The pkg-config constraints are:

TRACKER_MINER_FLICKR_REQUIRED="glib-2.0     >= $GLIB_REQUIRED
                                rest-0.7     >= $REST_REQUIRED"

The source itself is Vala and the Makefile.am would likely just need a
few small updates to switch from linking with:

$(top_builddir)/src/libtracker-miner/libtracker-miner- TRACKER_API_VERSION@.la
\
$(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql- TRACKER_API_VERSION@.la
\

to whatever PKGCONFIG tells you, which makes linking much easier.

Hope that answers your question?

If you want to see some idea of what we had in place for Tracker, you can see the removal commit here:

https://git.gnome.org/browse/tracker/commit/?id=2a91a2d43d320ad26762ee81688406e59d180e48

As you can see, there are a lot of files distributed around the system which I completely forgot about. This is worth considering. You may also be able to get the po/ files for translations to avoid extra work for the translation teams...

--
Regards,
Martyn

Founder and CEO of Lanedo GmbH.


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