Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] WIP: Texlive 2023
@ 2023-11-09  3:57 fosslinux
  2023-12-21  0:55 ` [PR PATCH] [Updated] " fosslinux
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: fosslinux @ 2023-11-09  3:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1840 bytes --]

There is a new pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages texlive-2023
https://github.com/void-linux/void-packages/pull/47130

WIP: Texlive 2023
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


This is a BIG WIP, barely any testing has been done - just want progress to be public.

A few consideration's I'm not sure about at the moment.

1. I'm not certain about our current ownerships - a lot of things from `texmf-dist` come from the texlive package, whereas most other distributions appear to have the primary texlive package as compiled binary-only and then place all the `texmf-dist` binaries symlinked to scripts in their texlive-core package (obviously different names but same idea). Should we be doing this?
2. What do I do about the ppc64 patches, should they be dropped or left?

A patch file from https://github.com/void-linux/void-packages/pull/47130.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-2023-47130.patch --]
[-- Type: text/x-diff, Size: 32977 bytes --]

From 8be9f13b9b6164f06eb8e8059c3dc4f24e19828d Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:40:37 +1100
Subject: [PATCH 01/24] texlive: update to 20230313.

---
 .../texlive/patches/luajit-arch-fixes.patch   | 27 ++++-----
 srcpkgs/texlive/patches/tlmgr.patch           | 56 +++++++------------
 srcpkgs/texlive/template                      | 36 +++---------
 3 files changed, 43 insertions(+), 76 deletions(-)

diff --git a/srcpkgs/texlive/patches/luajit-arch-fixes.patch b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
index daf56db0fc7ed..0012b9ed28a83 100644
--- a/srcpkgs/texlive/patches/luajit-arch-fixes.patch
+++ b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
@@ -9,24 +9,25 @@ Author: q66 <daniel@octaforge.org>
 
 --- a/libs/luajit/configure
 +++ b/libs/luajit/configure
-@@ -14243,7 +14243,7 @@ else
- fi
- if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1; then :
+@@ -15267,7 +15267,7 @@
+ if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1
+ then :
    echo '-D P64' >>dynasm_flags
--         if test "x$LJHOST" = xLinux; then :
-+         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64; then :
+-         if test "x$LJHOST" = xLinux
++         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64
+ then :
    LUAJIT_DEFINES="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
  fi
- fi
-@@ -14294,6 +14294,9 @@ fi
- fi
-                 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i >/dev/null 2>&1; then :
+@@ -15331,6 +15331,10 @@
+ then :
    echo '-D GPR64' >>dynasm_flags
-+fi
-+                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1; then :
-+  echo '-D ELFV2' >>dynasm_flags
  fi
-                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1; then :
++                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1
++then :
++  echo '-D ELFV2' >>dynasm_flags
++fi
+                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1
+ then :
    DASM_ARCH=ppc64
 --- a/libs/luajit/m4/lj-system.m4
 +++ b/libs/luajit/m4/lj-system.m4
diff --git a/srcpkgs/texlive/patches/tlmgr.patch b/srcpkgs/texlive/patches/tlmgr.patch
index b4c1c02e89430..8e08dbbdb7336 100644
--- a/srcpkgs/texlive/patches/tlmgr.patch
+++ b/srcpkgs/texlive/patches/tlmgr.patch
@@ -1,31 +1,15 @@
-Modified from Debian's tlmgr patch.
-Src: https://raw.githubusercontent.com/debian-tex/texlive-nonbin/9767c8ba4ea64d671eb98ddff550498cd2ac3d51/texlive-base/debian/patches/debian-tlmgr-usermode.
-
-Modifications:
-
-* Drop Debian specific wording.
-* Drop unnessecary manpage changes.
-* Change /usr/share path to what we use.
-
-Modified by fosslinux.
+---
+ texmf-dist/doc/man/man1/tlmgr.1     |    2 +
+ texmf-dist/scripts/texlive/tlmgr.pl |   50 +++++++++++-------------------------
+ 2 files changed, 18 insertions(+), 34 deletions(-)
 
 --- a/texk/texlive/linked_scripts/texlive/tlmgr.pl
 +++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl
-@@ -20,7 +20,7 @@ $datrev =~ s/^.*Date: //;
- $datrev =~ s/ \(.*$//;
- $tlmgrversion = "$tlmgrrevision ($datrev)";
- 
--our $Master;
-+our $Master = "/usr/share/texmf-dist";
- our $loadmediasrcerror;
- our $packagelogfile;
- our $packagelogged;
-@@ -39,38 +39,9 @@ END {
- }
+@@ -44,38 +44,7 @@
  
  BEGIN {
--  $^W = 1;
-   # make subprograms (including kpsewhich) have the right path:
+   $^W = 1;
+-  # make subprograms (including kpsewhich) have the right path:
 -  my $kpsewhichname;
 -  if ($^O =~ /^MSWin/i) {
 -    # on w32 $0 and __FILE__ point directly to tlmgr.pl; they can be relative
@@ -33,7 +17,7 @@ Modified by fosslinux.
 -    $Master =~ s!\\!/!g;
 -    $Master =~ s![^/]*$!../../..!
 -      unless ($Master =~ s!/texmf-dist/scripts/texlive/tlmgr\.pl$!!i);
--    $bindir = "$Master/bin/win32";
+-    $bindir = "$Master/bin/windows";
 -    $kpsewhichname = "kpsewhich.exe";
 -    # path already set by wrapper batchfile
 -  } else {
@@ -47,7 +31,7 @@ Modified by fosslinux.
 -  }
 -  if (-r "$bindir/$kpsewhichname") {
 -    # if not in bootstrapping mode => kpsewhich exists, so use it to get $Master
--    chomp($Master = `kpsewhich -var-value=SELFAUTOPARENT`);
+-    chomp($Master = `kpsewhich -var-value=TEXMFROOT`);
 -  }
 -
 -  # if we have no directory in which to find our modules,
@@ -56,43 +40,43 @@ Modified by fosslinux.
 -    die ("Could not determine directory of tlmgr executable, "
 -         . "maybe shared library woes?\nCheck for error messages above");
 -  }
-+  $bindir = $Master;
-+  $ENV{"PATH"} = "$bindir:$ENV{PATH}";
- 
+-
++  $Master = "/usr/share/texlive";
    $::installerdir = $Master;  # for config.guess et al., see TLUtils.pm
  
-@@ -615,6 +586,13 @@ for the full story.\n";
+   # make Perl find our packages first:
+@@ -622,6 +591,13 @@
      tldie("$prg: Try --help if you need it.\n");
    }
  
-+  # automatically switch to user mode on Void, and warn
++  # automatically switch to user mode, and warn
 +  if (!$opts{"usermode"} && $action ne "init-usertree") {
 +    $opts{"usermode"} = 1;
-+    print "WARNING: switching to user mode!\n";
-+    print "WARNING: normal mode unsupported on Void Linux.\n";
++    print "(running on Debian, switching to user mode!)\n";
++    print "(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)\n";
 +  }
 +
    #
    # the main tree we will be working on
    $::maintree = $Master;
-@@ -6118,7 +6096,9 @@ sub action_postaction {
+@@ -6249,7 +6225,9 @@
  # sets up the user tree for tlmgr in user mode
  sub action_init_usertree {
    # init_local_db but do not die if localtlpdb is not found!
 -  init_local_db(2);
-+  # we don't ship tlpdb in the system, so don't even
++  # we don't ship tlpdb for system files, so don't even
 +  # try to initialize it.
 +  # init_local_db(2);
    my $tlpdb = TeXLive::TLPDB->new;
    my $usertree;
    if ($opts{"usertree"}) {
-@@ -6758,7 +6738,11 @@ sub init_local_db {
+@@ -6889,7 +6867,11 @@
      if ($should_i_die == 2) {
        return undef;
      } else {
 -      die("cannot setup TLPDB in $::maintree");
 +      if ($opts{'usermode'}) {
-+        die("$prg: user mode not initialized, please run `tlmgr init-usertree`\n");
++        die("$prg: user mode not initialized, please read https://docs.voidlinux.org/config/texlive.html!\n");
 +      } else {
 +        die("cannot setup TLPDB in $::maintree");
 +      }
diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index 247c762d3755b..c799e7843e051 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive'
 pkgname=texlive
-version=20210325
-revision=7
+version=20230313
+revision=1
 build_wrksrc="build"
 build_style=gnu-configure
 configure_script="../configure"
@@ -73,8 +73,8 @@ short_desc="TeX Live"
 maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
-distfiles="ftp://tug.org/texlive/historic/2021/texlive-${version}-source.tar.xz"
-checksum=7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
+distfiles="ftp://tug.org/texlive/historic/2023/texlive-${version}-source.tar.xz"
+checksum=3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
 python_version=3
 # Virtual package cares only about year part of version
 provides="tex-${version%${version#????}}_1"
@@ -279,14 +279,14 @@ texlive-LuaTeX_package() {
 				vmove "usr/bin/${i}"
 			done
 		fi
-		for i in checkcites cllualatex cluttex diadia getmapdl l3build luahbtex \
-				 luaotfload-tool luatools luatex lwarpmk m-tx \
+		for i in checkcites cllualatex cluttex diadia digestif getmapdl l3build luafindfont luahbtex \
+				 luaotfload-tool luatex lwarpmk m-tx \
 				 makeglossaries-lite mflua mflua-nowin musixflx musixtex pmxchords \
 				 ptex2pdf texlua texluac xindex ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in checkcites cluttex diadia getmap glossaries/makeglossaries-lite.lua \
-				 l3build luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
+		for i in checkcites cluttex diadia digestif getmap glossaries/makeglossaries-lite.lua \
+				 l3build luafindfont luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		for i in luatex texlua texluac ; do
@@ -356,7 +356,7 @@ texlive-BibTeX_package() {
 		for i in bbl2bib ctanbib ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in bib2gls bibexport ; do
+		for i in bib2gls bibcop bibexport ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		vmove usr/bin/bib*
@@ -364,24 +364,6 @@ texlive-BibTeX_package() {
 	}
 }
 
-texlive-ConTeXt_package() {
-	depends="${sourcepkg}>=${version}_${revision} perl ghostscript"
-	short_desc+=" - alternative general-purpose document processor"
-	pkg_install() {
-		for i in context contextjit mptopdf mtxrun mtxrunjit texexec \
-				 texmfstart dosepsbin epspdf epspdftk purifyeps repstopdf \
-				 ps2eps tl-epsffit ; do
-			vmove "usr/bin/${i}"
-		done
-		for i in context dosepsbin epspdf epstopdf ps2eps purifyeps ; do
-			vmove "usr/share/texmf-dist/scripts/${i}"
-		done
-		for i in tl-epsffit ps2eps ; do
-			vmove "usr/share/man/man1/${i}.1"
-		done
-	}
-}
-
 texlive-PythonTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision} python3"
 	short_desc+=" - executing Python in LaTeX"

From 73b946b8e28b33c0e044bc12081cfbe9b82aec75 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 02/24] texlive-bibtexextra: update to 2023.66579.

---
 srcpkgs/texlive-bibtexextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-bibtexextra/template b/srcpkgs/texlive-bibtexextra/template
index 0d7b571598929..ff62911eeb993 100644
--- a/srcpkgs/texlive-bibtexextra/template
+++ b/srcpkgs/texlive-bibtexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-bibtexextra'
 pkgname=texlive-bibtexextra
-version=2021.58697
+version=2023.66579
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=d65aa2a12df851e9ddca879f6502a15a52ece9d33c803d4c0d0227fcc785a1c9
+checksum=b2b0b90abb0c0a9eef5366cf0968f7e58ee84c1be688c36d751dd0577c872a3c

From 3f8449185167036456beb8539443316dcb1d248f Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 03/24] texlive-fontsextra: update to 2023.66328.

---
 srcpkgs/texlive-fontsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-fontsextra/template b/srcpkgs/texlive-fontsextra/template
index 3de281b7428bd..75095b60cceb2 100644
--- a/srcpkgs/texlive-fontsextra/template
+++ b/srcpkgs/texlive-fontsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-fontsextra'
 pkgname=texlive-fontsextra
-version=2021.58704
+version=2023.66328
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=4e1647ea20536d336120c2885af3f7677d9e483ce7f397c1c4404e31fc5fc0aa
+checksum=c5e32f213ec81a5e85f36437d401331b49a1338dacdc2fe8bb27f9f0fbaf2e36

From 56be3b1c87a84edbd3d3f3f07eb8cbe3e8fb0079 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 04/24] texlive-formatsextra: update to 2023.66186.

---
 srcpkgs/texlive-formatsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-formatsextra/template b/srcpkgs/texlive-formatsextra/template
index d3042a9b2038f..a26144b087b5e 100644
--- a/srcpkgs/texlive-formatsextra/template
+++ b/srcpkgs/texlive-formatsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-formatsextra'
 pkgname=texlive-formatsextra
-version=2021.57972
+version=2023.66186
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=641660f85062d70d715b11e8bd404558d1618a02ce95e1d54792f01e3aa8b80a
+checksum=ffacdfacd9381cf3f21247d15cbd7b4e931855d9258edfe51fd23165cff30ca6

From b73e6e93f7eefc55f8364d2027e0024d8d944fcd Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 05/24] texlive-core: update to 2023.66587.

---
 srcpkgs/texlive-core/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-core/template b/srcpkgs/texlive-core/template
index 2289356f9142e..f8a93e76beb9d 100644
--- a/srcpkgs/texlive-core/template
+++ b/srcpkgs/texlive-core/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-core'
 pkgname=texlive-core
-version=2021.58710
+version=2023.66587
 revision=1
 build_style="texmf"
 short_desc="TeX Live - core texmf distribution"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=ef11a19ca15f3e937733ed9e17cc024afaf525afdf3d649c9ae4261f1bfb4415
+checksum=2cdaf356d89351e61152243f1192a5e000a9586c67b873737f01878a3e5724ff

From 5b1b9ffd9a4f1f0567dbb2c004a036c1bd7dda36 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 06/24] texlive-games: update to 2023.66190.

---
 srcpkgs/texlive-games/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-games/template b/srcpkgs/texlive-games/template
index ecaffb00fd8d2..f73f47547f870 100644
--- a/srcpkgs/texlive-games/template
+++ b/srcpkgs/texlive-games/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-games'
 pkgname=texlive-games
-version=2021.56833
+version=2023.66190
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9d808f5ecbc8a00d3b2fabef627e4ae0ac026c9eb54d6b02f2efeed486aea54b
+checksum=d5c87bdc6445260c947e1585f117efd6ef3c400af03af422939478c4237aee44

From 29f2aa3cc865f366b9f7ab779f9901a8244b9bab Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 07/24] texlive-humanities: update to 2023.65502.

---
 srcpkgs/texlive-humanities/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-humanities/template b/srcpkgs/texlive-humanities/template
index 67a66171b548a..eb2f7ae79a744 100644
--- a/srcpkgs/texlive-humanities/template
+++ b/srcpkgs/texlive-humanities/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-humanities'
 pkgname=texlive-humanities
-version=2021.58589
+version=2023.65502
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=a2688733e66ba324154ee9715327f4cdb26e7c19283a38d03f086e1b3f123e9f
+checksum=c0b0e4be08cc4fb46206e6769b48f9418ec73a11c556efb8249931d6222d94ef

From 27dccef60633ad69e1e2b55ce9f8e4c7c386d2e2 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 08/24] texlive-langchinese: update to 2023.66188.

---
 srcpkgs/texlive-langchinese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langchinese/template b/srcpkgs/texlive-langchinese/template
index 387b14ef7cbe9..fdcd78cd5c2d1 100644
--- a/srcpkgs/texlive-langchinese/template
+++ b/srcpkgs/texlive-langchinese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langchinese'
 pkgname=texlive-langchinese
-version=2021.58583
+version=2023.66188
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=61c476961b3e4d2cc8e95fe68b8ade9a4e692abe644190c1b34adfb58c2f8f8b
+checksum=a08c5c2d7a2eaece4d8f68eedeec64eb44b70255c84087df66679f6a59f649a0

From a2f7e176a1e4938dbf9695b2a5a360160339ec59 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 09/24] texlive-langcyrillic: update to 2023.64588.

---
 srcpkgs/texlive-langcyrillic/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langcyrillic/template b/srcpkgs/texlive-langcyrillic/template
index 67c0592949fbe..85aa1defe41c6 100644
--- a/srcpkgs/texlive-langcyrillic/template
+++ b/srcpkgs/texlive-langcyrillic/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langcyrillic'
 pkgname=texlive-langcyrillic
-version=2021.58426
+version=2023.64588
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9dbab28a29c74164f336f38d735277b46ae837492a6fe417b96345620979db7f
+checksum=b22a0759b1e28fb0f9c2e155d9cecec23649d08e33f42adf52bc1efb04630336

From aa6098134e8efac9fe1c22b7798bdcb20ff11b59 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 10/24] texlive-langextra: update to 2023.66225.

---
 srcpkgs/texlive-langextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langextra/template b/srcpkgs/texlive-langextra/template
index d527ba24cc9ce..09b0d9bf22716 100644
--- a/srcpkgs/texlive-langextra/template
+++ b/srcpkgs/texlive-langextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langextra'
 pkgname=texlive-langextra
-version=2021.58019
+version=2023.66225
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3b4b6b09a67a33f2a327021ba39e32e746b9be602037c1f50f7e4ab64605bd47
+checksum=635a2a266c01b16660421bfd5dbf5e6f11ce40d0dd63c17e0a07a637f645c1ff

From 208935abf17a77c28bb97d35bf5e993fb8745c87 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 11/24] texlive-langgreek: update to 2023.66513.

---
 srcpkgs/texlive-langgreek/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langgreek/template b/srcpkgs/texlive-langgreek/template
index 2cf3904193e8b..5df3a177468ea 100644
--- a/srcpkgs/texlive-langgreek/template
+++ b/srcpkgs/texlive-langgreek/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langgreek'
 pkgname=texlive-langgreek
-version=2021.57684
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=dc51d6c3b1ccf8ef95504f4d610759e465eb2703764d0a5bb6cc82790c831141
+checksum=fdf44664219be6288278466c927c8f0c8eec42c0a733555c2c56c34f890813a0

From 6e7f0694629e6857332d39860b82ca4dd6b9fe9e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 12/24] texlive-langjapanese: update to 2023.66482.

---
 srcpkgs/texlive-langjapanese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langjapanese/template b/srcpkgs/texlive-langjapanese/template
index a58a1b4bd7afb..d21163ed900b9 100644
--- a/srcpkgs/texlive-langjapanese/template
+++ b/srcpkgs/texlive-langjapanese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langjapanese'
 pkgname=texlive-langjapanese
-version=2021.58632
+version=2023.66482
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=60f3306ab01d1e57720190c8f59d77e50784646a4050720ed0233deccf65871e
+checksum=f9c23022dfdecb662a2097cc6d495ad07b55e74adb9751e0f96d363b27eddc90

From d818b27a2f36c39811780454a1934d8fffcf0761 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 13/24] texlive-langkorean: update to 2023.66513.

---
 srcpkgs/texlive-langkorean/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langkorean/template b/srcpkgs/texlive-langkorean/template
index 5d8a6b46a5a0c..017f2443a6488 100644
--- a/srcpkgs/texlive-langkorean/template
+++ b/srcpkgs/texlive-langkorean/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langkorean'
 pkgname=texlive-langkorean
-version=2021.58468
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=65da5065850e516840ade0522dca2fe0ecbbcabe38c68744372513943c6c61fc
+checksum=9837b0b47bf33d383247c1243f0e203753d0d20038cba5b5c071028af7b9af4d

From 882e000ea871e21459049838dd28789102e4bfd6 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 14/24] texlive-latexextra: update to 2023.66551.

---
 srcpkgs/texlive-latexextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-latexextra/template b/srcpkgs/texlive-latexextra/template
index f0b40027323f4..9f6a24d04b3d3 100644
--- a/srcpkgs/texlive-latexextra/template
+++ b/srcpkgs/texlive-latexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-latexextra'
 pkgname=texlive-latexextra
-version=2021.58668
+version=2023.66551
 revision=1
 build_style="texmf"
 depends="perl-File-Which python3-Pygments texlive-core texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9c2ef3ce71ad656df7644770a2c4aec27c4ea9375421d0ab3b56cb5b25a06287
+checksum=6254daf3152e9f2a7fcf1084873ee9cab150a7f04b0696c327e31da49eae6a95

From cdd2aadbe5a278e3a8c11dfe3bce2b22fedefb19 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 15/24] texlive-music: update to 2023.66278.

---
 srcpkgs/texlive-music/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-music/template b/srcpkgs/texlive-music/template
index 2c71e1e607e78..e278a0b851b46 100644
--- a/srcpkgs/texlive-music/template
+++ b/srcpkgs/texlive-music/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-music'
 pkgname=texlive-music
-version=2021.58331
+version=2023.66278
 revision=1
 build_style="texmf"
 depends="fontforge python3 texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=6018606d59925c94a22aeaafbc1fc8e3fbfa78ce2c2f39a4494249e5a27cd984
+checksum=83df527875cd6bb77941868f35cdc0b7b7300f25c1644fe702ded855e7f492f9

From 920c6da027fa95423494f3d6840a57c92cf79312 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 16/24] texlive-pictures: update to 2023.66549.

---
 srcpkgs/texlive-pictures/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pictures/template b/srcpkgs/texlive-pictures/template
index 9dc20b90f8aaf..9674677a47a0b 100644
--- a/srcpkgs/texlive-pictures/template
+++ b/srcpkgs/texlive-pictures/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pictures'
 pkgname=texlive-pictures
-version=2021.58558
+version=2023.66549
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3c4451eb8d81edadfb165233477835ec7dc8b6ba2ba636cc98204623e3f284d6
+checksum=63ff117823e8e9d23e456fc753343ca1a83224de4ad0481acf5be81e2888de0e

From 0b6f1bbd3a06d4a2e517aedb699854185fe630db Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 17/24] texlive-pstricks: update to 2023.66115.

---
 srcpkgs/texlive-pstricks/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pstricks/template b/srcpkgs/texlive-pstricks/template
index 4988e816311b4..e2f1c0f8edbb1 100644
--- a/srcpkgs/texlive-pstricks/template
+++ b/srcpkgs/texlive-pstricks/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pstricks'
 pkgname=texlive-pstricks
-version=2021.58293
+version=2023.66115
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=f35f6fa8b9686cfdf9a7a2bd43add9d193c1d28f67dd87acfe69765672930b7d
+checksum=3b0359f4e7f2efee4b96990813fe6b087f8178923e80fcb8c3d3eeaf5c8a7baf

From 8ba7c417f504c7faf590d8d46a7139f32535435f Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 18/24] texlive-publishers: update to 2023.66550.

---
 srcpkgs/texlive-publishers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-publishers/template b/srcpkgs/texlive-publishers/template
index 066d07250f356..2a9677a20075e 100644
--- a/srcpkgs/texlive-publishers/template
+++ b/srcpkgs/texlive-publishers/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-publishers'
 pkgname=texlive-publishers
-version=2021.58683
+version=2023.66550
 revision=1
 build_style="texmf"
 short_desc="TeX Live - Classes and packages for certain publishers"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=7ee1bdb92641601c285f972f1978b19adbcbb90f430ae38356bd2e5165506304
+checksum=52f9d38288dcaabfd67f0cb07fb8a48f2c709ff80e5085b298a2cedc9af88588

From 1444b3b16f081dd58b5b3eb4e123d86e8da0cfeb Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 19/24] texlive-science: update to 2023.66461.

---
 srcpkgs/texlive-science/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-science/template b/srcpkgs/texlive-science/template
index 2020b6cf99ce9..951d4cba6adc7 100644
--- a/srcpkgs/texlive-science/template
+++ b/srcpkgs/texlive-science/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-science'
 pkgname=texlive-science
-version=2022.62977
+version=2023.66461
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3e420b34fbc22c54cbbaeed1c377bbb80360cb162f1464547321114a08f214a3
+checksum=9c5e36cdc932007bb151bd61bacdc216d1d1d682758555a4d6e0e85c51005098

From ef3c3795fca8b8f0c6431666adb73ceb570b9cc3 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 20/24] texlive-full: update to 2023.0.

---
 srcpkgs/texlive-full/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-full/template b/srcpkgs/texlive-full/template
index b5b28221516fe..19219853389ac 100644
--- a/srcpkgs/texlive-full/template
+++ b/srcpkgs/texlive-full/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-full'
 pkgname=texlive-full
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

From 5b670cb2e7c040fc8c8a53a66b5e7737b3bfe2d5 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 21/24] texlive-most: update to 2023.0.

---
 srcpkgs/texlive-most/template | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/texlive-most/template b/srcpkgs/texlive-most/template
index a1a644f9e3b89..c67a32f3f6114 100644
--- a/srcpkgs/texlive-most/template
+++ b/srcpkgs/texlive-most/template
@@ -1,17 +1,16 @@
 # Template file for 'texlive-most'
 pkgname=texlive-most
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-ConTeXt>=20210325
- texlive-LuaTeX>=20210325
- texlive-PythonTeX>=20210325
- texlive-Xdvi>=20210325
- texlive-XeTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-PythonTeX>=20230313
+ texlive-Xdvi>=20230313
+ texlive-XeTeX>=20230313
+ texlive-dvi>=20230313
  texlive-core>=${_year}
  texlive-bibtexextra>=${_year}
  texlive-fontsextra>=${_year}

From aa6eed7205812594fe9fb86c9e3e744ade2da090 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 22/24] texlive-basic: update to 2023.0.

---
 srcpkgs/texlive-basic/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/texlive-basic/template b/srcpkgs/texlive-basic/template
index f00aacdb39a5a..6ad5a1b1eba02 100644
--- a/srcpkgs/texlive-basic/template
+++ b/srcpkgs/texlive-basic/template
@@ -1,13 +1,13 @@
 # Template file for 'texlive-basic'
 pkgname=texlive-basic
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-LuaTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-dvi>=20210313
  texlive-core>=${_year}
  texlive-latexextra>=${_year}
  texlive-pictures>=${_year}"

From 6846b50750e529eb5f5b8a8b10b348e0c2533f0c Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 23/24] texlive-minimal: update to 2023.0.

---
 srcpkgs/texlive-minimal/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-minimal/template b/srcpkgs/texlive-minimal/template
index af721f2215504..d0940b70d5977 100644
--- a/srcpkgs/texlive-minimal/template
+++ b/srcpkgs/texlive-minimal/template
@@ -1,10 +1,10 @@
 # Template file for 'texlive-minimal'
 pkgname=texlive-minimal
-version=2021.0
+version=2023.0
 revision=2
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
+depends="texlive>=20230313
  texlive-core>=${_year}"
 short_desc="TeX Live - Metapackage including minimal packages"
 maintainer="fosslinux <fosslinux@aussies.space>"

From cb45c490e7cdfff48e70543c5123a117d5df48fa Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 24/24] texlive-lang: update to 2023.0.

---
 srcpkgs/texlive-lang/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-lang/template b/srcpkgs/texlive-lang/template
index 3d7989843dd6b..3bdaac292e372 100644
--- a/srcpkgs/texlive-lang/template
+++ b/srcpkgs/texlive-lang/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-lang'
 pkgname=texlive-lang
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] WIP: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
@ 2023-12-21  0:55 ` fosslinux
  2023-12-29  4:58 ` fosslinux
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2023-12-21  0:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

There is an updated pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages texlive-2023
https://github.com/void-linux/void-packages/pull/47130

WIP: Texlive 2023
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


This is a BIG WIP, barely any testing has been done - just want progress to be public.

A few consideration's I'm not sure about at the moment.

1. I'm not certain about our current ownerships - a lot of things from `texmf-dist` come from the texlive package, whereas most other distributions appear to have the primary texlive package as compiled binaries-only and then place all the `texmf-dist` binaries symlinked to scripts in their texlive-core package (obviously different names but same idea). Should we be doing this?
2. What do I do about the ppc64 patches, should they be dropped or left?

A patch file from https://github.com/void-linux/void-packages/pull/47130.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-2023-47130.patch --]
[-- Type: text/x-diff, Size: 40436 bytes --]

From ebb5e4e2834b47c96239af9200e2ac178286d7ba Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:40:37 +1100
Subject: [PATCH 01/24] texlive: update to 20230313.

---
 .../build-style/texmf/ownership.txt           |  9 +--
 srcpkgs/texlive/files/remove-himktables.patch | 13 ++++
 .../texlive/patches/luajit-arch-fixes.patch   | 27 +++----
 srcpkgs/texlive/patches/tlmgr.patch           | 72 +++++++++----------
 srcpkgs/texlive/template                      | 49 ++++++-------
 5 files changed, 82 insertions(+), 88 deletions(-)
 create mode 100644 srcpkgs/texlive/files/remove-himktables.patch

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 01dcd2f0cc6fe..0e37ec7fda763 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -37,13 +37,6 @@ scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
 scripts/context/perl/mptopdf.pl texlive
-scripts/context/stubs/unix/contextjit texlive
-scripts/context/stubs/unix/context texlive
-scripts/context/stubs/unix/luatools texlive
-scripts/context/stubs/unix/mtxrunjit texlive
-scripts/context/stubs/unix/mtxrun texlive
-scripts/context/stubs/unix/texexec texlive
-scripts/context/stubs/unix/texmfstart texlive
 scripts/convbkmk/convbkmk.rb texlive-langjapanese
 scripts/crossrefware/bbl2bib.pl texlive
 scripts/crossrefware/bibdoiadd.pl texlive
@@ -185,8 +178,8 @@ scripts/texlive/mktexlsr texlive
 scripts/texlive/mktexmf texlive
 scripts/texlive/mktexpk texlive
 scripts/texlive/mktextfm texlive
+scripts/texlive/rungs.lua texlive
 scripts/texliveonfly/texliveonfly.py texlive
-scripts/texlive/rungs.tlu texlive
 scripts/texlive/tlmgr.pl texlive
 scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
diff --git a/srcpkgs/texlive/files/remove-himktables.patch b/srcpkgs/texlive/files/remove-himktables.patch
new file mode 100644
index 0000000000000..5ae3edb97223d
--- /dev/null
+++ b/srcpkgs/texlive/files/remove-himktables.patch
@@ -0,0 +1,13 @@
+--- a/texk/web2c/Makefile.in	2023-12-19 16:13:41.579311491 +1100
++++ b/texk/web2c/Makefile.in	2023-12-19 16:14:01.587311491 +1100
+@@ -22095,10 +22095,6 @@
+ hitex-tangle: ctangle$(EXEEXT) hitexdir/hitex.w tangle-sh
+ 	$(hi_ctangle_sh) hitex
+ 
+-# Generating hitables.c using himktables.
+-hitables.c: himktables$(EXEEXT)
+-	./himktables$(EXEEXT) > $@ || { rm -f hitables.c; exit 1; }
+-
+ # hitex, histretch, and hishrink all need (at least) some 
+ # of the sources generated from hiformat.w.
+ #
diff --git a/srcpkgs/texlive/patches/luajit-arch-fixes.patch b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
index daf56db0fc7ed..0012b9ed28a83 100644
--- a/srcpkgs/texlive/patches/luajit-arch-fixes.patch
+++ b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
@@ -9,24 +9,25 @@ Author: q66 <daniel@octaforge.org>
 
 --- a/libs/luajit/configure
 +++ b/libs/luajit/configure
-@@ -14243,7 +14243,7 @@ else
- fi
- if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1; then :
+@@ -15267,7 +15267,7 @@
+ if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1
+ then :
    echo '-D P64' >>dynasm_flags
--         if test "x$LJHOST" = xLinux; then :
-+         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64; then :
+-         if test "x$LJHOST" = xLinux
++         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64
+ then :
    LUAJIT_DEFINES="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
  fi
- fi
-@@ -14294,6 +14294,9 @@ fi
- fi
-                 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i >/dev/null 2>&1; then :
+@@ -15331,6 +15331,10 @@
+ then :
    echo '-D GPR64' >>dynasm_flags
-+fi
-+                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1; then :
-+  echo '-D ELFV2' >>dynasm_flags
  fi
-                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1; then :
++                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1
++then :
++  echo '-D ELFV2' >>dynasm_flags
++fi
+                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1
+ then :
    DASM_ARCH=ppc64
 --- a/libs/luajit/m4/lj-system.m4
 +++ b/libs/luajit/m4/lj-system.m4
diff --git a/srcpkgs/texlive/patches/tlmgr.patch b/srcpkgs/texlive/patches/tlmgr.patch
index b4c1c02e89430..687b30fdf9320 100644
--- a/srcpkgs/texlive/patches/tlmgr.patch
+++ b/srcpkgs/texlive/patches/tlmgr.patch
@@ -1,31 +1,19 @@
-Modified from Debian's tlmgr patch.
-Src: https://raw.githubusercontent.com/debian-tex/texlive-nonbin/9767c8ba4ea64d671eb98ddff550498cd2ac3d51/texlive-base/debian/patches/debian-tlmgr-usermode.
-
-Modifications:
-
-* Drop Debian specific wording.
-* Drop unnessecary manpage changes.
-* Change /usr/share path to what we use.
-
-Modified by fosslinux.
-
---- a/texk/texlive/linked_scripts/texlive/tlmgr.pl
-+++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl
-@@ -20,7 +20,7 @@ $datrev =~ s/^.*Date: //;
- $datrev =~ s/ \(.*$//;
- $tlmgrversion = "$tlmgrrevision ($datrev)";
- 
--our $Master;
-+our $Master = "/usr/share/texmf-dist";
- our $loadmediasrcerror;
- our $packagelogfile;
- our $packagelogged;
-@@ -39,38 +39,9 @@ END {
- }
+--- a/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-03-09 08:31:49.000000000 +1100
++++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-12-18 22:20:18.634173357 +1100
+@@ -13,7 +13,7 @@
+ my $tlmgrrevision;
+ my $tlmgrversion;
+ my $prg;
+-my $bindir;
++my $bindir = '/usr/bin';
+ if ($svnrev =~ m/: ([0-9]+) /) {
+   $tlmgrrevision = $1;
+ } else {
+@@ -44,43 +44,12 @@
  
  BEGIN {
--  $^W = 1;
-   # make subprograms (including kpsewhich) have the right path:
+   $^W = 1;
+-  # make subprograms (including kpsewhich) have the right path:
 -  my $kpsewhichname;
 -  if ($^O =~ /^MSWin/i) {
 -    # on w32 $0 and __FILE__ point directly to tlmgr.pl; they can be relative
@@ -33,7 +21,7 @@ Modified by fosslinux.
 -    $Master =~ s!\\!/!g;
 -    $Master =~ s![^/]*$!../../..!
 -      unless ($Master =~ s!/texmf-dist/scripts/texlive/tlmgr\.pl$!!i);
--    $bindir = "$Master/bin/win32";
+-    $bindir = "$Master/bin/windows";
 -    $kpsewhichname = "kpsewhich.exe";
 -    # path already set by wrapper batchfile
 -  } else {
@@ -47,7 +35,7 @@ Modified by fosslinux.
 -  }
 -  if (-r "$bindir/$kpsewhichname") {
 -    # if not in bootstrapping mode => kpsewhich exists, so use it to get $Master
--    chomp($Master = `kpsewhich -var-value=SELFAUTOPARENT`);
+-    chomp($Master = `kpsewhich -var-value=TEXMFROOT`);
 -  }
 -
 -  # if we have no directory in which to find our modules,
@@ -56,43 +44,49 @@ Modified by fosslinux.
 -    die ("Could not determine directory of tlmgr executable, "
 -         . "maybe shared library woes?\nCheck for error messages above");
 -  }
-+  $bindir = $Master;
-+  $ENV{"PATH"} = "$bindir:$ENV{PATH}";
- 
+-
++  $Master = "/usr/share/texmf-dist";
    $::installerdir = $Master;  # for config.guess et al., see TLUtils.pm
  
-@@ -615,6 +586,13 @@ for the full story.\n";
+   # make Perl find our packages first:
+   unshift (@INC, "$Master/tlpkg");
+-  unshift (@INC, "$Master/texmf-dist/scripts/texlive");
++  unshift (@INC, "$Master/scripts/texlive");
+ }
+ 
+ use Cwd qw/abs_path/;
+@@ -622,6 +591,13 @@
      tldie("$prg: Try --help if you need it.\n");
    }
  
-+  # automatically switch to user mode on Void, and warn
++  # automatically switch to user mode, and warn
 +  if (!$opts{"usermode"} && $action ne "init-usertree") {
 +    $opts{"usermode"} = 1;
-+    print "WARNING: switching to user mode!\n";
-+    print "WARNING: normal mode unsupported on Void Linux.\n";
++    print "(running on Void Linux, switching to user mode!)\n";
++    print "(see https://docs.voidlinux.org/config/texlive.html)\n");
 +  }
 +
    #
    # the main tree we will be working on
    $::maintree = $Master;
-@@ -6118,7 +6096,9 @@ sub action_postaction {
+@@ -6260,7 +6236,9 @@
  # sets up the user tree for tlmgr in user mode
  sub action_init_usertree {
    # init_local_db but do not die if localtlpdb is not found!
 -  init_local_db(2);
-+  # we don't ship tlpdb in the system, so don't even
++  # we don't ship tlpdb for system files, so don't even
 +  # try to initialize it.
 +  # init_local_db(2);
    my $tlpdb = TeXLive::TLPDB->new;
    my $usertree;
    if ($opts{"usertree"}) {
-@@ -6758,7 +6738,11 @@ sub init_local_db {
+@@ -6900,7 +6878,11 @@
      if ($should_i_die == 2) {
        return undef;
      } else {
 -      die("cannot setup TLPDB in $::maintree");
 +      if ($opts{'usermode'}) {
-+        die("$prg: user mode not initialized, please run `tlmgr init-usertree`\n");
++        die("$prg: user mode not initialized, please read https://docs.voidlinux.org/config/texlive.html!\n");
 +      } else {
 +        die("cannot setup TLPDB in $::maintree");
 +      }
diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index 247c762d3755b..79168504d138a 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive'
 pkgname=texlive
-version=20210325
-revision=7
+version=20230313
+revision=1
 build_wrksrc="build"
 build_style=gnu-configure
 configure_script="../configure"
@@ -64,7 +64,7 @@ configure_args="
  --with-system-zlib
  --with-system-zziplib
  --with-xdvi-x-toolkit=Xaw"
-hostmakedepends="pkg-config perl lua52-BitOp texinfo"
+hostmakedepends="pkg-config perl lua52-BitOp texinfo libXaw-devel"
 makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel
  harfbuzz-devel icu-devel libpaper-devel libpng-devel mpfr-devel
  pixman-devel libteckit-devel zlib-devel zziplib-devel libXaw-devel"
@@ -73,8 +73,8 @@ short_desc="TeX Live"
 maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
-distfiles="ftp://tug.org/texlive/historic/2021/texlive-${version}-source.tar.xz"
-checksum=7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
+distfiles="ftp://tug.org/texlive/historic/2023/texlive-${version}-source.tar.xz"
+checksum=3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
 python_version=3
 # Virtual package cares only about year part of version
 provides="tex-${version%${version#????}}_1"
@@ -207,6 +207,15 @@ EOF
 #!/bin/sh
 printf "already complete\\n"
 EOF
+
+    # himktables needs to be built on host
+    if [ -n "${CROSS_BUILD}" ]; then
+        cd "${wrksrc}/build/texk/web2c"
+        ctangle ../../../texk/web2c/hitexdir/hiformat.w
+        gcc -o himktables himktables.c
+        ./himktables > hitables.c
+        patch -d "${wrksrc}" -Np1 -i ${FILESDIR}/remove-himktables.patch
+   fi
 }
 
 post_install() {
@@ -251,7 +260,9 @@ texlive-XeTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - engine supporting modern typography"
 	pkg_install() {
+		vmove usr/share/texmf-dist/scripts/texlive-extra/xe*.sh
 		vmove usr/bin/xetex
+		vmove usr/share/man/man1/xe*.1
 		ln -s xetex "${PKGDESTDIR}/usr/bin/xelatex"
 	}
 }
@@ -279,14 +290,14 @@ texlive-LuaTeX_package() {
 				vmove "usr/bin/${i}"
 			done
 		fi
-		for i in checkcites cllualatex cluttex diadia getmapdl l3build luahbtex \
-				 luaotfload-tool luatools luatex lwarpmk m-tx \
+		for i in checkcites cllualatex cluttex diadia digestif getmapdl l3build luafindfont luahbtex \
+				 luaotfload-tool luatex lwarpmk m-tx \
 				 makeglossaries-lite mflua mflua-nowin musixflx musixtex pmxchords \
 				 ptex2pdf texlua texluac xindex ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in checkcites cluttex diadia getmap glossaries/makeglossaries-lite.lua \
-				 l3build luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
+		for i in checkcites cluttex diadia digestif getmap glossaries/makeglossaries-lite.lua \
+				 l3build luafindfont luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		for i in luatex texlua texluac ; do
@@ -356,7 +367,7 @@ texlive-BibTeX_package() {
 		for i in bbl2bib ctanbib ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in bib2gls bibexport ; do
+		for i in bib2gls bibcop bibexport ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		vmove usr/bin/bib*
@@ -364,24 +375,6 @@ texlive-BibTeX_package() {
 	}
 }
 
-texlive-ConTeXt_package() {
-	depends="${sourcepkg}>=${version}_${revision} perl ghostscript"
-	short_desc+=" - alternative general-purpose document processor"
-	pkg_install() {
-		for i in context contextjit mptopdf mtxrun mtxrunjit texexec \
-				 texmfstart dosepsbin epspdf epspdftk purifyeps repstopdf \
-				 ps2eps tl-epsffit ; do
-			vmove "usr/bin/${i}"
-		done
-		for i in context dosepsbin epspdf epstopdf ps2eps purifyeps ; do
-			vmove "usr/share/texmf-dist/scripts/${i}"
-		done
-		for i in tl-epsffit ps2eps ; do
-			vmove "usr/share/man/man1/${i}.1"
-		done
-	}
-}
-
 texlive-PythonTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision} python3"
 	short_desc+=" - executing Python in LaTeX"

From add19327e7119ae4758eb9a44143bab45f00d0a3 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 02/24] texlive-bibtexextra: update to 2023.66579.

---
 common/environment/build-style/texmf/ownership.txt | 2 ++
 srcpkgs/texlive-bibtexextra/template               | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 0e37ec7fda763..d3771c0b62b12 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -26,6 +26,7 @@ scripts/attachfile2/pdfatfi.pl texlive
 scripts/authorindex/authorindex texlive
 scripts/bib2gls/bib2gls.sh texlive
 scripts/bib2gls/convertgls2bib.sh texlive
+scripts/bibcop/bibcop.pl texlive
 scripts/bibexport/bibexport.sh texlive
 scripts/bundledoc/arlatex texlive
 scripts/bundledoc/bundledoc texlive
@@ -33,6 +34,7 @@ scripts/cachepic/cachepic.tlu texlive-pictures
 scripts/checkcites/checkcites.lua texlive
 scripts/checklistings/checklistings.sh texlive
 scripts/chklref/chklref.pl texlive
+scripts/citation-style-language/citeproc-lua.lua texlive
 scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
diff --git a/srcpkgs/texlive-bibtexextra/template b/srcpkgs/texlive-bibtexextra/template
index 0d7b571598929..ff62911eeb993 100644
--- a/srcpkgs/texlive-bibtexextra/template
+++ b/srcpkgs/texlive-bibtexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-bibtexextra'
 pkgname=texlive-bibtexextra
-version=2021.58697
+version=2023.66579
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=d65aa2a12df851e9ddca879f6502a15a52ece9d33c803d4c0d0227fcc785a1c9
+checksum=b2b0b90abb0c0a9eef5366cf0968f7e58ee84c1be688c36d751dd0577c872a3c

From 4fc9f02be7e115fc40744e9f8361e02f90ba5f71 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 03/24] texlive-fontsextra: update to 2023.66328.

---
 srcpkgs/texlive-fontsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-fontsextra/template b/srcpkgs/texlive-fontsextra/template
index 3de281b7428bd..75095b60cceb2 100644
--- a/srcpkgs/texlive-fontsextra/template
+++ b/srcpkgs/texlive-fontsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-fontsextra'
 pkgname=texlive-fontsextra
-version=2021.58704
+version=2023.66328
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=4e1647ea20536d336120c2885af3f7677d9e483ce7f397c1c4404e31fc5fc0aa
+checksum=c5e32f213ec81a5e85f36437d401331b49a1338dacdc2fe8bb27f9f0fbaf2e36

From f7c9bcb272ac225b1da1c5f963a0f44f390db05c Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 04/24] texlive-formatsextra: update to 2023.66186.

---
 srcpkgs/texlive-formatsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-formatsextra/template b/srcpkgs/texlive-formatsextra/template
index d3042a9b2038f..a26144b087b5e 100644
--- a/srcpkgs/texlive-formatsextra/template
+++ b/srcpkgs/texlive-formatsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-formatsextra'
 pkgname=texlive-formatsextra
-version=2021.57972
+version=2023.66186
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=641660f85062d70d715b11e8bd404558d1618a02ce95e1d54792f01e3aa8b80a
+checksum=ffacdfacd9381cf3f21247d15cbd7b4e931855d9258edfe51fd23165cff30ca6

From fea06b8f5fba6999c70652f42ceb2982d26a6d76 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 05/24] texlive-core: update to 2023.66587.

---
 common/environment/build-style/texmf/ownership.txt | 10 ++++++++++
 srcpkgs/texlive-core/template                      |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index d3771c0b62b12..a8b071c2690c9 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -52,6 +52,7 @@ scripts/ctan-o-mat/ctan-o-mat.pl texlive
 scripts/ctanupload/ctanupload.pl texlive
 scripts/de-macro/de-macro texlive
 scripts/diadia/diadia.lua texlive-humanities
+scripts/digestif/digestif.texlua texlive
 scripts/dosepsbin/dosepsbin.pl texlive
 scripts/dtxgen/dtxgen texlive
 scripts/dviasm/dviasm.py texlive
@@ -97,6 +98,7 @@ scripts/listbib/listbib texlive
 scripts/listings-ext/listings-ext.sh texlive
 scripts/ltxfileinfo/ltxfileinfo texlive
 scripts/ltximg/ltximg.pl texlive
+scripts/luafindfont/luafindfont.lua texlive
 scripts/luaotfload/luaotfload-tool.lua texlive
 scripts/lwarp/lwarpmk.lua texlive
 scripts/make4ht/make4ht texlive
@@ -111,6 +113,9 @@ scripts/m-tx/m-tx.lua texlive-music
 scripts/multibibliography/multibibliography.pl texlive
 scripts/musixtex/musixflx.lua texlive-music
 scripts/musixtex/musixtex.lua texlive-music
+scripts/optexcount/optexcount texlive
+scripts/pagelayout/pagelayoutapi texlive
+scripts/pagelayout/textestvis texlive
 scripts/pax/pdfannotextractor.pl texlive
 scripts/pdfbook2/pdfbook2 texlive
 scripts/pdfcrop/pdfcrop.pl texlive
@@ -150,6 +155,7 @@ scripts/srcredact/srcredact.pl texlive
 scripts/sty2dtx/sty2dtx.pl texlive
 scripts/svn-multi/svn-multi.pl texlive
 scripts/tex4ebook/tex4ebook texlive
+scripts/texaccents/texaccents.sno texlive
 scripts/texcount/texcount.pl texlive
 scripts/texdef/texdef.pl texlive
 scripts/texdiff/texdiff texlive
@@ -173,6 +179,8 @@ scripts/texlive-extra/texconfig-dialog.sh texlive
 scripts/texlive-extra/texconfig.sh texlive
 scripts/texlive-extra/texconfig-sys.sh texlive
 scripts/texlive-extra/texlinks.sh texlive
+scripts/texlive-extra/xelatex-unsafe.sh texlive
+scripts/texlive-extra/xetex-unsafe.sh texlive
 scripts/texlive/fmtutil.pl texlive
 scripts/texlive/fmtutil-sys.sh texlive
 scripts/texlive/fmtutil-user.sh texlive
@@ -187,6 +195,8 @@ scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
 scripts/texlive/updmap-user.sh texlive
 scripts/texloganalyser/texloganalyser texlive
+scripts/texlogfilter/texlogfilter texlive
+scripts/texlogsieve/texlogsieve texlive
 scripts/texosquery/texosquery-jre5.sh texlive
 scripts/texosquery/texosquery-jre8.sh texlive
 scripts/texosquery/texosquery.sh texlive
diff --git a/srcpkgs/texlive-core/template b/srcpkgs/texlive-core/template
index 2289356f9142e..f8a93e76beb9d 100644
--- a/srcpkgs/texlive-core/template
+++ b/srcpkgs/texlive-core/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-core'
 pkgname=texlive-core
-version=2021.58710
+version=2023.66587
 revision=1
 build_style="texmf"
 short_desc="TeX Live - core texmf distribution"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=ef11a19ca15f3e937733ed9e17cc024afaf525afdf3d649c9ae4261f1bfb4415
+checksum=2cdaf356d89351e61152243f1192a5e000a9586c67b873737f01878a3e5724ff

From a1fdbb742d0c141c78708b962e91579c2c9b8979 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 06/24] texlive-games: update to 2023.66190.

---
 srcpkgs/texlive-games/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-games/template b/srcpkgs/texlive-games/template
index ecaffb00fd8d2..f73f47547f870 100644
--- a/srcpkgs/texlive-games/template
+++ b/srcpkgs/texlive-games/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-games'
 pkgname=texlive-games
-version=2021.56833
+version=2023.66190
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9d808f5ecbc8a00d3b2fabef627e4ae0ac026c9eb54d6b02f2efeed486aea54b
+checksum=d5c87bdc6445260c947e1585f117efd6ef3c400af03af422939478c4237aee44

From 90b16f82e04f5f6c8749799fc11fed6df83bca53 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 07/24] texlive-humanities: update to 2023.65502.

---
 srcpkgs/texlive-humanities/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-humanities/template b/srcpkgs/texlive-humanities/template
index 67a66171b548a..eb2f7ae79a744 100644
--- a/srcpkgs/texlive-humanities/template
+++ b/srcpkgs/texlive-humanities/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-humanities'
 pkgname=texlive-humanities
-version=2021.58589
+version=2023.65502
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=a2688733e66ba324154ee9715327f4cdb26e7c19283a38d03f086e1b3f123e9f
+checksum=c0b0e4be08cc4fb46206e6769b48f9418ec73a11c556efb8249931d6222d94ef

From 5ff1dbb6ae2599db5d73969ff90238909778ae66 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 08/24] texlive-langchinese: update to 2023.66188.

---
 srcpkgs/texlive-langchinese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langchinese/template b/srcpkgs/texlive-langchinese/template
index 387b14ef7cbe9..fdcd78cd5c2d1 100644
--- a/srcpkgs/texlive-langchinese/template
+++ b/srcpkgs/texlive-langchinese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langchinese'
 pkgname=texlive-langchinese
-version=2021.58583
+version=2023.66188
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=61c476961b3e4d2cc8e95fe68b8ade9a4e692abe644190c1b34adfb58c2f8f8b
+checksum=a08c5c2d7a2eaece4d8f68eedeec64eb44b70255c84087df66679f6a59f649a0

From ec90f93d66563bb5c3adb6703ad2ce4c7a8b8ff4 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 09/24] texlive-langcyrillic: update to 2023.64588.

---
 srcpkgs/texlive-langcyrillic/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langcyrillic/template b/srcpkgs/texlive-langcyrillic/template
index 67c0592949fbe..85aa1defe41c6 100644
--- a/srcpkgs/texlive-langcyrillic/template
+++ b/srcpkgs/texlive-langcyrillic/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langcyrillic'
 pkgname=texlive-langcyrillic
-version=2021.58426
+version=2023.64588
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9dbab28a29c74164f336f38d735277b46ae837492a6fe417b96345620979db7f
+checksum=b22a0759b1e28fb0f9c2e155d9cecec23649d08e33f42adf52bc1efb04630336

From e1fb8e0a3929b1d186a934551af8b5b56c5e546e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 10/24] texlive-langextra: update to 2023.66225.

---
 srcpkgs/texlive-langextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langextra/template b/srcpkgs/texlive-langextra/template
index d527ba24cc9ce..09b0d9bf22716 100644
--- a/srcpkgs/texlive-langextra/template
+++ b/srcpkgs/texlive-langextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langextra'
 pkgname=texlive-langextra
-version=2021.58019
+version=2023.66225
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3b4b6b09a67a33f2a327021ba39e32e746b9be602037c1f50f7e4ab64605bd47
+checksum=635a2a266c01b16660421bfd5dbf5e6f11ce40d0dd63c17e0a07a637f645c1ff

From 5187e95dc00b90d9e39af71cc304b128513daa56 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 11/24] texlive-langgreek: update to 2023.66513.

---
 srcpkgs/texlive-langgreek/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langgreek/template b/srcpkgs/texlive-langgreek/template
index 2cf3904193e8b..5df3a177468ea 100644
--- a/srcpkgs/texlive-langgreek/template
+++ b/srcpkgs/texlive-langgreek/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langgreek'
 pkgname=texlive-langgreek
-version=2021.57684
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=dc51d6c3b1ccf8ef95504f4d610759e465eb2703764d0a5bb6cc82790c831141
+checksum=fdf44664219be6288278466c927c8f0c8eec42c0a733555c2c56c34f890813a0

From e227475f000a9a39d554356e5f508bcf5a5bc71d Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 12/24] texlive-langjapanese: update to 2023.66482.

---
 srcpkgs/texlive-langjapanese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langjapanese/template b/srcpkgs/texlive-langjapanese/template
index a58a1b4bd7afb..d21163ed900b9 100644
--- a/srcpkgs/texlive-langjapanese/template
+++ b/srcpkgs/texlive-langjapanese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langjapanese'
 pkgname=texlive-langjapanese
-version=2021.58632
+version=2023.66482
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=60f3306ab01d1e57720190c8f59d77e50784646a4050720ed0233deccf65871e
+checksum=f9c23022dfdecb662a2097cc6d495ad07b55e74adb9751e0f96d363b27eddc90

From 91f2e8e2607cdd83a1917492a7575286c3462d8a Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 13/24] texlive-langkorean: update to 2023.66513.

---
 srcpkgs/texlive-langkorean/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langkorean/template b/srcpkgs/texlive-langkorean/template
index 5d8a6b46a5a0c..017f2443a6488 100644
--- a/srcpkgs/texlive-langkorean/template
+++ b/srcpkgs/texlive-langkorean/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langkorean'
 pkgname=texlive-langkorean
-version=2021.58468
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=65da5065850e516840ade0522dca2fe0ecbbcabe38c68744372513943c6c61fc
+checksum=9837b0b47bf33d383247c1243f0e203753d0d20038cba5b5c071028af7b9af4d

From 522308fcc3e4a961cecd6edf89dea4d4b39bdf34 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 14/24] texlive-latexextra: update to 2023.66551.

---
 srcpkgs/texlive-latexextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-latexextra/template b/srcpkgs/texlive-latexextra/template
index f0b40027323f4..9f6a24d04b3d3 100644
--- a/srcpkgs/texlive-latexextra/template
+++ b/srcpkgs/texlive-latexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-latexextra'
 pkgname=texlive-latexextra
-version=2021.58668
+version=2023.66551
 revision=1
 build_style="texmf"
 depends="perl-File-Which python3-Pygments texlive-core texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9c2ef3ce71ad656df7644770a2c4aec27c4ea9375421d0ab3b56cb5b25a06287
+checksum=6254daf3152e9f2a7fcf1084873ee9cab150a7f04b0696c327e31da49eae6a95

From dd3c3786adf41d710a91113c43918555dfef591e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 15/24] texlive-music: update to 2023.66278.

---
 srcpkgs/texlive-music/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-music/template b/srcpkgs/texlive-music/template
index 2c71e1e607e78..e278a0b851b46 100644
--- a/srcpkgs/texlive-music/template
+++ b/srcpkgs/texlive-music/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-music'
 pkgname=texlive-music
-version=2021.58331
+version=2023.66278
 revision=1
 build_style="texmf"
 depends="fontforge python3 texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=6018606d59925c94a22aeaafbc1fc8e3fbfa78ce2c2f39a4494249e5a27cd984
+checksum=83df527875cd6bb77941868f35cdc0b7b7300f25c1644fe702ded855e7f492f9

From 973a9a3c622db6c04eb5ffd2985b15097b833762 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 16/24] texlive-pictures: update to 2023.66549.

---
 srcpkgs/texlive-pictures/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pictures/template b/srcpkgs/texlive-pictures/template
index 9dc20b90f8aaf..9674677a47a0b 100644
--- a/srcpkgs/texlive-pictures/template
+++ b/srcpkgs/texlive-pictures/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pictures'
 pkgname=texlive-pictures
-version=2021.58558
+version=2023.66549
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3c4451eb8d81edadfb165233477835ec7dc8b6ba2ba636cc98204623e3f284d6
+checksum=63ff117823e8e9d23e456fc753343ca1a83224de4ad0481acf5be81e2888de0e

From 06f2f21ff58ca7c40f1015f6135db5bc6ecfb073 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 17/24] texlive-pstricks: update to 2023.66115.

---
 srcpkgs/texlive-pstricks/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pstricks/template b/srcpkgs/texlive-pstricks/template
index 4988e816311b4..e2f1c0f8edbb1 100644
--- a/srcpkgs/texlive-pstricks/template
+++ b/srcpkgs/texlive-pstricks/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pstricks'
 pkgname=texlive-pstricks
-version=2021.58293
+version=2023.66115
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=f35f6fa8b9686cfdf9a7a2bd43add9d193c1d28f67dd87acfe69765672930b7d
+checksum=3b0359f4e7f2efee4b96990813fe6b087f8178923e80fcb8c3d3eeaf5c8a7baf

From b682c9566feb2f71d2829b10b8c0956d5ccd23f8 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 18/24] texlive-publishers: update to 2023.66550.

---
 srcpkgs/texlive-publishers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-publishers/template b/srcpkgs/texlive-publishers/template
index 066d07250f356..2a9677a20075e 100644
--- a/srcpkgs/texlive-publishers/template
+++ b/srcpkgs/texlive-publishers/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-publishers'
 pkgname=texlive-publishers
-version=2021.58683
+version=2023.66550
 revision=1
 build_style="texmf"
 short_desc="TeX Live - Classes and packages for certain publishers"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=7ee1bdb92641601c285f972f1978b19adbcbb90f430ae38356bd2e5165506304
+checksum=52f9d38288dcaabfd67f0cb07fb8a48f2c709ff80e5085b298a2cedc9af88588

From c34407a1884929587bc3bf5c785d12dcee762326 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 19/24] texlive-science: update to 2023.66461.

---
 srcpkgs/texlive-science/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-science/template b/srcpkgs/texlive-science/template
index 2020b6cf99ce9..951d4cba6adc7 100644
--- a/srcpkgs/texlive-science/template
+++ b/srcpkgs/texlive-science/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-science'
 pkgname=texlive-science
-version=2022.62977
+version=2023.66461
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3e420b34fbc22c54cbbaeed1c377bbb80360cb162f1464547321114a08f214a3
+checksum=9c5e36cdc932007bb151bd61bacdc216d1d1d682758555a4d6e0e85c51005098

From 5a357c2d2d78a54160ff0f46a603b5d8a867370c Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 20/24] texlive-full: update to 2023.0.

---
 srcpkgs/texlive-full/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-full/template b/srcpkgs/texlive-full/template
index b5b28221516fe..19219853389ac 100644
--- a/srcpkgs/texlive-full/template
+++ b/srcpkgs/texlive-full/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-full'
 pkgname=texlive-full
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

From 840983df71538ad2f3e7c149388a794938904d7e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 21/24] texlive-most: update to 2023.0.

---
 srcpkgs/texlive-most/template | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/texlive-most/template b/srcpkgs/texlive-most/template
index a1a644f9e3b89..c67a32f3f6114 100644
--- a/srcpkgs/texlive-most/template
+++ b/srcpkgs/texlive-most/template
@@ -1,17 +1,16 @@
 # Template file for 'texlive-most'
 pkgname=texlive-most
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-ConTeXt>=20210325
- texlive-LuaTeX>=20210325
- texlive-PythonTeX>=20210325
- texlive-Xdvi>=20210325
- texlive-XeTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-PythonTeX>=20230313
+ texlive-Xdvi>=20230313
+ texlive-XeTeX>=20230313
+ texlive-dvi>=20230313
  texlive-core>=${_year}
  texlive-bibtexextra>=${_year}
  texlive-fontsextra>=${_year}

From 3f43cbbfca513233f6241ab5c1d594a525a4b212 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 22/24] texlive-basic: update to 2023.0.

---
 srcpkgs/texlive-basic/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/texlive-basic/template b/srcpkgs/texlive-basic/template
index f00aacdb39a5a..6ad5a1b1eba02 100644
--- a/srcpkgs/texlive-basic/template
+++ b/srcpkgs/texlive-basic/template
@@ -1,13 +1,13 @@
 # Template file for 'texlive-basic'
 pkgname=texlive-basic
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-LuaTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-dvi>=20210313
  texlive-core>=${_year}
  texlive-latexextra>=${_year}
  texlive-pictures>=${_year}"

From 5d4e32f9bfa1db4497d0ae4d9767b206c252e1f4 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 23/24] texlive-minimal: update to 2023.0.

---
 srcpkgs/texlive-minimal/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/texlive-minimal/template b/srcpkgs/texlive-minimal/template
index af721f2215504..daad0e5c49d8f 100644
--- a/srcpkgs/texlive-minimal/template
+++ b/srcpkgs/texlive-minimal/template
@@ -1,10 +1,10 @@
 # Template file for 'texlive-minimal'
 pkgname=texlive-minimal
-version=2021.0
-revision=2
+version=2023.0
+revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
+depends="texlive>=20230313
  texlive-core>=${_year}"
 short_desc="TeX Live - Metapackage including minimal packages"
 maintainer="fosslinux <fosslinux@aussies.space>"

From 58eab8d51e55b935578ee9e4aed13134b1f40820 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 24/24] texlive-lang: update to 2023.0.

---
 srcpkgs/texlive-lang/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-lang/template b/srcpkgs/texlive-lang/template
index 3d7989843dd6b..3bdaac292e372 100644
--- a/srcpkgs/texlive-lang/template
+++ b/srcpkgs/texlive-lang/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-lang'
 pkgname=texlive-lang
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] WIP: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
  2023-12-21  0:55 ` [PR PATCH] [Updated] " fosslinux
