summaryrefslogtreecommitdiffstats
path: root/academic
diff options
context:
space:
mode:
author B. Watson2022-03-08 09:33:38 +0100
committer Willy Sudiarto Raharjo2022-03-09 11:20:42 +0100
commit9028ee796e4c8b132036b8b96a1886e592138095 (patch)
treeb67dffc795cf8700e2703c3843d2b1aa3790a3ef /academic
parent07c6e6c46b99198d7108c3cfd5d0aa4b31427b90 (diff)
downloadslackbuilds-9028ee796e4c8b132036b8b96a1886e592138095.tar.gz
academic/ggobi: Updated for version 2.1.11.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/ggobi/ggobi.SlackBuild28
-rw-r--r--academic/ggobi/ggobi.info6
2 files changed, 17 insertions, 17 deletions
diff --git a/academic/ggobi/ggobi.SlackBuild b/academic/ggobi/ggobi.SlackBuild
index f80fdf72da..61f6523a37 100644
--- a/academic/ggobi/ggobi.SlackBuild
+++ b/academic/ggobi/ggobi.SlackBuild
@@ -4,11 +4,14 @@
# Written by Pedro Mendes pedro@gepasi.org
# hereby put in the public domain
+# 20220308 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to v2.1.11.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ggobi
-VERSION=${VERSION:-2.1.8}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.11}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -20,9 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,9 +57,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
@@ -74,9 +74,6 @@ CFLAGS="$SLKCFLAGS" \
--with-all-plugins \
--build=$ARCH-slackware-linux
-# fix problem with graphviz plugin
-patch -p1 < $CWD/ggobi-2.1.8-graphviz.patch
-
make
make install-strip DESTDIR=$PKG
make ggobirc
@@ -86,10 +83,13 @@ cp ggobirc $PKG/etc/xdg/ggobi/ggobirc
rm -f $PKG/usr/info/dir
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING CPLicense.txt ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20220308 bkw: PDF docs go in the regular doc dir, we don't use /usr/share/doc
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+mv $PKG/usr/share/doc/$PRGNAM/* $PKGDOC
+rm -rf $PKG/usr/share/doc
+cp -a AUTHORS COPYING CPLicense.txt ChangeLog NEWS README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
diff --git a/academic/ggobi/ggobi.info b/academic/ggobi/ggobi.info
index 770af33fa2..b69169c2f4 100644
--- a/academic/ggobi/ggobi.info
+++ b/academic/ggobi/ggobi.info
@@ -1,8 +1,8 @@
PRGNAM="ggobi"
-VERSION="2.1.8"
+VERSION="2.1.11"
HOMEPAGE="http://www.ggobi.org/"
-DOWNLOAD="http://www.ggobi.org/downloads/ggobi-2.1.8.tar.bz2"
-MD5SUM="0b07adffcf4379e819b1a26e4cd60d7b"
+DOWNLOAD="http://ggobi.org/downloads/ggobi-2.1.11.tar.bz2"
+MD5SUM="6e95e987f3a7b3f3d7ac4f4d0cd693e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""