mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: zrythm: Update to 1.0.0-beta.4.9.1.
* gnu/packages/music.scm (zrythm): Update to 1.0.0-beta.4.9.1. [arguments]: Enable tests; add phase 'patch-tests. [inputs]: Remove glibc; replace glib-next with glib; replace guile-2.2 with guile-3.0. [native-inputs]: Replace glib-next:bin with glib:bin.
This commit is contained in:
parent
db639324b2
commit
61d7d9048f
1 changed files with 41 additions and 9 deletions
|
@ -6488,7 +6488,7 @@ (define-public zrythm
|
||||||
;; distros to make necessary changes to integrate the software into the
|
;; distros to make necessary changes to integrate the software into the
|
||||||
;; distribution.
|
;; distribution.
|
||||||
(name "zrythm")
|
(name "zrythm")
|
||||||
(version "1.0.0-beta.4.5.62")
|
(version "1.0.0-beta.4.9.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -6496,11 +6496,10 @@ (define-public zrythm
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nfb3h3aky8f8xslx6qzvcgcfrhlqa1v50kzanmpjxrx9dcllin7"))))
|
"0skdb4bpw4v5175yw9wijrc6j36mxjq8i7p8nn9650lipxg6bshd"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f ;123 pass, 3 fail. Appears network-related.
|
(list #:glib-or-gtk? #t
|
||||||
#:glib-or-gtk? #t
|
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "-Dtests=true"
|
#~(list "-Dtests=true"
|
||||||
"-Dmanpage=false" ;fish-completions breaks this
|
"-Dmanpage=false" ;fish-completions breaks this
|
||||||
|
@ -6510,9 +6509,43 @@ (define-public zrythm
|
||||||
"-Dguile=enabled" ;for Guile scripting
|
"-Dguile=enabled" ;for Guile scripting
|
||||||
"-Djack=enabled" ;for JACK audio/MIDI backend
|
"-Djack=enabled" ;for JACK audio/MIDI backend
|
||||||
"-Drtmidi=enabled" ;for RtMidi backend (ALSA sequencer)
|
"-Drtmidi=enabled" ;for RtMidi backend (ALSA sequencer)
|
||||||
"-Dsdl=enabled") ;for SDL audio backend (which uses ALSA)
|
"-Dsdl=enabled") ;for SDL audio backend (which uses ALSA)
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-tests
|
||||||
|
(lambda _
|
||||||
|
;; io_mkdir must be called with a GError value, not plain
|
||||||
|
;; NULL, or else the assertion in io_mkdir segfaults.
|
||||||
|
(substitute* "tests/helpers/zrythm.h"
|
||||||
|
(("success = io_mkdir \\(tmp_log_dir, NULL\\);" m)
|
||||||
|
(string-append "err = NULL;
|
||||||
|
success = io_mkdir (tmp_log_dir, &err);")))
|
||||||
|
|
||||||
|
;; zrythm: fails because curl wants to access the internet.
|
||||||
|
;; project: unknown failure XXX
|
||||||
|
;; The other tests fail with this error:
|
||||||
|
;; error: attempt to map invalid URI `'
|
||||||
|
;; This means that lilv is given an empty LV2 plugin URI.
|
||||||
|
;; This is probably because we don't provide all LV2
|
||||||
|
;; plugins that are needed for running the tests.
|
||||||
|
(substitute* "tests/meson.build"
|
||||||
|
(("foreach name, info : tests")
|
||||||
|
"\
|
||||||
|
disabled_tests = {
|
||||||
|
'zrythm': 0,
|
||||||
|
'project': 0,
|
||||||
|
'audio/midi_track': 0,
|
||||||
|
'integration/recording': 0,
|
||||||
|
'actions/mixer_selections_action': 0,
|
||||||
|
'actions/tracklist_selections': 0
|
||||||
|
}
|
||||||
|
enabled_tests = {}
|
||||||
|
foreach name, info : tests
|
||||||
|
if name not in disabled_tests
|
||||||
|
enabled_tests += {name: info}
|
||||||
|
endif
|
||||||
|
endforeach
|
||||||
|
foreach name, info : enabled_tests"))))
|
||||||
(add-before 'build 'disable-guile-auto-compilation
|
(add-before 'build 'disable-guile-auto-compilation
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "GUILE_AUTO_COMPILE" "0")))
|
(setenv "GUILE_AUTO_COMPILE" "0")))
|
||||||
|
@ -6533,12 +6566,11 @@ (define-public zrythm
|
||||||
flex
|
flex
|
||||||
font-dseg
|
font-dseg
|
||||||
gettext-minimal
|
gettext-minimal
|
||||||
glib-next
|
glib
|
||||||
glibc
|
|
||||||
graphviz
|
graphviz
|
||||||
gtk
|
gtk
|
||||||
gtksourceview
|
gtksourceview
|
||||||
guile-2.2
|
guile-3.0
|
||||||
jack-2
|
jack-2
|
||||||
json-glib
|
json-glib
|
||||||
libadwaita
|
libadwaita
|
||||||
|
@ -6571,7 +6603,7 @@ (define-public zrythm
|
||||||
;; XDG_DATA_DIRS.
|
;; XDG_DATA_DIRS.
|
||||||
(list breeze-icons ;native because not executable
|
(list breeze-icons ;native because not executable
|
||||||
help2man
|
help2man
|
||||||
`(,glib-next "bin") ;for 'glib-compile-resources'
|
`(,glib "bin") ;for 'glib-compile-resources'
|
||||||
pkg-config
|
pkg-config
|
||||||
python-sphinx
|
python-sphinx
|
||||||
python-sphinx-intl
|
python-sphinx-intl
|
||||||
|
|
Loading…
Reference in a new issue