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.

Full log


View this message in rfc822 format

From: Christopher Baines <mail <at> cbaines.net>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38931 <at> debbugs.gnu.org
Subject: [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)]

This bug report was last modified 4 years and 269 days ago.

Previous Next


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