aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorPhilip Lacroix <slackph at posteo dot de>2023-01-30 20:54:48 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-04 07:19:52 +0700
commit3a17c00937eb465421cde7783427cd9c02b95792 (patch)
treec8071e92f3d40182081ea30e9aaa719739032e95 /academic
parent7680cfa661395213332387d13f4ccdad93c81886 (diff)
academic/geomview: Updated for version 1.9.5.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/geomview/README6
-rw-r--r--academic/geomview/geomview.SlackBuild53
-rw-r--r--academic/geomview/geomview.info6
-rw-r--r--academic/geomview/slack-desc14
4 files changed, 51 insertions, 28 deletions
diff --git a/academic/geomview/README b/academic/geomview/README
index 07f1a998faa8..2a9865343445 100644
--- a/academic/geomview/README
+++ b/academic/geomview/README
@@ -1,9 +1,9 @@
Geomview is an interactive 3D viewing program for Unix.
-Geomview lets you view and manipulate three-dimensional objects: you
-use the mouse to rotate, translate, zoom in and out, and so on.
+Geomview lets you view and manipulate three-dimensional objects:
+you use the mouse to rotate, translate, zoom in and out, and so on.
Geomview can be used as a standalone viewer for static objects (it
supports a variety of file formats) or as a display engine for other
programs which produce dynamically changing geometry.
-This slackBuild uses the configure option --with-opengl.
+This SlackBuild uses the configure option --with-opengl.
diff --git a/academic/geomview/geomview.SlackBuild b/academic/geomview/geomview.SlackBuild
index 6252b1eec977..546d3fb35796 100644
--- a/academic/geomview/geomview.SlackBuild
+++ b/academic/geomview/geomview.SlackBuild
@@ -2,14 +2,34 @@
# Slackware build script for geomview
-# Written by (Jorge Barros de Abreu)
-# (http://sites.google.com/site/ficmatinf)
+# Copyright 2013 Jorge Barros de Abreu
+# 2013-2022 Maintained by the SBo team
+# 2023 Updated to 1.9.5 by Philip Lacroix <slackph at posteo dot de>
+#
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=geomview
-VERSION=${VERSION:-1.9.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.9.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -21,9 +41,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
@@ -62,10 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-#
-#geomview compilation
-#
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -96,12 +109,22 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
gzip -c -9 $PRGNAM-2 > $PRGNAM.info-2.gz
rm -fr dir figs $PRGNAM-* $PRGNAM )
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# Install documentation.
+PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PRGDOC
cp -a \
doc/figs doc/*.txt doc/*.c doc/*.tcl doc/README* doc/*.gvplot doc/oogltour* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/*.pdf # We already have the html ones
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ $PRGDOC
+#
+# Move plain text files (no troff) to /usr/doc.
+( cd $PKG/usr/man/man3
+ zcat lisp.3gv.gz > $PRGDOC/lisp.txt
+ rm -rf lisp.3gv.gz )
+( cd $PKG/usr/man/man5
+ zcat geomview.5gv.gz > $PRGDOC/geomview.txt
+ zcat oogl.5gv.gz > $PRGDOC/oogl.txt
+ rm -rf geomview.5gv.gz oogl.5gv.gz )
+cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
diff --git a/academic/geomview/geomview.info b/academic/geomview/geomview.info
index 012d8309544c..c8601b3d2ce0 100644
--- a/academic/geomview/geomview.info
+++ b/academic/geomview/geomview.info
@@ -1,8 +1,8 @@
PRGNAM="geomview"
-VERSION="1.9.4"
+VERSION="1.9.5"
HOMEPAGE="http://www.geomview.org"
-DOWNLOAD="http://downloads.sourceforge.net/geomview/geomview-1.9.4.tar.gz"
-MD5SUM="29c7e6d678af7b9968980f92954419bb"
+DOWNLOAD="https://downloads.sourceforge.net/geomview/geomview-1.9.5.tar.gz"
+MD5SUM="98ada147dfcbabca7c48137590e74a85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/academic/geomview/slack-desc b/academic/geomview/slack-desc
index d3d3e3880112..58bedec3677b 100644
--- a/academic/geomview/slack-desc
+++ b/academic/geomview/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
geomview: geomview (3D geometrical package)
geomview:
-geomview: Geomview is an interactive 3D viewing program for Unix.
-geomview: Geomview lets you view and manipulate three-dimensional objects: you
-geomview: use the mouse to rotate, translate, zoom in and out, and so on.
-geomview: Geomview can be used as a standalone viewer for static objects (it
-geomview: supports a variety of file formats) or as a display engine for other
-geomview: programs which produce dynamically changing geometry.
+geomview: Geomview is an interactive 3D viewing program for Unix. It lets you
+geomview: view and manipulate three-dimensional objects: you use the mouse to
+geomview: rotate, translate, zoom in and out, etc. Geomview can be used as a
+geomview: standalone viewer for static objects (it supports a variety of file
+geomview: formats) or as a display engine for other programs which produce
+geomview: dynamically changing geometry.
geomview:
-geomview: homepage: http://www.geomview.org
+geomview: Homepage: http://www.geomview.org
geomview: