summaryrefslogtreecommitdiffstats
path: root/graphics/paraview
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/paraview')
-rw-r--r--graphics/paraview/README9
-rw-r--r--graphics/paraview/paraview.SlackBuild14
-rw-r--r--graphics/paraview/paraview.info14
3 files changed, 19 insertions, 18 deletions
diff --git a/graphics/paraview/README b/graphics/paraview/README
index 021b2bba86..c1edbf8977 100644
--- a/graphics/paraview/README
+++ b/graphics/paraview/README
@@ -8,7 +8,8 @@ processing capabilities.
This SlackBuild, in line with official Paraview releases,
is intended only for 64bit systems.
-Although not recommended, building without MPI (mpich) support
-is possible by setting the relevant variables in the build environment:
-
- MPICH=no sh paraview.SlackBuild
+MPI support requires build time installation of mpich or openmpi,
+both available from SBo but which should not both be installed
+at the same time. In addition, the PV_USE_MPI environment variable
+should be set to "yes" e.g.
+ PV_USE_MPI=yes sh paraview.SlackBuild
diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild
index dc38c62410..67522c97c7 100644
--- a/graphics/paraview/paraview.SlackBuild
+++ b/graphics/paraview/paraview.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for paraview
-# Copyright 2016-2022 Christoph Willing Brisbane, Australia
+# Copyright 2016-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,9 +26,9 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=paraview
SRCNAM=ParaView
-VERSION=${VERSION:-5.10.1}
-SHORT_VERSION=${SHORT_VERSION:-5.10}
-DOC_VERSION=${DOC_VERSION:-5.10.1}
+VERSION=${VERSION:-5.11.2}
+SHORT_VERSION=${SHORT_VERSION:-5.11}
+DOC_VERSION=${DOC_VERSION:-5.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,7 +64,7 @@ else
LIBDIRSUFFIX=""
fi
-mpich="-DPARAVIEW_USE_MPI=ON" ; [ "${MPICH:-yes}" != "yes" ] && mpich=""
+mpi="" ; [ "${PV_USE_MPI:-no}" = "yes" ] && mpi="-DPARAVIEW_USE_MPI=ON"
set -e
@@ -102,7 +102,7 @@ cd build
-DQtTesting_INSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
-DQtTesting_INSTALL_CMAKE_DIR=lib${LIBDIRSUFFIX}/cmake/qttesting \
-DVTK_USE_TK=ON \
- $mpich \
+ $mpi \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -115,7 +115,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CONTRIBUTING* Copyright* License_v1.2.txt README* version.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/ParaViewGettingStarted-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
+cp $CWD/ParaViewGettingStarted-${VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
cp $CWD/ParaViewTutorial-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Tutorial.pdf
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/paraview/paraview.info b/graphics/paraview/paraview.info
index ab48a5fe40..3bbc28f071 100644
--- a/graphics/paraview/paraview.info
+++ b/graphics/paraview/paraview.info
@@ -1,14 +1,14 @@
PRGNAM="paraview"
-VERSION="5.10.1"
+VERSION="5.11.2"
HOMEPAGE="https://www.paraview.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://www.paraview.org/files/v5.10/ParaView-v5.10.1.tar.xz \
- https://www.paraview.org/files/v5.10/ParaViewTutorial-5.10.1.pdf \
- https://www.paraview.org/files/v5.10/ParaViewGettingStarted-5.10.1.pdf"
-MD5SUM_x86_64="0e1463ef95b4661b90e2ef4ea3c5182f \
- 9aa92ec6c1540f2425849c4ffddd158d \
+DOWNLOAD_x86_64="https://www.paraview.org/files/v5.11/ParaView-v5.11.2.tar.xz \
+ https://www.paraview.org/files/v5.11/ParaViewTutorial-5.11.1.pdf \
+ https://www.paraview.org/files/v5.11/ParaViewGettingStarted-5.11.2.pdf"
+MD5SUM_x86_64="b5a13247fec282b8294a28d3101049fb \
+ 9aa92ec6c1540f2425849c4ffddd158d \
392a29c111c5867b51e78bcb83e64198"
-REQUIRES="gdal hdf5 mpich python3-matplotlib Sphinx"
+REQUIRES="gdal hdf5 python3-matplotlib Sphinx"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"