GNU bug report logs - #38931
gnu: Add gnome-music.

Previous Next

Package: guix-patches;

Reported by: "Raghav Gururajan" <raghavgururajan <at> disroot.org>

Date: Sat, 4 Jan 2020 23:45:01 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

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 38931 in the body.
You can then email your comments to 38931 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#38931; Package guix-patches. (Sat, 04 Jan 2020 23:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Raghav Gururajan" <raghavgururajan <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 04 Jan 2020 23:45:02 GMT) Full text and rfc822 format available.

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

From: "Raghav Gururajan" <raghavgururajan <at> disroot.org>
To: guix-patches <at> gnu.org
Subject: gnu: Add gnome-music.
Date: Sat, 04 Jan 2020 23:44:41 +0000
[Message part 1 (text/plain, inline)]
Hello Guix!

Please find the attached patch to add gnome-music.

NOTE: This patch depends on the patch #38930.

Thank you!

Regards,
RG.
[gnome-music.patch (application/octet-stream, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Mon, 13 Jan 2020 17:21:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: "Raghav Gururajan" <raghavgururajan <at> disroot.org>
Cc: 38931 <at> debbugs.gnu.org
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Mon, 13 Jan 2020 18:20:15 +0100
[Message part 1 (text/plain, inline)]
Please make the things which are only required for the build and not required
runtime native-inputs.

Is the license gpl2 only?

How are grilo-plugins searched for?

Why is pycairo and pygobject in the "input" list?  Does the feature that
requires those work?
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Tue, 14 Jan 2020 23:15:01 GMT) Full text and rfc822 format available.

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

From: "Raghav Gururajan" <raghavgururajan <at> disroot.org>
To: "Danny Milosavljevic" <dannym <at> scratchpost.org>
Cc: 38931 <at> debbugs.gnu.org
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Tue, 14 Jan 2020 23:13:52 +0000
[Message part 1 (text/plain, inline)]
Hello Danny!

> Please make the things which are only required for the build and not required
> runtime native-inputs.

Yes, please find the attached revised patch.

> Is the license gpl2 only?

It is gpl2+. Please find the attached revised patch.

> How are grilo-plugins searched for?

Not sure. :/

> Why is pycairo and pygobject in the "input" list?

I do not know exactly why, but some parts of the application are (re)written in python.

Regards,
RG.
[gnome-music.patch (application/octet-stream, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Tue, 14 Jan 2020 23:15:02 GMT) Full text and rfc822 format available.

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

From: "Raghav Gururajan" <raghavgururajan <at> disroot.org>
To: "Danny Milosavljevic" <dannym <at> scratchpost.org>
Cc: 38931 <at> debbugs.gnu.org
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Tue, 14 Jan 2020 23:13:58 +0000
[Message part 1 (text/plain, inline)]
Hello Danny!

> Please make the things which are only required for the build and not required
> runtime native-inputs.

Yes, please find the attached revised patch.

> Is the license gpl2 only?

It is gpl2+. Please find the attached revised patch.

> How are grilo-plugins searched for?

Not sure. :/

> Why is pycairo and pygobject in the "input" list?

I do not know exactly why, but some parts of the application are (re)written in python.

Regards,
RG.
[gnome-music.patch (application/octet-stream, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Fri, 03 Apr 2020 19:03:01 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 38931 <at> debbugs.gnu.org
Subject: Re: gnu: Add gnome-music.
Date: Fri, 03 Apr 2020 21:02:21 +0200
[Message part 1 (text/plain, inline)]
Hi,

I tried this patch but it does not work for me outside GNOME, in an
empty environment.

I added gsettings-desktop-schemas and the following arguments

--8<---------------cut here---------------start------------->8---
(arguments
    `(#:phases
      (modify-phases %standard-phases
        (add-after 'install 'wrap
          (lambda* (#:key outputs #:allow-other-keys)
            (let ((out (assoc-ref outputs "out")))
              (wrap-program (string-append out "/bin/gnome-music")
                `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")
                                           ,(string-append out "/lib/python"
                                                           "3.7"
                                                           ;; TODO: How do we get  version-major+minor?
                                                           ;; (version-major+minor
                                                           ;;  (package-version python))
                                                           "/site-packages")))
                `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
                `("GRL_PLUGIN_PATH"        ":" prefix (,(getenv "GRL_PLUGIN_PATH")))))
            #t)))))
--8<---------------cut here---------------end--------------->8---

But it still fails to start with


--8<---------------cut here---------------start------------->8---
> /gnu/store/j3ja6m8sarvpki7pxzaxfc4r85bkmlzy-gnome-music-3.34.2/bin/gnome-music 
removed, grl-bookmarks
removed, grl-metadata-store
removed, grl-filesystem
removed, grl-podcasts

(org.gnome.Music:29122): GLib-GIO-ERROR **: 20:59:08.968: Settings schema 'org.gnome.Music' is not installed
trace/breakpoint trap
--8<---------------cut here---------------end--------------->8---

Any idea?

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Fri, 03 Apr 2020 20:00:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38931 <at> debbugs.gnu.org
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Fri, 03 Apr 2020 20:59:02 +0100
[Message part 1 (text/plain, inline)]
Pierre Neidhardt <mail <at> ambrevar.xyz> writes:

> Hi,
>
> I tried this patch but it does not work for me outside GNOME, in an
> empty environment.
>
> I added gsettings-desktop-schemas and the following arguments
>
> --8<---------------cut here---------------start------------->8---
> (arguments
>     `(#:phases
>       (modify-phases %standard-phases
>         (add-after 'install 'wrap
>           (lambda* (#:key outputs #:allow-other-keys)
>             (let ((out (assoc-ref outputs "out")))
>               (wrap-program (string-append out "/bin/gnome-music")
>                 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")
>                                            ,(string-append out "/lib/python"
>                                                            "3.7"
>                                                            ;; TODO: How do we get  version-major+minor?
>                                                            ;; (version-major+minor
>                                                            ;;  (package-version python))
>                                                            "/site-packages")))
>                 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
>                 `("GRL_PLUGIN_PATH"        ":" prefix (,(getenv "GRL_PLUGIN_PATH")))))
>             #t)))))
> --8<---------------cut here---------------end--------------->8---
>
> But it still fails to start with
>
>
> --8<---------------cut here---------------start------------->8---
>> /gnu/store/j3ja6m8sarvpki7pxzaxfc4r85bkmlzy-gnome-music-3.34.2/bin/gnome-music
> removed, grl-bookmarks
> removed, grl-metadata-store
> removed, grl-filesystem
> removed, grl-podcasts
>
> (org.gnome.Music:29122): GLib-GIO-ERROR **: 20:59:08.968: Settings schema 'org.gnome.Music' is not installed
> trace/breakpoint trap
> --8<---------------cut here---------------end--------------->8---
>
> Any idea?

