This makes "texi2any --epub3" work out of the box.
Reported by BitPuffin on #guile.
* gnu/packages/texinfo.scm (texinfo-7)[inputs, arguments]: New fields.
Fixes a regression introduced in
a3264f31df9774ea514e18ed8e7b6bcb44061edc.
Reported by Mathieu Othacehe <othacehe@gnu.org>.
* gnu/packages/texinfo.scm (texinfo)[arguments]: Change #:tests? to not
run tests when cross-compiling.
This allows doing "guix shell --pure info-reader guile -- info guile".
* gnu/packages/texinfo.scm (info-reader)[arguments]: Add
'absolute-binary-path' phase to refer to gzip by the absolute store
file name.
[inputs]: Add 'gzip'.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
info-reader inherits from texinfo and uses substitute-keyword-arguments. If no
phases are defined in texinfo, then phases won't be modified in info-reader.
* gnu/packages/texinfo.scm (texinfo)[arguments]: Use %standard-phases when not
cross-compiling so that substitute-keyword-arguments behaves as expected in
inherited packages.
* gnu/packages/texinfo.scm (texinfo)[inputs]: Add perl. This makes the host
texi2any (makeinfo) refer to the correct perl. To avoid triggering a rebuild,
do this while cross-compiling only.
This reverts commit 614a1e3fa2d731d4719f03912b1b87fb4fd309cb.
This is broken on master with the following error:
output (`/gnu/store/6rnhfi8zrdajbahbq9ii8bpj7mwfcjba-info-reader-6.6') is not
allowed to refer to path
`/gnu/store/ziinjmbnq004866mwjrczsk12wf35qb8-perl-5.30.0' build of
/gnu/store/nnfvr10713khxp1bkbpwi5wxbj8cm4wb-info-reader-6.6.drv failed View
build log at
'/var/log/guix/drvs/nn/fvr10713khxp1bkbpwi5wxbj8cm4wb-info-reader-6.6.drv.bz2'.
* gnu/packages/texinfo.scm (info-reader)[arguments]: Add keep-only-info-reader
phase to inherited texinfo package phases, so that fix-cross-configure phase
is preserved.
* gnu/packages/texinfo.scm (info-reader)[arguments]: Add keep-only-info-reader
phase to inherited texinfo package phases, so that fix-cross-configure phase
is preserved.
* gnu/packages/texinfo.scm (texinfo-4)[native-inputs]: Add automake and
native-inputs from texinfo package,
[arguments]: Replace outdated config.sub and config.guess by the ones
taken from automake above. Also make sure native tools are built before build
phase.
* gnu/packages/texinfo.scm (texinfo)[arguments]: Do not reset environment
before running configure with the native compiler, in a cross-compilation
context,
[inputs]: move perl from here ...
[native-inputs]: ... to here. Also add ncurses that is needed in a
cross-compilation context to build texinfo native tools.
* gnu/packages/texinfo.scm (texinfo)[arguments]: Do not reset environment
before running configure with the native compiler, in a cross-compilation
context,
[inputs]: move perl from here ...
[native-inputs]: ... to here. Also add ncurses that is needed in a
cross-compilation context to build texinfo native tools.
* gnu/packages/patches/texinfo-5-perl-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/texinfo.scm (texinfo-5)[source](patches): New field.
* gnu/packages/patches/texinfo-perl-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/texinfo.scm (texinfo)[source](patches): New field.