diff options
Diffstat (limited to 'gis')
56 files changed, 369 insertions, 336 deletions
diff --git a/gis/Fiona/Fiona.SlackBuild b/gis/Fiona/Fiona.SlackBuild index 689b4e7450..a7108c0914 100644 --- a/gis/Fiona/Fiona.SlackBuild +++ b/gis/Fiona/Fiona.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Fiona # Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2024-2025 Isaac Yu <isaacyu@protonmail.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=Fiona -VERSION=${VERSION:-1.9.4.post1} +VERSION=${VERSION:-1.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,11 +63,9 @@ 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 {} \; -# remove requirement -sed -i '/oldest-supported-numpy/d' pyproject.toml - PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') -export PYTHONPATH=/opt/python$PYVER/site-packages/ +export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages" +export PATH="/opt/cython/bin:$PATH" python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl @@ -77,7 +75,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES.txt CREDITS.txt LICENSE.txt README.rst \ + CHANGES.txt CREDITS.txt FAQ.rst LICENSE.txt README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/Fiona/Fiona.info b/gis/Fiona/Fiona.info index a5b23cc9d9..1a7a33b83c 100644 --- a/gis/Fiona/Fiona.info +++ b/gis/Fiona/Fiona.info @@ -1,10 +1,10 @@ PRGNAM="Fiona" -VERSION="1.9.4.post1" +VERSION="1.10.1" HOMEPAGE="https://github.com/Toblerity/Fiona" -DOWNLOAD="https://github.com/Toblerity/Fiona/archive/1.9.4.post1/Fiona-1.9.4.post1.tar.gz" -MD5SUM="8c22085e3af1e69d6e4fff313c976ff5" +DOWNLOAD="https://github.com/Toblerity/Fiona/archive/1.10.1/Fiona-1.10.1.tar.gz" +MD5SUM="18b5db57708af803ba6cec8343e2d970" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal munch python3-attrs click-plugins cligj python-importlib_metadata" +REQUIRES="gdal munch python3-attrs click-plugins cligj python-importlib_metadata python3-cython-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/gis/Fiona/README b/gis/Fiona/README index 5893290008..ad7dc450bd 100644 --- a/gis/Fiona/README +++ b/gis/Fiona/README @@ -9,6 +9,3 @@ iterators instead of classes specific to OGR. Fiona can read and write real-world data using multi-layered GIS formats and zipped virtual file systems and integrates readily with other Python GIS packages such as pyproj, Rtree and Shapely. - -Fiona 1.9.4.post1 is the last available version for Slackware 15.0. -Newer versions require a newer Cython (at >= 3.0.2). diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild index b6b7a68a77..4a3e488c25 100644 --- a/gis/GMT/GMT.SlackBuild +++ b/gis/GMT/GMT.SlackBuild @@ -45,9 +45,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 @@ -77,7 +74,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION $GSHHG-$SRCNAM-$GSHHG_VERSION $DCW-$SRCNAM-$DCW_VERSION -tar xvf $CWD/$SRCNAM-$VERSION*.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz tar xvf $CWD/$GSHHG-$SRCNAM-$GSHHG_VERSION.tar.gz tar xvf $CWD/$DCW-$SRCNAM-$DCW_VERSION.tar.gz mkdir -p $PKG/usr/share/$SRCNAM/gshhg diff --git a/gis/OWSLib/OWSLib.SlackBuild b/gis/OWSLib/OWSLib.SlackBuild index 82fc79f481..0cf17f7bd3 100644 --- a/gis/OWSLib/OWSLib.SlackBuild +++ b/gis/OWSLib/OWSLib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for OWSLib -# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT +# Copyright 2023-2025 Giancarlo Dessi, Cagliari, IT # Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=OWSLib -VERSION=${VERSION:-0.31.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.32.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,13 +77,6 @@ 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.12 ]; 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/OWSLib.info b/gis/OWSLib/OWSLib.info index 08e904b87c..195f29e450 100644 --- a/gis/OWSLib/OWSLib.info +++ b/gis/OWSLib/OWSLib.info @@ -1,10 +1,10 @@ PRGNAM="OWSLib" -VERSION="0.31.0" +VERSION="0.32.0" HOMEPAGE="https://pypi.python.org/pypi/OWSLib/" -DOWNLOAD="https://github.com/geopython/OWSLib/archive/0.31.0/OWSLib-0.31.0.tar.gz" -MD5SUM="9aab2af59a1379e73daada198773d85f" +DOWNLOAD="https://github.com/geopython/OWSLib/archive/0.32.0/OWSLib-0.32.0.tar.gz" +MD5SUM="d6753a87d043606c50de1056fb34753e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-dateutil python3-pytz python3-lxml" +REQUIRES="python3-dateutil python3-lxml" MAINTAINER="Giancarlo Dessi" EMAIL="slack@giand.it" diff --git a/gis/OWSLib/remove_dependency_on_pytz.patch b/gis/OWSLib/remove_dependency_on_pytz.patch deleted file mode 100644 index 85d4f6ad43..0000000000 --- a/gis/OWSLib/remove_dependency_on_pytz.patch +++ /dev/null @@ -1,103 +0,0 @@ -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/eccodes/eccodes.SlackBuild b/gis/eccodes/eccodes.SlackBuild index cee9044251..e9d449698a 100644 --- a/gis/eccodes/eccodes.SlackBuild +++ b/gis/eccodes/eccodes.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for eccodes -# Copyright 2023-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2023-2025 Gregory J. L. Tourte <artourter@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=eccodes -VERSION=${VERSION:-2.38.3} +VERSION=${VERSION:-2.41.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/eccodes/eccodes.info b/gis/eccodes/eccodes.info index 25a83c9351..da69f63ea9 100644 --- a/gis/eccodes/eccodes.info +++ b/gis/eccodes/eccodes.info @@ -1,10 +1,10 @@ PRGNAM="eccodes" -VERSION="2.38.3" +VERSION="2.41.0" HOMEPAGE="https://confluence.ecmwf.int/display/ECC" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.38.3-Source.tar.gz" -MD5SUM_x86_64="4403d0d9bfa76d0c5b35bb3df21cf351" +DOWNLOAD_x86_64="https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.41.0-Source.tar.gz" +MD5SUM_x86_64="bde5df7296fd0bbe07ec72087231b210" REQUIRES="libaec" MAINTAINER="ArTourter" EMAIL="artourter@gmail.com" diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild index 9a128cf973..91b941e534 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-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2021-2025 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.9.3} +VERSION=${VERSION:-3.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info index 2a9ce73b46..4c2368c834 100644 --- a/gis/gdal/gdal.info +++ b/gis/gdal/gdal.info @@ -1,8 +1,8 @@ PRGNAM="gdal" -VERSION="3.9.3" +VERSION="3.11.0" HOMEPAGE="https://www.gdal.org/" -DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.9.3/gdal-3.9.3.tar.gz" -MD5SUM="6a4a96c31987570e67adbc05d321f94d" +DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.11.0/gdal-3.11.0.tar.gz" +MD5SUM="dbc8e9395b8859fed3baf08e7d8e9ed3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="xerces-c libkml netcdf libspatialite podofo libgeotiff python3-numpy" diff --git a/gis/geopy/README b/gis/geopy/README index 7375a1ad0f..11a4514c29 100644 --- a/gis/geopy/README +++ b/gis/geopy/README @@ -1,9 +1,9 @@ -geopy makes it easy for developers to locate the coordinates of -addresses, cities, countries, and landmarks across the globe using +geopy makes it easy for developers to locate the coordinates of +addresses, cities, countries, and landmarks across the globe using third-party geocoders and other data sources. -geopy currently includes support for several geocoders, including +geopy currently includes support for several geocoders, including OpenStreetMap Nominatim, ESRI ArcGIS, Google Geocoding API and more. -pytz and python3-aiohttp are optional dependencies that +python3-pytz and python3-aiohttp are optional dependencies that will be used if available. diff --git a/gis/geos/geos.SlackBuild b/gis/geos/geos.SlackBuild index 6b094ad2d6..84609c08a9 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-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2021-2025 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.13.0} +VERSION=${VERSION:-3.13.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/geos/geos.info b/gis/geos/geos.info index 14db2f7702..ec367393cf 100644 --- a/gis/geos/geos.info +++ b/gis/geos/geos.info @@ -1,8 +1,8 @@ PRGNAM="geos" -VERSION="3.13.0" +VERSION="3.13.1" HOMEPAGE="https://libgeos.org/" -DOWNLOAD="https://download.osgeo.org/geos/geos-3.13.0.tar.bz2" -MD5SUM="7dda2ea78f394c7d460f6e81a215087c" +DOWNLOAD="https://download.osgeo.org/geos/geos-3.13.1.tar.bz2" +MD5SUM="98d017b683040f051bdfa4bdf07a3fde" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/gis/google-earth/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild index 65011400a6..7401cefaf7 100644 --- a/gis/google-earth/google-earth.SlackBuild +++ b/gis/google-earth/google-earth.SlackBuild @@ -33,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=google-earth -VERSION=${VERSION:-7.3.6.9796} +VERSION=${VERSION:-7.3.6.10201} SHORTVER=${SHORTVER:-7.3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/google-earth/google-earth.info b/gis/google-earth/google-earth.info index 7223999e97..23f9e7cebb 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.6.9796" +VERSION="7.3.6.10201" 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.6_amd64.deb" -MD5SUM_x86_64="3e8fb2549222e87d4cbfe92bec068900" +MD5SUM_x86_64="b60b924e0dd069eec61cefec003b96a5" REQUIRES="" MAINTAINER="Lenard Spencer" EMAIL="lenardrspencer@gmail.com" diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild index ab00d8b473..1c34642d17 100644 --- a/gis/gpxsee/gpxsee.SlackBuild +++ b/gis/gpxsee/gpxsee.SlackBuild @@ -3,7 +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> +# Copyright 2024-2025 since version 13.18 titopoquito <titopoquito@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=gpxsee -VERSION=${VERSION:-13.31} +VERSION=${VERSION:-13.36} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/gpxsee/gpxsee.info b/gis/gpxsee/gpxsee.info index 30c3e9da9d..719f59bd4c 100644 --- a/gis/gpxsee/gpxsee.info +++ b/gis/gpxsee/gpxsee.info @@ -1,8 +1,8 @@ PRGNAM="gpxsee" -VERSION="13.31" +VERSION="13.36" HOMEPAGE="https://www.gpxsee.org/" -DOWNLOAD="https://github.com/tumic0/GPXSee/archive/13.31/GPXSee-13.31.tar.gz" -MD5SUM="98a0e3bf504ecc7e9b970985b2065272" +DOWNLOAD="https://github.com/tumic0/GPXSee/archive/13.36/GPXSee-13.36.tar.gz" +MD5SUM="a0a4eb3675601d587eb6f0eee9a17c9a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/gis/grass/grass.SlackBuild b/gis/grass/grass.SlackBuild index a5076e161d..4f9beb9d72 100644 --- a/gis/grass/grass.SlackBuild +++ b/gis/grass/grass.SlackBuild @@ -39,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 @@ -194,7 +191,7 @@ cp -a \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS CHANGES COPYING GPL.TXT REQUIREMENTS.html INSTALL README.md SUBMITTING* TODO \ + AUTHORS CHANGES COPYING GPL.TXT REQUIREMENTS.html README.md SUBMITTING* TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/libgeotiff/libgeotiff.SlackBuild b/gis/libgeotiff/libgeotiff.SlackBuild index 3dc70fcbb2..a3ae271165 100644 --- a/gis/libgeotiff/libgeotiff.SlackBuild +++ b/gis/libgeotiff/libgeotiff.SlackBuild @@ -4,7 +4,7 @@ # 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> +# Copyright 2024-2025 Gregory J. L. Tourte <artourter@gmail.com> # # All rights reserved. # @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libgeotiff -VERSION=${VERSION:-1.7.3} +VERSION=${VERSION:-1.7.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/libgeotiff/libgeotiff.info b/gis/libgeotiff/libgeotiff.info index 5e42c62e62..6d57d9a809 100644 --- a/gis/libgeotiff/libgeotiff.info +++ b/gis/libgeotiff/libgeotiff.info @@ -1,8 +1,8 @@ PRGNAM="libgeotiff" -VERSION="1.7.3" +VERSION="1.7.4" HOMEPAGE="http://trac.osgeo.org/geotiff/" -DOWNLOAD="https://github.com/OSGeo/libgeotiff/releases/download/1.7.3/libgeotiff-1.7.3.tar.gz" -MD5SUM="cdca346d3b01d40418f4894c4beef8e9" +DOWNLOAD="https://github.com/OSGeo/libgeotiff/releases/download/1.7.4/libgeotiff-1.7.4.tar.gz" +MD5SUM="7806cc2c153b88eef63698d5edaa5913" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="proj" diff --git a/gis/librttopo/librttopo.SlackBuild b/gis/librttopo/librttopo.SlackBuild index 569c9ec8ab..42e2e93ac4 100644 --- a/gis/librttopo/librttopo.SlackBuild +++ b/gis/librttopo/librttopo.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=librttopo VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,16 +66,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz -cd $PRGNAM +cd $PRGNAM-$VERSION 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 - +autoreconf -fiv CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -97,7 +96,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING CREDITS NEWS.md README.md TODO \ + COPYING CREDITS README.md TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/librttopo/librttopo.info b/gis/librttopo/librttopo.info index 3f6a201e7e..7c63386729 100644 --- a/gis/librttopo/librttopo.info +++ b/gis/librttopo/librttopo.info @@ -1,8 +1,8 @@ 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="https://download.osgeo.org/librttopo/src/librttopo-1.1.0.tar.gz" +MD5SUM="1b28f375d0a8975ce6f233476bfcead4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="geos" diff --git a/gis/libspatialindex/libspatialindex.SlackBuild b/gis/libspatialindex/libspatialindex.SlackBuild index 6719ffb618..7c04014173 100644 --- a/gis/libspatialindex/libspatialindex.SlackBuild +++ b/gis/libspatialindex/libspatialindex.SlackBuild @@ -4,6 +4,7 @@ # # Copyright 2012 Alexander Bruy <alexander.bruy@gmail.com> # Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2025 Giancarlo Dessi, Cagliari, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,13 +27,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libspatialindex -VERSION=${VERSION:-2.0.0} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=spatialindex - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -52,16 +51,12 @@ 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 @@ -69,9 +64,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-src-$VERSION -tar xjvf $CWD/$SRCNAM-src-$VERSION.tar.bz2 -cd $SRCNAM-src-$VERSION +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 \) \ @@ -85,7 +80,6 @@ cd build -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 @@ -95,7 +89,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 ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog CITATION.cff $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/libspatialindex/libspatialindex.info b/gis/libspatialindex/libspatialindex.info index 375e876ff2..e785e75ea9 100644 --- a/gis/libspatialindex/libspatialindex.info +++ b/gis/libspatialindex/libspatialindex.info @@ -1,10 +1,10 @@ PRGNAM="libspatialindex" -VERSION="2.0.0" +VERSION="2.1.0" HOMEPAGE="https://libspatialindex.github.io/" -DOWNLOAD="https://github.com/libspatialindex/libspatialindex/releases/download/2.0.0/spatialindex-src-2.0.0.tar.bz2" -MD5SUM="3f43731806213f4673f90a08199ade1c" +DOWNLOAD="https://github.com/libspatialindex/libspatialindex/archive/2.1.0/libspatialindex-2.1.0.tar.gz" +MD5SUM="acdaa769653ea466abfe92c1b0cc5aa2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" +MAINTAINER="Giancarlo Dessi" +EMAIL="slack@giand.it" diff --git a/gis/osm2pgsql/README b/gis/osm2pgsql/README index 4fa8d0224f..e83c5492e6 100644 --- a/gis/osm2pgsql/README +++ b/gis/osm2pgsql/README @@ -1,5 +1,11 @@ osm2pgsql is a utility program that converts OpenStreetMap data to PostGIS-enabled PostgreSQL databases. +Potrace is an optional dependency autodetected. + +Required dependencies autodetected are libosmium, protozero, and fmt. +If not found in the system, the build will use the bundled versions +included in the source. + 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 66c63ff65a..601ef002f9 100644 --- a/gis/osm2pgsql/osm2pgsql.SlackBuild +++ b/gis/osm2pgsql/osm2pgsql.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for osm2pgsql # Copyright 2013-2021 Benjamin Trigona-Harany -# Copyright 2024 Giancarlo Dessi, Cagliari, IT +# Copyright 2024-2015 Giancarlo Dessi, Cagliari, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=osm2pgsql -VERSION=${VERSION:-1.11.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.0.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,6 +70,16 @@ if [ $ARCH64 = "no" ]; then exit 1 fi +CMAKEVER=$(cmake --version | head -1 | cut -f3 -d" ") +CMAKEVER=${CMAKEVER:2:2} + +# Prevent cmake warnings in current +if [ $CMAKEVER = "21" ]; then + CMAKE_POLICY="" +else + CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0167=OLD " +fi + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -82,6 +92,8 @@ find -L . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; + +sed -i CMakeLists.txt -e "s/VERSION 3.8/VERSION 3.10/g" mkdir -p build cd build @@ -91,6 +103,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTS=OFF \ -DWITH_LUAJIT=ON \ + $CMAKE_POLICY \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG diff --git a/gis/osm2pgsql/osm2pgsql.info b/gis/osm2pgsql/osm2pgsql.info index c6c549619f..533ddf85b7 100644 --- a/gis/osm2pgsql/osm2pgsql.info +++ b/gis/osm2pgsql/osm2pgsql.info @@ -1,10 +1,10 @@ PRGNAM="osm2pgsql" -VERSION="1.11.0" +VERSION="2.0.1" 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" +DOWNLOAD_x86_64="https://github.com/osm2pgsql-dev/osm2pgsql/archive/2.0.1/osm2pgsql-2.0.1.tar.gz" +MD5SUM_x86_64="272644591b9ea061599a355b0c2f1fb1" +REQUIRES="luajit nlohmann_json postgis proj" MAINTAINER="Giancarlo Dessi" EMAIL="slack@giand.it" diff --git a/gis/pdal/pdal.SlackBuild b/gis/pdal/pdal.SlackBuild index ccb03c3b65..c769510e51 100644 --- a/gis/pdal/pdal.SlackBuild +++ b/gis/pdal/pdal.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pdal -# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT +# Copyright 2023-2025 Giancarlo Dessi, Cagliari, IT # Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pdal SRCNAM=PDAL -VERSION=${VERSION:-2.8.1} +VERSION=${VERSION:-2.8.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -144,7 +144,7 @@ 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 \ + CITATION LICENSE.txt *.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/pdal/pdal.info b/gis/pdal/pdal.info index a044d33513..c08b862769 100644 --- a/gis/pdal/pdal.info +++ b/gis/pdal/pdal.info @@ -1,8 +1,8 @@ PRGNAM="pdal" -VERSION="2.8.1" +VERSION="2.8.4" HOMEPAGE="https://pdal.io" -DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.8.1/PDAL-2.8.1.tar.gz" -MD5SUM="bd0b8d6ff8e431e23ce5d2f44ac15a9e" +DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.8.4/PDAL-2.8.4.tar.gz" +MD5SUM="4e6cde9733af88bad23f82e1e2869aca" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gdal libgeotiff netcdf postgresql" diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild index 81c926b9fd..d3dd684036 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.2} +VERSION=${VERSION:-3.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,16 +52,12 @@ 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 @@ -79,14 +75,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 {} \; +CMAKEVER=$(cmake --version | head -1 | cut -f3 -d" ") +CMAKEVER=${CMAKEVER:2:2} + # 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 +if [ $CMAKEVER = "21" ]; then CMAKE_POLICY="" +else + CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0167=OLD \ + -DCMAKE_POLICY_DEFAULT_CMP0148=OLD" fi +sed -i CMakeLists.txt -e "s/VERSION 3.2/VERSION 3.10/g" + mkdir -p build cd build cmake \ diff --git a/gis/pgrouting/pgrouting.info b/gis/pgrouting/pgrouting.info index 90acfc5ecf..9ab79a106b 100644 --- a/gis/pgrouting/pgrouting.info +++ b/gis/pgrouting/pgrouting.info @@ -1,8 +1,8 @@ PRGNAM="pgrouting" -VERSION="3.6.2" +VERSION="3.7.0" HOMEPAGE="https://pgrouting.org" -DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v3.6.2/pgrouting-3.6.2.tar.gz" -MD5SUM="96336316353a7244976a97d59f4c9061" +DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v3.7.0/pgrouting-3.7.0.tar.gz" +MD5SUM="539154b923e540b8bc62f9b204def0d8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgis" diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild index e7c43aa6d1..4e39332d52 100644 --- a/gis/postgis/postgis.SlackBuild +++ b/gis/postgis/postgis.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2009 Peter Sarkoci <sarkoci@math.sk> # Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT +# Copyright 2023-2025 Giancarlo Dessi, Cagliari, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=postgis -VERSION=${VERSION:-3.4.3} +VERSION=${VERSION:-3.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -99,6 +99,7 @@ CXXFLAGS="$SLKCFLAGS" \ $SHP2PGSQL_GUI \ --build=$ARCH-slackware-linux +make all make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ diff --git a/gis/postgis/postgis.info b/gis/postgis/postgis.info index ab3517b5a3..492e41ec6e 100644 --- a/gis/postgis/postgis.info +++ b/gis/postgis/postgis.info @@ -1,8 +1,8 @@ PRGNAM="postgis" -VERSION="3.4.3" +VERSION="3.5.2" HOMEPAGE="http://postgis.org" -DOWNLOAD="https://download.osgeo.org/postgis/source/postgis-3.4.3.tar.gz" -MD5SUM="22e223c9fdec65f4b4a88ad06e9b0aca" +DOWNLOAD="https://download.osgeo.org/postgis/source/postgis-3.5.2.tar.gz" +MD5SUM="cbde5b95e73e248f71cdd485db011671" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gdal postgresql protobuf-c" diff --git a/gis/proj-data/proj-data.SlackBuild b/gis/proj-data/proj-data.SlackBuild index 9954503c6f..1c65ad7563 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-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2021-2025 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.19} +VERSION=${VERSION:-1.21} 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 24ecb690af..62ec1147c4 100644 --- a/gis/proj-data/proj-data.info +++ b/gis/proj-data/proj-data.info @@ -1,8 +1,8 @@ PRGNAM="proj-data" -VERSION="1.19" +VERSION="1.21" HOMEPAGE="https://www.osgeo.org/projects/proj/" -DOWNLOAD="https://github.com/OSGeo/PROJ-data/releases/download/1.19.0/proj-data-1.19.tar.gz" -MD5SUM="d2a39553df64f496bf56c0388b6712a6" +DOWNLOAD="https://github.com/OSGeo/PROJ-data/releases/download/1.21.0/proj-data-1.21.tar.gz" +MD5SUM="5bd1ed373deff2a72c0dbe128cba9614" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="proj" diff --git a/gis/proj/proj.SlackBuild b/gis/proj/proj.SlackBuild index cea49f170a..a6c88df6f0 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-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2021-2025 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.5.0} +VERSION=${VERSION:-9.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/proj/proj.info b/gis/proj/proj.info index fcd9b989c0..c7ad932d99 100644 --- a/gis/proj/proj.info +++ b/gis/proj/proj.info @@ -1,8 +1,8 @@ PRGNAM="proj" -VERSION="9.5.0" +VERSION="9.6.0" HOMEPAGE="https://www.osgeo.org/projects/proj/" -DOWNLOAD="https://github.com/OSGeo/PROJ/releases/download/9.5.0/proj-9.5.0.tar.gz" -MD5SUM="ac46b4e31562890d012ea6b31e579cf6" +DOWNLOAD="https://github.com/OSGeo/PROJ/releases/download/9.6.0/proj-9.6.0.tar.gz" +MD5SUM="f6275f374409cb22efe25c5bc4e29459" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/gis/python3-pyproj/python3-pyproj.SlackBuild b/gis/python3-pyproj/python3-pyproj.SlackBuild index 246cf0c474..66a3a2d7b1 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-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2021-2025 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.6.1} +VERSION=${VERSION:-3.7.1} 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 @@ -81,13 +67,9 @@ find -L . \ \! -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 +export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages" +export PATH="/opt/cython/bin:$PATH" -# cython3 does not seem to be actually needed. -# Adding setuptools-scm info to get rid of spurious messages when -# python3-setuptools-scm-opt is installed -# -sed -i 's/cython>=3/cython/' pyproject.toml echo '[tool.setuptools_scm]' >> pyproject.toml python3 -m build --no-isolation diff --git a/gis/python3-pyproj/python3-pyproj.info b/gis/python3-pyproj/python3-pyproj.info index a167cd223c..720ea64806 100644 --- a/gis/python3-pyproj/python3-pyproj.info +++ b/gis/python3-pyproj/python3-pyproj.info @@ -1,10 +1,10 @@ PRGNAM="python3-pyproj" -VERSION="3.6.1" +VERSION="3.7.1" HOMEPAGE="https://github.com/pyproj4/pyproj" -DOWNLOAD="https://files.pythonhosted.org/packages/7d/84/2b39bbf888c753ea48b40d47511548c77aa03445465c35cc4c4e9649b643/pyproj-3.6.1.tar.gz" -MD5SUM="09a67b757bc473b47fb2e247b9994228" +DOWNLOAD="https://files.pythonhosted.org/packages/67/10/a8480ea27ea4bbe896c168808854d00f2a9b49f95c0319ddcbba693c8a90/pyproj-3.7.1.tar.gz" +MD5SUM="ad62b11249d8e62879778190a3e3ef8c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="proj python3-setuptools-opt" +REQUIRES="proj python3-setuptools-opt python3-cython-opt" MAINTAINER="ArTourter" EMAIL="artourter@gmail.com" diff --git a/gis/python3-shapely/9795506bba84e96418466ae84573c0cf8654bbeb.patch b/gis/python3-shapely/9795506bba84e96418466ae84573c0cf8654bbeb.patch deleted file mode 100644 index 90359ce4bc..0000000000 --- a/gis/python3-shapely/9795506bba84e96418466ae84573c0cf8654bbeb.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 9795506bba84e96418466ae84573c0cf8654bbeb Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" <code@musicinmybrain.net> -Date: Sun, 3 Dec 2023 11:36:36 -0500 -Subject: [PATCH] Fix incompatible pointer type passed to GEOSPolygonize_r - ---- - src/ufuncs.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ufuncs.c b/src/ufuncs.c -index ed83e9619..9d08fa20c 100644 ---- a/src/ufuncs.c -+++ b/src/ufuncs.c -@@ -2160,7 +2160,7 @@ static void polygonize_func(char** args, const npy_intp* dimensions, const npy_i - - GEOS_INIT; - -- GEOSGeometry** geoms = malloc(sizeof(void*) * dimensions[1]); -+ const GEOSGeometry** geoms = malloc(sizeof(void*) * dimensions[1]); - if (geoms == NULL) { - errstate = PGERR_NO_MALLOC; - goto finish; diff --git a/gis/python3-shapely/python3-shapely.SlackBuild b/gis/python3-shapely/python3-shapely.SlackBuild index adc113ed05..ac00aa124f 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-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2021-2025 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:-2.0.6} +VERSION=${VERSION:-2.0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,17 +66,8 @@ find -L . \ -perm /111 -o \! -perm 755 -o -exec chmod 755 {} + -a \ \! -perm /111 -o \! -perm 644 -o -exec chmod 644 {} + -# Apply upstream patch to fix compilation with gcc 14 -patch -p1 < $CWD/9795506bba84e96418466ae84573c0cf8654bbeb.patch - -# 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 +# Requires newer version of setuptools than available in -stable. Has no effect +# on -current PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/gis/python3-shapely/python3-shapely.info b/gis/python3-shapely/python3-shapely.info index e1b56e8498..2480a783c9 100644 --- a/gis/python3-shapely/python3-shapely.info +++ b/gis/python3-shapely/python3-shapely.info @@ -1,8 +1,8 @@ PRGNAM="python3-shapely" -VERSION="2.0.6" +VERSION="2.0.7" HOMEPAGE="https://github.com/shapely/shapely" -DOWNLOAD="https://github.com/shapely/shapely/archive/2.0.6/shapely-2.0.6.tar.gz" -MD5SUM="8a8294e0d12479457e0c84a3a5d4665b" +DOWNLOAD="https://github.com/shapely/shapely/archive/2.0.7/shapely-2.0.7.tar.gz" +MD5SUM="becf7be07f082ab55cb85d27aacdd93c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt python3-numpy geos" diff --git a/gis/python3-xarray/python3-xarray.SlackBuild b/gis/python3-xarray/python3-xarray.SlackBuild index 9019bd5d87..d62c9f2a42 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-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2022-2025 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:-2024.10.0} +VERSION=${VERSION:-2025.01.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/gis/python3-xarray/python3-xarray.info b/gis/python3-xarray/python3-xarray.info index ac8bebb5d5..ad43dc2fdd 100644 --- a/gis/python3-xarray/python3-xarray.info +++ b/gis/python3-xarray/python3-xarray.info @@ -1,8 +1,8 @@ PRGNAM="python3-xarray" -VERSION="2024.10.0" +VERSION="2025.01.2" HOMEPAGE="http://xarray.pydata.org" -DOWNLOAD="https://github.com/pydata/xarray/archive/v2024.10.0/xarray-2024.10.0.tar.gz" -MD5SUM="3bd079ce1de64c5a700558a14b7ab16d" +DOWNLOAD="https://github.com/pydata/xarray/archive/v2025.01.2/xarray-2025.01.2.tar.gz" +MD5SUM="d1ac959ac3f882e435006c8677169d9f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pandas python3-setuptools-scm-opt" diff --git a/gis/qgis/README.Slackware b/gis/qgis/README.Slackware index 0c2fbf044d..24f92496c9 100644 --- a/gis/qgis/README.Slackware +++ b/gis/qgis/README.Slackware @@ -2,8 +2,9 @@ Table of contents 1. BUILD-TIME DEPENDENCIES 2. PYTHON BINDINGS AND DEPENDENCIES -3. RUNTIME DEPENDENCIES AND FORMATS -4. ISSUES +3. SUPPORT TO OPENCL +4. RUNTIME DEPENDENCIES AND FORMATS +5. ISSUES 1. BUILD-TIME DEPENDENCIES Regardless of settings in this slackbuild, a basic installation of QGIS @@ -69,13 +70,17 @@ 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 +4. SUPPORT TO OPENCL +Support to OpenCL C++ headers is disabled by default. Due the lack of +an OpenCL header (cl2.hpp) in the package released by Slackware, the +build uses internal OpenCL headers. If you want to enable the support +you have to pass this environment variable to the script: - OPENCL=no ./qgis.SlackBuild + OPENCL=yes ./qgis.SlackBuild + +Note that this option could generate build failures in some systems. +5. ISSUES 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 diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index c7a277fe75..d56dcf3562 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K. # Copyright 2013-2021 Benjamin Trigona-Harany -# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT +# Copyright 2023-2025 Giancarlo Dessi, Cagliari, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qgis -VERSION=${VERSION:-3.38.2} +VERSION=${VERSION:-3.42.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,6 +68,14 @@ fi set -e +# We have to disable WITH_QTWEBKIT in current +# because it is not more available +if [ -d "/usr/include/qt5/QtWebKit" ]; then + QTWEBKIT="" +else + QTWEBKIT="-DWITH_QTWEBKIT=OFF " +fi + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -82,7 +90,7 @@ find -L . \ -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 " + OCL="-DUSE_OPENCL=OFF " ; [ "${OPENCL:-no}" = "yes" ] && OCL="-DUSE_OPENCL=ON " else OCL="-DUSE_OPENCL=OFF " fi @@ -105,6 +113,22 @@ else WITHGRASS="" fi +# Compatibility of recent versions of Qgis with 15.0 stable +# require some adjustments +if [ -x /usr/bin/python3.9 ]; then + # This to prevent build failure + patch -p1 < $CWD/qgis3d.pyi.patch +fi + +if [ $(cmake --version |head -1 |cut -f3 -d' ') == "3.21.4" ]; then + echo "export PATH for cmake-opt" + export PATH="/opt/cmake-opt/bin/:$PATH" +fi + +if [ $(ccache --version |head -1 |cut -f3 -d' ') == "4.5.1" ]; then + ccache --set-config sloppiness=pch_defines,time_macros +fi + sed -i '43 i IF (NOT PROJ_INCLUDE_DIR)\nFIND_PATH(PROJ_INCLUDE_DIR proj.h\n"$ENV{INCLUDE}"\n"$ENV{LIB_DIR}/include"\n)\nENDIF (NOT PROJ_INCLUDE_DIR)\n' cmake/FindProj.cmake mkdir -p build @@ -128,7 +152,8 @@ cd build $OCL \ $WITHPDAL \ $WITHDRACO \ - $WITHGRASS + $WITHGRASS \ + $QTWEBKIT make make install DESTDIR=$PKG diff --git a/gis/qgis/qgis.info b/gis/qgis/qgis.info index a773924e42..a09aed5916 100644 --- a/gis/qgis/qgis.info +++ b/gis/qgis/qgis.info @@ -1,10 +1,10 @@ PRGNAM="qgis" -VERSION="3.38.2" +VERSION="3.42.0" HOMEPAGE="https://qgis.org/" -DOWNLOAD="https://qgis.org/downloads/qgis-3.38.2.tar.bz2" -MD5SUM="d7efcbf60e29e9143fe6c889b98f8c5e" +DOWNLOAD="https://qgis.org/downloads/qgis-3.42.0.tar.bz2" +MD5SUM="1b30bdd3fb73ea32a946239a4ee56ae3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libspatialite libspatialindex OWSLib postgis protobuf3 python3-numpy python3-psycopg2 qwt termcolor" +REQUIRES="cmake-opt gpsbabel libspatialite libspatialindex OWSLib postgis protobuf3 python3-numpy python3-psycopg2 qwt termcolor" MAINTAINER="Giancarlo Dessi" EMAIL="slack@giand.it" diff --git a/gis/qgis/qgis3d.pyi.patch b/gis/qgis/qgis3d.pyi.patch new file mode 100644 index 0000000000..8c1c7bef51 --- /dev/null +++ b/gis/qgis/qgis3d.pyi.patch @@ -0,0 +1,13 @@ +--- ./python/CMakeLists.txt 2024-11-22 13:07:29.000000000 +0100 ++++ ./python/CMakeLists-fix.txt 2024-12-03 19:43:25.208140208 +0100 +@@ -258,8 +258,8 @@ + if(SIP_BUILD_EXECUTABLE) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/3d/build/_3d_p/_3d_p.pyi DESTINATION ${QGIS_PYTHON_DIR}) + elseif((${SIP_VERSION_STR} VERSION_EQUAL 4.18) OR (${SIP_VERSION_STR} VERSION_GREATER 4.18)) +- set(SIP_EXTRA_OPTIONS ${SIP_EXTRA_OPTIONS} -y ${QGIS_PYTHON_OUTPUT_DIRECTORY}/3d_p.pyi) +- install(FILES ${QGIS_PYTHON_OUTPUT_DIRECTORY}/_3d_p.pyi DESTINATION ${QGIS_PYTHON_DIR}) ++ set(SIP_EXTRA_OPTIONS ${SIP_EXTRA_OPTIONS} -y ${QGIS_PYTHON_OUTPUT_DIRECTORY}/_qgis3d.pyi) ++ install(FILES ${QGIS_PYTHON_OUTPUT_DIRECTORY}/_qgis3d.pyi DESTINATION ${QGIS_PYTHON_DIR}) + endif() + + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/3d/project.py.in ${CMAKE_CURRENT_BINARY_DIR}/3d/project.py @ONLY) diff --git a/gis/saga-gis/README b/gis/saga-gis/README index f5bf96ff4e..2273971461 100644 --- a/gis/saga-gis/README +++ b/gis/saga-gis/README @@ -21,9 +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. +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 cf73d93399..5100df32b5 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.5.1} +VERSION=${VERSION:-9.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,7 +83,7 @@ if [[ "$ARCH" = "i586" || "$ARCH" = "i686" ]] ; then fi # if both unixODBCand and libiodbc are installed, SAGA set the -# first as default driver ODBC. This flag should prevent possible +# first as default driver ODBC. This flag should prevent possible # compilation failures since cmake does not find the correct # path of unixODBC headers ODBC="" @@ -98,13 +98,6 @@ else WITHPDAL="-DWITH_TOOLS_PDAL=OFF " fi -if [ -d /usr/share/cmake-3.3* ]; 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 diff --git a/gis/saga-gis/saga-gis.info b/gis/saga-gis/saga-gis.info index 84193042d2..410fcc0cc5 100644 --- a/gis/saga-gis/saga-gis.info +++ b/gis/saga-gis/saga-gis.info @@ -1,8 +1,8 @@ PRGNAM="saga-gis" -VERSION="9.5.1" +VERSION="9.6.1" HOMEPAGE="http://www.saga-gis.org" -DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.5.1/saga-9.5.1.tar.gz" -MD5SUM="c10cc22f83bfb1b06fbb8399eb7f03a6" +DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.6.1/saga-9.6.1.tar.gz" +MD5SUM="e0c1ad09fcefc664fa2a47ff0a138222" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="wxWidgets" diff --git a/gis/shapelib/README b/gis/shapelib/README new file mode 100644 index 0000000000..29de017bc7 --- /dev/null +++ b/gis/shapelib/README @@ -0,0 +1,6 @@ +shapelib -- support for shape-files + + +The Shapefile C Library provides the ability to write simple C +programs for reading, writing and updating (to a limited extent) ESRI +Shapefiles, and the associated attribute file (.dbf). diff --git a/gis/shapelib/shapelib.SlackBuild b/gis/shapelib/shapelib.SlackBuild new file mode 100644 index 0000000000..326a7b089f --- /dev/null +++ b/gis/shapelib/shapelib.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for shapelib + +# Copyright 2025, Lockywolf +# 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=shapelib +VERSION=${VERSION:-1.6.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 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} + +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" +elif [ "$ARCH" = "aarch64" ]; 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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --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 \ + AUTHORS README.tree ChangeLog LICENSE-LGPL LICENSE-MIT NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +chmod 444 $PKG/usr/doc/$PRGNAM-$VERSION/README + +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/shapelib/shapelib.info b/gis/shapelib/shapelib.info new file mode 100644 index 0000000000..f373ca7d28 --- /dev/null +++ b/gis/shapelib/shapelib.info @@ -0,0 +1,10 @@ +PRGNAM="shapelib" +VERSION="1.6.1" +HOMEPAGE="http://shapelib.maptools.org/" +DOWNLOAD="https://github.com/OSGeo/shapelib/releases/download/v1.6.1/shapelib-1.6.1.tar.gz" +MD5SUM="39065725a4b9211e29c9e8b0dfef6deb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Lockywolf" +EMAIL="for_sbo.shapelib_2025-06-06@lockywolf.net" diff --git a/gis/shapelib/slack-desc b/gis/shapelib/slack-desc new file mode 100644 index 0000000000..b625c65b43 --- /dev/null +++ b/gis/shapelib/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------------------------------------------------------| +shapelib: shapelib (ESRI shapefile support library) +shapelib: +shapelib: The Shapefile C Library provides the ability to write simple +shapelib: C programs for reading, writing and updating (to a limited extent) +shapelib: ESRI Shapefiles, and the associated attribute file (.dbf). +shapelib: +shapelib: +shapelib: +shapelib: +shapelib: +shapelib: |