gis/saga-gis: Updated for version 9.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
372c16bc68
commit
4248022b33
|
@ -34,3 +34,9 @@ WARNINGS:
|
||||||
code of SAGA conflicts with the code of a libiodbc header
|
code of SAGA conflicts with the code of a libiodbc header
|
||||||
(/usr/include/iodbcunix.h) and the build fails. This issue can be
|
(/usr/include/iodbcunix.h) and the build fails. This issue can be
|
||||||
overcome by installing unixODBC from the SBo's slackbuild.
|
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.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for saga-gis
|
# Slackware build script for saga-gis
|
||||||
|
|
||||||
# Copyright 2023 Giancarlo Dessi, Cagliari, IT
|
# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
|
||||||
# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=saga-gis
|
PRGNAM=saga-gis
|
||||||
VERSION=${VERSION:-9.3.0}
|
VERSION=${VERSION:-9.3.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -88,6 +88,15 @@ else
|
||||||
CMAKE_POLICY=""
|
CMAKE_POLICY=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Build of Python bindings must be disabled in current
|
||||||
|
# since the compilation with swig fails after the upgrade
|
||||||
|
# to version 4.2.0
|
||||||
|
if [ -d /usr/share/swig/4.0.2 ]; then
|
||||||
|
WITHPYTHON=""
|
||||||
|
else
|
||||||
|
WITHPYTHON="-DWITH_PYTHON=OFF "
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
|
@ -110,8 +119,9 @@ cd build
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_MANDIR=/usr/man \
|
-DCMAKE_INSTALL_MANDIR=/usr/man \
|
||||||
$CMAKE_POLICY \
|
$CMAKE_POLICY \
|
||||||
|
$WITHPYTHON \
|
||||||
-DCMAKE_BUILD_TYPE=Release ..
|
-DCMAKE_BUILD_TYPE=Release ..
|
||||||
make -j 10
|
make
|
||||||
make install/strip DESTDIR=$PKG
|
make install/strip DESTDIR=$PKG
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="saga-gis"
|
PRGNAM="saga-gis"
|
||||||
VERSION="9.3.0"
|
VERSION="9.3.1"
|
||||||
HOMEPAGE="http://www.saga-gis.org"
|
HOMEPAGE="http://www.saga-gis.org"
|
||||||
DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.3.0/saga-9.3.0.tar.gz/download"
|
DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.3.1/saga-9.3.1.tar.gz/download"
|
||||||
MD5SUM="40f31791bfc1ea2fe65fb419e96a3325"
|
MD5SUM="977a47f2c6b552c5fbec5479bfb4030c"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="wxWidgets"
|
REQUIRES="wxWidgets"
|
||||||
|
|
Loading…
Reference in New Issue