@ 2023-12-29  4:58 ` fosslinux
  2023-12-29  5:00 ` fosslinux
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2023-12-29  4:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

There is an updated pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages texlive-2023
https://github.com/void-linux/void-packages/pull/47130

WIP: Texlive 2023
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


This is a BIG WIP, barely any testing has been done - just want progress to be public.

A few consideration's I'm not sure about at the moment.

1. I'm not certain about our current ownerships - a lot of things from `texmf-dist` come from the texlive package, whereas most other distributions appear to have the primary texlive package as compiled binaries-only and then place all the `texmf-dist` binaries symlinked to scripts in their texlive-core package (obviously different names but same idea). Should we be doing this?
2. What do I do about the ppc64 patches, should they be dropped or left?

A patch file from https://github.com/void-linux/void-packages/pull/47130.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-2023-47130.patch --]
[-- Type: text/x-diff, Size: 40398 bytes --]

From b7cdaef3b8b4d9aadde92ddea648aa5eaf15917e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:40:37 +1100
Subject: [PATCH 01/24] texlive: update to 20230313.

---
 .../build-style/texmf/ownership.txt           |  9 +--
 srcpkgs/texlive/files/remove-himktables.patch | 13 ++++
 .../texlive/patches/luajit-arch-fixes.patch   | 27 +++----
 srcpkgs/texlive/patches/tlmgr.patch           | 72 +++++++++----------
 srcpkgs/texlive/template                      | 49 ++++++-------
 5 files changed, 82 insertions(+), 88 deletions(-)
 create mode 100644 srcpkgs/texlive/files/remove-himktables.patch

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 01dcd2f0cc6fe..0e37ec7fda763 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -37,13 +37,6 @@ scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
 scripts/context/perl/mptopdf.pl texlive
