Commit Graph

702 Commits

Author SHA1 Message Date
Vivien Kraus
32db65b787
gnu: Add texlive-dvips-l3backend.
* gnu/packages/tex.scm (texlive-dvips-l3backend): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-09 00:02:39 +01:00
Ludovic Courtès
2dffe4767c
gnu: Use 'search-input-file' some more.
This patch replaces occurrences of:

  (string-append (assoc-ref %build-inputs "…") "/…")

by:

  (search-input-file %build-inputs "/…")

* doc/guix.texi (Miscellaneous Services): Use 'search-input-file' in R
Shiny example.
* gnu/packages/admin.scm (screenfetch): Use 'search-input-file'.
(ufetch): Likewise.
(hosts): Likewise.
* gnu/packages/backup.scm (dirvish): Likewise.
* gnu/packages/code.scm (colormake): Likewise.
* gnu/packages/compression.scm (makeself-safeextract): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/education.scm (snap): Likewise.
(omnitux): Likewise.
* gnu/packages/emacs-xyz.scm (epipe): Likewise.
* gnu/packages/games.scm (openttd-opensfx): Likewise.
(openttd-openmsx): Likewise.
(openrct2-title-sequences):  Likewise.
(openrct2-objects):  Likewise.
(mrrescue):  Likewise.
(0ad-data):  Likewise.
(xonotic-data):  Likewise.
(drascula):  Likewise.
(make-lure-package):  Likewise.
(make-queen-package):  Likewise.
(sky):  Likewise.
* gnu/packages/gnome.scm (network-manager): Likewise.
* gnu/packages/gnuzilla.scm (icedove): Likewise.
* gnu/packages/guile-xyz.scm (guile-shapefile): Likewise.
* gnu/packages/hurd.scm (netdde): Likewise.
* gnu/packages/javascript.scm (js-context-menu): Likewise.
(js-commander): Likewise.
(js-xmldom-sre): Likewise.
* gnu/packages/kde-frameworks.scm (krunner): Likewise.
* gnu/packages/kodi.scm (kodi-cli): Likewise.
* gnu/packages/libreoffice.scm (hunspell-dict-pl): Likewise.
* gnu/packages/linux.scm (e2fsck/static): Likewise.
* gnu/packages/markup.scm (markdown): Likewise.
* gnu/packages/maths.scm (hdf-java): Likewise.
* gnu/packages/multiprecision.scm (libtomcrypt): Likewise.
* gnu/packages/networking.scm (batctl): Likewise.
* gnu/packages/python-xyz.scm (python-pymediainfo): Likewise.
* gnu/packages/shells.scm (fish-foreign-env): Likewise.
* gnu/packages/tex.scm (texlive-fonts-iwona): Likewise.
* gnu/packages/upnp.scm (miniupnpc): Likewise.
* gnu/packages/version-control.scm (git-annex-remote-rclone): Likewise.
* gnu/packages/virtualization.scm (qemu): Likewise.
* gnu/packages/web.scm (icedtea-web): Likewise.
* gnu/packages/wm.scm (stumpish): Likewise.
2021-10-23 23:05:21 +02:00
Ricardo Wurmus
3d03f4c4ca
gnu: texlive-lh: Install more files.
* gnu/packages/tex.scm (texlive-lh)[outputs]: Add a "doc" output.
[arguments]: Override the 'copy-files phase to install many more files in the
correct locations.
2021-10-21 18:02:04 +00:00
Mathieu Othacehe
a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Tobias Geerinckx-Rice
2f249e4c57
gnu: texlive-latex-l3packages: Fix typo in description.
* gnu/packages/tex.scm (texlive-latex-l3packages)[description]:
Delete stray hyphen.
2021-09-29 16:56:39 +02:00
Ludovic Courtès
c6a8d6db77
gnu: texlive: Remove remaining uses of deprecated packages.
This is a followup to b949f34f31 and
7269f0c1b2.

* gnu/packages/tex.scm (texlive-hyperref)[propagated-inputs]: Use
TEXLIVE-URL instead of TEXLIVE-LATEX-URL.
(texlive-pdftex)[propagated-inputs]: Use TEXLIVE-KNUTH-LIB instead of
TEXLIVE-FONTS-KNUTH-LIB.
(texlive-context)[propagated-inputs]: Use TEXLIVE-STMARYRD instead of
TEXLIVE-FONTS-STMARYRD.
2021-09-25 18:52:05 +02:00
Marius Bakke
5c3cb22c9b
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/bioinformatics.scm
	gnu/packages/chez.scm
	gnu/packages/docbook.scm
	gnu/packages/ebook.scm
	gnu/packages/gnome.scm
	gnu/packages/linux.scm
	gnu/packages/networking.scm
	gnu/packages/python-web.scm
	gnu/packages/python-xyz.scm
	gnu/packages/tex.scm
	gnu/packages/version-control.scm
	gnu/packages/xml.scm
	guix/build-system/dune.scm
	guix/build-system/go.scm
	guix/build-system/linux-module.scm
	guix/packages.scm
