summaryrefslogtreecommitdiffstats
path: root/source/t/texlive/texlive.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/t/texlive/texlive.SlackBuild')
-rwxr-xr-xsource/t/texlive/texlive.SlackBuild36
1 files changed, 8 insertions, 28 deletions
diff --git a/source/t/texlive/texlive.SlackBuild b/source/t/texlive/texlive.SlackBuild
index 369a95715..065235c74 100755
--- a/source/t/texlive/texlive.SlackBuild
+++ b/source/t/texlive/texlive.SlackBuild
@@ -2,7 +2,7 @@
# TeXLive build script for Slackware
-# Copyright 2009, 2017 - 2021 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2017 - 2022 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2009 - 2014 Robby Workman, Northport, AL, USA
# Copyright 2016 - 2017 Johannes Schoepfer, Germany
# All rights reserved.
@@ -25,16 +25,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# URL: ftp://tug.org/historic/systems/texlive/
-# Testrelease: ftp://tug.org/texlive/Images/test/
-# Upstream stable fixes: svn://tug.org/texlive/branches/branch2021/Build/source
+# Testrelease: https://tug.org/texlive/Images/test/
+# Upstream stable fixes: svn://tug.org/texlive/branches/branch2022/Build/source
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=texlive
-SOURCEVERSION=${SOURCEVERSION:-20210324}
-TEXMFVERSION=${TEXMFVERSION:-210418}
-VERSION=${VERSION:-2021.$TEXMFVERSION}
-BUILD=${BUILD:-4}
+SOURCEVERSION=${SOURCEVERSION:-20220321}
+TEXMFVERSION=${TEXMFVERSION:-220522}
+VERSION=${VERSION:-2022.$TEXMFVERSION}
+BUILD=${BUILD:-1}
TMP=${TMP:-/tmp}
PKG=$TMP/package-texlive
@@ -77,9 +77,6 @@ cd texlive-$SOURCEVERSION-source || exit 1
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# fixes from stable branch
-cat $CWD/patches/fixes-210420.patch | patch -p1 --verbose || exit 1
-
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
@@ -100,7 +97,6 @@ cd build
--disable-dialog \
--disable-xz \
--with-x \
- --disable-dvisvgm \
--enable-xindy \
--disable-xindy-docs \
--disable-xindy-rules \
@@ -147,14 +143,6 @@ chmod -R u+w,go-w,a+rX-st $PKG
mv $PKG$TEXMFROOT/texmf-dist/linked_scripts/* $PKG/usr/bin
rmdir $PKG$TEXMFROOT/texmf-dist/linked_scripts
-# Remove this if it's a dangling symlink:
-if file $PKG/usr/bin/texdoctk | grep -wq "broken symbolic link" ; then
- rm -f $PKG/usr/bin/texdoctk
-fi
-
-# xindy expects to be executed within $TEXMFROOT/texmf-dist/scripts
-ln -sf $TEXMFROOT/texmf-dist/scripts/xindy/xindy.pl $PKG/usr/bin/xindy
-
# set some paths
sed -i \
-e "s|^TEXMFROOT.*|TEXMFROOT = $TEXMFROOT|" \
@@ -162,14 +150,6 @@ sed -i \
-e "s|^OSFONTDIR.*|OSFONTDIR = ~/.fonts:/usr/share/fonts|" \
$PKG$TEXMFROOT/texmf-dist/web2c/texmf.cnf
-# disable obsolete aleph/lamed/cslatex/pdfcslatex
-sed -i \
- -e 's|^aleph|#! aleph|' \
- -e 's|^lamed|#! lamed|' \
- -e 's|^cslatex|#! cslatex|' \
- -e 's|^pdfcslatex|#! pdfcslatex|' \
- $PKG$TEXMFROOT/texmf-dist/web2c/fmtutil.cnf
-
# make ConTeXt work
sed -i \
-e "s|selfautoparent:|$TEXMFROOT/|g" \
@@ -194,7 +174,7 @@ cp -a ChangeLog README* $PKG/usr/doc/texlive-$VERSION
mv $PKG$TEXMFROOT/texmf-dist/packages.base.gz $PKG/usr/doc/texlive-$VERSION
# Put a symlink to $TEXMFROOT/texmf-dist/doc in our Slackware docdir
-ln -sf $TEXMFROOT/texmf-dist/doc $PKG/usr/doc/texlive-$VERSION/doc
+ln -srf $PKG$TEXMFROOT/texmf-dist/doc $PKG/usr/doc/texlive-$VERSION/doc
# We won't make tlmgr easily available; it's still there, but
# we'll make it harder to void the warranty :-)