-scripts/context/stubs/unix/contextjit texlive
-scripts/context/stubs/unix/context texlive
-scripts/context/stubs/unix/luatools texlive
-scripts/context/stubs/unix/mtxrunjit texlive
-scripts/context/stubs/unix/mtxrun texlive
-scripts/context/stubs/unix/texexec texlive
-scripts/context/stubs/unix/texmfstart texlive
 scripts/convbkmk/convbkmk.rb texlive-langjapanese
 scripts/crossrefware/bbl2bib.pl texlive
 scripts/crossrefware/bibdoiadd.pl texlive
@@ -185,8 +178,8 @@ scripts/texlive/mktexlsr texlive
 scripts/texlive/mktexmf texlive
 scripts/texlive/mktexpk texlive
 scripts/texlive/mktextfm texlive
+scripts/texlive/rungs.lua texlive
 scripts/texliveonfly/texliveonfly.py texlive
-scripts/texlive/rungs.tlu texlive
 scripts/texlive/tlmgr.pl texlive
 scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
diff --git a/srcpkgs/texlive/files/remove-himktables.patch b/srcpkgs/texlive/files/remove-himktables.patch
new file mode 100644
index 0000000000000..5ae3edb97223d
--- /dev/null
+++ b/srcpkgs/texlive/files/remove-himktables.patch
@@ -0,0 +1,13 @@
+--- a/texk/web2c/Makefile.in	2023-12-19 16:13:41.579311491 +1100
++++ b/texk/web2c/Makefile.in	2023-12-19 16:14:01.587311491 +1100
+@@ -22095,10 +22095,6 @@
+ hitex-tangle: ctangle$(EXEEXT) hitexdir/hitex.w tangle-sh
+ 	$(hi_ctangle_sh) hitex
+ 
+-# Generating hitables.c using himktables.
+-hitables.c: himktables$(EXEEXT)
+-	./himktables$(EXEEXT) > $@ || { rm -f hitables.c; exit 1; }
+-
+ # hitex, histretch, and hishrink all need (at least) some 
+ # of the sources generated from hiformat.w.
+ #
diff --git a/srcpkgs/texlive/patches/luajit-arch-fixes.patch b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
index daf56db0fc7ed..0012b9ed28a83 100644
--- a/srcpkgs/texlive/patches/luajit-arch-fixes.patch
+++ b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
@@ -9,24 +9,25 @@ Author: q66 <daniel@octaforge.org>
 
 --- a/libs/luajit/configure
 +++ b/libs/luajit/configure
-@@ -14243,7 +14243,7 @@ else
- fi
- if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1; then :
+@@ -15267,7 +15267,7 @@
+ if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1
+ then :
    echo '-D P64' >>dynasm_flags
--         if test "x$LJHOST" = xLinux; then :
-+         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64; then :
+-         if test "x$LJHOST" = xLinux
++         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64
+ then :
    LUAJIT_DEFINES="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
  fi
- fi
-@@ -14294,6 +14294,9 @@ fi
- fi
-                 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i >/dev/null 2>&1; then :
+@@ -15331,6 +15331,10 @@
+ then :
    echo '-D GPR64' >>dynasm_flags
-+fi
-+                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1; then :
-+  echo '-D ELFV2' >>dynasm_flags
  fi
-                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1; then :
++                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1
++then :
++  echo '-D ELFV2' >>dynasm_flags
++fi
+                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1
+ then :
    DASM_ARCH=ppc64
 --- a/libs/luajit/m4/lj-system.m4
 +++ b/libs/luajit/m4/lj-system.m4
diff --git a/srcpkgs/texlive/patches/tlmgr.patch b/srcpkgs/texlive/patches/tlmgr.patch
index b4c1c02e89430..687b30fdf9320 100644
--- a/srcpkgs/texlive/patches/tlmgr.patch
+++ b/srcpkgs/texlive/patches/tlmgr.patch
@@ -1,31 +1,19 @@
-Modified from Debian's tlmgr patch.
-Src: https://raw.githubusercontent.com/debian-tex/texlive-nonbin/9767c8ba4ea64d671eb98ddff550498cd2ac3d51/texlive-base/debian/patches/debian-tlmgr-usermode.
-
-Modifications:
-
-* Drop Debian specific wording.
-* Drop unnessecary manpage changes.
-* Change /usr/share path to what we use.
-
-Modified by fosslinux.
-
---- a/texk/texlive/linked_scripts/texlive/tlmgr.pl
-+++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl
-@@ -20,7 +20,7 @@ $datrev =~ s/^.*Date: //;
- $datrev =~ s/ \(.*$//;
- $tlmgrversion = "$tlmgrrevision ($datrev)";
- 
--our $Master;
-+our $Master = "/usr/share/texmf-dist";
- our $loadmediasrcerror;
- our $packagelogfile;
- our $packagelogged;
-@@ -39,38 +39,9 @@ END {
- }
+--- a/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-03-09 08:31:49.000000000 +1100
++++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-12-18 22:20:18.634173357 +1100
+@@ -13,7 +13,7 @@
+ my $tlmgrrevision;
+ my $tlmgrversion;
+ my $prg;
+-my $bindir;
++my $bindir = '/usr/bin';
+ if ($svnrev =~ m/: ([0-9]+) /) {
+   $tlmgrrevision = $1;
+ } else {
+@@ -44,43 +44,12 @@
  
  BEGIN {
--  $^W = 1;
-   # make subprograms (including kpsewhich) have the right path:
+   $^W = 1;
+-  # make subprograms (including kpsewhich) have the right path:
 -  my $kpsewhichname;
 -  if ($^O =~ /^MSWin/i) {
 -    # on w32 $0 and __FILE__ point directly to tlmgr.pl; they can be relative
@@ -33,7 +21,7 @@ Modified by fosslinux.
 -    $Master =~ s!\\!/!g;
 -    $Master =~ s![^/]*$!../../..!
 -      unless ($Master =~ s!/texmf-dist/scripts/texlive/tlmgr\.pl$!!i);
--    $bindir = "$Master/bin/win32";
+-    $bindir = "$Master/bin/windows";
 -    $kpsewhichname = "kpsewhich.exe";
 -    # path already set by wrapper batchfile
 -  } else {
@@ -47,7 +35,7 @@ Modified by fosslinux.
 -  }
 -  if (-r "$bindir/$kpsewhichname") {
 -    # if not in bootstrapping mode => kpsewhich exists, so use it to get $Master
--    chomp($Master = `kpsewhich -var-value=SELFAUTOPARENT`);
+-    chomp($Master = `kpsewhich -var-value=TEXMFROOT`);
 -  }
 -
 -  # if we have no directory in which to find our modules,
@@ -56,43 +44,49 @@ Modified by fosslinux.
 -    die ("Could not determine directory of tlmgr executable, "
 -         . "maybe shared library woes?\nCheck for error messages above");
 -  }
-+  $bindir = $Master;
-+  $ENV{"PATH"} = "$bindir:$ENV{PATH}";
- 
+-
++  $Master = "/usr/share/texmf-dist";
    $::installerdir = $Master;  # for config.guess et al., see TLUtils.pm
  
-@@ -615,6 +586,13 @@ for the full story.\n";
+   # make Perl find our packages first:
+   unshift (@INC, "$Master/tlpkg");
+-  unshift (@INC, "$Master/texmf-dist/scripts/texlive");
++  unshift (@INC, "$Master/scripts/texlive");
+ }
+ 
+ use Cwd qw/abs_path/;
+@@ -622,6 +591,13 @@
      tldie("$prg: Try --help if you need it.\n");
    }
  
-+  # automatically switch to user mode on Void, and warn
++  # automatically switch to user mode, and warn
 +  if (!$opts{"usermode"} && $action ne "init-usertree") {
 +    $opts{"usermode"} = 1;
-+    print "WARNING: switching to user mode!\n";
-+    print "WARNING: normal mode unsupported on Void Linux.\n";
++    print "(running on Void Linux, switching to user mode!)\n";
++    print "(see https://docs.voidlinux.org/config/texlive.html)\n");
 +  }
 +
    #
    # the main tree we will be working on
    $::maintree = $Master;
-@@ -6118,7 +6096,9 @@ sub action_postaction {
+@@ -6260,7 +6236,9 @@
  # sets up the user tree for tlmgr in user mode
  sub action_init_usertree {
    # init_local_db but do not die if localtlpdb is not found!
 -  init_local_db(2);
-+  # we don't ship tlpdb in the system, so don't even
++  # we don't ship tlpdb for system files, so don't even
 +  # try to initialize it.
 +  # init_local_db(2);
    my $tlpdb = TeXLive::TLPDB->new;
    my $usertree;
    if ($opts{"usertree"}) {
-@@ -6758,7 +6738,11 @@ sub init_local_db {
+@@ -6900,7 +6878,11 @@
      if ($should_i_die == 2) {
        return undef;
      } else {
 -      die("cannot setup TLPDB in $::maintree");
 +      if ($opts{'usermode'}) {
-+        die("$prg: user mode not initialized, please run `tlmgr init-usertree`\n");
++        die("$prg: user mode not initialized, please read https://docs.voidlinux.org/config/texlive.html!\n");
 +      } else {
 +        die("cannot setup TLPDB in $::maintree");
 +      }
diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index 247c762d3755b..3d2c93ecb9086 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive'
 pkgname=texlive
-version=20210325
-revision=7
+version=20230313
+revision=1
 build_wrksrc="build"
 build_style=gnu-configure
 configure_script="../configure"
@@ -64,7 +64,7 @@ configure_args="
  --with-system-zlib
  --with-system-zziplib
  --with-xdvi-x-toolkit=Xaw"
-hostmakedepends="pkg-config perl lua52-BitOp texinfo"
+hostmakedepends="pkg-config perl lua52-BitOp texinfo libXaw-devel"
 makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel
  harfbuzz-devel icu-devel libpaper-devel libpng-devel mpfr-devel
  pixman-devel libteckit-devel zlib-devel zziplib-devel libXaw-devel"
@@ -73,8 +73,8 @@ short_desc="TeX Live"
 maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
-distfiles="ftp://tug.org/texlive/historic/2021/texlive-${version}-source.tar.xz"
-checksum=7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
+distfiles="ftp://tug.org/texlive/historic/2023/texlive-${version}-source.tar.xz"
+checksum=3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
 python_version=3
 # Virtual package cares only about year part of version
 provides="tex-${version%${version#????}}_1"
@@ -207,6 +207,15 @@ EOF
 #!/bin/sh
 printf "already complete\\n"
 EOF
+
+	# himktables needs to be built on host
+	if [ -n "${CROSS_BUILD}" ]; then
+		cd "${wrksrc}/build/texk/web2c"
+		ctangle ../../../texk/web2c/hitexdir/hiformat.w
+		gcc -o himktables himktables.c
+		./himktables > hitables.c
+		patch -d "${wrksrc}" -Np1 -i ${FILESDIR}/remove-himktables.patch
+	fi
 }
 
 post_install() {
@@ -251,7 +260,9 @@ texlive-XeTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - engine supporting modern typography"
 	pkg_install() {
+		vmove usr/share/texmf-dist/scripts/texlive-extra/xe*.sh
 		vmove usr/bin/xetex
+		vmove usr/share/man/man1/xe*.1
 		ln -s xetex "${PKGDESTDIR}/usr/bin/xelatex"
 	}
 }
@@ -279,14 +290,14 @@ texlive-LuaTeX_package() {
 				vmove "usr/bin/${i}"
 			done
 		fi
-		for i in checkcites cllualatex cluttex diadia getmapdl l3build luahbtex \
-				 luaotfload-tool luatools luatex lwarpmk m-tx \
+		for i in checkcites cllualatex cluttex diadia digestif getmapdl l3build luafindfont luahbtex \
+				 luaotfload-tool luatex lwarpmk m-tx \
 				 makeglossaries-lite mflua mflua-nowin musixflx musixtex pmxchords \
 				 ptex2pdf texlua texluac xindex ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in checkcites cluttex diadia getmap glossaries/makeglossaries-lite.lua \
-				 l3build luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
+		for i in checkcites cluttex diadia digestif getmap glossaries/makeglossaries-lite.lua \
+				 l3build luafindfont luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		for i in luatex texlua texluac ; do
@@ -356,7 +367,7 @@ texlive-BibTeX_package() {
 		for i in bbl2bib ctanbib ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in bib2gls bibexport ; do
+		for i in bib2gls bibcop bibexport ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		vmove usr/bin/bib*
@@ -364,24 +375,6 @@ texlive-BibTeX_package() {
 	}
 }
 
-texlive-ConTeXt_package() {
-	depends="${sourcepkg}>=${version}_${revision} perl ghostscript"
-	short_desc+=" - alternative general-purpose document processor"
-	pkg_install() {
-		for i in context contextjit mptopdf mtxrun mtxrunjit texexec \
-				 texmfstart dosepsbin epspdf epspdftk purifyeps repstopdf \
-				 ps2eps tl-epsffit ; do
-			vmove "usr/bin/${i}"
-		done
-		for i in context dosepsbin epspdf epstopdf ps2eps purifyeps ; do
-			vmove "usr/share/texmf-dist/scripts/${i}"
-		done
-		for i in tl-epsffit ps2eps ; do
-			vmove "usr/share/man/man1/${i}.1"
-		done
-	}
-}
-
 texlive-PythonTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision} python3"
 	short_desc+=" - executing Python in LaTeX"

From 2d8d56e9cf197af1a137303f8cb8e37c6774d8c0 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 02/24] texlive-bibtexextra: update to 2023.66579.

---
 common/environment/build-style/texmf/ownership.txt | 2 ++
 srcpkgs/texlive-bibtexextra/template               | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 0e37ec7fda763..d3771c0b62b12 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -26,6 +26,7 @@ scripts/attachfile2/pdfatfi.pl texlive
 scripts/authorindex/authorindex texlive
 scripts/bib2gls/bib2gls.sh texlive
 scripts/bib2gls/convertgls2bib.sh texlive
+scripts/bibcop/bibcop.pl texlive
 scripts/bibexport/bibexport.sh texlive
 scripts/bundledoc/arlatex texlive
 scripts/bundledoc/bundledoc texlive
@@ -33,6 +34,7 @@ scripts/cachepic/cachepic.tlu texlive-pictures
 scripts/checkcites/checkcites.lua texlive
 scripts/checklistings/checklistings.sh texlive
 scripts/chklref/chklref.pl texlive
+scripts/citation-style-language/citeproc-lua.lua texlive
 scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
diff --git a/srcpkgs/texlive-bibtexextra/template b/srcpkgs/texlive-bibtexextra/template
index 0d7b571598929..ff62911eeb993 100644
--- a/srcpkgs/texlive-bibtexextra/template
+++ b/srcpkgs/texlive-bibtexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-bibtexextra'
 pkgname=texlive-bibtexextra
-version=2021.58697
+version=2023.66579
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=d65aa2a12df851e9ddca879f6502a15a52ece9d33c803d4c0d0227fcc785a1c9
+checksum=b2b0b90abb0c0a9eef5366cf0968f7e58ee84c1be688c36d751dd0577c872a3c

From 550f667a6340db94aa765c4b208174a2cb6cd954 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 03/24] texlive-fontsextra: update to 2023.66328.

---
 srcpkgs/texlive-fontsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-fontsextra/template b/srcpkgs/texlive-fontsextra/template
index 3de281b7428bd..75095b60cceb2 100644
--- a/srcpkgs/texlive-fontsextra/template
+++ b/srcpkgs/texlive-fontsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-fontsextra'
 pkgname=texlive-fontsextra
-version=2021.58704
+version=2023.66328
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=4e1647ea20536d336120c2885af3f7677d9e483ce7f397c1c4404e31fc5fc0aa
+checksum=c5e32f213ec81a5e85f36437d401331b49a1338dacdc2fe8bb27f9f0fbaf2e36

From 8f10b78c4d4a2fb01def6e23098edb187878b0af Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 04/24] texlive-formatsextra: update to 2023.66186.

---
 srcpkgs/texlive-formatsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-formatsextra/template b/srcpkgs/texlive-formatsextra/template
index d3042a9b2038f..a26144b087b5e 100644
--- a/srcpkgs/texlive-formatsextra/template
+++ b/srcpkgs/texlive-formatsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-formatsextra'
 pkgname=texlive-formatsextra
-version=2021.57972
+version=2023.66186
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=641660f85062d70d715b11e8bd404558d1618a02ce95e1d54792f01e3aa8b80a
+checksum=ffacdfacd9381cf3f21247d15cbd7b4e931855d9258edfe51fd23165cff30ca6

From a3ceac6837309a3480a34c4081266d2694d26fc8 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 05/24] texlive-core: update to 2023.66587.

---
 common/environment/build-style/texmf/ownership.txt | 10 ++++++++++
 srcpkgs/texlive-core/template                      |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index d3771c0b62b12..a8b071c2690c9 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -52,6 +52,7 @@ scripts/ctan-o-mat/ctan-o-mat.pl texlive
 scripts/ctanupload/ctanupload.pl texlive
 scripts/de-macro/de-macro texlive
 scripts/diadia/diadia.lua texlive-humanities
+scripts/digestif/digestif.texlua texlive
 scripts/dosepsbin/dosepsbin.pl texlive
 scripts/dtxgen/dtxgen texlive
 scripts/dviasm/dviasm.py texlive
@@ -97,6 +98,7 @@ scripts/listbib/listbib texlive
 scripts/listings-ext/listings-ext.sh texlive
 scripts/ltxfileinfo/ltxfileinfo texlive
 scripts/ltximg/ltximg.pl texlive
+scripts/luafindfont/luafindfont.lua texlive
 scripts/luaotfload/luaotfload-tool.lua texlive
 scripts/lwarp/lwarpmk.lua texlive
 scripts/make4ht/make4ht texlive
@@ -111,6 +113,9 @@ scripts/m-tx/m-tx.lua texlive-music
 scripts/multibibliography/multibibliography.pl texlive
 scripts/musixtex/musixflx.lua texlive-music
 scripts/musixtex/musixtex.lua texlive-music
+scripts/optexcount/optexcount texlive
+scripts/pagelayout/pagelayoutapi texlive
+scripts/pagelayout/textestvis texlive
 scripts/pax/pdfannotextractor.pl texlive
 scripts/pdfbook2/pdfbook2 texlive
 scripts/pdfcrop/pdfcrop.pl texlive
