Commit Graph

141424 Commits

Author SHA1 Message Date
Maxim Cournoyer
5d1a128f64
gnu: acl: Remove labels and trailing #t.
* gnu/packages/acl.scm (acl): Remove labels and trailing #t.

Change-Id: I01b3d697da78ae1294b76d1073dbfd0ffe37fe31
2024-08-31 10:42:16 +02:00
Maxim Cournoyer
f59df1aa3c
build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-modules.
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.

The renaming was automated via the command:

  $ git grep -l %gnu-build-system-modules
    | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i

* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this.  Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.

Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
2024-08-31 10:42:16 +02:00
Efraim Flashner
0e881505f1
gnu: make-libstdc++: Adjust order of phases.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: Move custom
'fix-rs6000-libdir phase to after the 'unpack phase.
2024-08-31 10:42:15 +02:00
Maxim Cournoyer
29d5767343
gnu: git-minimal: Avoid depending on (guix search-paths).
This is a follow up commit to 48e528a26f, following discussions in
<https://issues.guix.gnu.org/65924#96>.

* gnu/packages/version-control.scm (git-minimal)
[arguments] <imported-modules>: Remove.
<modules>: Remove (guix search-paths); add (ice-9 format).
<phases>: Rewrite PATH-variable-definition in the patch-commands
phase to avoid the use of (guix search-paths).

Suggested-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I01a3c4be780f11434200c6f47739dc52a75ea51a
2024-08-31 10:42:15 +02:00
Maxim Cournoyer
4ed3e46715
gnu: git-minimal/pinned: Update to 2.41.0.
* gnu/packages/version-control.scm (git-minimal/pinned): Update to 2.41.0.

Change-Id: I019bcd3943c727581782645bad646192affa8672
2024-08-31 10:42:15 +02:00
Efraim Flashner
b81b3d5fbe
gnu: nss: Set CCC unconditionally.
* gnu/packages/nss.scm (nss)[arguments]: Set CCC unconditionally in the
'configure phase.
2024-08-31 10:42:15 +02:00
Efraim Flashner
6f44258088
gnu: texlive-scripts: Add source file-name.
* gnu/packages/tex.scm (texlive-scripts)[source]: Add file-name field.
2024-08-31 10:42:15 +02:00
gemmaro
d8a0aefae1
gnu: po4a: Enable SGML format.
* gnu/packages/gettext.scm (po4a): Enable SGML format.
[arguments]<phases>: Remove disable-failing-tests phase.
[native-inputs]: Add docbook-sgml-4.1. Remove libxml2.
[inputs]: Add opensp.

Modified-by: Bruno Victal <mirai@makinata.eu>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:15 +02:00
Bruno Victal
04b6408bbd
gnu: Remove docbook-xsl-1.79.1.
* gnu/packages/docbook.scm (docbook-xsl-1.79.1): Remove variable.
* gnu/packages/gnome.scm (colord)[native-inputs]: Replace with docbook-xsl.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:15 +02:00
Bruno Victal
443b911e95
gnu: Remove unneeded libxml2 from native-inputs. (gtk-doc)
The gtk-doc wrapped binaries use XML_CATALOG_FILES to perform XML catalog
lookup and come with docbook-xsl within the variable which fixes the
docbook-xsl stylesheet lookup related failures with these packages.
This makes it unnecessary to include libxml2 as the cause of error was usually
with the gtk-doc binaries.

* gnu/packages/gnome.scm (gupnp-igd, dee, zeitgeist, libnma)[native-inputs]:
Remove libxml2.
* gnu/packages/rpm.scm (libmodulemd)[native-inputs]: Ditto.
* gnu/packages/security-token.scm (libu2f-host)[native-inputs]: Ditto.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:14 +02:00
Bruno Victal
5a3ee6b78f
gnu: Remove unneeded libxml2 from native-inputs. (xmlto)
The native-search-paths from libxslt are reused within xmlto to provide
XML_CATALOG_FILES and SGML_CATALOG_FILES so it's unnecessary to include
libxml2 for the same effect.

* gnu/packages/wm.scm (i3status, awesome)[native-inputs]: Remove libxml2.
* gnu/packages/xml.scm (opensp)[native-inputs]: Ditto.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:14 +02:00
Bruno Victal
a68d52a000
gnu: Remove unneeded libxml2 from native-inputs. (libxslt)
XML_CATALOG_FILES is already set within libxslt so it's unnecessary to include
libxml2 for the same effect.

