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
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.
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
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
gnu: nss: Set CCC unconditionally.
* gnu/packages/nss.scm (nss)[arguments]: Set CCC unconditionally in the
'configure phase.
gnu: texlive-scripts: Add source file-name.
* gnu/packages/tex.scm (texlive-scripts)[source]: Add file-name field.
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>
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>
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>
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>
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
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>
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
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
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>
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>
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>
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>
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>