guix-play/guix/build
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
..
maven Merge branch 'master' into core-updates 2021-06-23 18:45:21 +02:00
android-ndk-build-system.scm
android-repo.scm android-repo-download: Use parallel-job-count instead of hard-coding job 2020-09-03 00:09:38 +02:00
ant-build-system.scm
asdf-build-system.scm doc, gnu, guix: Fix typos. 2021-06-13 23:57:45 +02:00
bournish.scm bournish: Prevent inlining of run-time support procedures. 2020-04-02 16:07:08 +02:00
bzr.scm
cargo-build-system.scm build-system/cargo: Don't clobber packaged crates while building. 2021-03-15 15:53:11 +02:00
cargo-utils.scm build/cargo-utils: Use all allocated threads to generate checksums. 2020-07-15 10:26:35 +03:00
chicken-build-system.scm build-system: Add chicken-build-system. 2020-12-03 16:18:33 +01:00
clojure-build-system.scm
clojure-utils.scm
cmake-build-system.scm
compile.scm compile: Build gnu/{packages,tests}/* with '-O1'. 2020-06-22 15:42:55 +02:00
copy-build-system.scm build-system/copy: Avoid use of 'set!'. 2021-05-04 18:33:20 +03:00
cvs.scm
debug-link.scm
download-nar.scm Use guile-zlib extension in build-side code. 2020-08-24 10:41:06 +02:00
download.scm download: 'tls-wrap' retries handshake upon non-fatal errors. 2021-06-25 23:44:15 +02:00
dub-build-system.scm
dune-build-system.scm
emacs-build-system.scm Merge branch 'master' into core-updates 2021-05-09 21:29:46 +02:00
emacs-utils.scm build: emacs-utils: Add an option to select scoping for batch eval. 2020-03-22 21:17:38 -04:00
font-build-system.scm
git.scm
glib-or-gtk-build-system.scm glib-or-gtk-build-system: Look up the interpreter in 'inputs'. 2021-06-04 22:34:31 +02:00
gnu-bootstrap.scm Add (guix build gnu-bootstrap). 2020-02-17 23:21:04 +01:00
gnu-build-system.scm build-system/gnu: patch-shebangs: Also patch shebangs in "/libexec". 2021-07-08 00:28:57 +02:00
gnu-dist.scm build-system/gnu: Fix 'install' phase of 'gnu-dist'. 2020-06-18 14:48:17 +02:00
go-build-system.scm build-system/go: Install license files. 2020-10-15 11:13:25 +03:00
graft.scm grafts: Support rewriting UTF-16 and UTF-32 store references. 2021-04-15 03:22:55 -04:00
gremlin.scm gremlin: 'elf-dynamic-info' returns a file name rathern than a dynamic entry. 2021-04-22 14:04:27 +02:00
guile-build-system.scm
haskell-build-system.scm build-system/haskell: Do not pass "--bindir" during configure. 2020-08-13 16:44:56 +02:00
hg.scm svn-download, hg-download: Use 'report-invoke-error'. 2020-10-10 22:37:45 +02:00
java-utils.scm guix: java-utils: Look for actual jar files. 2021-06-22 13:10:36 +02:00
json.scm
julia-build-system.scm build-system/julia: Turn on deprecation warnings. 2021-03-29 16:47:18 +02:00
linux-module-build-system.scm build-system: linux-module: Allow passing #:make-flags argument. 2020-06-02 14:22:32 +02:00
lisp-utils.scm Merge branch 'staging' 2020-10-19 13:11:40 -04:00
make-bootstrap.scm
maven-build-system.scm guix: maven: Support fixing modules. 2021-06-22 13:10:28 +02:00
meson-build-system.scm build-system/meson: Do not apply strip-runpath to the "debug" output. 2020-11-06 15:44:56 -05:00
meson-configuration.scm build-system/meson: Support cross-compilation. 2021-07-14 15:57:40 +02:00
minify-build-system.scm build-system/minify: Phases no longer return a Boolean. 2020-11-25 00:02:30 +01:00
node-build-system.scm build: Make outputs of node-build-system reproducible. 2021-06-24 14:10:29 +02:00
ocaml-build-system.scm
pack.scm build: pack: Mute error output when checking if tar supports --sort. 2021-07-18 02:11:13 -04:00
perl-build-system.scm
po.scm po: Micro-optimize 'read-po-file'. 2020-06-23 00:03:08 +02:00
profiles.scm profiles: Build union of inputs in the right order. 2021-06-22 17:55:05 +02:00
python-build-system.scm python-build-system: Look up the interpreter in 'inputs'. 2021-06-04 22:34:31 +02:00
qt-build-system.scm Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
qt-utils.scm build: qt-utils: Wrappers set 'QTWEBENGINEPROCESS_PATH' if needed. 2021-07-02 16:50:10 -04:00
r-build-system.scm
rakudo-build-system.scm rakudo-build-system: Look up the interpreter in 'inputs'. 2021-06-04 22:34:32 +02:00
renpy-build-system.scm guix: renpy-build-system: Quote data directory. 2021-02-24 00:37:37 +01:00
ruby-build-system.scm build: ruby-build-system: Remove an extraneous binding. 2020-09-01 13:19:08 -04:00
scons-build-system.scm
store-copy.scm guix system: 'init' copies, resets timestamps, and deduplicates at once. 2020-12-15 17:32:11 +01:00
svn.scm svn-download, hg-download: Use 'report-invoke-error'. 2020-10-10 22:37:45 +02:00
syscalls.scm Revert "syscalls: 'terminal-dimension' ignores EPERM." 2021-07-07 13:56:16 +02:00
texlive-build-system.scm gnu: TeX Live: Use IniTeX to build a couple of packages 2021-07-21 15:55:26 +02:00
union.scm
utils.scm utils: Add 'search-input-directory'. 2021-07-08 00:28:57 +02:00
waf-build-system.scm