* gnu/packages/freedesktop.scm (wayland): Remove obsolete comment.
(farstream, elogind, packagekit, accountsservice, plymouth)[native-inputs]:
Remove libxml2.
* gnu/packages/benchmark.scm (sysbench)[native-inputs]: Ditto.
* gnu/packages/cluster.scm (drbd-utils)[native-inputs]: Ditto.
* gnu/packages/glib.scm (dbus)[native-inputs]: Ditto.
* gnu/packages/gnome.scm (gnome-keyring, glade3, dconf, libsecret, colord)
(upower, gnome-settings-daemon)[native-inputs]: Ditto.
* gnu/packages/linux.scm (eudev)[native-inputs]: Ditto.
* gnu/packages/networking.scm (iputils)[native-inputs]: Ditto.
* gnu/packages/ocr.scm (tesseract-ocr)[native-inputs]: Ditto.
* gnu/packages/polkit.scm (polkit)[native-inputs]: Ditto.
* gnu/packages/samba.scm (samba/pinned)[native-inputs]: Ditto.
* gnu/packages/sssd.scm (adcli)[native-inputs]: Ditto.
* gnu/packages/terminals.scm (kmscon)[native-inputs]: Ditto.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ica3fb5a8e23ad928c53ae508c02777d78c635af0
2024-08-31 10:42:14 +02:00
Bruno Victal
1817f5cf4b
gnu: perf: Remove libxml2.
XML_CATALOG_FILES is already set within xmlto which is a requirement for
building the documentation.

Note: perf depends on zlib which was propagated by libxml2 so we must re-add
it here.

* gnu/packages/linux.scm (perf)[inputs]: Remove libxml2. Add zlib. Relocate
docbook-xsl, xmlto and asciidoc to …
[native-inputs]: … here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:14 +02:00
Bruno Victal
bb29bb20ac
gnu: libstdc++-doc: Build libstdc++ info documentation.
* gnu/packages/patches/gcc-13.2.0-libstdc++-docbook-xsl-uri.patch: New file.
* gnu/packages/patches/gcc-13.2.0-libstdc++-info-install-fix.patch: Ditto.
* gnu/packages/patches/gcc-5.5.0-libstdc++-xmlcatalog.patch: Ditto.
* gnu/local.mk: Register them.
* gnu/packages/gcc.scm
(gcc-5)[source]: Use gcc-5.5.0-libstdc++-xmlcatalog.patch,
gcc-13.2.0-libstdc++-docbook-xsl-uri.patch and
gcc-13.2.0-libstdc++-info-install-fix.patch.
(gcc-9)[source]: Use gcc-13.2.0-libstdc++-docbook-xsl-uri.patch and
gcc-13.2.0-libstdc++-info-install-fix.patch.
(make-libstdc++-doc)[arguments]<#:phases>: Remove 'set-xsl-directory.
Adjust 'build and 'install for info documentation and to respect make-flags.
[native-inputs]: Add docbook2x.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ie3b9de0328a10efadb28d211c3fe03f9b7aaf87f
2024-08-31 10:42:14 +02:00
Bruno Victal
f99112099d
gnu: libstdc++-doc: Rewrite with G-Expressions.
* gnu/packages/gcc.scm (make-libstdc++-doc): Rewrite arguments with
G-Expressions.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Idc8da964b7d777e0459c731625296ccd96546fa7
2024-08-31 10:42:14 +02:00
Bruno Victal
af765e47ae
gnu: gtk-doc: Remove leftovers.
No longer needed, package passes tests without these parameters.

* gnu/packages/gtk.scm (gtk-doc)[arguments]<#:parallel-tests?>: Re-enable.
<#:phases>: Remove 'disable-failing-tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:14 +02:00
Bruno Victal
443965fee1
gnu: gtk-doc: Wrap XML_CATALOG_FILES.
Prefer XML catalog resolution over substitutions on XML files.

* gnu/packages/gtk.scm (gtk-doc)[arguments]<#:phases>: Remove
'patch-gtk-doc-scan. Wrap XML_CATALOG_FILES within 'wrap-executables.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:13 +02:00
Bruno Victal
f9660a2cfa
gnu: gtk-doc: Rewrite with G-Expressions.
* gnu/packages/gtk.scm (gtk-doc): Rewrite with G-Expressions.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:13 +02:00
Bruno Victal
ea6595badf
gnu: git: Drop docbook workarounds.
* gnu/packages/version-control.scm (git)[arguments]<#:phases>: Drop
docbook-xsl related substitution.
[native-inputs]: Add docbook-xml-4.5.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:13 +02:00
Bruno Victal
ee33cb893e
gnu: gdcm: Build manpages.
* gnu/packages/bioinformatics.scm (gdcm)[arguments]<#:configure-flags>:
Re-enable manpages.
[native-inputs]: Add libxslt.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:13 +02:00
Bruno Victal
cc30f8537d
gnu: tunctl: Update comment.
The actual dependency is docbook-to-man which is a completely different
project [1]. (unrelated to docbook2x and docbook-utils)