2021-09-17 01:25:52 +02:00
Marius Bakke
c896287ce5
gnu: texlive-context: Adjust to changes from 'master'.
This is a merge of commit f98dfdc1b6, with the
hash updated for TeX Live 2021.

* gnu/packages/tex.scm (texlive-context-base): Deprecate in favor of
TEXLIVE-CONTEXT.
(texlive-context)[source]: Extract manuals and more files.
[propagated-inputs]: Add TEXLIVE-AMSFONTS, TEXLIVE-LM, TEXLIVE-PDFTEX,
TEXLIVE-METAPOST, TEXLIVE-FONTS-STMARYRD, and TEXLIVE-MFLOGO-FONT.
2021-09-17 00:15:05 +02:00
Marius Bakke
52f42594aa
gnu: texlive-pdftex: Adjust to changes from 'master'.
This is a merge of commit 9003bd8709, with the
hash updated for TeX Live 2021.

* gnu/packages/chez.scm (texlive-pdftex)[source]: Extract two more files.
[propagated-inputs]: Add TEXLIVE-CM, TEXLIVE-ETEX, TEXLIVE-FONTS-KNUTH-LIB,
TEXLIVE-HYPHEN-BASE, TEXLIVE-KPATHSEA, TEXLIVE-TEX-INI-FILES, and
TEXLIVE-TEX-PLAIN.
2021-09-17 00:15:05 +02:00
Ricardo Wurmus
f98dfdc1b6
gnu: Add texlive-context.
* gnu/packages/tex.scm (texlive-context): New variable.
(texlive-context-base): Deprecate in favor of texlive-context.
* gnu/packages/chez.scm (chez-web)[native-inputs]: Replace
texlive-context-base with texlive-context.
2021-09-13 22:49:56 +02:00
Ricardo Wurmus
e668a9b11d
gnu: texlive-charter: Propagate texlive-psnfss.
* gnu/packages/tex.scm (texlive-charter)[propagated-inputs]: Add
texlive-psnfss.
2021-09-13 22:49:55 +02:00
Ricardo Wurmus
9003bd8709
gnu: Add texlive-pdftex.
* gnu/packages/chez.scm (texlive-pdftex): New variable.
(texlive-generic-pdftex): Deprecate in favor of texlive-pdftex.
(teximpatient)[native-inputs]: Replace texlive-generic-pdftex with
texlive-pdftex.
(texlive-latex-pdfx)[propagated-inputs]: Same.
* gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]:
Same.
(python-matplotlib-documentation)[native-inputs]: Same.
(python-ipython-documentation)[native-inputs]: Same.
* gnu/packages/chez.scm (chez-web)[native-inputs]: Same.
(chez-sockets)[native-inputs]: Same.
2021-09-13 22:49:55 +02:00
Ricardo Wurmus
e47e9d9273
gnu: Add texlive-psnfss.
* gnu/packages/tex.scm (texlive-psnfss): New variable.
2021-09-13 22:49:52 +02:00
Ludovic Courtès
b949f34f31
gnu: Use the non-deprecated TeX packages.
This commit leaves 'dblatex' and 'texlive-hyperref' as users of
deprecated packages, but these have many dependents.