@@ -150,6 +155,7 @@ scripts/srcredact/srcredact.pl texlive
 scripts/sty2dtx/sty2dtx.pl texlive
 scripts/svn-multi/svn-multi.pl texlive
 scripts/tex4ebook/tex4ebook texlive
+scripts/texaccents/texaccents.sno texlive
 scripts/texcount/texcount.pl texlive
 scripts/texdef/texdef.pl texlive
 scripts/texdiff/texdiff texlive
@@ -173,6 +179,8 @@ scripts/texlive-extra/texconfig-dialog.sh texlive
 scripts/texlive-extra/texconfig.sh texlive
 scripts/texlive-extra/texconfig-sys.sh texlive
 scripts/texlive-extra/texlinks.sh texlive
+scripts/texlive-extra/xelatex-unsafe.sh texlive
+scripts/texlive-extra/xetex-unsafe.sh texlive
 scripts/texlive/fmtutil.pl texlive
 scripts/texlive/fmtutil-sys.sh texlive
 scripts/texlive/fmtutil-user.sh texlive
@@ -187,6 +195,8 @@ scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
 scripts/texlive/updmap-user.sh texlive
 scripts/texloganalyser/texloganalyser texlive
+scripts/texlogfilter/texlogfilter texlive
+scripts/texlogsieve/texlogsieve texlive
 scripts/texosquery/texosquery-jre5.sh texlive
 scripts/texosquery/texosquery-jre8.sh texlive
 scripts/texosquery/texosquery.sh texlive
diff --git a/srcpkgs/texlive-core/template b/srcpkgs/texlive-core/template
index 2289356f9142e..f8a93e76beb9d 100644
--- a/srcpkgs/texlive-core/template
+++ b/srcpkgs/texlive-core/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-core'
 pkgname=texlive-core
-version=2021.58710
+version=2023.66587
 revision=1
 build_style="texmf"
 short_desc="TeX Live - core texmf distribution"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=ef11a19ca15f3e937733ed9e17cc024afaf525afdf3d649c9ae4261f1bfb4415
+checksum=2cdaf356d89351e61152243f1192a5e000a9586c67b873737f01878a3e5724ff

From 7d479962c46f6d8a3cba954152cf564ac5ae12a4 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 06/24] texlive-games: update to 2023.66190.

---
 srcpkgs/texlive-games/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-games/template b/srcpkgs/texlive-games/template
index ecaffb00fd8d2..f73f47547f870 100644
--- a/srcpkgs/texlive-games/template
+++ b/srcpkgs/texlive-games/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-games'
 pkgname=texlive-games
-version=2021.56833
+version=2023.66190
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9d808f5ecbc8a00d3b2fabef627e4ae0ac026c9eb54d6b02f2efeed486aea54b
+checksum=d5c87bdc6445260c947e1585f117efd6ef3c400af03af422939478c4237aee44

From 4252c55e4d29e2d3e8a4e50a7429acafb29f85c3 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 07/24] texlive-humanities: update to 2023.65502.

---
 srcpkgs/texlive-humanities/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-humanities/template b/srcpkgs/texlive-humanities/template
index 67a66171b548a..eb2f7ae79a744 100644
--- a/srcpkgs/texlive-humanities/template
+++ b/srcpkgs/texlive-humanities/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-humanities'
 pkgname=texlive-humanities
-version=2021.58589
+version=2023.65502
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=a2688733e66ba324154ee9715327f4cdb26e7c19283a38d03f086e1b3f123e9f
+checksum=c0b0e4be08cc4fb46206e6769b48f9418ec73a11c556efb8249931d6222d94ef

From 800771cb1da1b735e386c019d12627980bd9ac05 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 08/24] texlive-langchinese: update to 2023.66188.

---
 srcpkgs/texlive-langchinese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langchinese/template b/srcpkgs/texlive-langchinese/template
index 387b14ef7cbe9..fdcd78cd5c2d1 100644
--- a/srcpkgs/texlive-langchinese/template
+++ b/srcpkgs/texlive-langchinese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langchinese'
 pkgname=texlive-langchinese
-version=2021.58583
+version=2023.66188
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=61c476961b3e4d2cc8e95fe68b8ade9a4e692abe644190c1b34adfb58c2f8f8b
+checksum=a08c5c2d7a2eaece4d8f68eedeec64eb44b70255c84087df66679f6a59f649a0

From 2c15e17084bf5b808e7cb295eb267bdf821c3a22 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 09/24] texlive-langcyrillic: update to 2023.64588.

---
 srcpkgs/texlive-langcyrillic/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langcyrillic/template b/srcpkgs/texlive-langcyrillic/template
index 67c0592949fbe..85aa1defe41c6 100644
--- a/srcpkgs/texlive-langcyrillic/template
+++ b/srcpkgs/texlive-langcyrillic/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langcyrillic'
 pkgname=texlive-langcyrillic
-version=2021.58426
+version=2023.64588
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9dbab28a29c74164f336f38d735277b46ae837492a6fe417b96345620979db7f
+checksum=b22a0759b1e28fb0f9c2e155d9cecec23649d08e33f42adf52bc1efb04630336

From abb02c2d84ff19634c0af59153a20a58871ad511 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 10/24] texlive-langextra: update to 2023.66225.

---
 srcpkgs/texlive-langextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langextra/template b/srcpkgs/texlive-langextra/template
index d527ba24cc9ce..09b0d9bf22716 100644
--- a/srcpkgs/texlive-langextra/template
+++ b/srcpkgs/texlive-langextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langextra'
 pkgname=texlive-langextra
-version=2021.58019
+version=2023.66225
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3b4b6b09a67a33f2a327021ba39e32e746b9be602037c1f50f7e4ab64605bd47
+checksum=635a2a266c01b16660421bfd5dbf5e6f11ce40d0dd63c17e0a07a637f645c1ff

From ee6d59c593448ec001875fe1aa17767c49a27a40 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 11/24] texlive-langgreek: update to 2023.66513.

---
 srcpkgs/texlive-langgreek/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langgreek/template b/srcpkgs/texlive-langgreek/template
index 2cf3904193e8b..5df3a177468ea 100644
--- a/srcpkgs/texlive-langgreek/template
+++ b/srcpkgs/texlive-langgreek/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langgreek'
 pkgname=texlive-langgreek
-version=2021.57684
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=dc51d6c3b1ccf8ef95504f4d610759e465eb2703764d0a5bb6cc82790c831141
+checksum=fdf44664219be6288278466c927c8f0c8eec42c0a733555c2c56c34f890813a0

From f90f59c9c0ac28e4f3a310cbf3f1ff33ec76c56f Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 12/24] texlive-langjapanese: update to 2023.66482.

---
 srcpkgs/texlive-langjapanese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langjapanese/template b/srcpkgs/texlive-langjapanese/template
index a58a1b4bd7afb..d21163ed900b9 100644
--- a/srcpkgs/texlive-langjapanese/template
+++ b/srcpkgs/texlive-langjapanese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langjapanese'
 pkgname=texlive-langjapanese
-version=2021.58632
+version=2023.66482
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=60f3306ab01d1e57720190c8f59d77e50784646a4050720ed0233deccf65871e
+checksum=f9c23022dfdecb662a2097cc6d495ad07b55e74adb9751e0f96d363b27eddc90

From b23275599204c766c6c589694ff12dd9184f895c Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 13/24] texlive-langkorean: update to 2023.66513.

---
 srcpkgs/texlive-langkorean/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langkorean/template b/srcpkgs/texlive-langkorean/template
index 5d8a6b46a5a0c..017f2443a6488 100644
--- a/srcpkgs/texlive-langkorean/template
+++ b/srcpkgs/texlive-langkorean/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langkorean'
 pkgname=texlive-langkorean
-version=2021.58468
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=65da5065850e516840ade0522dca2fe0ecbbcabe38c68744372513943c6c61fc
+checksum=9837b0b47bf33d383247c1243f0e203753d0d20038cba5b5c071028af7b9af4d

From d2db87314d7aa6f5f2359e2b61b73b725e2d6b0a Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 14/24] texlive-latexextra: update to 2023.66551.

---
 srcpkgs/texlive-latexextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-latexextra/template b/srcpkgs/texlive-latexextra/template
index f0b40027323f4..9f6a24d04b3d3 100644
--- a/srcpkgs/texlive-latexextra/template
+++ b/srcpkgs/texlive-latexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-latexextra'
 pkgname=texlive-latexextra
-version=2021.58668
+version=2023.66551
 revision=1
 build_style="texmf"
 depends="perl-File-Which python3-Pygments texlive-core texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9c2ef3ce71ad656df7644770a2c4aec27c4ea9375421d0ab3b56cb5b25a06287
+checksum=6254daf3152e9f2a7fcf1084873ee9cab150a7f04b0696c327e31da49eae6a95

From 43ff8f8a2b09234cd5b910917f07c8b81155f9d0 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 15/24] texlive-music: update to 2023.66278.

---
 srcpkgs/texlive-music/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-music/template b/srcpkgs/texlive-music/template
index 2c71e1e607e78..e278a0b851b46 100644
--- a/srcpkgs/texlive-music/template
+++ b/srcpkgs/texlive-music/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-music'
 pkgname=texlive-music
-version=2021.58331
+version=2023.66278
 revision=1
 build_style="texmf"
 depends="fontforge python3 texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=6018606d59925c94a22aeaafbc1fc8e3fbfa78ce2c2f39a4494249e5a27cd984
+checksum=83df527875cd6bb77941868f35cdc0b7b7300f25c1644fe702ded855e7f492f9

From 37c8bf38e2eb90e72ce48842a84e53eff024f8c9 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 16/24] texlive-pictures: update to 2023.66549.

---
 srcpkgs/texlive-pictures/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pictures/template b/srcpkgs/texlive-pictures/template
index 9dc20b90f8aaf..9674677a47a0b 100644
--- a/srcpkgs/texlive-pictures/template
+++ b/srcpkgs/texlive-pictures/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pictures'
 pkgname=texlive-pictures
-version=2021.58558
+version=2023.66549
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3c4451eb8d81edadfb165233477835ec7dc8b6ba2ba636cc98204623e3f284d6
+checksum=63ff117823e8e9d23e456fc753343ca1a83224de4ad0481acf5be81e2888de0e

From 0556d0c349dcb9eeb90f89f03205679cc3291a17 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 17/24] texlive-pstricks: update to 2023.66115.

---
 srcpkgs/texlive-pstricks/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pstricks/template b/srcpkgs/texlive-pstricks/template
index 4988e816311b4..e2f1c0f8edbb1 100644
--- a/srcpkgs/texlive-pstricks/template
+++ b/srcpkgs/texlive-pstricks/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pstricks'
 pkgname=texlive-pstricks
-version=2021.58293
+version=2023.66115
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=f35f6fa8b9686cfdf9a7a2bd43add9d193c1d28f67dd87acfe69765672930b7d
+checksum=3b0359f4e7f2efee4b96990813fe6b087f8178923e80fcb8c3d3eeaf5c8a7baf

From 591a51b23564a48bc493e042db44004721a1811b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 18/24] texlive-publishers: update to 2023.66550.

---
 srcpkgs/texlive-publishers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-publishers/template b/srcpkgs/texlive-publishers/template
index 066d07250f356..2a9677a20075e 100644
--- a/srcpkgs/texlive-publishers/template
+++ b/srcpkgs/texlive-publishers/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-publishers'
 pkgname=texlive-publishers
-version=2021.58683
+version=2023.66550
 revision=1
 build_style="texmf"
 short_desc="TeX Live - Classes and packages for certain publishers"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=7ee1bdb92641601c285f972f1978b19adbcbb90f430ae38356bd2e5165506304
+checksum=52f9d38288dcaabfd67f0cb07fb8a48f2c709ff80e5085b298a2cedc9af88588

From ec9e53a0b4f7f73cadcad099c7ee80ffb1668c95 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 19/24] texlive-science: update to 2023.66461.

---
 srcpkgs/texlive-science/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-science/template b/srcpkgs/texlive-science/template
index 2020b6cf99ce9..951d4cba6adc7 100644
--- a/srcpkgs/texlive-science/template
+++ b/srcpkgs/texlive-science/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-science'
 pkgname=texlive-science
-version=2022.62977
+version=2023.66461
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3e420b34fbc22c54cbbaeed1c377bbb80360cb162f1464547321114a08f214a3
+checksum=9c5e36cdc932007bb151bd61bacdc216d1d1d682758555a4d6e0e85c51005098

From 04d7efd6fa7c7ef100e629f2c9c25233edb9c973 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 20/24] texlive-full: update to 2023.0.

---
 srcpkgs/texlive-full/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-full/template b/srcpkgs/texlive-full/template
index b5b28221516fe..19219853389ac 100644
--- a/srcpkgs/texlive-full/template
+++ b/srcpkgs/texlive-full/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-full'
 pkgname=texlive-full
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

From a59eae305507c5e1249b17cce0c2f8fcef5275cd Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 21/24] texlive-most: update to 2023.0.

---
 srcpkgs/texlive-most/template | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/texlive-most/template b/srcpkgs/texlive-most/template
index a1a644f9e3b89..c67a32f3f6114 100644
--- a/srcpkgs/texlive-most/template
+++ b/srcpkgs/texlive-most/template
@@ -1,17 +1,16 @@
 # Template file for 'texlive-most'
 pkgname=texlive-most
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-ConTeXt>=20210325
- texlive-LuaTeX>=20210325
- texlive-PythonTeX>=20210325
- texlive-Xdvi>=20210325
- texlive-XeTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-PythonTeX>=20230313
+ texlive-Xdvi>=20230313
+ texlive-XeTeX>=20230313
+ texlive-dvi>=20230313
  texlive-core>=${_year}
  texlive-bibtexextra>=${_year}
  texlive-fontsextra>=${_year}

From 71f9bf66b2fb825e9ac6c113e28619e81b87567d Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 22/24] texlive-basic: update to 2023.0.

---
 srcpkgs/texlive-basic/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/texlive-basic/template b/srcpkgs/texlive-basic/template
index f00aacdb39a5a..6ad5a1b1eba02 100644
--- a/srcpkgs/texlive-basic/template
+++ b/srcpkgs/texlive-basic/template
@@ -1,13 +1,13 @@
 # Template file for 'texlive-basic'
 pkgname=texlive-basic
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-LuaTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-dvi>=20210313
  texlive-core>=${_year}
  texlive-latexextra>=${_year}
  texlive-pictures>=${_year}"

From afc0427407e2c8acb4648cf38b747d092fc7a736 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 23/24] texlive-minimal: update to 2023.0.

---
 srcpkgs/texlive-minimal/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/texlive-minimal/template b/srcpkgs/texlive-minimal/template
index af721f2215504..daad0e5c49d8f 100644
--- a/srcpkgs/texlive-minimal/template
+++ b/srcpkgs/texlive-minimal/template
@@ -1,10 +1,10 @@
 # Template file for 'texlive-minimal'
 pkgname=texlive-minimal
-version=2021.0
-revision=2
+version=2023.0
+revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
+depends="texlive>=20230313
  texlive-core>=${_year}"
 short_desc="TeX Live - Metapackage including minimal packages"
 maintainer="fosslinux <fosslinux@aussies.space>"

From ea2ccffaeea3744214894d89945451e95e359856 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 24/24] texlive-lang: update to 2023.0.

---
 srcpkgs/texlive-lang/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-lang/template b/srcpkgs/texlive-lang/template
index 3d7989843dd6b..3bdaac292e372 100644
--- a/srcpkgs/texlive-lang/template
+++ b/srcpkgs/texlive-lang/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-lang'
 pkgname=texlive-lang
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] WIP: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
  2023-12-21  0:55 ` [PR PATCH] [Updated] " fosslinux
  2023-12-29  4:58 ` fosslinux
@ 2023-12-29  5:00 ` fosslinux
  2024-01-06 18:23 ` tornaria
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2023-12-29  5:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

There is an updated pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages texlive-2023
https://github.com/void-linux/void-packages/pull/47130

WIP: Texlive 2023
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


This is a BIG WIP, barely any testing has been done - just want progress to be public.

A few consideration's I'm not sure about at the moment.

1. I'm not certain about our current ownerships - a lot of things from `texmf-dist` come from the texlive package, whereas most other distributions appear to have the primary texlive package as compiled binaries-only and then place all the `texmf-dist` binaries symlinked to scripts in their texlive-core package (obviously different names but same idea). Should we be doing this?
2. What do I do about the ppc64 patches, should they be dropped or left?

A patch file from https://github.com/void-linux/void-packages/pull/47130.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-2023-47130.patch --]
[-- Type: text/x-diff, Size: 41327 bytes --]

From b7cdaef3b8b4d9aadde92ddea648aa5eaf15917e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:40:37 +1100
Subject: [PATCH 01/25] texlive: update to 20230313.

---
 .../build-style/texmf/ownership.txt           |  9 +--
 srcpkgs/texlive/files/remove-himktables.patch | 13 ++++
 .../texlive/patches/luajit-arch-fixes.patch   | 27 +++----
 srcpkgs/texlive/patches/tlmgr.patch           | 72 +++++++++----------
 srcpkgs/texlive/template                      | 49 ++++++-------
 5 files changed, 82 insertions(+), 88 deletions(-)
 create mode 100644 srcpkgs/texlive/files/remove-himktables.patch

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 01dcd2f0cc6fe..0e37ec7fda763 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -37,13 +37,6 @@ scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
 scripts/context/perl/mptopdf.pl texlive
-scripts/context/stubs/unix/contextjit texlive
-scripts/context/stubs/unix/context texlive
-scripts/context/stubs/unix/luatools texlive
-scripts/context/stubs/unix/mtxrunjit texlive
-scripts/context/stubs/unix/mtxrun texlive
-scripts/context/stubs/unix/texexec texlive
-scripts/context/stubs/unix/texmfstart texlive
 scripts/convbkmk/convbkmk.rb texlive-langjapanese
 scripts/crossrefware/bbl2bib.pl texlive
 scripts/crossrefware/bibdoiadd.pl texlive
@@ -185,8 +178,8 @@ scripts/texlive/mktexlsr texlive
 scripts/texlive/mktexmf texlive
 scripts/texlive/mktexpk texlive
 scripts/texlive/mktextfm texlive
+scripts/texlive/rungs.lua texlive
 scripts/texliveonfly/texliveonfly.py texlive
-scripts/texlive/rungs.tlu texlive
 scripts/texlive/tlmgr.pl texlive
 scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
diff --git a/srcpkgs/texlive/files/remove-himktables.patch b/srcpkgs/texlive/files/remove-himktables.patch
new file mode 100644
index 0000000000000..5ae3edb97223d
--- /dev/null
+++ b/srcpkgs/texlive/files/remove-himktables.patch
@@ -0,0 +1,13 @@
+--- a/texk/web2c/Makefile.in	2023-12-19 16:13:41.579311491 +1100
++++ b/texk/web2c/Makefile.in	2023-12-19 16:14:01.587311491 +1100
+@@ -22095,10 +22095,6 @@
+ hitex-tangle: ctangle$(EXEEXT) hitexdir/hitex.w tangle-sh
+ 	$(hi_ctangle_sh) hitex
+ 
+-# Generating hitables.c using himktables.
+-hitables.c: himktables$(EXEEXT)
+-	./himktables$(EXEEXT) > $@ || { rm -f hitables.c; exit 1; }
+-
+ # hitex, histretch, and hishrink all need (at least) some 
+ # of the sources generated from hiformat.w.
+ #
diff --git a/srcpkgs/texlive/patches/luajit-arch-fixes.patch b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
index daf56db0fc7ed..0012b9ed28a83 100644
--- a/srcpkgs/texlive/patches/luajit-arch-fixes.patch
+++ b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
@@ -9,24 +9,25 @@ Author: q66 <daniel@octaforge.org>
 
 --- a/libs/luajit/configure
 +++ b/libs/luajit/configure
-@@ -14243,7 +14243,7 @@ else
- fi
- if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1; then :
+@@ -15267,7 +15267,7 @@
+ if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1
+ then :
    echo '-D P64' >>dynasm_flags
--         if test "x$LJHOST" = xLinux; then :
-+         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64; then :
+-         if test "x$LJHOST" = xLinux
++         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64
+ then :
    LUAJIT_DEFINES="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
  fi
- fi
-@@ -14294,6 +14294,9 @@ fi
- fi
-                 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i >/dev/null 2>&1; then :
+@@ -15331,6 +15331,10 @@
+ then :
    echo '-D GPR64' >>dynasm_flags
-+fi
-+                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1; then :
-+  echo '-D ELFV2' >>dynasm_flags
  fi
-                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1; then :
++                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1
++then :
++  echo '-D ELFV2' >>dynasm_flags
++fi
+                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1
+ then :
    DASM_ARCH=ppc64
 --- a/libs/luajit/m4/lj-system.m4
 +++ b/libs/luajit/m4/lj-system.m4
diff --git a/srcpkgs/texlive/patches/tlmgr.patch b/srcpkgs/texlive/patches/tlmgr.patch
index b4c1c02e89430..687b30fdf9320 100644
--- a/srcpkgs/texlive/patches/tlmgr.patch
+++ b/srcpkgs/texlive/patches/tlmgr.patch
@@ -1,31 +1,19 @@
-Modified from Debian's tlmgr patch.
-Src: https://raw.githubusercontent.com/debian-tex/texlive-nonbin/9767c8ba4ea64d671eb98ddff550498cd2ac3d51/texlive-base/debian/patches/debian-tlmgr-usermode.
-
-Modifications:
-
-* Drop Debian specific wording.
-* Drop unnessecary manpage changes.
-* Change /usr/share path to what we use.
-
-Modified by fosslinux.
-
---- a/texk/texlive/linked_scripts/texlive/tlmgr.pl
-+++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl
-@@ -20,7 +20,7 @@ $datrev =~ s/^.*Date: //;
- $datrev =~ s/ \(.*$//;
- $tlmgrversion = "$tlmgrrevision ($datrev)";
- 
--our $Master;
-+our $Master = "/usr/share/texmf-dist";
- our $loadmediasrcerror;
- our $packagelogfile;
- our $packagelogged;
-@@ -39,38 +39,9 @@ END {
- }
+--- a/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-03-09 08:31:49.000000000 +1100
++++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-12-18 22:20:18.634173357 +1100
+@@ -13,7 +13,7 @@
+ my $tlmgrrevision;
+ my $tlmgrversion;
+ my $prg;
+-my $bindir;
++my $bindir = '/usr/bin';
+ if ($svnrev =~ m/: ([0-9]+) /) {
+   $tlmgrrevision = $1;
+ } else {
+@@ -44,43 +44,12 @@
  
  BEGIN {
--  $^W = 1;
-   # make subprograms (including kpsewhich) have the right path:
+   $^W = 1;
+-  # make subprograms (including kpsewhich) have the right path:
 -  my $kpsewhichname;
 -  if ($^O =~ /^MSWin/i) {
 -    # on w32 $0 and __FILE__ point directly to tlmgr.pl; they can be relative
@@ -33,7 +21,7 @@ Modified by fosslinux.
 -    $Master =~ s!\\!/!g;
 -    $Master =~ s![^/]*$!../../..!
 -      unless ($Master =~ s!/texmf-dist/scripts/texlive/tlmgr\.pl$!!i);
--    $bindir = "$Master/bin/win32";
+-    $bindir = "$Master/bin/windows";
 -    $kpsewhichname = "kpsewhich.exe";
 -    # path already set by wrapper batchfile
 -  } else {
@@ -47,7 +35,7 @@ Modified by fosslinux.
 -  }
 -  if (-r "$bindir/$kpsewhichname") {
 -    # if not in bootstrapping mode => kpsewhich exists, so use it to get $Master
--    chomp($Master = `kpsewhich -var-value=SELFAUTOPARENT`);
+-    chomp($Master = `kpsewhich -var-value=TEXMFROOT`);
 -  }
 -
 -  # if we have no directory in which to find our modules,
@@ -56,43 +44,49 @@ Modified by fosslinux.
 -    die ("Could not determine directory of tlmgr executable, "
 -         . "maybe shared library woes?\nCheck for error messages above");
 -  }
-+  $bindir = $Master;
-+  $ENV{"PATH"} = "$bindir:$ENV{PATH}";
- 
+-
++  $Master = "/usr/share/texmf-dist";
    $::installerdir = $Master;  # for config.guess et al., see TLUtils.pm
  
-@@ -615,6 +586,13 @@ for the full story.\n";
+   # make Perl find our packages first:
+   unshift (@INC, "$Master/tlpkg");
+-  unshift (@INC, "$Master/texmf-dist/scripts/texlive");
++  unshift (@INC, "$Master/scripts/texlive");
+ }
+ 
+ use Cwd qw/abs_path/;
+@@ -622,6 +591,13 @@
      tldie("$prg: Try --help if you need it.\n");
    }
  
-+  # automatically switch to user mode on Void, and warn
++  # automatically switch to user mode, and warn
 +  if (!$opts{"usermode"} && $action ne "init-usertree") {
 +    $opts{"usermode"} = 1;
-+    print "WARNING: switching to user mode!\n";
-+    print "WARNING: normal mode unsupported on Void Linux.\n";
++    print "(running on Void Linux, switching to user mode!)\n";
++    print "(see https://docs.voidlinux.org/config/texlive.html)\n");
 +  }
 +
    #
    # the main tree we will be working on
    $::maintree = $Master;
