Commit graph

158959 commits

Author SHA1 Message Date
Maxim Cournoyer
d110f7dd00
gnu: bash-with-syslog: Use package/inherit.
This ensures that any grafts applied to bash will be inherited to this
variant.

* gnu/packages/bash.scm (bash-with-syslog): Use package/inherit.

Change-Id: I58aa0f23f624f9e27a5842f638a49bb715b51122
2025-05-07 09:12:00 +09:00
Maxim Cournoyer
ad73bdec85
gnu: static-minimal: Use package/inherit.
This ensures that any grafts applied to bash will be inherited to this
variant.

* gnu/packages/bash.scm (static-bash): Use package/inherit.

Change-Id: I2cce8415747d4ad0df7732d9f516e493b7b46ff7
2025-05-07 09:12:00 +09:00
Maxim Cournoyer
f6622b7422
gnu: bash-minimal: Use package/inherit.
This ensures that any grafts applied to bash will be inherited to this
variant.

* gnu/packages/bash.scm (bash-minimal): Use package/inherit.

Change-Id: I5221b08c02b7afc7b88e01265eea41d27cd010f0
2025-05-07 09:12:00 +09:00
Sharlatan Hellseher
50f2efbb22
gnu: packages/python-xyz: Remove unused modules.
* gnu/packages/python-xyz.scm: Remove gl, graphics, gstreamer, sdl, and
swig modules.

Change-Id: I9112fd3e9216541e6fc7c2e3048b0892ad4e77f4
2025-05-06 23:38:11 +01:00
Sharlatan Hellseher
8287b48ebc
gnu: python-pastel: Move to python-xyz.
* gnu/packages/graphics.scm (python-pastel): Move from here ...
* gnu/packages/python-xyz.scm: ... to here.

Change-Id: I0179d8111db7a8ef088461524f2ca481534100e7
2025-05-06 23:35:51 +01:00
Sharlatan Hellseher
80581a2833
gnu: python-pysdl2: Move to python-graphics.
* gnu/packages/python-xyz.scm (python-pysdl2): Move from here ...
* gnu/packages/python-graphics.scm: ... to here.

Change-Id: I54aba5426a666063c6aa4aedc004ca3c3faa54bb
2025-05-06 23:25:30 +01:00
Sharlatan Hellseher
40aefa695b
gnu: python-pytmx: Fix build.
* gnu/packages/game-development.scm (python-pytmx): Fix build, improve
style.
[build-system]: Switch to pyproject.
[arguments] <tests?>: No tests in PyPI provided, disable.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Id879d37564b7b4a6fd320ca8a7cc5d3d8f182806
2025-05-06 23:21:56 +01:00
Sharlatan Hellseher
f8f5a10d98
gnu: python-pysdl2: Update to 0.9.17.
* gnu/packages/python-xyz.scm (python-pysdl2): Update to 0.9.17.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ic6830f73a2d8629d7c47cfd329dfa4ddbcb14f19
2025-05-06 23:13:06 +01:00
Sharlatan Hellseher
ab38239fab
gnu: python-pysdl2: Use G-expressions.
* gnu/packages/python-xyz.scm (python-pysdl2): Refresh package style
with G-expressions and FORMAT.

Change-Id: Id3f43b490ca4892337769cbce65b1fa6d08738e9
2025-05-06 23:10:04 +01:00
Sharlatan Hellseher
3387675d84
gnu: python-pysdl2: Fix indentation.
* gnu/packages/python-xyz.scm (python-pysdl2): Fix indentation.

Change-Id: I5171a1a06640fcb6bafaa9ae77a4202098130cef
2025-05-06 23:04:06 +01:00
Sharlatan Hellseher
e844f7bdbc
gnu: python-pivy: Move to python-graphics.
* gnu/packages/python-xyz.scm (python-pivy): Move from here ...
* gnu/packages/python-graphics.scm: ... to here.

* gnu/packages/engineering.scm: Add python-graphics module.

Change-Id: I3fd1d43f8c45229531ea82f294ee4eb8042d4f70
2025-05-06 22:49:41 +01:00
Sharlatan Hellseher
1ed1b0d618
gnu: python-kivy: Move to python-graphics.
* gnu/packages/python-xyz.scm (python-kivy): Move from here ...
* gnu/packages/python-graphics.scm: ... to here.

