diff options
author | Leo Famulari <leo@famulari.name> | 2021-03-05 14:14:30 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-03-05 14:54:54 -0500 |
commit | fa7f4781ca79ba55ce923bc6b3f57fb806dfe900 (patch) | |
tree | 9e444e364eb9d0adab8ba024adfd13e5f6dcdebe /gnu/packages/audio.scm | |
parent | 41b984ccfceb5fb088d03a6306a8e02becab9ab3 (diff) | |
download | guix-fa7f4781ca79ba55ce923bc6b3f57fb806dfe900.tar.gz |
gnu: Audacity: Fix a crash on foreign distros.
Without the wrap phase, Audacity crashes like this when trying to use the "Open file" dialog: (audacity:28276): GLib-GIO-ERROR **: 14:14:55.211: Settings schema 'org.gtk.Settings.FileChooser' is not installed * gnu/packages/audio.scm (audacity)[arguments]: Add (guix build glib-or-gtk-build-system) to #:imported-modules. Adjust #:modules accordingly. Add phases 'glib-or-gtk-wrap'.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r-- | gnu/packages/audio.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 052360d2e9..2440fed1fd 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -750,6 +750,12 @@ engineers, musicians, soundtrack editors and composers.") "-Daudacity_use_ffmpeg=linked" "-Daudacity_use_lame=system" "-Daudacity_use_portsmf=system") + #:imported-modules ((guix build glib-or-gtk-build-system) + ,@%cmake-build-system-modules) + #:modules + ((guix build utils) + (guix build cmake-build-system) + ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)) #:phases (modify-phases %standard-phases (add-after 'unpack 'comment-out-revision-ident @@ -766,7 +772,9 @@ engineers, musicians, soundtrack editors and composers.") (("../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h") (("../lib-src/portmidi/porttime/porttime.h") "porttime.h")) (substitute* "src/prefs/MidiIOPrefs.cpp" - (("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h"))))) + (("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h")))) + (add-after 'wrap-program 'glib-or-gtk-wrap + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))) ;; The test suite is not "well exercised" according to the developers, ;; and fails with various errors. See ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>. |