I think the output for the gnome-music package should also be included
in the GI_TYPELIB_PATH.

I think this is the meson build system, which I think accepts
#:glib-or-gtk? #t as an argument. Try adding that, you might be able to
remove some of the wrapping you added above then.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Sat, 04 Apr 2020 09:26:02 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 38931 <at> debbugs.gnu.org
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Sat, 04 Apr 2020 11:24:57 +0200
[Message part 1 (text/plain, inline)]
Thanks, Chris, this was a good tip.
I've made some progress.

With the following arguments (no need for a gsettings-desktop-schemas
input anymore):

--8<---------------cut here---------------start------------->8---
(arguments
    `(#:glib-or-gtk? #t
      #:phases
      (modify-phases %standard-phases
        (add-after 'install 'wrap
          (lambda* (#:key outputs #:allow-other-keys)
            (let ((out (assoc-ref outputs "out")))
              (wrap-program (string-append out "/bin/gnome-music")
                `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")
                                           ,(string-append out "/lib/python"
                                                           ,(version-major+minor
                                                             (package-version python))
                                                           "/site-packages")))
                `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
                `("GRL_PLUGIN_PATH" ":" prefix (,(getenv "GRL_PLUGIN_PATH")))))
            #t)))))
--8<---------------cut here---------------end--------------->8---

gnome-music starts.

Sadly it displays

"GNOME Music could not connect to Tracker"

Tracker is part of the inputs but I guess that's not enough.
I tried installing gnome-music to my default profile, then run it from a
GNOME session, to no avail.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Sat, 04 Apr 2020 09:26:02 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 38931 <at> debbugs.gnu.org
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Sat, 04 Apr 2020 11:25:38 +0200
[Message part 1 (text/plain, inline)]
And the shell output is

--8<---------------cut here---------------start------------->8---
> /gnu/store/8vv88vlax0cc7mz36ivz2v5y4z8wk054-gnome-music-3.34.2/bin/gnome-music 
removed, grl-bookmarks
removed, grl-metadata-store
removed, grl-filesystem
removed, grl-podcasts
11:22:24 WARNING	Error: tracker-sparql-error-quark, Failed to load SPARQL backend: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Tracker1 was not provided by any .service files

(org.gnome.Music:12866): Grilo-WARNING **: 11:22:24.975: [dleyna] ../grilo-plugins-0.3.10/src/dleyna/grl-dleyna-servers-manager.c:138: Unable to fetch the list of available servers: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.intel.dleyna-server was not provided by any .service files
--8<---------------cut here---------------end--------------->8---

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Sat, 04 Apr 2020 10:18:02 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 38931 <at> debbugs.gnu.org
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Sat, 04 Apr 2020 12:17:35 +0200
[Message part 1 (text/plain, inline)]
I've managed to get rid of the segfault and start gnome-music by setting

       #:configure-flags '("-Denable-lua-factory=no" "-Denable-dleyna=no")

in grilo-plugins.
Looks like dleyna is segfaulting for us.

Now gnome-music show a window with a logo and the text

"Hey Dj
The contents of your Music folder will appear here."

then nothing happens.  I've never used GNOME Music before so I'm not
sure what to expect.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38931; Package guix-patches. (Sat, 22 Aug 2020 10:35:01 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 38931 <at> debbugs.gnu.org
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Sat, 22 Aug 2020 12:34:47 +0200
[Message part 1 (text/plain, inline)]
gnome-music has been merged on master.
Can this be closed?

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sat, 22 Aug 2020 16:35:02 GMT) Full text and rfc822 format available.

Notification sent to "Raghav Gururajan" <raghavgururajan <at> disroot.org>:
bug acknowledged by developer. (Sat, 22 Aug 2020 16:35:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38931-done <at> debbugs.gnu.org, Christopher Baines <mail <at> cbaines.net>
Subject: Re: [bug#38931] gnu: Add gnome-music.
Date: Sat, 22 Aug 2020 12:34:42 -0400
[Message part 1 (text/plain, inline)]
On Sat, Aug 22, 2020 at 12:34:47PM +0200, Pierre Neidhardt wrote:
> gnome-music has been merged on master.
> Can this be closed?

Closed

> 
> -- 
> Pierre Neidhardt
> https://ambrevar.xyz/


[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 20 Sep 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 216 days ago.

Previous Next


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