Archived
1
0
Fork 0
Commit graph

875 commits

Author SHA1 Message Date
Thiago Jung Bauermann
35aed80bb6
gnu: TeX Live: Add new dependency to texlive-latex-xkeyval
Starting with TeX Live 2021, texlive-latex-xkeyval depends on
texlive-latex-l3backend.

* gnu/packages/tex.scm(texlive-latex-xkeyval)[native-inputs]: Add
‘texlive-latex-l3backend’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:56:23 +02:00
Thiago Jung Bauermann
8f35bac4cc
gnu: TeX Live: Add texlive-latex-l3backend
* gnu/packages/tex.scm (texlive-latex-l3backend): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:56:16 +02:00
Thiago Jung Bauermann
ee25e3fcab
gnu: TeX Live: Update to TeX Live 2021
Use version 20210325 for the tarballs, which is the latest one available on
the historical releases repository. And use subversion tag 2021.3 which is
the latest one available as well.

TeX Live dropped support for using the system’s poppler library after the
2020 version.  Quoting from `m4/kpse-xpdf-flags.m4`:

  # Support for our semi-homegrown libs/xpdf library. This is derived
  # from xpdf source code, but xpdf does not distribute it as a library.
  # It is used by pdftex (and nothing else) to read PDF images.
  # Other engines use the semi-homegrown pplib library (q.v.) for that.

  # The well-known poppler library is also originally derived from xpdf
  # source code, but has been greatly revised and extended. TL used to
  # (sort of) support poppler as the system xpdf, but after the TL 2020
  # release we dropped this, because we switched XeTeX to use pplib, and
  # nothing else used poppler. (No engines ever used poppler to generate
  # their PDF output).
  #
  # poppler is aggressively developed, with requirements for new compilers
  # and language versions. That's fine for them, but since we don't need
  # anything new, it has become too time-consuming and problematic to
  # continue to support it in the TL sources, when we don't have any
  # requirement for it.

Therefore the main change in this commit is making the texlive-bin package
use the embedded pplib and xpdf libraries.

Another noteworthy change is to texlive-latex-l3packages, which now needs
to ship a few pre-generated files that cannot be reproduced during the
build process (the comments in the package definition have more details).

* guix/build-system/texlive.scm (%texlive-tag): Set to “texlive-2021.3”.
(%texlive-revision): Set to 59745.
* gnu/packages/tex.scm (hyph-utf8-scripts, texlive-docstrip,
texlive-unicode-data texlive-hyphen-base, texlive-metafont, texlive-cm,
texlive-courier, texlive-lm, texlive-knuth-lib, texlive-tex-plain,
texlive-hyphen-finnish, texlive-hyphen-german, texlive-hyph-utf8,
texlive-dehyph-exptl, texlive-kpathsea, texlive-latex-fancyvrb,
texlive-graphics-def, texlive-latex-graphics, texlive-hyperref,
texlive-oberdiek, texlive-latex-tools, texlive-latex-l3kernel,
texlive-l3build, texlive-luaotfload, texlive-latex-amsmath, texlive-amscls,
texlive-babel, texlive-generic-babel-german, texlive-babel-swedish,
texlive-psnfss, texlive-latex-draftwatermark, texlive-latex-etoc,
texlive-etoolbox, texlive-latex-polyglossia, texlive-tex-texinfo,
texlive-latex-bookmark, texlive-latex-cmap, texlive-latex-fancyhdr,
texlive-latex-kvoptions, texlive-latex-eso-pic, texlive-latex-multirow,
texlive-latex-parskip, texlive-latex-pdfpages, texlive-metapost,
texlive-latex-acmart, texlive-latex-preview, texlive-latex-acronym,
texlive-pdftex, texlive-latex-media9, texlive-latex-ocgx2,
texlive-latex-ms, texlive-latex-pgf, texlive-latex-pgf-generic,
texlive-latex-koma-script, texlive-generic-ltxcmds, texlive-bibtex,
texlive-context-base, texlive-context, texlive-beamer, texlive-pstricks,
texlive-tools, texlive-latex-xkeyval, texlive-csquotes, texlive-biblatex,
texlive-todonotes, texlive-microtype, texlive-caption, texlive-fontaxes,
texlive-cabin, texlive-newtx, texlive-xcharter, texlive-adjustbox,
texlive-tcolorbox): Update hash.
(texlive-extra-src, texlive-texmf-src): Update version to
“20210325”. Update hash.
(texlive-bin)[source]: Update version to “20210325”. Update hash. Preserve
‘libs/pplib’ and ‘libs/xpdf’.
[inputs]: Update hash for ‘texlive-scripts’.  Remove ‘poppler’.
[arguments]: Remove “--with-system-poppler” and “--with-system-xpdf” from
‘#:configure-flags’.  Remove build phase ‘use-code-for-new-poppler’.
(texlive-hyphen-schoolfinnish): Add public variable.
(texlive-hyphen-macedonian): Add 8bit patterns.  Update hash.
(texlive-latex-base)[template]: Update hash.
[arguments]: Set ‘LUAINPUTS’ environment variable in build phase.
[native-inputs]: Update hash for ‘texlive-luatexconfig’.
[propagated-inputs]: Add ‘texlive-hyphen-schoolfinnish’,
‘texlive-latex-l3kernel’ and ‘texlive-latex-l3packages’.
(texlive-latex-l3packages)[source]: Use ‘texlive-origin’. Update hash. Add
generated files.
[arguments]: Adjust paths for ‘TEXINPUTS’ environment variable. Add build
phase ‘copy-generated-files’.
(texlive-texmf, texlive): Update version to “20210325”.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:56:03 +02:00
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
Ludovic Courtès
f186365aee
gnu: texlive-union: Export and formally deprecate.
This is a followup to 04a0b1e09a.

