Commit graph

228 commits

Author SHA1 Message Date
Ben Siraphob d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Dmitry Kalinkin c5787e5b8c
texlive: 2020.20201009 -> 2020.20210109 2021-01-11 13:02:54 -05:00
Dmitry Kalinkin ac255ab62e
texlive: put snapshot date into the version 2021-01-11 13:01:39 -05:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Dmitry Kalinkin f86651e63b
texlive.combine: set allowSubstitutes = true 2020-12-19 11:33:50 -05:00
Dmitry Kalinkin 9ef277209a
texlive.bin.dvisvgm: texlive 2.8.1 -> upstream 2.11 2020-11-30 15:38:28 -05:00
adisbladis ce84cc06bf
texlive: Use lib.unique for uniqueness checks
In 85605c8a29 we got a really nice
performance improvement.

By using this implementation for texlive instantiation RSS is cut by
~2.6x with a similar wall time speedup.
2020-11-24 15:40:22 +01:00
Dmitry Kalinkin 047749744f
texlive.bin.xindy: disable on platforms where clisp is broken 2020-10-18 14:08:43 -04:00
Dmitry Kalinkin e638958ec3
texlive: remove unused patch files
Those are not needed since 10438ba4fa
2020-10-18 13:59:09 -04:00
Dmitry Kalinkin ea5ac1103c
texlive.bin.core: remove unneeded autoreconfHook
Revert "texlive: fix missing synctex header"

This reverts commit ce6e72a11c.
2020-10-18 13:56:57 -04:00
Dmitry Kalinkin 10438ba4fa
texlive: 2019 -> 2020
Also change default package version from texlive year to a
revision. The problem with using texlive year is that it will change
on each of our update even if the package itself was not updated. The
texlive SVN revision number should not change unless the package is
updated. This will allow to share more store paths between different
texlive versions.
2020-10-11 12:28:26 -04:00
Dmitry Kalinkin d2a3ac31b6
texlive.bin: provide luajittex and mfluajit binaries
The ppc64 condition is based on previous reports and was not tested on
actual hardware.
2020-10-11 12:28:25 -04:00
Dmitry Kalinkin 1e87de13a5
texlive.combined.scheme-infraonly: enable building on Hydra
This used to be broken, but recently was fixed.
2020-10-11 12:28:25 -04:00
Dmitry Kalinkin b797fb24c4
texlive.bin.mflua: init 2020-10-11 12:28:25 -04:00
Dmitry Kalinkin 69e0797b00
texlive.bin.core: avoid building lua{53,jit} libraries 2020-10-11 12:28:11 -04:00
Dmitry Kalinkin 02cbf4e773
texlive.bin.core: remove outdated options 2020-10-09 18:19:49 -04:00
Dmitry Kalinkin 0f564014b6
texlive: move chktex from texlive.bin.core to texlive.bin.chktex
chktex binary doesn't work without its global resource file which
comes in its tlType="run" package. This commit moves chktex into a
separate tlType="bin" package so it is only used along with its
tlType="run" counterpart.
2020-09-29 07:35:03 -04:00
Dmitry Kalinkin 37d65c8698
texlive: fix arara 2020-09-09 18:49:32 -04:00
Dmitry Kalinkin 30205d76ad
texlive: disable revisioned tarballs for now 2020-08-01 17:06:12 -04:00
Dylan Simon 4ab0be845d
texlive.bin: fix poppler compatibility patch urls (#91890) 2020-07-02 12:59:59 -04:00
Dmitry Kalinkin 8852a81022
texlive: fix build for scheme-infraonly 2020-06-22 01:08:45 -04:00
Dmitry Kalinkin 73e0138f7c
texlive: build all official schemes on Hydra
We are already building texlive.combined.scheme-full as a dependency
for manim.
2020-05-18 00:04:20 -04:00
Pavol Rusnak 7b0167204d treewide: use https for nixos.org and hydra.nixos.org
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
2020-05-03 22:14:21 -07:00
Ismaël Bouya bb79233b94
texlive: Fix texlive pstricks
The upgrade of ghostscript to 9.50 produced some issues with texlive
2019. This patch adds an additional fix necessary for the upgrade
preventing pstricks from working correctly:

  https://tug.org/pipermail/dvipdfmx/2019-November/000036.html
2020-04-22 18:34:06 +02:00
Dmitry Kalinkin af72bf0ae2
texlive.bin: fix for poppler 0.84 2020-04-16 04:17:22 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Dmitry Kalinkin 91c9f2ab5c
texlive.combine: set TEXMFCNF in binary wrapper
This helps kpathsea to find texmf.cnf in some cases. For example,
dvipng was trying to look for it in
/nix/store/<hash>-texlive-dvipng.bin-2019/ instead of
/nix/store/<hash>-texlive-combined-full-2019/.
2020-03-30 21:07:08 -04:00
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
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
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
Dmitry Kalinkin f4ae8d09e7
texlive: remove dvidvi override
Not needed anymore
2019-11-13 16:54:53 -05: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
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