Commit graph

135402 commits

Author SHA1 Message Date
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
Ludovic Courtès
7b4bf4ee88
git authenticate: Record introduction and keyring in ‘.git/config’.
* guix/scripts/git/authenticate.scm (%default-options): Remove
‘keyring-reference’.
(config-value, configured-introduction, configured-keyring-reference)
(configured?, record-configuration, current-branch): New procedures.
(guix-git-authenticate)[missing-arguments]: New procedure.
Use ‘configured-introduction’ when zero arguments are given.
Use ‘configured-keyring-reference’ when ‘-k’ is not passed.  Add call to
‘record-configuration’.
* doc/guix.texi (Invoking guix git authenticate): Document it.

Change-Id: I66e111a83f50407b52da71662629947f83a78bbc
2024-05-01 17:26:18 +02:00
Ludovic Courtès
10aa88ea01
gnu: guile-git: Update to 0.7.0.
* gnu/packages/guile.scm (guile-git): Update to 0.7.0.

Change-Id: I7a0a9d50a0f8a788963b05029a37ac9450ffa185
2024-05-01 17:26:18 +02:00
Ludovic Courtès
5d2d081af0
svn-download: Add dependency on tar+gzip for SWH retrieval.
Fixes a bug whereby ‘swh-download-directory-by-nar-hash’ would fail due
to ‘tar’ not being found in $PATH:

  $ GUIX_DOWNLOAD_METHODS=swh guix build -S texlive-geometry --check
  In execvp of tar: No such file or directory
  SWH: found directory with nar-sha256 hash 217e1c8d33aa6fd063f205453a946509b059b85fa7e8d32b7e80054d5e6e5c26 at 'swh:1:dir:ccb56476fb36b2ba0298e57f2b2e69c735ac0a2f'
  […]

* guix/svn-download.scm (svn-fetch)[tar+gzip]: New variable.
[build]: Use it.
(svn-multi-fetch): Likewise.

Change-Id: I37ba9824a5feb6d38f85743519cbd2b2c3e1a9e8
2024-05-01 17:26:18 +02:00
Nicolas Goaziou
e2ba58a67f
gnu: Add emacs-ob-asymptote.
* gnu/packages/emacs-xyz.scm (emacs-ob-asymptote): New variable.

Change-Id: I022557ed6eb6473e26842a5e72d9abdd1d516d35
2024-05-01 15:37:45 +02:00
Nicolas Goaziou
4115590ed1
gnu: emacs-dockerfile-mode: Update to 1.9.
* gnu/packages/emacs-xyz.scm (emacs-dockerfile-mode): Update to 1.9.

Change-Id: Ie3fd4d3701d720ece886b3e873b9637aeb468fea
2024-05-01 14:00:21 +02:00
Nicolas Goaziou
1b4c846d83
gnu: emacs-polymode-ansible: Update to 0.4.0.
* gnu/packages/emacs-xyz.scm (emacs-polymode-ansible): Update to 0.4.0.
[propagated-inputs]: Add EMACS-ANSIBLE.

Change-Id: I1d15b309332f1bb82a0d515195eb2d1e8bd8cc34
2024-05-01 13:58:43 +02:00
Nicolas Goaziou
97f2f03c62
gnu: Add emacs-ansible.
* gnu/packages/emacs-xyz.scm (emacs-ansible): New variable.

Change-Id: Id8fc420fff4817faea14fcf8c115c13a64e49d32
2024-05-01 13:58:43 +02:00
Nicolas Goaziou
7f766c9ba4
gnu: emacs-org-fc: Update to 0.6.1.
* gnu/packages/emacs-xyz.scm (emacs-org-fc): Update to 0.6.1.

Change-Id: Ib64456aa31d51bd3dea738ce895e4b8d5b56cbb0
2024-05-01 12:34:09 +02:00
Nicolas Goaziou
b6b97fafe8
gnu: emacs-org-contrib: Update to 0.5.
* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Update to 0.5.

Change-Id: Ib5f3f6ca30c3a5a72ce855db416c68b8d3e00aad
2024-05-01 12:29:29 +02:00
Nicolas Goaziou
6cb1f6b601
gnu: emacs-posframe: Update to 1.4.3.
* gnu/packages/emacs-xyz.scm (emacs-posframe): Update to 1.4.3.

Change-Id: I806412d1e4115f22443d1d018fde9dfefd315417
2024-05-01 12:26:32 +02:00
Nicolas Goaziou
c06e18c199
gnu: emacs-vundo: Update to 2.3.0.
* gnu/packages/emacs-xyz.scm (emacs-vundo): Update to 2.3.0.

Change-Id: I7a6847fa8d76d55ea4124a31c7f95d035304ff15
2024-05-01 12:21:49 +02:00
Nicolas Goaziou
5267dbee62
gnu: emacs-ement: Update to 0.15.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.15.

Change-Id: Ie746965ddd693b232f7dce9c1562b84ac169f840
2024-05-01 12:17:12 +02:00
Nicolas Goaziou
7d4ae2fca7
gnu: emacs-org-modern: Update to 1.2.
* gnu/packages/emacs-xyz.scm (emacs-org-modern): Update to 1.2.
[synopsis]: Fix capitalization.
[description]: Fix ambiguity between package and project name.

Change-Id: I453db305d3bb529ca14414d3542dc8374c880403
2024-05-01 10:22:21 +02:00
Oleg Pykhalov
6e9529eef9
gnu: firefox-decrypt: Update to 1.1.1.
* gnu/packages/gnuzilla.scm (firefox-decrypt)[version]: Update to 1.1.1.
[arguments]<#:builder>: Update patch shebang substitute.

Change-Id: Iceabe4883b103e2cde9eac808316986db97b760c
2024-05-01 10:39:25 +03:00
Oleg Pykhalov
b32d129ad9
gnu: bats: Update to 1.11.0.
* gnu/packages/bash.scm (bats)[version]: Update to 1.11.0.
[arguments]<#:builder>: Filter out symlinks in patch-shebang.

Change-Id: I74405b99f91172c10b8c81caa0f3f46e1df4d74e
2024-05-01 10:05:42 +03:00
Oleg Pykhalov
7d7fca1942
gnu: jc: Update to 1.25.2.
* gnu/packages/admin.scm (jc): Update to 1.25.2.

Change-Id: I076bf285a6fd23ef65f6c094b355c5891c8b76e7
2024-05-01 09:24:57 +03:00
Oleg Pykhalov
757bbaaf14
gnu: gource: Update to 0.54.
* gnu/packages/version-control.scm (gource)[version]: Update to 0.54.
[arguments]<#:disallowed-references>: Add tzdata-for-tests.
<#:phases>: Unbundle tinyxml. Set TZDIR environment variable.
<#:configure-flags>: Add --with-tinyxml argument.
[native-inputs]: Add tzdata-for-tests.
[inputs]: Replace pcre with pcre2. Add tinyxml.

Change-Id: I67c2a1ee74582ed3e0a4ec5e6d229c948f9d5265
2024-05-01 09:11:05 +03:00