[1]: <https://www.oasis-open.org/docbook/tools/dtm/>

* gnu/packages/networking.scm (tunctl): Update comment.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:13 +02:00
Bruno Victal
b8a254ceaa
gnu: alsa-utils: Rewrite with G-Expressions.
* gnu/packages/linux.scm (alsa-utils)[arguments]: Rewrite with G-Expressions.
<#:phases>: Drop obsolete 'disable-broken-test phase. Drop trailing #t.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:13 +02:00
Bruno Victal
55ce97b138
gnu: alsa-utils: Build manpages.
* gnu/packages/linux.scm (alsa-utils)[arguments]<#:configure-flags>: Re-enable
xmlto for building manpages.
[inputs]: Move xmlto to …
[native-inputs]: … here and restyle. Add docbook-xml-4.2 and docbook-xsl.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:13 +02:00
Bruno Victal
b1fde7621e
gnu: libnotify: Split documentation.
* gnu/packages/gnome.scm (libnotify)[arguments]<#:phases>: Add 'move-doc
phase.
[outputs]: Add 'doc output.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I59bd0bf321e42c6f64eb16844c14f4982ed2dd87
2024-08-31 10:42:13 +02:00
Bruno Victal
ab2dd0419a
gnu: libnotify: Drop docbook workarounds.
* gnu/packages/gnome.scm (libnotify)[arguments]<#:phases>: Drop 'fix-docbook
phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:12 +02:00
Bruno Victal
157cdce9c3
gnu: iputils: Restyle description and native-inputs.
* gnu/packages/networking.scm (iputils)[native-inputs]: Reorder inputs.
[description]: Use @table over @itemize.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:12 +02:00
Bruno Victal
4c9d88a18b
gnu: iputils: Use docbook-xml-5.0.1.
* gnu/packages/networking.scm (iputils)[native-inputs]: Use docbook-xml-5.0.1
over docbook-xml.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:12 +02:00
Bruno Victal
04372ec0d1
gnu: vmpk: Drop docbook workaround.
* gnu/packages/music.scm (vmpk)[arguments]<#:phases>: Drop 'fix-docbook
phase.
[native-inputs]: Add docbook-xml-4.4.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:12 +02:00
Bruno Victal
3e8ef02650
gnu: drumstick: Drop docbook workaround.
* gnu/packages/music.scm (drumstick)[arguments]<#:phases>: Drop 'fix-docbook
phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:12 +02:00
Bruno Victal
44d6542e4b
gnu: tdb: Build manpages.
* gnu/packages/databases.scm (tdb)[native-inputs]: Add docbook-xsl and
libxslt.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:12 +02:00
Bruno Victal
28bfbdb74a
gnu: sssd: Drop xmllint workaround.
* gnu/packages/sssd.scm (sssd)[arguments]<#:make-flags>: Drop XMLLINT_FLAGS.
[native-inputs]: Add docbook-xml-4.4.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:12 +02:00
Bruno Victal
3301459034
gnu: gnome-session: Remove libxml2.
Observations:
1. No longer required for XML_CATALOG_FILES.
   These are already adequately set within the used dependencies

2. It's not required for gnome-session but by libxkbcommon.
   libxkbcommon was fixed to convey this by use of a symlink.

2.1. Shouldn't count as a native-input but as a regular input.
     … since this is a dependency for xkbregistry (from libxkbcommon).

* gnu/packages/gnome.scm (gnome-session)[native-inputs]: Remove libxml2.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ie2300d1c24c03223a6adeba8bd7c415b5bc677b0
2024-08-31 10:42:12 +02:00
Bruno Victal
abad61d6f5
gnu: libxkbcommon: Faux propagate libxml2.
xkbregistry.pc lists libxml2 as a requirement.
Use a symlink for the libxml-2.0.pc to avoid setting libxml2 as a
propagated-input.

