From: Thomas Albers via Guix-patches via <guix-patches@gnu.org>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 50722@debbugs.gnu.org
Subject: [bug#50722] [PATCH] gnu: Update amsynth to 1.12.2
Date: Sun, 26 Sep 2021 22:17:18 +0200 [thread overview]
Message-ID: <878rzjdqh8.fsf@thomaslabs.org> (raw)
In-Reply-To: <YVCsw8eEwtIDBrsw@3900XT>
Hello Efraim,
thank you for your comments.
Yes `gsettings-desktop-schemas' is actually needed to avoid a running
time error on systems that do not include the package inside the profile
in which amsynth is installed.
It is also important for it to be a `propagated-input'. That way guix
updates the GLib schema cache.
For example, I run a desktop environment without login manager (dwm
lanched with a custom startx script). As such the following runtime
error is generated:
GLib-GIO-ERROR **: 22:14:48.344: Settings schema
'org.gnome.desktop.interface' is not installed
This error is most likely generated inside the function
`get_scaling_factor ()' at line 293 from editor_pane.c
About you other comment. I failed to notice the LASH problem. Mainly
because the program still works. I'll look into it.
> [[PGP Signed Part:Undecided]]
> Couple of comments about the patch:
>
> gsettings-desktop-schemas don't seem to be needed at build time, and it
> launched fine for me when I removed it from the build entirely.
>
> When I launuched it from the command line I got errors about not being
> able to connect to lash.
>
> Is the lash bit a regression from the currently packaged version? Are
> you sure gsettings-desktop-schemas is actually needed?
>
> Thanks.
>
>
> On Tue, Sep 21, 2021 at 04:17:01PM +0200, Thomas Albers via Guix-patches via wrote:
>> ---
>> gnu/packages/music.scm | 12 +++++++-----
>> 1 file changed, 7 insertions(+), 5 deletions(-)
>>
>> diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
>> index ff1330d228..fe64b2af1b 100644
>> --- a/gnu/packages/music.scm
>> +++ b/gnu/packages/music.scm
>> @@ -43,6 +43,7 @@
>> ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
>> ;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
>> ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
>> +;;; Copyright © 2021 Thomas Albers Raviola <thomas@thomaslabs.org>
>> ;;;
>> ;;; This file is part of GNU Guix.
>> ;;;
>> @@ -2354,16 +2355,16 @@ special variant of additive synthesis.")
>> (define-public amsynth
>> (package
>> (name "amsynth")
>> - (version "1.7.1")
>> + (version "1.12.2")
>> (source
>> (origin
>> (method url-fetch)
>> (uri (string-append "https://github.com/amsynth/amsynth/releases/"
>> "download/release-" version
>> - "/amsynth-" version ".tar.bz2"))
>> + "/amsynth-" version ".tar.gz"))
>> (sha256
>> (base32
>> - "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
>> + "0lhp7fymm2fids02y43cy422jzmdiraszll1mk3gzlbfwg33ds1i"))))
>> (build-system gnu-build-system)
>> (arguments
>> `(#:phases
>> @@ -2372,13 +2373,12 @@ special variant of additive synthesis.")
>> (lambda _
>> (substitute* "src/GUI/editor_pane.c"
>> (("/usr/bin/unzip") (which "unzip")))
>> - (substitute* "src/GUI/GUI.cc"
>> + (substitute* "src/GUI/MainMenu.cpp"
>> (("/usr/bin/which") (which "which")))
>> #t)))))
>> (inputs
>> `(("alsa-lib" ,alsa-lib)
>> ("gtk+" ,gtk+-2)
>> - ("gtkmm" ,gtkmm-2)
>> ("jack" ,jack-1)
>> ("lash" ,lash)
>> ("libsndfile" ,libsndfile)
>> @@ -2386,6 +2386,8 @@ special variant of additive synthesis.")
>> ;; External commands invoked at run time.
>> ("unzip" ,unzip)
>> ("which" ,which)))
>> + (propagated-inputs
>> + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
>> (native-inputs
>> `(("intltool" ,intltool)
>> ("pkg-config" ,pkg-config)))
>> --
>> 2.33.0
>>
>>
>>
>>
next prev parent reply other threads:[~2021-09-26 20:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-21 14:17 [bug#50722] [PATCH] gnu: Update amsynth to 1.12.2 Thomas Albers via Guix-patches via
2021-09-26 17:24 ` Efraim Flashner
2021-09-26 20:17 ` Thomas Albers via Guix-patches via [this message]
2021-09-30 22:43 ` Thomas Albers via Guix-patches via
2021-09-26 20:19 ` Maxime Devos
2021-09-26 20:41 ` Thomas Albers via Guix-patches via
2021-09-30 23:11 ` [bug#50722] [PATCH] Update-amsynth-to-1.12.2 Thomas Albers via Guix-patches via
2021-10-02 15:22 ` bug#50722: [PATCH] gnu: Update amsynth to 1.12.2 Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rzjdqh8.fsf@thomaslabs.org \
--to=guix-patches@gnu.org \
--cc=50722@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=thomas@thomaslabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.