diff options
Diffstat (limited to 'gis')
39 files changed, 230 insertions, 104 deletions
diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild index 6e93a55818..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} @@ -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 340a20579d..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.2/dcw-gmt-2.1.2.tar.gz" -MD5SUM="4fe162932425feff35b01107b9b427b9 \ +MD5SUM="a03e8d73f73c3804d78a42a3d5fc3dc7 \ 8ee2653f9daf84d49fefbf990bbfa1e7 \ 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/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index 4f7ff0585b..c71a583df5 100644 --- a/gis/OTB/OTB.SlackBuild +++ b/gis/OTB/OTB.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=OTB VERSION=${VERSION:-9.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -115,7 +115,7 @@ cd build -DOTB_USE_LIBKML=ON \ -DOTBGroup_Learning=ON \ -DOTBGroup_FeaturesExtraction=ON \ - -DOTB_USE_MUPARSERX=OFF \ + -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())") \ @@ -123,7 +123,7 @@ cd build -DGDAL_CONFIG_CHECKING=OFF \ -DBUILD_DOCUMENTATION=OFF \ .. - make -j 10 + make make install DESTDIR=$PKG cd .. diff --git a/gis/OWSLib/OWSLib.SlackBuild b/gis/OWSLib/OWSLib.SlackBuild index fd76c9c131..2386de2d22 100644 --- a/gis/OWSLib/OWSLib.SlackBuild +++ b/gis/OWSLib/OWSLib.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=OWSLib VERSION=${VERSION:-0.30.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,13 @@ 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 {} \; +# This removes code fragments depending on pytz, not required in -current +# thanks to Brent Spillner +# https://github.com/spillner/OWSLib/commit/1848bea97a9af6e2e5a69dad46af606c73cffb0c +if [ -x /usr/bin/python3.11 ]; then + patch -p1 < $CWD/remove_dependency_on_pytz.patch +fi + python3 setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/gis/OWSLib/remove_dependency_on_pytz.patch b/gis/OWSLib/remove_dependency_on_pytz.patch new file mode 100644 index 0000000000..85d4f6ad43 --- /dev/null +++ b/gis/OWSLib/remove_dependency_on_pytz.patch @@ -0,0 +1,103 @@ +diff --git a/etc/RPM/python-owslib.spec b/etc/RPM/python-owslib.spec +index 96f8599de..8dfad75df 100644 +--- a/etc/RPM/python-owslib.spec ++++ b/etc/RPM/python-owslib.spec +@@ -25,7 +25,7 @@ BuildRequires: python-devel + BuildRequires: python-setuptools + BuildRequires: fdupes + Requires: python +-Requires: python-dateutil python-pytz ++Requires: python-dateutil + + %description + OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models. +diff --git a/owslib/util.py b/owslib/util.py +index 7894aa729..c715b3ce0 100644 +--- a/owslib/util.py ++++ b/owslib/util.py +@@ -12,8 +12,7 @@ + import sys + from collections import OrderedDict + from dateutil import parser +-from datetime import datetime, timedelta +-import pytz ++from datetime import datetime, timedelta, tzinfo + from owslib.etree import etree, ParseError + from owslib.namespaces import Namespaces + from urllib.parse import urlsplit, urlencode, urlparse, parse_qs, urlunparse, parse_qsl +@@ -38,6 +37,20 @@ class ServiceException(Exception): + pass + + ++# Allows marking timestamps as UTC without pulling in all of Pytz ++class TimeZone_UTC(tzinfo): ++ def tzname(self, dt): ++ return "UTC" ++ ++ def utcoffset(self, dt): ++ return timedelta(0) ++ ++ def dst(self, dt): ++ return timedelta(0) ++ ++tz_utc = TimeZone_UTC() ++ ++ + # http://stackoverflow.com/questions/6256183/combine-two-dictionaries-of-dictionaries-python + def dict_union(d1, d2): + return dict((x, (dict_union(d1.get(x, {}), d2[x]) if isinstance(d2.get(x), dict) else d2.get(x, d1.get(x)))) +@@ -649,8 +662,7 @@ def extract_time(element): + except Exception: + att = testXMLValue(element.attrib.get('indeterminatePosition'), True) + if att and att == 'now': +- dt = datetime.utcnow() +- dt.replace(tzinfo=pytz.utc) ++ dt = datetime.utcnow().replace(tzinfo=tz_utc) + else: + dt = None + return dt +diff --git a/requirements.txt b/requirements.txt +index c1b2c09bd..1531aa42f 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,6 +1,5 @@ + dataclasses; python_version < '3.7' + lxml + python-dateutil>=1.5 +-pytz + pyyaml + requests>=1.0 +diff --git a/tests/doctests/sml_52n_network.txt b/tests/doctests/sml_52n_network.txt +index 010fbb6b5..94add7ddc 100644 +--- a/tests/doctests/sml_52n_network.txt ++++ b/tests/doctests/sml_52n_network.txt +@@ -3,7 +3,6 @@ Imports + >>> from tests.utils import resource_file + >>> from owslib.swe.sensor.sml import SensorML + >>> from dateutil import parser +- >>> import pytz + + Initialize + +diff --git a/tests/doctests/sml_ndbc_station.txt b/tests/doctests/sml_ndbc_station.txt +index bd2ecf3af..bda0e559a 100644 +--- a/tests/doctests/sml_ndbc_station.txt ++++ b/tests/doctests/sml_ndbc_station.txt +@@ -3,7 +3,7 @@ Imports + >>> from tests.utils import resource_file + >>> from owslib.swe.sensor.sml import SensorML + >>> from dateutil import parser +- >>> import pytz ++ >>> from owslib.util import TimeZone_UTC + + Initialize + +@@ -104,7 +104,7 @@ History + 2 + + >>> event = his[0] +- >>> parser.parse(event.date).replace(tzinfo=pytz.utc).isoformat() ++ >>> parser.parse(event.date).replace(tzinfo=TimeZone_UTC()).isoformat() + '2010-01-12T00:00:00+00:00' + >>> event.description + 'Deployment start event' 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/eccodes.SlackBuild b/gis/eccodes/eccodes.SlackBuild index aac4868d11..a1b6a4602c 100644 --- a/gis/eccodes/eccodes.SlackBuild +++ b/gis/eccodes/eccodes.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=eccodes -VERSION=${VERSION:-2.34.1} +VERSION=${VERSION:-2.35.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/eccodes/eccodes.info b/gis/eccodes/eccodes.info index 2beec3783e..b3ad7fd648 100644 --- a/gis/eccodes/eccodes.info +++ b/gis/eccodes/eccodes.info @@ -1,10 +1,10 @@ PRGNAM="eccodes" -VERSION="2.34.1" +VERSION="2.35.0" 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" +DOWNLOAD_x86_64="https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.35.0-Source.tar.gz" +MD5SUM_x86_64="39babf438f2e36641e78322ece62137a" REQUIRES="libaec" MAINTAINER="ArTourter" EMAIL="artourter@gmail.com" diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild index 16dae944b4..b772003aad 100644 --- a/gis/gdal/gdal.SlackBuild +++ b/gis/gdal/gdal.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gdal -VERSION=${VERSION:-3.8.4} +VERSION=${VERSION:-3.8.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info index 1a5a971e77..70e6cd04c3 100644 --- a/gis/gdal/gdal.info +++ b/gis/gdal/gdal.info @@ -1,8 +1,8 @@ PRGNAM="gdal" -VERSION="3.8.4" +VERSION="3.8.5" HOMEPAGE="https://www.gdal.org/" -DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.8.4/gdal-3.8.4.tar.gz" -MD5SUM="5ec21633410d938e3c7d73ac948e4d69" +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="xerces-c libkml netcdf libspatialite podofo libgeotiff" diff --git a/gis/gpxsee/doinst.sh b/gis/gpxsee/doinst.sh index daaf27f812..43c30eaca1 100644 --- a/gis/gpxsee/doinst.sh +++ b/gis/gpxsee/doinst.sh @@ -5,3 +5,10 @@ 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/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild index 891ded56fd..435c3c1ca6 100644 --- a/gis/gpxsee/gpxsee.SlackBuild +++ b/gis/gpxsee/gpxsee.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for GPXSee # 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:-13.16} +VERSION=${VERSION:-13.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/gpxsee/gpxsee.info b/gis/gpxsee/gpxsee.info index 6f45438d68..d7051c0ef0 100644 --- a/gis/gpxsee/gpxsee.info +++ b/gis/gpxsee/gpxsee.info @@ -1,10 +1,10 @@ PRGNAM="gpxsee" -VERSION="13.16" +VERSION="13.19" HOMEPAGE="https://www.gpxsee.org/" -DOWNLOAD="https://github.com/tumic0/GPXSee/archive/13.16/GPXSee-13.16.tar.gz" -MD5SUM="71da416facde4f20585b41d359be2645" +DOWNLOAD="https://github.com/tumic0/GPXSee/archive/13.19/GPXSee-13.19.tar.gz" +MD5SUM="f7d73349bac597b58ca89a282b7e9e94" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Nikolay Korotkiy" -EMAIL="sikmir@gmail.com" +MAINTAINER="titopoquito" +EMAIL="titopoquito@gmail.com" diff --git a/gis/osgEarth/osgEarth.info b/gis/osgEarth/osgEarth.info index e46300338f..a5577fa633 100644 --- a/gis/osgEarth/osgEarth.info +++ b/gis/osgEarth/osgEarth.info @@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/osgEarth MD5SUM="58de6c17ac7643a3ba30d978dc6f0e1b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="fmt gdal OpenSceneGraph protobuf3 rocksdb spdlog" +REQUIRES="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/osm2pgsql-legacy.info b/gis/osm2pgsql-legacy/osm2pgsql-legacy.info index fa90a81946..6344e8a920 100644 --- a/gis/osm2pgsql-legacy/osm2pgsql-legacy.info +++ b/gis/osm2pgsql-legacy/osm2pgsql-legacy.info @@ -1,7 +1,7 @@ PRGNAM="osm2pgsql-legacy" VERSION="1.9.2" HOMEPAGE="https://osm2pgsql.org/" -DOWNLOAD="https://github.com/osm2pgsql-dev/osm2pgsql/archive/1.9.2.tar.gz" +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="" diff --git a/gis/osm2pgsql/osm2pgsql.info b/gis/osm2pgsql/osm2pgsql.info index a45a4de0e7..c6c549619f 100644 --- a/gis/osm2pgsql/osm2pgsql.info +++ b/gis/osm2pgsql/osm2pgsql.info @@ -3,7 +3,7 @@ VERSION="1.11.0" HOMEPAGE="https://osm2pgsql.org/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/osm2pgsql-dev/osm2pgsql/archive/1.11.0.tar.gz" +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" diff --git a/gis/pdal/pdal.SlackBuild b/gis/pdal/pdal.SlackBuild index 51bb59b7f7..dfb181ed11 100644 --- a/gis/pdal/pdal.SlackBuild +++ b/gis/pdal/pdal.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pdal SRCNAM=PDAL -VERSION=${VERSION:-2.6.3} +VERSION=${VERSION:-2.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,7 +53,7 @@ fi # ************************************************************************* -# Users that have a standard installation of proprietary MatLAB would enable +# 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" @@ -131,8 +131,8 @@ 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) + +# 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 diff --git a/gis/pdal/pdal.info b/gis/pdal/pdal.info index f9e745d288..64b125f2de 100644 --- a/gis/pdal/pdal.info +++ b/gis/pdal/pdal.info @@ -1,8 +1,8 @@ PRGNAM="pdal" -VERSION="2.6.3" +VERSION="2.7.1" HOMEPAGE="https://pdal.io" -DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.6.3/PDAL-2.6.3.tar.gz" -MD5SUM="fea7604600696bb7befe48265368e5e2" +DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.7.1/PDAL-2.7.1.tar.gz" +MD5SUM="a524026179dec11482d0f4670e0f68e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gdal libgeotiff netcdf postgresql" diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild index dc5af3a9ac..81c926b9fd 100644 --- a/gis/pgrouting/pgrouting.SlackBuild +++ b/gis/pgrouting/pgrouting.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pgrouting -VERSION=${VERSION:-3.6.1} +VERSION=${VERSION:-3.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/pgrouting/pgrouting.info b/gis/pgrouting/pgrouting.info index 7ceff5f19d..90acfc5ecf 100644 --- a/gis/pgrouting/pgrouting.info +++ b/gis/pgrouting/pgrouting.info @@ -1,8 +1,8 @@ PRGNAM="pgrouting" -VERSION="3.6.1" +VERSION="3.6.2" HOMEPAGE="https://pgrouting.org" -DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v3.6.1/pgrouting-3.6.1.tar.gz" -MD5SUM="763ed039292aaab086b299645f4df590" +DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v3.6.2/pgrouting-3.6.2.tar.gz" +MD5SUM="96336316353a7244976a97d59f4c9061" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgis" diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild index 9dbc0d4bba..6c14107eda 100644 --- a/gis/postgis/postgis.SlackBuild +++ b/gis/postgis/postgis.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=postgis VERSION=${VERSION:-3.4.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -96,6 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \ --datarootdir=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --without-protobuf \ $SHP2PGSQL_GUI \ --build=$ARCH-slackware-linux diff --git a/gis/postgis/postgis.info b/gis/postgis/postgis.info index c1f40cb1c8..8651201812 100644 --- a/gis/postgis/postgis.info +++ b/gis/postgis/postgis.info @@ -5,6 +5,6 @@ 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" +REQUIRES="gdal postgresql" MAINTAINER="Giancarlo Dessi" EMAIL="slack@giand.it" diff --git a/gis/python3-cartopy/python3-cartopy.SlackBuild b/gis/python3-cartopy/python3-cartopy.SlackBuild index 54e9139051..42993d5796 100644 --- a/gis/python3-cartopy/python3-cartopy.SlackBuild +++ b/gis/python3-cartopy/python3-cartopy.SlackBuild @@ -86,7 +86,8 @@ find -L . \ # build line but this is not deemed optimal. sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml -export PYTHONPATH=/opt/python3.9/site-packages/ +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 diff --git a/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild b/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild index 3a0ac454f0..1e9dffc224 100644 --- a/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild +++ b/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild @@ -71,7 +71,8 @@ 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 -export PYTHONPATH=/opt/python3.9/site-packages +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 diff --git a/gis/python3-pyproj/python3-pyproj.SlackBuild b/gis/python3-pyproj/python3-pyproj.SlackBuild index 8ce3614531..55256a46f3 100644 --- a/gis/python3-pyproj/python3-pyproj.SlackBuild +++ b/gis/python3-pyproj/python3-pyproj.SlackBuild @@ -82,7 +82,8 @@ 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 {} \; -export PYTHONPATH=/opt/python3.9/site-packages +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 diff --git a/gis/python3-shapely/python3-shapely.SlackBuild b/gis/python3-shapely/python3-shapely.SlackBuild index 20da7f0a13..12a2c42b8b 100644 --- a/gis/python3-shapely/python3-shapely.SlackBuild +++ b/gis/python3-shapely/python3-shapely.SlackBuild @@ -74,7 +74,8 @@ 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 -export PYTHONPATH=/opt/python3.9/site-packages +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 diff --git a/gis/python3-xarray/python3-xarray.SlackBuild b/gis/python3-xarray/python3-xarray.SlackBuild index 5e60996b65..92d7f121e6 100644 --- a/gis/python3-xarray/python3-xarray.SlackBuild +++ b/gis/python3-xarray/python3-xarray.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xarray -VERSION=${VERSION:-2024.02.0} +VERSION=${VERSION:-2024.03.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,7 +66,8 @@ find -L . \ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + -export PYTHONPATH=/opt/python3.9/site-packages/ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/gis/python3-xarray/python3-xarray.info b/gis/python3-xarray/python3-xarray.info index 445eb2b469..5bd43896ba 100644 --- a/gis/python3-xarray/python3-xarray.info +++ b/gis/python3-xarray/python3-xarray.info @@ -1,8 +1,8 @@ PRGNAM="python3-xarray" -VERSION="2024.02.0" +VERSION="2024.03.0" HOMEPAGE="http://xarray.pydata.org" -DOWNLOAD="https://github.com/pydata/xarray/archive/v2024.02.0/xarray-2024.02.0.tar.gz" -MD5SUM="0514d12889c39168be970abf1ce4f461" +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 python3-setuptools-scm-opt" diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index 129a8d4b14..249dad3bc6 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qgis -VERSION=${VERSION:-3.34.4} +VERSION=${VERSION:-3.36.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -127,7 +127,7 @@ cd build $WITHDRACO \ $WITHGRASS - make -j 10 + make make install DESTDIR=$PKG cd - diff --git a/gis/qgis/qgis.info b/gis/qgis/qgis.info index 3508a64d2b..c1f196f212 100644 --- a/gis/qgis/qgis.info +++ b/gis/qgis/qgis.info @@ -1,10 +1,10 @@ PRGNAM="qgis" -VERSION="3.34.4" +VERSION="3.36.1" HOMEPAGE="https://qgis.org/" -DOWNLOAD="https://qgis.org/downloads/qgis-3.34.4.tar.bz2" -MD5SUM="bae2ee03fb56fd8f6f442a3b44ee712f" +DOWNLOAD="https://qgis.org/downloads/qgis-3.36.1.tar.bz2" +MD5SUM="991b01d1e8f81d2cb87a85b509cdfad9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libspatialite libspatialindex OWSLib postgis python3-numpy python3-psycopg2 qwt termcolor" +REQUIRES="libspatialite libspatialindex OWSLib postgis python3-numpy python3-psycopg2 qwt termcolor protobuf3" MAINTAINER="Giancarlo Dessi" EMAIL="slack@giand.it" diff --git a/gis/saga-gis/README b/gis/saga-gis/README index 25b4b6a1ad..f5bf96ff4e 100644 --- a/gis/saga-gis/README +++ b/gis/saga-gis/README @@ -21,22 +21,9 @@ WARNINGS: 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. +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. +3) unixODBC is a required dependency in 32 bit systems since the + libiodbc headers cause a build failure during the compilation. diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild index ec9cf3c209..62a6841dd0 100644 --- a/gis/saga-gis/saga-gis.SlackBuild +++ b/gis/saga-gis/saga-gis.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=saga-gis -VERSION=${VERSION:-9.3.1} +VERSION=${VERSION:-9.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,20 +81,27 @@ if [[ "$ARCH" = "i586" || "$ARCH" = "i686" ]] ; then fi fi -if [ -d /usr/share/cmake-3.28 ]; then - # This prevents some cmake warnings in current - CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0153=OLD " +# if both unixODBCand and libiodbc are installed, SAGA set the +# first as default driver ODBC. This flag should prevent possible +# compilation failures since cmake does not find the correct +# path of unixODBC headers +ODBC="" +if pkg-config --exists odbc; then + ODBC="-DODBC_INCLUDE_DIR=/usr/include/unixodbc " +fi + +# Look if the system has PDAL installed +if pkg-config --exists pdal; then + WITHPDAL="" else - CMAKE_POLICY="" + WITHPDAL="-DWITH_TOOLS_PDAL=OFF " 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="" +if [ -d /usr/share/cmake-3.29 ]; then + # This prevents some cmake warnings in current + CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0153=OLD " else - WITHPYTHON="-DWITH_PYTHON=OFF " + CMAKE_POLICY="" fi rm -rf $PKG @@ -118,8 +125,9 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_MANDIR=/usr/man \ + $ODBC \ + $WITHPDAL \ $CMAKE_POLICY \ - $WITHPYTHON \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG diff --git a/gis/saga-gis/saga-gis.info b/gis/saga-gis/saga-gis.info index 901888a107..7336a02902 100644 --- a/gis/saga-gis/saga-gis.info +++ b/gis/saga-gis/saga-gis.info @@ -1,8 +1,8 @@ PRGNAM="saga-gis" -VERSION="9.3.1" +VERSION="9.4.0" HOMEPAGE="http://www.saga-gis.org" -DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.3.1/saga-9.3.1.tar.gz/download" -MD5SUM="977a47f2c6b552c5fbec5479bfb4030c" +DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.4.0/saga-9.4.0.tar.gz" +MD5SUM="51c55b07450e343ac08cc9a1bd26014d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="wxWidgets" diff --git a/gis/survex/survex.SlackBuild b/gis/survex/survex.SlackBuild index 4b35a4b7ba..942934e8a2 100644 --- a/gis/survex/survex.SlackBuild +++ b/gis/survex/survex.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for surved -# Copyright 2022 Giancarlo Dessì, Cagliari, IT +# Copyright 2022-2024 Giancarlo Dessì, Cagliari, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=survex -VERSION=${VERSION:-1.4.5} +VERSION=${VERSION:-1.4.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/survex/survex.info b/gis/survex/survex.info index a1e3df434f..190dd5c38f 100644 --- a/gis/survex/survex.info +++ b/gis/survex/survex.info @@ -1,12 +1,12 @@ PRGNAM="survex" -VERSION="1.4.5" +VERSION="1.4.7" HOMEPAGE="https://survex.com" -DOWNLOAD="https://survex.com/software/1.4.5/survex-1.4.5.tar.gz \ +DOWNLOAD="https://survex.com/software/1.4.7/survex-1.4.7.tar.gz \ https://survex.com/software/sample.tar.gz" -MD5SUM="7b15c55bfb3fb9268733778c8cda2712 \ +MD5SUM="fb4b5ba8b0c571ab4ab4d9e634f0f954 \ 75f0d39e52fefb886b39ea664ef76c80" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="proj wxGTK3" -MAINTAINER="Giancarlo Dessì" +MAINTAINER="Giancarlo Dessi" EMAIL="slack@giand.it" diff --git a/gis/therion/therion.SlackBuild b/gis/therion/therion.SlackBuild index 444e05d3a8..f5290f8530 100644 --- a/gis/therion/therion.SlackBuild +++ b/gis/therion/therion.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=therion -VERSION=${VERSION:-6.2.0} +VERSION=${VERSION:-6.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,7 +92,7 @@ cd build $BUILDBOOK \ $BUILDX \ -DCMAKE_BUILD_TYPE=Release .. - make + make -j 10 make install/strip DESTDIR=$PKG cd .. diff --git a/gis/therion/therion.info b/gis/therion/therion.info index cb979a67b5..3cbeac70f3 100644 --- a/gis/therion/therion.info +++ b/gis/therion/therion.info @@ -1,8 +1,8 @@ PRGNAM="therion" -VERSION="6.2.0" +VERSION="6.2.1" HOMEPAGE="https://therion.speleo.sk/" -DOWNLOAD="https://github.com/therion/therion/archive/v6.2.0/therion-6.2.0.tar.gz" -MD5SUM="1adb2255d56adeae02f3d97a7bf6e108" +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" |