From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:48283) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKSU0-0007en-96 for guix-patches@gnu.org; Fri, 03 Apr 2020 16:00:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKSTz-0004DS-42 for guix-patches@gnu.org; Fri, 03 Apr 2020 16:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKSTy-0004Cs-Vi for guix-patches@gnu.org; Fri, 03 Apr 2020 16:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKSTy-0001pu-VC for guix-patches@gnu.org; Fri, 03 Apr 2020 16:00:02 -0400 Subject: [bug#38931] gnu: Add gnome-music. Resent-Message-ID: References: <36da2cf9e00e842d4c654140978e1891@disroot.org> <87y2rcqtoi.fsf@ambrevar.xyz> From: Christopher Baines In-reply-to: <87y2rcqtoi.fsf@ambrevar.xyz> Date: Fri, 03 Apr 2020 20:59:02 +0100 Message-ID: <874ku09w8p.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: 38931@debbugs.gnu.org --=-=-= Content-Type: text/plain Pierre Neidhardt 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl6HlYdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xf3PRAAiVeDFSFTzZ2s/iEmQwv4UWBiJTJnBvxEpzSk0qZeMQ1Cmb1Isa40z/ly B5UknwQWGzBWDHKB6Y56EZqiwxa7aG5DveC3jvNA53lzVO2R8ErDMqOlezQcJlIU xD4X0a7fU3S+3gCErCvBFtFdEbhaEhfpMyycgA1gGjH+FAoOjZvP5bR5IcjRCm7H dd8IEGCOCFbv6MIhD3kBQ8vrj5kQzrKFHltt6aj1+qsBFDh+B6CZ/2Z9Udg0+mz9 Xp5iV3CnHLigKjslWakWsByQCI/u11MpnrV+pOrJbhpLa6dXMQTnNop8qtVzp4Uq qhASuhJCy67BDd9EX6ia+Q9QJoeTF3V2me9BRiVNvyWdfEuZmbVtOk3AiMYSv6FG 6/l7NraCuD1D9AXxp7uoIsBiXip4wxILaBetmQqdkqxBnow2/MmgH3srAkW4MGJ7 SqLoWw2fPZm4lSNDW6KWJ15f8pkokSfA5ix6KdHguH23xzUSvYRFtd34IhTPE/Gy Yr3g5sUWXnD/4yDmeyC1NiJuwOx4YwWkrkRC14+/9/ZuCpDPb+tYu4a0C4O34swg Lv++ogsuIwsPuMnwhvbiX1qY+oyd7KZpzqjVdBTW25zCM9xqeBfNqaqW4WtNyVZ3 cyUve9tn0re/EOJVylljRffIYEgv/yakV3OtH6shKf0xaKGa+q0= =lAhK -----END PGP SIGNATURE----- --=-=-=--