Change-Id: If8fda7d519ad47a7c9a737405bb19454db0cde11
2025-05-06 22:39:35 +01:00
Sharlatan Hellseher
0fb79cb9b7
gnu: python-kivymd: Move to python-graphics.
* gnu/packages/python-xyz.scm (python-kivymd): Move from here ...
* gnu/packages/python-graphics.scm: ... to here.

Change-Id: I9ec6cb7eb19741d01daca4ba8df82267e72887cc
2025-05-06 20:21:43 +01:00
Sharlatan Hellseher
42f7d1c9ae
gnu: python-asyncgui: Move to python-graphics.
* gnu/packages/python-xyz.scm (python-asyncgui): Move from here ...
* gnu/packages/python-graphics.scm: ... to here.

Change-Id: Id784934c8bdcf46d148792259efdbd1d9708a641
2025-05-06 20:13:12 +01:00
Sharlatan Hellseher
4883841fc6
gnu: python-asynckivy: Move to python-graphics.
* gnu/packages/python-xyz.scm (python-asynckivy): Move from here ...
* gnu/packages/python-graphics.scm: ... to here.

Change-Id: I22db22da9bf83edbb429c8a8cd7ae45c218e5b19
2025-05-06 20:10:55 +01:00
Sharlatan Hellseher
bbb06b2ce0
gnu: python-asynckivy: Fix home page.
* gnu/packages/python-xyz.scm (python-asynckivy): [home-page]: Permanent
redirect from <https://github.com/gottadiveintopython/asynckivy> to
<https://github.com/asyncgui/asynckivy>.

Change-Id: I7ec47fb8396339e2e66489a0a9a4be4ec8265cb6
2025-05-06 20:04:56 +01:00
Sharlatan Hellseher
09effee863
gnu: python-asynckivy: Update to 0.8.1.
* gnu/packages/python-xyz.scm (python-asynckivy): Update to 0.8.1.
[source]: Switch to git-fetch containing tests.
[build-system]: Switch to pyproejct.
[native-inputs]: Add python-poetry-core and python-pytest.

Change-Id: Ie7145f020e0487799ca8af0ce4506a5ffc290191
2025-05-06 20:04:55 +01:00
Sharlatan Hellseher
81be05a60a
gnu: python-asyncgui: Fix hope page.
* gnu/packages/python-xyz.scm (python-asyncgui): [home-page]: Permanent
redirect from <https://github.com/gottadiveintopython/asyncgui> to
<https://github.com/asyncgui/asyncgui>.

Change-Id: Ic2fcbf4abbc208d16ae33e91a9eb71e9febd7988
2025-05-06 20:04:55 +01:00
Sharlatan Hellseher
aaa898ecb8
gnu: python-asyncgui: Update to 0.8.0.
* gnu/packages/python-xyz.scm (python-asyncgui): Update to 0.8.0.
[source]: Switch to git-fetch containing tests.
[build-system]: Switch to pyproejct.
[native-inputs]: Add python-poetry-core and python-pytest.

Change-Id: I56830e39e99830bceae60f2f3b9afcf70bf00093
2025-05-06 20:04:55 +01:00
Sharlatan Hellseher
c17e70a3e9
gnu: python-kivymd: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-kivymd): Update to 1.1.1.
[source]: Switch to git-fetch containing tests.
[build-system]: Switch to pyproject.
[arguments] <tests?>: Enable some tests.
<phases>: Add 'fix-modules.
[native-inputs]: Add python-pytest, python-pytest-asyncio,
python-setuptools, and python-wheel.

Change-Id: I5b82048776484eb115ba590dd7a34bdb9097aa66
2025-05-06 20:04:55 +01:00
Sharlatan Hellseher
d3663ba409
gnu: python-kivy: Adjust inputs.
* gnu/packages/python-xyz.scm (python-kivy)
[inputs]: Remove python-docutils, python-filetype, python-kivy-garden,
python-pygments, and python-requests.
[propagated-inputs]: Add python-docutils, python-filetype,
python-kivy-garden, python-pygments, and python-requests.

Change-Id: I76f7ca94d42fafe3bde36f4b2a1d27bf89831521
2025-05-06 20:04:55 +01:00
Sharlatan Hellseher
a1b5fcd4d8
gnu: python-kivy: Update to 2.3.1.
* gnu/packages/python-xyz.scm (python-kivy): Update to 2.3.1.
[build-system]: Swap to pyproject.
[inputs]: Add python-filetype and python-requests.
[native-inputs]: Add python-packaging, python-setuptools, and
python-wheel.

