Commit graph

141458 commits

Author SHA1 Message Date
Bruno Victal
22b50e65c5
gnu: docbook-xml: Fix installation paths.
Using xml/dtd/docbook as installation path had two problems:
* The paths would conflict in profile, which made it impossible
for two different docbook-xml packages to coexist within the XML_CATALOG_FILES
variable.
* It was technically incorrect since non-DTD schemas were also placed here.

This commit makes docbook-xml use versioned paths instead.
Additionally the store URI for docbook-xml-4.1.2 was adjusted to conform to
RFC8089 as according to RFC1738 the double slash "//" is intended for schemes
that involve the direct use of an IP-based protocol.

* gnu/packages/docbook.scm
(docbook-xml-package, docbook-xml-4.x-package): New procedure.
(docbook-xml): Make docbook-xml an alias for docbook-xml-5.1.
(docbook-xml-5.1): New variable.
(docbook-xml-4.5, docbook-xml-4.4, docbook-xml-4.3, docbook-xml-4.2)
(docbook-xml-4.1.2): Refactor to use docbook-xml-4.x-package procedure.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:07 +02:00
Bruno Victal
ec28ce00fd
gnu: libxslt: Set search-paths for XML and SGML catalogs.
According to xsltproc manpage it supports both XML_CATALOG_FILES and
SGML_CATALOG_FILES for catalog lookup.

Since the native-search-paths field is not thunked,
doing (package-native-search-paths libxslt) can lead to module import cycles
so we define a %libxslt-search-paths variable to avoid this kind of trouble.

* guix/search-paths.scm (%libxslt-search-paths): New variable.
* gnu/packages/xml.scm (libxslt)[native-search-paths]: Set to
%libxslt-search-paths.
* gnu/packages/perl.scm
(perl-app-xml-docbook-builder)[native-search-paths]: Ditto.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:07 +02:00
Bruno Victal
ed4e9eebb4
gnu: libxml2: Add $SGML_CATALOG_FILES to native-search-path.
According to the xmllint manpage it also makes use of the SGML_CATALOG_FILES
environment variable.

* gnu/packages/xml.scm (libxml2)[native-search-paths]: Add $SGML_CATALOG_FILES.

Co-authored-by: gemmaro <gemmaro.dev@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I7b4befe352ba10b7a4e134f0806331b63bb4f855
2024-08-31 10:42:07 +02:00
Bruno Victal
e96fa0b695
search-paths: Add $XML_CATALOG_FILES and $SGML_CATALOG_FILES.
These variables are used by some packages for XML/SGML catalog lookups.

