extra/texlive-bin to 2023.66984-5

This commit is contained in:
Kevin Mihelich 2023-06-05 23:50:13 +00:00
parent 41731c5ff4
commit 0a8c4001a3
2 changed files with 30 additions and 4 deletions

View file

@ -11,7 +11,7 @@
pkgname=(texlive-bin libsynctex)
_rev=66984
pkgver=2023.$_rev
pkgrel=4
pkgrel=5
license=(GPL)
arch=(x86_64)
makedepends=(git cairo pixman graphite t1lib gd libsigsegv zziplib libpng libjpeg freetype2
@ -20,10 +20,12 @@ url='https://tug.org/texlive/'
_commit=871c7a2856d70e1a9703d1f72f0587b9995dba5f # tags/texlive-2023.0
source=(git+https://github.com/Tex-Live/texlive-source.git#commit=$_commit
svn://tug.org/texlive/tags/texlive-2023.0/Master/tlpkg#revision=$_rev
ptex-debug-print.patch)
ptex-debug-print.patch
context-luatex-1.17.patch)
sha256sums=('SKIP'
'SKIP'
'aa838f09003c62c2efb5770a8de66f99b409df049fbd65098d80fd1957d06c50')
'aa838f09003c62c2efb5770a8de66f99b409df049fbd65098d80fd1957d06c50'
'a56838d19c3bd820781693b5a2e058e1a22378b37ea199bac426d97fcc420920')
prepare() {
cd texlive-source
@ -34,7 +36,9 @@ prepare() {
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
# remove spurious ptex "guessed encoding" print
patch -Np1 -i ../ptex-debug-print.patch
patch -p1 -i ../ptex-debug-print.patch
# update context to work with luatex 1.17
patch -p1 -i ../context-luatex-1.17.patch
}
build() {

View file

@ -0,0 +1,22 @@
diff --git a/texk/texlive/linked_scripts/context/stubs/unix/mtxrun b/texk/texlive/linked_scripts/context/stubs/unix/mtxrun
index 6fc17adb0..722e9fc8f 100755
--- a/texk/texlive/linked_scripts/context/stubs/unix/mtxrun
+++ b/texk/texlive/linked_scripts/context/stubs/unix/mtxrun
@@ -25606,7 +25606,7 @@ local function secondaryflags(arguments)
end
return concat(flags," ")
end
-local template=[[--ini %primaryflags% --lua=%luafile% %texfile% %secondaryflags% %redirect%]]
+local template=[[--ini %primaryflags% --socket --shell-escape --lua=%luafile% %texfile% %secondaryflags% %redirect%]]
local checkers={
primaryflags="verbose",
secondaryflags="verbose",
@@ -25741,7 +25741,7 @@ function environment.make_format(formatname)
report_format()
lfs.chdir(startupdir)
end
-local template=[[%primaryflags% --fmt=%fmtfile% --lua=%luafile% %texfile% %secondaryflags%]]
+local template=[[%primaryflags% --socket --shell-escape --fmt=%fmtfile% --lua=%luafile% %texfile% %secondaryflags%]]
local checkers={
primaryflags="verbose",
secondaryflags="verbose",