Change-Id: I174fa9a2239d4d733e67d08a224e8efcd95268a0
2025-05-06 20:04:55 +01:00
Sharlatan Hellseher
e9e15e60e8
gnu: python-kivy-garden: Update to 0.1.5.
* gnu/packages/python-xyz.scm (python-kivy-garden): Update to 0.1.5.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject.
[arguments] <phases>: Remove 'remove-bat-file, as it's part of
installation even if it's related to Windows, it's just set-up script no
a binary blob.
<tests?>: Deliberately switch them off as no provided.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I1eab910405f0a55bad241b2dd2d8cb4b80261a5b
2025-05-06 20:04:55 +01:00
David Thompson
ec95c71c01
gnu: guile-hoot: Update to 0.6.1.
* gnu/packages/guile-xyz.scm (guile-hoot): Update to 0.6.1.
[native-inputs]: Add node.
[native-search-paths]: Add HOOT_LOAD_PATH.

Change-Id: Icf91d5ea38dacad3255aa4b921ff6f50ec8a1654
2025-05-06 13:49:45 -04:00
jgart
5b56e84f77
gnu: trealla: Update to 2.71.0.
* gnu/packages/prolog.scm (trealla): Update to 2.71.0.

Change-Id: I053d5feb1c12df63207bce65c5d7fab40a662e3c
2025-05-06 11:52:49 -05:00
Maxim Cournoyer
fbf8b81971
tests: Fix (gnu tests base.scm) module indentation.
* gnu/tests/base.scm: Fix indentation.

Change-Id: I3432fafa2f5c2853a14b5d125cf9377786ca6594
2025-05-06 23:22:25 +09:00
Efraim Flashner
b8afb3100e
gnu: arm-trusted-firmware-sun50i-a64: Fix build.
Fixes: https://issues.guix.gnu.org/78251

* gnu/packages/firmware.scm (arm-trusted-firmware-sun50i-a64)
[native-inputs]: Add gcc-14.

Change-Id: I11a71ec8bbaa7bea4212943ceaea75e6d660cf61
2025-05-06 16:22:29 +03:00
Nicolas Graves
f8bd2dbbd5
gnu: fail2ban: Improve snippet.
* gnu/packages/admin.scm (fail2ban)
  [source]<modules>: Remove (srfi srfi-26).
  <snippet>: Use gexp. Move substitute* patches...
  [arguments]<phases>: ...to phases 'patch-setup.py and 'disable-some-tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
bbae08827f
gnu: fail2ban: Improve style.
* gnu/packages/admin.scm (fail2ban):
  [arguments]<phases>: Rewrite phases 'set-action-dependencies and
  copy-man-pages for readability.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
30f240b034
gnu: fail2ban: Improve style.
* gnu/packages/admin.scm (fail2ban): Use gexps and run guix style.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
6567fd4072
gnu: fail2ban: Update to 1.1.0.
* gnu/packages/patches/fail2ban-0.11.2_CVE-2021-32749.patch,
  gnu/packages/fail2ban-0.11.2_fix-setuptools-drop-2to3.patch,
  gnu/packages/patches/fail2ban-0.11.2_fix-test-suite.patch,
  gnu/packages/patches/fail2ban-python310-server-action.patch,
  gnu/packages/fail2ban-python310-server-actions.patch: Delete patches.

* gnu/local.mk: Deregister patches.

* gnu/packages/admin.scm (fail2ban): Update to 1.1.0.
  [source]<snippet>: Use (srfi srfi-26) for readability.
  <patches>: Deregister patches.
  [build-system]: Switch to pyproject-build-system.
  [arguments]<phases>: Remove phase 'invoke-2to3.  Add phase
  'avoid-external-binary-in-/bin to avoid creating a symlink to
  python-wrapper binary during installation (current 'install phase
  breaks otherwise).  Run phases 'fix-default-config and
  'set-action-dependencies before 'build phase (needed for pyproject).
  [native-inputs]: Add python-setuptools, python-wheel.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
43a5197c6c
gnu: fail2ban: Move setup and test patches to phases.
* gnu/packages/admin.scm (fail2ban)
  [source]<snippet>: Move setup and test substitutions...
  [arguments]<phases>: ...to phases 'patch-setup.py and
  'disable-some-tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
