Commit graph

148473 commits

Author SHA1 Message Date
Lars-Dominik Braun
fdc0fefd46
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.

* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.

Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Ricardo Wurmus
ca945f7c35
gnu: python-sphinx: Update to 5.3.0.
* gnu/packages/sphinx.scm (python-sphinx): Update to 5.3.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom check phase; add pre-check phase.
[propagated-inputs]: Add python-colorama, python-filelock, python-flake8,
python-html5lib, python-isort, python-mypy, python-sphinxcontrib-websupport,
and python-types-requests.
[native-inputs]: Remove python-html5lib; add python-flit-core.

Change-Id: I843d70361cdf707ca67616075f4c71f1e59a72f3
2024-12-13 20:15:41 +00:00
Ricardo Wurmus
1190d8b148
gnu: python-sphinx-alabaster-theme: Update to 0.7.13.
* gnu/packages/sphinx.scm (python-sphinx-alabaster-theme): Update to 0.7.13.
[build-system]: Use pyproject-build-system.
2024-12-13 20:15:41 +00:00
Ricardo Wurmus
49982bb455
gnu: python-imagesize: Update to 1.4.1.
* gnu/packages/python-xyz.scm (python-imagesize): Update to 1.4.1.
[build-system]: Use pyproject-build-system.
2024-12-13 20:15:41 +00:00
Ricardo Wurmus
1269e01d3e
gnu: python-pygments: Update to 2.15.1.
* gnu/packages/python-xyz.scm (python-pygments): Update to 2.15.1.
[build-system]: Use pyproject-build-system.
[arguments]: Run tests.
[native-inputs]: Add python-pytest.
2024-12-13 20:15:39 +00:00
Tomas Volf
0787a180b3
gnu: ngtcp2: Update to 1.9.1 [security fixes].
Fixes CVE-2024-52811.

* gnu/packages/networking.scm (ngtcp2): Update to 1.9.1.

Change-Id: Ifeb686e7cb66d8358d69277ac98472e1b0880860
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 18:20:07 +08:00
Tomas Volf
4c56e234dd
gnu: cni-plugins: Update to 1.6.1.
* gnu/packages/containers.scm (cni-plugins): Update to 1.6.1.

Change-Id: I7c956732b118ab9654fbc3dce409498ea5ce08bb
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 18:19:59 +08:00
Tomas Volf
1b2e0fb85e
gnu: crun: Update to 1.19.
* gnu/packages/containers.scm (crun): Update to 1.19.

Change-Id: Iadebc4419293075c78a377e27fe5c6cdfc6c373c
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 18:19:42 +08:00
Ashish SHUKLA
b8329e0721
gnu: zfs: Update to 2.2.7.
* gnu/packages/file-systems.scm (zfs): Update to 2.2.7.

Change-Id: I91e1cf9651937b231de46431c9865cbcea29c89b
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 11:55:01 +08:00
Igor Goryachev
49486911df
gnu: erlang: Update to 27.2.
* gnu/packages/erlang.scm (erlang): Update to 27.2.

Change-Id: Ib7ed842d8112838c3b7dd2eb5d010822c2faf598
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 11:54:58 +08:00
Ludovic Courtès
98aca7a2b6
etc: upgrade: Attempt to upgrade the latest libgit2, not the default one.
* etc/manifests/upgrade.scm (security-packages): Use
‘specification->package’ for libgit2.

Change-Id: I6901ff6d40c645b292aab4779acf1c0547fdc024
2024-12-12 23:30:52 +01:00
Ludovic Courtès
5e2daf4b10
maint: Add ungrafting manifest.
* etc/manifests/ungraft.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.

Change-Id: If4aa7649721b93d3297ecd967d5db4a6b71ec6eb
2024-12-12 23:23:34 +01:00
Ludovic Courtès
46a8922105
guix build: Last argument of ‘dependents’ is optional.
* guix/scripts/build.scm (dependents): Make ‘max-depth’ optional.
Improve docstring.

Change-Id: Ibeffcf15297ecba3d4000b3adb4e3bc7853f6957
2024-12-12 23:23:34 +01:00
Ludovic Courtès
3addff87c1
build-system/cargo: Simplify ‘crate-closure’.
* guix/build-system/cargo.scm (crate-closure): Remove ‘first?’.

Change-Id: Ica1a661eb422a882ae3a1a54819b2dd7d68449de
2024-12-12 23:23:34 +01:00
Ludovic Courtès
97e7e47d6f
packages: Optimize ‘all-packages’.
On my laptop, wall-clock time for (all-packages) goes from 27s to 1s.

* gnu/packages.scm (all-packages): Use a hash table to remember visited
packages instead of calling ‘delete-duplicates’ on the final list.

