texlive: 2025.20250603 -> 2025.20250703 (#422381)
This commit is contained in:
@@ -636,6 +636,9 @@ rec {
|
||||
# pfarrei: require working kpse to find lua module
|
||||
"a5toa4"
|
||||
|
||||
# show-pdf-tags: require working kpse to find lualatex and lua modules
|
||||
"show-pdf-tags"
|
||||
|
||||
# bibexport: requires kpsewhich
|
||||
"bibexport"
|
||||
|
||||
|
||||
@@ -74,10 +74,11 @@ hashes for the relevant package, or for all packages.
|
||||
|
||||
### Upgrading the ConTeXt binaries
|
||||
|
||||
The LuaMetaTeX sources required for ConTeXt are distributed separately from the
|
||||
TeX Live tarballs and must be updated manually (see `texlive.bin.context`). You
|
||||
must use the latest tarball at https://tug.org/svn/texlive/trunk/Master/source/
|
||||
whose revision number is less than or equal to that of the package `context`.
|
||||
ConTeXt in TeX Live is packaged as described
|
||||
[here](https://github.com/gucci-on-fleek/context-packaging). With every update
|
||||
to the ConTeXt package, the LuaMetaTeX compiler also needs to be updated. For
|
||||
this, we fetch the source from the releases of the above repo. Make sure to
|
||||
update this in `texlive.bin.context`, when updating TeX Live.
|
||||
|
||||
### Updating the licensing information
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchzip,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
buildPackages,
|
||||
@@ -533,35 +534,42 @@ rec {
|
||||
enableParallelBuilding = true;
|
||||
};
|
||||
|
||||
# the LuaMetaTeX engine (distributed since TeX Live 2023) must be built separately
|
||||
# the sources used by TL are stored in the source TL repo
|
||||
# for details see https://wiki.contextgarden.net/Building_LuaMetaTeX_for_TeX_Live
|
||||
context = stdenv.mkDerivation rec {
|
||||
pname = "luametatex";
|
||||
version = "2.11.07";
|
||||
# The LuaMetaTeX engine (distributed since TeX Live 2023) must be built separately.
|
||||
# For details on how TeX Live packages ConTeXt, see
|
||||
# https://github.com/gucci-on-fleek/context-packaging
|
||||
context =
|
||||
let
|
||||
# The latest release of the context-packaging repo before the CTAN version in tlpdb.nix
|
||||
# https://github.com/gucci-on-fleek/context-packaging
|
||||
context_packaging_release = "2025-06-12-14-21-B";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "luametatex";
|
||||
version = "2.11.07";
|
||||
|
||||
src = fetchurl {
|
||||
name = "luametatex-${version}.tar.xz";
|
||||
url = "https://tug.org/svn/texlive/trunk/Master/source/luametatex-${version}.tar.xz?pathrev=75382&view=co";
|
||||
hash = "sha256-ou04WcKnyEJTkUV4HhlGwDTscdEJTflGv0cpN69qkWE=";
|
||||
};
|
||||
src = fetchzip {
|
||||
name = "luametatex.src.zip";
|
||||
url = "https://github.com/gucci-on-fleek/context-packaging/releases/download/${context_packaging_release}/luametatex.src.zip";
|
||||
hash = "sha256-9TLTIUSqA3g8QP9EF+tQ4VfLLLQwMrbeXPPy58uFWDo=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "LUAMETATEX engine is a follow up on LUATEX and is again part of CONTEXT development";
|
||||
homepage = "https://www.pragma-ade.nl/luametatex-1.htm";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [
|
||||
apfelkuchen6
|
||||
xworld21
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "LUAMETATEX engine is a follow up on LUATEX and is again part of CONTEXT development";
|
||||
homepage = "https://www.pragma-ade.nl/luametatex-1.htm";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [
|
||||
apfelkuchen6
|
||||
xworld21
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dvisvgm = stdenv.mkDerivation rec {
|
||||
pname = "dvisvgm";
|
||||
|
||||
@@ -101,7 +101,7 @@ let
|
||||
version = {
|
||||
# day of the snapshot being taken
|
||||
year = "2025";
|
||||
month = "06";
|
||||
month = "07";
|
||||
day = "03";
|
||||
# TeX Live version
|
||||
texliveYear = 2025;
|
||||
@@ -141,7 +141,7 @@ let
|
||||
# use last mirror for daily snapshots as texlive.tlpdb.xz changes every day
|
||||
# TODO make this less hacky
|
||||
(if version.final then mirrors else [ (lib.last mirrors) ]);
|
||||
hash = "sha256-K8BoBuMRv5Lp5+trLF5PZOTjzW86i0ZL/jKqP6n7LwA=";
|
||||
hash = "sha256-hTWTs5meP6X7+bBGEHP9pDv8eJTfvBZFKX0WeK8+aZg=";
|
||||
};
|
||||
|
||||
tlpdbNix =
|
||||
@@ -334,6 +334,7 @@ let
|
||||
bsd3
|
||||
cc-by-sa-40
|
||||
eupl12
|
||||
fdl13Only
|
||||
free
|
||||
gfl
|
||||
gfsl
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -57,7 +57,6 @@ lib.recursiveUpdate orig rec {
|
||||
#### overrides of texlive.tlpdb
|
||||
|
||||
#### nonstandard script folders
|
||||
context-texlive.scriptsFolder = "context-texlive/stubs-mkiv/unix";
|
||||
cyrillic-bin.scriptsFolder = "texlive-extra";
|
||||
fontinst.scriptsFolder = "texlive-extra";
|
||||
mptopdf.scriptsFolder = "context/perl";
|
||||
@@ -518,7 +517,10 @@ lib.recursiveUpdate orig rec {
|
||||
#### dependency changes
|
||||
|
||||
# Since 2025 OpTeX is based on luahbtex
|
||||
optex.deps = orig.optex.deps ++ [ "luahbtex" ];
|
||||
optex.deps = (orig.optex.deps or [ ]) ++ [ "luahbtex" ];
|
||||
|
||||
# Since the packaging change for ConTeXt, context-legacy is missing the xetex dependency
|
||||
context-legacy.deps = (orig.context-legacy.deps or [ ]) ++ [ "xetex" ];
|
||||
|
||||
# it seems to need it to transform fonts
|
||||
xdvi.deps = (orig.xdvi.deps or [ ]) ++ [ "metafont" ];
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user