* gnu/packages/tex.scm (texlive-union): Define using
'define-deprecated/alias' and export.
2021-07-18 19:57:35 +02:00
Ludovic Courtès
0e47fcced4
Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
Leo Prikler
e89036e2f1
gnu: Add texlive-libkpathsea.
* gnu/packages/tex.scm (texlive-libkpathsea): New variable.
2021-07-15 13:14:25 +02:00
Julien Lepiller
f7f6cbb6b6
gnu: Add texlive-preprint.
* gnu/packages/tex.scm (texlive-preprint): New variable.
2021-07-10 15:01:59 +02:00
Ivan Gankevich
e499500730
gnu: Add bibtool.
* gnu/packages/tex.scm (bibtool): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-09 00:22:05 +02:00
Chris Marusich
68b0e0d511
gnu: Disable more LuaJIT components on powerpc64le systems.
Fixes: <https://bugs.gnu.org/49218>.

* gnu/packages/tex.scm (texlive-bin)[#:configure-flags]: Add
"--disable-luajithbtex" on powerpc64le systems.
(texlive-latex-base)[#:phases][build]: Add "mfluajit" to the disabled-formats
list on powerpc64le systems.
2021-07-06 17:54:20 -07:00
Ludovic Courtès
6265c004cb
gnu: texlive: Fix Texinfo markup in descriptions.
* gnu/packages/tex.scm (texlive-latex-atveryend)[description]: Fix
Texinfo markup.
(texlive-generic-etexcmds)[description]: Likewise.
(texlive-generic-kvdefinekeys)[description]: Likewise.
2021-07-05 16:54:25 +02:00
Xinglu Chen
32710c71df
gnu: Add texlive-latex-ebproof.
* gnu/packages/tex.scm (texlive-latex-ebproof): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-26 22:55:06 +02:00
Marius Bakke
6f9a80b331
Merge branch 'master' into core-updates
Note: this merge actually changes the 'curl' and 'python-attrs' derivations,
as part of solving caf4a7a277 and
12964df69a respectively.

4604d43c0e (gnu: gnutls@3.6.16: Fix cross-compilation.) was ignored because it
cannot currently be tested.

 Conflicts:
	gnu/local.mk
	gnu/packages/aidc.scm
	gnu/packages/boost.scm
	gnu/packages/curl.scm
	gnu/packages/nettle.scm
	gnu/packages/networking.scm
	gnu/packages/python-xyz.scm
	gnu/packages/tls.scm
2021-06-19 17:38:47 +02:00
Maxim Cournoyer
ea0a51071e
gnu: Rename qtbase to qtbase-5.
This change was automated via the following command:

$ git ls-files | xargs sed -i 's/,qtbase)/,qtbase-5)/g'
$ git ls-files | xargs sed -i 's/inherit qtbase)/inherit qtbase-5)/g'
$ git ls-files | xargs sed -i 's/package-version qtbase)/package-version qtbase-5)/g'
$ git checkout etc    # to clear some spurious changes

This is done so the qtbase package can be upgraded to version 6 in the
following commit.
2021-06-14 00:24:42 -04:00
Marius Bakke
bf84be15a8
gnu: texlive-latex-tools: Provide array-2016-10-06.sty.
* gnu/packages/tex.scm (texlive-latex-tools)[arguments]: Add phase that makes
array.sty available with a different name.
2021-06-06 00:12:53 +02:00
Marius Bakke
80c3374f05
gnu: Add texlive-latex-tocloft.
* gnu/packages/tex.scm (texlive-latex-tocloft): New public variable.
2021-06-06 00:12:53 +02:00
Marius Bakke
b31730fec6
gnu: Add texlive-latex-stackengine.
* gnu/packages/tex.scm (texlive-latex-stackengine): New public variable.
2021-06-06 00:12:53 +02:00
Marius Bakke
29c5741ac1
gnu: Add texlive-latex-newunicodechar.
* gnu/packages/tex.scm (texlive-latex-newunicodechar): New public variable.
2021-06-06 00:12:53 +02:00
Marius Bakke
1f7018fbe1
gnu: Add texlive-latex-hanging.
* gnu/packages/tex.scm (texlive-latex-hanging): New public variable.
2021-06-06 00:12:53 +02:00
Marius Bakke
93b4299a78
gnu: Add texlive-latex-etoc.
* gnu/packages/tex.scm (texlive-latex-etoc): New public variable.
2021-06-06 00:12:53 +02:00
Marius Bakke
1612d88407
gnu: Add texlive-tex-gyre.
* gnu/packages/tex.scm (texlive-tex-gyre): New public variable.
2021-06-06 00:12:53 +02:00
Marius Bakke
00a2c472d0
gnu: texlive-graphics-def: Propagate missing dependency.
* gnu/packages/tex.scm (texlive-graphics-def)[propagated-inputs]: New field.
Add TEXLIVE-LATEX-EPSTOPDF-PKG.
2021-06-06 00:12:53 +02:00
Marius Bakke
e3ce85725c
gnu: texlive-hyperref: Don't propagate texlive-oberdiek.
* gnu/packages/tex.scm (texlive-hyperref)[propagated-inputs]: Remove
TEXLIVE-OBERDIEK.  Add TEXLIVE-GENERIC-ATBEGSHI, TEXLIVE-GENERIC-BITSET,
TEXLIVE-GENERIC-ETEXCMDS, TEXLIVE-GENERIC-GETTITLESTRING,
TEXLIVE-GENERIC-IFTEX, TEXLIVE-GENERIC-INFWARERR, TEXLIVE-GENERIC-INTCALC,
TEXLIVE-GENERIC-KVDEFINEKEYS, TEXLIVE-GENERIC-LTXCMDS,
TEXLIVE-GENERIC-PDFESCAPE, TEXLIVE-LATEX-AUXHOOK, TEXLIVE-LATEX-ATVERYEND,
TEXLIVE-LATEX-HYCOLOR, TEXLIVE-LATEX-KVOPTIONS, TEXLIVE-LATEX-LETLTXMACRO,
TEXLIVE-LATEX-PDFTEXCMDS, TEXLIVE-LATEX-REFCOUNT, and
TEXLIVE-LATEX-RERUNFILECHECK.
2021-06-06 00:12:53 +02:00
Marius Bakke
7a06061662
gnu: texlive-base: Propagate texlive-kpathsea.
* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Add
TEXLIVE-KPATHSEA.
2021-06-06 00:12:53 +02:00
Marius Bakke
ef52a9cad3
gnu: Add texlive-latex-rerunfilecheck.
* gnu/packages/tex.scm (texlive-latex-rerunfilecheck): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
daf2e15187
gnu: Add texlive-generic-uniquecounter.
* gnu/packages/tex.scm (texlive-generic-uniquecounter): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
169060fe7c
gnu: Add texlive-generic-pdfescape.
* gnu/packages/tex.scm (texlive-generic-pdfescape): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
a064a9152f
gnu: Add texlive-latex-kvoptions.
* gnu/packages/tex.scm (texlive-latex-kvoptions): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
29baa9290e
gnu: Add texlive-generic-kvsetkeys.
* gnu/packages/tex.scm (texlive-generic-kvsetkeys): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
4b439f07d6
gnu: Add texlive-generic-kvdefinekeys.
* gnu/packages/tex.scm (texlive-generic-kvdefinekeys): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
e30373f8ac
gnu: Add texlive-generic-gettitlestring.
* gnu/packages/tex.scm (texlive-generic-gettitlestring): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
95e3a20985
gnu: Add texlive-generic-etexcmds.
* gnu/packages/tex.scm (texlive-generic-etexcmds): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
d476433d70
gnu: Add texlive-generic-bitset.
* gnu/packages/tex.scm (texlive-generic-bitset): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
3e0dc201ec
gnu: Add texlive-generic-bigintcalc.
* gnu/packages/tex.scm (texlive-generic-bigintcalc): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
2d78486e60
gnu: Add texlive-generic-intcalc.
* gnu/packages/tex.scm (texlive-generic-intcalc): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
e68df1408a
gnu: Add texlive-generic-atbegshi.
* gnu/packages/tex.scm (texlive-generic-atbegshi): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
935784ba34
gnu: Add texlive-latex-letltxmacro.
* gnu/packages/tex.scm (texlive-latex-letltxmacro): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
2c3c8ac45d
gnu: Add texlive-latex-pdftexcmds.
* gnu/packages/tex.scm (texlive-latex-pdftexcmds): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
c1700a9bae
gnu: Add texlive-generic-ltxcmds.
* gnu/packages/tex.scm (texlive-generic-ltxcmds): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
d136754211
gnu: Add texlive-generic-infwarerr.
* gnu/packages/tex.scm (texlive-generic-infwarerr): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
df5569d514
gnu: Add texlive-latex-hycolor.
* gnu/packages/tex.scm (texlive-latex-hycolor): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
0a64d8e005
gnu: Add texlive-latex-epstopdf-pkg.
* gnu/packages/tex.scm (texlive-latex-epstopdf-pkg): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
f2543d82ae
gnu: Add texlive-latex-auxhook.
* gnu/packages/tex.scm (texlive-latex-auxhook): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
25de551c26
gnu: Add texlive-latex-atveryend.
* gnu/packages/tex.scm (texlive-latex-atveryend): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
730e7fcb77
gnu: simple-texlive-package: Fix shebang patching.
* gnu/packages/tex.scm (simple-texlive-package)[arguments]: Copy the working
directory instead of the source directory to the output.
2021-06-06 00:12:51 +02:00
Marius Bakke
4d85dde0ef
gnu: Add texlive-latex-bookmark.
* gnu/packages/tex.scm (texlive-latex-bookmark): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
a8e8c9e59c
gnu: Add texlive-latex-refcount.
* gnu/packages/tex.scm (texlive-latex-refcount): New public variable.
2021-06-06 00:12:50 +02:00
Marius Bakke
7747df1bc2
gnu: TeX Live: Update to 2020.0.
* guix/build-system/texlive.scm (%texlive-tag): Set to 2020.0.
(%texlive-revision): Set to 54632.
* gnu/packages/tex.scm (texlive-extra-src, texlive-texmf-src, texlive-bin,
texlive-texmf, texlive): Update to 20200406.
(texlive-bin)[source](patches): Remove.
[arguments]: Adjust poppler compatibility phase for new upstream patches.
* gnu/packages/tex.scm (hyph-utf8-scripts, texlive-docstrip, texlive-unicode-data
texlive-hyphen-base, texlive-dvips, texlive-metafont-base, texlive-fontinst,
texlive-fontname, texlive-tex-plain, texlive-hyphen-bulgarian, texlive-hyphen-chinese,
texlive-hyphen-hungarian, texlive-hyphen-latin, texlive-hyphen-sanskrit,
texlive-hyphen-spanish, texlive-hyph-utf8, texlive-kpathsea,
texlive-latexconfig, texlive-latex-base, texlive-union,
texlive-latex-filecontents, texlive-latex-fancyvrb, texlive-graphics-def,
texlive-latex-graphics, texlive-latex-oberdiek, texlive-latex-tools,
texlive-latex-l3kernel, texlive-latex-l3packages, texlive-latex-fontspec,
texlive-latex-amsmath, texlive-latex-babel, texlive-latex-draftwatermark,
texlive-etoolbox, texlive-latex-geometry, texlive-latex-polyglossia,
texlive-latex-supertabular, texlive-tex-texinfo, texlive-latex-appendix,
texlive-latex-colortbl, texlive-latex-listings, texlive-inconsolata,
texlive-latex-enumitem, texlive-latex-multirow, texlive-latex-overpic,
texlive-latex-parskip, texlive-latex-pdfpages, texlive-libertine,
texlive-latex-titlesec, texlive-metapost, texlive-latex-acmart,
texlive-latex-wasysym, texlive-latex-preview, texlive-latex-acronym,
texlive-pdftex, texlive-latex-media9, texlive-latex-ocgx2, texlive-latex-ms,
texlive-generic-ulem, texlive-latex-pgf, texlive-latex-koma-script,
texlive-generic-listofitems, texlive-bibtex, texlive-context-base,
texlive-beamer, texlive-pstricks, texlive-marginnote, texlive-iftex,
texlive-tools, texlive-siunitx, texlive-booktabs, texlive-csquotes,
texlive-biblatex, texlive-microtype, texlive-caption, texlive-ydoc,
texlive-courier, texlive-hyperref, texlive-fontspec, texlive-l3build,
texlive-luaotfload, texlive-babel, texlive-tipa, texlive-jknappen,
texlive-wasy, texlive-context, texlive-cabin, texlive-fourier,
texlive-mweights, texlive-newtx, texlive-xcharter, texlive-tcolorbox): Update
hashes.
(texlive-hyphen-bulgarian): Don't include removed files.
(texlive-hyphen-hungarian, texlive-hyphen-sanskrit): Adjust for directory
rename.
(texlive-hyphen-chinese, texlive-hyphen-latin): Add more files.
(texlive-hyphen-macedonian): New public variable.
(texlive-metafont-base)[source]: Switch to SVN-MULTI-FETCH.
[arguments]: Adjust for extra source files.
(texlive-latex-base)[arguments]: Disable more formats.
[propagated-inputs]: Add TEXLIVE-HYPHEN-MACEDONIAN.
(texlive-fontinst): Don't include "scripts/texlive/fontinst.sh".
(texlive-generic-iftex): New public variable.
(texlive-iftex, texlive-generic-ifxetex): Deprecate in favor of
TEXLIVE-GENERIC-IFTEX.
(texlive-latex-oberdiek)[propagated-inputs]: Change from
TEXLIVE-GENERIC-IFXETEX to TEXLIVE-GENERIC-IFTEX.
(texlive-latex-xkeyval)[native-inputs]: Likewise.
(texlive-default-updmap.cfg): Remove variable.
* gnu/packages/patches/texlive-bin-poppler-0.83.patch,
gnu/packages/patches/texlive-bin-poppler-0.86.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-06-06 00:12:50 +02:00
Marius Bakke
3ef5ee3ffb
gnu: Remove 'texlive-amsfonts/patched'.
* gnu/packages/tex.scm (texlive-amsfonts)[arguments]: Add the fix from
'texlive-amsfonts/patched'.
(texlive-amsfonts/patched): Remove variable.
* gnu/packages/python-xyz.scm (python-nbconvert)[native-inputs]: Change from
TEXLIVE-AMSFONTS/PATCHED to TEXLIVE-AMSFONTS.
2021-05-22 20:03:24 +02:00
Marius Bakke
f034264204
Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/bioinformatics.scm
	gnu/packages/django.scm
	gnu/packages/gtk.scm
	gnu/packages/llvm.scm
	gnu/packages/python-web.scm
	gnu/packages/python.scm
	gnu/packages/tex.scm
	guix/build-system/asdf.scm
	guix/build/emacs-build-system.scm
	guix/profiles.scm
2021-05-09 21:29:46 +02:00