Commit graph

535 commits

Author SHA1 Message Date
Vincenzo Mantova 3d6e2420a2
texlive.combine: link TEXMFDIST in $out/share for backward compatibility (#233882) 2023-05-25 12:47:15 -04:00
apfelkuchen06 23cf0d4b69 texlive.bin.core-big: fix CVE-2023-32700
This fixes a bug that allowed any document compiled with LuaTeX to execute
arbitrary shell commands, even with shell escape disabled.

See https://tug.org/~mseven/luatex.html for more details.
2023-05-20 19:14:12 +02:00
Dmitry Kalinkin d8dea801e9
Merge pull request #227803 from xworld21/texlive-unpack-tlpkg
texlive: unpack and expose useful tlpkg/ content; run postaction scripts
2023-05-15 13:16:02 -04:00
Vincenzo Mantova d3b28b7fd9
texlive.combine: move repstopdf test to tests.texlive (#231742) 2023-05-14 11:05:22 -04:00
Vincenzo Mantova 1623309ee2 texlive: execute postaction scripts 2023-05-14 14:51:04 +01:00
Vincenzo Mantova 17d4034e89 texlive: unpack and expose useful tlpkg/ content 2023-05-14 14:51:03 +01:00
Vincenzo Mantova b3e5f58289
texlive.bin.chktex: add perl interpreter to shebang (#231743) 2023-05-14 01:11:02 -04:00
Doron Behar 70e88eb75d pplatex: Add doronbehar as maintainer 2023-05-13 22:04:33 +03:00
Doron Behar d2313a5a58 pplatex: unstable-2015-09-14 -> unstable-2023-04-18 2023-05-13 21:52:29 +03:00
Vincenzo Mantova c60d2ffe2e texlive.combine: call faketime from within fmtutil
Calling 'faketime fmtutil' fails on some non-NixOS systems, due to
fmtutil calling system, and implicitly /bin/sh, which may be
incompatible with faketime's LD_PRELOAD (e.g. using a different glibc).
This change moves faketime within fmtutil so that LD_PRELOAD is applied
only to the final binary.
2023-05-08 12:41:41 +01:00
Dmitry Kalinkin 5c27dc43d2
Merge pull request #206763 from xworld21/texlive-centralize-version
texlive: use version info from tlpdb instead of hardcoding
2023-04-30 21:46:53 -04:00
Dmitry Kalinkin af4cf4d6ae
Merge pull request #228196 from apfelkuchen6/texlive-xetex-fonts
texlive: fix texlive fonts for xetex
2023-04-26 20:46:46 -04:00
apfelkuchen06 c5403f4505 texlive.combine: expose font directory via passthru
This is for example useful for ncluding the texlive font directory in the
`fonts.fonts` NixOS option.
2023-04-27 00:36:41 +02:00
apfelkuchen06 5f96aa9436 texlive.combine: wrap with FONTCONFIG_FILE
This is neccessary for XeTeX to find the fonts distributed with
TeXLive.

The fontconfig file generated by makeFontsConf is almost identical to the one
from the fontconfig package and /etc/fonts/fonts.conf on NixOS -- it only adds
the specified font directories. In particular this means that all the actual
configuration files in /etc/fonts/conf.d are still included and there also is a
/usr/share/fonts font directory entry for use with non-NixOS linuxes, so
it's unlikely that this breaks someone's setup.
2023-04-27 00:35:58 +02:00
github-actions[bot] 134b2c3768
Merge master into staging-next 2023-04-26 00:02:00 +00:00
Vincenzo Mantova 3ff244ba20
texlive.combine: wrap all time-dependent commands with faketime (#227873) 2023-04-25 16:54:23 -04:00
Vincenzo Mantova 671f7556b2 texlive.texdoc: add tlpdb revision to version 2023-04-22 20:22:39 +01:00
Vincenzo Mantova c4b0534701 texlive: use version info from tlpdb instead of hardcoding 2023-04-22 20:22:39 +01:00
github-actions[bot] aac843d611
Merge master into staging-next 2023-04-21 12:01:11 +00:00
Vincent Laporte 96face35e4 advi: use Dune 3
Co-authored-by: Ulrik Strid <ulrik.strid@outlook.com>
2023-04-21 08:18:21 +02:00
github-actions[bot] 7fea76bc9d
Merge master into staging-next 2023-04-21 00:02:18 +00:00
Vincenzo Mantova 9a6f2869b6
texlive: build full TEXMFROOT for non-relocated packages (#226536)
The 'non-relocated' packages of TeX Live expect to live in
TEXMFROOT/texmf-dist (e.g. to search for perl modules). This change
builds TEXMFROOT instead of just TEXMFDIST to accommodate those
packages, and obviate the need for patching fmtutil.
2023-04-20 16:42:36 -04:00
github-actions[bot] a851087ffa
Merge staging-next into staging 2023-04-18 00:02:42 +00:00
Vincenzo Mantova 175c646b8a
texlive.bin.xindy: add perl to buildInputs to fix shebang (#226530) 2023-04-17 16:13:42 -04:00
github-actions[bot] bbf9b5deb7
Merge staging-next into staging 2023-04-14 18:01:56 +00:00
Vincenzo Mantova a58da07fc6
texlive: accept gracefully packages without pname or version (#226070) 2023-04-14 08:03:35 -04:00
github-actions[bot] 15d0cd57d0
Merge staging-next into staging 2023-04-14 00:02:47 +00:00
apfelkuchen06 cec3a44123 auctex: fix build
prior to this change, the build fails because the documentation cannot be
generated due to a missing latex package (probably fallout from a texlive
update):

! LaTeX Error: File `hypdoc.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.29  \begin{document}
                      ^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on preview.log.
make[1]: *** [Makefile:91: preview.pdf] Error 1
make[1]: Leaving directory '/build/auctex-12.3/latex'
make: *** [Makefile:219: texmf] Error 2
2023-04-13 18:59:07 +02:00
github-actions[bot] 857e6278c9
Merge staging-next into staging 2023-04-10 06:01:51 +00:00
github-actions[bot] 39f71c03bf
Merge master into staging-next 2023-04-10 06:01:13 +00:00
Dmitry Kalinkin df3bf8ff76
Merge pull request #218331 from xworld21/texlive-new-dependency-resolution
texlive.combine: move dependencies to attribute tlDeps, resolve them …
2023-04-09 23:59:45 -04:00
Adam Joseph 353c38092a texlive/bin: remove unnecessary parentheses
As suggested here:

  https://github.com/NixOS/nixpkgs/pull/223303#pullrequestreview-1374897294

These parentheses are unnecessary.  No change to eval.
2023-04-06 12:36:25 -07:00
Dmitry Kalinkin 07ab1f1fa8
Merge pull request #223303 from apfelkuchen6/texlive-fix-cross
texlive.bin.core{,-big}: fix cross compilation
2023-04-06 04:54:19 -04:00
apfelkuchen06 089675b38b texlive.bin.core-big: fix cross compilation 2023-04-06 07:03:20 +02:00
apfelkuchen06 70001eb101 texlive.bin.core: fix cross compilation
The build system generates the file "hitables.c" with the program
"./himktables" that is also compiled by the build system.

This does not work when cross-compiling since this program is built for the
wrong architecture. We already use a natively built copy of texlive.bin.core for
various other tools (like tangle, weave), so this change just adds himktables to the
this native copy and uses this program in the cross build.
2023-04-06 07:02:56 +02:00
github-actions[bot] 5e498b046d
Merge staging-next into staging 2023-04-04 12:01:50 +00:00
Ryan Lahfa 32d4d55ce1
Merge pull request #220276 from alyaeanyx/gladtex-init
gladtex: init at unstable-2023-01-22
2023-04-04 13:47:33 +02:00
Vincenzo Mantova 35b698d0b2 mftrace: move texlive dependencies to tlDeps 2023-04-02 13:00:52 +01:00
Vincenzo Mantova 57b2634ac1 texlive.combine: document how to create custom packages with pkgs and tlDeps attributes 2023-04-02 13:00:52 +01:00
Vincenzo Mantova 59661dafb0 texlive.combine: remove lib.unique in generating language and format configuration 2023-04-02 13:00:52 +01:00
Vincenzo Mantova 240cc59942 texlive.combine: move dependencies to attribute tlDeps, resolve them with genericClosure 2023-04-02 13:00:52 +01:00
Vincenzo Mantova 2f7daea603 mftrace: create pkgs fixpoint for texlive using mkDerivation 2023-04-02 12:59:26 +01:00
github-actions[bot] 19c08aa1c7
Merge staging-next into staging 2023-04-01 00:03:07 +00:00
Vincenzo Mantova b459da3172
texlive.bin.core: avoid unnecessary dependency on texlinks (#222323) 2023-03-31 19:34:53 -04:00
Vincenzo Mantova 948a156291 blahtexml: 0.9+date=2020-05-16 -> 1.0 2023-03-31 18:49:08 +01:00
apfelkuchen6 a06641ba73
texlive: 2022.20221227 -> 2022-final (#222258) 2023-03-21 18:51:40 -04:00
Dmitry Kalinkin f6e067692d
Merge pull request #119362 from xworld21/texlive-combine-fix-buildenv
texlive.combine: split static $TEXMFDIST into a separate derivation
2023-03-17 02:34:17 -04:00
Vincenzo Mantova 1f2ad5bcd4 tests.texlive: check that tlpdb.nix is the one generated from the upstream texlive.tlpdb.xz 2023-03-12 21:04:39 +00:00
Vincenzo Mantova 76e92ae984 texlive: rename pkgs.nix to tlpdb.nix and generate it from Nixpkgs attribute 2023-03-12 21:04:39 +00:00
Vincenzo Mantova 76c861aaab texlive: use same urlPrefixes for tlpdb and packages 2023-03-12 21:04:26 +00:00