Commit graph

343 commits

Author SHA1 Message Date
Dmitry Kalinkin 9f44a61f39
texlive: use versioned tarballs
Announced in [1], versioned tarballs allow to make sure that a
specific version is fetched. This does not guarantee that all previous
versions are retained on the main mirrors.

Logically, we would want to first try to download versioned tarballs
from any mirror and only then try the unversioned ones. But right now
we only have two mirrors and only some of the tarballs are versioned
in texlive-2019, so the order is changed to not hammer the weak
tug.org mirror.

[1] https://tug.org/pipermail/tex-live/2019-September/044086.html
2020-03-15 14:56:18 -04:00
Dmitry Kalinkin 9c4212cb9f
texlive/pkgs.nix: add revision 2020-03-15 14:56:17 -04:00
Dmitry Kalinkin 9752593eb0
texlive: 2019 -> 2019-final
The biber package is now at 2.14, but TextBibTeX is still required.

Few changes were needed for newly introduced scripts-extra path. This
broke some of our old tricks which were relying on having writable
script directories. The changes to the script locations made buildEnv
create symlinks to the script directories instead of directories of
symlinks to scripts. The changes to texlinks.sh and texlive/TeXLive
perl path were made because of this.
2020-03-15 14:56:17 -04:00
Dmitry Kalinkin d9fb53ddd6
texlive: reimplement fixHashes.sh in GNU Awk
The shell script doesn't work very well in non-GNU environments like
darwin. This provides an implementation that uses just a single GNU tool
- gawk, thus reduces number of points of failure.
2020-03-15 14:56:16 -04:00
Will Dietz fc7e4c9267 texlive: poppler 0.84 fix, patch from gentoo 2020-02-03 09:58:44 -08:00
Mathias Schreck 9508d07ac3
runLaTeX: add additional rerun criterion (#78318)
Seems like the phrase "Please rerun LaTeX." is outputted by `biblatex`.
When we detect this, we should actual rerun latex.
2020-01-30 14:05:20 -05:00
Benjamin Hipple 39700a65ef texlive: touchup documentation (#77718)
The `bash` pragma gives syntax highlighting on the file, and removing the
prompts allows a user to just copy-paste the entire block into the terminal to
run the update.
2020-01-16 23:30:20 -05:00
Dmitry Kalinkin 00b7680f28
! fixup 2020-01-07 11:08:13 -05:00
Dmitry Kalinkin f9d18e5ddc
! fixup 2020-01-07 11:00:36 -05:00
Mike Sperber 7e298ddcd9 texlive: make updmap actually regenerate (#76826)
The --syncwithtrees flag only updates the config files, so run it
again without --syncwithtrees to generate the actual map files.
2020-01-03 17:45:21 +01:00
Dmitry Kalinkin dfc9845838
texlive: provide a working pygmentex executable
The old top-level pygmentex package is replaced with an alias.
2019-12-15 19:52:17 -05:00
Dmitry Kalinkin c644c7578d
texlive.bin.dvipng: fix "Fatal error, PK file ends prematurely"
Closes: #75605
2019-12-13 13:14:35 -05:00
Dmitry Kalinkin 2f637f4cff
texlive.bin.dvisvgm: don't provide dependencies that it ignores
dvisvgm currently uses its own vendored versions for multiple libraries
2019-12-08 23:04:57 -05:00
Dmitry Kalinkin d26ca8bc66
texlive.bin.dvisvgm: fix for our ghostscript 2019-12-08 22:59:45 -05:00
Dmitry Kalinkin 9d2ed2f0bd
Merge pull request #74305 from veprbl/pr/texlive_use_tlinfo_snapshot
texlive: use texlive.info snapshot
2019-12-07 14:23:08 -05:00
Jonathan Ringer cbbad0d899 texlive.bin: fix darwin build 2019-12-04 09:26:39 -08:00
Jan Tojnar 9e4d564543
texlive.bin.core: Fix build with Poppler 0.83.0 2019-12-03 01:33:10 +01:00
R. RyanTM 289aacbf8c auctex: 12.1 -> 12.2 2019-11-27 19:45:35 -08:00
Dmitry Kalinkin d6fdab57cf
texlive: use texlive.info snapshot
These are easy to access daily snapshots maintained by one of the
texlive developers.
2019-11-27 10:20:33 -05:00
SRGOM d587092e9e pplatex: init at unstable-2015-09-14 (#73461) 2019-11-15 14:01:11 -05:00
Dmitry Kalinkin f4ae8d09e7
texlive: remove dvidvi override
Not needed anymore
2019-11-13 16:54:53 -05:00
markuskowa dca1178698
Merge pull request #72472 from r-ryantm/auto-update/dblatex
dblatex: 0.3.10 -> 0.3.11
2019-11-11 23:58:14 +01:00
Dmitry Kalinkin 97dbf112b4
texlive: 2018 -> 2019
biber: 2.12 -> 2.13

Vendored potrace was moved from libs/potrace to
texk/dvisvgm/dvisvgm-src/libs/potrace. Unfortunately, it is not trivial
to remove it from there, so for now dvisvgm seems to be using its
vendored dependencies.
2019-11-06 12:56:10 -05:00
Dmitry Kalinkin 93b2d98726
texlive: UPGRADE.md: Add --location option to allow referrals 2019-11-06 12:56:05 -05:00
R. RyanTM 9925f6e323 dblatex: 0.3.10 -> 0.3.11 2019-11-01 12:03:50 -07:00
volth 8276314608 treewide: fix string escapes 2019-09-16 22:15:38 +00:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk 5061fe0c2c Merge staging-next into staging 2019-08-28 08:26:42 +02:00
volth 35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Dmitry Kalinkin 430f0e14d3
texlive: fix too-long shebang line on Darwin for latexinent 2019-08-19 18:56:36 -04:00
Frederik Rietdijk f65aa21bb2 Merge master into staging-next 2019-08-18 12:53:44 +02:00
Vladimír Čunát ea0aea7280
texlive: remove myself from meta.maintainers
That corresponds to the real situation since a couple years ago.
2019-08-18 10:49:14 +02:00
volth c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth b3cc65f8b9 buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
clefru 5d14340cba texlive: retain texmf/updmap.cfg and generate texmf-config/updmap.cfg (#58220)
As discussed in
https://github.com/NixOS/nixpkgs/issues/58026#issuecomment-475825057
2019-05-10 08:50:09 -04:00
c0bw3b 9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Dmitry Kalinkin b6d0bdf513
texlive: provide bin.texlive on Darwin too
texlive attribute was accidentally added in attrset wrapped with

  stdenv.lib.optionalAttrs (!stdenv.isDarwin)

Fixes: dbc2c1c4b8 ('texlive: add missing perl dependencies for latexindent')
2019-05-03 10:33:04 -04:00
Dmitry Kalinkin 7eeab3726f
Merge pull request #59537 from veprbl/pr/texlive_latexindent_deps
texlive: add missing perl dependencies for latexindent
2019-05-02 12:44:07 -04:00
Mario Rodas 2c6ecba31e
texlive.bin.core-big: add libX11 to buildInputs
metafont requires libX11
2019-05-01 06:10:29 -05:00
Dmitry Kalinkin dbc2c1c4b8
texlive: add missing perl dependencies for latexindent 2019-04-15 11:30:17 -04:00
Dmitry Kalinkin 21d1b195c8
Merge pull request #58939 from Lucus16/latexrun
Add latexrun package
2019-04-05 19:00:16 -04:00
Lars Jellema 8cc7b1cce3
latexrun: init at unstable-2015-11-18 2019-04-03 19:50:00 +02:00
Clemens Fruhwirth 6e71af2746 Create texmf-local directory separate from texmf-dist.
Motivated by https://github.com/NixOS/nixpkgs/issues/58026
2019-03-24 11:47:09 -04:00
Dmitry Kalinkin 7669144a27
texlive: add veprbl to maintainers
cc #56797
2019-03-16 12:04:04 -04:00
Dmitry Kalinkin 2eeb7a9e69
texlive: add tug.org as a mirror for 2018-final 2019-03-07 21:43:49 -05:00
Dmitry Kalinkin 40f55d6870
texlive: 2018 -> 2018-final 2019-03-03 22:07:19 -05:00
Dmitry Kalinkin 8f35ef724a
texlive/combine.nix: fix bugs in languages filter
Initial language.{dat,def} configuration files provided by
`texlive.hyphen-base` may declare languages that were not part of the
combined packages. Those are filtered out by a sed script that had few
problems:

1) The sed script was generated from a list of potentially non-unique
packages. Every repetition of a select and print clause would produce a
copy of a language declaration in the output file. This became a problem
for update to the 2018-final, the fmtutil would crash from too much
German hyphenation.
2) The select clauses were ambiguous: both '^% from hyphen' and
'^% from hyphen-welsh' will match a line 'from hyphen-welsh'.
2019-03-03 22:07:19 -05:00
Dmitry Kalinkin 30364211e6
texlive/combine.nix: clarify implementation of mkUniqueOutPaths
mkUniqueOutPaths used to produce empty paths for dummy packages, this
version strips those out. This does not affect `pkgList.bin` at all, but
`pkgList.nonbin` is affected, so this is not exactly a refactoring. It
should not harm to have a cleaner `paths`.

Also, original comment said "here we deal with those dummy packages
needed for hyphenation filtering". This doesn't seem to be true, the
packages that were really filtered are actually metapackages that
represent collections. I also could not find any dummy packages even in
the originally committed version.
2019-03-03 21:14:04 -05:00