* guix/search-paths ($XML_CATALOG_FILES, $SGML_CATALOG_FILES): New variable,
extracted from …
* gnu/packages/xml.scm (libxml2, opensp)[native-search-paths]: … here. Refer
to the variables from (guix search-paths) respectively.
* gnu/packages/perl.scm
(perl-app-xml-docbook-builder)[native-search-paths]: Use $XML_CATALOG_FILES.
* doc/guix.texi (Search Paths): Update documentation to reflect changes.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:07 +02:00
Carlo Zancanaro
994fbc0ac6
build: utils: Raise error in modify-phases upon missing key.
* guix/build/utils.scm (alist-cons-before)
(alist-cons-after): Error with a match failure if the
reference is not found, instead of appending to the alist.
* tests/build-utils.scm: Update tests to match the new behavior.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I3044b101bd06231d5cd55a544ac1009e6ce6f9a0
2024-08-31 10:42:06 +02:00
Liliana Marie Prikler
6da03fcc45
gnu: git: Install zsh completions and git-prompt.
* gnu/packages/version-control.scm (git)[#:phases]<install-shell-completion>:
Also install git-prompt and zsh _git site function.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I76c45e117715a13db96ef0dda4ad6ea9af3a1882
2024-08-31 10:42:06 +02:00
Maxim Cournoyer
bd20ad3eb2
gnu: git-minimal: Add coreutils and sed to PATH.
Fixes <https://issues.guix.gnu.org/65924>.

* gnu/packages/version-control.scm (git-minimal)
[arguments] <imported-modules>: New field.
<modules>: Augment with (ice-9 match), (ice-9 textual-ports) and (guix
search-paths).
<phases>: Add patch-commands phase.
[inputs]: Add coreutils-minimal and sed.

Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Change-Id: I8e3dbbd24ef7f8fa98a392a36617b07fe632cd15
2024-08-31 10:42:06 +02:00
Maxim Cournoyer
59505384c3
gnu: git: Invert inheritance relationship.
It's simpler to add features on top of a minimal variant than to remove them,
and helps avoiding mistakenly changing git-minimal, which has many dependents.

* gnu/packages/version-control.scm (git-minimal): Move above git and severe
inheritance.  Remove input label.  Repatriate most fields from...
(git): ... here.  Define as package/inherit to inherit from git-minimal.
Extend minimal values instead of overriding them whole.

Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Change-Id: Ia0ef0e7e4f007c2fafad3550344638b6661a408b
2024-08-31 10:42:06 +02:00
Maxim Cournoyer
f288604428
gnu: git: Remove labels and use gexps.
* gnu/packages/version-control.scm (git)
[native-inputs, inputs]: Remove labels.
[arguments]: Use gexps.  Use gexp variables input searching procedures where
it makes sense.

Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Change-Id: I1c5d0bb5eb9639342c11af94dca2ae2174496459
2024-08-31 10:42:06 +02:00
Bruno Victal
1de0e8540b
gnu: socat: Update to 1.7.4.4.
* gnu/packages/networking.scm (socat): Update to 1.7.4.4.
[inputs]: Add readline for READLINE support.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:06 +02:00
Bruno Victal
67039cda75
gnu: perl-xml-xpath: Update to 1.48.
* gnu/packages/xml.scm (perl-xml-xpath): Update to 1.48.
[native-inputs]: Add perl-test-leaktrace.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:06 +02:00
Bruno Victal
f246666d32
gnu: perl-xml-xpath: Wrap xpath command.
* gnu/packages/xml.scm (perl-xml-xpath)[arguments]: Wrap xpath. Add test for
wrapped xpath.
[description]: Document xpath command presence.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:06 +02:00
Maxim Cournoyer
7ee764bbe5
gnu: %objc++-search-paths: Express using $LIBRARY_PATH.
* gnu/packages/gcc.scm (%objc++-search-paths): Express using $LIBRARY_PATH.
2024-08-31 10:42:06 +02:00
Maxim Cournoyer
18631c4d5c
gnu: gccgo-4.9: Express search paths via (guix search-paths) variables.
* gnu/packages/gcc.scm (gccgo-4.9)
[native-search-paths]: Express search paths via (guix search-paths) variables.
2024-08-31 10:42:05 +02:00
Maxim Cournoyer
a9cb2e5714
gnu: gcc-2.95: Express search paths via (guix search-paths) variables.
* gnu/packages/gcc.scm (gcc-2.95)
[native-search-paths]: Express search paths via (guix search-paths) variables.
2024-08-31 10:42:05 +02:00
Maxim Cournoyer
fed026d1de
gnu: gcc-4.7: Use %gcc-search-paths for native-search-paths.
* gnu/packages/gcc.scm (gcc-4.7)
[native-search-paths]: Use %gcc-search-paths.

Change-Id: Ia9acc98c2f7c7bc101ac43a4288ee4368c2b3dfa
2024-08-31 10:42:05 +02:00
Efraim Flashner
c8424fb15d
gnu: gawk: Update to 5.2.2.
* gnu/packages/gawk.scm (gawk): Update to 5.2.2.
2024-08-31 10:42:05 +02:00
Efraim Flashner
43d59be517
gnu: gzip: Update to 1.13.
* gnu/packages/compression.scm (gzip): Update to 1.13.
2024-08-31 10:42:05 +02:00
Efraim Flashner
bfeccd3db9
gnu: libgccjit: Track the default GCC version.
* gnu/packages/gcc.scm (libgccjit): Rewrite to use the default gcc
version.
2024-08-31 10:42:05 +02:00
Maxim Cournoyer
dac6c82cf3
gnu: doxygen: Update to 1.9.8.
* gnu/packages/documentation.scm (doxygen): Update to 1.9.8.
2024-08-31 10:42:05 +02:00
Maxim Cournoyer
80961d40f2
gnu: glibc: Add $TZDIR native search path.
* gnu/packages/base.scm (glibc) [native-search-paths]: Add $TZDIR.
2024-08-31 10:42:04 +02:00
Arjan Adriaanse
2fc51b1ef3
gnu: pcsc-lite: Update to 2.0.0.
* gnu/packages/security-token.scm (pcsc-lite): Update to 2.0.0.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:04 +02:00
Bruno Victal
cbab569e08
gnu: docbook-dsssl: Switch to copy-build-system.
* gnu/packages/docbook.scm
(docbook-dsssl)[build-system]: Switch to copy-build-system.
[arguments]: Add phase to install documentation as separate output.
(docbook-dsssl-doc)[build-system]: Switch to copy-build-system.
[arguments]: Adapt to new build-system.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:04 +02:00
Bruno Victal
b7947e53d9
gnu: docbook: Refactor dblatex packages.
* gnu/packages/docbook.scm (dblatex): Rewrite using G-Expressions.
(dblatex/stable): Use modify-inputs.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ic4c974c60a80871c5bf4764b88b913c871208b3f
2024-08-31 10:42:04 +02:00
Bruno Victal
69eea259df
gnu: docbook: Refactor docbook-sgml packages.
* gnu/packages/docbook.scm
(docbook-sgml)[build-system]: Switch to copy-build-system.
[arguments]: Replace #:builder with #:install-plan.
Add phases 'fix-permission and 'patch-iso-entities.
[sources]: Use url-fetch/zipbomb.
(docbook-sgml-4.1, docbook-sgml-3.1)[sources]: Ditto.
(iso-8879-entities)[source]: Ditto.
[build-system]: Switch to copy-build-system.
[native-inputs]: Restyle.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:04 +02:00
Bruno Victal
8f7b7f285b
gnu: docbook-utils: Refactor package.
* gnu/packages/docbook.scm (docbook-utils)[description]: Fix description.
[source]: Patch source in snippet.
[arguments]: Remove.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:04 +02:00
Bruno Victal
860d17d70b
gnu: docbook-xsl-1.79.1: Refactor package.
* gnu/packages/docbook.scm
(docbook-xsl-1.79.1)[source]: Remove bundled binary files.
[arguments]: Use #:install-plan. Patch catalog.xml using xmlcatalog.
Add phase 'install-doc.
[native-inputs]: Add libxml2.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:04 +02:00
Bruno Victal
d55feb010d
gnu: docbook-xsl: Refactor package.
* gnu/packages/docbook.scm (docbook-xsl)[source]: Patch in snippet.
[arguments]: Use sxml representation for xmlc file.
Use xmlcatalog to manipulate catalog.xml instead of substitute*.
Use #:install-plan instead of replacing 'install phase.
[native-inputs]: Add docbook-xml-4.4 and libxml2, required for tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:04 +02:00
Andreas Enge
77404fd0aa
gnu: wget: Update to 1.21.4.
* gnu/packages/wget.scm (wget): Update to 1.21.4.
2024-08-31 10:42:03 +02:00
Tobias Geerinckx-Rice
ab0a4c44d6
gnu: psutils: Stop installing broken scripts.
* gnu/packages/ghostscript.scm (psutils)[inputs]: Add perl-ipc-run3.
[arguments]: Add a new 'wrap-scripts phase.
2024-08-31 10:42:03 +02:00
From: Hilton Chain
0e0afe22e4
gnu: libinput: Add missing file-name.
* gnu/packages/freedesktop.scm (libinput)[source]: Use GIT-FILE-NAME.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2024-08-31 10:42:03 +02:00
Hilton Chain
f876b54a21
gnu: libinput: Update to 1.23.0.
* gnu/packages/freedesktop.scm (libinput): Update to 1.23.0.
[native-inputs]: Add python-minimal-wrapper and python-pytest.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Change-Id: I207898dc6971e9fa7be24b7ba9c8fc1887ec930e
2024-08-31 10:42:03 +02:00
Tobias Geerinckx-Rice
d35ccf0899
gnu: kexec-tools: Update to 2.0.26.
* gnu/packages/linux.scm (kexec-tools): Update to 2.0.26.
2024-08-31 10:42:03 +02:00
Maxim Cournoyer
9888810091
gnu: cups-filters: Sort inputs.
* gnu/packages/cups.scm (cups-filters) [inputs]: Sort.

Change-Id: I0c9527ae72bc569030aa49a2f003e0061e3af20b
2024-08-31 10:42:03 +02:00
Emmanuel Beffara
a51507e582
gnu: cups-filters: Add coreutils and sed to wrapped PATH.
* gnu/packages/cups.scm (cups-filters) [arguments]: Add coreutils and sed to
PATH in wrap-filters phase.
[inputs]: Add coreutils and sed.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:03 +02:00
Tobias Geerinckx-Rice
85662a15a8
gnu: iproute2: Update to 6.4.0.
* gnu/packages/linux.scm (iproute): Update to 6.4.0.
2024-08-31 10:42:02 +02:00
Danny Milosavljevic
df14cacca9
gnu: Add emacs-capf-autosuggest.
* gnu/packages/emacs-xyz.scm (emacs-capf-autosuggest): New variable.

Change-Id: I258c5344bf126cec5c02d5a534222a0f47a8749a
2024-08-30 23:23:54 +02:00
Suhail Singh
13dc33602f
gnu: Add complgen.
* gnu/packages/rust-apps.scm (complgen): New variable.

Change-Id: Icfd633a7f0038e4f19afe6af6921f117e188fd50
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-08-30 22:55:33 +02:00
Suhail Singh
e0a8c25c7e
gnu: Add rust-ustr-0.9.
* gnu/packages/crates-io.scm (rust-bindgen-0.53): New variable.
(rust-cexpr-0.2): New variable.
(rust-clang-sys-0.23): New variable.
(rust-fasthash-0.4): New variable.
(rust-fasthash-sys-0.3): New variable.
(rust-spin-0.7): New variable.
(rust-string-cache-shared-0.3): New variable.
(rust-ustr-0.9): New variable.
(rust-which-1): New variable.
(rust-xoroshiro128-0.3): New variable.

Change-Id: I69588de3aa84215f613500a14851be7d1754463f
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-08-30 22:55:25 +02:00
Suhail Singh
acbb239145
gnu: Add rust-slice-group-by-0.3.
* gnu/packages/crates-io.scm (rust-slice-group-by-0.3): New variable.

Change-Id: Ib044c37db12f93a9ebe1cd1457055ef1c3b5d763
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-08-30 22:55:09 +02:00
Suhail Singh
499879ec31
gnu: Add rust-roaring-0.10.
* gnu/packages/crates-io.scm (rust-roaring-0.10): New variable.
(rust-retain-mut-0.1.7): New variable.

Change-Id: I71b582e85384caecbfff08f3b4fbac899e71255b
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-08-30 22:54:54 +02:00
Suhail Singh
c77515e054
gnu: Add rust-railroad-0.2.
* gnu/packages/crates-io.scm (rust-railroad-0.2): New variable.
(rust-railroad-verification-0.1): New variable.

Change-Id: If4a5b474cff1e78ff156b56e4192842e1b20155b
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-08-30 22:54:45 +02:00
Suhail Singh
3b5a69a41d
gnu: Add rust-nom-locate-4.
* gnu/packages/crates-io.scm (rust-nom-locate-4): New variable.

Change-Id: I5237f0b6e3463bbd5cd2048060334f88cf75d27a
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-08-30 22:54:29 +02:00
Suhail Singh
f4240f71e0
gnu: Add rust-chic-1.
* gnu/packages/crates-io.scm (rust-chic-1): New variable.
(rust-annotate-snippets-0.6): New variable.

Change-Id: Ibf939b8a15a9135a66bf41e3a39ed1c25c32dbaf
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-08-30 22:54:12 +02:00
Ludovic Courtès
d5312370b4
gnu: libgit2@1.8: Fix more uninitialized value uses.
Fixes <https://issues.guix.gnu.org/72859>.

* gnu/packages/patches/libgit2-uninitialized-proxy-settings.patch: Update.

Reported-by: Rodion Goritskov <rodion.goritskov@gmail.com>
Change-Id: I4fc1eec1094139572a02bce2dd15d3664dbf2c49
2024-08-29 13:48:29 +02:00
Sharlatan Hellseher
09fe58e08c
Revert "gnu: Add go-github-com-ipfs-go-ipfs-posinfo."
This reverts commit db1b89d8e6.

It was accidently pushed after review precess and attempt to exclude it
from Kubo, introduce regression seen in
<https://ci.guix.gnu.org/build/5513172/log/raw>.  The project is
deprecated and patch is not required.
2024-08-29 08:04:12 +01:00
Andy Tai
58906decf1
gnu: xpra: Update to 6.1.2.
* gnu/packages/xorg.scm (xpra): Update to 6.1.2.

Change-Id: Ib1f4ed522c94cbfa1ff1b874dad1ee2f0b74baf3
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-08-29 13:58:35 +08:00
Andy Tai
fbfe759fa1
gnu: opencv: Update to 4.10.0
* gnu/packages/image-processing.scm (opencv): Update to 4.10.0.

Change-Id: I4de85cdaa744386deb8162a689dca23003c150ef
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-08-29 12:35:24 +08:00
Zheng Junjie
53f1d10f08
gnu: uriparser: Fix cross-compilation.
* gnu/packages/web.scm (uriparser)[arguments]: When cross-compilation, Set
-DURIPARSER_BUILD_TESTS=OFF.

Change-Id: I003fbc37e82ed308998490b7bbba2aad6a0b7f55
2024-08-29 11:21:40 +08:00
Artyom V. Poptsov
c061a7175d
gnu: uriparser: Update to 0.9.8.
* gnu/packages/web.scm (uriparser): Update to 0.9.8.
[source]: Switch to git-fetch.

Change-Id: I12ed35eebd9719aac83e5838cdec6e81529763ae
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-08-29 11:20:57 +08:00