summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2019-07-04 07:43:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-04 07:43:33 +0700
commitd2b3906c79e06d8e8f7e8bbb6743acb1fe30abdb (patch)
tree6528c6dba6b980a098b4df59f449464c4c9e3868
parent99e61bf8c45a0c984d6202f72f918032bc99f139 (diff)
downloadslackbuilds-d2b3906c79e06d8e8f7e8bbb6743acb1fe30abdb.tar.gz
academic/scilab: Updated for version 6.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/scilab/README6
-rw-r--r--academic/scilab/scilab.SlackBuild9
-rw-r--r--academic/scilab/scilab.info10
3 files changed, 18 insertions, 7 deletions
diff --git a/academic/scilab/README b/academic/scilab/README
index 61342510b8..300aaf1edf 100644
--- a/academic/scilab/README
+++ b/academic/scilab/README
@@ -5,3 +5,9 @@ enhancement, fluid dynamics simulations, numerical optimization, and
modeling and simulation of explicit and implicit dynamical systems.
MATLAB code, which is similar in syntax, can be converted to Scilab.
Scilab is one of several open source alternatives to MATLAB.
+
+After installing/upgrading, it is a good idea to logout/login again
+to run the updated profile scripts.
+
+If you have issues on upgrading/reinstalling or changing desktop
+environments, try delete/rename $HOME/.Scilab to resolve.
diff --git a/academic/scilab/scilab.SlackBuild b/academic/scilab/scilab.SlackBuild
index bd22d264d9..dba3c52491 100644
--- a/academic/scilab/scilab.SlackBuild
+++ b/academic/scilab/scilab.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Scilab
# Copyright 2011-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
-# Copyright 2018 Edward W. Koenig ,kingbeowulf@gmail.com>
+# Copyright 2018-2019 Edward W. Koenig ,kingbeowulf@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scilab
-VERSION=${VERSION:-6.0.1}
+VERSION=${VERSION:-6.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,6 +70,11 @@ mv $PKG/opt/$PRGNAM/lib/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}
mv $PKG/opt/$PRGNAM/share/mime $PKG/usr/share
mv $PKG/opt/$PRGNAM/share/icons $PKG/usr/share
+# Fix an issue reported here:
+#https://www.linuxquestions.org/questions/slackware-14/how-recover-from-damage-from-slackpkg-%27upgrade%27-scilab-4175656261/page3.html#post6009411
+# Slackware's versions should be plenty new enough.
+mv $PKG/opt/$PRGNAM/lib/thirdparty/redist $PKG/opt/$PRGNAM/lib/thirdparty/NONWORKING_redist
+
# fix issues with .desktop files due to upstream bugs
rm -rf $PKG/opt/$PRGNAM/share/applications
cp -a $CWD/*.desktop $PKG/usr/share/applications
diff --git a/academic/scilab/scilab.info b/academic/scilab/scilab.info
index 35dc5123cb..2e04b16077 100644
--- a/academic/scilab/scilab.info
+++ b/academic/scilab/scilab.info
@@ -1,10 +1,10 @@
PRGNAM="scilab"
-VERSION="6.0.1"
+VERSION="6.0.2"
HOMEPAGE="http://www.scilab.org"
-DOWNLOAD="http://www.scilab.org/download/6.0.1/scilab-6.0.1.bin.linux-i686.tar.gz"
-MD5SUM="84c395da3049619396dfa1b151f70566"
-DOWNLOAD_x86_64="http://www.scilab.org/download/6.0.1/scilab-6.0.1.bin.linux-x86_64.tar.gz"
-MD5SUM_x86_64="f1b36ab08b77dfe62e7d60e2f3a06d51"
+DOWNLOAD="http://www.scilab.org/download/6.0.2/scilab-6.0.2.bin.linux-i686.tar.gz"
+MD5SUM="ace129667674a7292511a242fe6b921d"
+DOWNLOAD_x86_64="http://www.scilab.org/download/6.0.2/scilab-6.0.2.bin.linux-x86_64.tar.gz"
+MD5SUM_x86_64="667cb0789c365beab5c2b0a675ffe98d"
REQUIRES="jdk"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@gmail.com"