extra/texlive-bin to 2024.0-1

This commit is contained in:
Kevin Mihelich 2024-03-21 00:40:17 +00:00
parent 55a0a46468
commit 7f0660b023
4 changed files with 90 additions and 102 deletions

View file

@ -1,89 +1,103 @@
pkgbase = texlive-bin
pkgver = 2023.66984
pkgrel = 18
pkgver = 2024.0
pkgrel = 1
url = https://tug.org/texlive/
arch = x86_64
license = GPL
makedepends = git
license = GPL-2.0-or-later
makedepends = bash
makedepends = cairo
makedepends = pixman
makedepends = graphite
makedepends = t1lib
makedepends = gd
makedepends = libsigsegv
makedepends = zziplib
makedepends = libpng
makedepends = libjpeg
makedepends = freetype2
makedepends = icu
makedepends = harfbuzz-icu
makedepends = mpfr
makedepends = potrace
makedepends = libpaper
makedepends = perl
makedepends = clisp
makedepends = ffcall
makedepends = libxcrypt
makedepends = subversion
makedepends = glibc
makedepends = zlib
makedepends = bash
makedepends = libxaw
makedepends = fontconfig
makedepends = freetype2
makedepends = gcc-libs
makedepends = gd
makedepends = git
makedepends = glibc
makedepends = gmp
makedepends = graphite
makedepends = harfbuzz
makedepends = icu
makedepends = readline
makedepends = libjpeg
makedepends = libpaper
makedepends = libpng
makedepends = libsigsegv
makedepends = libunistring
makedepends = libx11
makedepends = libxaw
makedepends = libxcrypt
makedepends = libxmu
makedepends = libxpm
makedepends = libunistring
makedepends = libxt
makedepends = libx11
makedepends = mpfr
makedepends = ncurses
makedepends = gcc-libs
makedepends = harfbuzz
source = git+https://github.com/Tex-Live/texlive-source.git#commit=871c7a2856d70e1a9703d1f72f0587b9995dba5f
makedepends = perl
makedepends = pixman
makedepends = potrace
makedepends = readline
makedepends = subversion
makedepends = t1lib
makedepends = zlib
makedepends = zziplib
source = git+https://github.com/Tex-Live/texlive-source.git#commit=3f43289c20ca846ddbe7fc92d4495082069950c3
source = ptex-debug-print.patch
source = context-luatex-1.17.patch
sha256sums = SKIP
sha256sums = aa838f09003c62c2efb5770a8de66f99b409df049fbd65098d80fd1957d06c50
sha256sums = a56838d19c3bd820781693b5a2e058e1a22378b37ea199bac426d97fcc420920
pkgname = texlive-bin
pkgdesc = TeX Live binaries
depends = cairo
depends = pixman
depends = graphite
depends = t1lib
depends = gd
depends = poppler
depends = ffcall
depends = libsigsegv
depends = zziplib
depends = libpng
depends = libjpeg
depends = freetype2
depends = libxcrypt
depends = harfbuzz-icu
depends = mpfr
depends = potrace
depends = libpaper
depends = libsynctex
depends = glibc
depends = zlib
depends = bash
depends = libxaw
depends = cairo
depends = libcairo.so
depends = ffcall
depends = fontconfig
depends = libfontconfig.so
depends = freetype2
depends = libfreetype.so
depends = gcc-libs
depends = gd
depends = glibc
depends = gmp
depends = graphite
depends = libgraphite2.so
depends = harfbuzz
depends = libharfbuzz.so
depends = icu
depends = readline
depends = libicui18n.so
depends = libicuuc.so
depends = libpaper
depends = libpng
depends = libpng16.so
depends = libsigsegv
depends = libsynctex
depends = libsynctex.so
depends = libunistring
depends = libunistring.so
depends = libx11
depends = libxaw
depends = libxcrypt
depends = libcrypt.so
depends = libxmu
depends = libxpm
depends = libunistring
depends = libxt
depends = libx11
depends = mpfr
depends = libmpfr.so
depends = ncurses
depends = gcc-libs
depends = harfbuzz
depends = libncursesw.so
depends = perl
depends = pixman
depends = libpixman-1.so
depends = potrace
depends = readline
depends = libreadline.so
depends = zlib
depends = libz.so
depends = zziplib
optdepends = psutils: to manipulate the output of dvips
provides = lcdf-typetools
provides = libptexenc.so
provides = libtexlua53.so
provides = libtexluajit.so
provides = kpathsea
provides = xindy
@ -91,3 +105,4 @@ pkgname = libsynctex
pkgdesc = Library for synchronization between TeX files and resulting file
depends = glibc
depends = zlib
provides = libsynctex.so

View file

@ -0,0 +1,7 @@
[texlive-bin]
source = "github"
github = "TeX-Live/texlive-source"
include_regex = 'build-svn\d+'
from_pattern = 'build-svn(\d+)'
to_pattern = '2023.\1'
use_max_tag = true

View file

@ -11,9 +11,9 @@
pkgname=(texlive-bin libsynctex)
_rev=66984
pkgver=2023.$_rev
pkgrel=19
license=(GPL)
pkgver=2024.0
pkgrel=1
license=(GPL-2.0-or-later)
arch=(x86_64)
makedepends=(bash
cairo
@ -23,9 +23,9 @@ makedepends=(bash
gd
git
glibc
gmp
graphite
harfbuzz
harfbuzz-icu
icu
libjpeg
libpaper
@ -49,13 +49,11 @@ makedepends=(bash
zlib
zziplib)
url='https://tug.org/texlive/'
_commit=871c7a2856d70e1a9703d1f72f0587b9995dba5f # tags/texlive-2023.0
_commit=3f43289c20ca846ddbe7fc92d4495082069950c3 # tags/texlive-2024.0
source=(git+https://github.com/Tex-Live/texlive-source.git#commit=$_commit
ptex-debug-print.patch
context-luatex-1.17.patch)
ptex-debug-print.patch)
sha256sums=('SKIP'
'aa838f09003c62c2efb5770a8de66f99b409df049fbd65098d80fd1957d06c50'
'a56838d19c3bd820781693b5a2e058e1a22378b37ea199bac426d97fcc420920')
'aa838f09003c62c2efb5770a8de66f99b409df049fbd65098d80fd1957d06c50')
prepare() {
cd texlive-source
@ -67,8 +65,6 @@ prepare() {
sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
# remove spurious ptex "guessed encoding" print
patch -p1 -i ../ptex-debug-print.patch
# update context to work with luatex 1.17
patch -p1 -i ../context-luatex-1.17.patch
}
build() {
@ -145,11 +141,10 @@ package_texlive-bin() {
gcc-libs # libgcc_s.so libstdc++.so
gd # libgd.so
glibc # ld-linux-x86-64.so libc.so libm.so
gmp
graphite libgraphite2.so
harfbuzz libharfbuzz.so
harfbuzz-icu
icu libicui18n.so libicuuc.so
libjpeg
libpaper # libpaper.so
libpng libpng16.so
libsigsegv # libsigsegv.so
@ -163,11 +158,10 @@ package_texlive-bin() {
libxt # libXt.so
mpfr libmpfr.so
ncurses libncursesw.so
perl
pixman libpixman-1.so
poppler
potrace # libpotrace.so
readline libreadline.so
t1lib
zlib libz.so
zziplib) # libzzip-0.so
provides=(lcdf-typetools
@ -186,12 +180,6 @@ package_texlive-bin() {
LD_PRELOAD="$pkgdir"/usr/lib/libkpathsea.so.6 \
make DESTDIR="$pkgdir" texlinks
# install old ConTeXt stubs
cd "$srcdir"/texlive-source
for _stub in `ls texk/texlive/linked_scripts/context/stubs/unix`; do
install -m755 texk/texlive/linked_scripts/context/stubs/unix/$_stub "$pkgdir"/usr/bin/$_stub
done
# remove stuff included in texlive-texmf
rm -r "$pkgdir"/usr/share/texmf-dist

View file

@ -1,22 +0,0 @@
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",