Commit graph

378 commits

Author SHA1 Message Date
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
Dmitry Kalinkin 658d83a182
texlive/combine.nix: s/mkUniquePkgs/mkUniqueOutPaths/ 2019-03-03 21:13:09 -05:00
Dmitry Kalinkin a1505f3c6a
texlive: move fastUnique from default.nix to combine.nix 2019-03-03 21:06:10 -05:00
Will Dietz 33b9ddc0a3 texlive: fix w/poppler 0.73.0 2019-01-08 21:40:24 -06:00
Vladimír Čunát e16ec2920a
texlive.bin.core-big: use postPatch from .core
Otherwise it wouldn't build with new poppler either.
(Perhaps not all of it is needed here, but why not apply it all?)
2018-12-25 10:21:36 +01:00
Jan Tojnar 76725778ce
texlive.bin.core: Fix build with poppler 0.72 2018-12-23 03:07:29 +01:00
Mario Rodas 679a1f728e
texlive: fix link to poppler patch 2018-12-08 08:56:32 -05:00
c0bw3b 0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Markus Kowalewski 142717e3ab
pgf: add license 2018-11-15 09:05:02 +01:00
Markus Kowalewski d458a1869f
pgfplots: add meta data 2018-11-15 09:04:56 +01:00
Markus Kowalewski d190d8af0c
lkproof: add license 2018-11-15 00:13:53 +01:00
Dmitry Kalinkin 20643a7807
texlive: provide repstopdf
repstopdf is supposed to be a symlink to epstopdf. Then epstopdf looks
at "$0" to detect when restricted mode needs to be enabled.  Unfortunately
our wrapper will drop all intermediate symlinks, which messes up "$0".
Restricted mode appears to be a security feature, so a test is
introduced to verify that the wrapper works as expected.
2018-10-29 16:56:45 -04:00
Dmitry Kalinkin 91c304030a texlive: generate MkIV caches
Documentation:
http://www.pragma-ade.com/general/manuals/tools-mkiv.pdf