Change-Id: I4aae804656b56ef2095993e91f0572a5891f419f
2024-12-12 23:23:33 +01:00
Ludovic Courtès
12d00767f0
etc: Move manifests to a separate directory.
* etc/disarchive-manifest.scm, etc/hurd-manifest.scm,
etc/kernels-manifest.scm, etc/release-manifest.scm,
etc/source-manifest.scm, etc/system-tests.scm,
etc/time-travel-manifest.scm, etc/upgrade-manifest.scm: Move to…
* etc/manifests: … here, and drop “-manifest” from file name.
* Makefile.am (EXTRA_DIST, assert-binaries-available, check-system):
Adjust accordingly.

Change-Id: Iedee3d0cdd42e72ef8bbf654ea5d3b47dca95874
2024-12-12 23:23:33 +01:00
Tomas Volf
b8a45bd047
build: Fix detection of guile-ssh.
Fixes <https://issues.guix.gnu.org/74800>.

The check for make-session stopped working after update to 0.18.0.  This
commit adds the additional `#:config #f' to skip reading the ssh
configuration, arguably we did not want to do that anyway.

* m4/guix.m4 (GUIX_CHECK_GUILE_SSH): Add `#:config #f' to make-session call.

Change-Id: Id6ea3860292159ac2e6cf2a77df5f720f66aa071
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reported-by: Dariqq <dariqq@posteo.net>
2024-12-12 23:23:33 +01:00
Amélia Coutard-Sander
a9003b8e6b
gnu: gnunet-gtk: Update to 0.23.0.
* gnu/packages/gnunet.scm (gnunet-gtk): Update to 0.23.0.

Change-Id: I2d5f47b5773c72777bc0ad4e4ebeaee63c3005b1
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-12-12 15:47:31 +01:00
Amélia Coutard-Sander
4bceee3ed0
gnu: gnunet: Update to 0.23.0.
* gnu/packages/gnunet.scm (gnunet): Update to 0.23.0.
  [phases]: Adjust disable-problematic-tests phase.

Change-Id: Ibf900d929bcd257932c6997eacbfaeeda1aa7f26
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-12-12 15:43:32 +01:00
Guillaume Le Vaillant
17dacde81a
gnu: cl-simple-matrix: Update to 1.2-0.76b1df4.
* gnu/packages/lisp-xyz.scm (sbcl-simple-matrix): Update to 1.2-0.76b1df4.

Change-Id: Iad0abf2dad881e2c59b7f9e94fa3c3b04b62562d
2024-12-12 15:29:20 +01:00
Hilton Chain
9ef5533123
gnu: hyprlang: Fix cross-compilation.
* gnu/packages/cpp.scm (hyprlang)[arguments]<#:phases>: Set
PKG_CONFIG_EXECUTABLE in CMakeLists.txt.

Change-Id: Ied775ece2de83f6842bf405be76ce7f33fdce5fe
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:08 +01:00
Hilton Chain
d7c1c4bc8e
gnu: hyprutils: Fix cross-compilation.
* gnu/packages/cpp.scm (hyprutils)[arguments]<#:phases>: Set
PKG_CONFIG_EXECUTABLE in CMakeLists.txt.

Change-Id: Ia08cf44230c311f444e4881bdca2b759cda9b112
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:08 +01:00
Gabriel Wicki
1fad7d9d15
doc: cookbook: Document postgres upgrade for cuirass.
* doc/guix-cookbook.texi(System Management): New chapter.
[Upgrade Postgres for Cuirass] New node.

Change-Id: I23aae16b1f50b6c40c56b78712dfd6eae3834761
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:08 +01:00
Tomas Volf
c673b64d9d
remote: Do not double-quote the repl-command.
Fixes <https://issues.guix.gnu.org/74787>.

In 0.18.0, the `open-remote-pipe*' now correctly quotes the arguments, so the
double quoting that was done by `shell-quote' is not harmful and breaks at
least offloading and deploy.

* guix/remote.scm (remote-pipe-for-gexp): Call object->string just once.

Change-Id: Id922d26d318bfdd4714e267687c1b27461196d90
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reported-by: Dariqq <dariqq@posteo.net>
2024-12-12 12:52:08 +01:00
Ludovic Courtès
33bed95107
services: cuirass: Run in a UTF-8 locale.
Fixes <https://issues.guix.gnu.org/73751>.

* gnu/services/cuirass.scm (cuirass-shepherd-service): Add ‘LC_ALL’.

Reported-by: Noé Lopez <noelopez@free.fr>
Change-Id: I9121a213405d287e2f15338c8608153e11c2508d
2024-12-12 12:52:07 +01:00
Ludovic Courtès
8cbbe12eff
lint: Pre-compile regexp for ‘starts-with-texinfo-markup?’.
* guix/lint.scm (%starts-with-texinfo-markup-rx): New variable.
(starts-with-texinfo-markup?): Use it.

