summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-10gnu: colord-gtk: Build documentation.Bruno Victal
* 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>
2023-10-10gnu: udisks: Drop docbook workaround.Bruno Victal
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>
2023-10-10gnu: udisks: Rewrite using G-Expressions.Bruno Victal
* 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>
2023-10-10gnu: xdg-user-dirs: Drop docbook workaround.Bruno Victal
* gnu/packages/freedesktop.scm (xdg-user-dirs)[arguments]: Remove. [native-inputs]: Remove labels. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: xdg-utils: Drop docbook workarounds.Bruno Victal
* 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>
2023-10-10gnu: secilc: Drop xmlto workaround.Bruno Victal
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>
2023-10-10gnu: gtk-doc: Add libxslt native-search-paths to its own.Bruno Victal
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>
2023-10-10gnu: xmlto: Add libxslt native-search-paths to its own.Bruno Victal
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>
2023-10-10gnu: xmlto: Rewrite with G-Expressions.Bruno Victal
* gnu/packages/xml.scm (xmlto)[arguments]: Rewrite with G-Expressions. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: lilypond: Use dblatex/stable.Bruno Victal
* gnu/packages/music.scm (lilypond)[native-inputs]: Replace dblatex with dblatex/stable. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: dblatex: Fix missing texlive binaries and fig2dev.Bruno Victal
The binaries for dblatex aren't provided by texlive-updmap.cfg but by texlive-bin. * gnu/packages/patches/dblatex-inkscape-1.0.patch: New file. * gnu/local.mk: Register it. * gnu/packages/docbook.scm (dblatex)[source]: Use dblatex-inkscape-1.0.patch. [arguments]<#:tests?>: Enable tests. <#:phases>: Rename 'set-path to 'wrap-dblatex. Wrap with texlive-bin rather than texlive-updmap.cfg in PATH and wrap GUIX_TEXMF in 'wrap-dblatex. Add 'check-wrap phase. [native-inputs]: Add docbook-mathml-1.0. [inputs]: Restyle. Add texlive-bin. Replace inkscape/stable with inkscape. Within texlive-updmap.cfg add previously missing: texlive-amsmath, texlive-auxhook, texlive-bigintcalc, texlive-bin, texlive-bitset, texlive-bookmark, texlive-colortbl, texlive-courier, texlive-eepic, texlive-epstopdf-pkg, texlive-eso-pic, texlive-etexcmds, texlive-fancyhdr, texlive-gettitlestring, texlive-graphics, texlive-graphics-cfg, texlive-helvetic, texlive-hycolor, texlive-hyperref, texlive-infwarerr, texlive-intcalc, texlive-kpathsea, texlive-kvdefinekeys, texlive-kvoptions, texlive-kvsetkeys, texlive-l3backend, texlive-latex, texlive-latex-bin, texlive-letltxmacro, texlive-ltxcmds, texlive-pdfescape, texlive-pdflscape, texlive-pdftexcmds, texlive-psnfss, texlive-rerunfilecheck, texlive-symbol, texlive-times, texlive-tools, texlive-uniquecounter, texlive-url and texlive-zapfding. Add fig2dev. (dblatex/stable)[inputs]: Replace inkscape with inkscape/stable. Co-authored-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: Add docbook-mathml-1.0.Bruno Victal
* gnu/packages/docbook.scm (docbook-mathml-1.0): New variable. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: dblatex: Split documentation.Bruno Victal
* gnu/packages/docbook.scm (dblatex)[arguments]<#:phases>: Add 'move-doc. [outputs]: Add doc. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: dblatex: Add libxslt native-search-paths to its own.Bruno Victal
* gnu/packages/xml.scm (dblatex)[native-search-paths]: Set to %libxslt-search-paths. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: libxml2: Rewrite using G-Expressions.Bruno Victal
* gnu/packages/xml.scm (libxml2): Use G-Expressions. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook2x: Use search-path-as-list for wrapping.Bruno Victal
* gnu/packages/docbook.scm (docbook2x)[arguments]<#:phases>: Refactor 'wrap-programs phase to use search-path-as-list. <#:modules>: Add (srfi srfi-26). Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook2x: Set search-paths for XML and SGML catalogs.Bruno Victal
According to the manpage, it has both XML and SGML catalog support through the XML_CATALOG_FILES (resp. SGML_CATALOG_FILES) environment variables through db2x_xsltproc. * gnu/packages/docbook.scm (docbook2x)[arguments]<#:phases>: Don't hardcode XML_CATALOG_FILES environmment variable. [native-search-paths]: Add %libxslt-search-paths. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook2x: Split documentation.Bruno Victal
* gnu/packages/docbook.scm (docbook2x)[arguments]<#:phases>: Add 'move-doc phase. [outputs]: Add 'doc output. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook2x: Fix sgml2xml-isoent and add test dependencies.Bruno Victal
* gnu/packages/docbook.scm (docbook2x)[arguments]<#:phases>: Add 'sgml-check phase. [inputs]: Add opensp. [native-inputs]: Add docbook-xml-4.1.2, docbook-xml-4.2, docbook-xml-4.4, tidy-html, groff-minimal and libxml2. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook2x: Import patches from debian.Bruno Victal
* gnu/packages/docbook.scm (docbook2x)[source]: Import patches from debian. Prefer patching in source over 'patch-sources phase. Drop docbook-xml workaround. [arguments]<#:phases>: Drop 'patch-sources. [inputs]: Move after arguments. Remove docbook-xml-4.5. [natine-inputs]: Add autoconf, automake and libtool. * gnu/packages/patches/docbook2x-filename-handling.patch: New file. * gnu/packages/patches/docbook2x-fix-synopsis.patch: Ditto. * gnu/packages/patches/docbook2x-manpage-typo.patch: Ditto. * gnu/packages/patches/docbook2x-preprocessor-declaration.patch: Ditto. * gnu/packages/patches/docbook2x-static-datadir-evaluation.patch: Ditto. * gnu/local.mk: Register it. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook-utils: Import patches from debian.Bruno Victal
* gnu/packages/docbook.scm (docbook-utils)[source]: Import patches from debian. Drop snippet for patching OpenSP and OpenJade. [native-inputs]: Add autoconf, automake and libtool. * gnu/packages/patches/docbook-utils-documentation-edits.patch: New file. * gnu/packages/patches/docbook-utils-escape-characters.patch: Ditto. * gnu/packages/patches/docbook-utils-remove-jade-sp.patch: Ditto. * gnu/packages/patches/docbook-utils-respect-refentry-for-name.patch: Ditto. * gnu/packages/patches/docbook-utils-source-date-epoch.patch: Ditto. * gnu/packages/patches/docbook-utils-use-date-element.patch: Ditto. * gnu/local.mk: Register them. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook: Remove leftovers.Bruno Victal
docbook-xsl patches are probably remnants from 1f7d94597f1e78776f854eeca46c03a3aded8466. * gnu/packages/docbook.scm: Remove unused import. * gnu/packages/patches/docbook-xsl-nonrecursive-string-subst.patch: Remove. * gnu/packages/patches/docbook-xsl-support-old-url.patch: Ditto. * gnu/local.mk: Unregister it. * gnu/packages/moreutils.scm (moreutils)[native-inputs]: Drop obsolete comment. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook-xsl: Add rewrite entries for http.Bruno Victal
Refactored 'patch-catalog.xml to reduce code duplication. The catalog for docbook-xsl hosted on the CDN [1] have entries for the 'http' scheme yet when building from source only 'https' entries are generated. Patch the XML catalog to provide them both. [1]: <https://cdn.docbook.org/release/xsl/current/catalog.xml> * gnu/packages/docbook.scm (docbook-xsl)[arguments]<#:phases>: Rename 'patch-catalog-xml to 'patch-catalog.xml. Refactor this phase for deduplication and add 'https' entries. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook-xsl: Add compatibility entry.Bruno Victal
Remap "http://docbook.sourceforge.net/release/xsl-ns/" to "http://docbook.sourceforge.net/release/xsl/". * gnu/packages/docbook.scm (docbook-xsl)[arguments]<#:phases>: Add compatibility entry. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook-xml-5.1: Fix URIs in catalog.xml.Bruno Victal
* gnu/packages/docbook.scm (docbook-xml-5.1)[source]: Patch version in URI. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: Add docbook-xml-5.0.1.Bruno Victal
* gnu/packages/docbook.xml (docbook-xml-5.0.1): New variable. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-10gnu: docbook-xml: Fix installation paths.Bruno Victal
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>
2023-10-10gnu: libxslt: Set search-paths for XML and SGML catalogs.Bruno Victal
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>
2023-10-10gnu: libxml2: Add $SGML_CATALOG_FILES to native-search-path.Bruno Victal
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
2023-10-10search-paths: Add $XML_CATALOG_FILES and $SGML_CATALOG_FILES.Bruno Victal
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>
2023-10-10Partial revert d3a0869e9b667d563e7e877c93f30a70896c5831.Bruno Victal
This reconciles the changes from d3a0869e9b667d563e7e877c93f30a70896c5831 and a2ee092ff2f3c37be0d47fc19e6cd7aa84bd9490. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-09build: utils: Raise error in modify-phases upon missing key.Carlo Zancanaro
* 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
2023-10-09gnu: git: Install zsh completions and git-prompt.Liliana Marie Prikler
* 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
2023-10-09gnu: git-minimal: Add coreutils and sed to PATH.Maxim Cournoyer
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
2023-10-09gnu: git: Invert inheritance relationship.Maxim Cournoyer
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
2023-10-09gnu: git: Remove labels and use gexps.Maxim Cournoyer
* 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
2023-10-09gnu: socat: Update to 1.7.4.4.Bruno Victal
* 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>
2023-10-09gnu: perl-xml-xpath: Update to 1.48.Bruno Victal
* 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>
2023-10-09gnu: perl-xml-xpath: Wrap xpath command.Bruno Victal
* 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>
2023-10-05nls: Sync .po files from master.Maxim Cournoyer
Something went wrong in the last merge, and the .po files contained errors.
2023-10-05gnu: %objc++-search-paths: Express using $LIBRARY_PATH.Maxim Cournoyer
* gnu/packages/gcc.scm (%objc++-search-paths): Express using $LIBRARY_PATH.
2023-10-05gnu: gccgo-4.9: Express search paths via (guix search-paths) variables.Maxim Cournoyer
* gnu/packages/gcc.scm (gccgo-4.9) [native-search-paths]: Express search paths via (guix search-paths) variables.
2023-10-05gnu: gcc-2.95: Express search paths via (guix search-paths) variables.Maxim Cournoyer
* gnu/packages/gcc.scm (gcc-2.95) [native-search-paths]: Express search paths via (guix search-paths) variables.
2023-10-05gnu: gcc-4.7: Use %gcc-search-paths for native-search-paths.Maxim Cournoyer
* gnu/packages/gcc.scm (gcc-4.7) [native-search-paths]: Use %gcc-search-paths.
2023-10-05Merge remote-tracking branch 'origin/master' into core-updatesMaxim Cournoyer
2023-10-05doc: Update bug-reference configuration snippet.Mekeor Melire
* doc/contributing.texi (The Perfect Setup) <Viewing Bugs within Emacs>: Make bug-reference-bug-regexp match more URLs based on issues.guix.gnu.org. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Suggested-by: Simon Tournier <zimon.toutoune@gmail.com>
2023-10-05gnu: Add cgit-pink.Arun Isaac
* gnu/packages/version-control.scm (cgit-pink): New variable.
2023-10-05gnu: cgit: Fix cross compilation.Arun Isaac
* gnu/packages/version-control.scm (cgit)[native-inputs]: Move bzip2, gzip and xz to ... [inputs]: ... here. Add bash-minimal. [arguments]: Use cc-for-target.
2023-10-05gnu: cgit: Update package style.Arun Isaac
* gnu/packages/version-control.scm (cgit)[arguments]: Rewrite using G-expressions. Do not return #t from custom phases.
2023-10-05gnu: python-pynetbox: Update to 7.2.0.Mathieu Othacehe
* gnu/packages/python-web.scm (python-pynetbox): Update to 7.2.0.