Commit graph

135519 commits

Author SHA1 Message Date
Maxim Cournoyer
71e99742ab
gnu: mupen64plus-video-rice: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-video-rice): Update to 2.5.9.

Change-Id: Ie2d26d6c62a09c0077e4c28869bf33b2c275d01f
2024-05-05 14:03:16 -04:00
Maxim Cournoyer
925b95ff23
gnu: mupen64plus-video-glide64mk2: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-video-glide64mk2): Update to 2.5.9.

Change-Id: I77afdd1c954411203e75248d0d4bf4709db375bb
2024-05-05 14:03:16 -04:00
Maxim Cournoyer
52bfa64956
gnu: mupen64plus-video-arachnoid: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-video-arachnoid): Update to 2.5.9.

Change-Id: I2751cca9a553029fbceba59762e498931a1f9946
2024-05-05 14:03:16 -04:00
Maxim Cournoyer
9cab740594
gnu: mupen64plus-rsp-z64: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-rsp-z64): Update to 2.5.9.

Change-Id: Ibf9b67d37506f742c50397ff269586df1636af4d
2024-05-05 14:03:15 -04:00
Maxim Cournoyer
9f11f67043
gnu: mupen64plus-rsp-hle: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-rsp-hle): Update to 2.5.9.

Change-Id: I68c1f92fd2be820ba437696d61d064a97ed4581e
2024-05-05 14:03:15 -04:00
Maxim Cournoyer
506425d6bd
gnu: mupen64plus-input-sdl: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-input-sdl): Update to 2.5.9.

Change-Id: Idec4c3633767d151101beeba3ef2317e54d3f6f4
2024-05-05 14:03:15 -04:00
Maxim Cournoyer
2b25208c81
gnu: mupen64plus-audio-sdl: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-audio-sdl): Update to 2.5.9.

Change-Id: If888cf62ee2247438d47cd385d7812ad22fb8068
2024-05-05 14:03:15 -04:00
Maxim Cournoyer
4e6701a09a
gnu: mupen64plus-core: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-core): Update to 2.5.9.
[native-inputs]: Add nasm.

Change-Id: I9960b697124c130e75f765d55e1ce8a56dda168b
2024-05-05 14:03:15 -04:00
Maxim Cournoyer
e89763682e
gnu: mupen64plus-video-glide64: Update to 2.5.9.
* gnu/packages/emulators.scm (mupen64plus-video-glide64): Update to 2.5.9.
[phases]: Delete use-sdl2 phase.

Change-Id: Ic7359fb764f40fa25c553ab15e39f47963d3301b
2024-05-05 14:03:14 -04:00
Ludovic Courtès
da9f509b03
services: guix: Use Shepherd 0.10 API for actions.
The ‘action’ method was deprecated in Shepherd 0.10.0.

* gnu/services/base.scm (shepherd-set-http-proxy-action)
(shepherd-discover-action): Use ‘perform-service-action’ instead of the
now-deprecated ‘action’ method.