Fixes: #19279
Closes: #47370
2018-09-27 13:39:28 -04:00
John Ericson c701d6cb21 Merge remote-tracking branch 'upstream/master' into staging 2018-09-25 14:20:27 -04:00
Dmitry Kalinkin 256af6d039 texlive/combine.nix: drop nix1 support (#47294)
Since 7d1968c0e3 ('Nix minimal version: 1.11 -> 2.0') nixpkgs now require nix 2.0+
2018-09-24 22:22:10 +02:00
Robin Gloster ce6e72a11c
texlive: fix missing synctex header
The automake file was patched but `automake` not run.
Also since the texk/web2c folder is not in autoconfig's
SUBDIRS the autoreconfHook has to be run in there.

Completely fixes #46376
2018-09-18 18:33:08 +02:00
Uli Baum 1df2560dde Merge branch 'master' into staging-next 2018-09-13 10:08:53 +02:00
Samuel Dionne-Riel 1ac912bf1b texlive: Adds patch for missing synctex header. (#46376)
This seems like a known issue as other distributions (ArchLinux here)
have patches fixing the issue.

This hopefully fixes more than one dependant builds for ZHF 18.09.
2018-09-09 11:37:29 +02:00
Jan Malakhovski b7bd0561be Merge branch 'master' into staging 2018-09-08 22:08:32 +00:00
Shea Levy 18337f3ece
Merge branch 'no-toPath' 2018-09-06 08:09:53 -04:00
Uli Baum 20d88c1a4b texlive: add IPFS URL for package source snapshot 2018-08-29 11:03:45 +02:00
Uli Baum 831551a9a1 texlive.bin.core-big: disable luatex53
build failed on Darwin
Patch by @veprbl
2018-08-29 11:03:45 +02:00
Uli Baum ac03d2e571 texlive.bin.core-big: remove unneeded compiler flags 2018-08-29 11:03:45 +02:00
Uli Baum 2737f17d38 texlive: add detailed upgrade instructions in separate file 2018-08-29 11:03:45 +02:00
Uli Baum f3961e5dae texlive-packages: snapshot 2017-final -> 20180827
and use fixed hashes
2018-08-29 11:03:44 +02:00
Uli Baum 738bae4ec2 texlive: make packages fixed-output derivations
This reverts a part of the changes made in #40826.
Fixed-output derivations save time and space on rebuilds.
2018-08-29 11:03:44 +02:00
Uli Baum d5816c9bcb texlive: update server URLs 2018-08-29 11:03:44 +02:00
Uli Baum 149b180f18 texlive.bin: 20170524 -> 20180414 2018-08-29 11:03:44 +02:00
CrystalGamma 43eb8b9a93 texlive-bin: disable mfluajit on ppc64(le) (#45475)
LuaJIT currently has no 64-bit Power support and so breaks the build on such platforms.
2018-08-23 15:30:19 +02:00
Will Dietz 2d9bd29cc5 texlive: fix fmtutil invocation, generate all formats
Otherwise they will have to be generated by users lazily,
which is probably not the right trade-off.

Noticed this because lack of formats was causing problems
on a few documents since they will (a TL2018 change, I believe)
attempt to be written to the nix build user's ~/.texlive2018.
2018-08-22 17:33:49 +02:00
Benjamin Hipple c9d55ae426 Set xindy HOME to . 2018-08-09 18:49:35 +02:00
Benjamin Hipple 7c5fd6801b texlive: 2017 -> 2017-final
This commit rebuilds texlive 2017 with the final release of 2017. As described
in these issues [1][2][3], the upstream CTAN mirrors are a continuously moving
rolling release without historical archives.

This particular FTP server is also a rolling release folling CTAN for the latest
version, but it has snapshots of the final texlive releases; it appears that the
2017 distribution has been unmodified since texlive-2018 was released earlier
this year.

Along the way, we needed to fix several issues:
- xindy: if $HOME is unset, it will try to mkdir /homeless-shelter, which fails
  due to insufficient permissions.
- scheme-infraonly: this scheme had symlinks into other releases that were
  read-only, so it couldn't patch and modify the scripts. This commit removes it
  for now, but that's not a particularly satisfying solution. Ideas?

This also adds some documentation on the upgrade process to prepare for
texlive-2018 [4].

This commit also replaces the sha1 hashes with upstream's standard sha512 hashes.
It appears the motivation for the shorter hashes was to save disk space in the
derivations; in master, the size of this directory is 1012K; in this commit it
is 1600K. The difference is not particularly large, and the downsides to using
our own sha1 hashes are:

- More nix code to maintain
- Multi-step upgrade process for maintainers: the maintainer first has to
  download all upstream tarballs by sha512 hash, then run the fix script, then
  rebuild with sha1 hashes.
- Less transparent. If we use the upstream sha512 hashes, any user can
  immediately verify that the hashes we're providing match upstream, or match
  the snapshot in time.
- Easier to debug. Since upstream is rolling and packages may disappear or fail
  to build, it's useful to be able to determine if the sha mismatch is because
  of an update or not; if we have a sha1 mismatch and no tarball to pull, we
  can't figure out which sha512sum would have produced that sha1.
- Less trust required. Due to the above, users don't have to trust the
  content-addressed mirrors on IPFS and @veprbl's servers as much.
- Easier to cobble together a source distribution from a variety of sources. It
  seems some FTP servers have more/less than others, or older/newer packages. If
  we know what we're looking for beforehand and we're just missing a few
  packages whose hashes match the advertised hashes upstream, it's easier to find.

[1] https://github.com/NixOS/nixpkgs/issues/24683
[2] https://github.com/NixOS/nixpkgs/issues/10026
[3] https://github.com/NixOS/nixpkgs/issues/34490
[4] https://github.com/NixOS/nixpkgs/issues/40232
2018-08-09 18:49:35 +02:00
Pascal Wittmann 03dd8aabf9
auctex: add license
see issue #43716
2018-07-22 17:30:15 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Silvan Mosberger a986631655 texlive: Propagate biber binary (#42875) 2018-07-06 00:19:47 +02:00
Vladimír Čunát 606ff955fb
Merge #41921: texlive: Fix 'match-parens' ruby dependency 2018-06-13 15:54:16 +02:00
Josef Kemetmueller 5bf8fd57e1 texlive: Fix 'match-parens' ruby dependency 2018-06-13 13:16:33 +00:00
Shea Levy 6da6accd30
treewide: Remove uses of builtins.toPath.
toPath has confusing semantics and is never necessary; it can always
either just be omitted or replaced by pre-concatenating `/.`. It has
been marked as "!!! obsolete?" for more than 10 years in a C++
comment, hopefully removing it will let us properly deprecate and,
eventually, remove it.
2018-05-22 16:42:02 -04:00
Jan Malakhovski 7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Matthew Justin Bauer 8067d4844e
texlive: add cxxflags for clang
Fixes #37719
2018-03-24 18:11:03 -05:00
Tuomas Tynkkynen 1e107443ad Merge commit '618ac29687a650d854c8bea7efd4490387589ce2' into staging 2018-03-03 22:40:32 +02:00
Robin Gloster e616cd8840
tex4ht: obsoleted by tex4ht in texlive 2018-03-02 11:56:45 +01:00
Shea Levy 1ad37a8c6e
texlive.bin: Fix duplicate patch definition 2018-02-28 19:22:29 -05:00
Tuomas Tynkkynen 34f95d92a2 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/applications/misc/pytrainer/default.nix
	pkgs/development/tools/pew/default.nix
	pkgs/tools/misc/you-get/default.nix
2018-02-28 20:52:49 +02:00
Will Dietz af73962f45 luatex: add prefix to patch so it applies with default patch flags 2018-02-27 11:13:45 -06:00
Will Dietz 08805e977d texlive: patch luatex to fix crash w/gcc7
Fixes #35839.
2018-02-27 11:10:42 -06:00
Vladimír Čunát 6168c2e45f
Merge master into staging
This is to cleanup the (re-)revert of merge to master.
2018-02-26 22:55:11 +01:00
Ryan Mulligan b27eee31ea auctex: 11.90 -> 12.1
Semi-automatic update; builds on NixOS
2018-02-24 18:35:07 -08:00
Vladimír Čunát 63ca2cc786
Merge #35370: texlive.bin: fix with poppler 0.62 2018-02-24 22:30:23 +01:00
Will Dietz b42b1c8f22
Merge pull request #33698 from dtzWill/fix/texlive-luatex
texlive: don't remove luatex from packages that require it.
2018-02-23 10:26:02 -06:00
Jan Tojnar 32cc682624
texlive.bin: fix compatibility with poppler 0.62 2018-02-23 03:00:47 +01:00
Vladimír Čunát ec99a3de1b
texlive: add comments, whitespace cleanup
Fixes #34490.  The FIXME has been long obsolete.
2018-02-01 15:55:52 +01:00
Will Dietz a0d91e1dc9 texlive: don't remove luatex from packages that require it.
Fixes #31482.
2018-01-10 07:35:23 -06:00
Frederik Rietdijk 1869e7e5b0 Merge remote-tracking branch 'upstream/master' into HEAD 2018-01-01 15:09:55 +01:00
Gabriel Ebner 7dcc307241 texlive: use perl 5.24
See #26890.
2018-01-01 09:47:39 +01:00
John Ericson 4d2b763817
Merge pull request #26805 from obsidiansystems/cross-elegant
Make cross compilation elegant
2017-12-30 22:58:02 -05:00
John Ericson 046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Dmitry Kalinkin 77b1803830
dblatex: 0.3.7 -> 0.3.10, fixes for the new texlive 2017-12-22 19:55:40 -05:00
Will Dietz fcffee2ec5 texlive: fix use of xdvi: add hashes and don't orphan it
Hashes added manually, not using `fixHashes.sh`.

We remove xdvi from collection-basic and put it elsewhere:
previously this was collection-genericextra but that no longer
exist so I suppose it can go in collection-plainextra.
(As mentioned on the issue, might be best to just leave it in basic?)

Fixes #32661.
2017-12-16 22:51:26 +00:00
Vladimír Čunát 1b555c57ec
texlive: more robust way to fetch
/cc #30332.  Thanks to @vprbl for the http mirror.
2017-12-15 20:13:09 +01:00
Gabriel Ebner 8df38f6dda
Merge pull request #30332 from veprbl/texlive2017
texlive: 2016 -> 2017
2017-12-13 14:51:18 +01:00
Will Dietz 5c81453477 tetex: patch off-by-one to fix segfault
Fixes #32264.

Patch based on one from Fedora texlive-2007-66 source rpm.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=754517
http://tug.org/pipermail/tex-k/2011-July/002317.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633011
https://www.mail-archive.com/tetex@dbs.uni-hannover.de/msg00968.html

Redhat discussion suggests this happens when using -Wl,-z,relro
(or other linker flags) that change the default memory layout.
2017-12-09 16:05:49 -06:00
Dmitry Kalinkin 5b42c6f196 texlive: update schemes list 2017-10-30 01:07:51 -04:00
Dmitry Kalinkin ba3c9df01a texlive: fix evaluation on Nix 1.11
The problem was in builtins.partition call. I've tried to rewrite it with
builtins.foldl', but that doesn't help. However replacing it with a pair of
builtins.filter calls works.

diff --git a/lib/lists.nix b/lib/lists.nix
--- a/lib/lists.nix
+++ b/lib/lists.nix
@@ -242,10 +242,10 @@ rec {
        => { right = [ 5 3 4 ]; wrong = [ 1 2 ]; }
   */
   partition = builtins.partition or (pred:
-    foldr (h: t:
+    builtins.foldl' (t: h:
       if pred h
-      then { right = [h] ++ t.right; wrong = t.wrong; }
-      else { right = t.right; wrong = [h] ++ t.wrong; }
+      then { right = t.right ++ [h]; wrong = t.wrong; }
+      else { right = t.right; wrong = t.wrong ++ [h]; }
     ) { right = []; wrong = []; });

   /* Merges two lists of the same size together. If the sizes aren't the same
2017-10-30 00:54:48 -04:00
Dmitry Kalinkin eefa8d4191
texlive: 2016 -> 2017
fmtutil has started to report number of failed formats in its return code. One
could regenerate the share/texmf/web2c/fmtutil.cnf to only include available
.ini files, but simpler solution is to ignore the return code.
2017-10-25 02:38:31 -04:00
Dmitry Kalinkin 19efa65f59
texlive: fix after dependency update 2017-10-19 00:25:24 -04:00