Can't use tracker_check_version()
Applying the following patch to add a unit test calling tracker_check_version() would cause undefined reference to tracker_check_version
Installing to a tmp directoy, you can see the function...
/tmp/install-tracker/share/gir-1.0/Tracker-2.0.gir:1158: <function name="check_version" version="0.10" c:identifier="tracker_check_version">
/tmp/install-tracker/include/tracker-2.0/libtracker-sparql/tracker-version.h:39: * TRACKER_CHECK_VERSION:
/tmp/install-tracker/include/tracker-2.0/libtracker-sparql/tracker-version.h:45: * tracker_check_version() but as a pre-processor operation rather
/tmp/install-tracker/include/tracker-2.0/libtracker-sparql/tracker-version.h:54: * if (!TRACKER_CHECK_VERSION (0, 10, 7)) {
/tmp/install-tracker/include/tracker-2.0/libtracker-sparql/tracker-version.h:62:#define TRACKER_CHECK_VERSION(major,minor,micro) \
/tmp/install-tracker/include/tracker-2.0/libtracker-sparql/tracker-version.h:68:const gchar * tracker_check_version (guint required_major,
But I could not find it to be exported by nm -D the final .so libraries.
Noticed this while trying add a runtime check for tracker's plugin in grilo grilo-plugins#55 (closed) - nothing urgent, I'll workaround locally probably.
Cheers,