Commit graph

246 commits

Author SHA1 Message Date
Robin Gloster e616cd8840
tex4ht: obsoleted by tex4ht in texlive 2018-03-02 11:56:45 +01: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
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 ec99a3de1b
texlive: add comments, whitespace cleanup
Fixes #34490.  The FIXME has been long obsolete.
2018-02-01 15:55:52 +01: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
Vladimír Čunát 656a0089f6
texlive.bin.core-big: fixup build after #29039 2017-10-07 10:12:49 +02:00
John Ericson ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Vladimír Čunát 828bc3812c
texlive: add ghostscript when containing pdfcrop
Potential disadvantage: ghostscript will become visible to user,
so there may e.g. be (new) collisions in nix-env due to this.
Fixes #28411.
2017-09-03 10:17:37 +02:00
Tuomas Tynkkynen 1a0f8263fe texlive: Fix fallout from man/info/doc output changes 2017-08-11 21:32:55 +03:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Vladimír Čunát 7d547a6b4c
texlive: switch to a *working* temporary mirror
See #24683.
2017-07-11 15:34:05 +02:00
Vladimír Čunát 8dddd2b672
texlive.combine: fix perl scripts without a shebang
Fixes #24343.  These parts of upstream texlive are really ugly.
Also improve variable quoting in the code around.
2017-07-01 11:28:58 +02:00
Vladimír Čunát 81e46dbb29
texlive: wrap scripts by older perl
Fixes #26890.
2017-07-01 10:42:59 +02:00
Dan Peebles 90b9719f4f treewide: fix the remaining issues with meta attributes 2017-04-29 04:24:34 +00:00
Vladimír Čunát 8c4339a9dc
texlive: fix CVE-2016-10243
https://github.com/NixOS/security/issues/104
2017-03-25 23:03:10 +01:00
Vladimír Čunát 2aff29c7b2
tex4ht: deprecate in favor of texlive.tex4ht
I don't make an alias, as the attribute is used in a different way.
2017-02-11 18:09:43 +01:00
zimbatm 36ac7058d2 tetex: fix source urls 2017-01-24 14:46:33 +00:00
Lancelot SIX abb28a409c auctex: 11.89 -> 11.90
See http://lists.gnu.org/archive/html/info-gnu/2017-01/msg00003.html
for release announcement
2017-01-11 10:46:21 +01:00
Vladimír Čunát 3e6d04da57
texlive: disable xindy on Darwin for now (#20062) 2016-11-07 22:57:41 +01:00
Vladimír Čunát 1cd7466650
Merge #19800: fix clisp + xindy -> texlive on Darwin 2016-10-26 21:01:12 +02:00
Mike Sperber 0fba729ded xindy: add dependency on libiconv
... as the build process invokes iconv.
2016-10-25 10:45:50 +02:00
Frederik Rietdijk b08c00f67d dblatex: use python2 2016-10-18 23:16:07 +02:00
Profpatsch bef6bef0d2
stdenv/stripHash: print to stdout, not to variable
`stripHash` documentation states that it prints out the stripped name to
the stdout, but the function stored the value in `strippedName`
instead.

Basically all usages did something like
`$(stripHash $foo | echo $strippedName)` which is just braindamaged.
Fixed the implementation and all invocations.
2016-10-11 18:34:36 +02:00
Vladimír Čunát 20c6f5c560 texlive: add links to ht* tools, in particular htlatex
This should fix #18480.
2016-09-10 14:58:00 +02:00
Vladimír Čunát 8481eca63c texlive: allow using pkgs.nix with empty hashes
... to enable saving space in git history.
2016-09-04 18:11:18 +02:00
Vladimír Čunát c6376a3e9a texlive: fixup some packages missing from scheme-full
Hopefully they're all now.
2016-09-04 17:56:12 +02:00
Vladimír Čunát 1519a7c94b texlive.bin.src: eradicate the last tug.org download
They're just unstable.
2016-09-04 14:53:32 +02:00
Vladimír Čunát 2217b328f9 texlive: rename the directory texlive-new -> texlive 2016-09-04 14:53:30 +02:00
Vladimír Čunát 171f7d974d Merge commit 'da421bc' into p/texlive-2016
... to allow renaming the directory.
2016-09-04 14:52:04 +02:00
Vladimír Čunát d401df0d24 texlive.xindy: fixup after 2016 update
It's unfortunate that our `substituteInPlace` passes some kinds of
errors in silence.
2016-09-04 14:49:37 +02:00
Vladimír Čunát a787994fef texlive: use a cuni.cz mirror temporarily
... to avoid testers getting hash mismatches.
2016-09-04 14:49:37 +02:00
Vladimír Čunát 9d5f23f025 texlive: fixup some bin/ links, e.g. xe(la)tex 2016-09-04 14:49:36 +02:00
Vladimír Čunát 16829e4bde dblatex: fixup build with texlive-2016
https://github.com/NixOS/nixpkgs/pull/16391#issuecomment-227405183
2016-09-04 14:49:36 +02:00
Vladimír Čunát 7de41b9a4b texlive: 2015 -> 2016
Note: only basic testing has been done so far; also see FIXME items.

AMENDed to reduce git history size significantly:
 - fix 2015->2016 bugs in fixedHashes.nix
 - purge all sha512 from pkgs.nix
2016-09-04 14:48:54 +02:00
Domen Kožar da421bc75f Fix #4210: Remove builderDefs
This was one of the ways to build packages, we are trying
hard to minimize different ways so it's easier for newcomers
to learn only one way.

This also:

- removes texLive (old), fixes #14807
- removed upstream-updater, if that code is still used it should be in
  separate repo
- changes a few packages like gitit/mit-scheme to use new texlive
2016-08-31 11:34:46 +02:00
Robin Gloster 33e1c78ae3 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-16 07:54:01 +00:00