summaryrefslogtreecommitdiff
path: root/office/texlive/texlive.SlackBuild
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds[at]schoepfer[dot]info>2017-06-26 00:40:58 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-01 07:43:20 +0700
commit5a00b0504b5d0a4cad91db8d1f7a618046711e2a (patch)
tree57d49eb94abdd6f6190d519b4bc90667614edde3 /office/texlive/texlive.SlackBuild
parent4ba675e1643bf1787fda0311f08cc7cfc0f63d6a (diff)
downloadslackbuilds-5a00b0504b5d0a4cad91db8d1f7a618046711e2a.tar.gz
office/texlive: Updated for version 2017.170622.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/texlive/texlive.SlackBuild')
-rw-r--r--office/texlive/texlive.SlackBuild22
1 files changed, 8 insertions, 14 deletions
diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild
index 5028a03de3..1c00617eff 100644
--- a/office/texlive/texlive.SlackBuild
+++ b/office/texlive/texlive.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2009-2014 Robby Workman, Northport, AL, USA
-# Copyright 2016 Johannes Schoepfer
+# Copyright 2016-2017 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,9 +28,9 @@
# Testrelease: ftp://tug.org/texlive/Images/test/
PRGNAM=texlive
-SOURCEVERSION=20160523
-VERSION=${VERSION:-2016.161031}
-BUILD=${BUILD:-2}
+SOURCEVERSION=20170520
+VERSION=${VERSION:-2017.170622}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf texlive-$SOURCEVERSION-source
-tar xvf $CWD/texlive-${SOURCEVERSION}b-source.tar.xz
+tar xvf $CWD/texlive-${SOURCEVERSION}-source.tar.xz
cd texlive-$SOURCEVERSION-source
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
@@ -78,8 +78,9 @@ sed -i \
-e 's|^TEXMFLOCAL.*|TEXMFLOCAL = $TEXMFROOT/texmf-local|' \
texk/kpathsea/texmf.cnf
-# Fix a segfault in upmendex, thanks to the lfs-folks.
-patch -Np1 -i $CWD/patches/texlive-20160523b-source-upstream_fixes-1.patch
+# Thanks to the lfs-folks ...
+patch -Np1 -i $CWD/patches/texlive-20170524-source-gcc7-1.patch
+patch -Np1 -i $CWD/patches/texlive-20170524-source-upstream_fixes-2.patch
# --with-system-harfbuzz requires graphite2 (and harfbuzz linked to it)
mkdir build
@@ -135,13 +136,6 @@ tar vxf $CWD/texlive-base-$VERSION.tar.xz -C $PKG/usr/share
chown -R root:root $PKG
chmod -R u+w,go-w,a+rX-st $PKG
-# Move biber binary to $PATH
-case $ARCH in
- "x86_64") mv $PKG/usr/share/texmf-dist/bin/x86_64-linux/biber $PKG/usr/bin ;;
- "i586") mv $PKG/usr/share/texmf-dist/bin/i386-linux/biber $PKG/usr/bin ;;
-esac
-rm -rf $PKG/usr/share/texmf-dist/bin
-
# Remove mpost from shell_escape_commands, http://tug.org/pipermail/tldistro/2016q4/000277.html
sed -i \
-e '/^mpost/d' \