* gnu/packages/xdisorg.scm (libxkbcommon)[arguments]<#:phases>: Add
symlink-pc.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:11 +02:00
Bruno Victal
01daea59c5
gnu: libxkbcommon: Add doc output.
* gnu/packages/xdisorg.scm (libxkbcommon)[arguments]: Restyle.
<#:phases>: Add 'move-doc.
[outputs]: Add doc.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I28ed23167f24e2cc3e29c0de3507fe76cf0fb5d2
2024-08-31 10:42:11 +02:00
Bruno Victal
7fb994ebbf
gnu: metapixel: Rewrite with G-Expressions.
* gnu/packages/image-processing.scm (metapixel)[arguments]: Rewrite with
G-Expressions.
[inputs, native-inputs]: Drop labels.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:11 +02:00
Bruno Victal
775c41827c
gnu: metapixel: Drop docbook workaround.
* gnu/packages/image-processing.scm (metapixel)[arguments]<#:phases>: Drop
'make-local-docbook-xml phase.
[native-inputs]: Use docbook-xml-4.2 instead of docbook-xml.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:11 +02:00
Bruno Victal
27b60ae829
gnu: gnome-session: Build documentation.
* gnu/packages/gnome.scm (gnome-session)[native-inputs]: Replace docbook-xml
with docbook-xml-4.1.2.
[arguments]<#:configure-flags>: Build documentation.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:11 +02:00
Bruno Victal
653c40aedd
gnu: git-crypt: Remove docbook workarounds.
* gnu/packages/version-control.scm (git-crypt)[arguments]: Use G-Expressions.
<#:phases>: Refactored into …
<#:make-flags>: … here.
[native-inputs]: Add docbook-xml-4.2.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:11 +02:00
Bruno Victal
75edbd4f1e
gnu: gtk: Drop docbook workaround.
* gnu/packages/gtk.scm (gtk)[arguments]<#:phases>: Drop docbook workaround.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:11 +02:00
Bruno Victal
657e0209b6
gnu: criu: Drop xmlto workaround.
* gnu/packages/virtualization.scm (criu)[arguments]<#:phases>: Remove
'fix-documentation phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:10 +02:00
Bruno Victal
89beef2b62
gnu: colord-gtk: Build documentation.
* gnu/packages/freedesktop.scm (colord-gtk): Build documentation.
[arguments]<#:configure-flags>: Remove.
<#:phases>: Add 'split-package phase.
[native-inputs]: Add docbook-xsl, gtk-doc/stable and libxslt.
[outputs]: Add 'doc output.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:10 +02:00
Bruno Victal
b51b96dc60
gnu: udisks: Drop docbook workaround.
XML_CATALOG_FILES is already set by xsltproc.

* gnu/packages/freedesktop.scm (udisks)[arguments]<#:make-flags>: Remove.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:10 +02:00
Bruno Victal
1eba27f29a
gnu: udisks: Rewrite using G-Expressions.
* gnu/packages/freedesktop.scm (udisks)[arguments]: Rewrite using
G-Expressions. Drop trailing #t.
[native-inputs]: Drop labels.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:10 +02:00
Bruno Victal
796b78d684
gnu: xdg-user-dirs: Drop docbook workaround.
* gnu/packages/freedesktop.scm (xdg-user-dirs)[arguments]: Remove.
[native-inputs]: Remove labels.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:10 +02:00
Bruno Victal
78bd62abaa
gnu: xdg-utils: Drop docbook workarounds.
* gnu/packages/freedesktop.scm (xdg-utils)[arguments]<#:phases>: Drop
locate-catalog-files.
[modules]: Properly import gnu-build-system modules.
[native-inputs]: Reorder.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I47f00f5901649b6e530a544fee97f41fa66c6572
2024-08-31 10:42:10 +02:00
Bruno Victal
8ca7d9eef7
gnu: secilc: Drop xmlto workaround.
The xmlto error[1] was due to libsepol using an unversioned PUBLIC identifier
for DocBook 4.2.

[1]: <https://pagure.io/xmlto/blob/6fa6a0e07644f20abf2596f78a60112713e11cbe/f/FAQ>

* gnu/packages/patches/libsepol-versioned-docbook.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/selinux.scm (libsepol)[source]: Apply it.
(secilc)[arguments]: Drop xmlto workaround.
[native-inputs]: Add docbook-xml-4.2.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I152dd7a30b2a310ed6589133bc98f5eef8a190a1
2024-08-31 10:42:10 +02:00
Bruno Victal
1e41770dfe
gnu: gtk-doc: Add libxslt native-search-paths to its own.
Grepping through the built package, gtk-doc invokes 'xsltproc' so we add
%libxslt-search-paths to native-search-paths in order for 'xsltproc' to find
the XML/SGML catalog files.

* gnu/packages/gtk.scm (gtk-doc)[native-search-paths]: Add %libxslt-search-paths.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:10 +02:00
Bruno Victal
f678c5f932
gnu: xmlto: Add libxslt native-search-paths to its own.
Otherwise when xmlto invokes xsltproc it will fail to find the XML catalog
files.

* gnu/packages/xml.scm (xmlto)[native-search-paths]: Add libxslt
native-search-paths to its own.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:09 +02:00
Bruno Victal
3fab3a6439
gnu: xmlto: Rewrite with G-Expressions.
* gnu/packages/xml.scm (xmlto)[arguments]: Rewrite with G-Expressions.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:09 +02:00
Bruno Victal
7722ca5f41
gnu: lilypond: Use dblatex/stable.
* gnu/packages/music.scm (lilypond)[native-inputs]: Replace dblatex with
dblatex/stable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:09 +02:00