The build breaks when Tracker support is enabled, ie. meson setup -D tracker=true. This is due to 3c691a8, which changed the number of parameters of file_search_result_new(). The following patch "fixes" this problem - ie. at least the build works fine, I don't know yet if search via tracker actually still works or not.
diff -pru nemo-5.8.0-orig/libnemo-private/nemo-search-engine-tracker.c nemo-5.8.0/libnemo-private/nemo-search-engine-tracker.c
--- nemo-5.8.0-orig/libnemo-private/nemo-search-engine-tracker.c 2023-06-01 17:22:15.000000000 +0200
+++ nemo-5.8.0/libnemo-private/nemo-search-engine-tracker.c 2023-06-02 22:36:01.363324831 +0200
@@ -129,7 +129,7 @@ cursor_callback (GObject *object,
/* We iterate result by result, not n at a time. */
- fsr = file_search_result_new (g_strdup (tracker_sparql_cursor_get_string (cursor, 0, NULL)));
+ fsr = file_search_result_new (g_strdup (tracker_sparql_cursor_get_string (cursor, 0, NULL)), NULL);
hits = g_list_append (NULL, fsr);
nemo_search_engine_hits_added (NEMO_SEARCH_ENGINE (tracker), hits);
g_list_free_full (hits, (GDestroyNotify) file_search_result_free);
Hi, sorry I'm working on this - fixing the build isn't an issue, but I need to update the sql query for tracker3 (and keep compatibility with older versions).
Distribution
Slackware64-15.0
Package version
5.8.0
Frequency
Always
Bug description
The build breaks when Tracker support is enabled, ie.
meson setup -D tracker=true
. This is due to 3c691a8, which changed the number of parameters offile_search_result_new()
. The following patch "fixes" this problem - ie. at least the build works fine, I don't know yet if search via tracker actually still works or not.Steps to reproduce
Expected behavior
The build should work fine with any combinations of build options available, unless documented otherwise.
Additional information
No response