f744f060dd
gnu: fail2ban: Move file deletion to source snippet.
* gnu/packages/admin.scm (fail2ban)
  [arguments]<phases>: Move multiple file deletion from here...
  [source]<snippet>: ...to here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:34 +02:00
Ada Stevenson
5dccf8781c
gnu: libfilezilla: Update source origin.
* gnu/packages/ftp.scm (gnu): (libfilezilla): Update source origin.
[source]: Replace `url-fetch` with `svn-fetch`.
[native-inputs]: Add `automake`, `autoconf` and `libtool`.

Change-Id: I1d94d10ff5eb91043f99f15334866b6ad6a2b1cf
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:34 +02:00
Ludovic Courtès
edc799dabf
environment, home: Make /tmp writable.
Fixes <https://issues.guix.gnu.org/78272>.

Fixes a bug caused by commit ce363c1dc7,
which inadvertently made /tmp read-only as well.

* guix/scripts/environment.scm (launch-environment/container)[tmpfs]:
New variable.
Add it to ‘file-systems’.
* guix/scripts/home.scm (spawn-home-container): Add /tmp file system
to #:mounts.
* tests/guix-environment-container.sh: Add test.

Reported-by: Tomas Volf <~@wolfsden.cz>
Change-Id: I5cb449e6d0c213d4b5866cbcbd14990437a7d4c5
2025-05-06 12:22:34 +02:00
Andreas Enge
db336991b5
gnu: asymptote: Fix build.
* gnu/packages/plotutils.scm (asymptote)[arguments]<#:phases>{setenv}:
New phase.

Change-Id: Id2e0f33d82affa573c7f2c5fe7c3741f42479b8e
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
6295ea857c
gnu: jthreads: Fix build.
* gnu/packages/cpp.scm (jthread): Bump texlive-listings version provided in
TeX Live to 1.10c.

Change-Id: I699bcc43b1a2dcbff8956d664b3dab496ca2e270
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
5a09308c7c
gnu: book-sparc: Fix build.
* gnu/packages/books.scm (book-sparc):[native-inputs]: Add texlive-lineno,
texlive-xtring.

Change-Id: Ic2f7c6bcf5476fea72db627ea12385be47bfdbbb
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
8207bdf26c
gnu: python-sphinx-5: Fix build.
* gnu/packages/sphinx.scm (python-sphinx-5)[native-inputs]: Add texlive-anyfontsize.

Change-Id: Id94a00342e2c884b28ee680645a4857b9cd72b4e
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
b307bd8456
gnu: hypre: Fix build.
* gnu/packages/maths.scm (hypre)[native-inputs]: Add missing
texlive-booktabs. Remove texlive-etoolbox, already provided by texlive-local-tree.

Change-Id: I6da2313d294dad6f24764448e9010a4120444d71
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
1a8b36329f
gnu: texlive-libkpathsea: Tweak "texmf.cnf" variables.
* gnu/packages/tex.scm (texlive-libkpathsea): Use XDG variables instead of
HOME for cache and user configuration.  Re-instate TEXMFLOCAL, which may be
necessary for external TeX installations.
(texlive-luatex): Re-instate TEXFLOCAL.
* gnu/packages/algebra.scm (gap):
* gnu/packages/assembly.scm (asl):
(yaehmop):
* gnu/packages/bioinformatics.scm (discrover):
* gnu/packages/chez.scm (chez-scheme-for-racket):
* gnu/packages/engineering.scm (fastcap):
* gnu/packages/fsf.scm (book-faif):
* gnu/packages/maths.scm (hypre):
(stex-boostrap):
(suitesparse-amd):
(suitesparse-camd):
(suitesparse-cholmod):
(suitesparse-klu):
(suitesparse-ldl):
(suitesparse-mongoose):
(suitesparse-spex):
(suitesparse-spqr):
(suitesparse-umfpack):
* gnu/packages/ocaml.scm (ocaml-bibtex2html):
(unison):
* gnu/packages/python-xyz.scm (python-nbconvert):
* gnu/packages/statistics.scm (r-with-tests)[arguments]: Set TEXMFVAR to
a writable location.

Change-Id: I3d2d069cf41a92214d9d6fb7f4d54fc81fe6db7a
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
b1ef3bce13
gnu: Update TeX Live to 2025.2.
* gnu/packages/tex.scm:  Update TeX Live to 2025.2.
* gnu/packages/bioinformatics.scm (discrover):
* gnu/packages/python-xyz.scm (python-nbconvert): Remove texlive-ms package.

