Subject: [bug#63424] GNOME tracker does not work with tracker-miners

From: Sughosha <[email-masked]>
Date: Fri, 16 Jun 2023 20:22:41 +0000

Hi Liliana,

I found out that tracker also looks for "TRACKER_CLI_SUBCOMMANDS_DIR".
I tested it and it worked!

* gnu/packages/gnome.scm (tracker-miners)[native-search-paths]: Add
search path for "TRACKER_CLI_SUBCOMMANDS_DIR".
---
 gnu/packages/gnome.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 22588ff..d50010b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9607,6 +9607,12 @@ (define-public tracker-miners
            tracker
            upower
            zlib))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "TRACKER_CLI_SUBCOMMANDS_DIR")
+            (separator #f) ;single entry
+            (files `(,(string-append "libexec/tracker"
+                                     (version-major version)))))))
     (synopsis "Metadata database, indexer and search tool")
     (home-page "https://wiki.gnome.org/Projects/Tracker")
     (description
--
libgit2 1.5.1