Change-Id: Ibe1c79a44148596292c2c8907011ec787f8a9ddd
2024-05-05 12:06:23 +02:00
Ludovic Courtès
49232eff56
packages: ‘sanitize-inputs’ does not add labels when unnecessary.
Fixes a bug introduced in 402d0a9b9d
whereby labels would be added in cases like:

  (inputs (list `("label" ,whatever)))

This idiom is found for example in the ‘nmon’ package.

* guix/packages.scm (add-input-labels): Call ‘maybe-add-input-labels’
instead of (map add-input-label …).

Change-Id: I3e86d4607f19482a4e461ef8e7a20cde2a41ead7
2024-05-05 12:06:23 +02:00
Ian Eure
ef8ab6ab66
gnu: guix-configuration: Improve offload build-machines.
It’s currently difficult to programmatically add a build-machine, because the
`service-extension' mechanism is the only facility which can do that.  It
relies on the `guix-service-type', ala:

    (service-extension guix-service-type
      (guix-extension (build-machines (list ...))))

...but `guix-service-type' is already instantiated as part of
`%base-services', and replacing it may lose other configuration, like
substitute servers and authorized keys.

Additionally, a default value of `#f' for the build-machines field requires
guarding uses of the field with:

    (or (guix-build-machines config) '())

Changing the default to be the empty list avoids that.  One can now add
build-machines with code such as:

    (modify-services %base-services
      (guix-service-type
       config =>
       (guix-configuration
        (inherit config)
        (authorized-keys
         (cons %build-machine-key
               (guix-configuration-authorized-keys config)))
        (build-machines (cons #~(build-machine ...)
                              (guix-configuration-build-machines config))))))

* gnu/services/base.scm (guix-configuration): Rename `guix-build-machines' to
`guix-configuration-build-machines' and export it.  Change the default from
`#f' to the empty list.
* gnu/services/base.scm (guix-activation): Update the build-machines test and
reverse the conditions.

Change-Id: I6780c6a5579fd9d4b4f22ee2b2bf7ba7a0454407
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:27 +02:00
Steve George
dde37247fa
gnu: gnucash: Update to 5.6.
* gnu/packages/gnucash.scm (gnucash): Update to 5.6.

Change-Id: I3646082d628470327fbd9deec6111de8c1eec921
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:27 +02:00
Steve George
aa9e639216
gnu: perl-finance-quote: Update perl-finance-quote.
* gnu/packages/web.scm (perl-finance-quote): Update to 1.59.
[source] remove patch
* gnu/packages/patches/perl-finance-quote-unuse-mozilla-ca.patch: Remove file.

Change-Id: I3646082d628470327fbd9deec6111de8c1eec921

Change-Id: Ibe50f9736bcbe4e628c05f86c0e0be8bd335d4c8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:26 +02:00
Steve George
ec9c5a8ff5
gnu: Add perl-spreadsheet-xlsx.
* gnu/packages/perl.scm (perl-spreadsheet-xlsx): New variable.

Change-Id: Iec4fc26945bd2f154587d4b13b593fd947bb0e5a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:26 +02:00
Steve George
92641467b4
gnu: Add perl-spreadsheet-parseexcel.
* gnu/packages/perl.scm (perl-spreadsheet-parseexcel): New variable.

Change-Id: I0dfbf49f4b8b1865a738edc805d3dc83b038a124
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:26 +02:00
Steve George
6a23664cd8
gnu: Add perl-digest-perl-md5.
* gnu/packages/perl.scm (perl-digest-perl-md5): New variable.

Change-Id: Ic656fef7bbc77790d114812f0c9dcafa1586e357
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:26 +02:00
Steve George
e175175a11
gnu: Add perl-html-tokeparser-simple.
* gnu/packages/web.scm (perl-html-tokeparser-simple): New variable.

Change-Id: If779dbe29de05697d87143b38d986d5ff7fa2c8f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:26 +02:00
Steve George
7d6da9412e
gnu: Add perl-sub-override.
* gnu/packages/crates-io.scm (perl-sub-override): New variable.

Change-Id: I5a366862bb5bfd777094e2d58239d50aad95577c

-- >8 --
Originally part of https://issues.guix.gnu.org/44447

Change-Id: Ib4542ceedcff114e1184fc8bafac0f76985b78be
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:26 +02:00
Steve George
57bb1998a0
gnu: Add perl-string-util.
* gnu/packages/perl.scm (perl-string-util): New variable.

Change-Id: Iaef13963efb3d795bcc0c16bcdd72c112894f886
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:26 +02:00
Steve George
421372c4cd
gnu: Add perl-web-scraper.
* gnu/packages/web.scm (perl-web-scraper): New variable.

Change-Id: I3d0a476ca6c09bc20391303f99b260410f16de65
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:26 +02:00
Steve George
f2d83b3352
gnu: Add perl-html-treebuilder-xpath.
* gnu/packages/web.scm (perl-html-treebuilder-xpath): New variable.

Change-Id: I4069eae36a8c49a507e89c18fed90e0e53fdde4d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:25 +02:00
Steve George
9ee2e87dfe
gnu: Add perl-html-selector-xpath.
* gnu/packages/web.scm (perl-html-selector-xpath): New variable.

Change-Id: Ib4ccaf4e7f5fdbb90118d6ba16a478be26bbed84
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:25 +02:00
Steve George
3ca4d48322
gnu: aqbanking: Update to 6.5.4.
* gnu/packages/gnucash (aqbanking): Update to 6.5.4.

Change-Id: I8d10562e1fc8517bee946792ad1ac901a26137d5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:25 +02:00
Steve George
96a0a7431f
gnu: gwenhywfar: Update to 5.10.2.
* gnu/packages/gnucash.scm (gwenhywfar): Update to 5.10.2.
[inputs]: add libxml2.
[arguments]: <configure-flags>: Remove flag that's not recognised
--with-openssl-includes; add --with-libxml2-code, --enable-system-certs
and --disable-binreloc

Change-Id: I4085779e3ed7ecb621dd3d0b5427e92962466033
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:25 +02:00
Ahmad Draidi
7d9ad8f3a6
services: cuirass: Remove use-substitutes? configuration option.
As of Cuirass commit 9a1452ee021c9f773424961cfeef47ca0b7c5c5a, this option
seems to be unused and kept for back compatibility there.

* gnu/services/cuirass.scm (<cuirass-configuration>): Remove use-substitutes?
field.
(cuirass-shepherd-service): Remove the option.
* doc/guix.texi (Continuous Integration): Remove option documentation.

Change-Id: I933550ce76eecdf918b07891aa8212fd30a7c87e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:25 +02:00
Ahmad Draidi
70f277d0e4
services: cuirass: Add new configuration options.
* gnu/services/cuirass.scm (<cuirass-configuration>): Add ttl and threads
fields.
(cuirass-shepherd-service): Handle the new options.
* doc/guix.texi (Continuous Integration): Document them.

Change-Id: I4387fbd7bf6766f4a54801f35c7ed82ce4eb9645
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:25 +02:00
Ahmad Draidi
2cd6831161
services: cuirass: Use separate extra options for cuirass web process.
Currently, "extra-options" is passed to both "cuirass register" and "cuirass
web" processes. This makes it impractical since the extra parameters have to
be intended for and supported by both processes.

* gnu/services/cuirass.scm (<cuirass-configuration>): Add a web-extra-options
field.
(cuirass-shepherd-service): Replace extra-options with web-extra-options for
cuirass web.
* doc/guix.texi (Continuous Integration): Document the changes.

Change-Id: Iba79c559ea8267aaf8f25248f3d18ed7b352cb60
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-04 19:14:25 +02:00
Ludovic Courtès
402d0a9b9d
packages: Reduce code bloat due to list allocation in input fields.
* guix/packages.scm (add-input-labels): New procedure.
(sanitize-inputs): Add case for (list …).

Change-Id: Ice8241508ded51efd38867b97ca19c262b8c4363
2024-05-04 19:14:25 +02:00
Ludovic Courtès
76127069e0
packages: ‘define-public’ replacement calls ‘module-export!’ directly.
This reduces code bloat and loading overhead for package modules, which
use ‘define-public’ extensively.

* guix/packages.scm (define-public*): Use ‘define’ followed by
‘module-export!’ directly instead of ‘define-public’.

Change-Id: I7f56d46b391c1e3eeeb0b9a08a9d34b5de341245
2024-05-04 19:14:24 +02:00
Ludovic Courtès
c14b8636fb
records: Do not inline the constructor.
Struct initialization uses one instruction per field, which contributes
to code bloat in the case of package modules.  With this change, the
‘.rtl-text’ section of ‘gnu/packages/tex.go’ goes from 7,334,508 B to
6,356,592 B (-13%; -7% on the whole file size), which alone is still
larger than the source file (4,2 MB).

* guix/records.scm (make-syntactic-constructor)[record-inheritance]: Use
CTOR instead of ‘make-struct/no-tail’.
Pass ABI-COOKIE as the first argument to CTOR.
(define-record-type*): Define CTOR-PROCEDURE and pass it to
‘make-syntactic-constructor’.

Change-Id: Ifd7b4e884e9fbf21c43fb4c3ad963126ef5cb476
2024-05-04 19:14:24 +02:00
Ludovic Courtès
b011ef4378
packages: Reduce bloat induced by ‘sanitize-inputs’.
At -O1, peval does the bulk of the optimization work and it cannot
reduce things like (null? (list 1 2)), unlike what happens in CPS at
-O2.  Thus, reduce the part of ‘sanitize-inputs’ that’s inlined.

* guix/packages.scm (maybe-add-input-labels): New procedure.
(sanitize-inputs): Turn into a macro; use ‘maybe-add-input-labels’.

Change-Id: Id2283bb5a2f5d714722200bdcfe0b0bfa606923f
2024-05-04 19:14:24 +02:00
Ludovic Courtès
2f93e1682a
records: Do not inline throws for ABI mismatches.
* guix/records.scm (record-abi-mismatch-error): New procedure.
(abi-check): Use it.

Change-Id: I49936599716e117b8fbf26fb9d8f462bbbb8e88b
2024-05-04 19:14:24 +02:00
Danny Milosavljevic
9e184d5e54
gnu: gmime: Update to 3.2.14.
* gnu/packages/mail.scm (gmime): Update to 3.2.14.
[native-inputs]: Replace autoconf by autoconf-2.71.

Change-Id: If72864085d085e55883ea1474b1c05ca1610d21a
2024-05-04 12:27:41 +02:00
Oleg Pykhalov
fc607d3689
gnu: cava: Update to 0.10.1.
* gnu/packages/audio.scm (cava)[version]: Update to 0.10.1.
[native-inputs]: Add pkg-config.
[inputs]: Add alsa-lib and pipewire.

Change-Id: Iffa80b22199a032111ca06e8ed583139f35f2fab
2024-05-04 10:45:33 +03:00
Wilko Meyer
9bf19720b9
gnu: linux-libre 6.1: Update to 6.1.89.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.89.
  (linux-libre-6.1-pristine-source): Update hashes.

Change-Id: Id48a19cc0d59b11bf17179eb5dd860ed37ac35dc
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-04 00:17:12 -04:00
Nicolas Goaziou
aa9ac25220
gnu: emacs-lsp-metals: Update to 1.2.0-1.01060e9.
* gnu/packages/emacs-xyz.scm (emacs-lsp-metals): Update to 1.2.0-1.01060e9.

Change-Id: I6d396290aa0935a5c1cba91c95313df28c1c6949
2024-05-02 21:06:37 +02:00
Janneke Nieuwenhuizen
5010a51fc9
gnu: dezyne: Update to 2.18.2.
* gnu/packages/dezyne.scm (dezyne)[version,source]: Update to 2.18.2.

Change-Id: I604b4dc405c28a7ee711ae9f00106ab1b0685f9f
2024-05-02 13:15:03 +02:00
Florian Pelz
7477f8e96d
teams: Add myself to the documentation team.
* etc/teams.scm (Florian Pelz): Add to documentation team.

Change-Id: I904097dbaf32ed0ae80caff5ef966bed287a2a05
2024-05-02 10:56:33 +02:00
Nicolas Graves
04d4e772e5
gnu: scilab: Improve package management robustness in scilab-cli.
* gnu/packages/maths.scm (scilab)[source]<origin>: Improve
  package management robustness in scilab-cli by allowing
  tbx_build_help to log the scilab mode incompatibility error and not
  process the rest of the function instead of failing with it.
* gnu/packages/patches/scilab-tbx_build_help.patch :
  Add patch.
* gnu/local.mk(dist_patch_DATA): Add
  gnu/packages/patches/scilab-tbx_build_help.patch.

Change-Id: I8ee94afb4aba906cbc8c7ca67f4c89aa0cf55ae6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-01 23:45:34 +02:00
Nicolas Graves
4dec5a30fe
gnu: scilab: Fixup and improve compilerDetection.sh script.
* gnu/packages/maths.scm (scilab)
  [arguments]<#:phases>: Fix compilerDetection.sh script in phase
  bootstrap-dynamic_link-scripts.
  [source]<origin>(patches): Add scilab-better-compiler-detection.patch.
* gnu/packages/patches/scilab-better-compiler-detection.patch: Add
  file.
* gnu/local.mk(dist_path_DATA): Add
  scilab-better-compiler-detection.patch.

Change-Id: I7b1c78c4637fa1bc965eca8c516bf0b6cd4b92d1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-01 23:45:24 +02:00
Nicolas Graves
df1a6c7259
gnu: scilab: Cleanup.
* gnu/packages/maths.scm (scilab):
  [arguments]<#:phases>: In pre-build phase, remove unecessary
  code, due to the former introduction of the rewrap-scilab-cli
  phase. More robust version setting in the set-version phase. It
  anticipates for the next release which will not use "main" anymore.
  [source]<origin>(snippet) Sort dynamic_link deleted files.
  [inputs]: Add bash-minimal.

Change-Id: I49b17886405e1ed8161e71b51655fa393ff7f10b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-01 23:44:15 +02:00
Ludovic Courtès
aae603980b
teams: Add myself to the documentation team.
* etc/teams.scm (Ludovic Courtès): Add to documentation team.

Change-Id: Icf71ad8e2ebbe2b65ab3b6c0cf8cd8fe60cf2d0a
2024-05-01 22:31:28 +02:00
Ludovic Courtès
54f6732e5d
teams: Add documentation team.
* etc/teams.scm (documentation): New team.

Change-Id: I34d4ed9029f369ebf0d1f510cc0810baca2ced89
2024-05-01 22:31:13 +02:00
Artyom V. Poptsov
a47fe0fdc4
gnu: xdot: Update to 1.3.
* gnu/packages/graphviz.scm (xdot): Update to 1.3.
  [source]: Download the sources from GitHub as the PyPI tarbal is missing
  some test files.
  [arguments]: Use Gexps.  Add "start-xserver" and "set-test-environment"
  to setup test environment properly.  Simplify "wrap" phase.  Replace "check"
  phase to run "test.py".
  [native-inputs]: Add "gobject-introspection" and "xorg-server-for-tests".
  [inputs]: Add "bash-minimal", "mesa", "mesa-opencl", "python-numpy"
  and "vulkan-loader".

Change-Id: I7a68e9f5c1b66a6539b83623a457e16edacff012
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-01 22:24:49 +02:00
John Kehayias
2aeb9faa42
gnu: spirv-llvm-translator: Update to 18.1.0.
This fixes a build failure (after mesa-updates merge, perhaps from the
spirv-headers update).  The package version corresponds to the LLVM version
targeted, so inputs needed to be updated.

* gnu/packages/vulkan.scm (spirv-llvm-translator): Update to 18.1.0.
[inputs]: Replace llvm-15 with llvm-18.
[native-inputs]: Ditto. Replace clang-15 with clang-18.

Change-Id: I8ad51dd019e508a14b479a7481de62cdae446425
2024-05-01 15:29:53 -04:00
Ludovic Courtès
5c13ab50b9
news: Add entry for ‘guix git authenticate’ changes.
* etc/news.scm: Add entry.

Change-Id: I661a0c0bfc373b87a70508ad9a735315c96ba4a5

Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Change-Id: Ibafef9d432df163948c4884279d4ce2579ed0312
2024-05-01 17:48:24 +02:00
Ludovic Courtès
8d1d98a3aa
git authenticate: Install pre-push and post-checkout hooks.
* guix/scripts/git/authenticate.scm (install-hooks): New procedure.
(guix-git-authenticate): Use it.
* doc/guix.texi (Invoking guix git authenticate): Document it.

Change-Id: I4464a33193186e85b476a12740e54412bd58429c
2024-05-01 17:26:19 +02:00
Ludovic Courtès
1a5041a502
git authenticate: Print something upon success.
Until now the command would be silent and exit with 0.

* guix/scripts/git/authenticate.scm (guix-git-authenticate): Print
something upon success.

Change-Id: I08d086c35df6ac74ee847df0479660293c68987d
2024-05-01 17:26:19 +02:00
Ludovic Courtès
88573dd928
git authenticate: Discover the repository.
This allows one to run ‘guix git authenticate’ from a sub-directory of
the checkout.

* guix/scripts/git/authenticate.scm (%default-options): Remove
‘directory’ key.
(guix-git-authenticate): Use ‘repository-discover’ when ‘directory’
option is missing.

Change-Id: Ifada00d559254971ed7eeb8c0a8d4ae74ff3defc
2024-05-01 17:26:18 +02:00