-@@ -6118,7 +6096,9 @@ sub action_postaction {
+@@ -6260,7 +6236,9 @@
  # sets up the user tree for tlmgr in user mode
  sub action_init_usertree {
    # init_local_db but do not die if localtlpdb is not found!
 -  init_local_db(2);
-+  # we don't ship tlpdb in the system, so don't even
++  # we don't ship tlpdb for system files, so don't even
 +  # try to initialize it.
 +  # init_local_db(2);
    my $tlpdb = TeXLive::TLPDB->new;
    my $usertree;
    if ($opts{"usertree"}) {
-@@ -6758,7 +6738,11 @@ sub init_local_db {
+@@ -6900,7 +6878,11 @@
      if ($should_i_die == 2) {
        return undef;
      } else {
 -      die("cannot setup TLPDB in $::maintree");
 +      if ($opts{'usermode'}) {
-+        die("$prg: user mode not initialized, please run `tlmgr init-usertree`\n");
++        die("$prg: user mode not initialized, please read https://docs.voidlinux.org/config/texlive.html!\n");
 +      } else {
 +        die("cannot setup TLPDB in $::maintree");
 +      }
diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index 247c762d3755b..3d2c93ecb9086 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive'
 pkgname=texlive
-version=20210325
-revision=7
+version=20230313
+revision=1
 build_wrksrc="build"
 build_style=gnu-configure
 configure_script="../configure"
@@ -64,7 +64,7 @@ configure_args="
  --with-system-zlib
  --with-system-zziplib
  --with-xdvi-x-toolkit=Xaw"
-hostmakedepends="pkg-config perl lua52-BitOp texinfo"
+hostmakedepends="pkg-config perl lua52-BitOp texinfo libXaw-devel"
 makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel
  harfbuzz-devel icu-devel libpaper-devel libpng-devel mpfr-devel
  pixman-devel libteckit-devel zlib-devel zziplib-devel libXaw-devel"
@@ -73,8 +73,8 @@ short_desc="TeX Live"
 maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
-distfiles="ftp://tug.org/texlive/historic/2021/texlive-${version}-source.tar.xz"
-checksum=7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
+distfiles="ftp://tug.org/texlive/historic/2023/texlive-${version}-source.tar.xz"
+checksum=3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
 python_version=3
 # Virtual package cares only about year part of version
 provides="tex-${version%${version#????}}_1"
@@ -207,6 +207,15 @@ EOF
 #!/bin/sh
 printf "already complete\\n"
 EOF
+
+	# himktables needs to be built on host
+	if [ -n "${CROSS_BUILD}" ]; then
+		cd "${wrksrc}/build/texk/web2c"
+		ctangle ../../../texk/web2c/hitexdir/hiformat.w
+		gcc -o himktables himktables.c
+		./himktables > hitables.c
+		patch -d "${wrksrc}" -Np1 -i ${FILESDIR}/remove-himktables.patch
+	fi
 }
 
 post_install() {
@@ -251,7 +260,9 @@ texlive-XeTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - engine supporting modern typography"
 	pkg_install() {
+		vmove usr/share/texmf-dist/scripts/texlive-extra/xe*.sh
 		vmove usr/bin/xetex
+		vmove usr/share/man/man1/xe*.1
 		ln -s xetex "${PKGDESTDIR}/usr/bin/xelatex"
 	}
 }
@@ -279,14 +290,14 @@ texlive-LuaTeX_package() {
 				vmove "usr/bin/${i}"
 			done
 		fi
-		for i in checkcites cllualatex cluttex diadia getmapdl l3build luahbtex \
-				 luaotfload-tool luatools luatex lwarpmk m-tx \
+		for i in checkcites cllualatex cluttex diadia digestif getmapdl l3build luafindfont luahbtex \
+				 luaotfload-tool luatex lwarpmk m-tx \
 				 makeglossaries-lite mflua mflua-nowin musixflx musixtex pmxchords \
 				 ptex2pdf texlua texluac xindex ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in checkcites cluttex diadia getmap glossaries/makeglossaries-lite.lua \
-				 l3build luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
+		for i in checkcites cluttex diadia digestif getmap glossaries/makeglossaries-lite.lua \
+				 l3build luafindfont luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		for i in luatex texlua texluac ; do
@@ -356,7 +367,7 @@ texlive-BibTeX_package() {
 		for i in bbl2bib ctanbib ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in bib2gls bibexport ; do
+		for i in bib2gls bibcop bibexport ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		vmove usr/bin/bib*
@@ -364,24 +375,6 @@ texlive-BibTeX_package() {
 	}
 }
 
-texlive-ConTeXt_package() {
-	depends="${sourcepkg}>=${version}_${revision} perl ghostscript"
-	short_desc+=" - alternative general-purpose document processor"
-	pkg_install() {
-		for i in context contextjit mptopdf mtxrun mtxrunjit texexec \
-				 texmfstart dosepsbin epspdf epspdftk purifyeps repstopdf \
-				 ps2eps tl-epsffit ; do
-			vmove "usr/bin/${i}"
-		done
-		for i in context dosepsbin epspdf epstopdf ps2eps purifyeps ; do
-			vmove "usr/share/texmf-dist/scripts/${i}"
-		done
-		for i in tl-epsffit ps2eps ; do
-			vmove "usr/share/man/man1/${i}.1"
-		done
-	}
-}
-
 texlive-PythonTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision} python3"
 	short_desc+=" - executing Python in LaTeX"

From 2d8d56e9cf197af1a137303f8cb8e37c6774d8c0 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 02/25] texlive-bibtexextra: update to 2023.66579.

---
 common/environment/build-style/texmf/ownership.txt | 2 ++
 srcpkgs/texlive-bibtexextra/template               | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 0e37ec7fda763..d3771c0b62b12 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -26,6 +26,7 @@ scripts/attachfile2/pdfatfi.pl texlive
 scripts/authorindex/authorindex texlive
 scripts/bib2gls/bib2gls.sh texlive
 scripts/bib2gls/convertgls2bib.sh texlive
+scripts/bibcop/bibcop.pl texlive
 scripts/bibexport/bibexport.sh texlive
 scripts/bundledoc/arlatex texlive
 scripts/bundledoc/bundledoc texlive
@@ -33,6 +34,7 @@ scripts/cachepic/cachepic.tlu texlive-pictures
 scripts/checkcites/checkcites.lua texlive
 scripts/checklistings/checklistings.sh texlive
 scripts/chklref/chklref.pl texlive
+scripts/citation-style-language/citeproc-lua.lua texlive
 scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
diff --git a/srcpkgs/texlive-bibtexextra/template b/srcpkgs/texlive-bibtexextra/template
index 0d7b571598929..ff62911eeb993 100644
--- a/srcpkgs/texlive-bibtexextra/template
+++ b/srcpkgs/texlive-bibtexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-bibtexextra'
 pkgname=texlive-bibtexextra
-version=2021.58697
+version=2023.66579
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=d65aa2a12df851e9ddca879f6502a15a52ece9d33c803d4c0d0227fcc785a1c9
+checksum=b2b0b90abb0c0a9eef5366cf0968f7e58ee84c1be688c36d751dd0577c872a3c

From 550f667a6340db94aa765c4b208174a2cb6cd954 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 03/25] texlive-fontsextra: update to 2023.66328.

---
 srcpkgs/texlive-fontsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-fontsextra/template b/srcpkgs/texlive-fontsextra/template
index 3de281b7428bd..75095b60cceb2 100644
--- a/srcpkgs/texlive-fontsextra/template
+++ b/srcpkgs/texlive-fontsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-fontsextra'
 pkgname=texlive-fontsextra
-version=2021.58704
+version=2023.66328
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=4e1647ea20536d336120c2885af3f7677d9e483ce7f397c1c4404e31fc5fc0aa
+checksum=c5e32f213ec81a5e85f36437d401331b49a1338dacdc2fe8bb27f9f0fbaf2e36

From 8f10b78c4d4a2fb01def6e23098edb187878b0af Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 04/25] texlive-formatsextra: update to 2023.66186.

---
 srcpkgs/texlive-formatsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-formatsextra/template b/srcpkgs/texlive-formatsextra/template
index d3042a9b2038f..a26144b087b5e 100644
--- a/srcpkgs/texlive-formatsextra/template
+++ b/srcpkgs/texlive-formatsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-formatsextra'
 pkgname=texlive-formatsextra
-version=2021.57972
+version=2023.66186
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=641660f85062d70d715b11e8bd404558d1618a02ce95e1d54792f01e3aa8b80a
+checksum=ffacdfacd9381cf3f21247d15cbd7b4e931855d9258edfe51fd23165cff30ca6

From a3ceac6837309a3480a34c4081266d2694d26fc8 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 05/25] texlive-core: update to 2023.66587.

---
 common/environment/build-style/texmf/ownership.txt | 10 ++++++++++
 srcpkgs/texlive-core/template                      |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index d3771c0b62b12..a8b071c2690c9 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -52,6 +52,7 @@ scripts/ctan-o-mat/ctan-o-mat.pl texlive
 scripts/ctanupload/ctanupload.pl texlive
 scripts/de-macro/de-macro texlive
 scripts/diadia/diadia.lua texlive-humanities
+scripts/digestif/digestif.texlua texlive
 scripts/dosepsbin/dosepsbin.pl texlive
 scripts/dtxgen/dtxgen texlive
 scripts/dviasm/dviasm.py texlive
@@ -97,6 +98,7 @@ scripts/listbib/listbib texlive
 scripts/listings-ext/listings-ext.sh texlive
 scripts/ltxfileinfo/ltxfileinfo texlive
 scripts/ltximg/ltximg.pl texlive
+scripts/luafindfont/luafindfont.lua texlive
 scripts/luaotfload/luaotfload-tool.lua texlive
 scripts/lwarp/lwarpmk.lua texlive
 scripts/make4ht/make4ht texlive
@@ -111,6 +113,9 @@ scripts/m-tx/m-tx.lua texlive-music
 scripts/multibibliography/multibibliography.pl texlive
 scripts/musixtex/musixflx.lua texlive-music
 scripts/musixtex/musixtex.lua texlive-music
+scripts/optexcount/optexcount texlive
+scripts/pagelayout/pagelayoutapi texlive
+scripts/pagelayout/textestvis texlive
 scripts/pax/pdfannotextractor.pl texlive
 scripts/pdfbook2/pdfbook2 texlive
 scripts/pdfcrop/pdfcrop.pl texlive
@@ -150,6 +155,7 @@ scripts/srcredact/srcredact.pl texlive
 scripts/sty2dtx/sty2dtx.pl texlive
 scripts/svn-multi/svn-multi.pl texlive
 scripts/tex4ebook/tex4ebook texlive
+scripts/texaccents/texaccents.sno texlive
 scripts/texcount/texcount.pl texlive
 scripts/texdef/texdef.pl texlive
 scripts/texdiff/texdiff texlive
@@ -173,6 +179,8 @@ scripts/texlive-extra/texconfig-dialog.sh texlive
 scripts/texlive-extra/texconfig.sh texlive
 scripts/texlive-extra/texconfig-sys.sh texlive
 scripts/texlive-extra/texlinks.sh texlive
+scripts/texlive-extra/xelatex-unsafe.sh texlive
+scripts/texlive-extra/xetex-unsafe.sh texlive
 scripts/texlive/fmtutil.pl texlive
 scripts/texlive/fmtutil-sys.sh texlive
 scripts/texlive/fmtutil-user.sh texlive
@@ -187,6 +195,8 @@ scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
 scripts/texlive/updmap-user.sh texlive
 scripts/texloganalyser/texloganalyser texlive
+scripts/texlogfilter/texlogfilter texlive
+scripts/texlogsieve/texlogsieve texlive
 scripts/texosquery/texosquery-jre5.sh texlive
 scripts/texosquery/texosquery-jre8.sh texlive
 scripts/texosquery/texosquery.sh texlive
diff --git a/srcpkgs/texlive-core/template b/srcpkgs/texlive-core/template
index 2289356f9142e..f8a93e76beb9d 100644
--- a/srcpkgs/texlive-core/template
+++ b/srcpkgs/texlive-core/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-core'
 pkgname=texlive-core
-version=2021.58710
+version=2023.66587
 revision=1
 build_style="texmf"
 short_desc="TeX Live - core texmf distribution"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=ef11a19ca15f3e937733ed9e17cc024afaf525afdf3d649c9ae4261f1bfb4415
+checksum=2cdaf356d89351e61152243f1192a5e000a9586c67b873737f01878a3e5724ff

From 7d479962c46f6d8a3cba954152cf564ac5ae12a4 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 06/25] texlive-games: update to 2023.66190.

---
 srcpkgs/texlive-games/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-games/template b/srcpkgs/texlive-games/template
index ecaffb00fd8d2..f73f47547f870 100644
--- a/srcpkgs/texlive-games/template
+++ b/srcpkgs/texlive-games/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-games'
 pkgname=texlive-games
-version=2021.56833
+version=2023.66190
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9d808f5ecbc8a00d3b2fabef627e4ae0ac026c9eb54d6b02f2efeed486aea54b
+checksum=d5c87bdc6445260c947e1585f117efd6ef3c400af03af422939478c4237aee44

From 4252c55e4d29e2d3e8a4e50a7429acafb29f85c3 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 07/25] texlive-humanities: update to 2023.65502.

---
 srcpkgs/texlive-humanities/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-humanities/template b/srcpkgs/texlive-humanities/template
index 67a66171b548a..eb2f7ae79a744 100644
--- a/srcpkgs/texlive-humanities/template
+++ b/srcpkgs/texlive-humanities/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-humanities'
 pkgname=texlive-humanities
-version=2021.58589
+version=2023.65502
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=a2688733e66ba324154ee9715327f4cdb26e7c19283a38d03f086e1b3f123e9f
+checksum=c0b0e4be08cc4fb46206e6769b48f9418ec73a11c556efb8249931d6222d94ef

From 800771cb1da1b735e386c019d12627980bd9ac05 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 08/25] texlive-langchinese: update to 2023.66188.

---
 srcpkgs/texlive-langchinese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langchinese/template b/srcpkgs/texlive-langchinese/template
index 387b14ef7cbe9..fdcd78cd5c2d1 100644
--- a/srcpkgs/texlive-langchinese/template
+++ b/srcpkgs/texlive-langchinese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langchinese'
 pkgname=texlive-langchinese
-version=2021.58583
+version=2023.66188
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=61c476961b3e4d2cc8e95fe68b8ade9a4e692abe644190c1b34adfb58c2f8f8b
+checksum=a08c5c2d7a2eaece4d8f68eedeec64eb44b70255c84087df66679f6a59f649a0

From 2c15e17084bf5b808e7cb295eb267bdf821c3a22 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 09/25] texlive-langcyrillic: update to 2023.64588.

---
 srcpkgs/texlive-langcyrillic/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langcyrillic/template b/srcpkgs/texlive-langcyrillic/template
index 67c0592949fbe..85aa1defe41c6 100644
--- a/srcpkgs/texlive-langcyrillic/template
+++ b/srcpkgs/texlive-langcyrillic/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langcyrillic'
 pkgname=texlive-langcyrillic
-version=2021.58426
+version=2023.64588
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9dbab28a29c74164f336f38d735277b46ae837492a6fe417b96345620979db7f
+checksum=b22a0759b1e28fb0f9c2e155d9cecec23649d08e33f42adf52bc1efb04630336

From abb02c2d84ff19634c0af59153a20a58871ad511 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 10/25] texlive-langextra: update to 2023.66225.

---
 srcpkgs/texlive-langextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langextra/template b/srcpkgs/texlive-langextra/template
index d527ba24cc9ce..09b0d9bf22716 100644
--- a/srcpkgs/texlive-langextra/template
+++ b/srcpkgs/texlive-langextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langextra'
 pkgname=texlive-langextra
-version=2021.58019
+version=2023.66225
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3b4b6b09a67a33f2a327021ba39e32e746b9be602037c1f50f7e4ab64605bd47
+checksum=635a2a266c01b16660421bfd5dbf5e6f11ce40d0dd63c17e0a07a637f645c1ff

From ee6d59c593448ec001875fe1aa17767c49a27a40 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 11/25] texlive-langgreek: update to 2023.66513.

---
 srcpkgs/texlive-langgreek/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langgreek/template b/srcpkgs/texlive-langgreek/template
index 2cf3904193e8b..5df3a177468ea 100644
--- a/srcpkgs/texlive-langgreek/template
+++ b/srcpkgs/texlive-langgreek/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langgreek'
 pkgname=texlive-langgreek
-version=2021.57684
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=dc51d6c3b1ccf8ef95504f4d610759e465eb2703764d0a5bb6cc82790c831141
+checksum=fdf44664219be6288278466c927c8f0c8eec42c0a733555c2c56c34f890813a0

From f90f59c9c0ac28e4f3a310cbf3f1ff33ec76c56f Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 12/25] texlive-langjapanese: update to 2023.66482.

---
 srcpkgs/texlive-langjapanese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langjapanese/template b/srcpkgs/texlive-langjapanese/template
index a58a1b4bd7afb..d21163ed900b9 100644
--- a/srcpkgs/texlive-langjapanese/template
+++ b/srcpkgs/texlive-langjapanese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langjapanese'
 pkgname=texlive-langjapanese
-version=2021.58632
+version=2023.66482
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=60f3306ab01d1e57720190c8f59d77e50784646a4050720ed0233deccf65871e
+checksum=f9c23022dfdecb662a2097cc6d495ad07b55e74adb9751e0f96d363b27eddc90

From b23275599204c766c6c589694ff12dd9184f895c Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 13/25] texlive-langkorean: update to 2023.66513.

---
 srcpkgs/texlive-langkorean/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langkorean/template b/srcpkgs/texlive-langkorean/template
index 5d8a6b46a5a0c..017f2443a6488 100644
--- a/srcpkgs/texlive-langkorean/template
+++ b/srcpkgs/texlive-langkorean/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langkorean'
 pkgname=texlive-langkorean
-version=2021.58468
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=65da5065850e516840ade0522dca2fe0ecbbcabe38c68744372513943c6c61fc
+checksum=9837b0b47bf33d383247c1243f0e203753d0d20038cba5b5c071028af7b9af4d

From d2db87314d7aa6f5f2359e2b61b73b725e2d6b0a Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 14/25] texlive-latexextra: update to 2023.66551.

---
 srcpkgs/texlive-latexextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-latexextra/template b/srcpkgs/texlive-latexextra/template
index f0b40027323f4..9f6a24d04b3d3 100644
--- a/srcpkgs/texlive-latexextra/template
+++ b/srcpkgs/texlive-latexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-latexextra'
 pkgname=texlive-latexextra
-version=2021.58668
+version=2023.66551
 revision=1
 build_style="texmf"
 depends="perl-File-Which python3-Pygments texlive-core texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9c2ef3ce71ad656df7644770a2c4aec27c4ea9375421d0ab3b56cb5b25a06287
+checksum=6254daf3152e9f2a7fcf1084873ee9cab150a7f04b0696c327e31da49eae6a95

From 43ff8f8a2b09234cd5b910917f07c8b81155f9d0 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 15/25] texlive-music: update to 2023.66278.

---
 srcpkgs/texlive-music/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-music/template b/srcpkgs/texlive-music/template
index 2c71e1e607e78..e278a0b851b46 100644
--- a/srcpkgs/texlive-music/template
+++ b/srcpkgs/texlive-music/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-music'
 pkgname=texlive-music
-version=2021.58331
+version=2023.66278
 revision=1
 build_style="texmf"
 depends="fontforge python3 texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=6018606d59925c94a22aeaafbc1fc8e3fbfa78ce2c2f39a4494249e5a27cd984
+checksum=83df527875cd6bb77941868f35cdc0b7b7300f25c1644fe702ded855e7f492f9

From 37c8bf38e2eb90e72ce48842a84e53eff024f8c9 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 16/25] texlive-pictures: update to 2023.66549.

---
 srcpkgs/texlive-pictures/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pictures/template b/srcpkgs/texlive-pictures/template
index 9dc20b90f8aaf..9674677a47a0b 100644
--- a/srcpkgs/texlive-pictures/template
+++ b/srcpkgs/texlive-pictures/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pictures'
 pkgname=texlive-pictures
-version=2021.58558
+version=2023.66549
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3c4451eb8d81edadfb165233477835ec7dc8b6ba2ba636cc98204623e3f284d6
+checksum=63ff117823e8e9d23e456fc753343ca1a83224de4ad0481acf5be81e2888de0e

From 0556d0c349dcb9eeb90f89f03205679cc3291a17 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 17/25] texlive-pstricks: update to 2023.66115.

---
 srcpkgs/texlive-pstricks/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pstricks/template b/srcpkgs/texlive-pstricks/template
index 4988e816311b4..e2f1c0f8edbb1 100644
--- a/srcpkgs/texlive-pstricks/template
+++ b/srcpkgs/texlive-pstricks/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pstricks'
 pkgname=texlive-pstricks
-version=2021.58293
+version=2023.66115
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=f35f6fa8b9686cfdf9a7a2bd43add9d193c1d28f67dd87acfe69765672930b7d
+checksum=3b0359f4e7f2efee4b96990813fe6b087f8178923e80fcb8c3d3eeaf5c8a7baf

From 591a51b23564a48bc493e042db44004721a1811b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 18/25] texlive-publishers: update to 2023.66550.

---
 srcpkgs/texlive-publishers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-publishers/template b/srcpkgs/texlive-publishers/template
index 066d07250f356..2a9677a20075e 100644
--- a/srcpkgs/texlive-publishers/template
+++ b/srcpkgs/texlive-publishers/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-publishers'
 pkgname=texlive-publishers
-version=2021.58683
+version=2023.66550
 revision=1
 build_style="texmf"
 short_desc="TeX Live - Classes and packages for certain publishers"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=7ee1bdb92641601c285f972f1978b19adbcbb90f430ae38356bd2e5165506304
+checksum=52f9d38288dcaabfd67f0cb07fb8a48f2c709ff80e5085b298a2cedc9af88588

From ec9e53a0b4f7f73cadcad099c7ee80ffb1668c95 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 19/25] texlive-science: update to 2023.66461.

---
 srcpkgs/texlive-science/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-science/template b/srcpkgs/texlive-science/template
index 2020b6cf99ce9..951d4cba6adc7 100644
--- a/srcpkgs/texlive-science/template
+++ b/srcpkgs/texlive-science/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-science'
 pkgname=texlive-science
-version=2022.62977
+version=2023.66461
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3e420b34fbc22c54cbbaeed1c377bbb80360cb162f1464547321114a08f214a3
+checksum=9c5e36cdc932007bb151bd61bacdc216d1d1d682758555a4d6e0e85c51005098

From 04d7efd6fa7c7ef100e629f2c9c25233edb9c973 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 20/25] texlive-full: update to 2023.0.

---
 srcpkgs/texlive-full/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-full/template b/srcpkgs/texlive-full/template
index b5b28221516fe..19219853389ac 100644
--- a/srcpkgs/texlive-full/template
+++ b/srcpkgs/texlive-full/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-full'
 pkgname=texlive-full
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

From a59eae305507c5e1249b17cce0c2f8fcef5275cd Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 21/25] texlive-most: update to 2023.0.

---
 srcpkgs/texlive-most/template | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/texlive-most/template b/srcpkgs/texlive-most/template
index a1a644f9e3b89..c67a32f3f6114 100644
--- a/srcpkgs/texlive-most/template
+++ b/srcpkgs/texlive-most/template
@@ -1,17 +1,16 @@
 # Template file for 'texlive-most'
 pkgname=texlive-most
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-ConTeXt>=20210325
- texlive-LuaTeX>=20210325
- texlive-PythonTeX>=20210325
- texlive-Xdvi>=20210325
- texlive-XeTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-PythonTeX>=20230313
+ texlive-Xdvi>=20230313
+ texlive-XeTeX>=20230313
+ texlive-dvi>=20230313
  texlive-core>=${_year}
  texlive-bibtexextra>=${_year}
  texlive-fontsextra>=${_year}

From 71f9bf66b2fb825e9ac6c113e28619e81b87567d Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 22/25] texlive-basic: update to 2023.0.

---
 srcpkgs/texlive-basic/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/texlive-basic/template b/srcpkgs/texlive-basic/template
index f00aacdb39a5a..6ad5a1b1eba02 100644
--- a/srcpkgs/texlive-basic/template
+++ b/srcpkgs/texlive-basic/template
@@ -1,13 +1,13 @@
 # Template file for 'texlive-basic'
 pkgname=texlive-basic
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-LuaTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-dvi>=20210313
  texlive-core>=${_year}
  texlive-latexextra>=${_year}
  texlive-pictures>=${_year}"

From afc0427407e2c8acb4648cf38b747d092fc7a736 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 23/25] texlive-minimal: update to 2023.0.

---
 srcpkgs/texlive-minimal/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/texlive-minimal/template b/srcpkgs/texlive-minimal/template
index af721f2215504..daad0e5c49d8f 100644
--- a/srcpkgs/texlive-minimal/template
+++ b/srcpkgs/texlive-minimal/template
@@ -1,10 +1,10 @@
 # Template file for 'texlive-minimal'
 pkgname=texlive-minimal
-version=2021.0
-revision=2
+version=2023.0
+revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
+depends="texlive>=20230313
  texlive-core>=${_year}"
 short_desc="TeX Live - Metapackage including minimal packages"
 maintainer="fosslinux <fosslinux@aussies.space>"

From ea2ccffaeea3744214894d89945451e95e359856 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 24/25] texlive-lang: update to 2023.0.

---
 srcpkgs/texlive-lang/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-lang/template b/srcpkgs/texlive-lang/template
index 3d7989843dd6b..3bdaac292e372 100644
--- a/srcpkgs/texlive-lang/template
+++ b/srcpkgs/texlive-lang/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-lang'
 pkgname=texlive-lang
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

From dbbfb57d53c5b3bd2fae65e1742cf89c0243966e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Fri, 29 Dec 2023 16:00:12 +1100
Subject: [PATCH 25/25] removed-packages: add texlive-ConTeXt

---
 srcpkgs/removed-packages/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index fd9d350d4ad4f..57384d629b260 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,6 +1,6 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
-version=0.1.20231114
+version=0.1.20231229
 revision=1
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
@@ -672,6 +672,7 @@ replaces="
  taizen<=0.0.0.20180808_4
  tekaim<=1.6.0_5
  terminal_markdown_viewer<=1.6.3_4