Change-Id: I1b7a836ba968631f3f358a88a29e996d431b0001
2024-12-12 12:52:07 +01:00
Gabriel Wicki
287be00630
lint: More abbreviations.
* guix/lint.scm: Allow more common abbreviations in double-space-after
sentence check.
* tests/lint.scm: Add tests.

Change-Id: I0eedf73e5fcd0a8c67b3ae3dfa979a57fe0f6253
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:07 +01:00
Gabriel Wicki
9447629672
lint: Ignore initials from double space check.
Prevent false positives in initials as the are commonly used in names, e.g.
Margaret E. Hamilton - which obviously do not end sentences.  Check whether a
period character `.' is preceded by at least two characters.  This should save
us from false positives when linting.

* guix/lint.scm(check-description-style)[check-end-of-sentence-space] Add
condition.
* tests/lint.scm: Add test case.

Change-Id: I42a1365aaaed2afc7308b88ebd4b0720ad362761
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:07 +01:00
Gabriel Wicki
27b4c319c0
lint: Prevent false positives in description typo check.
* guix/lint.scm(check-description-style)[check-description-typo]: Add spaces
to match strings to prevent matching false positives, like "allows tokens" or
"prevents torpedoes".
* tests/lint.scm: Add test.

Change-Id: Ifc2ec6167a590b9d2e742dd86fecd798c4bfaa24
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:07 +01:00
Gabriel Wicki
687f4e22e6
lint: Allow texinfo markup at beginning of synopsis.
* guix/lint.scm(check-synopsis-style)[check-proper-start]: Add condition.
* tests/lint.scm: Add test case.

Change-Id: I2509b3a4e7e51c6a274697ceb5f776c22e27c5f9
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:07 +01:00
Gabriel Wicki
f28c32089d
lint: Allow texinfo markup at beginning of description.
* guix/lint.scm(starts-with-texinfo-markup?): New function.
(check-description-style)[check-proper-start]: Add condition.
* tests/lint.scm: Add test case.

Change-Id: I674988882265d9e2041d48dba0f9627cd68bf292
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:07 +01:00
Gabriel Wicki
00879f94ee
lint: Refine description start check logic.
Fix linter warnings for the following:

 - packages that belong to some programming language or ecosystem,
 e.g. python-foo or texlive-bar,
 - packages whose names end in a version distinction, e.g. wlroots-0.16 and
 - packages where the software's real name contains an underscore `_'
 character where our package name replaced that with a hyphen `-',
 e.g. wpa_supplicant and wpa-supplicant-minimal.

* guix/lint.scm (check-description-style)[check-proper-start]: Add conditions.
* tests/lint.scm: New tests.

Change-Id: Ifc9f5cda04db59e460e287cd93afae89c7f17e3c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:07 +01:00
Gabriel Wicki
dac3011477
lint: Fix indentation.
* guix/lint.scm(check-synopsis-style): Add white space.
* tests/lint.scm: Fix indentation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I8e08fa43131c586065b742fc441172c9408877a3
2024-12-12 12:52:06 +01:00
Ludovic Courtès
536202958c
gnu: lapack: Mark as tunable.
* gnu/packages/maths.scm (lapack)[properties]: New field.

Change-Id: Iec6383a36f699a573654827a0f7ddaf52790625a
2024-12-12 12:52:06 +01:00
Romain GARBAGE
3cd0b6a404
transformations: Add tuning wrapper for gfortran.
guix/transformations.scm (tuning-compiler): Add gfortran to the list
of wrapped compilers.

Change-Id: Ic7eaa07acbb5ea013af0d515686e961106a6bbbb
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:06 +01:00
Danny Milosavljevic
d916d3b156
Revert "gnu: python-mathics-core: Add docs."
This reverts commit 978305639e since it was too early.

Change-Id: I934d5bd0de1a895670be44a754e54ca0ab431156
2024-12-12 11:02:06 +01:00
Ricardo Wurmus
21905248b4
gnu: snd: Update to 24.9.
* gnu/packages/audio.scm (snd): Update to 24.9.
[arguments]: Use G-expressions; add configure flag "--with-gui"; add phase
'install-s7.
[inputs]: Replace jack-1 with jack-2; remove gtk+; add motif.

Change-Id: Iaba84c2dafa4bf5c0a33f087743844412d961adc
2024-12-12 08:44:22 +01:00
Danny Milosavljevic
3d3556ace0
gnu: texmacs: Make it find qtwayland plugin at runtime.
* gnu/packages/text-editors.scm (texmacs)[build-system]: Change to qt-build-system.
(texmacs-guile3)[build-system]: Change to qt-build-system.

Change-Id: Ic7b2af22d146f757a54c3ee6d56969493a561aab
2024-12-12 07:17:22 +01:00
Danny Milosavljevic
1b319a7e30
gnu: texmacs: Add qtwayland-5.
* gnu/packages/text-editors.scm (texmacs)[inputs]: Add qtwayland-5.
(texmacs-guile3)[inputs]: Add qtwayland-5.
(mogan)[inputs]: Add qtwayland-5.

Change-Id: Ia5cebcff38059533c7add3bcc3c764cb5df1816e
2024-12-12 06:39:34 +01:00
Danny Milosavljevic
a28a8661a6
gnu: rust-swc: Fix build.
* gnu/packages/rust-apps.scm (rust-swc): Fix build.

Change-Id: I06106439e7df8112075880081c3b444d84ecccf1
2024-12-12 06:31:36 +01:00
Danny Milosavljevic
978305639e
gnu: python-mathics-core: Add docs.
* gnu/packages/plotutils.scm (asymptote): Install files where latex will find them.
* gnu/packages/maths.scm (python-mathics-core): Add docs.

Change-Id: Id2dac5f9b4b3bdcfbb751a94263261fb69edb461
2024-12-12 00:56:47 +01:00
Danny Milosavljevic
8b65fdc182
gnu: Add python-mathics-django.
* gnu/packages/maths.scm (python-mathics-django): New variable.

Change-Id: I9f928a13e07f4fc680a6d0e3e965a72d45d7d80c
2024-12-12 00:30:09 +01:00
Danny Milosavljevic
942dd1700d
gnu: python-networkx: Update to 3.4.2.
* gnu/packages/python-xyz.scm (python-networkx-next): New variable.

Change-Id: I59d3883f13ef60b92bd5892edf89b09defdd8845
2024-12-12 00:28:48 +01:00
Danny Milosavljevic
76fd21e0e8
gnu: python-mathics-core: Fix license.
* gnu/packages/maths.scm (python-mathics-core)[license]: Change to gpl3.

Change-Id: Ic48b004f5fd429ddf99c34d5ba891736f9ffafd6
2024-12-12 00:05:54 +01:00
Danny Milosavljevic
f168af92f7
gnu: Add python-mathicsscript.
* gnu/packages/maths.scm (python-mathicsscript): New variable.

Change-Id: Id98fe33f3e6fdef5fcdc2ea58b2f71f396b9ea23
2024-12-12 00:03:24 +01:00
Danny Milosavljevic
06dfdaf80e
gnu: Add perl-pdl.
* gnu/packages (perl-pdl-2.019): New variable.

Change-Id: I608a1d59ee4dfebf9df45886c0a8bbf93bee4696
2024-12-11 23:39:36 +01:00
Danny Milosavljevic
9009cc882d
gnu: Add python-term-background.
* gnu/packages/python-xyz.scm (python-term-background): New variable.

Change-Id: If3606c0d037afc52842d3adb69af26d35c55f6ce
2024-12-11 21:45:01 +01:00
Roman Scherer
dc2df5b869
gnu: librewolf: Add %u to Exec option to open URLs.
The context behind this change is that Firefox used to ship a
taskcluster/docker/firefox-snap/firefox.desktop file which had an Exec
line like this:

    Exec=@MOZ_APP_NAME@ %u

The Guix package would use that file, replacing the token with the path
to the binary. Reported in #74648.

* gnu/packages/librewolf.scm (librewolf): Add %u to Exec option to open
URLs.

Change-Id: I8cf5d3886eaf7805209cf12eae0cc875bef6d5dd
Reviewed-by: André Batista <nandre@riseup.net>
Reviewed-by: Ian Eure <ian@retrospec.tv>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-11 20:17:34 +00:00
Rutherther via Guix-patches via
98908e0777
gnu: gdb: Fix build of target-specific versions.
Since recently there has been a change to gdb package that introduced
configure-flags, three gdb packages broke, since they assumed there are no
configure-flags in gdb.  That means they produced the same gdb as gdb-14.

This patche fixes that by ensuring configure-flags are appended to original package.

* gnu/packages/embedded.scm (make-gdb-arm-none-eabi)[arguments]: Append
configure-flags to original flags.
* gnu/packages/gdb.scm (gdb-multiarch)[arguments]: Likewise.
* gnu/packages/gdb.scm (avr-gdb)[arguments]: Likewise.

Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>

Change-Id: Ia8748b86dc72197bd4eef307d091b6af44fc5611
2024-12-11 20:49:03 +01:00
Janneke Nieuwenhuizen
7aca60c6c4
gnu: openblas: Fix description.
* gnu/packages/maths.scm (openblas)[description]: Write BLAS acronym in full
before using it.

Change-Id: Ieff4f6c4d69882b3afc826da8283cd7ce0263c74
2024-12-11 20:45:39 +01:00