texlive: 20230313 -> 20240312
This commit is contained in:
parent
2bf160fafe
commit
87dca91a2a
21903
texlive/.footprint
21903
texlive/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3zL/QQsLGLk/5Ldg9LZ8ugn/EDc3VGmu/cf41Evljt99wF+2gFslcYTSd9ltDO6la+lp/Y4QJN8m7oZHcOD6qwo=
|
||||
SHA256 (Pkgfile) = 2c09e8fe9e5a9d52e9540dd107a56ddc3e5a6207c08a8fb93d8ddc922ffaabf4
|
||||
SHA256 (.footprint) = e602bcb482c25aa083ecb3b0ccac1e85c59567dfba16a9c8168175649c21f867
|
||||
SHA256 (texlive-20230313-texmf.tar.xz) = 4c4dc77a025acaad90fb6140db2802cdb7ca7a9a2332b5e3d66aa77c43a81253
|
||||
SHA256 (texlive-20230313-source.tar.xz) = 3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9
|
||||
RWSagIOpLGJF35f8Zoly1JB0QVpYnc8kxgbCqBkXhxomJpLSUxI+BISeu00bVgn+l5L6FKvLRrXg0DEagEWNJV2M9AF9Lat2+Ak=
|
||||
SHA256 (Pkgfile) = 470795d3fc9625188e44e3778e35cb408b218231a3841cb7d0af37c1fc4fc971
|
||||
SHA256 (.footprint) = 2a25903d393245061a88e577318473056d6b2504842d0ea78a1b65fb912aa272
|
||||
SHA256 (texlive-20240312-texmf.tar.xz) = c8eae2deaaf51e86d93baa6bbcc4e94c12aa06a0d92893df474cc7d2a012c7a7
|
||||
SHA256 (texlive-20240312-source.tar.xz) = 7b6d87cf01661670fac45c93126bed97b9843139ed510f975d047ea938b6fe96
|
||||
SHA256 (texi2html-5.0.tar.bz2) = e8a98b0ee20c495a6ab894398a065ef580272dbd5a15b1b19e8bd1bc89d9f9fa
|
||||
SHA256 (tabu.sty.diff) = 4811154a91a26752e28ad8e90f198139ab54d724824cff948710295faf37004a
|
||||
|
124
texlive/Pkgfile
124
texlive/Pkgfile
@ -4,8 +4,8 @@
|
||||
# Depends on: clisp ghostscript graphite2 harfbuzz icu libgd libmpfr paper potrace xorg-libxaw xorg-libxi zziplib
|
||||
|
||||
name=texlive
|
||||
version=20230313
|
||||
release=2
|
||||
version=20240312
|
||||
release=1
|
||||
source=(ftp://tug.org/historic/systems/texlive/${version:0:4}/$name-$version-texmf.tar.xz
|
||||
ftp://tug.org/historic/systems/texlive/${version:0:4}/$name-$version-source.tar.xz
|
||||
https://download.savannah.gnu.org/releases/texi2html/texi2html-5.0.tar.bz2
|
||||
@ -28,8 +28,54 @@ unpack_source() {
|
||||
}
|
||||
|
||||
build() {
|
||||
# remove broken symlinks
|
||||
find $SRC -type l -xtype l -exec rm '{}' \+
|
||||
cd $name-$version-source
|
||||
|
||||
# Fix some paths
|
||||
sed -i 's/SELFAUTOPARENT/TEXMFROOT/' texk/tex4htk/t4ht.c
|
||||
sed -i -e 's|TEXMFROOT = .*|TEXMFROOT = $SELFAUTODIR/share|g' \
|
||||
-e 's|TEXMFLOCAL = .*|TEXMFLOCAL = $TEXMFROOT/texmf-local|g' \
|
||||
texk/kpathsea/texmf.cnf
|
||||
sed -i '/AC_SEARCH_LIBS/a KPSE_KPATHSEA_FLAGS' texk/bibtex-x/configure.ac
|
||||
sed -i 's|-lXp ||' texk/xdvik/configure.ac
|
||||
|
||||
|
||||
export TEXMFCNF=""
|
||||
export KPATHSEA_WARNING=0
|
||||
|
||||
rm -r libs/icu libs/graphite2 libs/cairo libs/freetype2 libs/gd libs/gmp libs/harfbuzz libs/libpaper libs/libpng libs/pixman libs/potrace libs/zlib libs/zziplib texk/dvisvgm
|
||||
./reautoconf
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
CFLAGS+=" -Wno-incompatible-pointer-types" \
|
||||
ax_cv_c_float_words_bigendian=no \
|
||||
../configure \
|
||||
--prefix=/usr \
|
||||
--with-banner-add=" $(crux)" \
|
||||
--with-clisp-runtime=system \
|
||||
--enable-{dvipdfm-x,gc=system,ipc,libtool-hack,luatex,makeindexk,pdftex,pdftex-syncex,shared,tex,tex-synctex,texlive,web2c,xetex,xindy} \
|
||||
--with-system-{cairo,freetype2,gd,graphite2,gmp,harfbuzz,icu,libpaper,libpng,mpfr,ncurses,pixman,potrace,t1lib,zlib,zziplib} \
|
||||
--with-x \
|
||||
--with-xdvi-x-toolkit=xaw \
|
||||
--disable-{aleph,all-pkgs,bibtexu,dialog,dump-share,dvi2tty,dvisvgm,largefile,multiplatform,native-texlive-build,pdfopen,ps2pkm,xindy-docs,xindy-rules,xpdfopen,xz}
|
||||
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
cd ..
|
||||
|
||||
perl_sitelib=$(perl -V:sitelib | sed -e "s|sitelib=[']\(.*\)['].*$|\1|")
|
||||
install -d $PKG/$perl_sitelib/TeXLive
|
||||
install texk/tests/TeXLive/TL{Config,Utils}.pm $PKG/$perl_sitelib/TeXLive
|
||||
|
||||
# Fix some paths
|
||||
sed \
|
||||
-e 's|TEXMFROOT = .*|TEXMFROOT = $SELFAUTODIR/share|g' \
|
||||
-e 's|TEXMFLOCAL = .*|TEXMFLOCAL = $TEXMFROOT/texmf-local|g' \
|
||||
-e 's|^OSFONTDIR.*|OSFONTDIR = ~/.fonts:/usr/share/fonts|' \
|
||||
-i $PKG/usr/share/texmf-dist/web2c/texmf.cnf
|
||||
|
||||
# make ConTeXt work, and remove unused settings
|
||||
sed -i \
|
||||
@ -39,51 +85,7 @@ build() {
|
||||
-e '/texmflocal/d' \
|
||||
$PKG/usr/share/texmf-dist/web2c/texmfcnf.lua
|
||||
|
||||
cd $name-$version-source
|
||||
|
||||
chmod -R a-s $SRC
|
||||
|
||||
find $SRC \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Fix some paths
|
||||
sed -i 's/SELFAUTOPARENT/TEXMFROOT/' texk/tex4htk/t4ht.c
|
||||
sed -i 's|TEXMFROOT = .*|TEXMFROOT = $SELFAUTODIR/share|g' texk/kpathsea/texmf.cnf
|
||||
sed -i 's|TEXMFLOCAL = .*|TEXMFLOCAL = $TEXMFROOT/texmf-local|g' texk/kpathsea/texmf.cnf
|
||||
|
||||
export TEXMFCNF=""
|
||||
export KPATHSEA_WARNING=0
|
||||
|
||||
# prevent compiling Xdvi with libXp
|
||||
sed -i 's|-lXp ||' texk/xdvik/configure
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
../configure \
|
||||
--prefix=/usr \
|
||||
--with-banner-add=" $(crux)" \
|
||||
--with-clisp-runtime=system \
|
||||
--enable-{dvipdfm-x,gc=system,libtool-hack,luatex,pdftex,pdftex-syncex,shared,makeindexk,tex,texlive,tex-synctex,web2c,xindy} \
|
||||
--with-system-{cairo,freetype2,gd,graphite2,gmp,harfbuzz,icu,libpaper,libpng,mpfr,ncurses,pixman,potrace,t1lib,zlib,zziplib} \
|
||||
--with-x \
|
||||
--with-xdvi-x-toolkit=xaw \
|
||||
--disable-{all-pkgs,aleph,native-texlive-build,xetex,xindy-docs,xindy-rules}
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
cd ..
|
||||
|
||||
#fmtutil depends on these
|
||||
perl_sitelib=$(perl -V:sitelib | sed -e "s|sitelib=[']\(.*\)['].*$|\1|")
|
||||
install -d $PKG/$perl_sitelib/TeXLive
|
||||
install texk/tests/TeXLive/TL{Config,Utils}.pm $PKG/$perl_sitelib/TeXLive
|
||||
|
||||
# configure fmtutil
|
||||
sed \
|
||||
sed -i \
|
||||
-e 's/^aleph/#! aleph/g' \
|
||||
-e 's/^lamed/#! lamed/g' \
|
||||
-e 's/^amstex/#! amstex/g' \
|
||||
@ -112,26 +114,18 @@ build() {
|
||||
-e 's/^xetex/#! xetex/g' \
|
||||
-e 's/^cslatex/#! cslatex/g' \
|
||||
-e 's/^lollipop/#! lollipop/g' \
|
||||
-i $PKG/usr/share/texmf-dist/web2c/fmtutil.cnf
|
||||
#-e 's/^pdftex/#! pdftex/g' \
|
||||
#-e 's/^pdflatex/#! pdflatex/g' \
|
||||
#-e 's/^luajittex/#! luajittex/g' \
|
||||
#-e 's/^mf/#! mf/g' \
|
||||
$PKG/usr/share/texmf-dist/web2c/fmtutil.cnf
|
||||
|
||||
# Create symlinks
|
||||
# this uses above configuration to create links like $PKG/usr/bin/lualatex for example
|
||||
# without, the engines just won't work like we want
|
||||
PATH="$PKG/usr/bin:$PATH" LD_LIBRARY_PATH+="$PKG/usr/lib:$LD_LIBRARY_PATH" \
|
||||
texlinks -f $PKG/usr/share/texmf-dist/web2c/fmtutil.cnf $PKG/usr/bin
|
||||
|
||||
#cd $SRC/$name-$version-texmf
|
||||
|
||||
# Fix some paths
|
||||
sed \
|
||||
-e 's|TEXMFROOT = .*|TEXMFROOT = $SELFAUTODIR/share|g' \
|
||||
-e 's|TEXMFLOCAL = .*|TEXMFLOCAL = $TEXMFROOT/texmf-local|g' \
|
||||
-e 's|^OSFONTDIR.*|OSFONTDIR = ~/.fonts:/usr/share/fonts|' \
|
||||
-i $PKG/usr/share/texmf-dist/web2c/texmf.cnf
|
||||
# context
|
||||
chmod +x $PKG/usr/share/texmf-dist/scripts/context/lua/mtxrun.lua
|
||||
PATH="$PKG/usr/bin:$PATH" LD_LIBRARY_PATH+="$PKG/usr/lib:$LD_LIBRARY_PATH" \
|
||||
$PKG/usr/share/texmf-dist/scripts/context/lua/mtxrun.lua \
|
||||
--stubpath=$PKG/usr/bin \
|
||||
--unix \
|
||||
--makestubs
|
||||
|
||||
cd $SRC/texi2html-*
|
||||
./configure --prefix=/usr
|
||||
|
Loading…
x
Reference in New Issue
Block a user