GNU bug report logs - #63424
GNOME tracker does not work with tracker-miners

Previous Next

Package: guix-patches;

Reported by: Sughosha <Sughosha <at> proton.me>

Date: Wed, 10 May 2023 17:34:01 UTC

Severity: normal

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63424 in the body.
You can then email your comments to 63424 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63424; Package guix-patches. (Wed, 10 May 2023 17:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sughosha <Sughosha <at> proton.me>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 10 May 2023 17:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: GNOME tracker does not work with tracker-miners
Date: Wed, 10 May 2023 17:33:23 +0000
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.




Information forwarded to guix-patches <at> gnu.org:
bug#63424; Package guix-patches. (Wed, 10 May 2023 19:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 63424 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Sughosha <Sughosha <at> proton.me>, 63424 <at> debbugs.gnu.org
Subject: Re: GNOME tracker does not work with tracker-miners
Date: Wed, 10 May 2023 21:50:25 +0200
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




Information forwarded to guix-patches <at> gnu.org:
bug#63424; Package guix-patches. (Fri, 16 Jun 2023 20:24:02 GMT) Full text and rfc822 format available.

Message #11 received at 63424 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 63424 <at> debbugs.gnu.org
Subject: Re: GNOME tracker does not work with tracker-miners
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





Information forwarded to guix-patches <at> gnu.org:
bug#63424; Package guix-patches. (Fri, 16 Jun 2023 22:02:02 GMT) Full text and rfc822 format available.

Message #14 received at 63424 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Sughosha <Sughosha <at> proton.me>
Cc: 63424 <at> debbugs.gnu.org
Subject: Re: GNOME tracker does not work with tracker-miners
Date: Sat, 17 Jun 2023 00:01:30 +0200
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




Information forwarded to guix-patches <at> gnu.org:
bug#63424; Package guix-patches. (Fri, 23 Jun 2023 17:17:02 GMT) Full text and rfc822 format available.

Message #17 received at 63424 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 63424 <at> debbugs.gnu.org
Subject: Re: GNOME tracker does not work with tracker-miners
Date: Fri, 23 Jun 2023 17:16:10 +0000
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.




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sun, 25 Jun 2023 12:39:01 GMT) Full text and rfc822 format available.

Notification sent to Sughosha <Sughosha <at> proton.me>:
bug acknowledged by developer. (Sun, 25 Jun 2023 12:39:01 GMT) Full text and rfc822 format available.

Message #22 received at 63424-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Sughosha <Sughosha <at> proton.me>
Cc: 63424-done <at> debbugs.gnu.org
Subject: Re: GNOME tracker does not work with tracker-miners
Date: Sun, 25 Jun 2023 14:38:01 +0200
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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Jul 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.