Commit graph

556 commits

Author SHA1 Message Date
Pol Dellaiera 1a64695dd0
Merge pull request #245806 from reckenrode/tix-clang16
texlive: fix build with clang 16
2023-07-29 08:02:59 +02:00
Randy Eckenrode 0ea638dac5
texlive: fix build with clang 16
There are two instances of `main` with an implicit `int` return type.
This is fixed upstream, so this patch is to allow texlive-2022 to build
until texlive-2023 is merged into nixpkgs.
2023-07-27 17:00:52 -04:00
figsoda 5b05f88050
Merge pull request #245438 from figsoda/unused-4 2023-07-26 23:16:16 -04:00
figsoda 59fbf3ee74 pkgs/tools/typesetting: remove dead code 2023-07-25 16:32:44 -04:00
apfelkuchen06 d884050af7 texlive: add license/test instructions to UPGRADING.md 2023-07-25 21:06:43 +02:00
apfelkuchen06 416b3704df texlive: add comment to indicate that a hack can be removed soon 2023-07-25 21:06:39 +02:00
apfelkuchen06 0bada4f8ad texlive.combine: expose licensing information of combined schemes 2023-07-25 21:05:00 +02:00
Sandro Jäckel b0c67b4b6e
treewide: rename fonts.fonts to fonts.packages 2023-07-24 17:34:39 +02:00
Vincenzo Mantova 6cd4468d96
texlive: use lib.recursiveUpdate for tlpdb overrides (#242118) 2023-07-09 19:14:02 -04:00
apfelkuchen6 a3cdf3186f
texlive.bin.core-big: fix luajittex on aarch64-linux (#240577) 2023-06-29 16:12:05 -04:00
apfelkuchen6 ba6c229037
texlive: fix licensing information for doc-only-packages (#239528)
* licenses: add opubl

* texlive: fix license for npp-for-context and lshort-german

This unbreaks evaluation for `texlive.combine { inherit (texlive) scheme-full;
pkgFilter = (_: true) }`. The problem doesn't manifest for the default pkgFilter
as `npp-for-context` is a doc-only-package (that by the way has recently been
removed from texlive).
2023-06-26 20:31:28 +02:00
Vladimír Čunát 205ee073b0
Revert "texlive.combine: expose licensing information of combined packages"
This reverts commit fa7428470a from PR #238456

Evaluation on Hydra.nixos.org was crashing because of this PR merge,
most likely because this computation of licenses for sets like
texlive.combined.scheme-full (thousands of packages) was too expensive.
2023-06-20 09:16:02 +02:00
Sandro eed76b7f25
Merge pull request #234386 from xworld21/advi-use-ghostscriptx
advi: use ghostscriptX instead of gs discovered at build time
2023-06-19 22:18:26 +02:00
apfelkuchen06 fa7428470a texlive.combine: expose licensing information of combined packages 2023-06-19 01:53:59 +02:00
apfelkuchen06 a83af56bcb texlive: add license to texlive packages 2023-06-19 01:53:59 +02:00
apfelkuchen06 8a22ed472e texlive.tlpdb.nix: extract licensing information 2023-06-19 01:53:59 +02:00
Vincenzo Mantova 1184667b5b texlive.tlpdb.nix: do not escape valid names 2023-06-17 12:58:48 +01:00
Vincenzo Mantova 5a44eb9364 texlive.tlpdb.nix: better sed looping technique 2023-06-17 12:58:43 +01:00
Vincenzo Mantova 5ef2470f15 texlive: assert that all fixed hashes are present 2023-06-11 21:08:39 +01:00
Vincenzo Mantova 3e210b282f texlive: generate "fixed-hashes.nix" from Nix expression 2023-06-11 21:08:39 +01:00
Vincenzo Mantova 44f0488ff2 advi: use ghostscriptX instead of gs discovered at build time 2023-05-27 09:56:54 +01:00
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