GNOME Bugzilla – Bug 657650
Tracker backend assumes newer version of Tracker than required
Last modified: 2011-09-01 23:14:46 UTC
The commit 1cfbeb84986f3e1072387a903b08acdd251b074d handles an error introduced by a newer version of Tracker than we require. This ends up causing a build warning if the available version of Tracker is > our minimum requirement but < the version of Tracker that introduces that error type. Because git-based builds of Folks escalate warnings to errors, this causes a build failure. Instead of bumping the Tracker requirement, we should just wrap this code with an #if SOME_VAR ... #endif and define SOME_VAR (with a reasonable name) in configure.ac and pass it along as a -D option in the Tracker backend CFLAGS.
commit e4c941605f6ce0d2708da468e89abacf2b01a629 Author: Raul Gutierrez Segales <rgs@collabora.co.uk> Date: Thu Sep 1 23:16:27 2011 +0100 tracker: conditional compilation of GLib.SpawnError exception handling Starting Tracker 0.10.6, the GLib.SpawnError is exception is thrown when calling Tracker.Sparql.Connection.get (). So we need to test for the installed version and catch or not the exception, accordingly. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=657650