GNOME Bugzilla – Bug 526761
Make mail indexing modular
Last modified: 2010-05-17 13:32:53 UTC
The scenario where a single user wants to enable indexing for several mail clients at the same time won't be very usual, so it makes sense to make mail indexing modular, having just the module for the preferred mail client loaded. I'm going to attach a patch to do that
Created attachment 108794 [details] [review] [PATCH] Make mail indexer modular. INSTALL | 53 ++++++----- src/libtracker-common/tracker-config.c | 147 ++++++----------------------- src/libtracker-common/tracker-config.h | 12 +-- src/trackerd/Makefile.am | 29 +++++- src/trackerd/tracker-dbus-methods.c | 5 +- src/trackerd/tracker-email-evolution.c | 50 +++++++---- src/trackerd/tracker-email-evolution.h | 44 --------- src/trackerd/tracker-email-kmail.c | 42 +++++---- src/trackerd/tracker-email-kmail.h | 44 --------- src/trackerd/tracker-email-thunderbird.c | 49 +++++----- src/trackerd/tracker-email-thunderbird.h | 46 --------- src/trackerd/tracker-email-utils.c | 3 - src/trackerd/tracker-email.c | 128 ++++++++++++++------------ src/trackerd/tracker-email.h | 13 ++- src/trackerd/tracker-process-files.c | 52 ++--------- src/trackerd/trackerd.c | 24 +---- 16 files changed, 260 insertions(+), 481 deletions(-)
Hrm, sorry, the INSTALL file was modified automatically by autofoo, I didn't notice when submitting
Patch looks ok - feel free to commit thanks
Sidenote, related to this patch: In the Patch for Modest's support we can see that there are still a few more files other than the files being compiled/linked into the Module that need to be edited for supporting a new E-mail client. Ideally after this patch would tracker allow the creation of just a module to start supporting a new E-mail client. http://mail.gnome.org/archives/tracker-list/2008-April/msg00022.html For example search for "modest-open" to find where the launcher is to be specified. The same setting is stored hard-coded at ~ 4 locations.
Created attachment 108849 [details] [review] Fixes a problem in this patch I'm not sure, but I think you need this in that patch.
I've opened #529520 to handle the issues in comment #4, I think this bug can be closed :)
Moving "Indexer" component bugs to "General" since "Indexer" refers to the old 0.6 architecture