summaryrefslogtreecommitdiffstats
path: root/gis
diff options
context:
space:
mode:
Diffstat (limited to 'gis')
-rw-r--r--gis/GMT/GMT.SlackBuild14
-rw-r--r--gis/GMT/GMT.info12
-rw-r--r--gis/GMT/README3
-rw-r--r--gis/OTB-legacy/OTB-legacy.SlackBuild201
-rw-r--r--gis/OTB-legacy/OTB-legacy.info10
-rw-r--r--gis/OTB-legacy/README18
-rw-r--r--gis/OTB-legacy/doinst.sh (renamed from gis/OTB/doinst.sh)0
-rw-r--r--gis/OTB-legacy/otbSpatialReference.cxx.patch8
-rw-r--r--gis/OTB-legacy/slack-desc19
-rw-r--r--gis/OTB/OTB.SlackBuild97
-rw-r--r--gis/OTB/OTB.info12
-rw-r--r--gis/OTB/README41
-rw-r--r--gis/OTB/otbSpatialReference.cxx.patch8
-rw-r--r--gis/OWSLib/OWSLib.SlackBuild14
-rw-r--r--gis/OWSLib/OWSLib.info12
-rw-r--r--gis/OWSLib/pytz-not-required.patch13
-rw-r--r--gis/SFCGAL-legacy/README16
-rw-r--r--gis/SFCGAL-legacy/SFCGAL-legacy.SlackBuild134
-rw-r--r--gis/SFCGAL-legacy/SFCGAL-legacy.info10
-rw-r--r--gis/SFCGAL-legacy/slack-desc19
-rw-r--r--gis/SFCGAL/README18
-rw-r--r--gis/SFCGAL/SFCGAL.SlackBuild15
-rw-r--r--gis/SFCGAL/SFCGAL.info14
-rw-r--r--gis/SFCGAL/slack-desc2
-rw-r--r--gis/TauDEM/TauDEM.info2
-rw-r--r--gis/eccodes/README21
-rw-r--r--gis/eccodes/eccodes.SlackBuild113
-rw-r--r--gis/eccodes/eccodes.info10
-rw-r--r--gis/eccodes/slack-desc19
-rw-r--r--gis/gdal/README6
-rw-r--r--gis/gdal/gdal.SlackBuild67
-rw-r--r--gis/gdal/gdal.info8
-rw-r--r--gis/geos/geos.SlackBuild13
-rw-r--r--gis/geos/geos.info6
-rw-r--r--gis/google-earth/google-earth.SlackBuild17
-rw-r--r--gis/google-earth/google-earth.info6
-rw-r--r--gis/gpsbabel/gpsbabel.SlackBuild24
-rw-r--r--gis/gpsbabel/gpsbabel.info6
-rw-r--r--gis/gpsd/gpsd.SlackBuild17
-rw-r--r--gis/gpxsee/gpxsee.SlackBuild5
-rw-r--r--gis/gpxsee/gpxsee.info10
-rw-r--r--gis/grass/grass.info2
-rw-r--r--gis/libgeotiff/libgeotiff.SlackBuild22
-rw-r--r--gis/libgeotiff/libgeotiff.info10
-rw-r--r--gis/librttopo/README11
-rw-r--r--gis/librttopo/librttopo.SlackBuild108
-rw-r--r--gis/librttopo/librttopo.info10
-rw-r--r--gis/librttopo/slack-desc19
-rw-r--r--gis/libspatialindex/libspatialindex.SlackBuild47
-rw-r--r--gis/libspatialindex/libspatialindex.info12
-rw-r--r--gis/libspatialindex/slack-desc2
-rw-r--r--gis/libspatialite/README3
-rw-r--r--gis/libspatialite/libspatialite.SlackBuild39
-rw-r--r--gis/libspatialite/libspatialite.info12
-rw-r--r--gis/merkaartor/README8
-rw-r--r--gis/merkaartor/merkaartor.SlackBuild25
-rw-r--r--gis/merkaartor/merkaartor.info4
-rw-r--r--gis/openorienteering-mapper/openorienteering-mapper.info2
-rw-r--r--gis/osgEarth/README4
-rw-r--r--gis/osgEarth/osgEarth.SlackBuild8
-rw-r--r--gis/osgEarth/osgEarth.info8
-rw-r--r--gis/osm-gps-map/osm-gps-map.info2
-rw-r--r--gis/osm2pgsql-legacy/README8
-rw-r--r--gis/osm2pgsql-legacy/osm2pgsql-legacy.SlackBuild119
-rw-r--r--gis/osm2pgsql-legacy/osm2pgsql-legacy.info10
-rw-r--r--gis/osm2pgsql-legacy/slack-desc19
-rw-r--r--gis/osm2pgsql/README3
-rw-r--r--gis/osm2pgsql/osm2pgsql.SlackBuild26
-rw-r--r--gis/osm2pgsql/osm2pgsql.info18
-rw-r--r--gis/osm2pgsql/slack-desc2
-rw-r--r--gis/ossim/README2
-rw-r--r--gis/ossim/ossim.SlackBuild2
-rw-r--r--gis/pdal/README32
-rw-r--r--gis/pdal/README.SBo7
-rw-r--r--gis/pdal/pdal.SlackBuild51
-rw-r--r--gis/pdal/pdal.info14
-rw-r--r--gis/pdal/slack-desc2
-rw-r--r--gis/pgrouting/pgrouting.SlackBuild17
-rw-r--r--gis/pgrouting/pgrouting.info12
-rw-r--r--gis/postgis/doinst.sh9
-rw-r--r--gis/postgis/postgis.SlackBuild22
-rw-r--r--gis/postgis/postgis.info12
-rw-r--r--gis/proj-data/proj-data.SlackBuild4
-rw-r--r--gis/proj-data/proj-data.info6
-rw-r--r--gis/proj/proj.SlackBuild13
-rw-r--r--gis/proj/proj.info6
-rw-r--r--gis/python-pygeos/python-pygeos.SlackBuild4
-rw-r--r--gis/python-pygeos/python-pygeos.info8
-rw-r--r--gis/python3-basemap/python3-basemap.SlackBuild2
-rw-r--r--gis/python3-basemap/python3-basemap.info6
-rw-r--r--gis/python3-cartopy/python3-cartopy.SlackBuild22
-rw-r--r--gis/python3-cartopy/python3-cartopy.info8
-rw-r--r--gis/python3-cftime/README4
-rw-r--r--gis/python3-cftime/python3-cftime.SlackBuild84
-rw-r--r--gis/python3-cftime/python3-cftime.info10
-rw-r--r--gis/python3-cftime/slack-desc19
-rw-r--r--gis/python3-netcdf4-python/README17
-rw-r--r--gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild98
-rw-r--r--gis/python3-netcdf4-python/python3-netcdf4-python.info10
-rw-r--r--gis/python3-netcdf4-python/slack-desc19
-rw-r--r--gis/python3-pyproj/python3-pyproj.SlackBuild10
-rw-r--r--gis/python3-pyproj/python3-pyproj.info8
-rw-r--r--gis/python3-shapely/python3-shapely.SlackBuild43
-rw-r--r--gis/python3-shapely/python3-shapely.info8
-rw-r--r--gis/python3-xarray/python3-xarray.SlackBuild30
-rw-r--r--gis/python3-xarray/python3-xarray.info8
-rw-r--r--gis/pytrainer/pytrainer.SlackBuild11
-rw-r--r--gis/pytrainer/pytrainer.info8
-rw-r--r--gis/qgis/README17
-rw-r--r--gis/qgis/README.Slackware87
-rw-r--r--gis/qgis/qgis.SlackBuild36
-rw-r--r--gis/qgis/qgis.info12
-rw-r--r--gis/qmapshack/proj.patch.gzbin2343 -> 0 bytes
-rw-r--r--gis/qmapshack/qmapshack.SlackBuild6
-rw-r--r--gis/qmapshack/qmapshack.info6
-rw-r--r--gis/rasterio/rasterio.info2
-rw-r--r--gis/saga-gis/README53
-rw-r--r--gis/saga-gis/doinst.sh13
-rw-r--r--gis/saga-gis/saga-gis.SlackBuild97
-rw-r--r--gis/saga-gis/saga-gis.info12
-rw-r--r--gis/survex/README4
-rw-r--r--gis/survex/survex.SlackBuild2
-rw-r--r--gis/survex/survex.info6
-rw-r--r--gis/therion/README68
-rw-r--r--gis/therion/doinst.sh29
-rw-r--r--gis/therion/slack-desc19
-rw-r--r--gis/therion/therion.SlackBuild163
-rw-r--r--gis/therion/therion.info10
-rw-r--r--gis/whitebox-tools/whitebox-tools.info194
-rw-r--r--gis/xplanet/xplanet.SlackBuild13
130 files changed, 2455 insertions, 665 deletions
diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild
index 568865b3f8..b6b7a68a77 100644
--- a/gis/GMT/GMT.SlackBuild
+++ b/gis/GMT/GMT.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=GMT
SRCNAM=gmt
-VERSION=${VERSION:-6.4.0}
+VERSION=${VERSION:-6.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -35,7 +35,7 @@ GSHHG=gshhg
GSHHG_VERSION=${GSHHG_VERSION:-2.3.7}
DCW=dcw
-DCW_VERSION=${DCW_VERSION:-2.1.1}
+DCW_VERSION=${DCW_VERSION:-2.1.2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -115,11 +115,15 @@ cd build
-DLICENSE_RESTRICTED=$LICFLAG \
-DCMAKE_BUILD_TYPE=Release ..
make all
- make docs_man
- make docs_html
make install DESTDIR=$PKG
cd ..
+# Remove unwanted empty dirs
+#rmdir $PKG/usr/doc/GMT-$VERSION/html/_video_thumbnail
+#rmdir $PKG/usr/man/man1/_video_thumbnail
+find $PKG/usr/doc/GMT-$VERSION/html -type d -empty -print0 | xargs -0 -I {} /usr/bin/rmdir "{}"
+find $PKG/usr/man/man1/ -type d -empty -print0 | xargs -0 -I {} /usr/bin/rmdir "{}"
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -127,7 +131,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a BUILDING.md INSTALL.md LICENSE.TXT README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUILDING.md LICENSE.TXT README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/gis/GMT/GMT.info b/gis/GMT/GMT.info
index 9f5f4f68bf..e79c42595d 100644
--- a/gis/GMT/GMT.info
+++ b/gis/GMT/GMT.info
@@ -1,14 +1,14 @@
PRGNAM="GMT"
-VERSION="6.4.0"
+VERSION="6.5.0"
HOMEPAGE="https://www.generic-mapping-tools.org/"
-DOWNLOAD="https://github.com/GenericMappingTools/gmt/releases/download/6.4.0/gmt-6.4.0-src.tar.gz \
+DOWNLOAD="https://github.com/GenericMappingTools/gmt/releases/download/6.5.0/gmt-6.5.0-src.tar.gz \
https://github.com/GenericMappingTools/gshhg-gmt/releases/download/2.3.7/gshhg-gmt-2.3.7.tar.gz \
- https://github.com/GenericMappingTools/dcw-gmt/releases/download/2.1.1/dcw-gmt-2.1.1.tar.gz"
-MD5SUM="4fe162932425feff35b01107b9b427b9 \
+ https://github.com/GenericMappingTools/dcw-gmt/releases/download/2.1.2/dcw-gmt-2.1.2.tar.gz"
+MD5SUM="a03e8d73f73c3804d78a42a3d5fc3dc7 \
8ee2653f9daf84d49fefbf990bbfa1e7 \
- 52644de3c3c720b59961d23d805d3497"
+ b9375db7042963c7649e4f62a81df796"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal netcdf Sphinx"
+REQUIRES="gdal"
MAINTAINER="Cristiano Urban"
EMAIL="cristiano.urban.slack@gmail.com"
diff --git a/gis/GMT/README b/gis/GMT/README
index ab4d83c30a..9146b35d9d 100644
--- a/gis/GMT/README
+++ b/gis/GMT/README
@@ -25,5 +25,8 @@ Other optional dependencies are:
blas
lapack
+Modules documentation can be accessed via the "gmt docs <module_name>"
+command (e.g. gmt docs psxy).
+
For more details refer to the README.md and LICENSE.TXT files contained
into the GMT sources.
diff --git a/gis/OTB-legacy/OTB-legacy.SlackBuild b/gis/OTB-legacy/OTB-legacy.SlackBuild
new file mode 100644
index 0000000000..c502a33de8
--- /dev/null
+++ b/gis/OTB-legacy/OTB-legacy.SlackBuild
@@ -0,0 +1,201 @@
+#!/bin/bash
+
+# SlackBuild script for OTB-legacy
+
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
+# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "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 COPYRIGHT
+# OWNER OR CONTRIBUTORS 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=OTB-legacy
+SRCNAM=OTB
+VERSION=${VERSION:-8.1.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+#Look for other installed versions of Orfeo ToolBox version 8
+#Versions earlier than OTB 8 are not detected
+if [ -d /usr/doc/OTB-8* ]; then
+ echo "*****************************************************************"
+ echo "WARNING: another installation of OTB is found in your system!"
+ echo "If you are trying to update or rebuild your OTB with this script"
+ echo "you must remove previous OTB package installed because OTB-legacy"
+ echo "will conflict with the current installed:"
+ echo "# removepkg OTB"
+ echo "This script will be stopped"
+ echo "*****************************************************************"
+ exit 1
+fi
+#Look for other installed versions of Orfeo ToolBox later than 8.1.2
+if [ -d /usr/doc/OTB-9* ]; then
+ echo "*****************************************************************"
+ echo "WARNING: a later version of OTB is found in your system!"
+ echo "If you are trying to downgrade your OTB with this script"
+ echo "you must remove previous OTB package installed because OTB-legacy"
+ echo "will conflict with the current installed:"
+ echo "# removepkg OTB"
+ echo "This script will be stopped"
+ echo "*****************************************************************"
+ exit 1
+fi
+
+if [ -d /usr/share/cmake-3.28 ]; then
+ # This prevents some cmake warnings in current
+ CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0106=OLD "
+else
+ CMAKE_POLICY=""
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+# Search for optional dependencies
+if pkg-config --exists ompi; then
+ BUILD_MPI="" ; [ "${MPI:-ON}" = "ON" ] && BUILD_MPI="-DOTB_USE_MPI=ON "
+else
+ BUILD_MPI=""
+fi
+
+if pkg-config --exists glfw3; then
+ WITH_GLFW="" ; [ "${GLFW:-ON}" = "ON" ] && WITH_GLFW="-DOTB_USE_GLFW=ON "
+else
+ WITH_GLFW=""
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$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 \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 < $CWD/otbSpatialReference.cxx.patch
+
+sed -i CMakeLists.txt -e "s/message(WARNING/message(STATUS/g"
+
+sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" \
+ CMakeLists.txt \
+ CMake/OTBModuleExternal.cmake \
+ CMake/OTBStandaloneModuleMacros.cmake \
+ CMake/OTBApplicationMacros.cmake
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_EXAMPLES=OFF \
+ -DBUILD_TESTING=OFF \
+ -DOTB_USE_CURL=ON \
+ -DOTB_USE_QWT=ON \
+ -DOTB_USE_GLEW=ON \
+ -DOTB_USE_OPENGL=ON \
+ -DOTB_USE_QT=ON \
+ -DOTB_USE_GLUT=ON \
+ -DOTB_USE_GSL=ON \
+ -DOTB_USE_LIBKML=ON \
+ -DOTB_USE_MUPARSER=ON \
+ -DOTB_USE_OPENCV=ON \
+ -DOTB_USE_OPENMP=ON \
+ -DOTB_USE_SHARK=ON \
+ -DOTB_INSTALL_PYTHON_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \
+ -DOTB_WRAP_PYTHON=ON \
+ -DOTB_INSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \
+ -DGDAL_CONFIG_CHECKING=ON \
+ $BUILD_MPI \
+ $WITH_GLFW \
+ $CMAKE_POLICY \
+ ..
+ make -j 10
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/etc/profile.d
+cat > $PKG/etc/profile.d/otb.csh << EOF
+#!/bin/csh
+# Orfeo ToolBox applications path
+setenv OTB_APPLICATION_PATH /usr/lib${LIBDIRSUFFIX}/otb/applications
+EOF
+cat > $PKG/etc/profile.d/otb.sh << EOF
+#!/bin/sh
+# Orfeo ToolBox applications path
+export OTB_APPLICATION_PATH=/usr/lib${LIBDIRSUFFIX}/otb/applications
+EOF
+
+chmod 0755 $PKG/etc/profile.d/otb.csh
+chmod 0755 $PKG/etc/profile.d/otb.sh
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md RELEASE_NOTES.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/OTB-legacy/OTB-legacy.info b/gis/OTB-legacy/OTB-legacy.info
new file mode 100644
index 0000000000..4cf9d37c32
--- /dev/null
+++ b/gis/OTB-legacy/OTB-legacy.info
@@ -0,0 +1,10 @@
+PRGNAM="OTB-legacy"
+VERSION="8.1.2"
+HOMEPAGE="http://orfeo-toolbox.org/otb/"
+DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/8.1.2/OTB-8.1.2.tar.gz"
+MD5SUM="b9657e08b5a985e46a8442bcdcfd8038"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gdal ITK libkml OpenSceneGraph muParser ossim Shark tinyxml qwt"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/OTB-legacy/README b/gis/OTB-legacy/README
new file mode 100644
index 0000000000..c9423e6105
--- /dev/null
+++ b/gis/OTB-legacy/README
@@ -0,0 +1,18 @@
+ORFEO Toolbox (OTB) is an open source library of image processing
+algorithms.
+OTB is based on the medical image processing library ITK and offers
+particular functionalities for remote sensing image processing in
+general and for high spatial resolution images in particular. Targeted
+algorithms for high resolution optical images (Pleiades, SPOT,
+QuickBird, WorldView, Landsat, Ikonos), hyperspectral sensors
+(Hyperion) or SAR (TerraSarX, ERS, Palsar) are available.
+
+This slackbuild is based on a legacy version of OTB and includes by
+default the satellite image viewer Monteverdi, with access to OTB
+processing, in a single build.
+
+OTB-legacy will be built with support for the following packages if
+they are available at compile time: numpy3, openmpi, glfw3.
+
+Warning: the build fails if Shark is not built against the optional
+dependency cblas that gives the support to ATLAS.
diff --git a/gis/OTB/doinst.sh b/gis/OTB-legacy/doinst.sh
index 19ad22754d..19ad22754d 100644
--- a/gis/OTB/doinst.sh
+++ b/gis/OTB-legacy/doinst.sh
diff --git a/gis/OTB-legacy/otbSpatialReference.cxx.patch b/gis/OTB-legacy/otbSpatialReference.cxx.patch
new file mode 100644
index 0000000000..dbfe4514cb
--- /dev/null
+++ b/gis/OTB-legacy/otbSpatialReference.cxx.patch
@@ -0,0 +1,8 @@
+--- ./Modules/Adapters/GdalAdapters/src/otbSpatialReference.cxx
++++ ./Modules/Adapters/GdalAdapters/src/otbSpatialReference.cxx
+@@ -31,4 +31,5 @@
+ #include <sstream>
+ #include <stdexcept>
++#include <cassert>
+
+ namespace otb
diff --git a/gis/OTB-legacy/slack-desc b/gis/OTB-legacy/slack-desc
new file mode 100644
index 0000000000..17fac3a0ea
--- /dev/null
+++ b/gis/OTB-legacy/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+OTB-legacy: OTB-legacy (image processing library)
+OTB-legacy:
+OTB-legacy: OTB, the ORFEO Toolbox, is a library of image processing algorithms
+OTB-legacy: that offers particular functionalities for remote sensing
+OTB-legacy: in general and for high spatial resolution images in particular.
+OTB-legacy: This package is based on the legacy version that includes the
+OTB-legacy: Graphic User Interface Monteverdi
+OTB-legacy:
+OTB-legacy: Home page: http://orfeo-toolbox.org/otb/
+OTB-legacy:
+OTB-legacy:
diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild
index 00e00ccb97..c71a583df5 100644
--- a/gis/OTB/OTB.SlackBuild
+++ b/gis/OTB/OTB.SlackBuild
@@ -2,6 +2,7 @@
# SlackBuild script for OTB
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -27,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OTB
-VERSION=${VERSION:-7.3.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-9.0.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,14 +41,24 @@ 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
fi
+#Look for installed package OTB-legacy
+if [ -d /usr/doc/OTB-legacy* ]; then
+ echo "*****************************************************************"
+ echo "WARNING: package OTB-legacy is found installed in your system!"
+ echo "OTB and OTB-legacy cannot exist in the same system, please remove"
+ echo "OTB-legacy before running this script if you want to upgrade to a"
+ echo "later version of OTB:"
+ echo "# removepkg OTB-legacy"
+ echo "This script will be stopped"
+ echo "*****************************************************************"
+ exit 1
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,24 +92,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/otbSpatialReference.cxx.patch
+
+sed -i CMakeLists.txt -e "s/message(WARNING/message(STATUS/g"
+
sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" \
CMakeLists.txt \
CMake/OTBModuleExternal.cmake \
CMake/OTBStandaloneModuleMacros.cmake \
CMake/OTBApplicationMacros.cmake
-sed -i '1i\using namespace std;' \
- Modules/ThirdParty/OssimPlugins/src/gdal/*.cpp \
- Modules/ThirdParty/OssimPlugins/src/ossim/*.{h,cpp} \
- Modules/ThirdParty/OssimPlugins/src/ossim/otb/*.cpp \
- Modules/Adapters/OSSIMAdapters/src/*.cxx
-sed -i "s/[{]0.0[}]//" \
- Modules/{Learning,Segmentation,Filtering,Registration}/*/include/*.h \
- Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.h \
- Modules/Core/Transform/include/otbImageToGenericRSOutputParameters.h
-
-MONTEVERDI=${MONTEVERDI:-OFF}
-BUILD_MONTEVERDI="-DOTB_USE_QWT=$MONTEVERDI -DOTB_USE_GLEW=$MONTEVERDI -DOTB_USE_OPENGL=$MONTEVERDI"
-BUILD_QT="-DOTB_USE_QT=${QTGUI:-ON}"
mkdir -p build
cd build
@@ -106,62 +108,55 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_POLICY_DEFAULT_CMP0106=OLD \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_EXAMPLES=OFF \
- -DBUILD_TESTING=OFF \
-DOTB_USE_CURL=ON \
- -DOTB_USE_GLUT=ON \
-DOTB_USE_GSL=ON \
-DOTB_USE_LIBKML=ON \
- -DOTB_USE_MUPARSER=ON \
- -DOTB_USE_OPENCV=ON \
+ -DOTBGroup_Learning=ON \
+ -DOTBGroup_FeaturesExtraction=ON \
+ -DOTB_USE_MUPARSERX=ON \
-DOTB_USE_OPENMP=ON \
-DOTB_USE_SHARK=ON \
-DOTB_INSTALL_PYTHON_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \
-DOTB_WRAP_PYTHON=ON \
- -DOTB_INSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \
-DGDAL_CONFIG_CHECKING=OFF \
- $BUILD_MONTEVERDI \
- $BUILD_QT \
+ -DBUILD_DOCUMENTATION=OFF \
..
-
+ make
make install DESTDIR=$PKG
cd ..
-if [ "$QTGUI" = "OFF" ] ; then
- # otbgui scripts are added but are unusable
- rm $PKG/usr/bin/otbgui_*
-fi
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/etc/profile.d
-cat > $PKG/etc/profile.d/otb.csh << EOF
-#!/bin/csh
-# Orfeo ToolBox applications path
-setenv OTB_APPLICATION_PATH /usr/lib${LIBDIRSUFFIX}/otb/applications
-EOF
-cat > $PKG/etc/profile.d/otb.sh << EOF
-#!/bin/sh
-# Orfeo ToolBox applications path
-export OTB_APPLICATION_PATH=/usr/lib${LIBDIRSUFFIX}/otb/applications
-EOF
-
-chmod 0755 $PKG/etc/profile.d/otb.csh
-chmod 0755 $PKG/etc/profile.d/otb.sh
+
+# Experimental: remove post-install scripts from a no-standard path
+# These scripts should be used to reconfigure the environment if various versions of OTB
+# are installed and/or set the correct Python path in some Linux distributions
+# They do not seem essential and their launch might cause unexpected issues with
+# pkgtool. I think we do not need this
+cp -a $PKG/usr/LICENSE .
+rm -f $PKG/usr/README \
+ $PKG/usr/otbenv.profile \
+ $PKG/usr/recompile_bindings.sh \
+ $PKG/usr/LICENSE
+
+# This no standard directory includes three post-install scripts. We do need them?
+# At the moment we move this directory in /usr/share/otb: users would require these
+# tools for singular contexts
+mv $PKG/usr/tools $PKG/usr/share/otb
+
+# Remove no standard directory /usr/share/doc with superfluous content
+rm -rf $PKG/usr/share/doc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README.md RELEASE_NOTES.txt \
+ README.md RELEASE_NOTES.txt LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-if [ "$MONTEVERDI" = "ON" ] ; then
- cat $CWD/doinst.sh > $PKG/install/doinst.sh
-fi
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/OTB/OTB.info b/gis/OTB/OTB.info
index 5fa635b0e0..7322b947bd 100644
--- a/gis/OTB/OTB.info
+++ b/gis/OTB/OTB.info
@@ -1,10 +1,10 @@
PRGNAM="OTB"
-VERSION="7.3.0"
+VERSION="9.0.0"
HOMEPAGE="http://orfeo-toolbox.org/otb/"
-DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/7.3.0/OTB-7.3.0.tar.gz"
-MD5SUM="8de334b5390c2a529f28fd6de2d54535"
+DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/9.0.0/OTB-9.0.0.tar.gz"
+MD5SUM="b710e6eee6f49d6bae75541fc242cbbb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal ITK libkml OpenSceneGraph muParser ossim Shark tinyxml"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="gdal ITK libkml libsvm muParser muparserx Shark tinyxml"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/OTB/README b/gis/OTB/README
index 092b979a81..1f72146696 100644
--- a/gis/OTB/README
+++ b/gis/OTB/README
@@ -1,18 +1,33 @@
ORFEO Toolbox (OTB) is an open source library of image processing
-algorithms. OTB is based on the medical image processing library
-ITK and offers particular functionalities for remote sensing image
-processing in general and for high spatial resolution images in
-particular. Targeted algorithms for high resolution optical images
-(Pleiades, SPOT, QuickBird, WorldView, Landsat, Ikonos), hyperspectral
-sensors (Hyperion) or SAR (TerraSarX, ERS, Palsar) are available.
+algorithms.
+OTB is based on the medical image processing library ITK and offers
+particular functionalities for remote sensing image processing in
+general and for high spatial resolution images in particular. Targeted
+algorithms for high resolution optical images (Pleiades, SPOT,
+QuickBird, WorldView, Landsat, Ikonos), hyperspectral sensors
+(Hyperion) or SAR (TerraSarX, ERS, Palsar) are available.
-Monteverdi, a satellite image viewer with access to OTB processing,
-will also be built if MONTEVERDI=ON is passed to the script. This will
-require the qwt package to be installed.
-
-A QT application launcher will be built by default. Set QTGUI=OFF
-to disable it (note that disabling Qt support will also disable
-Monteverdi even if MONTEVERDI is set to ON).
+All of OTB's algorithms are accessible from other platforms like
+QGIS, Python, command line, C++, and Monteverdi. Monteverdi is a
+satellite image viewer with access to OTB processing. Until version
+8.1.2, Monteverdi could be included in a single build, but since 9.0.0
+version the image viewer is available only a standalone application.
+If you are interested to the integrated graphic interface, you must
+refer to OTB-legacy package (available in this repository) otherwise
+you have to build and install separately the package Monteverdi.
OTB will be built with support for the following packages if they are
available at compile time: numpy3.
+
+Warnings
+1. The build fails if Shark is not built against the optional
+ dependency cblas that gives the support to ATLAS.
+2. OTB sources in lastest version has changed in several areas and the
+ build could require - at least in some Linux distributions - the
+ launch of post-install scripts to patch the default settings and
+ adapt them to the system environment. This could not be needed in
+ Slackware, but the upgrade is not sufficiently tested in runtime, so
+ please report any issues to the maintainer.
+ You might also consider the installation of the legacy version that
+ is provided by the slackbuild OTB-legacy (v. 8.1.2) that replaces
+ the old OTB package.
diff --git a/gis/OTB/otbSpatialReference.cxx.patch b/gis/OTB/otbSpatialReference.cxx.patch
new file mode 100644
index 0000000000..ee18d7ec78
--- /dev/null
+++ b/gis/OTB/otbSpatialReference.cxx.patch
@@ -0,0 +1,8 @@
+--- ./Modules/Core/Adapters/GdalAdapters/src/otbSpatialReference.cxx
++++ ./Modules/Core/Adapters/GdalAdapters/src/otbSpatialReference.cxx
+@@ -31,4 +31,5 @@
+ #include <sstream>
+ #include <stdexcept>
++#include <cassert>
+
+ namespace otb
diff --git a/gis/OWSLib/OWSLib.SlackBuild b/gis/OWSLib/OWSLib.SlackBuild
index fdc27f9965..afdb8084e9 100644
--- a/gis/OWSLib/OWSLib.SlackBuild
+++ b/gis/OWSLib/OWSLib.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for OWSLib
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -25,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OWSLib
-VERSION=${VERSION:-0.24.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.30.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,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
@@ -78,6 +76,10 @@ find -L . \
-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 {} \;
+
+if [ -x /usr/bin/python3.11 ]; then
+ patch -p1 < $CWD/pytz-not-required.patch
+fi
python3 setup.py install --root=$PKG
@@ -85,7 +87,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS.rst LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/gis/OWSLib/OWSLib.info b/gis/OWSLib/OWSLib.info
index e907627074..09f5fb5be7 100644
--- a/gis/OWSLib/OWSLib.info
+++ b/gis/OWSLib/OWSLib.info
@@ -1,10 +1,10 @@
PRGNAM="OWSLib"
-VERSION="0.24.1"
+VERSION="0.30.0"
HOMEPAGE="https://pypi.python.org/pypi/OWSLib/"
-DOWNLOAD="https://github.com/geopython/OWSLib/archive/0.24.1/OWSLib-0.24.1.tar.gz"
-MD5SUM="f1ebd84931da238128a1245f24de3a39"
+DOWNLOAD="https://github.com/geopython/OWSLib/archive/0.30.0/OWSLib-0.30.0.tar.gz"
+MD5SUM="c2ba9d5fd13b4c8795153e89c0c65322"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-dateutil pytz lxml"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="python3-dateutil pytz python3-lxml"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/OWSLib/pytz-not-required.patch b/gis/OWSLib/pytz-not-required.patch
new file mode 100644
index 0000000000..03471b2d4d
--- /dev/null
+++ b/gis/OWSLib/pytz-not-required.patch
@@ -0,0 +1,13 @@
+python-pytz has been removed from Slackware -current because
+not needed with Python 3.11
+This patch prevents pip check from indicating the lack of
+pytz as dependency required by OWSLib in -current
+--- ./requirements.txt 2024-04-05 23:42:52.864498274 +0200
++++ ./requirements.txt 2024-04-05 23:43:13.322499915 +0200
+@@ -1,6 +1,5 @@
+ dataclasses; python_version < '3.7'
+ lxml
+ python-dateutil>=1.5
+-pytz
+ pyyaml
+ requests>=1.0
diff --git a/gis/SFCGAL-legacy/README b/gis/SFCGAL-legacy/README
new file mode 100644
index 0000000000..b2f3738c10
--- /dev/null
+++ b/gis/SFCGAL-legacy/README
@@ -0,0 +1,16 @@
+SFCGAL is a C++ wrapper library around CGAL, written with the aim of
+supporting ISO 19107:2013 and OGC Simple Features Access 1.2 for 3D
+operations.
+
+OpenSceneGraph is an optional dependency enabled by default if found
+in your system. If you do not need this, pass the environment variable
+to the script:
+ OSG=no ./SFCGAL.SlackBuild
+
+SFCGAL-legacy builds version 1.3.9, the lastest compatible with the
+package CGAL available in this repository. If you keep this version
+of the dependency, you have to install this package.
+
+If you have CGAL5 installed in your system, this package is not
+compatible and you must refer to the slackbuild SFCGAL based on
+greater versions and also available in this repository.
diff --git a/gis/SFCGAL-legacy/SFCGAL-legacy.SlackBuild b/gis/SFCGAL-legacy/SFCGAL-legacy.SlackBuild
new file mode 100644
index 0000000000..565484f417
--- /dev/null
+++ b/gis/SFCGAL-legacy/SFCGAL-legacy.SlackBuild
@@ -0,0 +1,134 @@
+#!/bin/bash
+
+# SlackBuild script for SFCGAL-legacy
+
+# Copyright 2023 Giancarlo Dessi, Cagliari, IT
+# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "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 COPYRIGHT
+# OWNER OR CONTRIBUTORS 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=SFCGAL-legacy
+VERSION=${VERSION:-1.3.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=SFCGAL
+
+WITHOSG="";
+if [[ -f /usr/bin/osgviewer ]] ; then
+ WITHOSG="-DSFCGAL_WITH_OSG=ON" ; [ "${OSG:-yes}" = "no" ] && WITHOSG="";
+fi
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+# This package depends on versions of GCAL earlier than 5.2
+# The build with greater versions starts fine but it will fail during the
+# compilation so we need to detect if there are any incompatible
+# installations in the system
+if [[ -d /usr/lib${LIBDIRSUFFIX}/cmake/CGAL ]] ; then
+ echo "************************* WARNING **************************";
+ echo " CGAL5 found in your system!";
+ echo " SFCGAL-legacy depends on earlier versions of CGAL.";
+ echo "";
+ echo " Please build this package by using the slackbuild SFCGAL";
+ echo " instead of SFCGAL-legacy ad also available in SBo.";
+ echo " This script will be stopped.";
+ echo "************************************************************";
+ exit 1;
+fi
+
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+rm -rf $TMP/$SRCNAM-v$VERSION
+cd $TMP
+tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
+cd $SRCNAM-v$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 \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DSFCGAL_BUILD_EXAMPLES=OFF \
+ -DSFCGAL_BUILD_TESTS=OFF \
+ $WITHOSG \
+ ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
+ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS LICENSE NEWS README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/SFCGAL-legacy/SFCGAL-legacy.info b/gis/SFCGAL-legacy/SFCGAL-legacy.info
new file mode 100644
index 0000000000..e94d01e0b6
--- /dev/null
+++ b/gis/SFCGAL-legacy/SFCGAL-legacy.info
@@ -0,0 +1,10 @@
+PRGNAM="SFCGAL-legacy"
+VERSION="1.3.9"
+HOMEPAGE="https://oslandia.gitlab.io/SFCGAL/"
+DOWNLOAD="https://gitlab.com/Oslandia/SFCGAL/-/archive/v1.3.9/SFCGAL-v1.3.9.tar.gz"
+MD5SUM="99c08d524aff93be0d30a48d821783ae"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="CGAL"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/SFCGAL-legacy/slack-desc b/gis/SFCGAL-legacy/slack-desc
new file mode 100644
index 0000000000..30ee9d1baa
--- /dev/null
+++ b/gis/SFCGAL-legacy/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+SFCGAL-legacy: SFCGAL-legacy (C++ wrapper around CGAL)
+SFCGAL-legacy:
+SFCGAL-legacy: SFCGAL is a C++ wrapper library around CGAL, written with the aim of
+SFCGAL-legacy: supporting ISO 19107:2013 and OGC Simple Features Access 1.2 for 3D
+SFCGAL-legacy: operations.
+SFCGAL-legacy:
+SFCGAL-legacy: This package contains the version 1.3.9, the lastest depending on
+SFCGAL-legacy: old versions of CGAL (earlier than 5)
+SFCGAL-legacy:
+SFCGAL-legacy: homepage: http://www.sfcgal.org
+SFCGAL-legacy:
diff --git a/gis/SFCGAL/README b/gis/SFCGAL/README
index 108487cd23..15c15457ce 100644
--- a/gis/SFCGAL/README
+++ b/gis/SFCGAL/README
@@ -2,4 +2,20 @@ SFCGAL is a C++ wrapper library around CGAL, written with the aim of
supporting ISO 19107:2013 and OGC Simple Features Access 1.2 for 3D
operations.
-OpenSceneGraph is an optional dependency.
+This package contains a version of SFCGAL greater than 1.4.0.
+
+OpenSceneGraph is an optional dependency enabled by default if found
+in your system. If you do not need this, pass the environment variable
+to the script:
+ OSG=no ./SFCGAL.SlackBuild
+
+Warning.
+Since version 1.4.1, SFCGAL depends on CGAL version 5.3 or greater.
+To install or upgrade SFCGAL you must uninstall the package CGAL
+(based on version 4.x) then install CGAL5.
+
+CGAL5 conflicts with CGAL, hence they cannot be installed at the same
+time. Since other packages depends on CGAL versions earlier than 5.0
+you may want to keep a version supported by these. In this case, you
+have to install SFCGAL-legacy, also available in this repository and
+depending on CGAL version 4.x.
diff --git a/gis/SFCGAL/SFCGAL.SlackBuild b/gis/SFCGAL/SFCGAL.SlackBuild
index 0a8fbfd5cb..034f6838bc 100644
--- a/gis/SFCGAL/SFCGAL.SlackBuild
+++ b/gis/SFCGAL/SFCGAL.SlackBuild
@@ -2,6 +2,7 @@
# SlackBuild script for SFCGAL
+# Copyright 2023 Giancarlo Dessi, Cagliari, IT
# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -27,11 +28,16 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SFCGAL
-VERSION=${VERSION:-1.3.9}
+VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+WITHOSG="";
+if [[ -f /usr/bin/osgviewer ]] ; then
+ WITHOSG="-DSFCGAL_WITH_OSG=ON" ; [ "${OSG:-yes}" = "no" ] && WITHOSG="";
+fi
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -40,9 +46,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
@@ -89,10 +92,12 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCGAL_USE_AUTOLINK=ON \
-DSFCGAL_BUILD_EXAMPLES=OFF \
-DSFCGAL_BUILD_TESTS=OFF \
+ $WITHOSG \
..
-
+ make
make install DESTDIR=$PKG
cd ..
diff --git a/gis/SFCGAL/SFCGAL.info b/gis/SFCGAL/SFCGAL.info
index ea04a3e0b8..fe4b2399a9 100644
--- a/gis/SFCGAL/SFCGAL.info
+++ b/gis/SFCGAL/SFCGAL.info
@@ -1,10 +1,10 @@
PRGNAM="SFCGAL"
-VERSION="1.3.9"
-HOMEPAGE="https://oslandia.gitlab.io/SFCGAL/"
-DOWNLOAD="https://gitlab.com/Oslandia/SFCGAL/-/archive/v1.3.9/SFCGAL-v1.3.9.tar.gz"
-MD5SUM="99c08d524aff93be0d30a48d821783ae"
+VERSION="1.5.0"
+HOMEPAGE="https://sfcgal.gitlab.io/SFCGAL/"
+DOWNLOAD="https://gitlab.com/sfcgal/SFCGAL/-/archive/v1.5.0/SFCGAL-v1.5.0.tar.gz"
+MD5SUM="65ce9df8c6168b8498c39b35487b5f66"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="CGAL"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="CGAL5"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/SFCGAL/slack-desc b/gis/SFCGAL/slack-desc
index 6d285edd38..2499033d78 100644
--- a/gis/SFCGAL/slack-desc
+++ b/gis/SFCGAL/slack-desc
@@ -12,7 +12,7 @@ SFCGAL: SFCGAL is a C++ wrapper library around CGAL, written with the aim of
SFCGAL: supporting ISO 19107:2013 and OGC Simple Features Access 1.2 for 3D
SFCGAL: operations.
SFCGAL:
-SFCGAL:
+SFCGAL: This package contains a version of SFCGAL greater than 1.4.0
SFCGAL:
SFCGAL: homepage: http://www.sfcgal.org
SFCGAL:
diff --git a/gis/TauDEM/TauDEM.info b/gis/TauDEM/TauDEM.info
index 13517010cb..104b0a275c 100644
--- a/gis/TauDEM/TauDEM.info
+++ b/gis/TauDEM/TauDEM.info
@@ -1,7 +1,7 @@
PRGNAM="TauDEM"
VERSION="5.2.0"
HOMEPAGE="http://hydrology.usu.edu/taudem/taudem5/index.html"
-DOWNLOAD="https://github.com/dtarb/TauDEM/archive/5MF.0.0.tar.gz"
+DOWNLOAD="https://github.com/dtarb/TauDEM/archive/5MF.0.0/TauDEM-5MF.0.0.tar.gz"
MD5SUM="a2147f6bf880251892aa4ae54886c30d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/gis/eccodes/README b/gis/eccodes/README
new file mode 100644
index 0000000000..b592d858eb
--- /dev/null
+++ b/gis/eccodes/README
@@ -0,0 +1,21 @@
+ecCodes is a package developed by ECMWF which provides an application
+programming interface and a set of tools for decoding and encoding
+messages in the following formats:
+
+ WMO FM-92 GRIB edition 1 and edition 2
+ WMO FM-94 BUFR edition 3 and edition 4
+ WMO GTS abbreviated header (only decoding).
+
+A useful set of command line tools provide quick access to the messages.
+C, Fortran 90 and Python interfaces provide access to the main ecCodes
+functionality.
+
+ecCodes is an evolution of GRIB-API. It is designed to provide the
+user with a simple set of functions to access data from several
+formats with a key/value approach.
+
+netcdf is an optional dependency and support will be compiled in if it
+is installed.
+
+NOTE: for 32bit platforms, the version is locked to 2.29.0 as 32 bit
+support was dropped in version 2.30.0 and above.
diff --git a/gis/eccodes/eccodes.SlackBuild b/gis/eccodes/eccodes.SlackBuild
new file mode 100644
index 0000000000..aac4868d11
--- /dev/null
+++ b/gis/eccodes/eccodes.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for eccodes
+
+# Copyright 2023-2024 Gregory J. L. Tourte <artourter@gmail.com>
+# 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=eccodes
+VERSION=${VERSION:-2.34.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+if [[ ${TESTBUILD:='NO'} == 'NO' ]]; then
+ TESTBUILDFLAGS='-DENABLE_TESTS=OFF'
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION-Source
+tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz
+cd $PRGNAM-$VERSION-Source
+chown -R root:root .
+find -L . \
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -Deccodes_FULL_INSTALL_LIB_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DENABLE_AEC=ON \
+ -DENABLE_PNG=ON \
+ -DENABLE_ECCODES_OMP_THREADS=ON \
+ $TESTBUILDFLAGS \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+
+ make
+ [[ $TESTBUILD == "YES" ]] && make test
+ make install/strip DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -m 644 \
+ AUTHORS ChangeLog LICENSE NEWS NOTICE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/eccodes/eccodes.info b/gis/eccodes/eccodes.info
new file mode 100644
index 0000000000..2beec3783e
--- /dev/null
+++ b/gis/eccodes/eccodes.info
@@ -0,0 +1,10 @@
+PRGNAM="eccodes"
+VERSION="2.34.1"
+HOMEPAGE="https://confluence.ecmwf.int/display/ECC"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.34.1-Source.tar.gz"
+MD5SUM_x86_64="e87736db962053828e09d81610c2de93"
+REQUIRES="libaec"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/eccodes/slack-desc b/gis/eccodes/slack-desc
new file mode 100644
index 0000000000..b176003cbe
--- /dev/null
+++ b/gis/eccodes/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+eccodes: eccodes (ECMWF encoding/decoding library for GRIB, BUFR and GTS)
+eccodes:
+eccodes: ecCodes is a package developed by ECMWF which provides an application
+eccodes: programming interface and a set of tools for decoding and encoding
+eccodes: messages WMO FM-92 GRIB edition 1 and edition 2, WMO FM-94 BUFR
+eccodes: edition 3 and edition 4, and WMO GTS abbreviated header (only
+eccodes: decoding).
+eccodes:
+eccodes: ecCodes is an evolution of GRIB-API. It is designed to provide the
+eccodes: user with a simple set of functions to access data from several
+eccodes: formats with a key/value approach.
diff --git a/gis/gdal/README b/gis/gdal/README
index 296eb8edf3..ba3dc22097 100644
--- a/gis/gdal/README
+++ b/gis/gdal/README
@@ -10,8 +10,7 @@ provides a similar capability for simple features vector data.
The following optional requirements are detected automatically:
- freexl, hdf, hdf5, libkml, netcdf, postgresql, xerces-c,
- libspatialite, SFCGAL, libheif
+ hdf, postgresql, SFCGAL, libheif
To enable OpenCL GPU-accelerated performance, specify the option
OPENCL=yes (requires either nvidia-driver or amd-app-sdk with
@@ -22,4 +21,5 @@ ant).
By default, the script does not build nor run the tests. You can use the
option TESTBUILD=YES to build and run the tests before the make install
-part.
+part. Tests are only present for the java bindings to this options does
+nothing is the java bindings are not build.
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 75f0751282..b772003aad 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -5,7 +5,7 @@
# Copyright 2009 Marco Cecchetti <mrc.ild@gmail.com>
# Copyright 2010-2018 David Spencer <baildon.research@googlemail.com>
# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2024 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gdal
-VERSION=${VERSION:-3.5.2}
+VERSION=${VERSION:-3.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +42,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
@@ -82,16 +79,16 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
WITHLIST=""
# Request OpenCL support:
if [ ${OPENCL:-no} = "yes" ]; then
WITHLIST+=" -DGDAL_USE_OPENCL=ON"
+else
+ WITHLIST+=" -DGDAL_USE_OPENCL=OFF"
fi
# Build JAVA bindings:
@@ -101,7 +98,6 @@ fi
mkdir build
-# The MYSQL_INCLUDE_DIR is for the newer mariadb (thanks pprkut!)
( cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
@@ -114,10 +110,55 @@ mkdir build
-DCMAKE_INSTALL_MANDIR=man \
-DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
-DBUILD_CSHARP_BINDINGS:BOOL=OFF \
+ -DBUILD_PYTHON_BINDINGS:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=ON \
- -DMYSQL_INCLUDE_DIR=/usr/include/mysql/server \
- -DGDAL_USE_GEOTIFF_INTERNAL=ON \
- -DGDAL_USE_TIFF_INTERNAL=ON \
+ -DGDAL_USE_ARCHIVE:BOOL=ON \
+ -DGDAL_USE_CFITSIO:BOOL=ON \
+ -DGDAL_USE_CRYPTOPP:BOOL=ON \
+ -DGDAL_USE_CURL:BOOL=ON \
+ -DGDAL_USE_EXPAT:BOOL=ON \
+ -DGDAL_USE_EXTERNAL_LIBS:BOOL=ON \
+ -DGDAL_USE_FREEXL:BOOL=ON \
+ -DGDAL_USE_GEOS:BOOL=ON \
+ -DGDAL_USE_GEOTIFF:BOOL=ON \
+ -DGDAL_USE_GEOTIFF_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_GIF:BOOL=ON \
+ -DGDAL_USE_GIF_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_HDF5:BOOL=ON \
+ -DGDAL_USE_ICONV:BOOL=ON \
+ -DGDAL_USE_JPEG:BOOL=ON \
+ -DGDAL_USE_JPEG12_INTERNAL:BOOL=ON \
+ -DGDAL_USE_JPEG_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_JSONC:BOOL=ON \
+ -DGDAL_USE_JSONC_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_LERC_INTERNAL:BOOL=ON \
+ -DGDAL_USE_LIBAEC:BOOL=ON \
+ -DGDAL_USE_LIBLZMA:BOOL=ON \
+ -DGDAL_USE_LIBXML2:BOOL=ON \
+ -DGDAL_USE_LZ4:BOOL=ON \
+ -DGDAL_USE_MYSQL:BOOL=ON \
+ -DGDAL_USE_NETCDF:BOOL=ON \
+ -DGDAL_USE_OPENCAD_INTERNAL:BOOL=ON \
+ -DGDAL_USE_OPENEXR:BOOL=ON \
+ -DGDAL_USE_OPENJPEG:BOOL=ON \
+ -DGDAL_USE_OPENSSL:BOOL=ON \
+ -DGDAL_USE_PCRE2:BOOL=ON \
+ -DGDAL_USE_PNG:BOOL=ON \
+ -DGDAL_USE_PNG_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_PODOFO:BOOL=ON \
+ -DGDAL_USE_POPPLER:BOOL=ON \
+ -DGDAL_USE_PUBLICDECOMPWT:BOOL=OFF \
+ -DGDAL_USE_QHULL_INTERNAL:BOOL=ON \
+ -DGDAL_USE_SHAPELIB_INTERNAL:BOOL=ON \
+ -DGDAL_USE_SPATIALITE:BOOL=ON \
+ -DGDAL_USE_SQLITE3:BOOL=ON \
+ -DGDAL_USE_TIFF:BOOL=ON \
+ -DGDAL_USE_TIFF_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_WEBP:BOOL=ON \
+ -DGDAL_USE_XERCESC:BOOL=ON \
+ -DGDAL_USE_ZLIB:BOOL=ON \
+ -DGDAL_USE_ZLIB_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_ZSTD:BOOL=ON \
$WITHLIST \
$TESTBUILDFLAGS \
-DCMAKE_BUILD_TYPE=Release \
diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info
index 41bfbdbf15..70e6cd04c3 100644
--- a/gis/gdal/gdal.info
+++ b/gis/gdal/gdal.info
@@ -1,10 +1,10 @@
PRGNAM="gdal"
-VERSION="3.5.2"
+VERSION="3.8.5"
HOMEPAGE="https://www.gdal.org/"
-DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.5.2/gdal-3.5.2.tar.gz"
-MD5SUM="d37a0704b559fdf467c5054e3b5cf167"
+DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.8.5/gdal-3.8.5.tar.gz"
+MD5SUM="1e192b50698c11c8a3c5c223343cb86d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geos proj"
+REQUIRES="xerces-c libkml netcdf libspatialite podofo libgeotiff"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"
diff --git a/gis/geos/geos.SlackBuild b/gis/geos/geos.SlackBuild
index 02cf55b0f7..1e679546fa 100644
--- a/gis/geos/geos.SlackBuild
+++ b/gis/geos/geos.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for geos
# Written by Kyle Guinn <elyk03@gmail.com>
# Maintained 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2023 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=geos
-VERSION=${VERSION:-3.11.0}
+VERSION=${VERSION:-3.12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,10 +79,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
mkdir -p build
(
@@ -91,6 +89,7 @@ mkdir -p build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
-DCMAKE_INSTALL_MANDIR=/usr/man \
$TESTBUILDFLAGS \
-DCMAKE_BUILD_TYPE=Release \
@@ -105,7 +104,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS CODE_OF_CONDUCT.md COPYING DEVELOPER-NOTES.md NEWS.md README.md release.md \
+ AUTHORS CODE_OF_CONDUCT.md COPYING DEVELOPER-NOTES.md NEWS.md README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/geos/geos.info b/gis/geos/geos.info
index 3093640d76..40eaaee3ed 100644
--- a/gis/geos/geos.info
+++ b/gis/geos/geos.info
@@ -1,8 +1,8 @@
PRGNAM="geos"
-VERSION="3.11.0"
+VERSION="3.12.1"
HOMEPAGE="https://libgeos.org/"
-DOWNLOAD="https://download.osgeo.org/geos/geos-3.11.0.tar.bz2"
-MD5SUM="3978c4e9eb880083ad69f5384d043c72"
+DOWNLOAD="https://download.osgeo.org/geos/geos-3.12.1.tar.bz2"
+MD5SUM="36d16fbea7e923c50b33ddb83516c36e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/gis/google-earth/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild
index 82bc06cb7a..65011400a6 100644
--- a/gis/google-earth/google-earth.SlackBuild
+++ b/gis/google-earth/google-earth.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2007-2013 Michiel van Wessem, Manchester, United Kingdom
# Copyright 2016-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# Copyright 2021 Lenard Spencer, Orlando, Florida, USA
+# Copyright 2021-2022 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -33,7 +33,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=google-earth
-VERSION=${VERSION:-7.3.4}
+VERSION=${VERSION:-7.3.6.9796}
+SHORTVER=${SHORTVER:-7.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,16 +68,11 @@ fi
# No flags/configure needed as it is just a binary repackaging.
set -e
-FULLVERSION=$(ar p google-earth-pro-stable_${VERSION}_${SRCARCH}.deb control.tar.xz 2> /dev/null | tar JxO ./control 2> /dev/null | grep Version | awk '{print $2}' | cut -d- -f1)
-if [ -z "$FULLVERSION" ]; then # try to use control.tar.gz instead:
- FULLVERSION=$(ar p google-earth-pro-stable_${VERSION}_${SRCARCH}.deb control.tar.gz 2> /dev/null | tar zxO ./control 2> /dev/null | grep Version | awk '{print $2}' | cut -d- -f1)
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/google-earth-pro-stable_${VERSION}_${SRCARCH}.deb data.tar.xz | tar xJv
+ar p $CWD/google-earth-pro-stable_${SHORTVER}_${SRCARCH}.deb data.tar.xz | tar xJv
cd $PKG
chown -R root:root .
# Fix Google braindeadness (and mine)
@@ -93,10 +89,13 @@ find -L . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) -exec chmod 0644
# Install a .desktop launcher:
mv $PKG/opt/google/earth/pro/google-earth-pro.desktop $PKG/usr/share/applications/google-earth.desktop
+# Clean up .desktop to satisfy sbopkglint:
+sed -i '/MultipleArgs/d' $PKG/usr/share/applications/google-earth.desktop
+sed -i "s|Application;||" $PKG/usr/share/applications/google-earth.desktop
# Copy icons to /usr/share/icons
for icon in 16 22 24 32 48 64 128 256; do
- install -D $PKG/opt/google/earth/pro/product_logo_${icon}.png \
+ install -m 644 -D $PKG/opt/google/earth/pro/product_logo_${icon}.png \
$PKG/usr/share/icons/hicolor/${icon}x${icon}/apps/${PRGNAM}-pro.png
done
diff --git a/gis/google-earth/google-earth.info b/gis/google-earth/google-earth.info
index 5eb8fed5ea..7223999e97 100644
--- a/gis/google-earth/google-earth.info
+++ b/gis/google-earth/google-earth.info
@@ -1,10 +1,10 @@
PRGNAM="google-earth"
-VERSION="7.3.4"
+VERSION="7.3.6.9796"
HOMEPAGE="https://www.google.com/earth/index.html"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://dl.google.com/dl/linux/direct/google-earth-pro-stable_7.3.4_amd64.deb"
-MD5SUM_x86_64="c1e565ab19b59299ad48781dbba7a872"
+DOWNLOAD_x86_64="https://dl.google.com/dl/linux/direct/google-earth-pro-stable_7.3.6_amd64.deb"
+MD5SUM_x86_64="3e8fb2549222e87d4cbfe92bec068900"
REQUIRES=""
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"
diff --git a/gis/gpsbabel/gpsbabel.SlackBuild b/gis/gpsbabel/gpsbabel.SlackBuild
index 06e3336140..1a31df9ad0 100644
--- a/gis/gpsbabel/gpsbabel.SlackBuild
+++ b/gis/gpsbabel/gpsbabel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gpsbabel
-# Copyright 2017-2022 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2017-2024 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gpsbabel
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.9.0}
SRCVER=${PRGNAM}_$(echo ${VERSION} | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,10 +45,10 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS COPYING README*"
+DOCS="AUTHORS COPYING README* SECURITY.md"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -87,17 +87,17 @@ sed -i \
# Resize the icon from 500x476 to 512x512. Thanks to Arch.
convert gui/images/appicon.png +set date:create +set date:modify -background none -gravity center -extent 512x512 gui/images/appicon.png
-qmake-qt5 \
- WITH_LIBUSB=pkgconfig \
- WITH_ZLIB=pkgconfig \
- QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
- QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \
-
+cmake \
+ -DGPSBABEL_WITH_LIBUSB=pkgconfig \
+ -DGPSBABEL_WITH_ZLIB=pkgconfig \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ .
make
-make gui
install -D -m0755 -s gpsbabel $PKG/usr/bin/gpsbabel
-install -D -m0755 -s gui/objects/gpsbabelfe $PKG/usr/bin/gpsbabelfe
+install -D -m0755 -s gui/GPSBabelFE/gpsbabelfe $PKG/usr/bin/gpsbabelfe
install -D -m0644 gui/gpsbabel.desktop $PKG/usr/share/applications/gpsbabel.desktop
install -D -m0644 gui/images/appicon.png $PKG/usr/share/icons/hicolor/512x512/apps/gpsbabel.png
diff --git a/gis/gpsbabel/gpsbabel.info b/gis/gpsbabel/gpsbabel.info
index 6b03daff1d..dc5540f636 100644
--- a/gis/gpsbabel/gpsbabel.info
+++ b/gis/gpsbabel/gpsbabel.info
@@ -1,8 +1,8 @@
PRGNAM="gpsbabel"
-VERSION="1.8.0"
+VERSION="1.9.0"
HOMEPAGE="https://www.gpsbabel.org/"
-DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_8_0/gpsbabel-gpsbabel_1_8_0.tar.gz"
-MD5SUM="00d09b95a05d85622d38de5b0963e2bc"
+DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_9_0/gpsbabel-gpsbabel_1_9_0.tar.gz"
+MD5SUM="8555b7b4c89fbae832451ed0679e04f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/gis/gpsd/gpsd.SlackBuild b/gis/gpsd/gpsd.SlackBuild
index 511d0a2986..f2befd6211 100644
--- a/gis/gpsd/gpsd.SlackBuild
+++ b/gis/gpsd/gpsd.SlackBuild
@@ -22,11 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230629 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - /usr/sbin/gpsinit was missing +x permission.
+# - rm generic INSTALL from doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gpsd
VERSION=${VERSION:-3.18.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +42,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
@@ -97,9 +98,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 {} + || true
# g++ may throw an 'internal compiler error' in the QT bindings.
# *Nothing* actually uses this, but you can enable it by deleting
@@ -124,7 +125,7 @@ scons \
# Fix daft permission from upstream
chmod 755 $PKG/usr/bin/gpsprof
# Add a missed file
-install -m 0644 gpsinit \
+install -m 0755 gpsinit \
$PKG/usr/sbin/gpsinit
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -157,7 +158,7 @@ install -D -m 0644 $CWD/rc.gpsd.conf.new \
$PKG/etc/rc.d/rc.gpsd.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README TODO build.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING README TODO build.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild
index 94991d71fb..be7b61c536 100644
--- a/gis/gpxsee/gpxsee.SlackBuild
+++ b/gis/gpxsee/gpxsee.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for GPXSee
-# Copyright 2018-2020, Nikolay Korotkiy <sikmir@gmail.com>
+# Copyright 2018-2024, Nikolay Korotkiy <sikmir@gmail.com>
+# Copyright 2024 since version 13.18 titopoquito <titopoquito@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gpxsee
-VERSION=${VERSION:-7.28}
+VERSION=${VERSION:-13.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/gpxsee/gpxsee.info b/gis/gpxsee/gpxsee.info
index af460bebc4..2fca84e828 100644
--- a/gis/gpxsee/gpxsee.info
+++ b/gis/gpxsee/gpxsee.info
@@ -1,10 +1,10 @@
PRGNAM="gpxsee"
-VERSION="7.28"
+VERSION="13.18"
HOMEPAGE="https://www.gpxsee.org/"
-DOWNLOAD="https://github.com/tumic0/GPXSee/archive/7.28/GPXSee-7.28.tar.gz"
-MD5SUM="4c1ba8939e569c6503b510b54dfa7e3e"
+DOWNLOAD="https://github.com/tumic0/GPXSee/archive/13.18/GPXSee-13.18.tar.gz"
+MD5SUM="edd35b435e1d1c1b6f89688927d56248"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Nikolay Korotkiy"
-EMAIL="sikmir@gmail.com"
+MAINTAINER="titopoquito"
+EMAIL="titopoquito@gmail.com"
diff --git a/gis/grass/grass.info b/gis/grass/grass.info
index 6cf10ee75f..c636164541 100644
--- a/gis/grass/grass.info
+++ b/gis/grass/grass.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://grass.osgeo.org/grass78/source/grass-7.8.0.tar.gz"
MD5SUM="e9b9d3bbbfe3ef9055ea1398b2222de4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal numpy3 wxPython4"
+REQUIRES="gdal python3-numpy wxPython4"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/gis/libgeotiff/libgeotiff.SlackBuild b/gis/libgeotiff/libgeotiff.SlackBuild
index 48920ba8cf..e090ebf422 100644
--- a/gis/libgeotiff/libgeotiff.SlackBuild
+++ b/gis/libgeotiff/libgeotiff.SlackBuild
@@ -3,6 +3,9 @@
# Slackware build script for libgeotiff
# Copyright 2009 Marco Cecchetti (mrc.ildp@gmail.com)
+# Previously maintained by David Spencer <baildon.research@googlemail.com>
+# Copyright 2024 Gregory J. L. Tourte <artourter@gmail.com>
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +25,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Maintained by David Spencer <baildon.research@googlemail.com>
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libgeotiff
-VERSION=${VERSION:-1.5.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.7.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,10 +78,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# We'll stick with autotools because the new cmake build is a train wreck.
# This means you don't get inline EPSG CSV, which isn't supported in
@@ -95,9 +95,9 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--localstatedir=/var \
--mandir=/usr/man \
--datadir=/usr/share \
- --infodir=/usr/info \
--with-zlib=yes \
--with-jpeg=yes \
+ --with-proj=yes \
--disable-static \
--build=$ARCH-slackware-linux
@@ -115,14 +115,10 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING ChangeLog LICENSE README \
+ ChangeLog COPYING LICENSE NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/gis/libgeotiff/libgeotiff.info b/gis/libgeotiff/libgeotiff.info
index 3fdc00c1b6..65f30498dd 100644
--- a/gis/libgeotiff/libgeotiff.info
+++ b/gis/libgeotiff/libgeotiff.info
@@ -1,10 +1,10 @@
PRGNAM="libgeotiff"
-VERSION="1.5.1"
+VERSION="1.7.1"
HOMEPAGE="http://trac.osgeo.org/geotiff/"
-DOWNLOAD="http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.5.1.tar.gz"
-MD5SUM="6d0fa650c206791bc7d5e60ef625ea77"
+DOWNLOAD="http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.7.1.tar.gz"
+MD5SUM="22879ac6f83460605f9c39147a2ccc7a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="proj"
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/librttopo/README b/gis/librttopo/README
new file mode 100644
index 0000000000..87f86ced7a
--- /dev/null
+++ b/gis/librttopo/README
@@ -0,0 +1,11 @@
+The RT Topology Library exposes an API to create and manage standard
+(ISO 13249 aka SQL/MM) topologies using user-provided data stores and
+released under the GNU GPL license (version 2 or later).
+
+The code is derived from PostGIS liblwgeom library enhanced to provide
+thread-safety, have less dependencies and be independent from PostGIS
+release cycles.
+
+The RT Topology Library was funded by "Regione Toscana - SITA" (CIG:
+6445512CC1), which also funded many improvements in the originating
+liblwgeom.
diff --git a/gis/librttopo/librttopo.SlackBuild b/gis/librttopo/librttopo.SlackBuild
new file mode 100644
index 0000000000..569c9ec8ab
--- /dev/null
+++ b/gis/librttopo/librttopo.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for librttopo
+
+# Copyright 2023 Gregory J. L. Tourte <artourter@gmail.com>
+# 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=librttopo
+VERSION=${VERSION:-1.1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find -L . \
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+./autogen.sh
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING CREDITS NEWS.md README.md TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/librttopo/librttopo.info b/gis/librttopo/librttopo.info
new file mode 100644
index 0000000000..3f6a201e7e
--- /dev/null
+++ b/gis/librttopo/librttopo.info
@@ -0,0 +1,10 @@
+PRGNAM="librttopo"
+VERSION="1.1.0"
+HOMEPAGE="https://git.osgeo.org/gitea/rttopo/librttopo/"
+DOWNLOAD="https://git.osgeo.org/gitea/rttopo/librttopo/archive/librttopo-1.1.0.tar.gz"
+MD5SUM="0952b78943047ca69a9e6cbef6146869"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="geos"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/librttopo/slack-desc b/gis/librttopo/slack-desc
new file mode 100644
index 0000000000..2db6351e2b
--- /dev/null
+++ b/gis/librttopo/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+librttopo: librttopo (RT Topology Library)
+librttopo:
+librttopo: The RT Topology Library exposes an API to create and manage standard
+librttopo: (ISO 13249 aka SQL/MM) topologies using user-provided data stores.
+librttopo: The code is derived from PostGIS liblwgeom library enhanced to provide
+librttopo: thread-safety, have less dependencies and be independent from PostGIS
+librttopo: release cycles.
+librttopo: The RT Topology Library was funded by "Regione Toscana - SITA"
+librttopo: (CIG: 6445512CC1), which also funded many improvements in the
+librttopo: originating liblwgeom.
+librttopo:
diff --git a/gis/libspatialindex/libspatialindex.SlackBuild b/gis/libspatialindex/libspatialindex.SlackBuild
index 1880404756..c7471bbed3 100644
--- a/gis/libspatialindex/libspatialindex.SlackBuild
+++ b/gis/libspatialindex/libspatialindex.SlackBuild
@@ -1,7 +1,9 @@
#!/bin/bash
# Slackware build script for libspatialindex
+#
# Copyright 2012 Alexander Bruy <alexander.bruy@gmail.com>
+# Copyright 2023 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +26,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libspatialindex
-TARBALLNAME=spatialindex
-VERSION=${VERSION:-1.7.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.9.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=spatialindex
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -38,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
@@ -69,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$TARBALLNAME-src-$VERSION.tar.bz2
-cd $TARBALLNAME-src-$VERSION
+rm -rf $SRCNAM-src-$VERSION
+tar xjvf $CWD/$SRCNAM-src-$VERSION.tar.bz2
+cd $SRCNAM-src-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -79,30 +79,25 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL INSTALL.WIN NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/gis/libspatialindex/libspatialindex.info b/gis/libspatialindex/libspatialindex.info
index add4a3cdb9..7ec4edc0f2 100644
--- a/gis/libspatialindex/libspatialindex.info
+++ b/gis/libspatialindex/libspatialindex.info
@@ -1,10 +1,10 @@
PRGNAM="libspatialindex"
-VERSION="1.7.1"
-HOMEPAGE="http://libspatialindex.github.com/"
-DOWNLOAD="http://download.osgeo.org/libspatialindex/spatialindex-src-1.7.1.tar.bz2"
-MD5SUM="15e5fcff393a56ab9aa7553e4a9cd64a"
+VERSION="1.9.3"
+HOMEPAGE="https://libspatialindex.github.io/"
+DOWNLOAD="https://github.com/libspatialindex/libspatialindex/releases/download/1.9.3/spatialindex-src-1.9.3.tar.bz2"
+MD5SUM="db89182e1ac9cb12a88db958de2797df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Alexander Bruy"
-EMAIL="alexander.bruy@gmail.com"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/gis/libspatialindex/slack-desc b/gis/libspatialindex/slack-desc
index 9056eb9703..361862a004 100644
--- a/gis/libspatialindex/slack-desc
+++ b/gis/libspatialindex/slack-desc
@@ -11,7 +11,7 @@ libspatialindex:
libspatialindex: This library provides and An extensible framework that will support
libspatialindex: robust spatial indexing methods and sophisticated spatial queries.
libspatialindex:
-libspatialindex: Homepage: http://libspatialindex.github.com/
+libspatialindex: Homepage: http://libspatialindex.github.io/
libspatialindex:
libspatialindex:
libspatialindex:
diff --git a/gis/libspatialite/README b/gis/libspatialite/README
index af798dbacc..0a58e0d43e 100644
--- a/gis/libspatialite/README
+++ b/gis/libspatialite/README
@@ -4,6 +4,3 @@ is smoothly integrated into SQLite to provide a complete and powerful
Spatial DBMS (mostly OGC-SFS compliant). Using SQLite + SpatiaLite you
can effectively deploy an alternative open source Spatial DBMS roughly
equivalent to PostgreSQL + PostGIS.
-
-liblwgeom (postgis) is optional but strongly recommended
-dependency. To build spatialite with liblwgeom support set LWGEOM=yes.
diff --git a/gis/libspatialite/libspatialite.SlackBuild b/gis/libspatialite/libspatialite.SlackBuild
index f773857aa9..ad44b1f1ba 100644
--- a/gis/libspatialite/libspatialite.SlackBuild
+++ b/gis/libspatialite/libspatialite.SlackBuild
@@ -1,6 +1,8 @@
#!/bin/bash
-# Slackware build script for SpatiaLite
+# Slackware build script for libspatialite
+#
+# Copyright 2023-2024 Gregory J. L. Tourte <artourter@gmail.com>
# Copyright 2012-2015 Alexander Bruy <alexander.bruy@gmail.com>
# All rights reserved.
#
@@ -24,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libspatialite
-VERSION=${VERSION:-5.0.1}
+VERSION=${VERSION:-5.1.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -37,9 +39,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
@@ -49,10 +48,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$LWGEOM" = "yes" ] ; then
- LWGEOM_SUPPORT="--enable-lwgeom"
-fi
-
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -77,10 +72,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -92,8 +85,22 @@ LDFLAGS="-ldl" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--enable-freexl \
- --disable-rttopo \
- $LWGEOM_SUPPORT \
+ --enable-rttopo \
+ --enable-mathsql \
+ --enable-proj \
+ --enable-iconv \
+ --enable-epsg \
+ --enable-geos \
+ --enable-gcp \
+ --enable-geosadvanced \
+ --enable-geosreentrant \
+ --enable-geos370 \
+ --enable-geos3100 \
+ --enable-geos3100 \
+ --enable-libxml2 \
+ --enable-minizip \
+ --enable-geopackage \
+ --enable-examples \
--build=$ARCH-slackware-linux
make
@@ -103,7 +110,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README README.coverage spatialite-sql-latest.html \
+cp -a AUTHORS COPYING README README.coverage spatialite-sql-latest.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/libspatialite/libspatialite.info b/gis/libspatialite/libspatialite.info
index 59f5adb034..f5d8039608 100644
--- a/gis/libspatialite/libspatialite.info
+++ b/gis/libspatialite/libspatialite.info
@@ -1,10 +1,10 @@
PRGNAM="libspatialite"
-VERSION="5.0.1"
+VERSION="5.1.0"
HOMEPAGE="https://www.gaia-gis.it/fossil/libspatialite/index"
-DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-5.0.1.tar.gz"
-MD5SUM="5f4a961afbb95dcdc715b5d7f8590573"
+DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-5.1.0.tar.gz"
+MD5SUM="2db597114bd6ee20db93de3984fd116c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="proj geos freexl postgis libminizip"
-MAINTAINER="Alexander Bruy"
-EMAIL="alexander.bruy@gmail.com"
+REQUIRES="proj librttopo freexl"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/merkaartor/README b/gis/merkaartor/README
index 3d3f5f9df0..a60e997674 100644
--- a/gis/merkaartor/README
+++ b/gis/merkaartor/README
@@ -2,3 +2,11 @@ Merkaartor is an openstreetmap mapping program.
Merkaartor focuses on providing a visually pleasing but
performant editing environment for free geographical data.
+
+gpsd is an optional dependency autodetected enabled by default
+if found in the system. You can disable the support by passing
+ GPSD=no ./merkaartor.SlackBuild
+
+The option -DWEBENGINE is set to ON by default. You can disable
+it by passing
+ WEBENGINE=no ./merkaartor.SlackBuild
diff --git a/gis/merkaartor/merkaartor.SlackBuild b/gis/merkaartor/merkaartor.SlackBuild
index 5902d47d73..123e5d7e75 100644
--- a/gis/merkaartor/merkaartor.SlackBuild
+++ b/gis/merkaartor/merkaartor.SlackBuild
@@ -1,9 +1,10 @@
#!/bin/bash
-# Slackware build script for Merkaartor
+# Slackware build script for merkaartor
# Written by otzy_007 (oz@oprod.net)
# Maintained 2020-2021 by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Maintained 2023 by Giancarlo Dessi, Cagliari, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=merkaartor
VERSION=${VERSION:-0.19.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,14 +40,19 @@ 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
fi
+if [ -x /etc/rc.d/rc.gpsd ] ; then
+ gpsd="-DGPSD=ON" ; [ "${GPSD:-yes}" = "no" ] && gpsd=""
+else
+ gpsd=""
+fi
+
+webengine="-DWEBENGINE=ON" ; [ "${WEBENGINE:-yes}" = "no" ] && webengine=""
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,14 +86,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# fix build failure in current
+if [ -f /usr/lib${LIBDIRSUFFIX}/libexiv2.so.0.28* ] ; then
+ sed -i ./src/Docks/GeoImageDock.cpp -e "s/AutoPtr/UniquePtr/g"
+fi
+
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
+ $gpsd \
+ $webengine \
-DCMAKE_BUILD_TYPE=Release ..
make
make install/strip DESTDIR=$PKG
diff --git a/gis/merkaartor/merkaartor.info b/gis/merkaartor/merkaartor.info
index b535d7ef1b..5e426ded21 100644
--- a/gis/merkaartor/merkaartor.info
+++ b/gis/merkaartor/merkaartor.info
@@ -6,5 +6,5 @@ MD5SUM="3696fde6c0521182e9e8c51563d68b94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdal"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/openorienteering-mapper/openorienteering-mapper.info b/gis/openorienteering-mapper/openorienteering-mapper.info
index c5d4b16d5a..b7e51274b6 100644
--- a/gis/openorienteering-mapper/openorienteering-mapper.info
+++ b/gis/openorienteering-mapper/openorienteering-mapper.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/OpenOrienteering/mapper/archive/v0.9.5/mapper-0.9.5
MD5SUM="87cde1b4bbb94704ec1dc356674ec92d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal polyclipping proj"
+REQUIRES="gdal polyclipping"
MAINTAINER="Nikolay Korotkiy"
EMAIL="sikmir@gmail.com"
diff --git a/gis/osgEarth/README b/gis/osgEarth/README
index 9509d516b4..f589884f3f 100644
--- a/gis/osgEarth/README
+++ b/gis/osgEarth/README
@@ -4,7 +4,3 @@ into your favorite OpenSceneGraph application, and go!
osgEarth supports all kinds of data and comes with lots of examples to
help you get up and running quickly and easily.
-
-Some optional requirements are recommended for enhanced functionality
-and/or performance. They include:
- poco, protobuf, rocksdb
diff --git a/gis/osgEarth/osgEarth.SlackBuild b/gis/osgEarth/osgEarth.SlackBuild
index dddc27210a..ede79953f1 100644
--- a/gis/osgEarth/osgEarth.SlackBuild
+++ b/gis/osgEarth/osgEarth.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for osgEarth
# Copyright 2012 Alexander Bruy <alexander.bruy@gmail.com>
-# Copyright 2018-2022 Christoph Willing, Brisbane Australia
+# Copyright 2018-2023 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=osgEarth
SRCNAM=osgearth
-VERSION=${VERSION:-3.2}
+VERSION=${VERSION:-3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,8 +72,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/gis/osgEarth/osgEarth.info b/gis/osgEarth/osgEarth.info
index ba83e1a3fb..e46300338f 100644
--- a/gis/osgEarth/osgEarth.info
+++ b/gis/osgEarth/osgEarth.info
@@ -1,10 +1,10 @@
PRGNAM="osgEarth"
-VERSION="3.2"
+VERSION="3.5"
HOMEPAGE="http://osgearth.org/"
-DOWNLOAD="https://github.com/gwaldron/osgearth/archive/osgearth-3.2/osgearth-osgearth-3.2.tar.gz"
-MD5SUM="c9de48b9326b739e547879f9c0cb1b33"
+DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/osgEarth/osgearth-3.5.tar.gz"
+MD5SUM="58de6c17ac7643a3ba30d978dc6f0e1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenSceneGraph gdal protobuf3"
+REQUIRES="fmt gdal OpenSceneGraph protobuf3 rocksdb spdlog"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/gis/osm-gps-map/osm-gps-map.info b/gis/osm-gps-map/osm-gps-map.info
index 9e05521623..85c6cf8ff7 100644
--- a/gis/osm-gps-map/osm-gps-map.info
+++ b/gis/osm-gps-map/osm-gps-map.info
@@ -1,7 +1,7 @@
PRGNAM="osm-gps-map"
VERSION="1.1.0"
HOMEPAGE="http://nzjrs.github.io/osm-gps-map/"
-DOWNLOAD="https://github.com/nzjrs/osm-gps-map/archive/1.1.0.tar.gz"
+DOWNLOAD="https://github.com/nzjrs/osm-gps-map/archive/1.1.0/osm-gps-map-1.1.0.tar.gz"
MD5SUM="5e9dc55922a597798ef4411130815212"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/gis/osm2pgsql-legacy/README b/gis/osm2pgsql-legacy/README
new file mode 100644
index 0000000000..1a1c261707
--- /dev/null
+++ b/gis/osm2pgsql-legacy/README
@@ -0,0 +1,8 @@
+This is the legacy version of osm2pgsql package.
+
+osm2pgsql is a utility program that converts OpenStreetMap data to
+PostGIS-enabled PostgreSQL databases.
+
+osm2pgsql 1.9.2 is the latest version with support to 32 bit
+architectures. If you have a Slackware64 and want to install a version
+earlier than 1.9.2, please refer to osm2pgsql package.
diff --git a/gis/osm2pgsql-legacy/osm2pgsql-legacy.SlackBuild b/gis/osm2pgsql-legacy/osm2pgsql-legacy.SlackBuild
new file mode 100644
index 0000000000..a284fab5cd
--- /dev/null
+++ b/gis/osm2pgsql-legacy/osm2pgsql-legacy.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+# Slackware build script for osm2pgsql-legacy
+
+# Copyright 2013-2021 Benjamin Trigona-Harany
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
+# 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=osm2pgsql-legacy
+SRCNAM=osm2pgsql
+VERSION=${VERSION:-1.9.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+if [ -d /usr/doc/osm2pgsql-1* ]; then
+ echo "**********************************************************************"
+ echo "WARNING: an old installation of osm2pgsql is found in your system!"
+ echo "osm2pgsql-legacy could conflict with other installations of osm2pgsql."
+ echo "Please remove any previous packages installed before install this:"
+ echo "# removepkg osm2pgsql"
+ echo "**********************************************************************"
+ exit 1
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$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 \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=OFF \
+ -DWITH_LUAJIT=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr
+gzip -9 $PKG/usr/man/man?/*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/osm2pgsql-legacy/osm2pgsql-legacy.info b/gis/osm2pgsql-legacy/osm2pgsql-legacy.info
new file mode 100644
index 0000000000..6344e8a920
--- /dev/null
+++ b/gis/osm2pgsql-legacy/osm2pgsql-legacy.info
@@ -0,0 +1,10 @@
+PRGNAM="osm2pgsql-legacy"
+VERSION="1.9.2"
+HOMEPAGE="https://osm2pgsql.org/"
+DOWNLOAD="https://github.com/osm2pgsql-dev/osm2pgsql/archive/1.9.2/osm2pgsql-1.9.2.tar.gz"
+MD5SUM="a133dbfdddaa634fdffb807567a62635"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="luajit nlohmann_json postgis"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/osm2pgsql-legacy/slack-desc b/gis/osm2pgsql-legacy/slack-desc
new file mode 100644
index 0000000000..d80c0103c7
--- /dev/null
+++ b/gis/osm2pgsql-legacy/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+osm2pgsql-legacy: osm2pgsql-legacy (convert OpenStreetMap data to PostGIS)
+osm2pgsql-legacy:
+osm2pgsql-legacy: osm2pgsql is a utility program that converts OpenStreetMap data to
+osm2pgsql-legacy: PostGIS-enabled PostgreSQL databases.
+osm2pgsql-legacy: This package supports also 32 bit architectures
+osm2pgsql-legacy:
+osm2pgsql-legacy:
+osm2pgsql-legacy: Homepage: https://osm2pgsql.org/
+osm2pgsql-legacy:
+osm2pgsql-legacy:
+osm2pgsql-legacy:
diff --git a/gis/osm2pgsql/README b/gis/osm2pgsql/README
index c83188f770..4fa8d0224f 100644
--- a/gis/osm2pgsql/README
+++ b/gis/osm2pgsql/README
@@ -1,2 +1,5 @@
osm2pgsql is a utility program that converts OpenStreetMap data to
PostGIS-enabled PostgreSQL databases.
+
+Since version 1.10.0 osm2pgsql needs a 64 bit architecture. For 32 bit
+architectures you have to install osm2pgsql-legacy.
diff --git a/gis/osm2pgsql/osm2pgsql.SlackBuild b/gis/osm2pgsql/osm2pgsql.SlackBuild
index 546e09feb9..3131240f2d 100644
--- a/gis/osm2pgsql/osm2pgsql.SlackBuild
+++ b/gis/osm2pgsql/osm2pgsql.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for osm2pgsql
# Copyright 2013-2021 Benjamin Trigona-Harany
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=osm2pgsql
-VERSION=${VERSION:-1.4.2}
+VERSION=${VERSION:-1.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -37,9 +38,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
@@ -49,22 +47,26 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+ARCH64="no"
+if [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ ARCH64="yes"
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS=""
LIBDIRSUFFIX=""
fi
set -e
+if [ $ARCH64 = "no" ]; then
+ echo "*****************************************"
+ echo "THIS PACKAGE DOES NOT SUPPORT YOUR SYSTEM"
+ echo "YOU NEED osm2pgsql-legacy package"
+ echo "*****************************************"
+ exit 1
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
diff --git a/gis/osm2pgsql/osm2pgsql.info b/gis/osm2pgsql/osm2pgsql.info
index 28e89137ac..c6c549619f 100644
--- a/gis/osm2pgsql/osm2pgsql.info
+++ b/gis/osm2pgsql/osm2pgsql.info
@@ -1,10 +1,10 @@
PRGNAM="osm2pgsql"
-VERSION="1.4.2"
-HOMEPAGE="https://wiki.openstreetmap.org/wiki/Osm2pgsql"
-DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/1.4.2/osm2pgsql-1.4.2.tar.gz"
-MD5SUM="6c849709fb967d75554be503385e88f6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="luajit postgis"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+VERSION="1.11.0"
+HOMEPAGE="https://osm2pgsql.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/osm2pgsql-dev/osm2pgsql/archive/1.11.0/osm2pgsql-1.11.0.tar.gz"
+MD5SUM_x86_64="20c445875232011522c39c533bfb2f21"
+REQUIRES="luajit nlohmann_json postgis"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/osm2pgsql/slack-desc b/gis/osm2pgsql/slack-desc
index 2cdacd1cb3..82dc4e1c9f 100644
--- a/gis/osm2pgsql/slack-desc
+++ b/gis/osm2pgsql/slack-desc
@@ -11,7 +11,7 @@ osm2pgsql:
osm2pgsql: osm2pgsql is a utility program that converts OpenStreetMap data to
osm2pgsql: PostGIS-enabled PostgreSQL databases.
osm2pgsql:
-osm2pgsql: Homepage: http://wiki.openstreetmap.org/wiki/Osm2pgsql
+osm2pgsql: Homepage: https://osm2pgsql.org/
osm2pgsql:
osm2pgsql:
osm2pgsql:
diff --git a/gis/ossim/README b/gis/ossim/README
index 0be9350d24..a6a973ca26 100644
--- a/gis/ossim/README
+++ b/gis/ossim/README
@@ -2,5 +2,3 @@ OSSIM is a powerful suite of geospatial libraries and applications
used to process imagery, maps, terrain and vector data. The software
has been under active development since 1996 and is deployed across a
number of private, federal and civilian agencies.
-
-Optional dependencies: hdf5.
diff --git a/gis/ossim/ossim.SlackBuild b/gis/ossim/ossim.SlackBuild
index e6880428ab..298be790bd 100644
--- a/gis/ossim/ossim.SlackBuild
+++ b/gis/ossim/ossim.SlackBuild
@@ -95,7 +95,7 @@ cd build
-DBUILD_OSSIM_APPS=ON \
-DBUILD_OSSIM_FREETYPE_SUPPORT=ON \
-DBUILD_OSSIM_GUI=ON \
- -DBUILD_OSSIM_HDF5_SUPPORT=ON \
+ -DBUILD_OSSIM_HDF5_SUPPORT=OFF \
-DBUILD_OSSIM_ID_SUPPORT=ON \
-DBUILD_OSSIM_PLANET=ON \
-DBUILD_OSSIM_WMS=ON \
diff --git a/gis/pdal/README b/gis/pdal/README
index e0451f2b20..95f8695aa2 100644
--- a/gis/pdal/README
+++ b/gis/pdal/README
@@ -7,4 +7,34 @@ with multi-dimensional emitted-pulse scanning systems. While PDAL is
not explicitly limited to working with LiDAR data formats, its initial
rollout is focused in that area.
-Optional dependencies: jsoncpp, laszip, hdf5, OpenSceneGraph.
+PDAL includes several plugins needed for some extended features or to
+write/read data in specific formats. The build of these plugins
+requires optional dependencies included in Slackware 15.0 or available
+as packages from Slackbuilds.org. Other plugins need third parts
+dependencies that are not available here.
+
+If their dependencies (autodetected) are installed, the script enables
+by default the build of the supported plugins. You can disable each of
+them by passing to the slackwbuild its environment variable set as
+"no" (for example E57=no ./pdal.SlackBuild).
+
+Plugins enabled by default if their dependencies are installed (see
+README.SBo to know what feature they extend):
+
+- E57: requires xerces-c
+- OSG: requires OpenSceneGraph
+- DRACO: requires libdraco
+
+HDF, ICEBRIDGE do not require optional deps
+
+Other optional dependencies (autodetected) that improve the
+functionality of PDAL are jsoncpp and laszip. The installation of
+laszip is strongly recommended.
+
+PDAL can include also the Matlab plugin, that allows to write data to
+a .mat file. Since the standard MATLAB is a proprietary software, the
+build of this plugin is disabled by default. If you need this plugin
+launch the script with MATLAB=yes ./pdal.SlackBuild
+
+Warning: the build of these plugin does not support free platforms
+compatible or alternative to MATLAB, like Octave or Scilab.
diff --git a/gis/pdal/README.SBo b/gis/pdal/README.SBo
new file mode 100644
index 0000000000..b4680db5a2
--- /dev/null
+++ b/gis/pdal/README.SBo
@@ -0,0 +1,7 @@
+Features added by following plugins
+
+- E57: read and write data to and from e57 format
+- HDF: read data in the HDF format
+- ICEBRIDGE: read data in the Icebridge format
+- OSG: read and write OpenSceneGraph objects
+- DRACO: compress/decompress 3D meshes and point clouds
diff --git a/gis/pdal/pdal.SlackBuild b/gis/pdal/pdal.SlackBuild
index 39a8caf2c3..8afd90f00d 100644
--- a/gis/pdal/pdal.SlackBuild
+++ b/gis/pdal/pdal.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for pdal
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -26,11 +27,37 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdal
SRCNAM=PDAL
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-2.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+# *************************************************************************
+
+# Build of these plugin is enabled by default since they require netcdf and hdf5
+BUILDICEBRIDGE="-DBUILD_PLUGIN_ICEBRIDGE=ON" ; \
+ [ "${ICEBRIDGE:-yes}" = "no" ] && BUILDICEBRIDGE=""
+BUILDHDF="-DBUILD_PLUGIN_HDF=ON" ; \
+ [ "${HDF:-yes}" = "no" ] && BUILDHDF=""
+
+# Build of these is enabled by default if their additional optional deps are installed
+if [ "${OSG:-yes}" = "yes" ]; then
+ BUILDOSG="" ; [ -x /usr/bin/osgversion ] && BUILDOSG="-DBUILD_PLUGIN_OPENSCENEGRAPH=ON"
+fi
+if [ "${E57:-yes}" = "yes" ]; then
+ BUILDE57="" ; [ -d /usr/include/xercesc ] && BUILDE57="-DBUILD_PLUGIN_E57=ON"
+fi
+if [ "${DRACO:-yes}" = "yes" ]; then
+ BUILDDRACO="" ; [ -x /usr/bin/draco_decoder-1.5.* ] && BUILDDRACO="-DBUILD_PLUGIN_DRACO=ON"
+fi
+
+# *************************************************************************
+
+# Users that have a standard installation of proprietary MatLAB would enable
+# the build of Matlab plugin. This is disabled by default
+BUILDMATLAB="" ; [ "${MATLAB:-no}" = "yes" ] && \
+ BUILDMATLAB="-DBUILD_PLUGIN_MATLAB=ON"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -39,9 +66,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
@@ -91,16 +115,31 @@ cd build
-DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
-DBUILD_PGPOINTCLOUD_TESTS=OFF \
-DBUILD_PLUGIN_PGPOINTCLOUD=ON \
- -DBUILD_PLUGIN_SQLITE=ON \
- -DBUILD_PLUGIN_DELAUNAY=ON \
-DWITH_COMPLETION=ON \
+ -DWITH_BACKTRACE=OFF \
+ -DWITH_TESTS=FALSE \
+ $BUILDICEBRIDGE \
+ $BUILDE57 \
+ $BUILDDRACO \
+ $BUILDOSG \
+ $BUILDHDF \
+ $BUILDMATLAB \
..
+ make
make install DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Remove empty directories and fix permissions (issues found by sbopkglint)
+rmdir $PKG/usr/include/pdal/filters/private/csf
+rmdir $PKG/usr/include/pdal/filters/private/miniball
+chmod 644 $PKG/usr/include/pdal/*.hpp
+chmod 644 $PKG/usr/include/pdal/*/*.hpp
+chmod 644 $PKG/usr/include/pdal/*/*/*.hpp
+chmod 644 $PKG/usr/include/pdal/*/*/*/*.hpp
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS.txt CITATION LICENSE.txt README.md RELEASENOTES.txt \
diff --git a/gis/pdal/pdal.info b/gis/pdal/pdal.info
index 4de5303903..b19a92667f 100644
--- a/gis/pdal/pdal.info
+++ b/gis/pdal/pdal.info
@@ -1,10 +1,10 @@
PRGNAM="pdal"
-VERSION="2.2.0"
-HOMEPAGE="http://pointcloud.org"
-DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.2.0/PDAL-2.2.0.tar.gz"
-MD5SUM="b85ebc55f84821c8c2ed604d2b3b4b1e"
+VERSION="2.7.0"
+HOMEPAGE="https://pdal.io"
+DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.7.0/PDAL-2.7.0.tar.gz"
+MD5SUM="d4269798490beabc9810e2a340556ecc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal libgeotiff postgresql"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="gdal libgeotiff netcdf postgresql"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/pdal/slack-desc b/gis/pdal/slack-desc
index 10cf3600ca..56c1cf23d8 100644
--- a/gis/pdal/slack-desc
+++ b/gis/pdal/slack-desc
@@ -11,7 +11,7 @@ pdal:
pdal: PDAL is a BSD licensed library for translating and manipulating point
pdal: cloud data of various formats.
pdal:
-pdal: Homepage: http://pointcloud.org
+pdal: Homepage: https://pdal.io
pdal:
pdal:
pdal:
diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild
index 1d9a256a77..dc5af3a9ac 100644
--- a/gis/pgrouting/pgrouting.SlackBuild
+++ b/gis/pgrouting/pgrouting.SlackBuild
@@ -2,6 +2,7 @@
# SlackBuild script for pgRouting
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -27,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pgrouting
-VERSION=${VERSION:-3.1.3}
+VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,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
@@ -81,6 +79,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Prevent cmake warnings in current
+if [ -d /usr/share/cmake-3.28 ]; then
+ CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0148=OLD "
+ sed -i ./CMakeLists.txt -e "s/VERSION 3.2 FATAL_ERROR/VERSION 3.5 FATAL_ERROR/g"
+else
+ CMAKE_POLICY=""
+fi
+
mkdir -p build
cd build
cmake \
@@ -88,7 +94,8 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_DOC=${WITH_DOC:-OFF} \
- ..
+ $CMAKE_POLICY \
+ -DCMAKE_BUILD_TYPE=Release ..
make all doc
make install DESTDIR=$PKG
diff --git a/gis/pgrouting/pgrouting.info b/gis/pgrouting/pgrouting.info
index 42e7d07326..7ceff5f19d 100644
--- a/gis/pgrouting/pgrouting.info
+++ b/gis/pgrouting/pgrouting.info
@@ -1,10 +1,10 @@
PRGNAM="pgrouting"
-VERSION="3.1.3"
+VERSION="3.6.1"
HOMEPAGE="https://pgrouting.org"
-DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v3.1.3/pgrouting-3.1.3.tar.gz"
-MD5SUM="fd4a7d8b098ed57c4afb630e4e7d1b13"
+DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v3.6.1/pgrouting-3.6.1.tar.gz"
+MD5SUM="763ed039292aaab086b299645f4df590"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="CGAL postgis"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="postgis"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/postgis/doinst.sh b/gis/postgis/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/gis/postgis/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild
index a56e074bda..6c14107eda 100644
--- a/gis/postgis/postgis.SlackBuild
+++ b/gis/postgis/postgis.SlackBuild
@@ -3,7 +3,8 @@
# Slackware build script for PostGIS
# Copyright 2009 Peter Sarkoci <sarkoci@math.sk>
-# Maintained 2013-2021 by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=postgis
-VERSION=${VERSION:-3.1.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.4.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,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
@@ -86,15 +84,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+pgbindir=$(pg_config --bindir)
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--build=$ARCH \
--prefix=/usr \
+ --bindir=$pgbindir \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--datarootdir=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --without-protobuf \
$SHP2PGSQL_GUI \
--build=$ARCH-slackware-linux
@@ -109,7 +111,6 @@ if [ "$PGADMIN" = "yes" ] ; then
fi
mkdir -p $PKG/usr/bin
-pgbindir=$(pg_config --bindir)
cd $PKG/$pgbindir
for f in *; do
base=`basename $f`
@@ -122,14 +123,19 @@ mkdir -p $PKG/usr/man/man1
cp -a doc/man/* $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man1/*.1
+mv $PKG/usr/icons $PKG/usr/share
+mv $PKG/usr/applications $PKG/usr/share
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING CREDITS ChangeLog NEWS README.postgis TODO \
+ COPYING CREDITS ChangeLog NEWS README.postgis TODO LICENSE.TXT \
$PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/doc/postgresql* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/postgis/postgis.info b/gis/postgis/postgis.info
index 2e22df28f2..8651201812 100644
--- a/gis/postgis/postgis.info
+++ b/gis/postgis/postgis.info
@@ -1,10 +1,10 @@
PRGNAM="postgis"
-VERSION="3.1.4"
+VERSION="3.4.2"
HOMEPAGE="http://postgis.org"
-DOWNLOAD="https://download.osgeo.org/postgis/source/postgis-3.1.4.tar.gz"
-MD5SUM="179954c38aac48efd606bcacbf3ca970"
+DOWNLOAD="https://download.osgeo.org/postgis/source/postgis-3.4.2.tar.gz"
+MD5SUM="632abda8b4267af437db6cde1bc9d9dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal postgresql protobuf-c"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="gdal postgresql"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/proj-data/proj-data.SlackBuild b/gis/proj-data/proj-data.SlackBuild
index 7c92eac69e..4179581b3c 100644
--- a/gis/proj-data/proj-data.SlackBuild
+++ b/gis/proj-data/proj-data.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for proj-data
# Copyright 2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2024 Gregory J. L. Tourte <artourter@gmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=proj-data
-VERSION=${VERSION:-1.11}
+VERSION=${VERSION:-1.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/proj-data/proj-data.info b/gis/proj-data/proj-data.info
index 9f3e4c1519..63d3a7c4e8 100644
--- a/gis/proj-data/proj-data.info
+++ b/gis/proj-data/proj-data.info
@@ -1,8 +1,8 @@
PRGNAM="proj-data"
-VERSION="1.11"
+VERSION="1.17"
HOMEPAGE="https://www.osgeo.org/projects/proj/"
-DOWNLOAD="https://github.com/OSGeo/PROJ-data/releases/download/1.11.0/proj-data-1.11.tar.gz"
-MD5SUM="69de3b9846485af7d24c71d18a6a427d"
+DOWNLOAD="https://github.com/OSGeo/PROJ-data/releases/download/1.17.0/proj-data-1.17.tar.gz"
+MD5SUM="d68d676603d84ac332427a39ca9d6a0e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="proj"
diff --git a/gis/proj/proj.SlackBuild b/gis/proj/proj.SlackBuild
index 909c22afd3..8baaa49113 100644
--- a/gis/proj/proj.SlackBuild
+++ b/gis/proj/proj.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for proj
# Originally written by Kyle Guinn <elyk03@gmail.com>
# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2024 Gregory J. L. Tourte <artourter@gmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=proj
-VERSION=${VERSION:-9.1.0}
+VERSION=${VERSION:-9.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,10 +79,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
mkdir -p build
( cd build
@@ -104,9 +102,6 @@ mkdir -p build
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc
-#mv $PKG/usr/share/doc/proj $PKG/usr/doc/$PRGNAM-$VERSION
-#rm -rf $PKG/usr/share/doc
cp -a \
AUTHORS CITATION COPYING ChangeLog NEWS README README.md\
$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/gis/proj/proj.info b/gis/proj/proj.info
index 0ee3650927..e416208b14 100644
--- a/gis/proj/proj.info
+++ b/gis/proj/proj.info
@@ -1,8 +1,8 @@
PRGNAM="proj"
-VERSION="9.1.0"
+VERSION="9.4.0"
HOMEPAGE="https://www.osgeo.org/projects/proj/"
-DOWNLOAD="https://github.com/OSGeo/PROJ/releases/download/9.1.0/proj-9.1.0.tar.gz"
-MD5SUM="3f7186e2584cb3f470924762c7e514fc"
+DOWNLOAD="https://github.com/OSGeo/PROJ/releases/download/9.4.0/proj-9.4.0.tar.gz"
+MD5SUM="c33fd24cf4e3a3048c330b1b07e86b4f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/gis/python-pygeos/python-pygeos.SlackBuild b/gis/python-pygeos/python-pygeos.SlackBuild
index d46d86c1b8..03323d75e4 100644
--- a/gis/python-pygeos/python-pygeos.SlackBuild
+++ b/gis/python-pygeos/python-pygeos.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for python-pygeos
# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2023 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-pygeos
-VERSION=${VERSION:-0.13}
+VERSION=${VERSION:-0.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/python-pygeos/python-pygeos.info b/gis/python-pygeos/python-pygeos.info
index 6eadbc555d..6a5191b9e7 100644
--- a/gis/python-pygeos/python-pygeos.info
+++ b/gis/python-pygeos/python-pygeos.info
@@ -1,10 +1,10 @@
PRGNAM="python-pygeos"
-VERSION="0.13"
+VERSION="0.14"
HOMEPAGE="https://pygeos.readthedocs.io"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pygeos/pygeos-0.13.tar.gz"
-MD5SUM="66246bfb13ebe39e94eb31dc8d40067f"
+DOWNLOAD="https://pypi.python.org/packages/source/p/pygeos/pygeos-0.14.tar.gz"
+MD5SUM="85450969759e2a9601fe18bf82fddcee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geos numpy3"
+REQUIRES="geos python3-numpy"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"
diff --git a/gis/python3-basemap/python3-basemap.SlackBuild b/gis/python3-basemap/python3-basemap.SlackBuild
index 69f3d27f6a..565e20285b 100644
--- a/gis/python3-basemap/python3-basemap.SlackBuild
+++ b/gis/python3-basemap/python3-basemap.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-basemap
SRCNAM=basemap
-VERSION=${VERSION:-1.3.4}
+VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/python3-basemap/python3-basemap.info b/gis/python3-basemap/python3-basemap.info
index f0d6b556e7..1d1be2c8d0 100644
--- a/gis/python3-basemap/python3-basemap.info
+++ b/gis/python3-basemap/python3-basemap.info
@@ -1,8 +1,8 @@
PRGNAM="python3-basemap"
-VERSION="1.3.4"
+VERSION="1.4.1"
HOMEPAGE="https://github.com/matplotlib/basemap"
-DOWNLOAD="https://github.com/matplotlib/basemap/archive/v1.3.4/basemap-1.3.4.tar.gz"
-MD5SUM="96750dffb2fe8bcf36daf3cd9bd7b58b"
+DOWNLOAD="https://github.com/matplotlib/basemap/archive/v1.4.1/basemap-1.4.1.tar.gz"
+MD5SUM="e286126fda9c545b5420f29f404b9c6c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos python3-pyproj python3-pyshp python3-matplotlib"
diff --git a/gis/python3-cartopy/python3-cartopy.SlackBuild b/gis/python3-cartopy/python3-cartopy.SlackBuild
index b62b1fc8fa..42993d5796 100644
--- a/gis/python3-cartopy/python3-cartopy.SlackBuild
+++ b/gis/python3-cartopy/python3-cartopy.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for python3-cartopy
# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2023 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-cartopy
-VERSION=${VERSION:-0.21.0}
+VERSION=${VERSION:-0.22.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,12 +77,20 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -o \! -perm 755 -o -exec chmod 755 {} + -o \
+ \! -perm /111 -o \! -perm 644 -o -exec chmod 644 {} +
-python3 setup.py install --root=$PKG
+# Fixing numpy dependency check in pyproject.toml:
+# oldest-supported-numpy has a strict check and doesn't support newer version
+# so we replace it. The alternative is to add --skip-dependency-check to tbe
+# build line but this is not deemed optimal.
+sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml
+
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages/
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/gis/python3-cartopy/python3-cartopy.info b/gis/python3-cartopy/python3-cartopy.info
index 823d36f6e8..19dbf3eaed 100644
--- a/gis/python3-cartopy/python3-cartopy.info
+++ b/gis/python3-cartopy/python3-cartopy.info
@@ -1,10 +1,10 @@
PRGNAM="python3-cartopy"
-VERSION="0.21.0"
+VERSION="0.22.0"
HOMEPAGE="https://scitools.org.uk/cartopy/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/C/Cartopy/Cartopy-0.21.0.tar.gz"
-MD5SUM="659249056621a06060d5a54979b729dd"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/C/Cartopy/Cartopy-0.22.0.tar.gz"
+MD5SUM="1a96bec92d02a0f9c95fa6364cb0767d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal python3-matplotlib python3-pyproj python3-pyshp scipy3 python3-shapely"
+REQUIRES="gdal python3-matplotlib python3-pyproj python3-pyshp python3-scipy python3-shapely python3-setuptools-scm-opt"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"
diff --git a/gis/python3-cftime/README b/gis/python3-cftime/README
new file mode 100644
index 0000000000..80a804fee4
--- /dev/null
+++ b/gis/python3-cftime/README
@@ -0,0 +1,4 @@
+python3-cftime
+
+Python library for decoding time units and variable values in a netCDF
+file conforming to the Climate and Forecasting (CF) netCDF conventions.
diff --git a/gis/python3-cftime/python3-cftime.SlackBuild b/gis/python3-cftime/python3-cftime.SlackBuild
new file mode 100644
index 0000000000..91ccad5961
--- /dev/null
+++ b/gis/python3-cftime/python3-cftime.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# Slackware build script for python3-cftime
+
+# Copyright 2022-2023 - Gregory J. L. Tourte <artourter@gmail.com>
+# 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=python3-cftime
+VERSION=${VERSION:-1.6.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=cftime
+SRCVER=${VERSION}rel
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
+chown -R root:root .
+find -L . \
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ Changelog LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/python3-cftime/python3-cftime.info b/gis/python3-cftime/python3-cftime.info
new file mode 100644
index 0000000000..6f074ce474
--- /dev/null
+++ b/gis/python3-cftime/python3-cftime.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-cftime"
+VERSION="1.6.3"
+HOMEPAGE="https://unidata.github.io/cftime/"
+DOWNLOAD="https://github.com/Unidata/cftime/archive/v1.6.3rel/cftime-1.6.3rel.tar.gz"
+MD5SUM="2e77ad0b187fbdcd48fd1f39eecfa04a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-numpy"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/python3-cftime/slack-desc b/gis/python3-cftime/slack-desc
new file mode 100644
index 0000000000..993e08f765
--- /dev/null
+++ b/gis/python3-cftime/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-cftime: python3-cftime (Time-handling functionality from netcdf4)
+python3-cftime:
+python3-cftime: Python library for decoding time units and variable values in a netCDF
+python3-cftime: file conforming to the Climate and Forecasting (CF) netCDF
+python3-cftime: conventions.
+python3-cftime:
+python3-cftime:
+python3-cftime:
+python3-cftime:
+python3-cftime:
+python3-cftime:
diff --git a/gis/python3-netcdf4-python/README b/gis/python3-netcdf4-python/README
new file mode 100644
index 0000000000..1905489969
--- /dev/null
+++ b/gis/python3-netcdf4-python/README
@@ -0,0 +1,17 @@
+python3-netcdf4 is a Python3 interface to the netCDF C library.
+
+netCDF version 4 has many features not found in earlier versions of the
+library and is implemented on top of HDF5. This module can read and
+write files in both the new netCDF 4 and the old netCDF 3 format, and
+can create files that are readable by HDF5 clients. The API modelled
+after Scientific.IO.NetCDF, and should be familiar to users of that
+module.
+
+Most new features of netCDF 4 are implemented, such as multiple
+unlimited dimensions, groups and data compression. All the new numeric
+data types (such as 64 bit and unsigned integer types) are implemented.
+Compound (struct), variable length (vlen) and enumerated (enum) data
+types are supported, but not the opaque data type. Mixtures of compound,
+vlen and enum data types (such as compound types containing enums, or
+vlens containing compound types) are not supported.
+
diff --git a/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild b/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild
new file mode 100644
index 0000000000..1e9dffc224
--- /dev/null
+++ b/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for python3-netcdf4-python
+
+# Copyright 2022-2023 - Gregory J. L. Tourte <artourter@gmail.com>
+# 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=python3-netcdf4-python
+VERSION=${VERSION:-1.6.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=netcdf4-python
+SRCVER=${VERSION}rel
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
+chown -R root:root .
+find -L . \
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# Fixing numpy dependency check in pyproject.toml:
+# oldest-supported-numpy has a strict check and doesn't support newer version
+# so we replace it. The alternative is to add --skip-dependency-check to tbe
+# build line but this is not deemed optimal.
+sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml
+
+# Requires newer version of setuptools than available in -stable. Has not
+# effect on -current
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/man/man1/
+for manfile in man/*.1; do
+ gzip -c $manfile > $PKG/usr/man/man1/$(basename $manfile).gz
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ Changelog LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/python3-netcdf4-python/python3-netcdf4-python.info b/gis/python3-netcdf4-python/python3-netcdf4-python.info
new file mode 100644
index 0000000000..7cf893659f
--- /dev/null
+++ b/gis/python3-netcdf4-python/python3-netcdf4-python.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-netcdf4-python"
+VERSION="1.6.5"
+HOMEPAGE="http://unidata.github.io/netcdf4-python/"
+DOWNLOAD="https://github.com/Unidata/netcdf4-python/archive/v1.6.5rel/netcdf4-python-1.6.5rel.tar.gz"
+MD5SUM="c3ebdf74ae184f2bd9ecbbc3f16801fe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="netcdf python3-cftime python3-setuptools-opt"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/python3-netcdf4-python/slack-desc b/gis/python3-netcdf4-python/slack-desc
new file mode 100644
index 0000000000..44d3f0c1dd
--- /dev/null
+++ b/gis/python3-netcdf4-python/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-netcdf4-python: python3-netcdf4-python (Python3 interface for netCDF)
+python3-netcdf4-python:
+python3-netcdf4-python: netcdf4-python is a Python/numpy interface to the netCDF C library.
+python3-netcdf4-python:
+python3-netcdf4-python: netCDF version 4 has many features not found in earlier versions of
+python3-netcdf4-python: the library and is implemented on top of HDF5. This module can read
+python3-netcdf4-python: and write files in both the new netCDF 4 and the old netCDF 3 format,
+python3-netcdf4-python: and can create files that are readable by HDF5 clients. The API
+python3-netcdf4-python: modelled after Scientific.IO.NetCDF, and should be familiar to users
+python3-netcdf4-python: of that module.
+python3-netcdf4-python:
diff --git a/gis/python3-pyproj/python3-pyproj.SlackBuild b/gis/python3-pyproj/python3-pyproj.SlackBuild
index 5185739092..55256a46f3 100644
--- a/gis/python3-pyproj/python3-pyproj.SlackBuild
+++ b/gis/python3-pyproj/python3-pyproj.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for pyproj
# Copyright 2013-2021 Benjamin Trigona-Harany
-# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2023 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pyproj
-VERSION=${VERSION:-3.4.0}
+VERSION=${VERSION:-3.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --root=$PKG
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/gis/python3-pyproj/python3-pyproj.info b/gis/python3-pyproj/python3-pyproj.info
index 82de55828b..f093177f12 100644
--- a/gis/python3-pyproj/python3-pyproj.info
+++ b/gis/python3-pyproj/python3-pyproj.info
@@ -1,10 +1,10 @@
PRGNAM="python3-pyproj"
-VERSION="3.4.0"
+VERSION="3.6.0"
HOMEPAGE="https://github.com/pyproj4/pyproj"
-DOWNLOAD="https://github.com/pyproj4/pyproj/archive/3.4.0/pyproj-3.4.0.tar.gz"
-MD5SUM="ac79804f30cf4086611db5e5d3fd9b71"
+DOWNLOAD="https://github.com/pyproj4/pyproj/archive/3.6.0/pyproj-3.6.0.tar.gz"
+MD5SUM="dd28c4d2b030431ebde1c96b118f55cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="proj"
+REQUIRES="proj python3-setuptools-opt"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"
diff --git a/gis/python3-shapely/python3-shapely.SlackBuild b/gis/python3-shapely/python3-shapely.SlackBuild
index 5b3e54a387..12a2c42b8b 100644
--- a/gis/python3-shapely/python3-shapely.SlackBuild
+++ b/gis/python3-shapely/python3-shapely.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Shapely
# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2024 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-shapely
-VERSION=${VERSION:-1.8.4}
+VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,20 +53,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -77,15 +63,22 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# remove unnecessary .pxi file
-sed -i '/include_package_data=/s/True/False/' setup.py
-
-python3 setup.py install --root=$PKG
+ -perm /111 -o \! -perm 755 -o -exec chmod 755 {} + -a \
+ \! -perm /111 -o \! -perm 644 -o -exec chmod 644 {} +
+
+# Fixing numpy dependency check in pyproject.toml:
+# oldest-supported-numpy has a strict check and doesn't support newer version
+# so we replace it. The alternative is to add --skip-dependency-check to tbe
+# build line but this is not deemed optimal.
+sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml
+
+# Requires newer version of setuptools than available in -stable. Has not
+# effect on -current
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/gis/python3-shapely/python3-shapely.info b/gis/python3-shapely/python3-shapely.info
index e50976b92a..d3033b5463 100644
--- a/gis/python3-shapely/python3-shapely.info
+++ b/gis/python3-shapely/python3-shapely.info
@@ -1,10 +1,10 @@
PRGNAM="python3-shapely"
-VERSION="1.8.4"
+VERSION="2.0.3"
HOMEPAGE="https://github.com/shapely/shapely"
-DOWNLOAD="https://github.com/shapely/shapely/archive/1.8.4/shapely-1.8.4.tar.gz"
-MD5SUM="9a92bb56b4ddbe84f35ded43cdb5ed66"
+DOWNLOAD="https://github.com/shapely/shapely/archive/2.0.3/shapely-2.0.3.tar.gz"
+MD5SUM="0baf77e1ec33f9f2ec0aeeb8d2fd5fae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geos"
+REQUIRES="python3-setuptools-opt python3-numpy geos"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"
diff --git a/gis/python3-xarray/python3-xarray.SlackBuild b/gis/python3-xarray/python3-xarray.SlackBuild
index dc1c7cda4d..92d7f121e6 100644
--- a/gis/python3-xarray/python3-xarray.SlackBuild
+++ b/gis/python3-xarray/python3-xarray.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for python3-xarray
# Copyright 2018-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2022-2024 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-xarray
-VERSION=${VERSION:-2022.06.0}
+VERSION=${VERSION:-2024.03.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,20 +53,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -77,12 +63,14 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages/
-python3 setup.py install --root=$PKG
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/gis/python3-xarray/python3-xarray.info b/gis/python3-xarray/python3-xarray.info
index 12ac122926..5bd43896ba 100644
--- a/gis/python3-xarray/python3-xarray.info
+++ b/gis/python3-xarray/python3-xarray.info
@@ -1,10 +1,10 @@
PRGNAM="python3-xarray"
-VERSION="2022.06.0"
+VERSION="2024.03.0"
HOMEPAGE="http://xarray.pydata.org"
-DOWNLOAD="https://github.com/pydata/xarray/archive/v2022.06.0/xarray-2022.06.0.tar.gz"
-MD5SUM="00bf4549bf562b412555e66d48b3fafa"
+DOWNLOAD="https://github.com/pydata/xarray/archive/v2024.03.0/xarray-2024.03.0.tar.gz"
+MD5SUM="af81c70f069c3adb95acde6ffd7fdac1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-pandas"
+REQUIRES="python3-pandas python3-setuptools-scm-opt"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"
diff --git a/gis/pytrainer/pytrainer.SlackBuild b/gis/pytrainer/pytrainer.SlackBuild
index bba1b09a24..7165cf0033 100644
--- a/gis/pytrainer/pytrainer.SlackBuild
+++ b/gis/pytrainer/pytrainer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Pytrainer
-# Copyright 2014-2021 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2024 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pytrainer
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,16 +38,13 @@ 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
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="COPYING INSTALL PLUGINS.README README.md"
@@ -63,7 +60,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/gis/pytrainer/pytrainer.info b/gis/pytrainer/pytrainer.info
index 698fd87dc4..6222f3a15b 100644
--- a/gis/pytrainer/pytrainer.info
+++ b/gis/pytrainer/pytrainer.info
@@ -1,10 +1,10 @@
PRGNAM="pytrainer"
-VERSION="2.0.2"
+VERSION="2.2.1"
HOMEPAGE="https://github.com/pytrainer/pytrainer"
-DOWNLOAD="https://github.com/pytrainer/pytrainer/archive/v2.0.2/pytrainer-2.0.2.tar.gz"
-MD5SUM="75e07caa70cf0bb609c26894061b77aa"
+DOWNLOAD="https://github.com/pytrainer/pytrainer/archive/v2.2.1/pytrainer-2.2.1.tar.gz"
+MD5SUM="2fee7f07868d7185554e2d3e4ba1aeed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml sqlalchemy-migrate python2-dateutil matplotlib webkit2gtk zenity"
+REQUIRES="python3-lxml SQLAlchemy python3-matplotlib webkit2gtk zenity"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/gis/qgis/README b/gis/qgis/README
index 6bc92be69d..72d371f3fa 100644
--- a/gis/qgis/README
+++ b/gis/qgis/README
@@ -2,15 +2,10 @@ QGIS is a user friendly Geographic Information System that lets you
view and manipulate spatial data on your computer. It supports many
common spatial data formats (e.g. PostGIS, ShapeFile and geotiff).
-Optional compile-time dependencies:
- - postgis: for PostGIS support
- - gpsbabel: for the GPS plugin
- - grass: for the Grass plugin
- - gsl: for georeferencing support
- - fcgi: for the QGIS server (see README.server)
+The installation of QGIS from sources can result strongly different
+depending on the optional/required packages installed and enabled. This
+slackbuild is based on basic and some optional settings that require
+the dependencies (and related nested deps) reported in the REQUIRES
+field of qgis.info.
-Optional run-time dependencies:
- - OTB
- - R
- - saga-gis
- - TauDEM
+For further information see the README.Slackware file.
diff --git a/gis/qgis/README.Slackware b/gis/qgis/README.Slackware
new file mode 100644
index 0000000000..0c2fbf044d
--- /dev/null
+++ b/gis/qgis/README.Slackware
@@ -0,0 +1,87 @@
+Table of contents
+
+1. BUILD-TIME DEPENDENCIES
+2. PYTHON BINDINGS AND DEPENDENCIES
+3. RUNTIME DEPENDENCIES AND FORMATS
+4. ISSUES
+
+1. BUILD-TIME DEPENDENCIES
+Regardless of settings in this slackbuild, a basic installation of QGIS
+requires these compile-time dependencies:
+ - proj
+ - geos
+ - libspatialite
+ - libspatialindex
+ - gdal
+ - qwt
+The slackbuilds of these are available in this repository. The packages
+gdal, proj, and geos are not reported in REQUIRES field of qgis.info
+because should be installed as dependencies of others.
+Other dependencies must be already installed in your system with a
+full installation of Slackware (for example, Qt5, QScintilla, qca,
+Python 3, qtkeychain, eccetera).
+
+Optional dependencies that are enabled as strictly required in this
+slackbuild are the following:
+ - postgis: needed for PostGIS
+
+Other optional dependencies are enabled by default if found in the
+system. These are the following
+ - gpsbabel: for the GPS plugin
+ - grass: for the Grass plugin
+ - pdal: for support to PDAL
+ - libdraco: for support to Draco plugin
+ - gsl: for georeferencing support
+ - fcgi: for the QGIS server functionality
+
+The build install as optional dependencies - autodetected - also
+hdf5 and netcdf. If they are installed, the support of PDAL and/or
+Draco can be disabled also by setting to "no" the environment variable
+ PDAL=no [DRACO=no] ./qgis.SlackBuild
+
+2. PYTHON BINDINGS AND DEPENDENCIES
+The functionality of QGIS is strongly enhanced by a lot of plugins that
+can be installed in runtime. Since these plugins are based on Python
+modules, the support of Python is enabled by default. This requires
+some Python dependencies that are available in a full installation of
+Slackware or as slackbuilds in this repository. For a full support of
+Python in QGIS you have to install the following packages (as reported
+in REQUIRES field of qgis.info):
+ - OWSLib
+ - python3-numpy
+ - python3-psycopg2
+ - termcolor
+Other python modules are required as nested dependencies. The lack of
+some of these modules could not affect the build/runtime of QGIS but
+could affect the part or the entire functionality of the Python
+support.
+
+3. RUNTIME DEPENDENCIES AND FORMATS
+Optional run-time dependencies are:
+ - OTB
+ - R
+ - saga-gis
+ - TauDEM
+
+QGIS supports indirectly several formats that depends on the GDAL
+support in build-time (usually autodetected). For example, the support
+of the proprietary format ECW is enabled in QGIS if gdal has been build
+with this support (this requires the package libecwj2 installed before
+build gdal).
+
+4. ISSUES
+Support to OpenCL is enabled by default but the build could fail in
+systems with old drivers/graphic cards. If you want to prevent this
+pass to the slackbuild the environment variable
+
+ OPENCL=no ./qgis.SlackBuild
+
+It has reported that QGIS shows runtime warnings about 'osgeo' unless
+the Python GDAL library is installed. If you encounter this issue you
+can solve by installing via pip the Python GDAL library as simple user
+(not root!) as following
+ $ pip install GDAL
+
+Other issues not noticed may be encountered depending on various
+system settings. If you found any problem please contact the
+maintainer.
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild
index a212f6e66a..249dad3bc6 100644
--- a/gis/qgis/qgis.SlackBuild
+++ b/gis/qgis/qgis.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K.
# Copyright 2013-2021 Benjamin Trigona-Harany
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qgis
-VERSION=${VERSION:-3.24.3}
+VERSION=${VERSION:-3.36.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,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
@@ -80,8 +78,26 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+if pkg-config --exists OpenCL; then
+ OCL="-DUSE_OPENCL=OFF " ; [ "${OPENCL:-yes}" = "yes" ] && OCL="-DUSE_OPENCL=ON "
+else
+ OCL="-DUSE_OPENCL=OFF "
+fi
+
+if pkg-config --exists pdal; then
+ WITHPDAL="-DWITH_PDAL=OFF "; [ "${PDAL:-yes}" = "yes" ] && WITHPDAL="-DWITH_PDAL=ON "
+else
+ WITHPDAL="-DWITH_PDAL=OFF "
+fi
+
+if pkg-config --exists draco; then
+ WITHDRACO="-DWITH_DRACO=OFF "; [ "${DRACO:-yes}" = "yes" ] && WITHDRACO="-DWITH_DRACO=ON "
+else
+ WITHDRACO="-DWITH_DRACO=OFF "
+fi
+
if pkg-config --exists grass; then
- WITHGRASS="-DGRASS_PREFIX=$(pkg-config --variable=prefix grass)"
+ WITHGRASS="-DGRASS_PREFIX=$(pkg-config --variable=prefix grass) "
else
WITHGRASS=""
fi
@@ -92,7 +108,7 @@ mkdir -p build
cd build
cmake .. \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -pthread" \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQGIS_LIB_SUBDIR=lib${LIBDIRSUFFIX} \
@@ -106,9 +122,12 @@ cd build
-DENABLE_TESTS=FALSE \
-DWITH_3D=TRUE \
-Wno-dev \
+ $OCL \
+ $WITHPDAL \
+ $WITHDRACO \
$WITHGRASS
- make || make -j1
+ make
make install DESTDIR=$PKG
cd -
@@ -123,8 +142,9 @@ cp debian/qgis.xml $PKG/usr/share/mime/packages
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL.md
cp -a \
- ChangeLog Exception_to_GPL_for_Qt.txt NEWS.md \
+ COPYING ChangeLog Exception_to_GPL_for_Qt.txt NEWS.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/qgis/qgis.info b/gis/qgis/qgis.info
index 85a60fcf45..c1f196f212 100644
--- a/gis/qgis/qgis.info
+++ b/gis/qgis/qgis.info
@@ -1,10 +1,10 @@
PRGNAM="qgis"
-VERSION="3.24.3"
+VERSION="3.36.1"
HOMEPAGE="https://qgis.org/"
-DOWNLOAD="https://qgis.org/downloads/qgis-3.24.3.tar.bz2"
-MD5SUM="ec21996593f3155565c3eeb60fb52800"
+DOWNLOAD="https://qgis.org/downloads/qgis-3.36.1.tar.bz2"
+MD5SUM="991b01d1e8f81d2cb87a85b509cdfad9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="postgis libspatialite libspatialindex numpy3 qwt protobuf3 OWSLib python3-psycopg2"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="libspatialite libspatialindex OWSLib postgis python3-numpy python3-psycopg2 qwt termcolor protobuf3"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/qmapshack/proj.patch.gz b/gis/qmapshack/proj.patch.gz
deleted file mode 100644
index 4d67d373fa..0000000000
--- a/gis/qmapshack/proj.patch.gz
+++ /dev/null
Binary files differ
diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild
index 197c0d1b77..3262134a32 100644
--- a/gis/qmapshack/qmapshack.SlackBuild
+++ b/gis/qmapshack/qmapshack.SlackBuild
@@ -12,7 +12,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qmapshack
-VERSION=${VERSION:-1.16.1}
+VERSION=${VERSION:-1.17.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,10 +59,6 @@ cd $TMP
rm -rf $PRGNAM-V_${VERSION}
tar xvf $CWD/${PRGNAM}-V_${VERSION}.tar.gz
cd ${PRGNAM}-V_${VERSION}
-# cmake / autotools problem in proj package if proj switches to cmake in
-# future, cmake should be able to find proj here.
-# thanks debian maintainers
-zcat $CWD/proj.patch.gz | patch -p1
chown -R root:root .
find -L . \
diff --git a/gis/qmapshack/qmapshack.info b/gis/qmapshack/qmapshack.info
index 0dfb13a29d..8e6e139656 100644
--- a/gis/qmapshack/qmapshack.info
+++ b/gis/qmapshack/qmapshack.info
@@ -1,10 +1,10 @@
PRGNAM="qmapshack"
-VERSION="1.16.1"
+VERSION="1.17.1"
HOMEPAGE="https://github.com/Maproom/qmapshack/wiki"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/Maproom/qmapshack/archive/V_1.16.1/qmapshack-V_1.16.1.tar.gz"
-MD5SUM_x86_64="7520305c2309af093cf873130d599ee9"
+DOWNLOAD_x86_64="https://github.com/Maproom/qmapshack/archive/V_1.17.1/qmapshack-V_1.17.1.tar.gz"
+MD5SUM_x86_64="94851207c9e9800f7d2ca0200ce7ecff"
REQUIRES="gdal routino"
MAINTAINER="Daniel Stolarski"
EMAIL="daniel.stolarski@gmail.com"
diff --git a/gis/rasterio/rasterio.info b/gis/rasterio/rasterio.info
index 081b310262..5d25597e44 100644
--- a/gis/rasterio/rasterio.info
+++ b/gis/rasterio/rasterio.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/mapbox/rasterio/archive/1.2.6/rasterio-1.2.6.tar.gz
MD5SUM="6c8eac345f3268d9edde10820c8cfcef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="affine click-plugins cligj gdal snuggs numpy3 python3-attrs"
+REQUIRES="affine click-plugins cligj gdal snuggs python3-attrs"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/saga-gis/README b/gis/saga-gis/README
index 8b46a6db2e..25b4b6a1ad 100644
--- a/gis/saga-gis/README
+++ b/gis/saga-gis/README
@@ -1,19 +1,42 @@
-System for Automated Geoscientific Analyses (SAGA) is a Geographic
-System Information software with immense capabilities for geodata
-System processing and analysis.
+System for Automated Geoscientific Analyses (SAGA) is a Geographic
+Information System software with immense capabilities for geodata
+processing and analysis.
-SAGA supports the implementation of new functions with an effective
-API. Functions are organised as modules in framework independent
-Module Libraries and can be accessed via SAGA's Graphical User
-Interface or various scripting environments (shell scripts, Python,
+SAGA supports the implementation of new functions with an effective
+API. Functions are organised as modules in framework independent
+Module Libraries and can be accessed via SAGA's Graphical User
+Interface or various scripting environments (shell scripts, Python,
R and so on).
-SAGA can use these optional dependencies: libharu, liblas, postgresql
-and qhull. SAGA currently does not build when vigra is installed.
+SAGA can use these optional autodetected dependencies enabled if they
+are found in the system:
+libharu, OpenMP, OpenCV, qhull, vigra, pdal, postgresql/postgis,
+libLAS, proj, hdf5. Previous issues given with OpenCV version 4 or
+greater and vigra seem solved in last versions of SAGA.
-To enable opencv, set OPENCV=ON. By default OpenCV is disabled since
-SAGA does not build when opencv version 4 or greater is installed. For
-a compatible version of OpenCV, use the opencv-legacy SlackBuild.
-
-If SAGA fails to run after an upgrade, uninstall old versions of SAGA
-before compilation.
+WARNINGS:
+1) Unlike earlier versions of SAGA, the build of last versions
+ requires wxGTK3 => 3.1 that is not available in Slackbuilds.org at
+ the moment. If you want to build this version of SAGA you have to
+ install the package wxWidgets (also available in Slackbuilds.org).
+ If you have both wxGTK3 and wxWidgets installed in your system,
+ make sure that wxWidgets is installed after wxGTK.
+2) SAGA requires an ODBC driver in the system. It works both with
+ iODBC (installed with the libiodbc package (included in Slackware
+ 15.0) and unixODBC (installed from the SBo's slackbuild). The build
+ first searches for unixODBC then for iODBC. It fails if any driver
+ is found. These drivers are in conflict so, if you have installed
+ and then removed unixODBC, please make sure to reinstall libiodbc.
+ You should also consider that a package prebuilt in a Slackware
+ with unixODBC should not be installed in a system with iODBC (and
+ vice versa).
+3) unixODBC is a required dependency in 32 bit systems: the source
+ code of SAGA conflicts with the code of a libiodbc header
+ (/usr/include/iodbcunix.h) and the build fails. This issue can be
+ overcome by installing unixODBC from the SBo's slackbuild.
+4) For current users: the build of Python bindings fails since the
+ upgrade of swig package to version 4.2 in current (January 2024).
+ Therefore Saga with support to Python will be disabled in current
+ if the version of swig installed is earlier than 4.0.2. If you
+ require the support to Python you must downgrade swig to the version
+ released in Slackware 15.0.
diff --git a/gis/saga-gis/doinst.sh b/gis/saga-gis/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/gis/saga-gis/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild
index e2aeb5136d..e02d2da421 100644
--- a/gis/saga-gis/saga-gis.SlackBuild
+++ b/gis/saga-gis/saga-gis.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for saga-gis
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -22,13 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20220301 bkw: Modified by SlackBuilds.org: fix wxPython/wxGTK3 conflict.
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=saga-gis
-VERSION=${VERSION:-7.9.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-9.3.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -48,84 +47,94 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$SRCNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# issues with -O2 causing build failures
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS=""
- LIBDIRSUFFIX=""
fi
set -e
+# unixODBC is needed in 32 bit systems instead of libiodbc released
+# with Slackware 15.0. The slackbuild stops if unixODBC is not installed
+if [[ "$ARCH" = "i586" || "$ARCH" = "i686" ]] ; then
+ if ! [ -f /usr/lib/libodbc.so ] ; then
+ echo "";
+ echo "";
+ echo "";
+ echo "******************** WARNING *********************";
+ echo " This script cannot be executed in 32 bit systems ";
+ echo " with iODBC as default ODBC library installed. ";
+ echo " The current process will be stopped. ";
+ echo " Please install the unixODBC package from the ";
+ echo " slackbuild available in the SBo repository. ";
+ echo "**************************************************";
+ exit 1;
+ fi
+fi
+
+if [ -d /usr/share/cmake-3.29 ]; then
+ # This prevents some cmake warnings in current
+ CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0153=OLD "
+else
+ CMAKE_POLICY=""
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+cd $SRCNAM-$VERSION/saga-gis
+
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 {} \+
-
-if [ "$OPENCV" != "ON" ] ; then
- sed -i "s/CVFOUND=1/true/g" configure
-fi
-
-sed -i "s/isinf/std::isinf/g" src/saga_core/saga_gui/wksp_map_layer.cpp
-
-# 20220308 bkw: no configure option or environment variable for the
-# wx config script to use, so force it this way:
-mkdir -p wxtmp
-ln -s /usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0 wxtmp/wx-config
-export PATH=$(pwd)/wxtmp:$PATH
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-PYTHON=python3 \
-./configure \
- --build=$ARCH \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --enable-python \
- --disable-odbc \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ $CMAKE_POLICY \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# DCMAKE_INSTALL_MANDIR is not applied by the process we move files manually from /usr/share
+mv $PKG/usr/share/man $PKG/usr/
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mv $PKG/usr/share/metainfo $PKG/usr/share/appdata
+# fix some bad perms in doc files that have to install
+chmod 644 readme.md src/*.txt
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a readme.md src/gpl.txt src/lgpl.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/saga-gis/saga-gis.info b/gis/saga-gis/saga-gis.info
index 7cebff7e7f..62dd9d644b 100644
--- a/gis/saga-gis/saga-gis.info
+++ b/gis/saga-gis/saga-gis.info
@@ -1,10 +1,10 @@
PRGNAM="saga-gis"
-VERSION="7.9.0"
+VERSION="9.3.2"
HOMEPAGE="http://www.saga-gis.org"
-DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%207/SAGA%20-%207.9.0/saga-7.9.0.tar.gz"
-MD5SUM="b988d202508ea8387150d13ff9292fa5"
+DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.3.2/saga-9.3.2.tar.gz"
+MD5SUM="7880d0216e493dd6b9cbf7c9cf398889"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal postgresql wxGTK3"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="wxWidgets"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/survex/README b/gis/survex/README
index 51461a02e8..f1a3ea5a5f 100644
--- a/gis/survex/README
+++ b/gis/survex/README
@@ -2,10 +2,10 @@ Survex is a Free and Open Source software package to assist surveying
and mapping cave systems.
By default this slackbuild installs a sample dataset into the
-installation directory tree. If you do not need this pass to the
+installation directory tree. If you do not need this passe to the
script the environment variable SAMPLE=no as following:
- SAMPLE=no ./survex.SlackBuild
+SAMPLE=no ./survex.SlackBuild
Note: the Graphical Interface User is launched by the command aven or
the Desktop entry "Aven Cave Surveying Tool".
diff --git a/gis/survex/survex.SlackBuild b/gis/survex/survex.SlackBuild
index 8c9c29f8b7..4b35a4b7ba 100644
--- a/gis/survex/survex.SlackBuild
+++ b/gis/survex/survex.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=survex
-VERSION=${VERSION:-1.4.3}
+VERSION=${VERSION:-1.4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/survex/survex.info b/gis/survex/survex.info
index 56c7891b4a..a1e3df434f 100644
--- a/gis/survex/survex.info
+++ b/gis/survex/survex.info
@@ -1,9 +1,9 @@
PRGNAM="survex"
-VERSION="1.4.3"
+VERSION="1.4.5"
HOMEPAGE="https://survex.com"
-DOWNLOAD="https://survex.com/software/1.4.3/survex-1.4.3.tar.gz \
+DOWNLOAD="https://survex.com/software/1.4.5/survex-1.4.5.tar.gz \
https://survex.com/software/sample.tar.gz"
-MD5SUM="9e2c2864e45be138c6e1f23416718eac \
+MD5SUM="7b15c55bfb3fb9268733778c8cda2712 \
75f0d39e52fefb886b39ea664ef76c80"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/gis/therion/README b/gis/therion/README
new file mode 100644
index 0000000000..c7be4893b4
--- /dev/null
+++ b/gis/therion/README
@@ -0,0 +1,68 @@
+Therion is a complete platform which processes survey data and
+generates maps or 3D models of caves. This suite may be useful for
+professional or amateur cavers and researchers in geology or
+speleology fields.
+
+The package includes the following components:
+- therion: the basic executable program that works as a command-line
+ compiler and processes input files, which are - including 2D maps -
+ in text format, to create files with 2D maps or 3D model. 2D maps
+ can be generated in PDF or SVG formats or other formats handled by
+ GIS platforms (DXF, ESRI, KML) or Aven (Survex format). 3D models
+ can be generated in the native format (handled by the component
+ Loch) or other formats (Compass, 3DMF, VRML, Survex, ecc.) handled
+ by appropriate viewers.
+- xtherion: the executable program that launches the GUI (Graphical
+ User Interface). Xtherion works as text editor, map editor, and
+ compiler (instead of therion). This component is not essential:
+ output files can be generated by therion preparing the input files
+ with external programs as text or maps editors.
+- Loch: a 3D model viewer that supports high-resolution rendering to
+ file and stereo view using 3D-glasses. This component is not
+ essential: output 3D models can be displayed with other external
+ viewers.
+- thbook.pdf: the Therion Book, it contains the documentation to use
+ Therion, generated with pdfTEX during the build process. It will be
+ installed in /usr/doc/therion-[VERSION]. This component is not
+ essential: a copy of the book (in basic size format) is also
+ available in the project homepage.
+
+The build of the optional components is enabled by default. You can
+exclude one or more of them by passing to the script the respective
+environment variables:
+
+- LOCH=no This disables the build of the native 3D viewer Loch. In
+ this case wxWidgets and VTK are not required.
+- GUI=no This disables the build of Xtherion.
+- BOOK=no This disables the build of thbook.pdf.
+
+WARNINGS
+
+Note that the platform works only with some standards, interpreters or
+programs (like METAPOST, TEX, tcl/tk, ImageMagick, ecc.) that are
+available in a full installation of Slackware, and some extensions of
+these (like LCDF Typetools, Bwidget, and tkImg) that are available in
+Slackbuilds.org. Without these dependencies Therion fails during the
+package build (almost) or in runtime for some features (e.g. tkImg,
+that is not detected by the build process).
+
+Since version 6.1.7, Therion no longer includes an internal {fmt}
+library, so this library is a required dependency. In Slackware 15.0,
+this library must be installed by the slackbuild available in
+Slackbuilds.org whereas in Slackware current it must be installed
+from the package released with the official current.
+
+Since version 6.1.8, the build of LOCH fails if wxGTK3 is installed
+instead of wxWidgets 3.2.2.1, so wxWidgets is strictly required. If
+both wxGTK3 and wxWidgets are installed, the build process will use
+wxWidgets, so these libraries can coexist. Other libraries based on
+wxWidgets (like wxPython3 or wxPython4 for example) are not tested.
+
+After the installation, a full and extended integrated behavior,
+optimized with the custom configuration, requires to set or uncomment
+appropriate values in the initialization files in /etc/therion.
+
+Sample data can be downloaded from the project homepage. They can be
+used to practice about Therion.
+
+See the thbook.pdf for more information.
diff --git a/gis/therion/doinst.sh b/gis/therion/doinst.sh
new file mode 100644
index 0000000000..00ecebd85c
--- /dev/null
+++ b/gis/therion/doinst.sh
@@ -0,0 +1,29 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/therion/therion.ini.new
+config etc/therion/xtherion.ini.new
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/gis/therion/slack-desc b/gis/therion/slack-desc
new file mode 100644
index 0000000000..59129ed4b3
--- /dev/null
+++ b/gis/therion/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+therion: therion (Cave surveying software)
+therion:
+therion: Therion is a complete package which processes survey data and
+therion: generates maps or 3D models of caves.
+therion:
+therion:
+therion:
+therion:
+therion: https://therion.speleo.sk/
+therion:
+therion:
diff --git a/gis/therion/therion.SlackBuild b/gis/therion/therion.SlackBuild
new file mode 100644
index 0000000000..f5290f8530
--- /dev/null
+++ b/gis/therion/therion.SlackBuild
@@ -0,0 +1,163 @@
+#!/bin/bash
+
+# Slackware build script for therion
+
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
+# 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=therion
+VERSION=${VERSION:-6.2.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+# Features enabled by default
+BUILDLOCH="" ; [ "${LOCH:-yes}" = "no" ] && BUILDLOCH=" -DBUILD_LOCH=OFF"
+BUILDBOOK=" -DTHBOOK_FORMAT=3" ; [ "${BOOK:-yes}" = "no" ] && BUILDBOOK=" -DBUILD_THBOOK=OFF"
+BUILDX=""; [ "${GUI:-yes}" = "no" ] && BUILDX=" -DBUILD_XTHERION=OFF"
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+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 \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake -Wno-dev \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc/therion \
+ $BUILDLOCH \
+ $BUILDBOOK \
+ $BUILDX \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make -j 10
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES COPYING README CONTRIBUTING.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# make installs documentation generated by the build into two directories in /usr/share/doc
+# we move this documentation in /usr/doc/therion-x.y.z
+if [ "$BOOK" != "no" ] ; then
+ mv $PKG/usr/share/doc/$PRGNAM/thbook.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+ rm -rf $PKG/usr/share/doc/$PRGNAM
+ if [ "$LOCH" == "no" ] ; then
+ rm -rf $PKG/usr/share
+ fi
+fi
+if [ "$LOCH" != "no" ] ; then
+ mv $PKG/usr/share/doc/therion-viewer $PKG/usr/doc/$PRGNAM-$VERSION
+ rm -rf $PKG/usr/share/doc
+fi
+
+#Make and install a copy of the application icon in PNG format
+mkdir -p $PKG/usr/share/icons/hicolor/32x32/apps
+magick $TMP/$PRGNAM-$VERSION/therion.ico $PKG/usr/share/icons/hicolor/32x32/apps/therion.png
+
+#Create a desktop entry
+mkdir -p $PKG/usr/share/applications
+cat << EOF > $PKG/usr/share/applications/therion.desktop
+[Desktop Entry]
+Type=Application
+Name=Therion
+GenericName=Cave survey software
+GenericName[de]=Höhlenstudienprogramm
+GenericName[es]=Programa de estudio de las cuevas
+GenericName[fr]=Programme d'étude des grottes
+GenericName[it]=Programma di studio delle grotte
+GenericName[pt]=Programa de estudo de caverna
+Comment=Process data from speleological surveys and generate maps and 3D models of caves
+Comment[de]=Verarbeiten Sie speläologische Daten und erstellen Sie Höhlenkarten und 3D-Modelle
+Comment[es]=Procese datos de estudios espeleológicos y genere mapas y modelos 3D de cuevas
+Comment[fr]=Traiter données des relevés spéléologiques et générer cartes et modèles 3D de grottes
+Comment[it]=Elabora dati di rilievi speleologici e genera mappe e modelli 3D delle grotte
+Comment[pt]=Processar dados de levantamentos espeleológicos e gerar mapas e modelos 3D de cavernas
+Exec=xtherion
+Icon=/usr/share/icons/hicolor/32x32/apps/therion.png
+Terminal=false
+Categories=Education;Science;Geology;
+StartupNotify=true
+MimeType=text/x-th;text/x-th2;
+
+EOF
+
+# remove *.ini files, leave only *.ini.new
+rm -f $PKG/etc/therion/*.ini
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/therion/therion.info b/gis/therion/therion.info
new file mode 100644
index 0000000000..3cbeac70f3
--- /dev/null
+++ b/gis/therion/therion.info
@@ -0,0 +1,10 @@
+PRGNAM="therion"
+VERSION="6.2.1"
+HOMEPAGE="https://therion.speleo.sk/"
+DOWNLOAD="https://github.com/therion/therion/archive/v6.2.1/therion-6.2.1.tar.gz"
+MD5SUM="cb3b9c2472bfeda939661ce7d71e651d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="bwidget Catch2 fmt lcdf-typetools proj tkimg VTK wxWidgets"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/gis/whitebox-tools/whitebox-tools.info b/gis/whitebox-tools/whitebox-tools.info
index 414f3812e2..7750b688ed 100644
--- a/gis/whitebox-tools/whitebox-tools.info
+++ b/gis/whitebox-tools/whitebox-tools.info
@@ -2,103 +2,103 @@ PRGNAM="whitebox-tools"
VERSION="1.5.0"
HOMEPAGE="https://github.com/jblindsay/whitebox-tools"
DOWNLOAD="https://github.com/jblindsay/whitebox-tools/archive/1.5.0/whitebox-tools-1.5.0.tar.gz \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/adler/adler-0.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/adler32/adler32-1.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/alga/alga-0.9.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/alloc-no-stdlib/alloc-no-stdlib-2.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/alloc-stdlib/alloc-stdlib-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/approx/approx-0.3.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-0.1.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/brotli/brotli-3.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/brotli-decompressor/brotli-decompressor-2.3.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/byteorder/byteorder-1.4.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bzip2/bzip2-0.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bzip2-sys/bzip2-sys-0.1.10+1.0.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.66.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-1.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/chrono/chrono-0.4.19.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cloudabi/cloudabi-0.0.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/const_fn/const_fn-0.4.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crc32fast/crc32fast-1.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-channel/crossbeam-channel-0.5.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-deque/crossbeam-deque-0.8.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-epoch/crossbeam-epoch-0.9.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-utils/crossbeam-utils-0.8.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/either/either-1.6.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/flate2/flate2-1.0.20.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-cprng/fuchsia-cprng-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/generic-array/generic-array-0.12.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/getrandom/getrandom-0.1.16.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.18.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/itoa/itoa-0.4.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/kdtree/kdtree-0.6.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.86.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/libm/libm-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lzw/lzw-0.10.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/matrixmultiply/matrixmultiply-0.2.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/memoffset/memoffset-0.6.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/miniz_oxide/miniz_oxide-0.3.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/miniz_oxide/miniz_oxide-0.4.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/msdos_time/msdos_time-0.1.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/nalgebra/nalgebra-0.18.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-complex/num-complex-0.2.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-integer/num-integer-0.1.44.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-rational/num-rational-0.2.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-traits/num-traits-0.2.14.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num_cpus/num_cpus-1.13.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pdqselect/pdqselect-0.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pest/pest-2.1.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.19.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/podio/podio-0.1.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ppv-lite86/ppv-lite86-0.2.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.24.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.3.23.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.4.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.6.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.7.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.2.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.3.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.4.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.5.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_distr/rand_distr-0.2.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_isaac/rand_isaac-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_jitter/rand_jitter-0.1.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_os/rand_os-0.1.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_pcg/rand_pcg-0.1.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_pcg/rand_pcg-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_xorshift/rand_xorshift-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rawpointer/rawpointer-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rayon/rayon-1.5.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rayon-core/rayon-core-1.9.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rdrand/rdrand-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rstar/rstar-0.7.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc_version/rustc_version-0.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ryu/ryu-1.0.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/scopeguard/scopeguard-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/semver/semver-0.11.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/semver-parser/semver-parser-0.10.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde/serde-1.0.123.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_derive/serde_derive-1.0.123.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_json/serde_json-1.0.64.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/statrs/statrs-0.9.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.60.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.44.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/typenum/typenum-1.12.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ucd-trie/ucd-trie-0.1.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.10.0+wasi-snapshot-preview1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/zip/zip-0.3.3.crate"
+ https://static.crates.io/crates/adler/adler-0.2.3.crate \
+ https://static.crates.io/crates/adler32/adler32-1.2.0.crate \
+ https://static.crates.io/crates/alga/alga-0.9.3.crate \
+ https://static.crates.io/crates/alloc-no-stdlib/alloc-no-stdlib-2.0.1.crate \
+ https://static.crates.io/crates/alloc-stdlib/alloc-stdlib-0.2.1.crate \
+ https://static.crates.io/crates/approx/approx-0.3.2.crate \
+ https://static.crates.io/crates/autocfg/autocfg-0.1.7.crate \
+ https://static.crates.io/crates/autocfg/autocfg-1.0.1.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.2.1.crate \
+ https://static.crates.io/crates/brotli/brotli-3.3.0.crate \
+ https://static.crates.io/crates/brotli-decompressor/brotli-decompressor-2.3.1.crate \
+ https://static.crates.io/crates/byteorder/byteorder-1.4.2.crate \
+ https://static.crates.io/crates/bzip2/bzip2-0.3.3.crate \
+ https://static.crates.io/crates/bzip2-sys/bzip2-sys-0.1.10+1.0.8.crate \
+ https://static.crates.io/crates/cc/cc-1.0.66.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/chrono/chrono-0.4.19.crate \
+ https://static.crates.io/crates/cloudabi/cloudabi-0.0.3.crate \
+ https://static.crates.io/crates/const_fn/const_fn-0.4.5.crate \
+ https://static.crates.io/crates/crc32fast/crc32fast-1.2.1.crate \
+ https://static.crates.io/crates/crossbeam-channel/crossbeam-channel-0.5.0.crate \
+ https://static.crates.io/crates/crossbeam-deque/crossbeam-deque-0.8.0.crate \
+ https://static.crates.io/crates/crossbeam-epoch/crossbeam-epoch-0.9.1.crate \
+ https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.1.crate \
+ https://static.crates.io/crates/either/either-1.6.1.crate \
+ https://static.crates.io/crates/flate2/flate2-1.0.20.crate \
+ https://static.crates.io/crates/fuchsia-cprng/fuchsia-cprng-0.1.1.crate \
+ https://static.crates.io/crates/generic-array/generic-array-0.12.3.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.1.16.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.18.crate \
+ https://static.crates.io/crates/itoa/itoa-0.4.7.crate \
+ https://static.crates.io/crates/kdtree/kdtree-0.6.0.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.86.crate \
+ https://static.crates.io/crates/libm/libm-0.2.1.crate \
+ https://static.crates.io/crates/lzw/lzw-0.10.0.crate \
+ https://static.crates.io/crates/matrixmultiply/matrixmultiply-0.2.4.crate \
+ https://static.crates.io/crates/memoffset/memoffset-0.6.1.crate \
+ https://static.crates.io/crates/miniz_oxide/miniz_oxide-0.3.7.crate \
+ https://static.crates.io/crates/miniz_oxide/miniz_oxide-0.4.3.crate \
+ https://static.crates.io/crates/msdos_time/msdos_time-0.1.6.crate \
+ https://static.crates.io/crates/nalgebra/nalgebra-0.18.1.crate \
+ https://static.crates.io/crates/num-complex/num-complex-0.2.4.crate \
+ https://static.crates.io/crates/num-integer/num-integer-0.1.44.crate \
+ https://static.crates.io/crates/num-rational/num-rational-0.2.4.crate \
+ https://static.crates.io/crates/num-traits/num-traits-0.2.14.crate \
+ https://static.crates.io/crates/num_cpus/num_cpus-1.13.0.crate \
+ https://static.crates.io/crates/pdqselect/pdqselect-0.1.0.crate \
+ https://static.crates.io/crates/pest/pest-2.1.3.crate \
+ https://static.crates.io/crates/pkg-config/pkg-config-0.3.19.crate \
+ https://static.crates.io/crates/podio/podio-0.1.7.crate \
+ https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.10.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.24.crate \
+ https://static.crates.io/crates/quote/quote-1.0.8.crate \
+ https://static.crates.io/crates/rand/rand-0.3.23.crate \
+ https://static.crates.io/crates/rand/rand-0.4.6.crate \
+ https://static.crates.io/crates/rand/rand-0.6.5.crate \
+ https://static.crates.io/crates/rand/rand-0.7.3.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.1.1.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.2.2.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.3.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.4.2.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.5.1.crate \
+ https://static.crates.io/crates/rand_distr/rand_distr-0.2.2.crate \
+ https://static.crates.io/crates/rand_hc/rand_hc-0.1.0.crate \
+ https://static.crates.io/crates/rand_hc/rand_hc-0.2.0.crate \
+ https://static.crates.io/crates/rand_isaac/rand_isaac-0.1.1.crate \
+ https://static.crates.io/crates/rand_jitter/rand_jitter-0.1.4.crate \
+ https://static.crates.io/crates/rand_os/rand_os-0.1.3.crate \
+ https://static.crates.io/crates/rand_pcg/rand_pcg-0.1.2.crate \
+ https://static.crates.io/crates/rand_pcg/rand_pcg-0.2.1.crate \
+ https://static.crates.io/crates/rand_xorshift/rand_xorshift-0.1.1.crate \
+ https://static.crates.io/crates/rawpointer/rawpointer-0.2.1.crate \
+ https://static.crates.io/crates/rayon/rayon-1.5.0.crate \
+ https://static.crates.io/crates/rayon-core/rayon-core-1.9.0.crate \
+ https://static.crates.io/crates/rdrand/rdrand-0.4.0.crate \
+ https://static.crates.io/crates/rstar/rstar-0.7.1.crate \
+ https://static.crates.io/crates/rustc_version/rustc_version-0.3.3.crate \
+ https://static.crates.io/crates/ryu/ryu-1.0.5.crate \
+ https://static.crates.io/crates/scopeguard/scopeguard-1.1.0.crate \
+ https://static.crates.io/crates/semver/semver-0.11.0.crate \
+ https://static.crates.io/crates/semver-parser/semver-parser-0.10.2.crate \
+ https://static.crates.io/crates/serde/serde-1.0.123.crate \
+ https://static.crates.io/crates/serde_derive/serde_derive-1.0.123.crate \
+ https://static.crates.io/crates/serde_json/serde_json-1.0.64.crate \
+ https://static.crates.io/crates/statrs/statrs-0.9.0.crate \
+ https://static.crates.io/crates/syn/syn-1.0.60.crate \
+ https://static.crates.io/crates/time/time-0.1.44.crate \
+ https://static.crates.io/crates/typenum/typenum-1.12.0.crate \
+ https://static.crates.io/crates/ucd-trie/ucd-trie-0.1.3.crate \
+ https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.1.crate \
+ https://static.crates.io/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/wasi/wasi-0.10.0+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/zip/zip-0.3.3.crate"
MD5SUM="58e6a008c05b16aca79fb6a79f4679f6 \
c9d0c8f38c6686e47c29fe9b409c25c2 \
d5898ddb1e496ff0ac50b79829311e76 \
diff --git a/gis/xplanet/xplanet.SlackBuild b/gis/xplanet/xplanet.SlackBuild
index d7fdf5dc84..9d7bc4e376 100644
--- a/gis/xplanet/xplanet.SlackBuild
+++ b/gis/xplanet/xplanet.SlackBuild
@@ -10,14 +10,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# 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
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -30,6 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""