Change-Id: Ia6c6753ddb889413522e3351f38a95dd24912984
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
6f67fb06b0
gnu: tex: Adjust comments for update process.
* gnu/packages/tex.scm: Suggest to log output of the global refresh.  Also
mention that all collections must be imported again to find new packages.

Change-Id: Idd194384318143da50f3b269aa5acfdb95f72365
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
af54888314
guix: texlive importer: Fix recursive calls.
* guix/import/texlive.scm (texlive-recursive-import): Make sure #:guix-name
value accepts only one argument.

Change-Id: Ie3c7f7cee7860e0d926ba95a708f16e147f4d550
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
df887f679f
guix: texlive importer: Improve output for texlive-biber-ms.
* guix/import/texlive.scm (no-bin-propagation-packages): Add "biber-ms".

Change-Id: Id9dadd2194e8d59d68c395b513e4c94673c97bb2
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
9192c195ff
guix: texlive importer: Fix version error when importing a package.
* guix/import/texlive.scm (texlive->guix-package): Use find-version instead of
returning the first version tag.

Change-Id: Ib144d56c034c9ce3e5a4cddcffb78be58cd05e62
2025-05-06 11:25:07 +02:00
Nicolas Goaziou
3cf3880212
guix: texlive importer: Adjust version for meta packages.
* guix/import/texlive.scm (tlpdb->package): Use (package-version
package-source) instead of %texlive-revision when importing a meta package.
* tests/texlive.scm ("texlive->guix-package, meta-package"): Test it.

Change-Id: I2a5d2eb6529dafe0c888b2a7a5a1b38af1160235
2025-05-06 11:25:06 +02:00
Nicolas Goaziou
3b34f33bb5
gnu: python-sphinx: Fix build.
* gnu/packages/sphinx.scm (python-sphinx)[native-inputs]: Add
texlive-anyfontsize.

Change-Id: I9e3777cb873b1c330bcfecac138e519670a829f5
2025-05-06 11:25:06 +02:00
Nicolas Goaziou
9712d8daec
gnu: Make modular TeX Live reproducible.
Fixes: https://issues.guix.gnu.org/73613

* gnu/packages/tex.scm (texlive-aleph):
(texlive-amstex):
(texlive-eplain):
(texlive-hitex):
(texlive-lollipop):
(texlive-mex):
(texlive-mltex):
(texlive-texsis):
(texlive-luatex):
(texlive-xmltex):
(texlive-latex-bin):
(texlive-cslatex):
(texlive-mptopdf):
(texlive-mflua):
(texlive-luajittex):
(texlive-csplain):
(texlive-luahbtex):
(texlive-jadetex):
(texlive-pdftex):
(texlive-optex):
(texlive-context-legacy):
(texlive-everyshi):
(texlive-xetex): Add libfaketime to native inputs.
* guix/build/texlive-build-system.scm (enforce-source-date-epoch): New function.
(create-formats): Wrap format generation within a `faketime' or `datefudge'
call, depending on the system.
(%standard-phases): Add a phase to obey to SOURCE_DATE_EPOCH.

Change-Id: Ieef6adb18b7f4373194e3550d41761f75334e574
2025-05-06 11:25:06 +02:00
Nicolas Goaziou
f6d9057ff2
gnu: texlive-libkpathsea: Enforce ls-R usage by default.
Fixes: https://issues.guix.gnu.org/75893

* gnu/packages/tex.scm (texlive-libkpathsea): Set TEXMF so that ls-R database
is mandatory and must contain the file looked after in the TeX Live tree.
* guix/build/texlive-build-system.scm (configure-texmf): Relax requirements
for "ls-R" database.  Renamed from `set-texmfvar'.
(%standard-phases): Apply phase renaming.
* gnu/packages/python-xyz.scm (python-nbconvert)[native-inputs]: Add TeX Live
packages required for tests to pass since propagated packages are no longer
accessible during build.
* gnu/packages/books.scm (book-sparc)[inputs]: Move TeX Live related inputs
to...
[native-inputs]: ... here, and wrap them within texlive-local-tree for the
same reason as above.

Change-Id: I3430bc84ce35f4aa8f0537b512f472ef88f8e5e9
2025-05-06 11:25:06 +02:00