aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2024-10-20 00:57:57 +0200
committerLudovic Courtès <ludo@gnu.org>2024-10-23 13:02:10 +0200
commit14c69d1c437c3d11ffe91e306619a0193a6d7ee8 (patch)
tree031abf5591c0103cf9fd08b435b6ba312c72f213
parentf880ab66ee97ee104372f954609cc88bd91f6e9d (diff)
downloadguix-14c69d1c437c3d11ffe91e306619a0193a6d7ee8.tar.gz
guix-14c69d1c437c3d11ffe91e306619a0193a6d7ee8.zip
gnu: faust-2: Update to 2.75.7.
* gnu/packages/audio.scm (faust-2): Update to 2.75.7, update comments and switch to gexps. [arguments]<#:configure-flags>: Use it here... <#:phases>: ...and here in phase 'configure. [native-inputs]: Remove emacs-minimal and xxd. Update llvm to llvm-18. Improve style. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/audio.scm51
1 files changed, 26 insertions, 25 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index c402f43242..1ab0cbdd05 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2268,7 +2268,7 @@ also play midifiles using a Soundfont.")
(define-public faust-2
(package
(inherit faust)
- (version "2.41.1")
+ (version "2.75.7")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/grame-cncm/faust/"
@@ -2276,33 +2276,34 @@ also play midifiles using a Soundfont.")
"/faust-" version ".tar.gz"))
(sha256
(base32
- "0gk8ifxrbykq7ay0nvjns8fjryhp0wfhv5npgrl8xpgw9wfmw53j"))))
+ "11ww02zmj3vnva1w52hs9wkxvhwwf53agklyzm2c7gysw0jfvkw9"))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:phases
- (modify-phases %standard-phases
- ;; The upstream package uses make to run cmake during the build stage.
- ;; Here we ignore the Makefile and call cmake directly.
- (replace 'configure
- (lambda _
- (chdir "build")
- (invoke "cmake" "-C" "backends/all.cmake"
- (string-append "-DCMAKE_INSTALL_PREFIX="
- (assoc-ref %outputs "out")))))
- ;; The sound2faust tool would be built in the Makefile's "world" target
- (add-after 'install 'sound2faust
- (lambda _
- (chdir "../tools/sound2faust")
- (setenv "PREFIX" (assoc-ref %outputs "out"))
- (invoke "make")
- (invoke "make" "install"))))))
+ (list
+ ;; There are tests, but they are unit/regression tests scattered in 17
+ ;; different test directories, and little information indicating whether
+ ;; they are worth running for Guix. Ignore tests for now.
+ #:tests? #f
+ #:configure-flags
+ #~(list "-C" "backends/all.cmake"
+ (string-append "-DCMAKE_INSTALL_PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; The upstream package uses make to run cmake during the build stage.
+ ;; Here we ignore the Makefile and call cmake directly.
+ (replace 'configure
+ (lambda* (#:key configure-flags #:allow-other-keys)
+ (chdir "build")
+ (apply invoke "cmake" configure-flags)))
+ ;; The sound2faust tool would be built in the Makefile's "world" target
+ (add-after 'install 'sound2faust
+ (lambda _
+ (chdir "../tools/sound2faust")
+ (setenv "PREFIX" #$output)
+ (invoke "make")
+ (invoke "make" "install"))))))
(native-inputs
- `(("llvm" ,llvm)
- ("which" ,which)
- ("xxd" ,xxd)
- ("ctags" ,emacs-minimal) ; for ctags
- ("pkg-config" ,pkg-config)))
+ (list llvm-18 pkg-config which))
(inputs
(list libsndfile libmicrohttpd ncurses openssl zlib))))
nimal. Change-Id: Icebb1b82b86af04eeca192d341faed7fcb155f5e Maxim Cournoyer 2024-08-31gnu: redshift: Add bash-minimal to inputs....* gnu/packages/xdisorg.scm (redshift) [inputs]: Add bash-minimal. Change-Id: I5546e2ec0cdd2d5271bb60ba176db654ae61d143 Maxim Cournoyer 2024-08-31gnu: arandr: Add bash-minimal to inputs....* gnu/packages/xdisorg.scm (arandr) [inputs]: Add bash-minimal. Change-Id: I278cd26d2c03cb98e3119c21d9c00a7e47bdfa35 Maxim Cournoyer 2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod......Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee Maxim Cournoyer 2024-08-31gnu: libxkbcommon: Faux propagate libxml2....xkbregistry.pc lists libxml2 as a requirement. Use a symlink for the libxml-2.0.pc to avoid setting libxml2 as a propagated-input. * gnu/packages/xdisorg.scm (libxkbcommon)[arguments]<#:phases>: Add symlink-pc. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal 2024-08-31gnu: libxkbcommon: Add doc output....* gnu/packages/xdisorg.scm (libxkbcommon)[arguments]: Restyle. <#:phases>: Add 'move-doc. [outputs]: Add doc. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I28ed23167f24e2cc3e29c0de3507fe76cf0fb5d2 Bruno Victal 2024-08-28gnu: libwacom: Update to 2.12.2....* gnu/packages/xdisorg.scm (libwacom): Update to 2.12.2. [source]: Switch to GIT-FETCH. Change-Id: I7fd0c01e02185fdf731749ed1c5a3c84d98c428c Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Dariqq 2024-08-27gnu: Add cliphist....* gnu/packages/xdisorg.scm (cliphist): New variable. Change-Id: Ic165a6b92d7c30ee8d8ad9aa0f92cfdc198d94a5 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> spencerpeters 2024-08-18Replace some more occurrences of ‘setuid-programs’....* gnu/packages/containers.scm (podman, buildah)[arguments]: Substitute /run/privileged/bin for /run/setuid-programs. * gnu/packages/mail.scm (opensmtpd)[arguments]: Likewise. * gnu/packages/spice.scm (spice-gtk)[arguments]: Likewise. * gnu/packages/patches/enlightenment-fix-setuid-path.patch: Likewise. * gnu/packages/xdisorg.scm (xsecurelock)[description]: Rewrite example code to use the ‘privileged-program(s)’ terminology. * doc/guix-cookbook.texi (Network bridge for QEMU): Likewise. * gnu/packages/disk.scm (udevil)[arguments]: Update a comment. Change-Id: I7f467e8743a3ef556cd89bac41509bf51d9edb30 Tobias Geerinckx-Rice 2024-08-19gnu: Add fyi....* gnu/packages/xdisorg.scm (fyi): New variable. Change-Id: I8bbc45324495cc0248bedd793b1a951aa0126706 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Ashish SHUKLA 2024-08-11gnu: Replace (almost) all uses of /run/setuid-programs....…those good for master, anyway. * gnu/packages/admin.scm (ktsuss, opendoas, hosts) [arguments]: Replace /run/setuid-programs with /run/privileged/bin. * gnu/packages/containers.scm (slirp4netns)[arguments]: Likewise. * gnu/packages/debian.scm (pbuilder)[arguments]: Likewise. * gnu/packages/disk.scm (udevil)[arguments]: Likewise. * gnu/packages/enlightenment.scm (efl, enlightenment) [arguments]: Likewise. * gnu/packages/gnome.scm (gdm, gnome-control-center) [arguments]: Likewise. * gnu/packages/linux.scm (singularity)[arguments]: Likewise. * gnu/packages/lxde.scm (spacefm)[arguments]: Likewise. * gnu/packages/monitoring.scm (zabbix-agentd)[arguments]: Likewise. * gnu/packages/virtualization.scm (ganeti)[arguments]: Likewise. * gnu/packages/xdisorg.scm (xsecurelock)[arguments]: Likewise. * gnu/services/dbus.scm (dbus-configuration-directory): Likewise. * gnu/services/ganeti.scm (%default-ganeti-environment-variables): Likewise. * gnu/services/monitoring.scm (zabbix-agent-shepherd-service): Likewise. * gnu/tests/ldap.scm (marionette): Likewise. * gnu/tests/monitoring.scm (os): Likewise. Tobias Geerinckx-Rice