mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/texlive-bin to 2023.66984-5
This commit is contained in:
parent
41731c5ff4
commit
0a8c4001a3
2 changed files with 30 additions and 4 deletions
|
@ -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() {
|
||||
|
|
22
extra/texlive-bin/context-luatex-1.17.patch
Normal file
22
extra/texlive-bin/context-luatex-1.17.patch
Normal 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",
|
Loading…
Reference in a new issue