* gnu/packages/bioinformatics.scm (discrover)[native-inputs]: Use
non-deprecated TeX Live packages.
(velvet)[native-inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[native-inputs]: Likewise.
(chez-web)[native-inputs]: Likewise.
* gnu/packages/engineering.scm (fastcap)[native-inputs]: Likewise.
* gnu/packages/guile-xyz.scm (emacsy)[native-inputs]: Likewise.
* gnu/packages/maths.scm (hypre)[native-inputs]: Likewise.
* gnu/packages/music.scm (lilypond)[native-inputs]: Likewise.
* gnu/packages/ocaml.scm (ocaml-bibtex2html)[native-inputs]: Likewise.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]:
Likewise.
(python-matplotlib-documentation)[native-inputs]: Likewise.
(python-ipython-documentation)[native-inputs]: Likewise.
(python-nbconvert)[native-inputs]: Likewise.
(python-pypandoc)[native-inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[native-inputs]: Likewise.
* gnu/packages/tex.scm (texlive-pstool)[propagated-inputs]: Likewise.
(teximpatient)[native-inputs]: Likewise.
(texlive-latex-pgf)[propagated-inputs]: Likewise.
(texlive-beamer)[propagated-inputs]: Likewise.
2021-09-06 22:02:15 +02:00
Ludovic Courtès
3dc8052b51
gnu: tex: Use 'define-deprecated' for deprecated packages.
This allows us to get compile-time warnings when using deprecated
packages, typically in calls to 'texlive-union' or similar.

* gnu/packages/tex.scm (define-deprecated-package): New macro.
(texlive-generic-unicode-data)
(texlive-generic-tex-ini-files)
(texlive-metafont-base)
(texlive-tex-fontinst-base)
(texlive-fonts-cm)
(texlive-fonts-cm-super)
(texlive-fonts-lm)
(texlive-fonts-knuth-lib)
(texlive-latex-mflogo)
(texlive-fonts-mflogo-font)
(texlive-fonts-amsfonts)
(texlive-latex-amsfonts)
(texlive-generic-hyph-utf8)
(texlive-generic-dehyph-exptl)
(texlive-generic-epsf)
(texlive-latex-xcolor)
(texlive-latex-hyperref)
(texlive-latex-oberdiek)
(texlive-latex-url)
(texlive-latex-fontspec)
(texlive-luatex-luaotfload)
(texlive-latex-amscls)
(texlive-latex-babel)
(texlive-latex-psnfss)
(texlive-latex-filemod)
(texlive-latex-pstool)
(texlive-latex-seminar)
(texlive-latex-doi)
(texlive-latex-etoolbox)
(texlive-fonts-adobe-times)
(texlive-fonts-adobe-palatino)
(texlive-fonts-adobe-zapfding)
(texlive-fonts-stmaryrd)
(texlive-fonts-txfonts)
(texlive-latex-lh)
(texlive-latex-wasysym)
(texlive-generic-pdftex)
(texlive-fonts-xypic)
(texlive-fonts-charter)
(texlive-latex-beamer)
(texlive-latex-pdfx)
(texlive-iftex)
(texlive-generic-ifxetex): Use it.
2021-09-06 22:02:15 +02:00
Thiago Jung Bauermann
bf53a26a3a
gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le.
LuaJIT isn’t ported to 64-bit PowerPC. ‘texlive-bin’ and
‘texlive-latex-base’ already disable the engines that rely on it, so just
do the same in texlive-texmf.

Fix suggested by Mathieu Othacehe <othacehe@gnu.org>.

* gnu/packages/tex.scm (texlive-texmf)[arguments]: Disable LuaJIT
engines when building for powerpc64le.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-08-22 14:17:05 +03:00
Efraim Flashner
c5ef49a160
gnu: texlive-updmap.cfg: Update for Tex Live 2021.
This package was missed in ee25e3fcab.

* gnu/packages/tex.scm (texlive-updmap.cfg)[source]: Update hash for the
new version.
2021-08-18 10:25:31 +03:00
Efraim Flashner
38add920bc
gnu: texlive-latex-base: Disable some formats on powerpc-linux.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Adjust custom
'build phase to skip the jit formats also on powerpc-linux.
2021-08-17 13:41:57 +03:00
Efraim Flashner
3567b916d3
gnu: texlive-bin: Fix building on powerpc-linux.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Add phase on
powerpc-linux to adjust the test suite.
2021-08-17 09:46:33 +03:00
Thiago Jung Bauermann
2b6bf23c60
gnu: texlive-latex-base: Propagate ‘texlive-latex-l3backend’
Some packages need files from ‘texlive-latex-l3backend’ – which is a
supporting package of LaTeX3 – so propagate it from ‘texlive-latex-base’.

* gnu/packages/statistics.scm (r-with-tests)[native-inputs]: Remove
‘texlive-latex-l3backend’ from the texlive union.
* gnu/packages/tex.scm (texlive-latex-base)[propagated-inputs]: Add
‘texlive-latex-l3backend’.
(texlive-latex-xkeyval)[native-inputs]: Remove ‘texlive-latex-l3backend’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-03 18:18:45 +02:00
Ricardo Wurmus
ed84f6f869
gnu: Add texlive-grfext.
* gnu/packages/tex.scm (texlive-grfext): New variable.
2021-07-29 13:51:01 +02:00
Milkey Mouse
62722229c2
gnu: Fix broken links to Arch Linux git repositories
* gnu/packages/crypto.scm (libsecp256k1): Update comment patch link.
* gnu/packages/engineering.scm (freehdl): Update patch link.
* gnu/packages/tex.scm (texlive-bin): Update arch-patch base URL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-04 17:22:19 +02:00
Thiago Jung Bauermann
7bef3be1d3
gnu: texlive-bin: Use ‘--with-banner-add’ configure option
The “Building TeX Live” manual has a section about configure options for
distro builds¹. They mention this option:

    --with-banner-add=/SomeDistro

    This isn’t technically required, but is strongly recommended, so your
    build and your distro can be distinguished from others.

Therefore add it to texlive-bin. This is how it appears on LuaTeX, for
example (it also shows up in other engines’ banners):

    $ luatex
    This is LuaTeX, Version 1.13.0 (TeX Live 2021/GNU Guix)
    restricted system commands enabled.
    **

The other options mentioned in that section are already being used.

¹ http://www.tug.org/texlive/doc/tlbuild.html#Distro-builds

* gnu/packages/tex.scm (texlive-bin)[arguments]: Add ‘--with-banner-add’
option.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-24 16:23:24 +02:00
Ludovic Courtès
bc64d9554b
gnu: Use 'search-input-file' when looking for executables.
* gnu/packages/admin.scm (isc-dhcp): Use 'search-input-file' when
looking for executables.
* gnu/packages/audio.scm (ableton-link): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (roary): Likewise.
(ngless): Likewise.
* gnu/packages/boost.scm (boost-for-irods): Likewise.
* gnu/packages/bootloaders.scm (grub): Likewise.
(grub-efi): Likewise.
* gnu/packages/chemistry.scm (inchi): Likewise.
* gnu/packages/dictionaries.scm (ding): Likewise.
* gnu/packages/dlang.scm (ldc): Likewise.
* gnu/packages/education.scm (childsplay): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-hyperbole): Likewise.
(emacs-haskell-mode): Likewise.
(emacs-auctex): Likewise.
(emacs-ggtags): Likewise.
(emacs-graphviz-dot-mode): Likewise.
(emacs-flycheck-grammalecte): Likewise.
(emacs-counsel-notmuch): Likewise.
(emacspeak): Likewise.
(emacs-exwm): Likewise.
(emacs-exwm-x): Likewise.
(emacs-treemacs): Likewise.
(emacs-telega): Likewise.
(emacs-exiftool): Likewise.
* gnu/packages/emulators.scm (higan): Likewise.
* gnu/packages/engineering.scm (freehdl): Likewise.
(librepcb): Likewise.
* gnu/packages/entr.scm (entr): Likewise.
* gnu/packages/file-systems.scm (libeatmydata): Likewise.
(xfstests): Likewise.
(mergerfs): Likewise.
(mergerfs-tools): Likewise.
* gnu/packages/finance.scm (monero-gui): Likewise.
* gnu/packages/flashing-tools.scm (flashrom): Likewise.
* gnu/packages/fontutils.scm (fontforge): Likewise.
* gnu/packages/game-development.scm (python2-renpy): Likewise.
* gnu/packages/games.scm (opensurge): Likewise.
(xboard): Likewise.
(hyperrogue): Likewise.
(flare-game): Likewise.
(chessx): Likewise.
* gnu/packages/geo.scm (grass): Likewise.
* gnu/packages/glib.scm (glib): Likewise.
* gnu/packages/gnome.scm (mm-common): Likewise.
(network-manager-openvpn): Likewise.
(network-manager-vpnc): Likewise.
(network-manager-openconnect): Likewise.
(apostrophe): Likewise.
* gnu/packages/gnupg.scm (pius): Likewise.
(jetring): Likewise.
* gnu/packages/gnuzilla.scm (icedove): Likewise.
* gnu/packages/golang.scm (go-1.4): Likewise.
* gnu/packages/graphviz.scm (xdot): Likewise.
* gnu/packages/guile-xyz.scm (jupyter-guile-kernel): Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hindent): Likewise.
* gnu/packages/ibus.scm (ibus): Likewise.
* gnu/packages/image.scm (phockup): Likewise.
* gnu/packages/irc.scm (quassel): Likewise.
* gnu/packages/java.scm (drip): Likewise.
(ant-bootstrap): Likewise.
(tla2tools): Likewise.
* gnu/packages/julia.scm (julia): Likewise.
* gnu/packages/less.scm (lesspipe): Likewise.
* gnu/packages/libreoffice.scm (libreoffice): Likewise.
* gnu/packages/linux.scm (fuse): Likewise.
(lm-sensors): Likewise.
(bluez): Likewise.
(fakeroot): Likewise.
(inputattach): Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-diskspace): Likewise.
* gnu/packages/lisp.scm (lisp-repl-core-dumper): Likewise.
* gnu/packages/lua.scm (fennel): Likewise.
* gnu/packages/lxde.scm (spacefm): Likewise.
* gnu/packages/mail.scm (public-inbox): Likewise.
* gnu/packages/maths.scm (hdf-java): Likewise.
(maxima): Likewise.
(frama-c): Likewise.
* gnu/packages/messaging.scm (libgadu): Likewise.
* gnu/packages/music.scm (denemo): Likewise.
(curseradio): Likewise.
* gnu/packages/netpbm.scm (netpbm): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
(squid): Likewise.
(aircrack-ng): Likewise.
* gnu/packages/node.scm (node): Likewise.
(node-llparse-frontend-bootstrap): Likewise.
(node-llparse-bootstrap): Likewise.
(llhttp-bootstrap): Likewise.
(node-lts): Likewise.
* gnu/packages/ocaml.scm (ocaml-4.11): Likewise.
(opam): Likewise.
(ocaml-graph): Likewise.
* gnu/packages/orpheus.scm (orpheus): Likewise.
* gnu/packages/password-utils.scm (password-store): Likewise.
* gnu/packages/python.scm (pypy3): Likewise.
* gnu/packages/qt.scm (qt5ct): Likewise.
* gnu/packages/radio.scm (libosmo-dsp): Likewise.
* gnu/packages/ruby.scm (ruby-pandoc-ruby): Likewise.
* gnu/packages/rust.scm (rust-1.30): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/statistics.scm (r-with-tests): Likewise.
* gnu/packages/suckless.scm (surf): Likewise.
* gnu/packages/syndication.scm (gfeeds): Likewise.
* gnu/packages/telephony.scm (mumble): Likewise.
* gnu/packages/terminals.scm (alacritty): Likewise.
* gnu/packages/tex.scm (texlive-bin): Likewise.
* gnu/packages/uml.scm (plantuml): Likewise.
* gnu/packages/version-control.scm (python-git-multimail): Likewise.
(gitolite): Likewise.
(hg-commitsigs): Likewise.
(git-when-merged): Likewise.
(git-imerge): Likewise.
(gita): Likewise.
* gnu/packages/video.scm (you-get): Likewise.
* gnu/packages/vim.scm (eovim): Likewise.
* gnu/packages/virtualization.scm (qemu): Likewise.
(virt-manager): Likewise.
(criu): Likewise.
* gnu/packages/vpn.scm (strongswan): Likewise.
(xl2tpd): Likewise.
* gnu/packages/wm.scm (i3lock-fancy): Likewise.
* gnu/packages/wxwidgets.scm (python-wxpython): Likewise.
(python2-wxpython): Likewise.
* gnu/packages/xdisorg.scm (autorandr): Likewise.
* gnu/packages/xorg.scm (hackneyed-x11-cursors): Likewise.
(v86d): Likewise.
(mkfontdir): Likewise.
(xpra): Likewise.
2021-07-24 16:23:23 +02:00
Nathan Benedetto Proença
c3e33474b9
gnu: biber: Update to 2.16.
* gnu/packages/tex.scm (biber): Update to 2.16.
[source]: Remove 'patches'.
[inputs]: Add 'perl-io-string', 'perl-parse-recdescent', and
'perl-unicode-collate' (upstream appears to have fixed the issue
initially mentioned as a comment: recent issue was closed after
telling user to use perl-unicode-collate 1.29, which is the one
available; see <https://github.com/plk/biber/issues/378>.)
* gnu/packages/patches/biber-fix-encoding-write.patch,
gnu/packages/patches/biber-sortinithash.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:59:29 +02:00
Nathan Benedetto Proença
313c69a100
gnu: perl-text-bibtex: Update to 0.88.
* gnu/packages/tex.scm (perl-text-bibtex): Update to 0.88.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:57:31 +02:00
Thiago Jung Bauermann
4b11d85655
gnu: TeX Live: Update texlive-latex-pdftexcmds
texlive-latex-pdftexcmds moved to a different directory in TeX Live 2021.

* gnu/packages/tex.scm (texlive-latex-pdftexcmds): Update hash and paths.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:56:29 +02:00
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