* [bug#63424] GNOME tracker does not work with tracker-miners
@ 2023-05-10 17:33 Sughosha via Guix-patches via
2023-05-10 19:50 ` Liliana Marie Prikler
0 siblings, 1 reply; 6+ messages in thread
From: Sughosha via Guix-patches via @ 2023-05-10 17:33 UTC (permalink / raw)
To: 63424
GNOME "tracker" is built with "libexecdir" in its own prefix in the store and "tracker-miners" in its own. The problem is that "tracker" does not have access to the executable files in the "libexecdir" of "tracker-miners", so commands like "tracker3 extract file.flac" does not work. Due to this problem GNOME Music cannot list FLAC files (I don't know how it listed my MP3 file). As per this issue <https://gitlab.gnome.org/GNOME/gnome-music/-/issues/522>, "tracker3 extract" should work for GNOME Music to show FLAC files.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#63424] GNOME tracker does not work with tracker-miners
2023-05-10 17:33 [bug#63424] GNOME tracker does not work with tracker-miners Sughosha via Guix-patches via
@ 2023-05-10 19:50 ` Liliana Marie Prikler
2023-06-16 20:22 ` Sughosha via Guix-patches via
0 siblings, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2023-05-10 19:50 UTC (permalink / raw)
To: Sughosha, 63424
Hi Sughosha,
Am Mittwoch, dem 10.05.2023 um 17:33 +0000 schrieb Sughosha:
> GNOME "tracker" is built with "libexecdir" in its own prefix in the
> store and "tracker-miners" in its own. The problem is that "tracker"
> does not have access to the executable files in the "libexecdir" of
> "tracker-miners", so commands like "tracker3 extract file.flac" does
> not work. Due to this problem GNOME Music cannot list FLAC files (I
> don't know how it listed my MP3 file). As per this issue
> <https://gitlab.gnome.org/GNOME/gnome-music/-/issues/522>, "tracker3
> extract" should work for GNOME Music to show FLAC files.
The problem here is that the tracker CLI searches these commands in a
hardcoded directory. Instead of doing that, it should be using a
search path for libexec/tracker3.
Cheers
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#63424] GNOME tracker does not work with tracker-miners
2023-05-10 19:50 ` Liliana Marie Prikler
@ 2023-06-16 20:22 ` Sughosha via Guix-patches via
2023-06-16 22:01 ` Liliana Marie Prikler
0 siblings, 1 reply; 6+ messages in thread
From: Sughosha via Guix-patches via @ 2023-06-16 20:22 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: 63424
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#63424] GNOME tracker does not work with tracker-miners
2023-06-16 20:22 ` Sughosha via Guix-patches via
@ 2023-06-16 22:01 ` Liliana Marie Prikler
2023-06-23 17:16 ` Sughosha via Guix-patches via
0 siblings, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2023-06-16 22:01 UTC (permalink / raw)
To: Sughosha; +Cc: 63424
Am Freitag, dem 16.06.2023 um 20:22 +0000 schrieb Sughosha:
> Hi Liliana,
>
> I found out that tracker also looks for
> "TRACKER_CLI_SUBCOMMANDS_DIR".
> I tested it and it worked!
Cool, I've applied some stylistic changes and prepared a format-abiding
commit message, but otherwise LGTM. The actual push will have to wait
a week, though :)
Cheers
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#63424] GNOME tracker does not work with tracker-miners
2023-06-16 22:01 ` Liliana Marie Prikler
@ 2023-06-23 17:16 ` Sughosha via Guix-patches via
2023-06-25 12:38 ` bug#63424: " Liliana Marie Prikler
0 siblings, 1 reply; 6+ messages in thread
From: Sughosha via Guix-patches via @ 2023-06-23 17:16 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: 63424
Even though tracker is able to find tracker-miners executables, GNOME Music is not showing any of my music file in the ~/Music folder. It may have another problem.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#63424: GNOME tracker does not work with tracker-miners
2023-06-23 17:16 ` Sughosha via Guix-patches via
@ 2023-06-25 12:38 ` Liliana Marie Prikler
0 siblings, 0 replies; 6+ messages in thread
From: Liliana Marie Prikler @ 2023-06-25 12:38 UTC (permalink / raw)
To: Sughosha; +Cc: 63424-done
Am Freitag, dem 23.06.2023 um 17:16 +0000 schrieb Sughosha:
> Even though tracker is able to find tracker-miners executables, GNOME
> Music is not showing any of my music file in the ~/Music folder. It
> may have another problem.
I pushed the current patch regardless. Hope that helps.
Cheers
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-25 12:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-10 17:33 [bug#63424] GNOME tracker does not work with tracker-miners Sughosha via Guix-patches via
2023-05-10 19:50 ` Liliana Marie Prikler
2023-06-16 20:22 ` Sughosha via Guix-patches via
2023-06-16 22:01 ` Liliana Marie Prikler
2023-06-23 17:16 ` Sughosha via Guix-patches via
2023-06-25 12:38 ` bug#63424: " Liliana Marie Prikler
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).