+ texlive-ConTeXt<=20210325_7
  tilp2<=1.18_2
  tlsdate<=0.0.13_16
  transcode<=1.1.7_4

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WIP: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (2 preceding siblings ...)
  2023-12-29  5:00 ` fosslinux
@ 2024-01-06 18:23 ` tornaria
  2024-01-06 22:26 ` tornaria
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tornaria @ 2024-01-06 18:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/47130#issuecomment-1879775044

Comment:
Small suggestion:
```
--- a/common/build-style/texmf.sh
+++ b/common/build-style/texmf.sh
@@ -3,14 +3,11 @@ do_build() {
        # Extract the source files
        mkdir -p "build/usr/share/texmf-dist"
        find . -maxdepth 1 -print -name "*.tar.xz" \
-               -exec bsdtar -C "build/usr/share/texmf-dist" -xf {} \;
+               -exec bsdtar \
+                       -s '|^texmf-dist/||' \
+                       -C "build/usr/share/texmf-dist" \
+                       -xf {} \;
        cd "build/usr/share/texmf-dist/"
-       # Everything in usr/share/texmf-dist/texmf-dist should really be in
-       # usr/share/texmf-dist, so we move it
-       if [ -d "texmf-dist" ] ; then
-               rsync -ar texmf-dist/ ./
-               rm -rf texmf-dist/
-       fi
        # LICENSEs are unneeded
        rm -f LICENSE*
 
```

If you do this, maybe get rid of the rsync makedepends ?


Do you think there's a chance we can try to fix `texdoc` ? (#30340)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WIP: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (3 preceding siblings ...)
  2024-01-06 18:23 ` tornaria
@ 2024-01-06 22:26 ` tornaria
  2024-01-06 22:26 ` tornaria
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tornaria @ 2024-01-06 22:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/47130#issuecomment-1879848948

Comment:
Also note this:
```diff
--- a/srcpkgs/texlive/patches/tlmgr.patch
+++ b/srcpkgs/texlive/patches/tlmgr.patch
@@ -63,7 +63,7 @@
 +  if (!$opts{"usermode"} && $action ne "init-usertree") {
 +    $opts{"usermode"} = 1;
 +    print "(running on Void Linux, switching to user mode!)\n";
-+    print "(see https://docs.voidlinux.org/config/texlive.html)\n");
++    print "(see https://docs.voidlinux.org/config/texlive.html)\n";
 +  }
 +
    #
```

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WIP: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (4 preceding siblings ...)
  2024-01-06 22:26 ` tornaria
@ 2024-01-06 22:26 ` tornaria
  2024-01-12  6:08 ` fosslinux
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tornaria @ 2024-01-06 22:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/47130#issuecomment-1879775044

Comment:
Small suggestion:
```diff
--- a/common/build-style/texmf.sh
+++ b/common/build-style/texmf.sh
@@ -3,14 +3,11 @@ do_build() {
        # Extract the source files
        mkdir -p "build/usr/share/texmf-dist"
        find . -maxdepth 1 -print -name "*.tar.xz" \
-               -exec bsdtar -C "build/usr/share/texmf-dist" -xf {} \;
+               -exec bsdtar \
+                       -s '|^texmf-dist/||' \
+                       -C "build/usr/share/texmf-dist" \
+                       -xf {} \;
        cd "build/usr/share/texmf-dist/"
-       # Everything in usr/share/texmf-dist/texmf-dist should really be in
-       # usr/share/texmf-dist, so we move it
-       if [ -d "texmf-dist" ] ; then
-               rsync -ar texmf-dist/ ./
-               rm -rf texmf-dist/
-       fi
        # LICENSEs are unneeded
        rm -f LICENSE*
 
```

If you do this, maybe get rid of the rsync makedepends ?


Do you think there's a chance we can try to fix `texdoc` ? (#30340)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WIP: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (5 preceding siblings ...)
  2024-01-06 22:26 ` tornaria
@ 2024-01-12  6:08 ` fosslinux
  2024-01-12  6:10 ` [PR PATCH] [Updated] " fosslinux
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2024-01-12  6:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/47130#issuecomment-1888490186

Comment:
Thanks; applied those two.

Re: texdoc, I'm not certain of the best way to attack that at this point. We can't include the docs in the main package - they're HUGE. They don't seem to be included in any tarball. This is something I'd prefer to address in a follow up PR.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] WIP: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (6 preceding siblings ...)
  2024-01-12  6:08 ` fosslinux
@ 2024-01-12  6:10 ` fosslinux
  2024-01-12 14:23 ` tornaria
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2024-01-12  6:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1745 bytes --]

There is an updated pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages texlive-2023
https://github.com/void-linux/void-packages/pull/47130

WIP: Texlive 2023
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **yes**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl


A few consideration's I'm 100% sure about.

1. I'm not certain about our current ownerships - a lot of things from `texmf-dist` come from the texlive package, whereas most other distributions appear to have the primary texlive package as compiled binaries-only and then place all the `texmf-dist` binaries symlinked to scripts in their texlive-core package (obviously different names but same idea). Should we be doing this?
2. What do I do about the ppc64 patches, should they be dropped or left?

A patch file from https://github.com/void-linux/void-packages/pull/47130.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-2023-47130.patch --]
[-- Type: text/x-diff, Size: 41681 bytes --]

From 9043273a4f0d5dadba6c59de611d282aa38f9c36 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:40:37 +1100
Subject: [PATCH 01/24] texlive: update to 20230313.

---
 common/build-style/texmf.sh                   | 11 ++-
 common/environment/build-style/texmf.sh       |  2 -
 .../build-style/texmf/ownership.txt           |  9 +--
 srcpkgs/texlive/files/remove-himktables.patch | 13 ++++
 .../texlive/patches/luajit-arch-fixes.patch   | 27 +++----
 srcpkgs/texlive/patches/tlmgr.patch           | 72 +++++++++----------
 srcpkgs/texlive/template                      | 49 +++++++------
 7 files changed, 89 insertions(+), 94 deletions(-)
 create mode 100644 srcpkgs/texlive/files/remove-himktables.patch

diff --git a/common/build-style/texmf.sh b/common/build-style/texmf.sh
index dbed1fd64bfd6..76f8a871e85bf 100644
--- a/common/build-style/texmf.sh
+++ b/common/build-style/texmf.sh
@@ -3,14 +3,11 @@ do_build() {
 	# Extract the source files
 	mkdir -p "build/usr/share/texmf-dist"
 	find . -maxdepth 1 -print -name "*.tar.xz" \
-		-exec bsdtar -C "build/usr/share/texmf-dist" -xf {} \;
+		-exec bsdtar \
+		-s '|^texmf-dist/||' \
+		-C "build/usr/share/texmf-dist" \
+		-xf {} \;
 	cd "build/usr/share/texmf-dist/"
-	# Everything in usr/share/texmf-dist/texmf-dist should really be in
-	# usr/share/texmf-dist, so we move it
-	if [ -d "texmf-dist" ] ; then
-		rsync -ar texmf-dist/ ./
-		rm -rf texmf-dist/
-	fi
 	# LICENSEs are unneeded
 	rm -f LICENSE*
 
diff --git a/common/environment/build-style/texmf.sh b/common/environment/build-style/texmf.sh
index b0ecf4702fe78..6567e43b6b605 100644
--- a/common/environment/build-style/texmf.sh
+++ b/common/environment/build-style/texmf.sh
@@ -1,4 +1,2 @@
-# rsync isn't needed for everything but it's far easier to just put it here
-hostmakedepends+=" rsync"
 # python_version isn't needed for everything either
 python_version=3
diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 01dcd2f0cc6fe..0e37ec7fda763 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -37,13 +37,6 @@ scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
 scripts/context/perl/mptopdf.pl texlive
-scripts/context/stubs/unix/contextjit texlive
-scripts/context/stubs/unix/context texlive
-scripts/context/stubs/unix/luatools texlive
-scripts/context/stubs/unix/mtxrunjit texlive
-scripts/context/stubs/unix/mtxrun texlive
-scripts/context/stubs/unix/texexec texlive
-scripts/context/stubs/unix/texmfstart texlive
 scripts/convbkmk/convbkmk.rb texlive-langjapanese
 scripts/crossrefware/bbl2bib.pl texlive
 scripts/crossrefware/bibdoiadd.pl texlive
@@ -185,8 +178,8 @@ scripts/texlive/mktexlsr texlive
 scripts/texlive/mktexmf texlive
 scripts/texlive/mktexpk texlive
 scripts/texlive/mktextfm texlive
+scripts/texlive/rungs.lua texlive
 scripts/texliveonfly/texliveonfly.py texlive
-scripts/texlive/rungs.tlu texlive
 scripts/texlive/tlmgr.pl texlive
 scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
diff --git a/srcpkgs/texlive/files/remove-himktables.patch b/srcpkgs/texlive/files/remove-himktables.patch
new file mode 100644
index 0000000000000..5ae3edb97223d
--- /dev/null
+++ b/srcpkgs/texlive/files/remove-himktables.patch
@@ -0,0 +1,13 @@
+--- a/texk/web2c/Makefile.in	2023-12-19 16:13:41.579311491 +1100
++++ b/texk/web2c/Makefile.in	2023-12-19 16:14:01.587311491 +1100
+@@ -22095,10 +22095,6 @@
+ hitex-tangle: ctangle$(EXEEXT) hitexdir/hitex.w tangle-sh
+ 	$(hi_ctangle_sh) hitex
+ 
+-# Generating hitables.c using himktables.
+-hitables.c: himktables$(EXEEXT)
+-	./himktables$(EXEEXT) > $@ || { rm -f hitables.c; exit 1; }
+-
+ # hitex, histretch, and hishrink all need (at least) some 
+ # of the sources generated from hiformat.w.
+ #
diff --git a/srcpkgs/texlive/patches/luajit-arch-fixes.patch b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
index daf56db0fc7ed..0012b9ed28a83 100644
--- a/srcpkgs/texlive/patches/luajit-arch-fixes.patch
+++ b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
@@ -9,24 +9,25 @@ Author: q66 <daniel@octaforge.org>
 
 --- a/libs/luajit/configure
 +++ b/libs/luajit/configure
-@@ -14243,7 +14243,7 @@ else
- fi
- if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1; then :
+@@ -15267,7 +15267,7 @@
+ if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1
+ then :
    echo '-D P64' >>dynasm_flags
--         if test "x$LJHOST" = xLinux; then :
-+         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64; then :
+-         if test "x$LJHOST" = xLinux
++         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64
+ then :
    LUAJIT_DEFINES="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
  fi
- fi
-@@ -14294,6 +14294,9 @@ fi
- fi
-                 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i >/dev/null 2>&1; then :
+@@ -15331,6 +15331,10 @@
+ then :
    echo '-D GPR64' >>dynasm_flags
-+fi
-+                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1; then :
-+  echo '-D ELFV2' >>dynasm_flags
  fi
-                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1; then :
++                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1
++then :
++  echo '-D ELFV2' >>dynasm_flags
++fi
+                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1
+ then :
    DASM_ARCH=ppc64
 --- a/libs/luajit/m4/lj-system.m4
 +++ b/libs/luajit/m4/lj-system.m4
diff --git a/srcpkgs/texlive/patches/tlmgr.patch b/srcpkgs/texlive/patches/tlmgr.patch
index b4c1c02e89430..af78c42f08c1a 100644
--- a/srcpkgs/texlive/patches/tlmgr.patch
+++ b/srcpkgs/texlive/patches/tlmgr.patch
@@ -1,31 +1,19 @@
-Modified from Debian's tlmgr patch.
-Src: https://raw.githubusercontent.com/debian-tex/texlive-nonbin/9767c8ba4ea64d671eb98ddff550498cd2ac3d51/texlive-base/debian/patches/debian-tlmgr-usermode.
-
-Modifications:
-
-* Drop Debian specific wording.
-* Drop unnessecary manpage changes.
-* Change /usr/share path to what we use.
-
-Modified by fosslinux.
-
---- a/texk/texlive/linked_scripts/texlive/tlmgr.pl
-+++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl
-@@ -20,7 +20,7 @@ $datrev =~ s/^.*Date: //;
- $datrev =~ s/ \(.*$//;
- $tlmgrversion = "$tlmgrrevision ($datrev)";
- 
--our $Master;
-+our $Master = "/usr/share/texmf-dist";
- our $loadmediasrcerror;
- our $packagelogfile;
- our $packagelogged;
-@@ -39,38 +39,9 @@ END {
- }
+--- a/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-03-09 08:31:49.000000000 +1100
++++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-12-18 22:20:18.634173357 +1100
+@@ -13,7 +13,7 @@
+ my $tlmgrrevision;
+ my $tlmgrversion;
+ my $prg;
+-my $bindir;
++my $bindir = '/usr/bin';
+ if ($svnrev =~ m/: ([0-9]+) /) {
+   $tlmgrrevision = $1;
+ } else {
+@@ -44,43 +44,12 @@
  
  BEGIN {
--  $^W = 1;
-   # make subprograms (including kpsewhich) have the right path:
+   $^W = 1;
+-  # make subprograms (including kpsewhich) have the right path:
 -  my $kpsewhichname;
 -  if ($^O =~ /^MSWin/i) {
 -    # on w32 $0 and __FILE__ point directly to tlmgr.pl; they can be relative
@@ -33,7 +21,7 @@ Modified by fosslinux.
 -    $Master =~ s!\\!/!g;
 -    $Master =~ s![^/]*$!../../..!
 -      unless ($Master =~ s!/texmf-dist/scripts/texlive/tlmgr\.pl$!!i);
--    $bindir = "$Master/bin/win32";
+-    $bindir = "$Master/bin/windows";
 -    $kpsewhichname = "kpsewhich.exe";
 -    # path already set by wrapper batchfile
 -  } else {
@@ -47,7 +35,7 @@ Modified by fosslinux.
 -  }
 -  if (-r "$bindir/$kpsewhichname") {
 -    # if not in bootstrapping mode => kpsewhich exists, so use it to get $Master
--    chomp($Master = `kpsewhich -var-value=SELFAUTOPARENT`);
+-    chomp($Master = `kpsewhich -var-value=TEXMFROOT`);
 -  }
 -
 -  # if we have no directory in which to find our modules,
@@ -56,43 +44,49 @@ Modified by fosslinux.
 -    die ("Could not determine directory of tlmgr executable, "
 -         . "maybe shared library woes?\nCheck for error messages above");
 -  }
-+  $bindir = $Master;
-+  $ENV{"PATH"} = "$bindir:$ENV{PATH}";
- 
+-
++  $Master = "/usr/share/texmf-dist";
    $::installerdir = $Master;  # for config.guess et al., see TLUtils.pm
  
-@@ -615,6 +586,13 @@ for the full story.\n";
+   # make Perl find our packages first:
+   unshift (@INC, "$Master/tlpkg");
+-  unshift (@INC, "$Master/texmf-dist/scripts/texlive");
++  unshift (@INC, "$Master/scripts/texlive");
+ }
+ 
+ use Cwd qw/abs_path/;
+@@ -622,6 +591,13 @@
      tldie("$prg: Try --help if you need it.\n");
    }
  
-+  # automatically switch to user mode on Void, and warn
++  # automatically switch to user mode, and warn
 +  if (!$opts{"usermode"} && $action ne "init-usertree") {
 +    $opts{"usermode"} = 1;
-+    print "WARNING: switching to user mode!\n";
-+    print "WARNING: normal mode unsupported on Void Linux.\n";
++    print "(running on Void Linux, switching to user mode!)\n";
++    print "(see https://docs.voidlinux.org/config/texlive.html)\n";
 +  }
 +
    #
    # the main tree we will be working on
    $::maintree = $Master;
-@@ -6118,7 +6096,9 @@ sub action_postaction {
+@@ -6260,7 +6236,9 @@
  # sets up the user tree for tlmgr in user mode
  sub action_init_usertree {
    # init_local_db but do not die if localtlpdb is not found!
 -  init_local_db(2);
-+  # we don't ship tlpdb in the system, so don't even
++  # we don't ship tlpdb for system files, so don't even
 +  # try to initialize it.
 +  # init_local_db(2);
    my $tlpdb = TeXLive::TLPDB->new;
    my $usertree;
    if ($opts{"usertree"}) {
-@@ -6758,7 +6738,11 @@ sub init_local_db {
+@@ -6900,7 +6878,11 @@
      if ($should_i_die == 2) {
        return undef;
      } else {
 -      die("cannot setup TLPDB in $::maintree");
 +      if ($opts{'usermode'}) {
-+        die("$prg: user mode not initialized, please run `tlmgr init-usertree`\n");
++        die("$prg: user mode not initialized, please read https://docs.voidlinux.org/config/texlive.html!\n");
 +      } else {
 +        die("cannot setup TLPDB in $::maintree");
 +      }
diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index 247c762d3755b..d8373e4547cb0 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive'
 pkgname=texlive
-version=20210325
-revision=7
+version=20230313
+revision=1
 build_wrksrc="build"
 build_style=gnu-configure
 configure_script="../configure"
@@ -64,7 +64,7 @@ configure_args="
  --with-system-zlib
  --with-system-zziplib
  --with-xdvi-x-toolkit=Xaw"
-hostmakedepends="pkg-config perl lua52-BitOp texinfo"
+hostmakedepends="pkg-config perl lua52-BitOp texinfo libXaw-devel"
 makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel
  harfbuzz-devel icu-devel libpaper-devel libpng-devel mpfr-devel
  pixman-devel libteckit-devel zlib-devel zziplib-devel libXaw-devel"
@@ -73,8 +73,8 @@ short_desc="TeX Live"
 maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
-distfiles="ftp://tug.org/texlive/historic/2021/texlive-${version}-source.tar.xz"
-checksum=7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
+distfiles="ftp://tug.org/texlive/historic/2023/texlive-${version}-source.tar.xz"
+checksum=3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
 python_version=3
 # Virtual package cares only about year part of version
 provides="tex-${version%${version#????}}_1"
@@ -207,6 +207,15 @@ EOF
 #!/bin/sh
 printf "already complete\\n"
 EOF
+
+	# himktables needs to be built on host
+	if [ -n "${CROSS_BUILD}" ]; then
+		cd "${wrksrc}/build/texk/web2c"
+		ctangle ../../../texk/web2c/hitexdir/hiformat.w
+		gcc -o himktables himktables.c
+		./himktables > hitables.c
+		patch -d "${wrksrc}" -Np1 -i ${FILESDIR}/remove-himktables.patch
+	fi
 }
 
 post_install() {
@@ -251,7 +260,9 @@ texlive-XeTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - engine supporting modern typography"
 	pkg_install() {
+		vmove usr/share/texmf-dist/scripts/texlive-extra/xe*.sh
 		vmove usr/bin/xetex
+		vmove usr/share/man/man1/xe*.1
 		ln -s xetex "${PKGDESTDIR}/usr/bin/xelatex"
 	}
 }
@@ -279,14 +290,14 @@ texlive-LuaTeX_package() {
 				vmove "usr/bin/${i}"
 			done
 		fi
-		for i in checkcites cllualatex cluttex diadia getmapdl l3build luahbtex \
-				 luaotfload-tool luatools luatex lwarpmk m-tx \
+		for i in checkcites cllualatex cluttex diadia digestif getmapdl l3build luafindfont luahbtex \
+				 luaotfload-tool luatex lwarpmk m-tx \
 				 makeglossaries-lite mflua mflua-nowin musixflx musixtex pmxchords \
 				 ptex2pdf texlua texluac xindex ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in checkcites cluttex diadia getmap glossaries/makeglossaries-lite.lua \
-				 l3build luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
+		for i in checkcites cluttex diadia digestif getmap glossaries/makeglossaries-lite.lua \
+				 l3build luafindfont luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		for i in luatex texlua texluac ; do
@@ -356,7 +367,7 @@ texlive-BibTeX_package() {
 		for i in bbl2bib ctanbib ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in bib2gls bibexport ; do
+		for i in bib2gls bibcop bibexport ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		vmove usr/bin/bib*
@@ -365,21 +376,9 @@ texlive-BibTeX_package() {
 }
 
 texlive-ConTeXt_package() {
-	depends="${sourcepkg}>=${version}_${revision} perl ghostscript"
-	short_desc+=" - alternative general-purpose document processor"
-	pkg_install() {
-		for i in context contextjit mptopdf mtxrun mtxrunjit texexec \
-				 texmfstart dosepsbin epspdf epspdftk purifyeps repstopdf \
-				 ps2eps tl-epsffit ; do
-			vmove "usr/bin/${i}"
-		done
-		for i in context dosepsbin epspdf epstopdf ps2eps purifyeps ; do
-			vmove "usr/share/texmf-dist/scripts/${i}"
-		done
-		for i in tl-epsffit ps2eps ; do
-			vmove "usr/share/man/man1/${i}.1"
-		done
-	}
+	build_style=meta
+	short_desc+=" (transitional package)"
+	depends="texlive>=${version}_${revision}"
 }
 
 texlive-PythonTeX_package() {

From d192079b81a5b881d14fc3d285a2ea3e66e9c21d Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 02/24] texlive-bibtexextra: update to 2023.66579.

---
 common/environment/build-style/texmf/ownership.txt | 2 ++
 srcpkgs/texlive-bibtexextra/template               | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 0e37ec7fda763..d3771c0b62b12 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -26,6 +26,7 @@ scripts/attachfile2/pdfatfi.pl texlive
 scripts/authorindex/authorindex texlive
 scripts/bib2gls/bib2gls.sh texlive
 scripts/bib2gls/convertgls2bib.sh texlive
+scripts/bibcop/bibcop.pl texlive
 scripts/bibexport/bibexport.sh texlive
 scripts/bundledoc/arlatex texlive
 scripts/bundledoc/bundledoc texlive
@@ -33,6 +34,7 @@ scripts/cachepic/cachepic.tlu texlive-pictures
 scripts/checkcites/checkcites.lua texlive
 scripts/checklistings/checklistings.sh texlive
 scripts/chklref/chklref.pl texlive
+scripts/citation-style-language/citeproc-lua.lua texlive
 scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
diff --git a/srcpkgs/texlive-bibtexextra/template b/srcpkgs/texlive-bibtexextra/template
index 0d7b571598929..ff62911eeb993 100644
--- a/srcpkgs/texlive-bibtexextra/template
+++ b/srcpkgs/texlive-bibtexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-bibtexextra'
 pkgname=texlive-bibtexextra
-version=2021.58697
+version=2023.66579
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=d65aa2a12df851e9ddca879f6502a15a52ece9d33c803d4c0d0227fcc785a1c9
+checksum=b2b0b90abb0c0a9eef5366cf0968f7e58ee84c1be688c36d751dd0577c872a3c

From 0c73891b59dd1fa678b9288e1bc968925ff6457f Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 03/24] texlive-fontsextra: update to 2023.66328.

---
 srcpkgs/texlive-fontsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-fontsextra/template b/srcpkgs/texlive-fontsextra/template
index 3de281b7428bd..75095b60cceb2 100644
--- a/srcpkgs/texlive-fontsextra/template
+++ b/srcpkgs/texlive-fontsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-fontsextra'
 pkgname=texlive-fontsextra
-version=2021.58704
+version=2023.66328
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=4e1647ea20536d336120c2885af3f7677d9e483ce7f397c1c4404e31fc5fc0aa
+checksum=c5e32f213ec81a5e85f36437d401331b49a1338dacdc2fe8bb27f9f0fbaf2e36

From 7168268aab80b8757927c6f309013ce1b0fdd59c Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 04/24] texlive-formatsextra: update to 2023.66186.

---
 srcpkgs/texlive-formatsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-formatsextra/template b/srcpkgs/texlive-formatsextra/template
index d3042a9b2038f..a26144b087b5e 100644
--- a/srcpkgs/texlive-formatsextra/template
+++ b/srcpkgs/texlive-formatsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-formatsextra'
 pkgname=texlive-formatsextra
-version=2021.57972
+version=2023.66186
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=641660f85062d70d715b11e8bd404558d1618a02ce95e1d54792f01e3aa8b80a
+checksum=ffacdfacd9381cf3f21247d15cbd7b4e931855d9258edfe51fd23165cff30ca6

From a6c935e3f66a6ef9d16d3071bc9aa00de1b8b866 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 05/24] texlive-core: update to 2023.66587.

---
 common/environment/build-style/texmf/ownership.txt | 10 ++++++++++
 srcpkgs/texlive-core/template                      |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index d3771c0b62b12..a8b071c2690c9 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -52,6 +52,7 @@ scripts/ctan-o-mat/ctan-o-mat.pl texlive
 scripts/ctanupload/ctanupload.pl texlive
 scripts/de-macro/de-macro texlive
 scripts/diadia/diadia.lua texlive-humanities
+scripts/digestif/digestif.texlua texlive
 scripts/dosepsbin/dosepsbin.pl texlive
 scripts/dtxgen/dtxgen texlive
 scripts/dviasm/dviasm.py texlive
@@ -97,6 +98,7 @@ scripts/listbib/listbib texlive
 scripts/listings-ext/listings-ext.sh texlive
 scripts/ltxfileinfo/ltxfileinfo texlive
 scripts/ltximg/ltximg.pl texlive
+scripts/luafindfont/luafindfont.lua texlive
 scripts/luaotfload/luaotfload-tool.lua texlive
 scripts/lwarp/lwarpmk.lua texlive
 scripts/make4ht/make4ht texlive
@@ -111,6 +113,9 @@ scripts/m-tx/m-tx.lua texlive-music
 scripts/multibibliography/multibibliography.pl texlive
 scripts/musixtex/musixflx.lua texlive-music
 scripts/musixtex/musixtex.lua texlive-music
+scripts/optexcount/optexcount texlive
+scripts/pagelayout/pagelayoutapi texlive
+scripts/pagelayout/textestvis texlive
 scripts/pax/pdfannotextractor.pl texlive
 scripts/pdfbook2/pdfbook2 texlive
 scripts/pdfcrop/pdfcrop.pl texlive
@@ -150,6 +155,7 @@ scripts/srcredact/srcredact.pl texlive
 scripts/sty2dtx/sty2dtx.pl texlive
 scripts/svn-multi/svn-multi.pl texlive
 scripts/tex4ebook/tex4ebook texlive
+scripts/texaccents/texaccents.sno texlive
 scripts/texcount/texcount.pl texlive
 scripts/texdef/texdef.pl texlive
 scripts/texdiff/texdiff texlive
@@ -173,6 +179,8 @@ scripts/texlive-extra/texconfig-dialog.sh texlive
 scripts/texlive-extra/texconfig.sh texlive
 scripts/texlive-extra/texconfig-sys.sh texlive
 scripts/texlive-extra/texlinks.sh texlive
+scripts/texlive-extra/xelatex-unsafe.sh texlive
+scripts/texlive-extra/xetex-unsafe.sh texlive
 scripts/texlive/fmtutil.pl texlive
 scripts/texlive/fmtutil-sys.sh texlive
 scripts/texlive/fmtutil-user.sh texlive
@@ -187,6 +195,8 @@ scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
 scripts/texlive/updmap-user.sh texlive
 scripts/texloganalyser/texloganalyser texlive
+scripts/texlogfilter/texlogfilter texlive
+scripts/texlogsieve/texlogsieve texlive
 scripts/texosquery/texosquery-jre5.sh texlive
 scripts/texosquery/texosquery-jre8.sh texlive
 scripts/texosquery/texosquery.sh texlive
diff --git a/srcpkgs/texlive-core/template b/srcpkgs/texlive-core/template
index 2289356f9142e..f8a93e76beb9d 100644
--- a/srcpkgs/texlive-core/template
+++ b/srcpkgs/texlive-core/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-core'
 pkgname=texlive-core
-version=2021.58710
+version=2023.66587
 revision=1
 build_style="texmf"
 short_desc="TeX Live - core texmf distribution"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=ef11a19ca15f3e937733ed9e17cc024afaf525afdf3d649c9ae4261f1bfb4415
+checksum=2cdaf356d89351e61152243f1192a5e000a9586c67b873737f01878a3e5724ff

From 7236c5bea928d8f4a7093439151c18927c8eee59 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 06/24] texlive-games: update to 2023.66190.

---
 srcpkgs/texlive-games/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-games/template b/srcpkgs/texlive-games/template
index ecaffb00fd8d2..f73f47547f870 100644
--- a/srcpkgs/texlive-games/template
+++ b/srcpkgs/texlive-games/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-games'
 pkgname=texlive-games
-version=2021.56833
+version=2023.66190
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9d808f5ecbc8a00d3b2fabef627e4ae0ac026c9eb54d6b02f2efeed486aea54b
+checksum=d5c87bdc6445260c947e1585f117efd6ef3c400af03af422939478c4237aee44

From 78ee9a4ceb674932961ae92f1d577406113d834b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 07/24] texlive-humanities: update to 2023.65502.

---
 srcpkgs/texlive-humanities/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-humanities/template b/srcpkgs/texlive-humanities/template
index 67a66171b548a..eb2f7ae79a744 100644
--- a/srcpkgs/texlive-humanities/template
+++ b/srcpkgs/texlive-humanities/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-humanities'
 pkgname=texlive-humanities
-version=2021.58589
+version=2023.65502
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=a2688733e66ba324154ee9715327f4cdb26e7c19283a38d03f086e1b3f123e9f
+checksum=c0b0e4be08cc4fb46206e6769b48f9418ec73a11c556efb8249931d6222d94ef

From c6788d1947a4d9417a3f90ea758de9a36d65a276 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 08/24] texlive-langchinese: update to 2023.66188.

---
 srcpkgs/texlive-langchinese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langchinese/template b/srcpkgs/texlive-langchinese/template
index 387b14ef7cbe9..fdcd78cd5c2d1 100644
--- a/srcpkgs/texlive-langchinese/template
+++ b/srcpkgs/texlive-langchinese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langchinese'
 pkgname=texlive-langchinese
-version=2021.58583
+version=2023.66188
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=61c476961b3e4d2cc8e95fe68b8ade9a4e692abe644190c1b34adfb58c2f8f8b
+checksum=a08c5c2d7a2eaece4d8f68eedeec64eb44b70255c84087df66679f6a59f649a0

From 95499bfd534b76855b2dd87cc93968d8dc06e761 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 09/24] texlive-langcyrillic: update to 2023.64588.

---
 srcpkgs/texlive-langcyrillic/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langcyrillic/template b/srcpkgs/texlive-langcyrillic/template
index 67c0592949fbe..85aa1defe41c6 100644
--- a/srcpkgs/texlive-langcyrillic/template
+++ b/srcpkgs/texlive-langcyrillic/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langcyrillic'
 pkgname=texlive-langcyrillic
-version=2021.58426
+version=2023.64588
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9dbab28a29c74164f336f38d735277b46ae837492a6fe417b96345620979db7f
+checksum=b22a0759b1e28fb0f9c2e155d9cecec23649d08e33f42adf52bc1efb04630336

From 516b79342f073426d421b0b643d3ad8206b9aacd Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 10/24] texlive-langextra: update to 2023.66225.

---
 srcpkgs/texlive-langextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langextra/template b/srcpkgs/texlive-langextra/template
index d527ba24cc9ce..09b0d9bf22716 100644
--- a/srcpkgs/texlive-langextra/template
+++ b/srcpkgs/texlive-langextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langextra'
 pkgname=texlive-langextra
-version=2021.58019
+version=2023.66225
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3b4b6b09a67a33f2a327021ba39e32e746b9be602037c1f50f7e4ab64605bd47
+checksum=635a2a266c01b16660421bfd5dbf5e6f11ce40d0dd63c17e0a07a637f645c1ff

From 37f5ab01ed125881c355107584df85ced2a8b424 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 11/24] texlive-langgreek: update to 2023.66513.

---
 srcpkgs/texlive-langgreek/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langgreek/template b/srcpkgs/texlive-langgreek/template
index 2cf3904193e8b..5df3a177468ea 100644
--- a/srcpkgs/texlive-langgreek/template
+++ b/srcpkgs/texlive-langgreek/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langgreek'
 pkgname=texlive-langgreek
-version=2021.57684
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=dc51d6c3b1ccf8ef95504f4d610759e465eb2703764d0a5bb6cc82790c831141
+checksum=fdf44664219be6288278466c927c8f0c8eec42c0a733555c2c56c34f890813a0

From 6486be051e79da1f0221ff9672293ee05ef66635 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 12/24] texlive-langjapanese: update to 2023.66482.

---
 srcpkgs/texlive-langjapanese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langjapanese/template b/srcpkgs/texlive-langjapanese/template
index a58a1b4bd7afb..d21163ed900b9 100644
--- a/srcpkgs/texlive-langjapanese/template
+++ b/srcpkgs/texlive-langjapanese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langjapanese'
 pkgname=texlive-langjapanese
-version=2021.58632
+version=2023.66482
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=60f3306ab01d1e57720190c8f59d77e50784646a4050720ed0233deccf65871e
+checksum=f9c23022dfdecb662a2097cc6d495ad07b55e74adb9751e0f96d363b27eddc90

From 54d0797cfd500905f6803c90ccc20fad7686062b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 13/24] texlive-langkorean: update to 2023.66513.

---
 srcpkgs/texlive-langkorean/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langkorean/template b/srcpkgs/texlive-langkorean/template
index 5d8a6b46a5a0c..017f2443a6488 100644
--- a/srcpkgs/texlive-langkorean/template
+++ b/srcpkgs/texlive-langkorean/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langkorean'
 pkgname=texlive-langkorean
-version=2021.58468
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=65da5065850e516840ade0522dca2fe0ecbbcabe38c68744372513943c6c61fc
+checksum=9837b0b47bf33d383247c1243f0e203753d0d20038cba5b5c071028af7b9af4d

From 60bd1637ebe3478ff13d40379e465fe7cea335d5 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 14/24] texlive-latexextra: update to 2023.66551.

---
 srcpkgs/texlive-latexextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-latexextra/template b/srcpkgs/texlive-latexextra/template
index f0b40027323f4..9f6a24d04b3d3 100644
--- a/srcpkgs/texlive-latexextra/template
+++ b/srcpkgs/texlive-latexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-latexextra'
 pkgname=texlive-latexextra
-version=2021.58668
+version=2023.66551
 revision=1
 build_style="texmf"
 depends="perl-File-Which python3-Pygments texlive-core texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9c2ef3ce71ad656df7644770a2c4aec27c4ea9375421d0ab3b56cb5b25a06287
+checksum=6254daf3152e9f2a7fcf1084873ee9cab150a7f04b0696c327e31da49eae6a95

From 3a88e4e3408ef306a0f52198917ef8d2bba6558e Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 15/24] texlive-music: update to 2023.66278.

---
 srcpkgs/texlive-music/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-music/template b/srcpkgs/texlive-music/template
index 2c71e1e607e78..e278a0b851b46 100644
--- a/srcpkgs/texlive-music/template
+++ b/srcpkgs/texlive-music/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-music'
 pkgname=texlive-music
-version=2021.58331
+version=2023.66278
 revision=1
 build_style="texmf"
 depends="fontforge python3 texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=6018606d59925c94a22aeaafbc1fc8e3fbfa78ce2c2f39a4494249e5a27cd984
+checksum=83df527875cd6bb77941868f35cdc0b7b7300f25c1644fe702ded855e7f492f9

From afe0ac1fa275fd8e85b8ae4e312712fc469f5bdb Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 16/24] texlive-pictures: update to 2023.66549.

---
 srcpkgs/texlive-pictures/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pictures/template b/srcpkgs/texlive-pictures/template
index 9dc20b90f8aaf..9674677a47a0b 100644
--- a/srcpkgs/texlive-pictures/template
+++ b/srcpkgs/texlive-pictures/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pictures'
 pkgname=texlive-pictures
-version=2021.58558
+version=2023.66549
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3c4451eb8d81edadfb165233477835ec7dc8b6ba2ba636cc98204623e3f284d6
+checksum=63ff117823e8e9d23e456fc753343ca1a83224de4ad0481acf5be81e2888de0e

From 0e3d678dfeb924872af37051cb09393cd0fc18a9 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 17/24] texlive-pstricks: update to 2023.66115.

---
 srcpkgs/texlive-pstricks/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pstricks/template b/srcpkgs/texlive-pstricks/template
index 4988e816311b4..e2f1c0f8edbb1 100644
--- a/srcpkgs/texlive-pstricks/template
+++ b/srcpkgs/texlive-pstricks/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pstricks'
 pkgname=texlive-pstricks
-version=2021.58293
+version=2023.66115
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=f35f6fa8b9686cfdf9a7a2bd43add9d193c1d28f67dd87acfe69765672930b7d
+checksum=3b0359f4e7f2efee4b96990813fe6b087f8178923e80fcb8c3d3eeaf5c8a7baf

From 03e4f265cc45ac63eaeb979a7d6f6cccc1d49ea6 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 18/24] texlive-publishers: update to 2023.66550.

---
 srcpkgs/texlive-publishers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-publishers/template b/srcpkgs/texlive-publishers/template
index 066d07250f356..2a9677a20075e 100644
--- a/srcpkgs/texlive-publishers/template
+++ b/srcpkgs/texlive-publishers/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-publishers'
 pkgname=texlive-publishers
-version=2021.58683
+version=2023.66550
 revision=1
 build_style="texmf"
 short_desc="TeX Live - Classes and packages for certain publishers"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=7ee1bdb92641601c285f972f1978b19adbcbb90f430ae38356bd2e5165506304
+checksum=52f9d38288dcaabfd67f0cb07fb8a48f2c709ff80e5085b298a2cedc9af88588

From 4630ab4914d21a38d73320391d6d46e8def00a4d Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 19/24] texlive-science: update to 2023.66461.

---
 srcpkgs/texlive-science/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-science/template b/srcpkgs/texlive-science/template
index 2020b6cf99ce9..951d4cba6adc7 100644
--- a/srcpkgs/texlive-science/template
+++ b/srcpkgs/texlive-science/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-science'
 pkgname=texlive-science
-version=2022.62977
+version=2023.66461
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3e420b34fbc22c54cbbaeed1c377bbb80360cb162f1464547321114a08f214a3
+checksum=9c5e36cdc932007bb151bd61bacdc216d1d1d682758555a4d6e0e85c51005098

From 05a80383ccfb8a34a2ceea9f11942da7cff9b282 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 20/24] texlive-full: update to 2023.0.

---
 srcpkgs/texlive-full/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-full/template b/srcpkgs/texlive-full/template
index b5b28221516fe..19219853389ac 100644
--- a/srcpkgs/texlive-full/template
+++ b/srcpkgs/texlive-full/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-full'
 pkgname=texlive-full
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

From bc713bc3d066f5bb6a37280e2279b9ae61cff432 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 21/24] texlive-most: update to 2023.0.

---
 srcpkgs/texlive-most/template | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/texlive-most/template b/srcpkgs/texlive-most/template
index a1a644f9e3b89..c67a32f3f6114 100644
--- a/srcpkgs/texlive-most/template
+++ b/srcpkgs/texlive-most/template
@@ -1,17 +1,16 @@
 # Template file for 'texlive-most'
 pkgname=texlive-most
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-ConTeXt>=20210325
- texlive-LuaTeX>=20210325
- texlive-PythonTeX>=20210325
- texlive-Xdvi>=20210325
- texlive-XeTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-PythonTeX>=20230313
+ texlive-Xdvi>=20230313
+ texlive-XeTeX>=20230313
+ texlive-dvi>=20230313
  texlive-core>=${_year}
  texlive-bibtexextra>=${_year}
  texlive-fontsextra>=${_year}

From 287e2eee1c3d10d21d6b967cfd95772c4fe0ac6f Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 22/24] texlive-basic: update to 2023.0.

---
 srcpkgs/texlive-basic/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/texlive-basic/template b/srcpkgs/texlive-basic/template
index f00aacdb39a5a..6ad5a1b1eba02 100644
--- a/srcpkgs/texlive-basic/template
+++ b/srcpkgs/texlive-basic/template
@@ -1,13 +1,13 @@
 # Template file for 'texlive-basic'
 pkgname=texlive-basic
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-LuaTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-dvi>=20210313
  texlive-core>=${_year}
  texlive-latexextra>=${_year}
  texlive-pictures>=${_year}"

From 9fcf2bba6e2b626075ab3363a448942d5b92ae0a Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 23/24] texlive-minimal: update to 2023.0.

---
 srcpkgs/texlive-minimal/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/texlive-minimal/template b/srcpkgs/texlive-minimal/template
index af721f2215504..daad0e5c49d8f 100644
--- a/srcpkgs/texlive-minimal/template
+++ b/srcpkgs/texlive-minimal/template
@@ -1,10 +1,10 @@
 # Template file for 'texlive-minimal'
 pkgname=texlive-minimal
-version=2021.0
-revision=2
+version=2023.0
+revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
+depends="texlive>=20230313
  texlive-core>=${_year}"
 short_desc="TeX Live - Metapackage including minimal packages"
 maintainer="fosslinux <fosslinux@aussies.space>"

From 5b8bf238ad6b93157675a4d04ae02102f0dc4608 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 24/24] texlive-lang: update to 2023.0.

---
 srcpkgs/texlive-lang/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-lang/template b/srcpkgs/texlive-lang/template
index 3d7989843dd6b..3bdaac292e372 100644
--- a/srcpkgs/texlive-lang/template
+++ b/srcpkgs/texlive-lang/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-lang'
 pkgname=texlive-lang
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (7 preceding siblings ...)
  2024-01-12  6:10 ` [PR PATCH] [Updated] " fosslinux
@ 2024-01-12 14:23 ` tornaria
  2024-01-12 23:04 ` fosslinux
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tornaria @ 2024-01-12 14:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1977 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/47130#issuecomment-1889342098

Comment:
> Thanks; applied those two.
> 
> Re: texdoc, I'm not certain of the best way to attack that at this point. We can't include the docs in the main package - they're HUGE. They don't seem to be included in any tarball. This is something I'd prefer to address in a follow up PR.

I think the docs are (optionally?) produced when each TL package is built, and placed in `$TEXMFDIST/doc/`. I think arch creates these TL packages without the documentation (each `*.xz` file inside `texlive-core-2023.66587-src.zip` and friends is one TL package) and makes this zip files with collections of packages.

In spite of the name, I don't think these files `texlive-core-2023.66587-src.zip` are texlive sources, and I don't think the arch package uses those, rather something more like `texlive-20230313-texmf.tar.xz`. That one file seems to contain everything, source, runtime and documentation for all the collections together. Then there's `texlive-20230311-tlpdb-full.tar.gz` which contains the database of installed files; arch seems to parse the database to split the texmf runtime files into collections, and I think all the documentation goes together in a single package (but documentation could also be split by collections).

TL;DR
 - the docs are included in `texlive-20230313-texmf.tar.xz`
 - the database with meta information of all those files is in `texlive-20230311-tlpdb-full.tar.gz`
 - maybe it's possible to eventually transition to using those files to generate all collections and documentation of collections (and also ship the database which I think is needed by texdoc)


Another note: I think texlive expects the `tlpkg` directory to be placed in `/usr/share/tlpkg` instead of `/usr/share/texmf-dist/tlpkg`. Simple way to fix this is to make a symlink, and I think doing this gets rid of some patches here.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (8 preceding siblings ...)
  2024-01-12 14:23 ` tornaria
@ 2024-01-12 23:04 ` fosslinux
  2024-02-08  7:06 ` [PR PATCH] [Updated] " fosslinux
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2024-01-12 23:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/47130#issuecomment-1890109749

Comment:
Hmm, alright.

I'll have a bit of a closer look at arch's texlive packages, and a couple of other distributions.
If it is appropriate to do so, I'll have a look at the possibility of taking collections straight from upstream, rather than from Arch.

Previously, the consensus was that shipping tlpdb didn't really make any sense since tlmgr system wide is unsupported. But that might not be quite true. Perhaps tlpdb should be shipped - with the intention that it is still a package managed file and is not changed by the user.

(This is still something I'd prefer to address after this PR, let's get this merged first)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (9 preceding siblings ...)
  2024-01-12 23:04 ` fosslinux
@ 2024-02-08  7:06 ` fosslinux
  2024-02-08 11:23 ` [PR PATCH] [Merged]: " ahesford
  2024-02-29 21:43 ` dkwo
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2024-02-08  7:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]

There is an updated pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages texlive-2023
https://github.com/void-linux/void-packages/pull/47130

Texlive 2023
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **yes**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl


<strike>A few consideration's I'm 100% sure about.

1. I'm not certain about our current ownerships - a lot of things from `texmf-dist` come from the texlive package, whereas most other distributions appear to have the primary texlive package as compiled binaries-only and then place all the `texmf-dist` binaries symlinked to scripts in their texlive-core package (obviously different names but same idea). Should we be doing this?
2. What do I do about the ppc64 patches, should they be dropped or left?</strike>
*all considered now*

A patch file from https://github.com/void-linux/void-packages/pull/47130.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-2023-47130.patch --]
[-- Type: text/x-diff, Size: 41745 bytes --]

From 62da0ffe502554bfd45b71706167297d7bd22127 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:40:37 +1100
Subject: [PATCH 01/24] texlive: update to 20230313.

---
 common/build-style/texmf.sh                   | 11 ++-
 common/environment/build-style/texmf.sh       |  2 -
 .../build-style/texmf/ownership.txt           |  9 +--
 srcpkgs/texlive/files/remove-himktables.patch | 13 ++++
 .../texlive/patches/luajit-arch-fixes.patch   | 27 +++----
 srcpkgs/texlive/patches/tlmgr.patch           | 72 +++++++++----------
 srcpkgs/texlive/template                      | 49 +++++++------
 7 files changed, 89 insertions(+), 94 deletions(-)
 create mode 100644 srcpkgs/texlive/files/remove-himktables.patch

diff --git a/common/build-style/texmf.sh b/common/build-style/texmf.sh
index dbed1fd64bfd64..76f8a871e85bfe 100644
--- a/common/build-style/texmf.sh
+++ b/common/build-style/texmf.sh
@@ -3,14 +3,11 @@ do_build() {
 	# Extract the source files
 	mkdir -p "build/usr/share/texmf-dist"
 	find . -maxdepth 1 -print -name "*.tar.xz" \
-		-exec bsdtar -C "build/usr/share/texmf-dist" -xf {} \;
+		-exec bsdtar \
+		-s '|^texmf-dist/||' \
+		-C "build/usr/share/texmf-dist" \
+		-xf {} \;
 	cd "build/usr/share/texmf-dist/"
-	# Everything in usr/share/texmf-dist/texmf-dist should really be in
-	# usr/share/texmf-dist, so we move it
-	if [ -d "texmf-dist" ] ; then
-		rsync -ar texmf-dist/ ./
-		rm -rf texmf-dist/
-	fi
 	# LICENSEs are unneeded
 	rm -f LICENSE*
 
diff --git a/common/environment/build-style/texmf.sh b/common/environment/build-style/texmf.sh
index b0ecf4702fe789..6567e43b6b6057 100644
--- a/common/environment/build-style/texmf.sh
+++ b/common/environment/build-style/texmf.sh
@@ -1,4 +1,2 @@
-# rsync isn't needed for everything but it's far easier to just put it here
-hostmakedepends+=" rsync"
 # python_version isn't needed for everything either
 python_version=3
diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 01dcd2f0cc6fe6..0e37ec7fda763e 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -37,13 +37,6 @@ scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
 scripts/context/perl/mptopdf.pl texlive
-scripts/context/stubs/unix/contextjit texlive
-scripts/context/stubs/unix/context texlive
-scripts/context/stubs/unix/luatools texlive
-scripts/context/stubs/unix/mtxrunjit texlive
-scripts/context/stubs/unix/mtxrun texlive
-scripts/context/stubs/unix/texexec texlive
-scripts/context/stubs/unix/texmfstart texlive
 scripts/convbkmk/convbkmk.rb texlive-langjapanese
 scripts/crossrefware/bbl2bib.pl texlive
 scripts/crossrefware/bibdoiadd.pl texlive
@@ -185,8 +178,8 @@ scripts/texlive/mktexlsr texlive
 scripts/texlive/mktexmf texlive
 scripts/texlive/mktexpk texlive
 scripts/texlive/mktextfm texlive
+scripts/texlive/rungs.lua texlive
 scripts/texliveonfly/texliveonfly.py texlive
-scripts/texlive/rungs.tlu texlive
 scripts/texlive/tlmgr.pl texlive
 scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
diff --git a/srcpkgs/texlive/files/remove-himktables.patch b/srcpkgs/texlive/files/remove-himktables.patch
new file mode 100644
index 00000000000000..5ae3edb97223d0
--- /dev/null
+++ b/srcpkgs/texlive/files/remove-himktables.patch
@@ -0,0 +1,13 @@
+--- a/texk/web2c/Makefile.in	2023-12-19 16:13:41.579311491 +1100
++++ b/texk/web2c/Makefile.in	2023-12-19 16:14:01.587311491 +1100
+@@ -22095,10 +22095,6 @@
+ hitex-tangle: ctangle$(EXEEXT) hitexdir/hitex.w tangle-sh
+ 	$(hi_ctangle_sh) hitex
+ 
+-# Generating hitables.c using himktables.
+-hitables.c: himktables$(EXEEXT)
+-	./himktables$(EXEEXT) > $@ || { rm -f hitables.c; exit 1; }
+-
+ # hitex, histretch, and hishrink all need (at least) some 
+ # of the sources generated from hiformat.w.
+ #
diff --git a/srcpkgs/texlive/patches/luajit-arch-fixes.patch b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
index daf56db0fc7ed0..0012b9ed28a835 100644
--- a/srcpkgs/texlive/patches/luajit-arch-fixes.patch
+++ b/srcpkgs/texlive/patches/luajit-arch-fixes.patch
@@ -9,24 +9,25 @@ Author: q66 <daniel@octaforge.org>
 
 --- a/libs/luajit/configure
 +++ b/libs/luajit/configure
-@@ -14243,7 +14243,7 @@ else
- fi
- if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1; then :
+@@ -15267,7 +15267,7 @@
+ if grep 'LJ_ARCH_BITS 64' conftest.i >/dev/null 2>&1
+ then :
    echo '-D P64' >>dynasm_flags
--         if test "x$LJHOST" = xLinux; then :
-+         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64; then :
+-         if test "x$LJHOST" = xLinux
++         if test "x$LJHOST" = xLinux -a "x$LJARCH" = xx64
+ then :
    LUAJIT_DEFINES="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
  fi
- fi
-@@ -14294,6 +14294,9 @@ fi
- fi
-                 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i >/dev/null 2>&1; then :
+@@ -15331,6 +15331,10 @@
+ then :
    echo '-D GPR64' >>dynasm_flags
-+fi
-+                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1; then :
-+  echo '-D ELFV2' >>dynasm_flags
  fi
-                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1; then :
++                if grep 'LJ_ARCH_PPC_ELFV2 1' conftest.i >/dev/null 2>&1
++then :
++  echo '-D ELFV2' >>dynasm_flags
++fi
+                 if grep 'LJ_ARCH_PPC64 ' conftest.i >/dev/null 2>&1
+ then :
    DASM_ARCH=ppc64
 --- a/libs/luajit/m4/lj-system.m4
 +++ b/libs/luajit/m4/lj-system.m4
diff --git a/srcpkgs/texlive/patches/tlmgr.patch b/srcpkgs/texlive/patches/tlmgr.patch
index b4c1c02e894303..af78c42f08c1a5 100644
--- a/srcpkgs/texlive/patches/tlmgr.patch
+++ b/srcpkgs/texlive/patches/tlmgr.patch
@@ -1,31 +1,19 @@
-Modified from Debian's tlmgr patch.
-Src: https://raw.githubusercontent.com/debian-tex/texlive-nonbin/9767c8ba4ea64d671eb98ddff550498cd2ac3d51/texlive-base/debian/patches/debian-tlmgr-usermode.
-
-Modifications:
-
-* Drop Debian specific wording.
-* Drop unnessecary manpage changes.
-* Change /usr/share path to what we use.
-
-Modified by fosslinux.
-
---- a/texk/texlive/linked_scripts/texlive/tlmgr.pl
-+++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl
-@@ -20,7 +20,7 @@ $datrev =~ s/^.*Date: //;
- $datrev =~ s/ \(.*$//;
- $tlmgrversion = "$tlmgrrevision ($datrev)";
- 
--our $Master;
-+our $Master = "/usr/share/texmf-dist";
- our $loadmediasrcerror;
- our $packagelogfile;
- our $packagelogged;
-@@ -39,38 +39,9 @@ END {
- }
+--- a/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-03-09 08:31:49.000000000 +1100
++++ b/texk/texlive/linked_scripts/texlive/tlmgr.pl	2023-12-18 22:20:18.634173357 +1100
+@@ -13,7 +13,7 @@
+ my $tlmgrrevision;
+ my $tlmgrversion;
+ my $prg;
+-my $bindir;
++my $bindir = '/usr/bin';
+ if ($svnrev =~ m/: ([0-9]+) /) {
+   $tlmgrrevision = $1;
+ } else {
+@@ -44,43 +44,12 @@
  
  BEGIN {
--  $^W = 1;
-   # make subprograms (including kpsewhich) have the right path:
+   $^W = 1;
+-  # make subprograms (including kpsewhich) have the right path:
 -  my $kpsewhichname;
 -  if ($^O =~ /^MSWin/i) {
 -    # on w32 $0 and __FILE__ point directly to tlmgr.pl; they can be relative
@@ -33,7 +21,7 @@ Modified by fosslinux.
 -    $Master =~ s!\\!/!g;
 -    $Master =~ s![^/]*$!../../..!
 -      unless ($Master =~ s!/texmf-dist/scripts/texlive/tlmgr\.pl$!!i);
--    $bindir = "$Master/bin/win32";
+-    $bindir = "$Master/bin/windows";
 -    $kpsewhichname = "kpsewhich.exe";
 -    # path already set by wrapper batchfile
 -  } else {
@@ -47,7 +35,7 @@ Modified by fosslinux.
 -  }
 -  if (-r "$bindir/$kpsewhichname") {
 -    # if not in bootstrapping mode => kpsewhich exists, so use it to get $Master
--    chomp($Master = `kpsewhich -var-value=SELFAUTOPARENT`);
+-    chomp($Master = `kpsewhich -var-value=TEXMFROOT`);
 -  }
 -
 -  # if we have no directory in which to find our modules,
@@ -56,43 +44,49 @@ Modified by fosslinux.
 -    die ("Could not determine directory of tlmgr executable, "
 -         . "maybe shared library woes?\nCheck for error messages above");
 -  }
-+  $bindir = $Master;
-+  $ENV{"PATH"} = "$bindir:$ENV{PATH}";
- 
+-
++  $Master = "/usr/share/texmf-dist";
    $::installerdir = $Master;  # for config.guess et al., see TLUtils.pm
  
-@@ -615,6 +586,13 @@ for the full story.\n";
+   # make Perl find our packages first:
+   unshift (@INC, "$Master/tlpkg");
+-  unshift (@INC, "$Master/texmf-dist/scripts/texlive");
++  unshift (@INC, "$Master/scripts/texlive");
+ }
+ 
+ use Cwd qw/abs_path/;
+@@ -622,6 +591,13 @@
      tldie("$prg: Try --help if you need it.\n");
    }
  
-+  # automatically switch to user mode on Void, and warn
++  # automatically switch to user mode, and warn
 +  if (!$opts{"usermode"} && $action ne "init-usertree") {
 +    $opts{"usermode"} = 1;
-+    print "WARNING: switching to user mode!\n";
-+    print "WARNING: normal mode unsupported on Void Linux.\n";
++    print "(running on Void Linux, switching to user mode!)\n";
++    print "(see https://docs.voidlinux.org/config/texlive.html)\n";
 +  }
 +
    #
    # the main tree we will be working on
    $::maintree = $Master;
-@@ -6118,7 +6096,9 @@ sub action_postaction {
+@@ -6260,7 +6236,9 @@
  # sets up the user tree for tlmgr in user mode
  sub action_init_usertree {
    # init_local_db but do not die if localtlpdb is not found!
 -  init_local_db(2);
-+  # we don't ship tlpdb in the system, so don't even
++  # we don't ship tlpdb for system files, so don't even
 +  # try to initialize it.
 +  # init_local_db(2);
    my $tlpdb = TeXLive::TLPDB->new;
    my $usertree;
    if ($opts{"usertree"}) {
-@@ -6758,7 +6738,11 @@ sub init_local_db {
+@@ -6900,7 +6878,11 @@
      if ($should_i_die == 2) {
        return undef;
      } else {
 -      die("cannot setup TLPDB in $::maintree");
 +      if ($opts{'usermode'}) {
-+        die("$prg: user mode not initialized, please run `tlmgr init-usertree`\n");
++        die("$prg: user mode not initialized, please read https://docs.voidlinux.org/config/texlive.html!\n");
 +      } else {
 +        die("cannot setup TLPDB in $::maintree");
 +      }
diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index 5d519c2d274014..d8373e4547cb00 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive'
 pkgname=texlive
-version=20210325
-revision=8
+version=20230313
+revision=1
 build_wrksrc="build"
 build_style=gnu-configure
 configure_script="../configure"
@@ -64,7 +64,7 @@ configure_args="
  --with-system-zlib
  --with-system-zziplib
  --with-xdvi-x-toolkit=Xaw"
-hostmakedepends="pkg-config perl lua52-BitOp texinfo"
+hostmakedepends="pkg-config perl lua52-BitOp texinfo libXaw-devel"
 makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel
  harfbuzz-devel icu-devel libpaper-devel libpng-devel mpfr-devel
  pixman-devel libteckit-devel zlib-devel zziplib-devel libXaw-devel"
@@ -73,8 +73,8 @@ short_desc="TeX Live"
 maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
-distfiles="ftp://tug.org/texlive/historic/2021/texlive-${version}-source.tar.xz"
-checksum=7aefd96608d72061970f2d73f275be5648ea8ae815af073016d3106acc0d584b
+distfiles="ftp://tug.org/texlive/historic/2023/texlive-${version}-source.tar.xz"
+checksum=3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
 python_version=3
 # Virtual package cares only about year part of version
 provides="tex-${version%${version#????}}_1"
@@ -207,6 +207,15 @@ EOF
 #!/bin/sh
 printf "already complete\\n"
 EOF
+
+	# himktables needs to be built on host
+	if [ -n "${CROSS_BUILD}" ]; then
+		cd "${wrksrc}/build/texk/web2c"
+		ctangle ../../../texk/web2c/hitexdir/hiformat.w
+		gcc -o himktables himktables.c
+		./himktables > hitables.c
+		patch -d "${wrksrc}" -Np1 -i ${FILESDIR}/remove-himktables.patch
+	fi
 }
 
 post_install() {
@@ -251,7 +260,9 @@ texlive-XeTeX_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - engine supporting modern typography"
 	pkg_install() {
+		vmove usr/share/texmf-dist/scripts/texlive-extra/xe*.sh
 		vmove usr/bin/xetex
+		vmove usr/share/man/man1/xe*.1
 		ln -s xetex "${PKGDESTDIR}/usr/bin/xelatex"
 	}
 }
@@ -279,14 +290,14 @@ texlive-LuaTeX_package() {
 				vmove "usr/bin/${i}"
 			done
 		fi
-		for i in checkcites cllualatex cluttex diadia getmapdl l3build luahbtex \
-				 luaotfload-tool luatools luatex lwarpmk m-tx \
+		for i in checkcites cllualatex cluttex diadia digestif getmapdl l3build luafindfont luahbtex \
+				 luaotfload-tool luatex lwarpmk m-tx \
 				 makeglossaries-lite mflua mflua-nowin musixflx musixtex pmxchords \
 				 ptex2pdf texlua texluac xindex ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in checkcites cluttex diadia getmap glossaries/makeglossaries-lite.lua \
-				 l3build luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
+		for i in checkcites cluttex diadia digestif getmap glossaries/makeglossaries-lite.lua \
+				 l3build luafindfont luaotfload lwarp m-tx musixtex pmxchords ptex2pdf xindex ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		for i in luatex texlua texluac ; do
@@ -356,7 +367,7 @@ texlive-BibTeX_package() {
 		for i in bbl2bib ctanbib ; do
 			vmove "usr/bin/${i}"
 		done
-		for i in bib2gls bibexport ; do
+		for i in bib2gls bibcop bibexport ; do
 			vmove "usr/share/texmf-dist/scripts/${i}"
 		done
 		vmove usr/bin/bib*
@@ -365,21 +376,9 @@ texlive-BibTeX_package() {
 }
 
 texlive-ConTeXt_package() {
-	depends="${sourcepkg}>=${version}_${revision} perl ghostscript"
-	short_desc+=" - alternative general-purpose document processor"
-	pkg_install() {
-		for i in context contextjit mptopdf mtxrun mtxrunjit texexec \
-				 texmfstart dosepsbin epspdf epspdftk purifyeps repstopdf \
-				 ps2eps tl-epsffit ; do
-			vmove "usr/bin/${i}"
-		done
-		for i in context dosepsbin epspdf epstopdf ps2eps purifyeps ; do
-			vmove "usr/share/texmf-dist/scripts/${i}"
-		done
-		for i in tl-epsffit ps2eps ; do
-			vmove "usr/share/man/man1/${i}.1"
-		done
-	}
+	build_style=meta
+	short_desc+=" (transitional package)"
+	depends="texlive>=${version}_${revision}"
 }
 
 texlive-PythonTeX_package() {

From 26db2ffa9c3907820c86f08d0bd8752f73909412 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 02/24] texlive-bibtexextra: update to 2023.66579.

---
 common/environment/build-style/texmf/ownership.txt | 2 ++
 srcpkgs/texlive-bibtexextra/template               | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index 0e37ec7fda763e..d3771c0b62b124 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -26,6 +26,7 @@ scripts/attachfile2/pdfatfi.pl texlive
 scripts/authorindex/authorindex texlive
 scripts/bib2gls/bib2gls.sh texlive
 scripts/bib2gls/convertgls2bib.sh texlive
+scripts/bibcop/bibcop.pl texlive
 scripts/bibexport/bibexport.sh texlive
 scripts/bundledoc/arlatex texlive
 scripts/bundledoc/bundledoc texlive
@@ -33,6 +34,7 @@ scripts/cachepic/cachepic.tlu texlive-pictures
 scripts/checkcites/checkcites.lua texlive
 scripts/checklistings/checklistings.sh texlive
 scripts/chklref/chklref.pl texlive
+scripts/citation-style-language/citeproc-lua.lua texlive
 scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
 scripts/clojure-pamphlet/pamphletangler texlive
 scripts/cluttex/cluttex.lua texlive
diff --git a/srcpkgs/texlive-bibtexextra/template b/srcpkgs/texlive-bibtexextra/template
index 0d7b571598929b..ff62911eeb9939 100644
--- a/srcpkgs/texlive-bibtexextra/template
+++ b/srcpkgs/texlive-bibtexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-bibtexextra'
 pkgname=texlive-bibtexextra
-version=2021.58697
+version=2023.66579
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=d65aa2a12df851e9ddca879f6502a15a52ece9d33c803d4c0d0227fcc785a1c9
+checksum=b2b0b90abb0c0a9eef5366cf0968f7e58ee84c1be688c36d751dd0577c872a3c

From ee6c5a8a52c7dc070698feeb7d97398d13863de8 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:54 +1100
Subject: [PATCH 03/24] texlive-fontsextra: update to 2023.66328.

---
 srcpkgs/texlive-fontsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-fontsextra/template b/srcpkgs/texlive-fontsextra/template
index 3de281b7428bdc..75095b60cceb2e 100644
--- a/srcpkgs/texlive-fontsextra/template
+++ b/srcpkgs/texlive-fontsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-fontsextra'
 pkgname=texlive-fontsextra
-version=2021.58704
+version=2023.66328
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=4e1647ea20536d336120c2885af3f7677d9e483ce7f397c1c4404e31fc5fc0aa
+checksum=c5e32f213ec81a5e85f36437d401331b49a1338dacdc2fe8bb27f9f0fbaf2e36

From 765b3ab8ad391f4d97fd2f6c70424646123b4be4 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 04/24] texlive-formatsextra: update to 2023.66186.

---
 srcpkgs/texlive-formatsextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-formatsextra/template b/srcpkgs/texlive-formatsextra/template
index d3042a9b2038f8..a26144b087b5e9 100644
--- a/srcpkgs/texlive-formatsextra/template
+++ b/srcpkgs/texlive-formatsextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-formatsextra'
 pkgname=texlive-formatsextra
-version=2021.57972
+version=2023.66186
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=641660f85062d70d715b11e8bd404558d1618a02ce95e1d54792f01e3aa8b80a
+checksum=ffacdfacd9381cf3f21247d15cbd7b4e931855d9258edfe51fd23165cff30ca6

From 04f3c67de24663b7d26b47f4f7d77fa97e6980bf Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 05/24] texlive-core: update to 2023.66587.

---
 common/environment/build-style/texmf/ownership.txt | 10 ++++++++++
 srcpkgs/texlive-core/template                      |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/common/environment/build-style/texmf/ownership.txt b/common/environment/build-style/texmf/ownership.txt
index d3771c0b62b124..a8b071c2690c95 100644
--- a/common/environment/build-style/texmf/ownership.txt
+++ b/common/environment/build-style/texmf/ownership.txt
@@ -52,6 +52,7 @@ scripts/ctan-o-mat/ctan-o-mat.pl texlive
 scripts/ctanupload/ctanupload.pl texlive
 scripts/de-macro/de-macro texlive
 scripts/diadia/diadia.lua texlive-humanities
+scripts/digestif/digestif.texlua texlive
 scripts/dosepsbin/dosepsbin.pl texlive
 scripts/dtxgen/dtxgen texlive
 scripts/dviasm/dviasm.py texlive
@@ -97,6 +98,7 @@ scripts/listbib/listbib texlive
 scripts/listings-ext/listings-ext.sh texlive
 scripts/ltxfileinfo/ltxfileinfo texlive
 scripts/ltximg/ltximg.pl texlive
+scripts/luafindfont/luafindfont.lua texlive
 scripts/luaotfload/luaotfload-tool.lua texlive
 scripts/lwarp/lwarpmk.lua texlive
 scripts/make4ht/make4ht texlive
@@ -111,6 +113,9 @@ scripts/m-tx/m-tx.lua texlive-music
 scripts/multibibliography/multibibliography.pl texlive
 scripts/musixtex/musixflx.lua texlive-music
 scripts/musixtex/musixtex.lua texlive-music
+scripts/optexcount/optexcount texlive
+scripts/pagelayout/pagelayoutapi texlive
+scripts/pagelayout/textestvis texlive
 scripts/pax/pdfannotextractor.pl texlive
 scripts/pdfbook2/pdfbook2 texlive
 scripts/pdfcrop/pdfcrop.pl texlive
@@ -150,6 +155,7 @@ scripts/srcredact/srcredact.pl texlive
 scripts/sty2dtx/sty2dtx.pl texlive
 scripts/svn-multi/svn-multi.pl texlive
 scripts/tex4ebook/tex4ebook texlive
+scripts/texaccents/texaccents.sno texlive
 scripts/texcount/texcount.pl texlive
 scripts/texdef/texdef.pl texlive
 scripts/texdiff/texdiff texlive
@@ -173,6 +179,8 @@ scripts/texlive-extra/texconfig-dialog.sh texlive
 scripts/texlive-extra/texconfig.sh texlive
 scripts/texlive-extra/texconfig-sys.sh texlive
 scripts/texlive-extra/texlinks.sh texlive
+scripts/texlive-extra/xelatex-unsafe.sh texlive
+scripts/texlive-extra/xetex-unsafe.sh texlive
 scripts/texlive/fmtutil.pl texlive
 scripts/texlive/fmtutil-sys.sh texlive
 scripts/texlive/fmtutil-user.sh texlive
@@ -187,6 +195,8 @@ scripts/texlive/updmap.pl texlive
 scripts/texlive/updmap-sys.sh texlive
 scripts/texlive/updmap-user.sh texlive
 scripts/texloganalyser/texloganalyser texlive
+scripts/texlogfilter/texlogfilter texlive
+scripts/texlogsieve/texlogsieve texlive
 scripts/texosquery/texosquery-jre5.sh texlive
 scripts/texosquery/texosquery-jre8.sh texlive
 scripts/texosquery/texosquery.sh texlive
diff --git a/srcpkgs/texlive-core/template b/srcpkgs/texlive-core/template
index 2289356f9142e9..f8a93e76beb9de 100644
--- a/srcpkgs/texlive-core/template
+++ b/srcpkgs/texlive-core/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-core'
 pkgname=texlive-core
-version=2021.58710
+version=2023.66587
 revision=1
 build_style="texmf"
 short_desc="TeX Live - core texmf distribution"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=ef11a19ca15f3e937733ed9e17cc024afaf525afdf3d649c9ae4261f1bfb4415
+checksum=2cdaf356d89351e61152243f1192a5e000a9586c67b873737f01878a3e5724ff

From 8229879156f173b8f6ac1dff9f5c920ae530dc01 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 06/24] texlive-games: update to 2023.66190.

---
 srcpkgs/texlive-games/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-games/template b/srcpkgs/texlive-games/template
index ecaffb00fd8d25..f73f47547f8705 100644
--- a/srcpkgs/texlive-games/template
+++ b/srcpkgs/texlive-games/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-games'
 pkgname=texlive-games
-version=2021.56833
+version=2023.66190
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9d808f5ecbc8a00d3b2fabef627e4ae0ac026c9eb54d6b02f2efeed486aea54b
+checksum=d5c87bdc6445260c947e1585f117efd6ef3c400af03af422939478c4237aee44

From 27ab2a327c342e40f05f5c638e8ee7d2cbcf2208 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 07/24] texlive-humanities: update to 2023.65502.

---
 srcpkgs/texlive-humanities/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-humanities/template b/srcpkgs/texlive-humanities/template
index 67a66171b548a9..eb2f7ae79a744b 100644
--- a/srcpkgs/texlive-humanities/template
+++ b/srcpkgs/texlive-humanities/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-humanities'
 pkgname=texlive-humanities
-version=2021.58589
+version=2023.65502
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=a2688733e66ba324154ee9715327f4cdb26e7c19283a38d03f086e1b3f123e9f
+checksum=c0b0e4be08cc4fb46206e6769b48f9418ec73a11c556efb8249931d6222d94ef

From 193701038b00e2873fda74713acd7276463ad445 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 08/24] texlive-langchinese: update to 2023.66188.

---
 srcpkgs/texlive-langchinese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langchinese/template b/srcpkgs/texlive-langchinese/template
index 387b14ef7cbe96..fdcd78cd5c2d18 100644
--- a/srcpkgs/texlive-langchinese/template
+++ b/srcpkgs/texlive-langchinese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langchinese'
 pkgname=texlive-langchinese
-version=2021.58583
+version=2023.66188
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=61c476961b3e4d2cc8e95fe68b8ade9a4e692abe644190c1b34adfb58c2f8f8b
+checksum=a08c5c2d7a2eaece4d8f68eedeec64eb44b70255c84087df66679f6a59f649a0

From 1f9ff9d3e7f27de1dc97b92fc2de5d107336e576 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:55 +1100
Subject: [PATCH 09/24] texlive-langcyrillic: update to 2023.64588.

---
 srcpkgs/texlive-langcyrillic/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langcyrillic/template b/srcpkgs/texlive-langcyrillic/template
index 67c0592949fbec..85aa1defe41c62 100644
--- a/srcpkgs/texlive-langcyrillic/template
+++ b/srcpkgs/texlive-langcyrillic/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langcyrillic'
 pkgname=texlive-langcyrillic
-version=2021.58426
+version=2023.64588
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9dbab28a29c74164f336f38d735277b46ae837492a6fe417b96345620979db7f
+checksum=b22a0759b1e28fb0f9c2e155d9cecec23649d08e33f42adf52bc1efb04630336

From 4ec93c5422c9cf32a3b3fea6250dc310f7864e76 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 10/24] texlive-langextra: update to 2023.66225.

---
 srcpkgs/texlive-langextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langextra/template b/srcpkgs/texlive-langextra/template
index d527ba24cc9ce4..09b0d9bf227160 100644
--- a/srcpkgs/texlive-langextra/template
+++ b/srcpkgs/texlive-langextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langextra'
 pkgname=texlive-langextra
-version=2021.58019
+version=2023.66225
 revision=1
 build_style="texmf"
 depends="texlive-core texlive-latexextra"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3b4b6b09a67a33f2a327021ba39e32e746b9be602037c1f50f7e4ab64605bd47
+checksum=635a2a266c01b16660421bfd5dbf5e6f11ce40d0dd63c17e0a07a637f645c1ff

From ad801a41d43656dd153ca914f390ab19e1f09064 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 11/24] texlive-langgreek: update to 2023.66513.

---
 srcpkgs/texlive-langgreek/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langgreek/template b/srcpkgs/texlive-langgreek/template
index 2cf3904193e8b3..5df3a177468ea7 100644
--- a/srcpkgs/texlive-langgreek/template
+++ b/srcpkgs/texlive-langgreek/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langgreek'
 pkgname=texlive-langgreek
-version=2021.57684
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=dc51d6c3b1ccf8ef95504f4d610759e465eb2703764d0a5bb6cc82790c831141
+checksum=fdf44664219be6288278466c927c8f0c8eec42c0a733555c2c56c34f890813a0

From 7cd3e73814abaae026a007366219da9532dd9227 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 12/24] texlive-langjapanese: update to 2023.66482.

---
 srcpkgs/texlive-langjapanese/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langjapanese/template b/srcpkgs/texlive-langjapanese/template
index a58a1b4bd7afb0..d21163ed900b90 100644
--- a/srcpkgs/texlive-langjapanese/template
+++ b/srcpkgs/texlive-langjapanese/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langjapanese'
 pkgname=texlive-langjapanese
-version=2021.58632
+version=2023.66482
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=60f3306ab01d1e57720190c8f59d77e50784646a4050720ed0233deccf65871e
+checksum=f9c23022dfdecb662a2097cc6d495ad07b55e74adb9751e0f96d363b27eddc90

From 03471e603f018f598b0834fe5053f1f3085c6c84 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 13/24] texlive-langkorean: update to 2023.66513.

---
 srcpkgs/texlive-langkorean/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-langkorean/template b/srcpkgs/texlive-langkorean/template
index 5d8a6b46a5a0c0..017f2443a6488b 100644
--- a/srcpkgs/texlive-langkorean/template
+++ b/srcpkgs/texlive-langkorean/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-langkorean'
 pkgname=texlive-langkorean
-version=2021.58468
+version=2023.66513
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=65da5065850e516840ade0522dca2fe0ecbbcabe38c68744372513943c6c61fc
+checksum=9837b0b47bf33d383247c1243f0e203753d0d20038cba5b5c071028af7b9af4d

From 5cd7abff9b64e8708b32298c986eb8195577ab00 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:56 +1100
Subject: [PATCH 14/24] texlive-latexextra: update to 2023.66551.

---
 srcpkgs/texlive-latexextra/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-latexextra/template b/srcpkgs/texlive-latexextra/template
index f0b40027323f4a..9f6a24d04b3d34 100644
--- a/srcpkgs/texlive-latexextra/template
+++ b/srcpkgs/texlive-latexextra/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-latexextra'
 pkgname=texlive-latexextra
-version=2021.58668
+version=2023.66551
 revision=1
 build_style="texmf"
 depends="perl-File-Which python3-Pygments texlive-core texlive-pictures"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=9c2ef3ce71ad656df7644770a2c4aec27c4ea9375421d0ab3b56cb5b25a06287
+checksum=6254daf3152e9f2a7fcf1084873ee9cab150a7f04b0696c327e31da49eae6a95

From d8f244c4a5c06f85a80d2e68eb8f6977e85b457b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 15/24] texlive-music: update to 2023.66278.

---
 srcpkgs/texlive-music/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-music/template b/srcpkgs/texlive-music/template
index 2c71e1e607e78f..e278a0b851b46d 100644
--- a/srcpkgs/texlive-music/template
+++ b/srcpkgs/texlive-music/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-music'
 pkgname=texlive-music
-version=2021.58331
+version=2023.66278
 revision=1
 build_style="texmf"
 depends="fontforge python3 texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=6018606d59925c94a22aeaafbc1fc8e3fbfa78ce2c2f39a4494249e5a27cd984
+checksum=83df527875cd6bb77941868f35cdc0b7b7300f25c1644fe702ded855e7f492f9

From 681f7f3caa4e19e9b05ab17f916aee75cd48a430 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 16/24] texlive-pictures: update to 2023.66549.

---
 srcpkgs/texlive-pictures/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pictures/template b/srcpkgs/texlive-pictures/template
index 9dc20b90f8aaf4..9674677a47a0b4 100644
--- a/srcpkgs/texlive-pictures/template
+++ b/srcpkgs/texlive-pictures/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pictures'
 pkgname=texlive-pictures
-version=2021.58558
+version=2023.66549
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3c4451eb8d81edadfb165233477835ec7dc8b6ba2ba636cc98204623e3f284d6
+checksum=63ff117823e8e9d23e456fc753343ca1a83224de4ad0481acf5be81e2888de0e

From 2b4282fdf54204fb9be645084115f7af9d4a5e49 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 17/24] texlive-pstricks: update to 2023.66115.

---
 srcpkgs/texlive-pstricks/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-pstricks/template b/srcpkgs/texlive-pstricks/template
index 4988e816311b49..e2f1c0f8edbb1d 100644
--- a/srcpkgs/texlive-pstricks/template
+++ b/srcpkgs/texlive-pstricks/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-pstricks'
 pkgname=texlive-pstricks
-version=2021.58293
+version=2023.66115
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=f35f6fa8b9686cfdf9a7a2bd43add9d193c1d28f67dd87acfe69765672930b7d
+checksum=3b0359f4e7f2efee4b96990813fe6b087f8178923e80fcb8c3d3eeaf5c8a7baf

From c6444a099a1b2a80d12ccf2a020b9d283e8f6088 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 18/24] texlive-publishers: update to 2023.66550.

---
 srcpkgs/texlive-publishers/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-publishers/template b/srcpkgs/texlive-publishers/template
index 066d07250f3566..2a9677a20075e7 100644
--- a/srcpkgs/texlive-publishers/template
+++ b/srcpkgs/texlive-publishers/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-publishers'
 pkgname=texlive-publishers
-version=2021.58683
+version=2023.66550
 revision=1
 build_style="texmf"
 short_desc="TeX Live - Classes and packages for certain publishers"
@@ -8,4 +8,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=7ee1bdb92641601c285f972f1978b19adbcbb90f430ae38356bd2e5165506304
+checksum=52f9d38288dcaabfd67f0cb07fb8a48f2c709ff80e5085b298a2cedc9af88588

From 1d462306cff6c545dcc70923b5fc8292382605f7 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 19/24] texlive-science: update to 2023.66461.

---
 srcpkgs/texlive-science/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive-science/template b/srcpkgs/texlive-science/template
index 2020b6cf99ce92..951d4cba6adc73 100644
--- a/srcpkgs/texlive-science/template
+++ b/srcpkgs/texlive-science/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-science'
 pkgname=texlive-science
-version=2022.62977
+version=2023.66461
 revision=1
 build_style="texmf"
 depends="texlive-core"
@@ -9,4 +9,4 @@ maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"
 homepage="https://tug.org/texlive/"
 distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
-checksum=3e420b34fbc22c54cbbaeed1c377bbb80360cb162f1464547321114a08f214a3
+checksum=9c5e36cdc932007bb151bd61bacdc216d1d1d682758555a4d6e0e85c51005098

From dac7388f223ea0c52c1c1e6b79e61a4f5cd9d767 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:57 +1100
Subject: [PATCH 20/24] texlive-full: update to 2023.0.

---
 srcpkgs/texlive-full/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-full/template b/srcpkgs/texlive-full/template
index b5b28221516fe0..19219853389ac0 100644
--- a/srcpkgs/texlive-full/template
+++ b/srcpkgs/texlive-full/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-full'
 pkgname=texlive-full
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

From 3fafbbd34577eba8c8000683f394a64dc864859f Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 21/24] texlive-most: update to 2023.0.

---
 srcpkgs/texlive-most/template | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/texlive-most/template b/srcpkgs/texlive-most/template
index a1a644f9e3b899..c67a32f3f61148 100644
--- a/srcpkgs/texlive-most/template
+++ b/srcpkgs/texlive-most/template
@@ -1,17 +1,16 @@
 # Template file for 'texlive-most'
 pkgname=texlive-most
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-ConTeXt>=20210325
- texlive-LuaTeX>=20210325
- texlive-PythonTeX>=20210325
- texlive-Xdvi>=20210325
- texlive-XeTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-PythonTeX>=20230313
+ texlive-Xdvi>=20230313
+ texlive-XeTeX>=20230313
+ texlive-dvi>=20230313
  texlive-core>=${_year}
  texlive-bibtexextra>=${_year}
  texlive-fontsextra>=${_year}

From 2d7f65de77ef3f6a0ca114cdc9f0a3362d89504b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 22/24] texlive-basic: update to 2023.0.

---
 srcpkgs/texlive-basic/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/texlive-basic/template b/srcpkgs/texlive-basic/template
index f00aacdb39a5ad..6ad5a1b1eba02f 100644
--- a/srcpkgs/texlive-basic/template
+++ b/srcpkgs/texlive-basic/template
@@ -1,13 +1,13 @@
 # Template file for 'texlive-basic'
 pkgname=texlive-basic
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
- texlive-BibTeX>=20210325
- texlive-LuaTeX>=20210325
- texlive-dvi>=20210325
+depends="texlive>=20230313
+ texlive-BibTeX>=20230313
+ texlive-LuaTeX>=20230313
+ texlive-dvi>=20210313
  texlive-core>=${_year}
  texlive-latexextra>=${_year}
  texlive-pictures>=${_year}"

From 4971c4ab9c67481cd96760fd3ce159c66ddbf8cb Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 23/24] texlive-minimal: update to 2023.0.

---
 srcpkgs/texlive-minimal/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/texlive-minimal/template b/srcpkgs/texlive-minimal/template
index af721f2215504e..daad0e5c49d8f5 100644
--- a/srcpkgs/texlive-minimal/template
+++ b/srcpkgs/texlive-minimal/template
@@ -1,10 +1,10 @@
 # Template file for 'texlive-minimal'
 pkgname=texlive-minimal
-version=2021.0
-revision=2
+version=2023.0
+revision=1
 build_style=meta
 _year=${version%.*}
-depends="texlive>=20210325
+depends="texlive>=20230313
  texlive-core>=${_year}"
 short_desc="TeX Live - Metapackage including minimal packages"
 maintainer="fosslinux <fosslinux@aussies.space>"

From 5e820b0e2062eecb2d4c8d7fd468a19703c2b124 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Thu, 9 Nov 2023 14:46:58 +1100
Subject: [PATCH 24/24] texlive-lang: update to 2023.0.

---
 srcpkgs/texlive-lang/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/texlive-lang/template b/srcpkgs/texlive-lang/template
index 3d7989843dd6b7..3bdaac292e3720 100644
--- a/srcpkgs/texlive-lang/template
+++ b/srcpkgs/texlive-lang/template
@@ -1,6 +1,6 @@
 # Template file for 'texlive-lang'
 pkgname=texlive-lang
-version=2021.0
+version=2023.0
 revision=1
 build_style=meta
 _year=${version%.*}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Merged]: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (10 preceding siblings ...)
  2024-02-08  7:06 ` [PR PATCH] [Updated] " fosslinux
@ 2024-02-08 11:23 ` ahesford
  2024-02-29 21:43 ` dkwo
  12 siblings, 0 replies; 14+ messages in thread
From: ahesford @ 2024-02-08 11:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

There's a merged pull request on the void-packages repository

Texlive 2023
https://github.com/void-linux/void-packages/pull/47130

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **yes**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl


<strike>A few consideration's I'm 100% sure about.

1. I'm not certain about our current ownerships - a lot of things from `texmf-dist` come from the texlive package, whereas most other distributions appear to have the primary texlive package as compiled binaries-only and then place all the `texmf-dist` binaries symlinked to scripts in their texlive-core package (obviously different names but same idea). Should we be doing this?
2. What do I do about the ppc64 patches, should they be dropped or left?</strike>
*all considered now*

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Texlive 2023
  2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
                   ` (11 preceding siblings ...)
  2024-02-08 11:23 ` [PR PATCH] [Merged]: " ahesford
@ 2024-02-29 21:43 ` dkwo
  12 siblings, 0 replies; 14+ messages in thread
From: dkwo @ 2024-02-29 21:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/47130#issuecomment-1972012672

Comment:
it seems that arch linux has dropped its collections https://archlinux.org/news/tex-live-package-reorganization/ so we may need to take them from upstream anyway.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-02-29 21:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09  3:57 [PR PATCH] WIP: Texlive 2023 fosslinux
2023-12-21  0:55 ` [PR PATCH] [Updated] " fosslinux
2023-12-29  4:58 ` fosslinux
2023-12-29  5:00 ` fosslinux
2024-01-06 18:23 ` tornaria
2024-01-06 22:26 ` tornaria
2024-01-06 22:26 ` tornaria
2024-01-12  6:08 ` fosslinux
2024-01-12  6:10 ` [PR PATCH] [Updated] " fosslinux
2024-01-12 14:23 ` tornaria
2024-01-12 23:04 ` fosslinux
2024-02-08  7:06 ` [PR PATCH] [Updated] " fosslinux
2024-02-08 11:23 ` [PR PATCH] [Merged]: " ahesford
2024-02-29 21:43 ` dkwo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).