* guix/import/texlive.scm (texlive-repository):
(texlive-repository-location):
(svn-command):
(version->revision):
(current-day):
(latest-texlive-tag):
(texlive->svn-multi-reference): New variables.
(tlpdb-file) Remove function.
(tlpdb): Add VERSION argument.
* guix/import/texlive.scm (list-upstream-inputs): Add VERSION and DATABASE
arguments.
(tlpdb->package): Do not use fixed version. Instead, make use of the version
provided as an argument. Add DATABASE argument for testing.
(texlive->guix-package): Do not memoize. Allow providing any TeX Live release
tag as version. Default to latest tag. Add DATABASE argument for testing.
Improve docstring.
* tests/texlive.scm ("texlive->guix-package, no docfiles"):
("texlive->guix-package"):
("texlive->guix-package, with METAFONT files"):
("texlive->guix-package, with catalogue entry, no inputs"):
("texlive->guix-package, multiple licenses"):
("texlive->guix-package, meta-package"):
("texlive->guix-package, with TeX format"):
("texlive->guix-package, execute but no TeX format"):
("texlive->guix-package, translate dependencies"):
("texlive->guix-package, lonely `hyphen-base' dependency and ARCH"):
("texlive->guix-package, single script, no extension"):
("texlive->guix-package, multiple scripts, with extensions"):
("texlive->guix-package, script with associated input"):
("texlive->guix-package, propagated binaries, no script"):
("texlive->guix-package, propagated binaries and scripts"):
("texlive->guix-package, with skipped propagated binaries"): Update tests.
Change-Id: I7576b6e31e9ec3ff84258b71d0c4dd180d2b5c38
* guix/import/texlive.scm (list-upstream-inputs):
(upstream-inputs->texlive-inputs): New functions.
(tlpdb->package): Use new functions.
Use <upstream-input> record to store associated inputs.
Change-Id: I70d42d291347feaade36eef83a04218fb100aae9
* gnu/packages/sphinx.scm (python-sphinx)[propagated-inputs]: Add
TEXLIVE-SCHEME-BASIC in order to propagate an autonomous TeX Live tree. Also
add TEXLIVE-ANYFONTSIZE, TEXLIVE-CM-SUPER, TEXLIVE-FONTSPEC, TEXLIVE-LUATEX85,
TEXLIVE-LUATEXBASE, TEXLIVE-POLYGLOSSIA and TEXLIVE-TEX-GYRE. Remove
TEXLIVE-AMSFONTS, TEXLIVE-AMSMATH, TEXLIVE-CARLISLE, TEXLIVE-FANCYHDR,
TEXLILVE-GEOMETRY, TEXLIVE-HYPERREF, TEXLIVE-KVOPTIONS, TEXLIVE-LATEX-BIN,
TEXLIVE-LTXCMDS, TEXLIVE-OBERDIEK and TEXLIVE-TOOLS, all included in
TEXLIVE-SCHEME-BASIC.
[native-inputs]: Add FONTCONFIG, FONT-GNU-FREEFONT, TEXLIVE-CM-SUPER, and
TEXLIVE-TEX-GYRE. Also call TEXLIVE-UPMAP.CFG to generate proper font maps
during tests.
Change-Id: Ifc5c5eb37ea6568c5a602ddff66dc8a92a1a6072
* gnu/packages/tex.scm (texlive-docstrip): Export it.
(texlive-atveryend)[native-inputs]:
(texlive-graphics)[native-inputs]:
(texlive-l3kernel)[native-inputs]:
(texlive-l3backend)[native-inputs]:
(texlive-l3packages)[native-inputs]:
(texlive-lualibs)[native-inputs]:
(texlive-babel)[native-inputs]:
(texlive-cyrillic)[native-inputs]:
(texlive-firstaid)[native-inputs]:
(texlive-atbegshi)[native-inputs]: Use TEXLIVE-LATEX instead of
TEXLIVE-DOCSTRIP (and possibly TEXLIVE-PDFTEX).
(texlive-hyphen-complete)[arguments]<#:phases>: Add a phase to include
"docstrip.tex" in the build process.
[native-inputs]: Replace TEXLIVE-DOCSTRIP with TEXLIVE-LATEX checkout.
(texlive-docstrip): Remove variable.
Change-Id: Id6ae34787acc2956cb51dcdd403b332ac6d1ba94
* guix/import/texlive.scm (no-bin-propagation-packages): New variable.
(list-binfiles): New function.
(linked-scripts): Renamed to...
(list-linked-scripts): ... this. Now always return a list.
(tlpdb->package): Handle binary propagation.
* tests/texlive.scm (%fake-tlpdb): Add data for new tests.
("texlive->guix-package, propagated binaries, no script"):
("texlive->guix-package, propagated binaries and scripts"):
("texlive->guix-package, with skipped propagated binaries"): New tests.
Change-Id: I707ba33a10aa98ad27151724d3ecc4158db6b7cc
* gnu/packages/tex.scm (texlive-xindy-bin): New variable.
(texlive-xindy): Use source from TEXLIVE-ORIGIN and make it a regular TeX
Live package.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-XINDY-BIN.
Change-Id: I589b192dcd8fb35deab5d4017c411001a4d05dda
* gnu/packages/tex.scm (texlive-axodraw2-bin): New variable.
(texlive-axodraw2): Use source from TEXLIVE-SOURCE and make it a regular TeX
Live package.
[arguments]: Remove it.
[inputs]: Remove OPENLIBM.
[propagated-inputs]: Add TEXLIVE-AXODRAW2-BIN.
Change-Id: I119617e48ef419e4e09887002a29a591eaa27e9e
* gnu/packages/tex.scm (texlive-musixtnt-bin): New variable.
(texlive-musixtnt): Do not use prerex source. Make it a regular TeX Live
package instead.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-MUSIXTNT-BIN.
Change-Id: I24bbdb6ba5cc2b5205e20db9fdeb1c00f08a9d82
* gnu/packages/tex.scm (texlive-dvipos-bin): New variable.
(texlive-dvipos): Do not inherit from TEXLIVE-BIN. Make it a regular TeX
Live package instead.
[source]: Use TEXLIVE-ORIGIN.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-DVIPOS-BIN.
Change-Id: I0f1e169b7f078e022b65a13045b24a11099e8303
* gnu/packages/tex.scm (texlive-ps2pk-bin): New variable.
(texlive-ps2pk): Do not inherit from TEXLIVE-BIN. Make it a regular TeX
Live package instead.
[source]: Use TEXLIVE-ORIGIN.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-PS2PK-BIN.
Change-Id: I73619d2d8254b0bba320a7c83408a024d7218964
* gnu/packages/tex.scm (texlive-dviout-util-bin): New variable.
(texlive-dviout-util): Do not inherit from TEXLIVE-BIN. Make it a regular TeX
Live package instead.
[source]: Use TEXLIVE-ORIGIN.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-DVIOUT-UTIL-BIN.
Change-Id: Id6c82baf15df8d253cd15aa6bd31d2d1e707c5fd
* gnu/packages/tex.scm (texlive-mflua-bin): New variable.
(texlive-mflua)[arguments]<#:link-scripts>: Remove keyword, since "fmlua.lua"
is a not meant to be symlinked to "bin/".
[propagated-inputs]: Add TEXLIVE-MFLUA-BIN.
Change-Id: I7dc275c169afbc4bdada02feec83fa9470d49f94
* gnu/packages/tex.scm (texlive-luajittex-bin): New variable.
(texlive-luajittex)[arguments]<#:create-formats>: Build "luajithbtex" and
"luajittex" formats only on platforms where LuaJIT is supported.
[propagated-inputs]: Likewise, only add TEXLIVE-LUAJITTEX-BIN on such
platforms.
Change-Id: I7ce923642268e0db12802f368042703f14dc4a64
* gnu/packages/tex.scm (texlive-kpathsea)[propagated-inputs]: Add TEXLIVE-LIBKPATHSEA.
* gnu/packages/tex.scm (texlive-collection-basic): Update comment about
TEXLIVE-BIN, since GUIX_TEXMF is now specifed by TEXLIVE-KPATHSEA.
Change-Id: I2a5a39d7980f835fa3cdb819c7fbade7e48802ce
* gnu/packages/tex.scm (texlive-chktex-bin): New variable.
(texlive-chktex)[arguments]<#:link-scripts>: Remove as those are now provided
by TEXLIVE-CHKTEX-BIN.
[inputs]: Remove PERL.
[propagated-inputs]: Add TEXLIVE-CHKTEX-BIN.
Change-Id: If9801ba8bf677899c6e96b20d17f2f41da0fdc50
* gnu/packages/tex.scm (texlive-tex4ht-bin): New variable.
(texlive-tex4ht)[arguments]<#:link-scripts>: Remove as those are now provided by
TEXLIVE-TEX4HT-BIN.
[inputs]: Remove PERL.
[propagated-inputs]: Add TEXLIVE-TEX4HT-BIN.
Change-Id: Ib9a677d61a86419db4f5d60401566d340fbcf80d
* gnu/packages/tex.scm (texlive-psutils-bin): New variable.
(texlive-psutils)[arguments]<#:link-scripts>: Remove as those are now provided
by TEXLIVE-PSUTILS-BIN.
[inputs]: Remove PERL.
[propagated-inputs]: Add TEXLIVE-PSUTILS-BIN.
Change-Id: I9435ed4216237893e503487f94c42ad9cc8c268f