~ruther/guix-local

ref: 653c40aeddcbbced439d1f4720dd39bf064a2267 guix-local/gnu d---------
653c40ae — Bruno Victal 2 years ago
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>
75edbd4f — Bruno Victal 2 years ago
gnu: gtk: Drop docbook workaround.

* gnu/packages/gtk.scm (gtk)[arguments]<#:phases>: Drop docbook workaround.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
657e0209 — Bruno Victal 2 years ago
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>
89beef2b — Bruno Victal 2 years ago
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>
b51b96dc — Bruno Victal 2 years ago
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>
1eba27f2 — Bruno Victal 2 years ago
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>
796b78d6 — Bruno Victal 2 years ago
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>
78bd62ab — Bruno Victal 2 years ago
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
8ca7d9ee — Bruno Victal 2 years ago
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
1e41770d — Bruno Victal 2 years ago
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>
f678c5f9 — Bruno Victal 2 years ago
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>
3fab3a64 — Bruno Victal 2 years ago
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>
7722ca5f — Bruno Victal 2 years ago
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>
4a82b3f9 — Bruno Victal 2 years ago
gnu: dblatex: Fix missing texlive binaries and fig2dev.

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>
Change-Id: I4fb2e1f894b98a4e33a0438a1dda569eeb9eae81
1ddb4dde — Bruno Victal 2 years ago
gnu: Add docbook-mathml-1.0.

* gnu/packages/docbook.scm (docbook-mathml-1.0): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3c68b384 — Bruno Victal 2 years ago
gnu: dblatex: Split documentation.

* gnu/packages/docbook.scm (dblatex)[arguments]<#:phases>: Add 'move-doc.
[outputs]: Add doc.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
28f4fd9e — Bruno Victal 2 years ago
gnu: dblatex: Add libxslt native-search-paths to its own.

* gnu/packages/xml.scm (dblatex)[native-search-paths]: Set to
%libxslt-search-paths.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
74dd1ab7 — Bruno Victal 2 years ago
gnu: libxml2: Rewrite using G-Expressions.

* gnu/packages/xml.scm (libxml2): Use G-Expressions.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
268d3d09 — Bruno Victal 2 years ago
gnu: docbook2x: Use search-path-as-list for wrapping.

* 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>
9ae60156 — Bruno Victal 2 years ago
gnu: docbook2x: Set search-paths for XML and SGML catalogs.

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>
Next