guix-play/guix/build-system
Thiago Jung Bauermann 04e80290bf
gnu: TeX Live: Use IniTeX to build a couple of packages
The package texlive-latex-base in TeX Live 2021 will depend on
texlive-latex-l3kernel and texlive-latex-l3packages. Therefore we need to
remove their build dependency on texlive-latex-base to avoid a circular
dependency.

l3kernel and l3packages don’t need LaTeX during build, just IniTeX.
So to make them use it, modify texlive-build-system to allow disabling
the #:texlive-latex-base and #:tex-format parameters, and also add
a #:tex-engine parameter.

We also need to add texlive-docstrip as a native input, which was
previously provided by texlive-latex-base.

* gnu/packages/tex.scm (texlive-latex-l3kernel,
texlive-latex-l3packages)[arguments]: Add ‘#:tex-engine’, ‘#:tex-format’
and ‘#:texlive-latex-base’ parameters.
[native-inputs]: Add ‘texlive-docstrip’.
* guix/build-system/texlive.scm (lower)[build-inputs]: Don’t add
‘texlive-latex-base’ if its keyword parameter is false.
(texlive-build): Add ‘tex-engine’ keyword parameter.
[builder]: If a ‘tex-engine’ parameter was passed, use it. Otherwise, use
‘tex-format’ as the engine.
* guix/build/texlive-build-system.scm (compile-with-latex): Add ‘engine’
parameter. If the ‘format’ parameter is false, add “-ini” option to the
command line.
(build): Add ‘tex-engine’ parameter. Pass it down to ‘compile-with-latex’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:55:26 +02:00
..
android-ndk.scm build-system/android-ndk: Pass #:bootstrap-scripts to build phases. 2021-04-01 22:00:04 +02:00
ant.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
asdf.scm Merge branch 'master' into core-updates 2021-05-09 21:29:46 +02:00
cargo.scm build-system: Use 'input-tuples->gexp' and 'outputs->gexp'. 2021-03-30 22:48:44 +02:00
chicken.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
clojure.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
cmake.scm build-system: Use 'input-tuples->gexp' and 'outputs->gexp'. 2021-03-30 22:48:44 +02:00
copy.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
dub.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
dune.scm build-system: Rewrite using gexps. 2021-03-30 22:48:43 +02:00
emacs.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
font.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
glib-or-gtk.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
gnu.scm build-system/gnu: Define '%build-inputs' when cross-compiling. 2021-07-05 12:35:29 +02:00
go.scm Merge remote-tracking branch 'origin/master' into core-updates 2021-04-16 14:39:48 +03:00
guile.scm build-system: Rewrite using gexps. 2021-03-30 22:48:43 +02:00
haskell.scm build-system/haskell: Import build variables. 2021-06-19 17:08:37 +02:00
julia.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
linux-module.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
maven.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
meson.scm build-system/meson: Support cross-compilation. 2021-07-14 15:57:40 +02:00
minify.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
node.scm build-system/node: Add missing module import. 2021-06-19 17:08:37 +02:00
ocaml.scm build-system: Use 'input-tuples->gexp' and 'outputs->gexp'. 2021-03-30 22:48:44 +02:00
perl.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
python.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
qt.scm Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
r.scm Merge branch 'master' into core-updates 2021-06-06 21:16:32 +02:00
rakudo.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
renpy.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
ruby.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
scons.scm build-system/scons: Use 'with-build-variables'. 2021-03-31 14:06:17 +02:00
texlive.scm gnu: TeX Live: Use IniTeX to build a couple of packages 2021-07-21 15:55:26 +02:00
trivial.scm build-system/trivial: Honor build inputs when cross-compiling. 2021-07-05 16:26:54 +02:00
waf.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00