summaryrefslogtreecommitdiffstats
path: root/gis
diff options
context:
space:
mode:
Diffstat (limited to 'gis')
-rw-r--r--gis/CreateCloudMap/CreateCloudMap.info10
-rw-r--r--gis/CreateCloudMap/README5
-rw-r--r--gis/CreateCloudMap/doinst.sh3
-rw-r--r--gis/Fiona/README18
-rw-r--r--gis/GMT/GMT.SlackBuild4
-rw-r--r--gis/GMT/GMT.info12
-rw-r--r--gis/Geohash/README4
-rw-r--r--gis/OTB/README26
-rw-r--r--gis/SFCGAL/README5
-rw-r--r--gis/Shapely/Shapely.info10
-rw-r--r--gis/Shapely/slack-desc19
-rw-r--r--gis/TauDEM/README34
-rw-r--r--gis/TauDEM/TauDEM.SlackBuild6
-rw-r--r--gis/cartopy/cartopy.info10
-rw-r--r--gis/cartopy/slack-desc19
-rw-r--r--gis/foxtrotgps/foxtrotgps-1.2.2-fix-some-receivers.patch.gzbin0 -> 762 bytes
-rw-r--r--gis/foxtrotgps/foxtrotgps-1.2.2-gcc10.patch.gzbin0 -> 319 bytes
-rw-r--r--gis/foxtrotgps/foxtrotgps-1.2.2-gpsd-api9.patch.gzbin0 -> 476 bytes
-rw-r--r--gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch11
-rw-r--r--gis/foxtrotgps/foxtrotgps.SlackBuild9
-rw-r--r--gis/foxtrotgps/foxtrotgps.info6
-rw-r--r--gis/gdal/README9
-rw-r--r--gis/gdal/gdal.SlackBuild111
-rw-r--r--gis/gdal/gdal.info10
-rw-r--r--gis/geographiclib-python/README8
-rw-r--r--gis/geopandas/README9
-rw-r--r--gis/geopandas/geopandas.info2
-rw-r--r--gis/geos/README4
-rw-r--r--gis/geos/geos.SlackBuild41
-rw-r--r--gis/geos/geos.info12
-rw-r--r--gis/gj2ascii/gj2ascii.info2
-rw-r--r--gis/gmapcatcher/gmapcatcher.SlackBuild6
-rw-r--r--gis/google-earth-legacy/README47
-rw-r--r--gis/google-earth-legacy/doinst.sh14
-rw-r--r--gis/google-earth-legacy/google-earth-legacy.SlackBuild140
-rw-r--r--gis/google-earth-legacy/google-earth-legacy.info10
-rw-r--r--gis/google-earth-legacy/google-earth-mimetypes.xml20
-rw-r--r--gis/google-earth-legacy/slack-desc19
-rw-r--r--gis/google-earth/README43
-rw-r--r--gis/google-earth/google-earth.SlackBuild47
-rw-r--r--gis/google-earth/google-earth.info10
-rw-r--r--gis/gpsbabel/README25
-rw-r--r--gis/gpsbabel/gpsbabel.SlackBuild37
-rw-r--r--gis/gpsbabel/gpsbabel.info8
-rw-r--r--gis/gpsd/gpsd.SlackBuild6
-rw-r--r--gis/grass/README21
-rw-r--r--gis/grass/grass.info2
-rw-r--r--gis/josm/README12
-rw-r--r--gis/josm/josm.info2
-rw-r--r--gis/laszip/README13
-rw-r--r--gis/laszip/laszip.SlackBuild9
-rw-r--r--gis/libecwj2/README33
-rw-r--r--gis/libecwj2/libecwj2-3.3-NCSPhysicalMemorySize-Linux.patch16
-rw-r--r--gis/libecwj2/libecwj2-3.3-msvc90-fixes.patch239
-rw-r--r--gis/libecwj2/libecwj2-3.3-wcharfix.patch15
-rw-r--r--gis/libecwj2/libecwj2.SlackBuild126
-rw-r--r--gis/libecwj2/libecwj2.info10
-rw-r--r--gis/libecwj2/slack-desc19
-rw-r--r--gis/libgeotiff/libgeotiff.SlackBuild9
-rw-r--r--gis/librasterlite/0001-fix-autotools.patch.gzbin0 -> 612 bytes
-rw-r--r--gis/librasterlite/librasterlite.SlackBuild13
-rw-r--r--gis/libspatialindex/README12
-rw-r--r--gis/libspatialindex/libspatialindex.SlackBuild10
-rw-r--r--gis/libspatialite/README16
-rw-r--r--gis/libspatialite/libspatialite.SlackBuild15
-rw-r--r--gis/libspatialite/libspatialite.info8
-rw-r--r--gis/mapnik/README4
-rw-r--r--gis/merkaartor/merkaartor.SlackBuild36
-rw-r--r--gis/merkaartor/merkaartor.info6
-rw-r--r--gis/navit/navit.SlackBuild4
-rw-r--r--gis/navit/navit.info6
-rw-r--r--gis/opencpn/README4
-rw-r--r--gis/opencpn/opencpn.info2
-rw-r--r--gis/opengrads/README9
-rw-r--r--gis/openorienteering-mapper/69977dfd4cbb8608aafa8ca8b5388d4983f5430a.patch35
-rw-r--r--gis/openorienteering-mapper/README5
-rw-r--r--gis/openorienteering-mapper/fix_doc_path.diff11
-rw-r--r--gis/openorienteering-mapper/openorienteering-mapper.SlackBuild6
-rw-r--r--gis/openorienteering-mapper/openorienteering-mapper.info6
-rw-r--r--gis/osgEarth/README10
-rw-r--r--gis/osgEarth/osgEarth.SlackBuild4
-rw-r--r--gis/osgEarth/osgEarth.info8
-rw-r--r--gis/osm-gps-map/README8
-rw-r--r--gis/osm-gps-map/osm-gps-map.SlackBuild10
-rw-r--r--gis/osm2pgrouting/osm2pgrouting.SlackBuild2
-rw-r--r--gis/osm2pgrouting/osm2pgrouting.info6
-rw-r--r--gis/ossim/README8
-rw-r--r--gis/pdal/README13
-rw-r--r--gis/pgrouting/README4
-rw-r--r--gis/pgsql-ogr-fdw/README4
-rw-r--r--gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild2
-rw-r--r--gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info6
-rw-r--r--gis/pktools/README6
-rw-r--r--gis/pointcloud/README8
-rw-r--r--gis/polyline/README4
-rw-r--r--gis/postgis/README8
-rw-r--r--gis/postgis/postgis.SlackBuild2
-rw-r--r--gis/postgis/postgis.info6
-rw-r--r--gis/proj-data/proj-data.SlackBuild3
-rw-r--r--gis/proj-data/proj-data.info10
-rw-r--r--gis/proj/README9
-rw-r--r--gis/proj/proj.SlackBuild52
-rw-r--r--gis/proj/proj.info10
-rw-r--r--gis/pyproj/README16
-rw-r--r--gis/pyproj/pyproj.info10
-rw-r--r--gis/pyshp/README4
-rw-r--r--gis/pyshp/pyshp.info10
-rw-r--r--gis/pyshp/slack-desc19
-rw-r--r--gis/python-mapnik/python-mapnik.SlackBuild26
-rw-r--r--gis/python-mapnik/python-mapnik.info6
-rw-r--r--gis/python-pygeos/README8
-rw-r--r--gis/python-pygeos/python-pygeos.SlackBuild3
-rw-r--r--gis/python-pygeos/python-pygeos.info12
-rw-r--r--gis/python3-basemap/python3-basemap.SlackBuild20
-rw-r--r--gis/python3-basemap/python3-basemap.info8
-rw-r--r--gis/python3-cartopy/README (renamed from gis/cartopy/README)12
-rw-r--r--gis/python3-cartopy/python3-cartopy.SlackBuild (renamed from gis/cartopy/cartopy.SlackBuild)12
-rw-r--r--gis/python3-cartopy/python3-cartopy.info10
-rw-r--r--gis/python3-cartopy/slack-desc19
-rw-r--r--gis/python3-cftime/README4
-rw-r--r--gis/python3-cftime/python3-cftime.SlackBuild (renamed from gis/CreateCloudMap/CreateCloudMap.SlackBuild)31
-rw-r--r--gis/python3-cftime/python3-cftime.info10
-rw-r--r--gis/python3-cftime/slack-desc (renamed from gis/spatialite_gui/slack-desc)22
-rw-r--r--gis/python3-netcdf4-python/README17
-rw-r--r--gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild102
-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/README17
-rw-r--r--gis/python3-pyproj/python3-pyproj.SlackBuild (renamed from gis/pyproj/pyproj.SlackBuild)13
-rw-r--r--gis/python3-pyproj/python3-pyproj.info10
-rw-r--r--gis/python3-pyproj/slack-desc19
-rw-r--r--gis/python3-pyshp/README18
-rw-r--r--gis/python3-pyshp/python3-pyshp.SlackBuild (renamed from gis/pyshp/pyshp.SlackBuild)13
-rw-r--r--gis/python3-pyshp/python3-pyshp.info10
-rw-r--r--gis/python3-pyshp/slack-desc19
-rw-r--r--gis/python3-shapely/README (renamed from gis/Shapely/README)0
-rw-r--r--gis/python3-shapely/python3-shapely.SlackBuild (renamed from gis/Shapely/Shapely.SlackBuild)21
-rw-r--r--gis/python3-shapely/python3-shapely.info10
-rw-r--r--gis/python3-shapely/slack-desc19
-rw-r--r--gis/python3-xarray/README10
-rw-r--r--gis/python3-xarray/python3-xarray.SlackBuild100
-rw-r--r--gis/python3-xarray/python3-xarray.info10
-rw-r--r--gis/python3-xarray/slack-desc (renamed from gis/CreateCloudMap/slack-desc)22
-rw-r--r--gis/pytrainer/pytrainer.info2
-rw-r--r--gis/qgis/README6
-rw-r--r--gis/qgis/qgis.SlackBuild2
-rw-r--r--gis/qgis/qgis.info8
-rw-r--r--gis/qmapshack/QPainterPath.patch22
-rw-r--r--gis/qmapshack/proj.patch.gzbin0 -> 2343 bytes
-rw-r--r--gis/qmapshack/qmapshack.SlackBuild16
-rw-r--r--gis/qmapshack/qmapshack.info6
-rw-r--r--gis/rasterio/README12
-rw-r--r--gis/rasterio/rasterio.info2
-rw-r--r--gis/readosm/readosm.SlackBuild10
-rw-r--r--gis/routino/README5
-rw-r--r--gis/saga-gis/README28
-rw-r--r--gis/saga-gis/saga-gis.SlackBuild19
-rw-r--r--gis/spatialite-tools/0001-fix-autotools.patch.gzbin0 -> 377 bytes
-rw-r--r--gis/spatialite-tools/README8
-rw-r--r--gis/spatialite-tools/spatialite-tools.SlackBuild11
-rw-r--r--gis/spatialite-tools/spatialite-tools.info6
-rw-r--r--gis/spatialite_gui/README2
-rw-r--r--gis/spatialite_gui/spatialite_gui.info10
-rw-r--r--gis/survex/README11
-rw-r--r--gis/survex/doinst.sh13
-rw-r--r--gis/survex/slack-desc (renamed from gis/pyproj/slack-desc)22
-rw-r--r--gis/survex/survex.SlackBuild (renamed from gis/spatialite_gui/spatialite_gui.SlackBuild)49
-rw-r--r--gis/survex/survex.info12
-rw-r--r--gis/tangogps/README18
-rw-r--r--gis/tangogps/tangogps.SlackBuild4
-rw-r--r--gis/whitebox-tools/README40
-rw-r--r--gis/whitebox-tools/whitebox-tools.SlackBuild1
-rw-r--r--gis/xplanet/README12
173 files changed, 1974 insertions, 892 deletions
diff --git a/gis/CreateCloudMap/CreateCloudMap.info b/gis/CreateCloudMap/CreateCloudMap.info
deleted file mode 100644
index e4a5fa5131..0000000000
--- a/gis/CreateCloudMap/CreateCloudMap.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="CreateCloudMap"
-VERSION="0.9.13"
-HOMEPAGE="https://github.com/jmozmoz/cloudmap"
-DOWNLOAD="https://files.pythonhosted.org/packages/1f/5c/75ce03f468e0765120a307da2ccefafe10f7d1cce122de21ae653cbb49af/CreateCloudMap-0.9.13.tar.gz"
-MD5SUM="c7108d2b0fe3413da9c953b9dd99502a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="pyresample scipy ConfigParser pillowfight"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/gis/CreateCloudMap/README b/gis/CreateCloudMap/README
deleted file mode 100644
index f38ad22afa..0000000000
--- a/gis/CreateCloudMap/README
+++ /dev/null
@@ -1,5 +0,0 @@
-Python script to create a cloud map for xplanet using satellite images from the
-Dundee Satellite Receiving Station, Dundee University, UK.
-
-Optional :
-xplanet can use a cloud map to make the earth look more pretty.
diff --git a/gis/CreateCloudMap/doinst.sh b/gis/CreateCloudMap/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/gis/CreateCloudMap/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/gis/Fiona/README b/gis/Fiona/README
index d079aa2700..ad7dc450bd 100644
--- a/gis/Fiona/README
+++ b/gis/Fiona/README
@@ -1,9 +1,11 @@
-Fiona provides uncomplicated Python interfaces to functions in OGR, the best
-open source C/C++ library for reading and writing geographic vector data.
+Fiona provides uncomplicated Python interfaces to functions in OGR,
+the best open source C/C++ library for reading and writing geographic
+vector data.
-Fiona is designed to be simple and dependable. It focuses on reading and
-writing data in standard Python IO style, and relies upon familiar Python types
-and protocols such as files, dictionaries, mappings, and 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 is designed to be simple and dependable. It focuses on reading
+and writing data in standard Python IO style, and relies upon familiar
+Python types and protocols such as files, dictionaries, mappings, and
+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.
diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild
index 0bc45cc508..568865b3f8 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.1.1}
+VERSION=${VERSION:-6.4.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:-1.1.4}
+DCW_VERSION=${DCW_VERSION:-2.1.1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
diff --git a/gis/GMT/GMT.info b/gis/GMT/GMT.info
index b1570bb5a8..9f5f4f68bf 100644
--- a/gis/GMT/GMT.info
+++ b/gis/GMT/GMT.info
@@ -1,12 +1,12 @@
PRGNAM="GMT"
-VERSION="6.1.1"
+VERSION="6.4.0"
HOMEPAGE="https://www.generic-mapping-tools.org/"
-DOWNLOAD="https://github.com/GenericMappingTools/gmt/releases/download/6.1.1/gmt-6.1.1-src.tar.gz \
- ftp://ftp.soest.hawaii.edu/gmt/gshhg-gmt-2.3.7.tar.gz \
- ftp://ftp.soest.hawaii.edu/gmt/dcw-gmt-1.1.4.tar.gz"
-MD5SUM="f58535b474cbefebcc8646a745e5ca68 \
+DOWNLOAD="https://github.com/GenericMappingTools/gmt/releases/download/6.4.0/gmt-6.4.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 \
8ee2653f9daf84d49fefbf990bbfa1e7 \
- 4f30857a8b12af0f910222fceb591538"
+ 52644de3c3c720b59961d23d805d3497"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdal netcdf Sphinx"
diff --git a/gis/Geohash/README b/gis/Geohash/README
index f0438606d7..090e9200e8 100644
--- a/gis/Geohash/README
+++ b/gis/Geohash/README
@@ -1,2 +1,2 @@
-Geohash is a Python module that provides functions for decoding and encoding
-geohashes to and from latitude and longitude coordinates.
+Geohash is a Python module that provides functions for decoding and
+encoding geohashes to and from latitude and longitude coordinates.
diff --git a/gis/OTB/README b/gis/OTB/README
index a748c83b64..092b979a81 100644
--- a/gis/OTB/README
+++ b/gis/OTB/README
@@ -1,18 +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.
+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.
-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.
+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).
+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).
OTB will be built with support for the following packages if they are
available at compile time: numpy3.
diff --git a/gis/SFCGAL/README b/gis/SFCGAL/README
index 8826780db4..108487cd23 100644
--- a/gis/SFCGAL/README
+++ b/gis/SFCGAL/README
@@ -1,4 +1,5 @@
-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.
+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.
diff --git a/gis/Shapely/Shapely.info b/gis/Shapely/Shapely.info
deleted file mode 100644
index 3d81c7b9ac..0000000000
--- a/gis/Shapely/Shapely.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Shapely"
-VERSION="1.7.1"
-HOMEPAGE="https://github.com/Toblerity/Shapely"
-DOWNLOAD="https://github.com/Toblerity/Shapely/archive/1.7.1/Shapely-1.7.1.tar.gz"
-MD5SUM="487d42043d56ee28ad2b5a42bba15db8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="geos"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/Shapely/slack-desc b/gis/Shapely/slack-desc
deleted file mode 100644
index 04c91b0fa0..0000000000
--- a/gis/Shapely/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-Shapely: Shapely (geometric objects, predicates, and operations in Python)
-Shapely:
-Shapely: Shapely is a BSD-licensed Python package for manipulation and analysis
-Shapely: of planar geometric objects. It is based on the widely deployed GEOS
-Shapely: (the engine of PostGIS) and JTS (from which GEOS is ported) libraries.
-Shapely: Shapely is not concerned with data formats or coordinate systems, but
-Shapely: can be readily integrated with packages that are.
-Shapely:
-Shapely: Homepage: https://pypi.python.org/pypi/Shapely/
-Shapely:
-Shapely:
diff --git a/gis/TauDEM/README b/gis/TauDEM/README
index a8a4ed9998..b17a7d25bf 100644
--- a/gis/TauDEM/README
+++ b/gis/TauDEM/README
@@ -1,20 +1,22 @@
-TauDEM (Terrain Analysis Using Digital Elevation Models) is a suite of Digital
-Elevation Model (DEM) tools for the extraction and analysis of hydrologic
-information from topography as represented by a DEM. TauDEM provides the
-following capability:
+TauDEM (Terrain Analysis Using Digital Elevation Models) is a suite of
+Digital Elevation Model (DEM) tools for the extraction and analysis of
+hydrologic information from topography as represented by a DEM. TauDEM
+provides the following capability:
-* Development of hydrologically correct (pit removed) DEMs using the flooding
- approach
+* Development of hydrologically correct (pit removed) DEMs using the
+ flooding approach
* Calculates flow paths (directions) and slopes
-* Calculates contributing area using single and multiple flow direction methods
-* Multiple methods for the delineation of stream networks including topographic
- form-based methods sensitive to spatially variable drainage density
-* Objective methods for determination of the channel network delineation
- threshold based on stream drops
-* Delineation of watersheds and subwatersheds draining to each stream segment
- and association between watershed and segment attributes for setting up
- hydrologic models
+* Calculates contributing area using single and multiple flow direction
+ methods
+* Multiple methods for the delineation of stream networks including
+ topographic form-based methods sensitive to spatially variable
+ drainage density
+* Objective methods for determination of the channel network
+ delineation threshold based on stream drops
+* Delineation of watersheds and subwatersheds draining to each stream
+ segment and association between watershed and segment attributes for
+ setting up hydrologic models
* Specialized functions for terrain analysis
-Note TauDEM also works fine with MPICH, so if you have it installed it is not
-necessary to install OpenMPI.
+Note TauDEM also works fine with MPICH, so if you have it installed it
+is not necessary to install OpenMPI.
diff --git a/gis/TauDEM/TauDEM.SlackBuild b/gis/TauDEM/TauDEM.SlackBuild
index ead5dd6fe1..f685b8e3fb 100644
--- a/gis/TauDEM/TauDEM.SlackBuild
+++ b/gis/TauDEM/TauDEM.SlackBuild
@@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -51,8 +51,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/gis/cartopy/cartopy.info b/gis/cartopy/cartopy.info
deleted file mode 100644
index 1900a9b20c..0000000000
--- a/gis/cartopy/cartopy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="cartopy"
-VERSION="0.19.0.post1"
-HOMEPAGE="https://scitools.org.uk/cartopy/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/C/Cartopy/Cartopy-0.19.0.post1.tar.gz"
-MD5SUM="cf2175634bfc73becc423b5d82d98046"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="geos python3-matplotlib proj pyshp scipy3 Shapely"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/cartopy/slack-desc b/gis/cartopy/slack-desc
deleted file mode 100644
index c119c95060..0000000000
--- a/gis/cartopy/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-cartopy: cartopy (cartographic tools for Python)
-cartopy:
-cartopy: Cartopy is a Python package designed to make drawing maps for data
-cartopy: analysis and visualisation as easy as possible.
-cartopy:
-cartopy:
-cartopy:
-cartopy:
-cartopy:
-cartopy:
-cartopy:
diff --git a/gis/foxtrotgps/foxtrotgps-1.2.2-fix-some-receivers.patch.gz b/gis/foxtrotgps/foxtrotgps-1.2.2-fix-some-receivers.patch.gz
new file mode 100644
index 0000000000..e67180d1ed
--- /dev/null
+++ b/gis/foxtrotgps/foxtrotgps-1.2.2-fix-some-receivers.patch.gz
Binary files differ
diff --git a/gis/foxtrotgps/foxtrotgps-1.2.2-gcc10.patch.gz b/gis/foxtrotgps/foxtrotgps-1.2.2-gcc10.patch.gz
new file mode 100644
index 0000000000..da38c23f78
--- /dev/null
+++ b/gis/foxtrotgps/foxtrotgps-1.2.2-gcc10.patch.gz
Binary files differ
diff --git a/gis/foxtrotgps/foxtrotgps-1.2.2-gpsd-api9.patch.gz b/gis/foxtrotgps/foxtrotgps-1.2.2-gpsd-api9.patch.gz
new file mode 100644
index 0000000000..6e8471a93d
--- /dev/null
+++ b/gis/foxtrotgps/foxtrotgps-1.2.2-gpsd-api9.patch.gz
Binary files differ
diff --git a/gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch b/gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch
deleted file mode 100644
index db19d19a28..0000000000
--- a/gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- foxtrotgps-1.2.1/src/gps_functions.c.orig 2018-10-09 17:00:10.297646701 +0000
-+++ foxtrotgps-1.2.1/src/gps_functions.c 2018-10-09 17:00:43.751114273 +0000
-@@ -738,7 +738,7 @@
- if (!libgps_initialized)
- return FALSE;
-
-- ret = gps_read(&libgps_gpsdata);
-+ ret = gps_read(&libgps_gpsdata, NULL, 0);
- /* Note that gps_read() will never actually return 0
- (zero-length reads are converted internally to a -1 return,
- since they mean that the connection to the daemon has closed),
diff --git a/gis/foxtrotgps/foxtrotgps.SlackBuild b/gis/foxtrotgps/foxtrotgps.SlackBuild
index ac9beed8e5..02d2a1c653 100644
--- a/gis/foxtrotgps/foxtrotgps.SlackBuild
+++ b/gis/foxtrotgps/foxtrotgps.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=foxtrotgps
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,6 +74,10 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+# thanks gentoo maintainers
+zcat $CWD/$PRGNAM-$VERSION-gpsd-api9.patch.gz | patch -p1
+zcat $CWD/$PRGNAM-$VERSION-gcc10.patch.gz | patch -p1
+zcat $CWD/$PRGNAM-$VERSION-fix-some-receivers.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -81,9 +85,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch ripped off from Arch (thanks!)
-patch -p1 < $CWD/foxtrotgps-gpsd-3.18.patch
-
# "--with-gconf-source" requires this, it will put all files in the package
mkdir -p $PKG/etc/gconf/gconf.xml.defaults
diff --git a/gis/foxtrotgps/foxtrotgps.info b/gis/foxtrotgps/foxtrotgps.info
index e3b03d6e4b..cd673a3b38 100644
--- a/gis/foxtrotgps/foxtrotgps.info
+++ b/gis/foxtrotgps/foxtrotgps.info
@@ -1,8 +1,8 @@
PRGNAM="foxtrotgps"
-VERSION="1.2.1"
+VERSION="1.2.2"
HOMEPAGE="https://www.foxtrotgps.org/"
-DOWNLOAD="https://www.foxtrotgps.org/releases/foxtrotgps-1.2.1.tar.xz"
-MD5SUM="b4042572edbbad13db6bc90eb9a7f11b"
+DOWNLOAD="https://www.foxtrotgps.org/releases/foxtrotgps-1.2.2.tar.xz"
+MD5SUM="3a7e7b94202134b51b11dcb80734eb7f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gpsd"
diff --git a/gis/gdal/README b/gis/gdal/README
index 184d0d4e82..296eb8edf3 100644
--- a/gis/gdal/README
+++ b/gis/gdal/README
@@ -11,8 +11,15 @@ 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
+ libspatialite, SFCGAL, libheif
To enable OpenCL GPU-accelerated performance, specify the option
OPENCL=yes (requires either nvidia-driver or amd-app-sdk with
suitable GPU hardware to run).
+
+To build JAVA bindings, specify JAVA=yes (it requires a java JDK and
+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.
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 7b3cbf8bf3..dcf212c55f 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -3,7 +3,9 @@
# Slackware build script for GDAL
# Copyright 2009 Marco Cecchetti <mrc.ild@gmail.com>
-# Updated 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2010-2018 David Spencer <baildon.research@googlemail.com>
+# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2021-2023 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +25,11 @@
# 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=gdal
-VERSION=${VERSION:-3.3.0}
+VERSION=${VERSION:-3.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,6 +70,10 @@ fi
set -e
+if [[ ${TESTBUILD:='NO'} == 'NO' ]]; then
+ TESTBUILDFLAGS='-DBUILD_TESTING=OFF'
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -77,87 +82,59 @@ 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 \
+ \( -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 \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# OpenCL, webp, Spatialite and Grass support need special arrangements.
-# Everything else is handled automatically by configure.
WITHLIST=""
# Request OpenCL support:
if [ ${OPENCL:-no} = "yes" ]; then
- WITHLIST+=" --with-opencl"
-fi
-
-# Request webp support if it's installed:
-if pkg-config --exists libwebp; then
- WITHLIST+=" --with-webp"
-fi
-
-# Spatialite support if package is installed:
-if pkg-config --exists spatialite; then
- WITHLIST+=" --with-spatialite"
+ WITHLIST+=" -DGDAL_USE_OPENCL=ON"
fi
-# Also, enabling Grass support in gdal introduces a circular dependency,
-# so here is another undocumented option.
-if pkg-config --exists grass; then
- if [ ${GRASS:-no} = "yes" ]; then
- WITHLIST+=" --with-grass=$(pkg-config --variable=prefix grass)"
- fi
+# Build JAVA bindings:
+if [ ${JAVA:-no} = "no" ]; then
+ WITHLIST+=" -DBUILD_JAVA_BINDINGS:BOOL=OFF"
fi
-# 12 bit JPEG support is handled by internal modified versions of libjpeg
-# and libtiff, but this can cause segfaults in other software linked against
-# the real libjpeg (eg. qgis calling qt). Enable JPEG12 only if you need it:
-if [ ${JPEG12:-no} = "yes" ]; then
- WITHLIST+=" --with-jpeg=internal"
-else
- WITHLIST+=" --with-jpeg=/usr/lib${LIBDIRSUFFIX}"
-fi
-
-# The CPPFLAGS are for the newer mariadb (thanks pprkut!)
-CPPFLAGS="-I/usr/include/mysql/server" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --with-threads \
- --with-geos=yes \
- --with-libz=/usr/lib${LIBDIRSUFFIX} \
- --with-liblzma \
- --with-curl=/usr/bin/curl-config \
- --with-crypto=yes \
- --without-grib \
- --with-static-proj4 \
- --with-mysql \
- --with-python=/usr/bin/python3 \
- --with-poppler \
- --with-libtiff=internal \
- --with-rename-internal-libtiff-symbols=yes \
- --with-geotiff=internal \
- --with-rename-internal-libgeotiff-symbols=yes \
- --with-jasper=no \
- $WITHLIST \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir build
+
+# The MYSQL_INCLUDE_DIR is for the newer mariadb (thanks pprkut!)
+( cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_DATAROOTDIR=share \
+ -DCMAKE_INSTALL_MANDIR=man \
+ -DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
+ -DBUILD_CSHARP_BINDINGS:BOOL=OFF \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DGDAL_USE_GEOTIFF_INTERNAL=ON \
+ -DGDAL_USE_TIFF_INTERNAL=ON \
+ $WITHLIST \
+ $TESTBUILDFLAGS \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+ [[ $TESTBUILD == "YES" ]] && make test
+ make install/strip DESTDIR=$PKG
+)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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 \
- COMMITTERS HOWTO-RELEASE LICENSE.TXT NEWS PROVENANCE.TXT VERSION \
+ CITATION COMMITTERS HOWTO-RELEASE LICENSE.TXT MIGRATION_GUIDE.TXT NEWS.md PROVENANCE.TXT SECURITY.md VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info
index a807162730..997c36ce78 100644
--- a/gis/gdal/gdal.info
+++ b/gis/gdal/gdal.info
@@ -1,10 +1,10 @@
PRGNAM="gdal"
-VERSION="3.3.0"
+VERSION="3.6.2"
HOMEPAGE="https://www.gdal.org/"
-DOWNLOAD="https://download.osgeo.org/gdal/3.3.0/gdal-3.3.0.tar.xz"
-MD5SUM="000db27a7b3e146b9dcb3838aabde2ab"
+DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.6.2/gdal-3.6.2.tar.gz"
+MD5SUM="eb15f3889bec6b6c9a0f2f0a47fe3985"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos proj"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/geographiclib-python/README b/gis/geographiclib-python/README
index 92ec5525af..d52bc0737d 100644
--- a/gis/geographiclib-python/README
+++ b/gis/geographiclib-python/README
@@ -1,5 +1,5 @@
-This is a Python implementation of the geodesic routines in GeographicLib
-(http://geographiclib.sourceforge.net/).
+This is a Python implementation of the geodesic routines in
+GeographicLib (http://geographiclib.sourceforge.net/).
-Although it is maintained in conjunction with the larger C++ library, this
-Python package can be used independently.
+Although it is maintained in conjunction with the larger C++ library,
+this Python package can be used independently.
diff --git a/gis/geopandas/README b/gis/geopandas/README
index 728f20bca7..89fa9b47f9 100644
--- a/gis/geopandas/README
+++ b/gis/geopandas/README
@@ -1,4 +1,5 @@
-GeoPandas is a project to add support for geographic data to pandas objects.
-It currently implements GeoSeries and GeoDataFrame types which are subclasses
-of pandas.Series and pandas.DataFrame respectively. GeoPandas objects can act
-on shapely geometry objects and perform geometric operations.
+GeoPandas is a project to add support for geographic data to
+pandas objects. It currently implements GeoSeries and GeoDataFrame
+types which are subclasses of pandas.Series and pandas.DataFrame
+respectively. GeoPandas objects can act on shapely geometry objects
+and perform geometric operations.
diff --git a/gis/geopandas/geopandas.info b/gis/geopandas/geopandas.info
index e125839631..37aa54c930 100644
--- a/gis/geopandas/geopandas.info
+++ b/gis/geopandas/geopandas.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/geopandas/geopandas/archive/v0.9.0/geopandas-0.9.0.
MD5SUM="d4f8ca22c882d80f40a48f4ac0983c7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geopy Fiona psycopg2 pyproj python3-pandas Shapely"
+REQUIRES="geopy Fiona python3-psycopg2 python3-pyproj python3-pandas python3-shapely"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/geos/README b/gis/geos/README
index b6cf0b40fa..857f61a8f5 100644
--- a/gis/geos/README
+++ b/gis/geos/README
@@ -3,3 +3,7 @@ Suite (JTS). As such, it aims to contain the complete functionality
of JTS in C++. This includes all the OpenGIS "Simple Features for SQL"
spatial predicate functions and spatial operators, as well as specific
JTS enhanced topology functions.
+
+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.
diff --git a/gis/geos/geos.SlackBuild b/gis/geos/geos.SlackBuild
index 5c884f9f3e..3d323fc0d5 100644
--- a/gis/geos/geos.SlackBuild
+++ b/gis/geos/geos.SlackBuild
@@ -3,6 +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>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=geos
-VERSION=${VERSION:-3.9.1}
+VERSION=${VERSION:-3.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,6 +67,10 @@ fi
set -e
+if [[ ${TESTBUILD:='NO'} == 'NO' ]]; then
+ TESTBUILDFLAGS='-DBUILD_TESTING=OFF'
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -79,26 +84,28 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++11" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --infodir=/usr/info \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared \
- --disable-static \
- --build=$ARCH-slackware-linux
+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 \
+ $TESTBUILDFLAGS \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+ [[ $TESTBUILD == "YES" ]] && make test
+ make install DESTDIR=$PKG
+)
-make
-make install-strip DESTDIR=$PKG
+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 NEWS README.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 935d9c6081..a7307d240d 100644
--- a/gis/geos/geos.info
+++ b/gis/geos/geos.info
@@ -1,10 +1,10 @@
PRGNAM="geos"
-VERSION="3.9.1"
-HOMEPAGE="https://trac.osgeo.org/geos/"
-DOWNLOAD="https://download.osgeo.org/geos/geos-3.9.1.tar.bz2"
-MD5SUM="efc4ce81bdbaa5e5c1caefe6c9b8553c"
+VERSION="3.11.1"
+HOMEPAGE="https://libgeos.org/"
+DOWNLOAD="https://download.osgeo.org/geos/geos-3.11.1.tar.bz2"
+MD5SUM="5732ec96b391ecddc35bda9795b654ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/gj2ascii/gj2ascii.info b/gis/gj2ascii/gj2ascii.info
index b5d6b70281..5c68cd0d5f 100644
--- a/gis/gj2ascii/gj2ascii.info
+++ b/gis/gj2ascii/gj2ascii.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/geowurster/gj2ascii/archive/0.4.1/gj2ascii-0.4.1.ta
MD5SUM="d2eb99fc027e83675fe4c2515fb781eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Shapely Fiona rasterio"
+REQUIRES="python3-shapely Fiona rasterio"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/gmapcatcher/gmapcatcher.SlackBuild b/gis/gmapcatcher/gmapcatcher.SlackBuild
index 763194e7ff..d507a976b5 100644
--- a/gis/gmapcatcher/gmapcatcher.SlackBuild
+++ b/gis/gmapcatcher/gmapcatcher.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/gis/google-earth-legacy/README b/gis/google-earth-legacy/README
new file mode 100644
index 0000000000..d35d7ce524
--- /dev/null
+++ b/gis/google-earth-legacy/README
@@ -0,0 +1,47 @@
+google-earth-legacy (Google's famous virtual globe - legacy version)
+
+Google Earth is a virtual globe program. It maps a version of the
+Earth by the superimposition of images obtained from satellite
+imagery, aerial photography and GIS over a 3D globe. You point
+and zoom to any place on the planet that you want to explore.
+Satellite images and local facts zoom into view. Tap into Google
+search to show local points of interest and facts. Zoom to a
+specific address to check out an apartment or hotel. View driving
+directions and even fly along your route.
+
+The degree of resolution available is based somewhat on the points
+of interest, but most land (except for some islands) is covered in at
+least 15 meters of resolution.
+
+When running GoogleEarth for the first time, you will see an error
+message stating that it is unable to find the Bitstream Vera fonts.
+This should be safe to ignore - it will use other fonts (and the
+DejaVu fonts included with Slackware are based on the Bitstream fonts).
+
+NOTES:
+1) Google Earth 7 (legacy) is "LSB compliant" meaning it was built on
+ an LSB system. Slackware however does not have that symlink which
+ is part of the LSB 3.0 specification. Before, you had to add that
+ symlink manually; that is now handled in doinst.sh. For nostalgia
+ sake, the symlinks are:
+ in /lib: (32-bit)
+ ln -sv ld-linux.so.2 ld-lsb.so.3
+ in /lib64:
+ ln -sv ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3
+
+2) Google Earth sometimes crashes when the 65-fonts-persian.conf is
+ available on the system. If you experience crashes, try removing
+ /etc/fonts/conf.d/65-fonts-persian.conf prior to launching this
+ application. The easiest way to do this is:
+
+ mv /etc/fonts/conf.d/65-fonts-persian.conf \
+ /etc/fonts/conf.d/65-fonts-persian.conf.old
+
+3) GoogleEarth requires that you have OpenGL drivers installed on your
+ system (and Xorg configured to use them). Not doing so will cause X
+ to crash.
+
+4) This is the legacy version 7.3.0, which is the last version to be
+ released for 32-bit systems. On startup, a nag screen will pop up
+ advising you that a new version is availble, which you can safely
+ ignore.
diff --git a/gis/google-earth-legacy/doinst.sh b/gis/google-earth-legacy/doinst.sh
new file mode 100644
index 0000000000..76c4a738ca
--- /dev/null
+++ b/gis/google-earth-legacy/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+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/google-earth-legacy/google-earth-legacy.SlackBuild b/gis/google-earth-legacy/google-earth-legacy.SlackBuild
new file mode 100644
index 0000000000..f062abd99d
--- /dev/null
+++ b/gis/google-earth-legacy/google-earth-legacy.SlackBuild
@@ -0,0 +1,140 @@
+#!/bin/bash
+
+# Slackware build script for google-earth-legacy
+
+# 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
+# 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.
+
+# 2013 - A lot of thanks to Willy Sudiarto Raharjo for his input and help
+# with converting the script to work with google's .deb packages.
+
+# Thanks to rworkman for the additional code and script cleanups
+# and to Daniel de Kok and Alan_Hicks for their comments.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=google-earth-legacy
+VERSION=${VERSION:-7.3.0.3832}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ *) 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
+ SRCARCH="i386"
+elif [ "$ARCH" = "x86_64" ]; then
+ SRCARCH="amd64"
+else
+ echo "This system is unsupported. Aborting."
+ exit 1
+fi
+
+# No flags/configure needed as it is just a binary repackaging.
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar p $CWD/google-earth-pro-stable_${VERSION}-r0_${SRCARCH}.deb data.tar.xz | tar xJv
+cd $PKG
+chown -R root:root .
+
+# Fix Google braindeadness (and mine)
+find . -type d -exec chmod 0755 {} \;
+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 {} \;
+
+# Sadly (by lack of a more polite word), Google has some inconsistent
+# permissions for normal files; this should deal with them rather nicely.
+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
+
+# 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 \
+ $PKG/usr/share/icons/hicolor/${icon}x${icon}/apps/${PRGNAM}-pro.png
+done
+
+# Install mimetypes
+mkdir -p $PKG/usr/share/mime/packages/
+cat $CWD/google-earth-mimetypes.xml > $PKG/usr/share/mime/packages/$PRGNAM-mimetypes.xml
+
+# Let's take care of documentation
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Clean up cruft/unneeded directories.The cron job in /etc is for Debian/Ubuntu only:
+rm -rf $PKG/etc
+rm -rf $PKG/usr/share/{man,menu,gnome-control-center}
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+# Add ld-lsb.so symlink creation to doinst.sh
+if [ "$ARCH" = "x86_64" ]; then
+cat >> $PKG/install/doinst.sh << "EOF"
+# Create ld-lsb symlink
+( cd lib64
+ if [ ! -e ld-lsb-x86-64.so.3 ]; then
+ ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3
+ fi
+)
+
+EOF
+else
+cat >> $PKG/install/doinst.sh << "EOF"
+# Create ld-lsb symlink
+( cd lib
+ if [ ! -e ld-lsb.so.3 ]; then
+ ln -sf ld-linux.so.2 ld-lsb.so.3
+ fi
+)
+
+EOF
+fi
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/google-earth-legacy/google-earth-legacy.info b/gis/google-earth-legacy/google-earth-legacy.info
new file mode 100644
index 0000000000..8ac0fe3e9a
--- /dev/null
+++ b/gis/google-earth-legacy/google-earth-legacy.info
@@ -0,0 +1,10 @@
+PRGNAM="google-earth-legacy"
+VERSION="7.3.0.3832"
+HOMEPAGE="https://www.google.com/earth/index.html"
+DOWNLOAD="https://dl.google.com/dl/earth/client/GE7/release_7_3_0/google-earth-pro-stable_7.3.0.3832-r0_i386.deb"
+MD5SUM="5c298610ae4bd604fcfd54fdc32e53dd"
+DOWNLOAD_x86_64="https://dl.google.com/dl/earth/client/GE7/release_7_3_0/google-earth-pro-stable_7.3.0.3832-r0_amd64.deb"
+MD5SUM_x86_64="b9d8281257b7ebf0dfac1ab1d3578681"
+REQUIRES=""
+MAINTAINER="Lenard Spencer"
+EMAIL="lenardrspencer@gmail.com"
diff --git a/gis/google-earth-legacy/google-earth-mimetypes.xml b/gis/google-earth-legacy/google-earth-mimetypes.xml
new file mode 100644
index 0000000000..8850ee973e
--- /dev/null
+++ b/gis/google-earth-legacy/google-earth-mimetypes.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/vnd.google-earth.kml+xml">
+ <comment>Keyhole Markup Language data</comment>
+ <glob pattern="*.kml"/>
+ </mime-type>
+
+ <mime-type type="application/vnd.google-earth.kmz">
+ <comment>Keyhole Markup Language archive</comment>
+ <glob pattern="*.kmz"/>
+ </mime-type>
+
+ <mime-type type="application/keyhole">
+ <comment>Keyhole Markup Language data</comment>
+ </mime-type>
+
+ <mime-type type="application/earthviewer">
+ <comment>Keyhole Markup Language data</comment>
+ </mime-type>
+</mime-info>
diff --git a/gis/google-earth-legacy/slack-desc b/gis/google-earth-legacy/slack-desc
new file mode 100644
index 0000000000..e9c8c09862
--- /dev/null
+++ b/gis/google-earth-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------------------------------------------------------|
+google-earth-legacy: google-earth-legacy (Google's famous virtual globe - legacy version)
+google-earth-legacy:
+google-earth-legacy: Google Earth is a virtual globe program. It maps a version of the
+google-earth-legacy: Earth by the superimposition of images obtained from satellite
+google-earth-legacy: imagery, aerial photography and GIS over a 3D globe. You point
+google-earth-legacy: and zoom to any place on the planet that you want to explore.
+google-earth-legacy: Satellite images and local facts zoom into view.
+google-earth-legacy:
+google-earth-legacy: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+google-earth-legacy: If google-earth fails to run, first consult the NOTES in the README.
+google-earth-legacy: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
diff --git a/gis/google-earth/README b/gis/google-earth/README
index a39cf206a7..f0d3ae93a4 100644
--- a/gis/google-earth/README
+++ b/gis/google-earth/README
@@ -1,6 +1,6 @@
google-earth (Google's famous virtual globe)
-Google Earth is a virtual globe program. It maps a version of the
+Google Earth Pro is a virtual globe program. It maps a version of the
Earth by the superimposition of images obtained from satellite
imagery, aerial photography and GIS over a 3D globe. You point
and zoom to any place on the planet that you want to explore.
@@ -10,33 +10,20 @@ specific address to check out an apartment or hotel. View driving
directions and even fly along your route.
The degree of resolution available is based somewhat on the points
-of interest, but most land (except for some islands) is covered in at
+of interest, but most land (except for some islands) is covered in at
least 15 meters of resolution.
-When running GoogleEarth for the first time, you will see an error
-message stating that it is unable to find the Bitstream Vera fonts.
-This should be safe to ignore - it will use other fonts (and the
-DejaVu fonts included with Slackware are based on the Bitstream fonts).
-
NOTES:
-1) Google Earth 7 is "LSB compliant" meaning it was built on a LSB
- system. Slackware however does not have that symlink which is part
- of the LSB 3.0 specification. Before, you had to add that symlink
- manually; that is now handled in doinst.sh.
-
-2) Google Earth sometimes crashes when the 65-fonts-persian.conf is
- available on the system. If you experience crashes, try removing
- /etc/fonts/conf.d/65-fonts-persian.conf prior to launching this
- application. The easiest way to do this is:
-
- mv /etc/fonts/conf.d/65-fonts-persian.conf \
- /etc/fonts/conf.d/65-fonts-persian.conf.old
-
-3) GoogleEarth requires that you have OpenGL drivers installed on your
- system (and Xorg configured to use them). Not doing so will cause X
- to crash.
-
-4) This is the legacy version 7.3.0, which is confirmed to run on
- Slackware 14.2. The newer versions (7.3.1 and later) tend to hang
- on 14.2. On startup, a nag screen will pop up advising you that a
- new version is availble, which you can safely ignore.
+1) Google Earth Pro requires that you have OpenGL drivers installed on
+ your system (and Xorg configured to use them). Not doing so will
+ cause X to crash.
+
+2) This version of Google Earth Pro is only available for 64-bit
+ systems. If you are still running 32-bit, you will need the
+ google-earth-legacy SBo script.
+
+3) This version of Google Earth Pro is updated without bumping the
+ version number (only the embedded revision is bumped). For this
+ reason the md5sum may not match and the build will fail in sbopkg.
+ If this happens you will need to download the file and build the
+ package directly.
diff --git a/gis/google-earth/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild
index 6d0eb752bd..59c5c5f1d3 100644
--- a/gis/google-earth/google-earth.SlackBuild
+++ b/gis/google-earth/google-earth.SlackBuild
@@ -4,8 +4,8 @@
# Copyright 2007-2013 Michiel van Wessem, Manchester, United Kingdom
# Copyright 2016-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2021-2022 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
-# Maintained 2021 by Lenard Spencer <lenardrspencer@gmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -33,7 +33,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=google-earth
-VERSION=${VERSION:-7.3.0.3832}
+VERSION=${VERSION:-7.3.6.9345}
+SHORTVER=${SHORTVER:-7.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,12 +58,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SRCARCH="i386"
-elif [ "$ARCH" = "x86_64" ]; then
+if [ "$ARCH" = "x86_64" ]; then
SRCARCH="amd64"
else
- echo "This system is unsupported. Aborting."
+ echo "This architecture is unsupported. Aborting."
exit 1
fi
@@ -71,11 +70,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
+
cd $PKG
-ar p $CWD/google-earth-pro-stable_${VERSION}-r0_${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)
find . -type d -exec chmod 0755 {} \;
find -L . \
@@ -84,16 +83,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 {} \;
-# Sadly (by lack of politer word), Google has some inconsistent permissions
-# for normal files; this should deal with them rather nicely.
+# Sadly (by lack of a more polite word), Google has some inconsistent
+# permissions for normal files; this should deal with them rather nicely.
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
@@ -113,28 +115,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-# Add ld-lsb.so symlink creation to doinst.sh
-if [ "$ARCH" = "x86_64" ]; then
-cat >> $PKG/install/doinst.sh << "EOF"
-# Create ld-lsb symlink
-( cd lib64
- if [ ! -e ld-lsb-x86-64.so.3 ]; then
- ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3
- fi
-)
-
-EOF
-else
-cat >> $PKG/install/doinst.sh << "EOF"
-# Create ld-lsb symlink
-( cd lib
- if [ ! -e ld-lsb.so.3 ]; then
- ln -sf ld-linux.so.2 ld-lsb.so.3
- fi
-)
-
-EOF
-fi
-
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/google-earth/google-earth.info b/gis/google-earth/google-earth.info
index 07621ca351..a4a57bf7d7 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.0.3832"
+VERSION="7.3.6.9345"
HOMEPAGE="https://www.google.com/earth/index.html"
-DOWNLOAD="https://dl.google.com/dl/earth/client/GE7/release_7_3_0/google-earth-pro-stable_7.3.0.3832-r0_i386.deb"
-MD5SUM="5c298610ae4bd604fcfd54fdc32e53dd"
-DOWNLOAD_x86_64="https://dl.google.com/dl/earth/client/GE7/release_7_3_0/google-earth-pro-stable_7.3.0.3832-r0_amd64.deb"
-MD5SUM_x86_64="b9d8281257b7ebf0dfac1ab1d3578681"
+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="0c801e2c22c42d47210bae598cbece1d"
REQUIRES=""
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"
diff --git a/gis/gpsbabel/README b/gis/gpsbabel/README
index fe1adcae48..690a7e6bf1 100644
--- a/gis/gpsbabel/README
+++ b/gis/gpsbabel/README
@@ -1,13 +1,16 @@
-GPSBabel converts waypoints, tracks, and routes from one format to another,
-whether that format is a common mapping format like Delorme, Streets and
-Trips, or even a serial or USB upload or download to a GPS receiver such as
-those from Garmin and Magellan. By flattening the Tower of Babel that the
-authors of various programs for manipulating GPS data have imposed upon us, it
-returns to us the ability to freely move our own waypoint data between the
-programs and hardware we choose to use.
+GPSBabel converts waypoints, tracks, and routes from one format to
+another, whether that format is a common mapping format like Delorme,
+Streets and Trips, or even a serial or USB upload or download to a GPS
+receiver such as those from Garmin and Magellan. By flattening the
+Tower of Babel that the authors of various programs for manipulating
+GPS data have imposed upon us, it returns to us the ability to freely
+move our own waypoint data between the programs and hardware we choose
+to use.
-It contains extensive data manipulation abilities making it a convenient for
-server-side processing or as the backend for other tools.
+It contains extensive data manipulation abilities making it a
+convenient for server-side processing or as the backend for other
+tools.
-It does not convert, transfer, send, or manipulate maps. We process data that
-may (or may not be) placed on a map, such as waypoints, tracks, and routes.
+It does not convert, transfer, send, or manipulate maps. We process
+data that may (or may not be) placed on a map, such as waypoints,
+tracks, and routes.
diff --git a/gis/gpsbabel/gpsbabel.SlackBuild b/gis/gpsbabel/gpsbabel.SlackBuild
index c960dc6885..06e3336140 100644
--- a/gis/gpsbabel/gpsbabel.SlackBuild
+++ b/gis/gpsbabel/gpsbabel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gpsbabel
-# Copyright 2017-2021 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2017-2022 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.7.0}
+VERSION=${VERSION:-1.8.0}
SRCVER=${PRGNAM}_$(echo ${VERSION} | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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
@@ -53,10 +50,7 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING README*"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -90,26 +84,14 @@ sed -i \
-e '/ignoreVersionMismatch_/s/false/true/' \
gui/babeldata.h
-# Make it more FHS-compliant by moving gmapbase.html and the translations
-# to /usr/share. Tell the GUI where to find them. Thanks to Arch.
-sed -i 's|langPath_ = QApplication::applicationDirPath();|langPath_ = "/usr/share/gpsbabel";|' gui/mainwindow.cc
-sed -i 's|baseFile = QApplication::applicationDirPath() + "/gmapbase.html";|baseFile = "/usr/share/gpsbabel/gmapbase.html";|' gui/map.cc
-
# 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
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-zlib=system \
- --build=$ARCH-slackware-linux \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
+qmake-qt5 \
+ WITH_LIBUSB=pkgconfig \
+ WITH_ZLIB=pkgconfig \
+ QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
+ QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \
make
make gui
@@ -118,9 +100,6 @@ install -D -m0755 -s gpsbabel $PKG/usr/bin/gpsbabel
install -D -m0755 -s gui/objects/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
-install -D -m0644 gui/gmapbase.html $PKG/usr/share/gpsbabel/gmapbase.html
-install -d -m0755 $PKG/usr/share/gpsbabel/translations/
-install -D -m0644 gui/*.qm $PKG/usr/share/gpsbabel/translations/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/gis/gpsbabel/gpsbabel.info b/gis/gpsbabel/gpsbabel.info
index aeb8495227..6b03daff1d 100644
--- a/gis/gpsbabel/gpsbabel.info
+++ b/gis/gpsbabel/gpsbabel.info
@@ -1,10 +1,10 @@
PRGNAM="gpsbabel"
-VERSION="1.7.0"
+VERSION="1.8.0"
HOMEPAGE="https://www.gpsbabel.org/"
-DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_7_0/gpsbabel-gpsbabel_1_7_0.tar.gz"
-MD5SUM="80a7d3455c741e1298b2fbce93bb6072"
+DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_8_0/gpsbabel-gpsbabel_1_8_0.tar.gz"
+MD5SUM="00d09b95a05d85622d38de5b0963e2bc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libminizip"
+REQUIRES=""
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/gis/gpsd/gpsd.SlackBuild b/gis/gpsd/gpsd.SlackBuild
index be4472c9db..511d0a2986 100644
--- a/gis/gpsd/gpsd.SlackBuild
+++ b/gis/gpsd/gpsd.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/gis/grass/README b/gis/grass/README
index aad2c1c4f3..f50d60cb6f 100644
--- a/gis/grass/README
+++ b/gis/grass/README
@@ -1,8 +1,8 @@
-GRASS (Geographic Resources Analysis Support System) is a free Geographic
-Information System (GIS) used for geospatial data management and
-analysis, image processing, graphics/maps production, spatial modeling,
-and visualization. GRASS is an official project of the Open Source
-Geospatial Foundation.
+GRASS (Geographic Resources Analysis Support System) is a free
+Geographic Information System (GIS) used for geospatial data
+management and analysis, image processing, graphics/maps production,
+spatial modeling, and visualization. GRASS is an official project of
+the Open Source Geospatial Foundation.
The following options may be enabled:
@@ -26,17 +26,18 @@ The following options may be enabled:
(requires libLAS)
opencl for OpenCL GPU acceleration
- (requires nvidia-driver or amd-app-sdk and suitable GPU)
+ (requires nvidia-driver or amd-app-sdk and
+ suitable GPU)
-The options you require must be specified by setting the variable ENABLE
-before running grass.SlackBuild, for example
+The options you require must be specified by setting the variable
+ENABLE before running grass.SlackBuild, for example
ENABLE="sqlite,netcdf" ./grass.SlackBuild
ffmpeg is an optional runtime dependency for the Animation tool
(g.gui.module).
-If you need to make grass libraries available to other applications (e.g.
-qgis) do this:
+If you need to make grass libraries available to other applications
+(e.g. qgis) do this:
echo /opt/grass/lib >> /etc/ld.so.conf && ldconfig
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/josm/README b/gis/josm/README
index c893f14abe..2fe1984ce5 100644
--- a/gis/josm/README
+++ b/gis/josm/README
@@ -1,11 +1,11 @@
JOSM is an extensible editor for OpenStreetMap (OSM) written in Java
-Currently it supports loading stand-alone GPX tracks and GPX track data from the
-OSM database as well as loading and editing existing nodes, ways, metadata tags
-and relations from the OSM database.
+Currently it supports loading stand-alone GPX tracks and GPX track
+data from the OSM database as well as loading and editing existing
+nodes, ways, metadata tags and relations from the OSM database.
-Josm is very active so it is highly recommended to install the latest version
-http://josm.openstreetmap.de/download/josm-tested.jar
-and execute the script with VERSION=tested
+Josm is very active so it is highly recommended to install the latest
+version http://josm.openstreetmap.de/download/josm-tested.jar and
+execute the script with VERSION=tested
The script will automagically find the version number in packaging.
diff --git a/gis/josm/josm.info b/gis/josm/josm.info
index 9603d00a01..77461996d4 100644
--- a/gis/josm/josm.info
+++ b/gis/josm/josm.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/josm-snapshot-12450.jar"
MD5SUM="1bb587427acb4b87300093ae298a0f13"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
diff --git a/gis/laszip/README b/gis/laszip/README
index 61951f4705..63b526820d 100644
--- a/gis/laszip/README
+++ b/gis/laszip/README
@@ -1,6 +1,7 @@
-LASzip - a free product of rapidlasso GmbH - quickly turns bulky LAS files
-into compact LAZ files without information loss. Terabytes of LAZ data are
-now available for free download from various agencies making LASzip, winner
-of the 2012 Geospatial World Forum Technology Innovation Award in LiDAR
-Processing and 2nd place winner for innovative product at INTERGEO 2012,
-the de-facto standard for LiDAR compression.
+LASzip - a free product of rapidlasso GmbH - quickly turns bulky LAS
+files into compact LAZ files without information loss. Terabytes of
+LAZ data are now available for free download from various agencies
+making LASzip, winner of the 2012 Geospatial World Forum Technology
+Innovation Award in LiDAR Processing and 2nd place winner for
+innovative product at INTERGEO 2012, the de-facto standard for LiDAR
+compression.
diff --git a/gis/laszip/laszip.SlackBuild b/gis/laszip/laszip.SlackBuild
index 514a81cbb7..49832cd3dc 100644
--- a/gis/laszip/laszip.SlackBuild
+++ b/gis/laszip/laszip.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=laszip
VERSION=${VERSION:-2.2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -91,6 +91,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+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
@@ -100,6 +103,10 @@ cp -a \
$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/libecwj2/README b/gis/libecwj2/README
new file mode 100644
index 0000000000..ad59becd5e
--- /dev/null
+++ b/gis/libecwj2/README
@@ -0,0 +1,33 @@
+libecwj2 is a library that gives support to GDAL for reading, import,
+and convert raster geospatial data in non-free ECW and JPEG 2000
+formats. This library was released as free and open source in 2006 by
+Earth Resource Mapping, formerly owner of ECW patents.
+
+ECW (Enhanced Compression Wavelet) is a full proprietary standard of
+compression image format.
+JPEG 2000 (or JP2) is a similar standard under free concession but
+protected by patents in some parts.
+
+Both the formats are more powerful than other formats in lossy
+compression of large image data without significant losses of quality,
+but are mainly accessible through proprietary software, specially to
+manage geospatial data.
+
+libecwj2 is the only one free and open source library that includes
+the support to these formats in GDAL and indirectly in platforms that
+require it as dependency (i.e. QGIS and Orfeo Toolbox). GDAL can be
+also used to convert ECW or JP2 files in other graphic formats.
+
+After the installation, to apply the support to ECW/JP2 formats, GDAL
+must be rebuilt without any other setting: libecwj2 is an optional
+dependency autodetected.
+
+To verify if the plugin is enabled, you can launch the following
+command:
+
+ $ gdalinfo --formats | grep ECW
+
+If the plugin is successfully enabled, this command returns
+
+ ECW -raster- (rw): ERDAS Compressed Wavelets (SDK 3.x)
+ JP2ECW -raster,vector- (rw+v): ERDAS JPEG2000 (SDK 3.x)
diff --git a/gis/libecwj2/libecwj2-3.3-NCSPhysicalMemorySize-Linux.patch b/gis/libecwj2/libecwj2-3.3-NCSPhysicalMemorySize-Linux.patch
new file mode 100644
index 0000000000..5489030839
--- /dev/null
+++ b/gis/libecwj2/libecwj2-3.3-NCSPhysicalMemorySize-Linux.patch
@@ -0,0 +1,16 @@
+--- Source/C/NCSUtil/malloc.c.ori 2010-02-02 00:09:24.000000000 +0100
++++ Source/C/NCSUtil/malloc.c 2010-02-02 00:17:13.000000000 +0100
+@@ -390,7 +390,12 @@
+ #else /* SOLARIS */
+
+ #ifdef LINUX
+- return(sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE));
++ long nPages = sysconf(_SC_PHYS_PAGES);
++ long nPageSize = sysconf(_SC_PAGESIZE);
++ if (nPages > INT_MAX / nPageSize)
++ return INT_MAX;
++ else
++ return (INT32)(nPages * nPageSize);
+ #elif defined MACOSX
+ return(128*1024*1024);
+
diff --git a/gis/libecwj2/libecwj2-3.3-msvc90-fixes.patch b/gis/libecwj2/libecwj2-3.3-msvc90-fixes.patch
new file mode 100644
index 0000000000..b58cab10d6
--- /dev/null
+++ b/gis/libecwj2/libecwj2-3.3-msvc90-fixes.patch
@@ -0,0 +1,239 @@
+diff -r 486075d14769 -r d53918598fbf libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJP2File.cpp
+--- libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJP2File.cpp Wed Sep 30 11:55:26 2009 +0100
++++ libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJP2File.cpp Wed Sep 30 12:20:09 2009 +0100
+@@ -137,7 +137,7 @@
+ m_bCodestreamOnly = false;
+
+ m_eCompressionOrder = CNCSJPCProgressionOrderType::RPCL;
+- m_nDecompressionLayers = CNCSJPCBuffer::MAXUINT16;
++ m_nDecompressionLayers = CNCSJPCBuffer::NCS_MAXUINT16;
+
+ m_nNextLine = 0;
+ //Default geodata usage - was JP2_GEODATA_USE_WLD_GML_PCS
+diff -r 486075d14769 -r d53918598fbf libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCBuffer.cpp
+--- libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCBuffer.cpp Wed Sep 30 11:55:26 2009 +0100
++++ libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCBuffer.cpp Wed Sep 30 12:20:09 2009 +0100
+@@ -26,19 +26,19 @@
+
+ //void * memcpy_amd(void *dest, const void *src, size_t n);
+
+-const UINT32 CNCSJPCBuffer::MAXUINT8 = (unsigned)0xff;
+-const UINT32 CNCSJPCBuffer::MAXUINT16 = (unsigned)0xffff;
+-const UINT32 CNCSJPCBuffer::MAXUINT32 = (unsigned)0xffffffff;
+-const UINT32 CNCSJPCBuffer::MINUINT8 = 0;
+-const UINT32 CNCSJPCBuffer::MINUINT16 = 0;
+-const UINT32 CNCSJPCBuffer::MINUINT32 = 0;
++const UINT32 CNCSJPCBuffer::NCS_MAXUINT8 = (unsigned)0xff;
++const UINT32 CNCSJPCBuffer::NCS_MAXUINT16 = (unsigned)0xffff;
++const UINT32 CNCSJPCBuffer::NCS_MAXUINT32 = (unsigned)0xffffffff;
++const UINT32 CNCSJPCBuffer::NCS_MINUINT8 = 0;
++const UINT32 CNCSJPCBuffer::NCS_MINUINT16 = 0;
++const UINT32 CNCSJPCBuffer::NCS_MINUINT32 = 0;
+
+-const UINT32 CNCSJPCBuffer::MAXINT8 = 0x7f;
+-const UINT32 CNCSJPCBuffer::MAXINT16 = 0x7fff;
+-const UINT32 CNCSJPCBuffer::MAXINT32 = 0x7fffffff;
+-const INT32 CNCSJPCBuffer::MININT8 = (-1 * (signed)CNCSJPCBuffer::MAXINT8 - 1);
+-const INT32 CNCSJPCBuffer::MININT16 = (-1 * (signed)CNCSJPCBuffer::MAXINT16 - 1);
+-const INT32 CNCSJPCBuffer::MININT32 = (-1 * (signed)CNCSJPCBuffer::MAXINT32 - 1);
++const UINT32 CNCSJPCBuffer::NCS_MAXINT8 = 0x7f;
++const UINT32 CNCSJPCBuffer::NCS_MAXINT16 = 0x7fff;
++const UINT32 CNCSJPCBuffer::NCS_MAXINT32 = 0x7fffffff;
++const INT32 CNCSJPCBuffer::NCS_MININT8 = (-1 * (signed)CNCSJPCBuffer::NCS_MAXINT8 - 1);
++const INT32 CNCSJPCBuffer::NCS_MININT16 = (-1 * (signed)CNCSJPCBuffer::NCS_MAXINT16 - 1);
++const INT32 CNCSJPCBuffer::NCS_MININT32 = (-1 * (signed)CNCSJPCBuffer::NCS_MAXINT32 - 1);
+
+ const UINT32 CNCSJPCBuffer::AT_OWNER = (1 << 0);
+ const UINT32 CNCSJPCBuffer::AT_CHILD = (1 << 1);
+@@ -308,27 +308,27 @@
+ switch(m_eType) {
+ case CNCSJPCBuffer::BT_INT16:
+ // Optimise some common cases
+- if(nMin == MINUINT8 && nMax == MAXUINT8) {
++ if(nMin == NCS_MINUINT8 && nMax == NCS_MAXUINT8) {
+ // UINT8 range
+ for(x = 0; x < nWidth; x++) {
+ INT16 v = ((INT16*)m_pBuffer)[x];
+ if(v & 0xff00) { // Top bit is sign bit, so this tests for both >nMax & <nMin in one
+- if(v > (INT16)MAXUINT8) {
+- ((INT16*)m_pBuffer)[x] = MAXUINT8;
+- } else if(v < (INT16)MINUINT8) {
+- ((INT16*)m_pBuffer)[x] = MINUINT8;
++ if(v > (INT16)NCS_MAXUINT8) {
++ ((INT16*)m_pBuffer)[x] = NCS_MAXUINT8;
++ } else if(v < (INT16)NCS_MINUINT8) {
++ ((INT16*)m_pBuffer)[x] = NCS_MINUINT8;
+ }
+ }
+ }
+- } else if(nMin == MININT8 && nMax == MAXINT8) {
++ } else if(nMin == NCS_MININT8 && nMax == NCS_MAXINT8) {
+ // INT8 range
+ for(x = 0; x < nWidth; x++) {
+ INT16 v = ((INT16*)m_pBuffer)[x];
+ if(v & 0xff80) { // Top bit is sign bit, so this tests for both >nMax & <nMin in one
+- if(v > (INT16)MAXINT8) {
+- ((INT16*)m_pBuffer)[x] = MAXINT8;
+- } else if(v < (INT16)MININT8) {
+- ((INT16*)m_pBuffer)[x] = MININT8;
++ if(v > (INT16)NCS_MAXINT8) {
++ ((INT16*)m_pBuffer)[x] = NCS_MAXINT8;
++ } else if(v < (INT16)NCS_MININT8) {
++ ((INT16*)m_pBuffer)[x] = NCS_MININT8;
+ }
+ }
+ }
+@@ -345,27 +345,27 @@
+ break;
+ case CNCSJPCBuffer::BT_INT32:
+ // Optimise some common cases
+- if(nMin == MINUINT16 && nMax == MAXUINT16) {
++ if(nMin == NCS_MINUINT16 && nMax == NCS_MAXUINT16) {
+ // UINT16 range
+ for(x = 0; x < nWidth; x++) {
+ INT32 v = ((INT32*)m_pBuffer)[x];
+ if(v & 0xffff0000) { // Top bit is sign bit, so this tests for both >nMax & <nMin in one
+- if(v > (INT32)MAXUINT16) {
+- ((INT32*)m_pBuffer)[x] = MAXUINT16;
+- } else if(v < (INT32)MINUINT16) {
+- ((INT32*)m_pBuffer)[x] = MINUINT16;
++ if(v > (INT32)NCS_MAXUINT16) {
++ ((INT32*)m_pBuffer)[x] = NCS_MAXUINT16;
++ } else if(v < (INT32)NCS_MINUINT16) {
++ ((INT32*)m_pBuffer)[x] = NCS_MINUINT16;
+ }
+ }
+ }
+- } else if(nMin == MININT16 && nMax == MAXINT16) {
++ } else if(nMin == NCS_MININT16 && nMax == NCS_MAXINT16) {
+ // INT16 range
+ for(x = 0; x < nWidth; x++) {
+ INT32 v = ((INT32*)m_pBuffer)[x];
+ if(v & 0xffff8000) { // Top bit is sign bit, so this tests for both >nMax & <nMin in one
+- if(v > (INT32)MAXINT16) {
+- ((INT32*)m_pBuffer)[x] = MAXINT16;
+- } else if(v < (INT32)MININT16) {
+- ((INT32*)m_pBuffer)[x] = MININT16;
++ if(v > (INT32)NCS_MAXINT16) {
++ ((INT32*)m_pBuffer)[x] = NCS_MAXINT16;
++ } else if(v < (INT32)NCS_MININT16) {
++ ((INT32*)m_pBuffer)[x] = NCS_MININT16;
+ }
+ }
+ }
+@@ -403,13 +403,13 @@
+ return(Clip(NCSCeil(fMin), NCSFloor(fMax)));
+ break;
+ case CNCSJPCBuffer::BT_IEEE4:
+- if(fMin == MINUINT8 && fMax == MAXUINT8) {
++ if(fMin == NCS_MINUINT8 && fMax == NCS_MAXUINT8) {
+ for(x = 0; x < nWidth; x++) {
+ IEEE4 v = ((IEEE4*)m_pBuffer)[x];
+- if(v > MAXUINT8) {
+- ((IEEE4*)m_pBuffer)[x] = MAXUINT8;
+- } else if(v < MINUINT8) {
+- ((IEEE4*)m_pBuffer)[x] = MINUINT8;
++ if(v > NCS_MAXUINT8) {
++ ((IEEE4*)m_pBuffer)[x] = NCS_MAXUINT8;
++ } else if(v < NCS_MINUINT8) {
++ ((IEEE4*)m_pBuffer)[x] = NCS_MINUINT8;
+ }
+ }
+ } else {
+diff -r 486075d14769 -r d53918598fbf libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCPLTMarker.cpp
+--- libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCPLTMarker.cpp Wed Sep 30 11:55:26 2009 +0100
++++ libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCPLTMarker.cpp Wed Sep 30 12:20:09 2009 +0100
+@@ -173,7 +173,7 @@
+ nPrevHeaderLength = TMP.m_nHeaderLength;
+ TMP.m_nHeaderLength += (UINT32)nTotalHeaderLength;
+ }
+- if(nTotalHeaderLength > CNCSJPCBuffer::MAXUINT32) {
++ if(nTotalHeaderLength > CNCSJPCBuffer::NCS_MAXUINT32) {
+ // Too big to store cumulated length in the PacketLength struct, so
+ // set it back to false and reparse the entire PLT
+ m_bCumulativeLengths = false;
+@@ -202,7 +202,7 @@
+ nPrevHeaderLength = TMP.m_nHeaderLength;
+ TMP.m_nHeaderLength += nTotalHeaderLength;
+ }
+- if(nTotalHeaderLength > CNCSJPCBuffer::MAXUINT32) {
++ if(nTotalHeaderLength > CNCSJPCBuffer::NCS_MAXUINT32) {
+ // Too big to store cumulated length in the PacketLength struct, so
+ // set it back to false and reparse the entire PLT
+ m_bCumulativeLengths = false;
+diff -r 486075d14769 -r d53918598fbf libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCT1Coder.cpp
+--- libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCT1Coder.cpp Wed Sep 30 11:55:26 2009 +0100
++++ libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCT1Coder.cpp Wed Sep 30 12:20:09 2009 +0100
+@@ -917,7 +917,7 @@
+
+ int passno=0;
+ int passtype;
+- INT32 nMax = CNCSJPCBuffer::MININT32;
++ INT32 nMax = CNCSJPCBuffer::NCS_MININT32;
+
+ UINT32 nWidth = pDecBuf->GetWidth();
+ UINT32 nHeight = pDecBuf->GetHeight();
+@@ -956,7 +956,7 @@
+ UINT32 nSubWidth = nWidth / 8;
+
+ __m128 mm7 = _mm_set1_ps(fRatio);
+- __m128i mm4 = _mm_set1_epi16((short)CNCSJPCBuffer::MININT16);
++ __m128i mm4 = _mm_set1_epi16((short)CNCSJPCBuffer::NCS_MININT16);
+
+ for(UINT32 y = 0; y < nHeight; y++) {
+ INT16 *pSrc = (INT16*)pDecBuf->GetPtr() + y * nDecStep;
+@@ -1008,7 +1008,7 @@
+ UINT32 nSubWidth = nWidth / 4;
+
+ __m128 mm7 = _mm_set1_ps(fRatio);
+- __m64 mm4 = _mm_set1_pi16((short)CNCSJPCBuffer::MININT16);
++ __m64 mm4 = _mm_set1_pi16((short)CNCSJPCBuffer::NCS_MININT16);
+
+ for(UINT32 y = 0; y < nHeight; y++) {
+ INT16 *pSrc = (INT16*)pDecBuf->GetPtr() + y * nDecStep;
+diff -r 486075d14769 -r d53918598fbf libecwj2-3.3/Source/include/NCSJPCBuffer.h
+--- libecwj2-3.3/Source/include/NCSJPCBuffer.h Wed Sep 30 11:55:26 2009 +0100
++++ libecwj2-3.3/Source/include/NCSJPCBuffer.h Wed Sep 30 12:20:09 2009 +0100
+@@ -48,30 +48,30 @@
+ class NCSJPC_EXPORT_ALL CNCSJPCBuffer: public CNCSJPCRect {
+ public:
+ /** Maximum UINT8 value */
+- static const UINT32 MAXUINT8;
++ static const UINT32 NCS_MAXUINT8;
+ /** Maximum UINT16 value */
+- static const UINT32 MAXUINT16;
++ static const UINT32 NCS_MAXUINT16;
+ /** Maximum UINT32 value */
+- static const UINT32 MAXUINT32;
++ static const UINT32 NCS_MAXUINT32;
+ /** Minimum UINT8 value */
+- static const UINT32 MINUINT8;
++ static const UINT32 NCS_MINUINT8;
+ /** Minimum UINT16 value */
+- static const UINT32 MINUINT16;
++ static const UINT32 NCS_MINUINT16;
+ /** Minimum UINT32 value */
+- static const UINT32 MINUINT32;
++ static const UINT32 NCS_MINUINT32;
+
+ /** Maximum INT8 value */
+- static const UINT32 MAXINT8;
++ static const UINT32 NCS_MAXINT8;
+ /** Maximum INT16 value */
+- static const UINT32 MAXINT16;
++ static const UINT32 NCS_MAXINT16;
+ /** Maximum INT32 value */
+- static const UINT32 MAXINT32;
++ static const UINT32 NCS_MAXINT32;
+ /** Minimum INT8 value */
+- static const INT32 MININT8;
++ static const INT32 NCS_MININT8;
+ /** Minimum INT16 value */
+- static const INT32 MININT16;
++ static const INT32 NCS_MININT16;
+ /** Minimum INT32 value */
+- static const INT32 MININT32;
++ static const INT32 NCS_MININT32;
+
+ /**
+ * SystemInfo class - Some basic system capabilities we care about.
diff --git a/gis/libecwj2/libecwj2-3.3-wcharfix.patch b/gis/libecwj2/libecwj2-3.3-wcharfix.patch
new file mode 100644
index 0000000000..b00729c47c
--- /dev/null
+++ b/gis/libecwj2/libecwj2-3.3-wcharfix.patch
@@ -0,0 +1,15 @@
+diff -Nur libecwj2-3.3-orig/Source/C/NCSUtil/NCSPrefsXML.cpp libecwj2-3.3-wcharfix/Source/C/NCSUtil/NCSPrefsXML.cpp
+--- libecwj2-3.3-orig/Source/C/NCSUtil/NCSPrefsXML.cpp 2006-07-03 03:15:12.000000000 +0200
++++ libecwj2-3.3-wcharfix/Source/C/NCSUtil/NCSPrefsXML.cpp 2012-09-12 21:51:19.477487746 +0200
+@@ -32,7 +32,11 @@
+ } else {
+ char *pHomeDir = getenv("HOME");
+ if( pHomeDir ) {
++#ifdef NCS_BUILD_UNICODE
++ sUserPrefsFile.Format( NCS_T("%s%ls"), pHomeDir, NCS_T("/.erm/ncsuserprefs.xml") );
++#else
+ sUserPrefsFile.Format( NCS_T("%s%s"), pHomeDir, NCS_T("/.erm/ncsuserprefs.xml") );
++#endif
+ } else {
+ sUserPrefsFile = NCS_T("/etc/erm/ncsuserprefs.xml");
+ }
diff --git a/gis/libecwj2/libecwj2.SlackBuild b/gis/libecwj2/libecwj2.SlackBuild
new file mode 100644
index 0000000000..7a6cfd26c4
--- /dev/null
+++ b/gis/libecwj2/libecwj2.SlackBuild
@@ -0,0 +1,126 @@
+#!/bin/bash
+
+# Slackware build script for libecwj2
+
+# Copyright 2014-2022 Giancarlo Dessì, 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=libecwj2
+VERSION=${VERSION:-3.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCVER=2006-09-06
+
+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-$VERSION
+
+# Create $PKG/usr/include because make install does not do it
+mkdir $PKG/usr
+mkdir $PKG/usr/include
+
+unzip $CWD/$PRGNAM-$VERSION-$SRCVER.zip
+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 {} \;
+
+# Apply some patches to the original source code
+# thanks to Authors
+# see http://osgeo-org.1560.x6.nabble.com/ECW-support-on-Fedora-Linux-error-td4991388.html
+# and http://wiki.openstreetmap.org/wiki/ECW#Howto_install_gdal_with_ECW_support
+
+# Patch downloaded from http://trac.osgeo.org/gdal/raw-attachment/ticket/3162/libecwj2-3.3-msvc90-fixes.patch
+patch -p1 <$CWD/libecwj2-3.3-msvc90-fixes.patch
+
+# Patch downloaded from http://osgeo-org.1560.x6.nabble.com/attachment/5001530/0/libecwj2-3.3-wcharfix.patch
+patch -p0 <$CWD/libecwj2-3.3-NCSPhysicalMemorySize-Linux.patch
+
+# Patch downloaded from http://trac.osgeo.org/gdal/raw-attachment/ticket/3366/libecwj2-3.3-NCSPhysicalMemorySize-Linux.patch
+patch -p1 <$CWD/libecwj2-3.3-wcharfix.patch
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --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 License.txt Build.txt SDK.pdf $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/libecwj2/libecwj2.info b/gis/libecwj2/libecwj2.info
new file mode 100644
index 0000000000..259b0f701e
--- /dev/null
+++ b/gis/libecwj2/libecwj2.info
@@ -0,0 +1,10 @@
+PRGNAM="libecwj2"
+VERSION="3.3"
+HOMEPAGE="https://sourceforge.net/projects/libecw-legacy/"
+DOWNLOAD="https://sourceforge.net/projects/libecw-legacy/files/libecwj2-3.3-2006-09-06.zip/download"
+MD5SUM="acc04e07153c2a2a6595b3e2ebf34432"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Giancarlo Dessì"
+EMAIL="slack@giand.it"
diff --git a/gis/libecwj2/slack-desc b/gis/libecwj2/slack-desc
new file mode 100644
index 0000000000..eb8dd0fafa
--- /dev/null
+++ b/gis/libecwj2/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------------------------------------------------------|
+libecwj2: libecwj2 (translator library for raster geospatial data)
+libecwj2:
+libecwj2: libecwj2 is an old library and the only one that extends the support
+libecwj2: of GDAL to non-free graphic formats ECW and JPEG 2000.
+libecwj2:
+libecwj2:
+libecwj2:
+libecwj2:
+libecwj2: Repository: https://sourceforge.net/projects/libecw-legacy/
+libecwj2:
+libecwj2:
diff --git a/gis/libgeotiff/libgeotiff.SlackBuild b/gis/libgeotiff/libgeotiff.SlackBuild
index b9b685cba2..48920ba8cf 100644
--- a/gis/libgeotiff/libgeotiff.SlackBuild
+++ b/gis/libgeotiff/libgeotiff.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libgeotiff
VERSION=${VERSION:-1.5.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -104,6 +104,9 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -116,6 +119,10 @@ cp -a \
$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/librasterlite/0001-fix-autotools.patch.gz b/gis/librasterlite/0001-fix-autotools.patch.gz
new file mode 100644
index 0000000000..3132200872
--- /dev/null
+++ b/gis/librasterlite/0001-fix-autotools.patch.gz
Binary files differ
diff --git a/gis/librasterlite/librasterlite.SlackBuild b/gis/librasterlite/librasterlite.SlackBuild
index 4e25050cb0..4ac2da1bad 100644
--- a/gis/librasterlite/librasterlite.SlackBuild
+++ b/gis/librasterlite/librasterlite.SlackBuild
@@ -26,13 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=librasterlite
VERSION=${VERSION:-1.1g}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,6 +72,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+zcat $CWD/0001-fix-autotools.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -79,6 +80,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 {} \;
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-ldl" \
@@ -99,6 +102,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $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/README b/gis/libspatialindex/README
index f5c891e73a..d120164e2d 100644
--- a/gis/libspatialindex/README
+++ b/gis/libspatialindex/README
@@ -1,6 +1,6 @@
-libspatialindex provides an extensible framework that support robust spatial
-indexing methods and sophisticated spatial queries. Main features are:
-generic main memory and disk based storage managers, R*-tree index (also
-supports linear and quadratic splitting), MVR-tree index (a.k.a. PPR-tree),
-TPR-tree index, advanced query capabilities, using Strategy and Visitor
-patterns, STR packing / bulk loading etc.
+libspatialindex provides an extensible framework that support robust
+spatial indexing methods and sophisticated spatial queries. Main
+features are: generic main memory and disk based storage managers,
+R*-tree index (also supports linear and quadratic splitting), MVR-tree
+index (a.k.a. PPR-tree), TPR-tree index, advanced query capabilities,
+using Strategy and Visitor patterns, STR packing / bulk loading etc.
diff --git a/gis/libspatialindex/libspatialindex.SlackBuild b/gis/libspatialindex/libspatialindex.SlackBuild
index 6377902af3..1880404756 100644
--- a/gis/libspatialindex/libspatialindex.SlackBuild
+++ b/gis/libspatialindex/libspatialindex.SlackBuild
@@ -26,13 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libspatialindex
TARBALLNAME=spatialindex
VERSION=${VERSION:-1.7.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -101,6 +101,8 @@ cp -a \
$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/libspatialite/README b/gis/libspatialite/README
index 52bbc54ffb..af798dbacc 100644
--- a/gis/libspatialite/README
+++ b/gis/libspatialite/README
@@ -1,9 +1,9 @@
-SpatiaLite is an open source library intended to extend the SQLite core
-to support fully fledged Spatial SQL capabilities. SpatiaLite 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.
+SpatiaLite is an open source library intended to extend the SQLite
+core to support fully fledged Spatial SQL capabilities. SpatiaLite
+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.
+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 db7245e780..f773857aa9 100644
--- a/gis/libspatialite/libspatialite.SlackBuild
+++ b/gis/libspatialite/libspatialite.SlackBuild
@@ -24,14 +24,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libspatialite
-VERSION=${VERSION:-4.3.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-5.0.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -53,8 +53,8 @@ if [ "$LWGEOM" = "yes" ] ; then
LWGEOM_SUPPORT="--enable-lwgeom"
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -82,7 +82,7 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" \
+CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-ldl" \
./configure \
@@ -92,6 +92,7 @@ LDFLAGS="-ldl" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--enable-freexl \
+ --disable-rttopo \
$LWGEOM_SUPPORT \
--build=$ARCH-slackware-linux
@@ -106,6 +107,8 @@ cp -a AUTHORS COPYING INSTALL README README.coverage spatialite-sql-latest.html
$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/libspatialite/libspatialite.info b/gis/libspatialite/libspatialite.info
index f17c92f24a..59f5adb034 100644
--- a/gis/libspatialite/libspatialite.info
+++ b/gis/libspatialite/libspatialite.info
@@ -1,10 +1,10 @@
PRGNAM="libspatialite"
-VERSION="4.3.0"
+VERSION="5.0.1"
HOMEPAGE="https://www.gaia-gis.it/fossil/libspatialite/index"
-DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.3.0.tar.gz"
-MD5SUM="59ec162d3e4db2d247945e3a943f64bc"
+DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-5.0.1.tar.gz"
+MD5SUM="5f4a961afbb95dcdc715b5d7f8590573"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="proj geos freexl postgis"
+REQUIRES="proj geos freexl postgis libminizip"
MAINTAINER="Alexander Bruy"
EMAIL="alexander.bruy@gmail.com"
diff --git a/gis/mapnik/README b/gis/mapnik/README
index 2af60a18cf..831ea83dcd 100644
--- a/gis/mapnik/README
+++ b/gis/mapnik/README
@@ -1,5 +1,5 @@
-Mapnik is a free toolkit for developing mapping applications. Mapnik can be
-used for both desktop map design and web development.
+Mapnik is a free toolkit for developing mapping applications. Mapnik
+can be used for both desktop map design and web development.
Optional dependencies:
- gdal: GDAL and OGR plugin support
diff --git a/gis/merkaartor/merkaartor.SlackBuild b/gis/merkaartor/merkaartor.SlackBuild
index 77a8b912e8..5902d47d73 100644
--- a/gis/merkaartor/merkaartor.SlackBuild
+++ b/gis/merkaartor/merkaartor.SlackBuild
@@ -26,14 +26,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=merkaartor
-VERSION=${VERSION:-0.18.4}
+VERSION=${VERSION:-0.19.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -51,8 +51,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,19 +80,21 @@ 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 {} \;
-make -C translations release
-
-sed -i '13i#include <QPainterPath>' src/Features/Feature.h
-qmake-qt5 \
- QMAKE_CFLAGS="$SLKCFLAGS" \
- QMAKE_CXXFLAGS="$SLKCFLAGS -std=c++11" \
- NODEBUG=1 \
- PREFIX=/usr \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION \
- LIBDIR="/usr/lib${LIBDIRSUFFIX}"
-
-make
-make install INSTALL_ROOT=$PKG
+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 \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG | xargs 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/merkaartor/merkaartor.info b/gis/merkaartor/merkaartor.info
index 9e410189cd..b535d7ef1b 100644
--- a/gis/merkaartor/merkaartor.info
+++ b/gis/merkaartor/merkaartor.info
@@ -1,8 +1,8 @@
PRGNAM="merkaartor"
-VERSION="0.18.4"
+VERSION="0.19.0"
HOMEPAGE="http://www.merkaartor.be"
-DOWNLOAD="https://github.com/openstreetmap/merkaartor/archive/0.18.4/merkaartor-0.18.4.tar.gz"
-MD5SUM="6669b697105d4e02202fa63d741580d0"
+DOWNLOAD="https://github.com/openstreetmap/merkaartor/archive/0.19.0/merkaartor-0.19.0.tar.gz"
+MD5SUM="3696fde6c0521182e9e8c51563d68b94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdal"
diff --git a/gis/navit/navit.SlackBuild b/gis/navit/navit.SlackBuild
index d412f604fd..ae63ec7946 100644
--- a/gis/navit/navit.SlackBuild
+++ b/gis/navit/navit.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=navit
-VERSION=${VERSION:-0.5.4}
+VERSION=${VERSION:-0.5.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,7 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DSAMPLE_MAP=n \
diff --git a/gis/navit/navit.info b/gis/navit/navit.info
index 2feefba967..0290e268be 100644
--- a/gis/navit/navit.info
+++ b/gis/navit/navit.info
@@ -1,8 +1,8 @@
PRGNAM="navit"
-VERSION="0.5.4"
+VERSION="0.5.6"
HOMEPAGE="https://www.navit-project.org"
-DOWNLOAD="https://github.com/navit-gps/navit/archive/v0.5.4/navit-0.5.4.tar.gz"
-MD5SUM="75e0a62cb9be0776a8634beb02112182"
+DOWNLOAD="https://github.com/navit-gps/navit/archive/v0.5.6/navit-0.5.6.tar.gz"
+MD5SUM="98b93da6b70c928d825c1ede6691087a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/gis/opencpn/README b/gis/opencpn/README
index bf4423909f..7b1dd96ad5 100644
--- a/gis/opencpn/README
+++ b/gis/opencpn/README
@@ -4,5 +4,5 @@ tool. OpenCPN is developed by a team of active sailors using real
world conditions for program testing and refinement.
If you are upgrading or installing new, OpenCPN 5.2.x needs wxGTK3
-to be built with webkitgtk3 support. So you will have to install
-webkitgtk3, available here at SBo, then build and install wxGTK3.
+to be built with webkit support. So you will have to install
+webkit2gtk, available here at SBo, then build and install wxGTK3.
diff --git a/gis/opencpn/opencpn.info b/gis/opencpn/opencpn.info
index 11564bc6ca..a44554b6bb 100644
--- a/gis/opencpn/opencpn.info
+++ b/gis/opencpn/opencpn.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/OpenCPN/OpenCPN/archive/v5.2.4/OpenCPN-5.2.4.tar.gz
MD5SUM="9ca81bed7bca1706ecaac98a7578d6bb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gpsd tinyxml libmspack portaudio lsb-release webkitgtk3 wxGTK3"
+REQUIRES="gpsd tinyxml libmspack portaudio lsb-release webkit2gtk wxGTK3"
MAINTAINER="M.Dinslage"
EMAIL="daedra1980@gmail.com"
diff --git a/gis/opengrads/README b/gis/opengrads/README
index 8e53ac4fed..ba9eb6f718 100644
--- a/gis/opengrads/README
+++ b/gis/opengrads/README
@@ -1,5 +1,6 @@
-The Grid Analysis and Display System (GrADS) is an interactive desktop tool for
-easy access, manipulation, and visualization of earth science data.
+The Grid Analysis and Display System (GrADS) is an interactive desktop
+tool for easy access, manipulation, and visualization of earth science
+data.
-The OpenGrADS Project seeks to develop advanced interfaces and extensions based
-on the main GrADS engine.
+The OpenGrADS Project seeks to develop advanced interfaces and
+extensions based on the main GrADS engine.
diff --git a/gis/openorienteering-mapper/69977dfd4cbb8608aafa8ca8b5388d4983f5430a.patch b/gis/openorienteering-mapper/69977dfd4cbb8608aafa8ca8b5388d4983f5430a.patch
new file mode 100644
index 0000000000..6545099e95
--- /dev/null
+++ b/gis/openorienteering-mapper/69977dfd4cbb8608aafa8ca8b5388d4983f5430a.patch
@@ -0,0 +1,35 @@
+From 69977dfd4cbb8608aafa8ca8b5388d4983f5430a Mon Sep 17 00:00:00 2001
+From: Bas Couwenberg <sebastic@debian.org>
+Date: Sat, 23 Oct 2021 17:08:31 +0200
+Subject: [PATCH] Add support for proj.h, proj_api.h is removed in PROJ 8.
+
+---
+ cmake/FindPROJ4.cmake | 15 +++++++++++++++
+ 1 file changed, 15 insertions(+)
+
+diff --git a/cmake/FindPROJ4.cmake b/cmake/FindPROJ4.cmake
+index 093deaa79..10dfc7afa 100644
+--- a/cmake/FindPROJ4.cmake
++++ b/cmake/FindPROJ4.cmake
+@@ -91,6 +91,21 @@ if(PROJ4_INCLUDE_DIR AND EXISTS "${PROJ4_INCLUDE_DIR}/proj_api.h")
+ string(REGEX REPLACE "^.*PJ_VERSION [0-9][0-9]([0-9]).*$" "\\1" PROJ4_VERSION_PATCH "${PROJ4_H}")
+ set(PROJ4_VERSION "${PROJ4_VERSION_MAJOR}.${PROJ4_VERSION_MINOR}.${PROJ4_VERSION_PATCH}")
+ set(PROJ4_VERSION_COUNT 3)
++else()
++ find_path(PROJ4_INCLUDE_DIR NAMES proj.h ${_PROJ4_SEARCH} PATH_SUFFIXES include)
++ mark_as_advanced(PROJ4_INCLUDE_DIR)
++
++ if(PROJ4_INCLUDE_DIR AND EXISTS "${PROJ4_INCLUDE_DIR}/proj.h")
++ file(STRINGS "${PROJ4_INCLUDE_DIR}/proj.h" PROJ_VERSION_MAJOR REGEX "^#define PROJ_VERSION_MAJOR [0-9]+$")
++ file(STRINGS "${PROJ4_INCLUDE_DIR}/proj.h" PROJ_VERSION_MINOR REGEX "^#define PROJ_VERSION_MINOR [0-9]+$")
++ file(STRINGS "${PROJ4_INCLUDE_DIR}/proj.h" PROJ_VERSION_PATCH REGEX "^#define PROJ_VERSION_PATCH [0-9]+$")
++
++ string(REGEX REPLACE "^.*PROJ_VERSION_[A-Z]+ ([0-9]).*$" "\\1" PROJ4_VERSION_MAJOR "${PROJ_VERSION_MAJOR}")
++ string(REGEX REPLACE "^.*PROJ_VERSION_[A-Z]+ ([0-9]).*$" "\\1" PROJ4_VERSION_MINOR "${PROJ_VERSION_MINOR}")
++ string(REGEX REPLACE "^.*PROJ_VERSION_[A-Z]+ ([0-9]).*$" "\\1" PROJ4_VERSION_PATCH "${PROJ_VERSION_PATCH}")
++ set(PROJ4_VERSION "${PROJ4_VERSION_MAJOR}.${PROJ4_VERSION_MINOR}.${PROJ4_VERSION_PATCH}")
++ set(PROJ4_VERSION_COUNT 3)
++ endif()
+ endif()
+
+ # Allow PROJ4_LIBRARY to be set manually, as the location of the proj library
diff --git a/gis/openorienteering-mapper/README b/gis/openorienteering-mapper/README
index 8dafcbf0d5..316c8a5b7f 100644
--- a/gis/openorienteering-mapper/README
+++ b/gis/openorienteering-mapper/README
@@ -1,2 +1,3 @@
-OpenOrienteering Mapper is an orienteering mapmaking program and provides
-a free and open source alternative to existing commercial software.
+OpenOrienteering Mapper is an orienteering mapmaking program and
+provides a free and open source alternative to existing commercial
+software.
diff --git a/gis/openorienteering-mapper/fix_doc_path.diff b/gis/openorienteering-mapper/fix_doc_path.diff
deleted file mode 100644
index 87b1586cf0..0000000000
--- a/gis/openorienteering-mapper/fix_doc_path.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- mapper-0.9.0/CMakeLists.txt.orig 2019-10-24 00:33:05.001359242 +0300
-+++ mapper-0.9.0/CMakeLists.txt 2019-10-24 00:33:50.964840135 +0300
-@@ -133,7 +133,7 @@
- set(MAPPER_RUNTIME_DESTINATION "bin")
- set(MAPPER_LIBRARY_DESTINATION "lib/${Mapper_PACKAGE_NAME}")
- set(MAPPER_DATA_DESTINATION "share/${Mapper_PACKAGE_NAME}")
-- set(MAPPER_ABOUT_DESTINATION "share/doc/${Mapper_PACKAGE_NAME}")
-+ set(MAPPER_ABOUT_DESTINATION "doc/${Mapper_PACKAGE_NAME}-${Mapper_VERSION}")
- endif()
-
- if(CMAKE_CROSSCOMPILING)
diff --git a/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild b/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild
index bd0af2782e..ed77cca493 100644
--- a/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild
+++ b/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openorienteering-mapper
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,7 +79,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 {} \;
-patch -p1 < $CWD/fix_doc_path.diff
+# patch for Proj 8 submitted PR to upstream from debian
+patch -p1 < $CWD/69977dfd4cbb8608aafa8ca8b5388d4983f5430a.patch
mkdir -p build
cd build
@@ -88,6 +89,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_DOCDIR="/usr/doc/$PRGNAM-$VERSION" \
-DLICENSING_PROVIDER:BOOL=OFF \
-DMapper_PACKAGE_NAME=$PRGNAM \
-Wno-dev ..
diff --git a/gis/openorienteering-mapper/openorienteering-mapper.info b/gis/openorienteering-mapper/openorienteering-mapper.info
index f05b80055e..c5d4b16d5a 100644
--- a/gis/openorienteering-mapper/openorienteering-mapper.info
+++ b/gis/openorienteering-mapper/openorienteering-mapper.info
@@ -1,8 +1,8 @@
PRGNAM="openorienteering-mapper"
-VERSION="0.9.0"
+VERSION="0.9.5"
HOMEPAGE="https://www.openorienteering.org/apps/mapper/"
-DOWNLOAD="https://github.com/OpenOrienteering/mapper/archive/v0.9.0/mapper-0.9.0.tar.gz"
-MD5SUM="7135d60bcacaba0fde002543705c9eea"
+DOWNLOAD="https://github.com/OpenOrienteering/mapper/archive/v0.9.5/mapper-0.9.5.tar.gz"
+MD5SUM="87cde1b4bbb94704ec1dc356674ec92d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdal polyclipping proj"
diff --git a/gis/osgEarth/README b/gis/osgEarth/README
index eb37a51796..9509d516b4 100644
--- a/gis/osgEarth/README
+++ b/gis/osgEarth/README
@@ -1,9 +1,9 @@
-osgEarth is a C++ terrain rendering toolkit. Just create a simple XML file,
-point it at your imagery, elevation, and vector data, load it into your favorite
-OpenSceneGraph application, and go!
+osgEarth is a C++ terrain rendering toolkit. Just create a simple XML
+file, point it at your imagery, elevation, and vector data, load it
+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.
+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:
diff --git a/gis/osgEarth/osgEarth.SlackBuild b/gis/osgEarth/osgEarth.SlackBuild
index a675619a74..dddc27210a 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-2021 Christoph Willing, Brisbane Australia
+# Copyright 2018-2022 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.1}
+VERSION=${VERSION:-3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/osgEarth/osgEarth.info b/gis/osgEarth/osgEarth.info
index 75cc714ddd..ba83e1a3fb 100644
--- a/gis/osgEarth/osgEarth.info
+++ b/gis/osgEarth/osgEarth.info
@@ -1,10 +1,10 @@
PRGNAM="osgEarth"
-VERSION="3.1"
+VERSION="3.2"
HOMEPAGE="http://osgearth.org/"
-DOWNLOAD="https://github.com/gwaldron/osgearth/archive/osgearth-3.1/osgearth-osgearth-3.1.tar.gz"
-MD5SUM="20230b8e07da210c1a7757247a339243"
+DOWNLOAD="https://github.com/gwaldron/osgearth/archive/osgearth-3.2/osgearth-osgearth-3.2.tar.gz"
+MD5SUM="c9de48b9326b739e547879f9c0cb1b33"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenSceneGraph gdal"
+REQUIRES="OpenSceneGraph gdal protobuf3"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/gis/osm-gps-map/README b/gis/osm-gps-map/README
index 497ece375d..1604ee71b0 100644
--- a/gis/osm-gps-map/README
+++ b/gis/osm-gps-map/README
@@ -1,7 +1,7 @@
osm-gps-map is a Gtk mapping widget (with Python bindings) that, given
-GPS co-ordinates, draws a GPS track and points of interest on a moving map
-display.
+GPS co-ordinates, draws a GPS track and points of interest on a moving
+map display.
osm-gps-map downloads map data from a number of websites, including
-openstreetmap.org, openaerialmap.org and others, and can be used to build
-desktop mapping or geolocation applications.
+openstreetmap.org, openaerialmap.org and others, and can be used to
+build desktop mapping or geolocation applications.
diff --git a/gis/osm-gps-map/osm-gps-map.SlackBuild b/gis/osm-gps-map/osm-gps-map.SlackBuild
index 675f24f1a7..f72ec86c92 100644
--- a/gis/osm-gps-map/osm-gps-map.SlackBuild
+++ b/gis/osm-gps-map/osm-gps-map.SlackBuild
@@ -26,13 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=osm-gps-map
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -104,6 +104,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING NEWS README $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/osm2pgrouting/osm2pgrouting.SlackBuild b/gis/osm2pgrouting/osm2pgrouting.SlackBuild
index adf5718988..82333f1f8c 100644
--- a/gis/osm2pgrouting/osm2pgrouting.SlackBuild
+++ b/gis/osm2pgrouting/osm2pgrouting.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=osm2pgrouting
-VERSION=${VERSION:-2.3.7}
+VERSION=${VERSION:-2.3.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/osm2pgrouting/osm2pgrouting.info b/gis/osm2pgrouting/osm2pgrouting.info
index 050108d4da..bdf2423bef 100644
--- a/gis/osm2pgrouting/osm2pgrouting.info
+++ b/gis/osm2pgrouting/osm2pgrouting.info
@@ -1,8 +1,8 @@
PRGNAM="osm2pgrouting"
-VERSION="2.3.7"
+VERSION="2.3.8"
HOMEPAGE="https://pgrouting.org"
-DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.3.7/osm2pgrouting-2.3.7.tar.gz"
-MD5SUM="3e4747bbfcec76785fc171b4c8dc73d1"
+DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.3.8/osm2pgrouting-2.3.8.tar.gz"
+MD5SUM="4272cd8ef956765a6ca574cae122ea4b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libpqxx pgrouting"
diff --git a/gis/ossim/README b/gis/ossim/README
index f46c66389e..0be9350d24 100644
--- a/gis/ossim/README
+++ b/gis/ossim/README
@@ -1,6 +1,6 @@
-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.
+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/pdal/README b/gis/pdal/README
index 7f086c1e22..e0451f2b20 100644
--- a/gis/pdal/README
+++ b/gis/pdal/README
@@ -1,9 +1,10 @@
-PDAL is a BSD licensed library for translating and manipulating point cloud
-data of various formats. It is a library that is analogous to the GDAL raster
-library. PDAL is focussed on reading, writing, and translating point cloud data
-from the ever-growing constellation of data formats that are being developed
-for working with multi-dimensional emitted-pulse scanning systems. While PDAL
-is not explicitly limited to working with LiDAR data formats, its initial
+PDAL is a BSD licensed library for translating and manipulating
+point cloud data of various formats. It is a library that is
+analogous to the GDAL raster library. PDAL is focussed on reading,
+writing, and translating point cloud data from the ever-growing
+constellation of data formats that are being developed for working
+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.
diff --git a/gis/pgrouting/README b/gis/pgrouting/README
index 2c23f7965b..8fa6d63917 100644
--- a/gis/pgrouting/README
+++ b/gis/pgrouting/README
@@ -1,5 +1,5 @@
-pgRouting extends the PostGIS / PostgreSQL geospatial database to provide
-geospatial routing functionality.
+pgRouting extends the PostGIS / PostgreSQL geospatial database to
+provide geospatial routing functionality.
The following algorithms are compiled:
* All Pairs Shortest Path, Johnson's Algorithm
diff --git a/gis/pgsql-ogr-fdw/README b/gis/pgsql-ogr-fdw/README
index cf5eb43796..7230b2ae9b 100644
--- a/gis/pgsql-ogr-fdw/README
+++ b/gis/pgsql-ogr-fdw/README
@@ -1,2 +1,2 @@
-pgsql-ogr-fdw is a foreign data wrapper for OGR that allows arbitrary OGR
-vector data stores to be accessed as PostgreSQL tables.
+pgsql-ogr-fdw is a foreign data wrapper for OGR that allows arbitrary
+OGR vector data stores to be accessed as PostgreSQL tables.
diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
index 303c30b121..9ea5f30b04 100644
--- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
+++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pgsql-ogr-fdw
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info
index 4e350c79de..d510b6662b 100644
--- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info
+++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info
@@ -1,8 +1,8 @@
PRGNAM="pgsql-ogr-fdw"
-VERSION="1.1.0"
+VERSION="1.1.1"
HOMEPAGE="https://github.com/pramsey/pgsql-ogr-fdw"
-DOWNLOAD="https://github.com/pramsey/pgsql-ogr-fdw/archive/v1.1.0/pgsql-ogr-fdw-1.1.0.tar.gz"
-MD5SUM="1a14ab7f6238e790ca139254f47e579b"
+DOWNLOAD="https://github.com/pramsey/pgsql-ogr-fdw/archive/v1.1.1/pgsql-ogr-fdw-1.1.1.tar.gz"
+MD5SUM="6bf61db1b4f3a5e33c98cc6618c20bd6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgis"
diff --git a/gis/pktools/README b/gis/pktools/README
index f95ccab2a8..ed86d16551 100644
--- a/gis/pktools/README
+++ b/gis/pktools/README
@@ -1,6 +1,6 @@
-pktools is a suite of utilities written in C++ for image processing with a
-focus on remote sensing applications. It relies on the Geospatial Data
-Abstraction Library and OGR.
+pktools is a suite of utilities written in C++ for image processing
+with a focus on remote sensing applications. It relies on the
+Geospatial Data Abstraction Library and OGR.
If the fann SlackBuild is installed, support can be added by passing
FANN=ON.
diff --git a/gis/pointcloud/README b/gis/pointcloud/README
index eef3cbf2a2..4790cf0e7a 100644
--- a/gis/pointcloud/README
+++ b/gis/pointcloud/README
@@ -1,6 +1,6 @@
-The PostgreSQL Pointcloud extension allows LiDAR point cloud data to be stored
-in the database.
+The PostgreSQL Pointcloud extension allows LiDAR point cloud data to
+be stored in the database.
The SlackBuild will install two PostgreSQL extensions: pointcloud and
-pointcloud_postgis. To use the pointcloud_postgis extension, postgis must be
-installed.
+pointcloud_postgis. To use the pointcloud_postgis extension, postgis
+must be installed.
diff --git a/gis/polyline/README b/gis/polyline/README
index ec484299f6..f8e3d139e4 100644
--- a/gis/polyline/README
+++ b/gis/polyline/README
@@ -1,2 +1,2 @@
-polyline is a Python implementation of Google's Encoded Polyline Algorithm
-Format built with Python 2 and 3 support in mind.
+polyline is a Python implementation of Google's Encoded Polyline
+Algorithm Format built with Python 2 and 3 support in mind.
diff --git a/gis/postgis/README b/gis/postgis/README
index abb1a3aed1..a493cb969d 100644
--- a/gis/postgis/README
+++ b/gis/postgis/README
@@ -1,7 +1,7 @@
-PostGIS adds support for geographic objects to the PostgreSQL object-relational
-database. In effect, PostGIS "spatially enables" the PostgreSQL server,
-allowing it to be used as a backend spatial database for geographic information
-systems (GIS).
+PostGIS adds support for geographic objects to the PostgreSQL
+object-relational database. In effect, PostGIS "spatially enables"
+the PostgreSQL server, allowing it to be used as a backend spatial
+database for geographic information systems (GIS).
SFCGAL is an optional dependency for advanced 3D support.
diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild
index 14284921f9..a56e074bda 100644
--- a/gis/postgis/postgis.SlackBuild
+++ b/gis/postgis/postgis.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=postgis
-VERSION=${VERSION:-3.1.2}
+VERSION=${VERSION:-3.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/postgis/postgis.info b/gis/postgis/postgis.info
index 7705324b72..2e22df28f2 100644
--- a/gis/postgis/postgis.info
+++ b/gis/postgis/postgis.info
@@ -1,8 +1,8 @@
PRGNAM="postgis"
-VERSION="3.1.2"
+VERSION="3.1.4"
HOMEPAGE="http://postgis.org"
-DOWNLOAD="http://download.osgeo.org/postgis/source/postgis-3.1.2.tar.gz"
-MD5SUM="7480799e603e587990cd686122cbe356"
+DOWNLOAD="https://download.osgeo.org/postgis/source/postgis-3.1.4.tar.gz"
+MD5SUM="179954c38aac48efd606bcacbf3ca970"
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 b394dff04e..7ecee5cd8c 100644
--- a/gis/proj-data/proj-data.SlackBuild
+++ b/gis/proj-data/proj-data.SlackBuild
@@ -2,6 +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>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -23,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=proj-data
-VERSION=${VERSION:-1.5}
+VERSION=${VERSION:-1.12}
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 670790a910..aac51c169b 100644
--- a/gis/proj-data/proj-data.info
+++ b/gis/proj-data/proj-data.info
@@ -1,10 +1,10 @@
PRGNAM="proj-data"
-VERSION="1.5"
+VERSION="1.12"
HOMEPAGE="https://www.osgeo.org/projects/proj/"
-DOWNLOAD="https://github.com/OSGeo/PROJ-data/releases/download/1.5.0/proj-data-1.5.tar.gz"
-MD5SUM="1845455f8e416f532edb98462ef84ac8"
+DOWNLOAD="https://github.com/OSGeo/PROJ-data/releases/download/1.12.0/proj-data-1.12.tar.gz"
+MD5SUM="127af91b4daeb55bb5d5a4da93e55455"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="proj"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/proj/README b/gis/proj/README
index 409d0f07da..7ea5f0548d 100644
--- a/gis/proj/README
+++ b/gis/proj/README
@@ -1,7 +1,10 @@
-PROJ is a generic coordinate transformation software, that transforms
+proj is a generic coordinate transformation software, that transforms
coordinates from one coordinate reference system (CRS) to another. This
includes cartographic projections as well as geodetic transformations.
-For datum grids, install the proj-data package. Without this package, proj can
-fetch required grids from the internet as needed.
+For datum grids, install the proj-data package. Without this package,
+proj can fetch required grids from the internet as needed.
+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.
diff --git a/gis/proj/proj.SlackBuild b/gis/proj/proj.SlackBuild
index 47f3cf7cf1..b79e6ca81a 100644
--- a/gis/proj/proj.SlackBuild
+++ b/gis/proj/proj.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/bash
# Slackware build script for proj
-# Written by Kyle Guinn <elyk03@gmail.com>
+# 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>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -24,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=proj
-VERSION=${VERSION:-7.2.1}
+VERSION=${VERSION:-9.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -65,6 +66,11 @@ fi
set -e
+TESTBUILDFLAGS=''
+if [[ ${TESTBUILD:='NO'} == 'NO' ]]; then
+ TESTBUILDFLAGS='-DBUILD_TESTING=OFF'
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -73,34 +79,36 @@ 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 \
+ \( -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 \
+ \( -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 \
- --infodir=/usr/info \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
+mkdir -p build
+( cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=man \
+ -DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
+ -DCMAKE_BUILD_TYPE=Release \
+ $TESTBUILDFLAGS \
+ ..
+ make
+ [[ $TESTBUILD == "YES" ]] && make test
+ make install/strip DESTDIR=$PKG
+)
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
+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 COPYING ChangeLog INSTALL NEWS README \
+ AUTHORS CITATION COPYING ChangeLog NEWS README README.md\
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/proj/proj.info b/gis/proj/proj.info
index 56164b690f..643df62e4c 100644
--- a/gis/proj/proj.info
+++ b/gis/proj/proj.info
@@ -1,10 +1,10 @@
PRGNAM="proj"
-VERSION="7.2.1"
+VERSION="9.1.1"
HOMEPAGE="https://www.osgeo.org/projects/proj/"
-DOWNLOAD="http://download.osgeo.org/proj/proj-7.2.1.tar.gz"
-MD5SUM="befbafd25e65ddf0c26a8321d8bcdcd2"
+DOWNLOAD="https://github.com/OSGeo/PROJ/releases/download/9.1.1/proj-9.1.1.tar.gz"
+MD5SUM="c8a64896d2b697b46e19d1462a5c2fe0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/pyproj/README b/gis/pyproj/README
deleted file mode 100644
index b86dd367a6..0000000000
--- a/gis/pyproj/README
+++ /dev/null
@@ -1,16 +0,0 @@
-Performs cartographic transformations and geodetic computations.
-
-The Proj class can convert from geographic (longitude,latitude) to native map
-projection (x,y) coordinates and vice versa, or from one map projection
-coordinate system directly to another.
-
-The Geod class can perform forward and inverse geodetic, or Great Circle,
-computations. The forward computation involves determining latitude, longitude
-and back azimuth of a terminus point given the latitude and longitude of an
-initial point, plus azimuth and distance. The inverse computation involves
-determining the forward and back azimuths and distance given the latitudes and
-longitudes of an initial and terminus point.
-
-Input coordinates can be given as python arrays, lists/tuples, scalars or
-numpy/Numeric/numarray arrays. Optimized for objects that support the Python
-buffer protocol (regular python and numpy array objects).
diff --git a/gis/pyproj/pyproj.info b/gis/pyproj/pyproj.info
deleted file mode 100644
index f5725354e4..0000000000
--- a/gis/pyproj/pyproj.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pyproj"
-VERSION="3.0.1"
-HOMEPAGE="https://github.com/pyproj4/pyproj"
-DOWNLOAD="https://github.com/pyproj4/pyproj/archive/3.0.1/pyproj-3.0.1.tar.gz"
-MD5SUM="208a109f4b68a82104a52ad3db953a3d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="proj"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/pyshp/README b/gis/pyshp/README
deleted file mode 100644
index 47bdcfc2cc..0000000000
--- a/gis/pyshp/README
+++ /dev/null
@@ -1,4 +0,0 @@
-The pyshp library reads and writes ESRI Shapefiles in pure Python. You can read
-and write shp, shx, and dbf files with all types of geometry. Everything in the
-public ESRI shapefile specification is implemented. This library is compatible
-with Python versions 2.4 to 3.x.
diff --git a/gis/pyshp/pyshp.info b/gis/pyshp/pyshp.info
deleted file mode 100644
index 36821fc97a..0000000000
--- a/gis/pyshp/pyshp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pyshp"
-VERSION="2.1.3"
-HOMEPAGE="https://github.com/GeospatialPython/pyshp"
-DOWNLOAD="https://github.com/GeospatialPython/pyshp/archive/2.1.3/pyshp-2.1.3.tar.gz"
-MD5SUM="5a541b6fd09a825d1025c5563e769823"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/pyshp/slack-desc b/gis/pyshp/slack-desc
deleted file mode 100644
index a3ac9c6b9e..0000000000
--- a/gis/pyshp/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-pyshp: pyshp (Python shapefile manipulation library)
-pyshp:
-pyshp: This library reads and writes ESRI Shapefiles in pure Python. You can
-pyshp: read and write shp, shx, and dbf files with all types of geometry.
-pyshp: Everything in the public ESRI shapefile specification is implemented.
-pyshp: This library is compatible with Python versions 2.4 to 3.x.
-pyshp:
-pyshp:
-pyshp:
-pyshp:
-pyshp:
diff --git a/gis/python-mapnik/python-mapnik.SlackBuild b/gis/python-mapnik/python-mapnik.SlackBuild
index 772cb0f010..2110a030cf 100644
--- a/gis/python-mapnik/python-mapnik.SlackBuild
+++ b/gis/python-mapnik/python-mapnik.SlackBuild
@@ -21,10 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220312 bkw: Modified by SlackBuilds.org: VERSION must be constant,
+# and match VERSION in the .info file.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-mapnik
-VERSION=${VERSION:-3.0.16}
+GITREV=${GITREV:-7da019cf9eb12af8f8aa88b7d75789dfcd1e901b}
+VERSION=${VERSION:-git7da019c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -37,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
@@ -68,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$GITREV
+tar xvf $CWD/$PRGNAM-$GITREV.tar.gz
+cd $PRGNAM-$GITREV
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,8 +79,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 {} \;
-python2 setup.py install --root=$PKG
-#python3 setup.py install --root=$PKG # only works on -current, where boost has libboost_python3x.so
+BOOST_PYTHON_LIB="boost_python$(python -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')"
+export BOOST_PYTHON_LIB
+export BOOST_THREAD_LIB="boost_thread"
+export BOOST_SYSTEM_LIB="boost_system"
+python setup.py install --root=$PKG
+
+BOOST_PYTHON_LIB="boost_python$(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')"
+export BOOST_PYTHON_LIB
+python3 setup.py install --root=$PKG
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/python-mapnik/python-mapnik.info b/gis/python-mapnik/python-mapnik.info
index 17dffb195e..24c2ce6bae 100644
--- a/gis/python-mapnik/python-mapnik.info
+++ b/gis/python-mapnik/python-mapnik.info
@@ -1,8 +1,8 @@
PRGNAM="python-mapnik"
-VERSION="3.0.16"
+VERSION="git7da019c"
HOMEPAGE="https://mapnik.org"
-DOWNLOAD="https://github.com/mapnik/python-mapnik/archive/v3.0.16/python-mapnik-3.0.16.tar.gz"
-MD5SUM="1a23274f810812791af163d3806792a2"
+DOWNLOAD="https://github.com/mapnik/python-mapnik/archive/7da019cf9eb12af8f8aa88b7d75789dfcd1e901b/python-mapnik-7da019cf9eb12af8f8aa88b7d75789dfcd1e901b.tar.gz"
+MD5SUM="88fa158fec168c4a54f5b1010849af85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mapnik"
diff --git a/gis/python-pygeos/README b/gis/python-pygeos/README
index b53462215d..72b58085fc 100644
--- a/gis/python-pygeos/README
+++ b/gis/python-pygeos/README
@@ -1,4 +1,4 @@
-PyGEOS is a C/Python library with vectorized geometry functions. The geometry
-operations are done in the open-source geometry library GEOS. PyGEOS wraps
-these operations in NumPy ufuncs providing a performance improvement when
-operating on arrays of geometries.
+PyGEOS is a C/Python library with vectorized geometry functions. The
+geometry operations are done in the open-source geometry library
+GEOS. PyGEOS wraps these operations in NumPy ufuncs providing a
+performance improvement when operating on arrays of geometries.
diff --git a/gis/python-pygeos/python-pygeos.SlackBuild b/gis/python-pygeos/python-pygeos.SlackBuild
index 39ef7271d7..03323d75e4 100644
--- a/gis/python-pygeos/python-pygeos.SlackBuild
+++ b/gis/python-pygeos/python-pygeos.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for python-pygeos
# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2021-2023 Gregory J. L. Tourte <artourter@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=python-pygeos
-VERSION=${VERSION:-0.9}
+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 661c5c2f54..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.9"
+VERSION="0.14"
HOMEPAGE="https://pygeos.readthedocs.io"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pygeos/pygeos-0.9.tar.gz"
-MD5SUM="e3d4e04cba540ceba80ce376f1f20192"
+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"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+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 24558ad5b0..ffbb342375 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.2.2}
+VERSION=${VERSION:-1.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-${VERSION}rel
-tar xvf $CWD/$SRCNAM-${VERSION}rel.tar.gz
-cd $SRCNAM-${VERSION}rel
+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 \
@@ -80,16 +80,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 {} \;
+cd packages/${SRCNAM}
# regenerate cythonized sources
# thanks arch linux maintainers
cythonize --force src/_geoslib.pyx
python3 setup.py install --root=$PKG
+cd ${TMP}/${SRCNAM}-${VERSION}
+
+cd packages/${SRCNAM}_data
+python3 setup.py install --root=$PKG
+cd ${TMP}/${SRCNAM}-${VERSION}
+
+cd packages/${SRCNAM}_data_hires
+python3 setup.py install --root=$PKG
+cd ${TMP}/${SRCNAM}-${VERSION}
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 LICENSE* README.md Changelog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md CHANGELOG.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/python3-basemap/python3-basemap.info b/gis/python3-basemap/python3-basemap.info
index 7b04c1ccc6..58f460e288 100644
--- a/gis/python3-basemap/python3-basemap.info
+++ b/gis/python3-basemap/python3-basemap.info
@@ -1,10 +1,10 @@
PRGNAM="python3-basemap"
-VERSION="1.2.2"
+VERSION="1.3.6"
HOMEPAGE="https://github.com/matplotlib/basemap"
-DOWNLOAD="https://github.com/matplotlib/basemap/archive/v1.2.2rel/basemap-1.2.2rel.tar.gz"
-MD5SUM="fe3e9c8ccecb1630a7f44728f48219bc"
+DOWNLOAD="https://github.com/matplotlib/basemap/archive/v1.3.6/basemap-1.3.6.tar.gz"
+MD5SUM="11f2d8f17eab33930a993a6e6efb7d7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geos pyproj pyshp python3-matplotlib"
+REQUIRES="geos python3-pyproj python3-pyshp python3-matplotlib"
MAINTAINER="Cristiano Urban"
EMAIL="cristiano.urban.slack@gmail.com"
diff --git a/gis/cartopy/README b/gis/python3-cartopy/README
index 3e1086f905..584d84e8e6 100644
--- a/gis/cartopy/README
+++ b/gis/python3-cartopy/README
@@ -1,11 +1,11 @@
-Cartopy is a Python package designed to make drawing maps for data analysis an
-visualisation as easy as possible.
+Cartopy is a Python package designed to make drawing maps for data
+analysis an visualisation as easy as possible.
Some of the key features of cartopy are:
* object oriented projection definitions
* point, line, polygon and image transformations between projections
-* integration to expose advanced mapping in matplotlib with a simple and
- intuitive interface
-* powerful vector data handling by integrating shapefile reading with Shapely
- capabilities
+* integration to expose advanced mapping in matplotlib with a simple
+ and intuitive interface
+* powerful vector data handling by integrating shapefile reading with
+ shapely capabilities
diff --git a/gis/cartopy/cartopy.SlackBuild b/gis/python3-cartopy/python3-cartopy.SlackBuild
index bdbce56dcf..af6c9cb95c 100644
--- a/gis/cartopy/cartopy.SlackBuild
+++ b/gis/python3-cartopy/python3-cartopy.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/bash
-# Slackware build script for cartopy
+# 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>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=cartopy
-SRCNAM=Cartopy
-VERSION=${VERSION:-0.19.0.post1}
-BUILD=${BUILD:-3}
+PRGNAM=python3-cartopy
+VERSION=${VERSION:-0.21.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=Cartopy
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
diff --git a/gis/python3-cartopy/python3-cartopy.info b/gis/python3-cartopy/python3-cartopy.info
new file mode 100644
index 0000000000..7d9796d37e
--- /dev/null
+++ b/gis/python3-cartopy/python3-cartopy.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-cartopy"
+VERSION="0.21.1"
+HOMEPAGE="https://scitools.org.uk/cartopy/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/C/Cartopy/Cartopy-0.21.1.tar.gz"
+MD5SUM="efd693d5367c62d10e25dc9a0392d1cb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gdal python3-matplotlib python3-pyproj python3-pyshp python3-scipy python3-shapely"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/python3-cartopy/slack-desc b/gis/python3-cartopy/slack-desc
new file mode 100644
index 0000000000..467935f9bc
--- /dev/null
+++ b/gis/python3-cartopy/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-cartopy: python3-cartopy (cartographic tools for Python)
+python3-cartopy:
+python3-cartopy: Cartopy is a Python package designed to make drawing maps for data
+python3-cartopy: analysis and visualisation as easy as possible.
+python3-cartopy:
+python3-cartopy:
+python3-cartopy:
+python3-cartopy:
+python3-cartopy:
+python3-cartopy:
+python3-cartopy:
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/CreateCloudMap/CreateCloudMap.SlackBuild b/gis/python3-cftime/python3-cftime.SlackBuild
index 9562f37cce..e687370df5 100644
--- a/gis/CreateCloudMap/CreateCloudMap.SlackBuild
+++ b/gis/python3-cftime/python3-cftime.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-# Slackware build script for CreateCloudMap
+# Slackware build script for python3-cftime
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022 - Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +24,15 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=CreateCloudMap
-VERSION=${VERSION:-0.9.13}
+PRGNAM=python3-cftime
+VERSION=${VERSION:-1.6.2}
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 ;;
@@ -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,28 +69,29 @@ 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
+rm -rf $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ \( -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 \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
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 LICENSE PKG-INFO README.rst $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
-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/python3-cftime/python3-cftime.info b/gis/python3-cftime/python3-cftime.info
new file mode 100644
index 0000000000..e34a4c6e82
--- /dev/null
+++ b/gis/python3-cftime/python3-cftime.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-cftime"
+VERSION="1.6.2"
+HOMEPAGE="https://unidata.github.io/cftime/"
+DOWNLOAD="https://github.com/Unidata/cftime/archive/v1.6.2rel/cftime-1.6.2rel.tar.gz"
+MD5SUM="721fb4a113aabbac3d40d5cd30e3db90"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-numpy"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/spatialite_gui/slack-desc b/gis/python3-cftime/slack-desc
index 5c1f13c491..993e08f765 100644
--- a/gis/spatialite_gui/slack-desc
+++ b/gis/python3-cftime/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-spatialite_gui: spatialite_gui (GUI for SpatiaLite)
-spatialite_gui:
-spatialite_gui: spatialite-gui is an open source Graphical User Interface (GUI) tool
-spatialite_gui: supporting SpatiaLite
-spatialite_gui:
-spatialite_gui: Project home: https://www.gaia-gis.it/fossil/libgaiagraphics/index
-spatialite_gui:
-spatialite_gui:
-spatialite_gui:
-spatialite_gui:
-spatialite_gui:
+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..908be04c4e
--- /dev/null
+++ b/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for python3-netcdf4-python
+
+# Copyright 2022 - 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.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=netcdf4-python
+SRCVER=${VERSION}
+
+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 $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
+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 {} \;
+
+python3 setup.py install --root=$PKG
+
+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..199da885b7
--- /dev/null
+++ b/gis/python3-netcdf4-python/python3-netcdf4-python.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-netcdf4-python"
+VERSION="1.6.2"
+HOMEPAGE="http://unidata.github.io/netcdf4-python/"
+DOWNLOAD="https://github.com/Unidata/netcdf4-python/archive/v1.6.2/netcdf4-python-1.6.2.tar.gz"
+MD5SUM="8a1dd0489bc56a982014b0dc86d1f3c2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="netcdf python3-cftime"
+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/README b/gis/python3-pyproj/README
new file mode 100644
index 0000000000..e9c818dd27
--- /dev/null
+++ b/gis/python3-pyproj/README
@@ -0,0 +1,17 @@
+Performs cartographic transformations and geodetic computations.
+
+The Proj class can convert from geographic (longitude,latitude) to
+native map projection (x,y) coordinates and vice versa, or from one
+map projection coordinate system directly to another.
+
+The Geod class can perform forward and inverse geodetic, or Great
+Circle, computations. The forward computation involves determining
+latitude, longitude and back azimuth of a terminus point given
+the latitude and longitude of an initial point, plus azimuth and
+distance. The inverse computation involves determining the forward and
+back azimuths and distance given the latitudes and longitudes of an
+initial and terminus point.
+
+Input coordinates can be given as python arrays, lists/tuples, scalars
+or numpy/Numeric/numarray arrays. Optimized for objects that support
+the Python buffer protocol (regular python and numpy array objects).
diff --git a/gis/pyproj/pyproj.SlackBuild b/gis/python3-pyproj/python3-pyproj.SlackBuild
index 22951a5392..fc484d2241 100644
--- a/gis/pyproj/pyproj.SlackBuild
+++ b/gis/python3-pyproj/python3-pyproj.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for pyproj
# Copyright 2013-2021 Benjamin Trigona-Harany
+# Copyright 2021-2023 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=pyproj
-VERSION=${VERSION:-3.0.1}
+PRGNAM=python3-pyproj
+VERSION=${VERSION:-3.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=pyproj
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -69,9 +72,9 @@ 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}
+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 \
diff --git a/gis/python3-pyproj/python3-pyproj.info b/gis/python3-pyproj/python3-pyproj.info
new file mode 100644
index 0000000000..6a8a395e15
--- /dev/null
+++ b/gis/python3-pyproj/python3-pyproj.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-pyproj"
+VERSION="3.4.1"
+HOMEPAGE="https://github.com/pyproj4/pyproj"
+DOWNLOAD="https://github.com/pyproj4/pyproj/archive/3.4.1/pyproj-3.4.1.tar.gz"
+MD5SUM="ab20cb8875bc0329c6a3263e16918591"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="proj"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/python3-pyproj/slack-desc b/gis/python3-pyproj/slack-desc
new file mode 100644
index 0000000000..c0e5d2594e
--- /dev/null
+++ b/gis/python3-pyproj/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-pyproj: python3-pyproj (Python interface to the PROJ.4 library)
+python3-pyproj:
+python3-pyproj: pyproj can convert from geographic (longitude,latitude) to native
+python3-pyproj: map projection (x,y) coordinates and vice versa, or from one map
+python3-pyproj: projection coordinate system directly to another.
+python3-pyproj:
+python3-pyproj: Homepage: http://code.google.com/p/pyproj/
+python3-pyproj:
+python3-pyproj:
+python3-pyproj:
+python3-pyproj:
diff --git a/gis/python3-pyshp/README b/gis/python3-pyshp/README
new file mode 100644
index 0000000000..84ca915686
--- /dev/null
+++ b/gis/python3-pyshp/README
@@ -0,0 +1,18 @@
+The Python Shapefile Library (PyShp) provides read and write support for
+the Esri Shapefile format. The Shapefile format is a popular Geographic
+Information System vector data format created by Esri. For more
+information about this format please read the well-written "ESRI
+Shapefile Technical Description - July 1998" located at
+http://www.esri.com/library/whitepapers/p dfs/shapefile.pdf . The Esri
+document describes the shp and shx file formats. However a third file
+format called dbf is also required. This format is documented on the web
+as the "XBase File Format Description" and is a simple file-based
+database format created in the 1960's.
+
+Both the Esri and XBase file-formats are very simple in design and
+memory efficient which is part of the reason the shapefile format
+remains popular despite the numerous ways to store and exchange GIS data
+available today.
+
+Pyshp is compatible with Python 2.7-3.x, however this script only build
+the python3 version.
diff --git a/gis/pyshp/pyshp.SlackBuild b/gis/python3-pyshp/python3-pyshp.SlackBuild
index 1233e573ec..5878759999 100644
--- a/gis/pyshp/pyshp.SlackBuild
+++ b/gis/python3-pyshp/python3-pyshp.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for pyshp
# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=pyshp
-VERSION=${VERSION:-2.1.3}
+PRGNAM=python3-pyshp
+VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=pyshp
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -69,9 +72,9 @@ 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
+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 \
diff --git a/gis/python3-pyshp/python3-pyshp.info b/gis/python3-pyshp/python3-pyshp.info
new file mode 100644
index 0000000000..d97d86d34b
--- /dev/null
+++ b/gis/python3-pyshp/python3-pyshp.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-pyshp"
+VERSION="2.3.1"
+HOMEPAGE="https://github.com/GeospatialPython/pyshp"
+DOWNLOAD="https://github.com/GeospatialPython/pyshp/archive/2.3.1/pyshp-2.3.1.tar.gz"
+MD5SUM="975ccc60d663b3e6f55b583acf18f05a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/python3-pyshp/slack-desc b/gis/python3-pyshp/slack-desc
new file mode 100644
index 0000000000..20a9fad16d
--- /dev/null
+++ b/gis/python3-pyshp/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-pyshp: python3-pyshp (Python shapefile manipulation library)
+python3-pyshp:
+python3-pyshp: This library reads and writes Esri Shapefiles in pure Python. You can
+python3-pyshp: read and write shp, shx, and dbf files with all types of geometry.
+python3-pyshp: Everything in the public Esri shapefile specification is implemented.
+python3-pyshp:
+python3-pyshp: This library is compatible with Python versions 2.7 to 3.x, but this
+python3-pyshp: package only contains the python3 version.
+python3-pyshp:
+python3-pyshp:
+python3-pyshp:
diff --git a/gis/Shapely/README b/gis/python3-shapely/README
index 99de18871f..99de18871f 100644
--- a/gis/Shapely/README
+++ b/gis/python3-shapely/README
diff --git a/gis/Shapely/Shapely.SlackBuild b/gis/python3-shapely/python3-shapely.SlackBuild
index d830ab2bc4..b86efae4b6 100644
--- a/gis/Shapely/Shapely.SlackBuild
+++ b/gis/python3-shapely/python3-shapely.SlackBuild
@@ -3,6 +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>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=Shapely
-VERSION=${VERSION:-1.7.1}
-BUILD=${BUILD:-3}
+PRGNAM=python3-shapely
+VERSION=${VERSION:-1.8.5.post1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=shapely
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -69,18 +72,18 @@ 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
+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 \
+ \( -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 \
+ \( -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 "s/data_files\s*=.*/data_files = [],/g" setup.py
+sed -i '/include_package_data=/s/True/False/' setup.py
python3 setup.py install --root=$PKG
diff --git a/gis/python3-shapely/python3-shapely.info b/gis/python3-shapely/python3-shapely.info
new file mode 100644
index 0000000000..a5d84a0da2
--- /dev/null
+++ b/gis/python3-shapely/python3-shapely.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-shapely"
+VERSION="1.8.5.post1"
+HOMEPAGE="https://github.com/shapely/shapely"
+DOWNLOAD="https://github.com/shapely/shapely/archive/1.8.5.post1/shapely-1.8.5.post1.tar.gz"
+MD5SUM="fb5f713780c4798efa34caaa6939a55d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="geos"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/python3-shapely/slack-desc b/gis/python3-shapely/slack-desc
new file mode 100644
index 0000000000..779402b414
--- /dev/null
+++ b/gis/python3-shapely/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-shapely: python3-shapely (geometric objects, predicates, and operations)
+python3-shapely:
+python3-shapely: Shapely is a BSD-licensed Python package for manipulation and analysis
+python3-shapely: of planar geometric objects. It is based on the widely deployed GEOS
+python3-shapely: (the engine of PostGIS) and JTS (from which GEOS is ported) libraries.
+python3-shapely: Shapely is not concerned with data formats or coordinate systems, but
+python3-shapely: can be readily integrated with packages that are.
+python3-shapely:
+python3-shapely: Homepage: https://github.com/shapely/shapely
+python3-shapely:
+python3-shapely:
diff --git a/gis/python3-xarray/README b/gis/python3-xarray/README
new file mode 100644
index 0000000000..3984ba192b
--- /dev/null
+++ b/gis/python3-xarray/README
@@ -0,0 +1,10 @@
+xarray is an open source project and Python package that aims to
+bring the labeled data power of pandas to the physical sciences, by
+providing N-dimensional variants of the core pandas data structures.
+
+The goal is to provide a pandas-like and pandas-compatible toolkit for
+analytics on multi-dimensional arrays, rather than the tabular data
+for which pandas excels. Our approach adopts the Common Data Model
+for self- describing scientific data in widespread use in the Earth
+sciences: xarray.Dataset is an in-memory representation of a netCDF
+file.
diff --git a/gis/python3-xarray/python3-xarray.SlackBuild b/gis/python3-xarray/python3-xarray.SlackBuild
new file mode 100644
index 0000000000..4f65a78502
--- /dev/null
+++ b/gis/python3-xarray/python3-xarray.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for python3-xarray
+
+# Copyright 2018-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022 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-xarray
+VERSION=${VERSION:-2022.12.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=xarray
+
+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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+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 {} \;
+
+python3 setup.py install --root=$PKG
+
+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 \
+ CITATION.cff CODE_OF_CONDUCT.md CONTRIBUTING.md HOW_TO_RELEASE.md 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-xarray/python3-xarray.info b/gis/python3-xarray/python3-xarray.info
new file mode 100644
index 0000000000..c676c18807
--- /dev/null
+++ b/gis/python3-xarray/python3-xarray.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-xarray"
+VERSION="2022.12.0"
+HOMEPAGE="http://xarray.pydata.org"
+DOWNLOAD="https://github.com/pydata/xarray/archive/v2022.12.0/xarray-2022.12.0.tar.gz"
+MD5SUM="ab531cdcd49a6460bbb5915556d96a57"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-pandas"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/gis/CreateCloudMap/slack-desc b/gis/python3-xarray/slack-desc
index 07404c420e..80a5ce8750 100644
--- a/gis/CreateCloudMap/slack-desc
+++ b/gis/python3-xarray/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-CreateCloudMap: CreateCloudMap (cloud map for xplanet)
-CreateCloudMap:
-CreateCloudMap: Python script to create a cloud map for xplanet using satellite
-CreateCloudMap: images from the Dundee Satellite Receiving Station, Dundee
-CreateCloudMap: University, UK.
-CreateCloudMap:
-CreateCloudMap: Homepage: https://github.com/jmozmoz/cloudmap
-CreateCloudMap:
-CreateCloudMap:
-CreateCloudMap:
-CreateCloudMap:
+python3-xarray: python3-xarray (N-D labeled arrays and datasets)
+python3-xarray:
+python3-xarray: xarray is an open source project and Python package that aims to
+python3-xarray: bring the labeled data power of pandas to the physical sciences,
+python3-xarray: by providing N-dimensional variants of the core pandas data
+python3-xarray: structures.
+python3-xarray:
+python3-xarray:
+python3-xarray:
+python3-xarray:
+python3-xarray:
diff --git a/gis/pytrainer/pytrainer.info b/gis/pytrainer/pytrainer.info
index 698fd87dc4..ee9d43845c 100644
--- a/gis/pytrainer/pytrainer.info
+++ b/gis/pytrainer/pytrainer.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/pytrainer/pytrainer/archive/v2.0.2/pytrainer-2.0.2.
MD5SUM="75e07caa70cf0bb609c26894061b77aa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml sqlalchemy-migrate python2-dateutil matplotlib webkit2gtk zenity"
+REQUIRES="lxml sqlalchemy-migrate python2-dateutil python2-matplotlib webkit2gtk zenity"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/gis/qgis/README b/gis/qgis/README
index 4b1fa0e5bc..6bc92be69d 100644
--- a/gis/qgis/README
+++ b/gis/qgis/README
@@ -1,6 +1,6 @@
-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).
+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
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild
index af1e4f06fc..a212f6e66a 100644
--- a/gis/qgis/qgis.SlackBuild
+++ b/gis/qgis/qgis.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qgis
-VERSION=${VERSION:-3.20.0}
+VERSION=${VERSION:-3.24.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/gis/qgis/qgis.info b/gis/qgis/qgis.info
index e47468bd87..e589f378e6 100644
--- a/gis/qgis/qgis.info
+++ b/gis/qgis/qgis.info
@@ -1,10 +1,10 @@
PRGNAM="qgis"
-VERSION="3.20.0"
+VERSION="3.24.3"
HOMEPAGE="https://qgis.org/"
-DOWNLOAD="https://qgis.org/downloads/qgis-3.20.0.tar.bz2"
-MD5SUM="2b3a788c36c5d9072b288a6f565e2c96"
+DOWNLOAD="https://qgis.org/downloads/qgis-3.24.3.tar.bz2"
+MD5SUM="ec21996593f3155565c3eeb60fb52800"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="postgis libspatialite libspatialindex numpy3 qwt protobuf3 python3-PyYAML OWSLib psycopg2 Jinja2"
+REQUIRES="postgis libspatialite libspatialindex python3-numpy qwt protobuf3 OWSLib python3-psycopg2"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/qmapshack/QPainterPath.patch b/gis/qmapshack/QPainterPath.patch
deleted file mode 100644
index 7290f76f09..0000000000
--- a/gis/qmapshack/QPainterPath.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur qmapshack-V_1.15.0/src/qmapshack/helpers/CDraw.h qmapshack-V_1.15.0_X/src/qmapshack/helpers/CDraw.h
---- qmapshack-V_1.15.0/src/qmapshack/helpers/CDraw.h 2020-06-14 12:22:49.000000000 +0200
-+++ qmapshack-V_1.15.0_X/src/qmapshack/helpers/CDraw.h 2020-06-14 20:55:16.675484111 +0200
-@@ -21,6 +21,7 @@
- #define CPAINTER_H
-
- #include <QPainter>
-+#include <QPainterPath>
- #include <QPolygonF>
- #include <QRectF>
-
-diff -Naur qmapshack-V_1.15.0/src/qmaptool/helpers/CDraw.h qmapshack-V_1.15.0_X/src/qmaptool/helpers/CDraw.h
---- qmapshack-V_1.15.0/src/qmaptool/helpers/CDraw.h 2020-06-14 12:22:49.000000000 +0200
-+++ qmapshack-V_1.15.0_X/src/qmaptool/helpers/CDraw.h 2020-06-14 20:54:50.688816110 +0200
-@@ -21,6 +21,7 @@
- #define CPAINTER_H
-
- #include <QPainter>
-+#include <QPainterPath>
- #include <QPolygonF>
- #include <QRectF>
-
diff --git a/gis/qmapshack/proj.patch.gz b/gis/qmapshack/proj.patch.gz
new file mode 100644
index 0000000000..4d67d373fa
--- /dev/null
+++ b/gis/qmapshack/proj.patch.gz
Binary files differ
diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild
index 26d740c4e0..197c0d1b77 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.15.2}
+VERSION=${VERSION:-1.16.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,16 +57,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-V_${VERSION}
-tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
+tar xvf $CWD/${PRGNAM}-V_${VERSION}.tar.gz
cd ${PRGNAM}-V_${VERSION}
-
-# Fix missing header file
-patch -p1 < $CWD/QPainterPath.patch
-
-# Apply patches provided in the source tree
-patch -p1 < FindPROJ4.patch
-patch -p1 < FindQuaZip5.patch
-
+# 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 79b620b0a7..0dfb13a29d 100644
--- a/gis/qmapshack/qmapshack.info
+++ b/gis/qmapshack/qmapshack.info
@@ -1,10 +1,10 @@
PRGNAM="qmapshack"
-VERSION="1.15.2"
+VERSION="1.16.1"
HOMEPAGE="https://github.com/Maproom/qmapshack/wiki"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/Maproom/qmapshack/archive/V_1.15.2/qmapshack-1.15.2.tar.gz"
-MD5SUM_x86_64="5fcf9e5d31fb0abe8d5ce442ba516b30"
+DOWNLOAD_x86_64="https://github.com/Maproom/qmapshack/archive/V_1.16.1/qmapshack-V_1.16.1.tar.gz"
+MD5SUM_x86_64="7520305c2309af093cf873130d599ee9"
REQUIRES="gdal routino"
MAINTAINER="Daniel Stolarski"
EMAIL="daniel.stolarski@gmail.com"
diff --git a/gis/rasterio/README b/gis/rasterio/README
index 87e9c97595..b9559ff4d1 100644
--- a/gis/rasterio/README
+++ b/gis/rasterio/README
@@ -1,9 +1,11 @@
-Fast and direct geospatial raster I/O for Python programmers who use Numpy.
+Fast and direct geospatial raster I/O for Python programmers who use
+Numpy.
-This package is aimed at developers who want little more than to read raster
-images into Numpy arrays or buffers, operate on them in Python (or Cython), and
-write the results out to new GeoTIFF files.
+This package is aimed at developers who want little more than to read
+raster images into Numpy arrays or buffers, operate on them in Python
+(or Cython), and write the results out to new GeoTIFF files.
-Rasterio employs GDAL under the hood for file I/O and raster formatting.
+Rasterio employs GDAL under the hood for file I/O and raster
+formatting.
Optional dependencies: boto3.
diff --git a/gis/rasterio/rasterio.info b/gis/rasterio/rasterio.info
index 081b310262..234c7537cd 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-numpy python3-attrs"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
diff --git a/gis/readosm/readosm.SlackBuild b/gis/readosm/readosm.SlackBuild
index fb907b53a4..f455417a54 100644
--- a/gis/readosm/readosm.SlackBuild
+++ b/gis/readosm/readosm.SlackBuild
@@ -25,13 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=readosm
VERSION=${VERSION:-1.0.0d}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -49,8 +49,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -99,6 +99,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $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/routino/README b/gis/routino/README
index 71eea0b991..7a5bd9378e 100644
--- a/gis/routino/README
+++ b/gis/routino/README
@@ -1,4 +1,5 @@
-Routino is an application for finding a route between two points using the
-dataset of topographical information collected by http://www.OpenStreetMap.org
+Routino is an application for finding a route between two points
+using the dataset of topographical information collected by
+http://www.OpenStreetMap.org
NOTE: only the x86_64 architecture is supported.
diff --git a/gis/saga-gis/README b/gis/saga-gis/README
index 538ed7d625..8b46a6db2e 100644
--- a/gis/saga-gis/README
+++ b/gis/saga-gis/README
@@ -1,17 +1,19 @@
-System for Automated Geoscientific Analyses (SAGA) is a Geographic Information
-System software with immense capabilities for geodata processing and analysis.
+System for Automated Geoscientific Analyses (SAGA) is a Geographic
+System Information software with immense capabilities for geodata
+System 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, R and so on).
+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 dependencies: libharu, liblas, postgresql
+and qhull. SAGA currently does not build when vigra is installed.
-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.
+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.
+If SAGA fails to run after an upgrade, uninstall old versions of SAGA
+before compilation.
diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild
index 247ef9cf7a..e2aeb5136d 100644
--- a/gis/saga-gis/saga-gis.SlackBuild
+++ b/gis/saga-gis/saga-gis.SlackBuild
@@ -22,11 +22,13 @@
# 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:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,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
@@ -78,9 +77,9 @@ 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 \
+ -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 {} \+
if [ "$OPENCV" != "ON" ] ; then
sed -i "s/CVFOUND=1/true/g" configure
@@ -88,6 +87,12 @@ 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 \
@@ -117,6 +122,8 @@ cp -a \
$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/spatialite-tools/0001-fix-autotools.patch.gz b/gis/spatialite-tools/0001-fix-autotools.patch.gz
new file mode 100644
index 0000000000..68d1284410
--- /dev/null
+++ b/gis/spatialite-tools/0001-fix-autotools.patch.gz
Binary files differ
diff --git a/gis/spatialite-tools/README b/gis/spatialite-tools/README
index c64fbee3da..088cb7e79b 100644
--- a/gis/spatialite-tools/README
+++ b/gis/spatialite-tools/README
@@ -8,10 +8,10 @@ spatialite-tools is a collection of open source Command Line Interface
* exif_loader: an import tool for EXIF or EXIF-GPS (JPEG) pictures
* spatialite_osm_raw: a tool importing OSM files (raw format tables,
strictly corresponding to XML input)
- * spatialite_osm_filter: a tool allowing to re-export spatially selected
- OSM files form a raw-format DB
+ * spatialite_osm_filter: a tool allowing to re-export spatially
+ selected OSM files form a raw-format DB
* spatialite_osm_map: a tool importing map layers from an OSM file
* spatialite_osm_net: a tool creating a road network from an OSM file
- * spatialite_network: a tool creating a VirtualNetwork (supporting shortest
- path / routing SQL queries)
+ * spatialite_network: a tool creating a VirtualNetwork (supporting
+ shortest path / routing SQL queries)
* spatialite_gml: a tool importing GML files
diff --git a/gis/spatialite-tools/spatialite-tools.SlackBuild b/gis/spatialite-tools/spatialite-tools.SlackBuild
index 79f94d2c2f..461c1aba75 100644
--- a/gis/spatialite-tools/spatialite-tools.SlackBuild
+++ b/gis/spatialite-tools/spatialite-tools.SlackBuild
@@ -24,14 +24,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=spatialite-tools
-VERSION=${VERSION:-4.2.0}
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -49,8 +49,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,6 +71,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+zcat $CWD/0001-fix-autotools.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,6 +79,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 {} \;
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-ldl" \
diff --git a/gis/spatialite-tools/spatialite-tools.info b/gis/spatialite-tools/spatialite-tools.info
index df2eceed66..2aa5373e0f 100644
--- a/gis/spatialite-tools/spatialite-tools.info
+++ b/gis/spatialite-tools/spatialite-tools.info
@@ -1,8 +1,8 @@
PRGNAM="spatialite-tools"
-VERSION="4.2.0"
+VERSION="4.3.0"
HOMEPAGE="https://www.gaia-gis.it/fossil/spatialite-tools/index"
-DOWNLOAD="http://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-4.2.0.tar.gz"
-MD5SUM="e00aeccec0cc8bf1e6fc725b1eabd2d2"
+DOWNLOAD="http://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-4.3.0.tar.gz"
+MD5SUM="83cb7b1f6c6b20fe5475586f1fb77088"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libspatialite readosm"
diff --git a/gis/spatialite_gui/README b/gis/spatialite_gui/README
deleted file mode 100644
index 811e6c53a1..0000000000
--- a/gis/spatialite_gui/README
+++ /dev/null
@@ -1,2 +0,0 @@
-spatialite-gui is an open source Graphical User Interface (GUI) tool supporting
-SpatiaLite.
diff --git a/gis/spatialite_gui/spatialite_gui.info b/gis/spatialite_gui/spatialite_gui.info
deleted file mode 100644
index 02b1dff5a2..0000000000
--- a/gis/spatialite_gui/spatialite_gui.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="spatialite_gui"
-VERSION="1.7.1"
-HOMEPAGE="https://www.gaia-gis.it/fossil/spatialite_gui/index"
-DOWNLOAD="http://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/spatialite_gui-1.7.1.tar.gz"
-MD5SUM="c917f40810607784528b4db58cd36efb"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libspatialite freexl libgaiagraphics wxPython"
-MAINTAINER="Alexander Bruy"
-EMAIL="alexander.bruy@gmail.com"
diff --git a/gis/survex/README b/gis/survex/README
new file mode 100644
index 0000000000..51461a02e8
--- /dev/null
+++ b/gis/survex/README
@@ -0,0 +1,11 @@
+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
+script the environment variable SAMPLE=no as following:
+
+ 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/doinst.sh b/gis/survex/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/gis/survex/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/pyproj/slack-desc b/gis/survex/slack-desc
index b7fe3654f8..712f6021ec 100644
--- a/gis/pyproj/slack-desc
+++ b/gis/survex/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-pyproj: pyproj (Python interface to the PROJ.4 library)
-pyproj:
-pyproj: pyproj can convert from geographic (longitude,latitude) to native
-pyproj: map projection (x,y) coordinates and vice versa, or from one map
-pyproj: projection coordinate system directly to another.
-pyproj:
-pyproj: Homepage: http://code.google.com/p/pyproj/
-pyproj:
-pyproj:
-pyproj:
-pyproj:
+survex: survex (software package for mapping caves)
+survex:
+survex: Survex is a Free and Open Source software package to assist
+survex: surveying and mapping cave systems.
+survex:
+survex:
+survex:
+survex:
+survex: Home page: https://survex.com
+survex:
+survex:
diff --git a/gis/spatialite_gui/spatialite_gui.SlackBuild b/gis/survex/survex.SlackBuild
index a022b84268..8c9c29f8b7 100644
--- a/gis/spatialite_gui/spatialite_gui.SlackBuild
+++ b/gis/survex/survex.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/bash
-# Slackware build script for spatialite-gui
-# Copyright 2015 Alexander Bruy <alexander.bruy@gmail.com>
+# Slackware build script for surved
+
+# Copyright 2022 Giancarlo Dessì, Cagliari, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,23 +24,20 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=spatialite_gui
-VERSION=${VERSION:-1.7.1}
+PRGNAM=survex
+VERSION=${VERSION:-1.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ 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
@@ -49,8 +47,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,6 +69,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+if [ "${SAMPLE:-yes}" = "yes" ]; then
+ tar xvf $CWD/sample.tar.gz
+fi
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,31 +79,47 @@ 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 {} \;
-sed -i 27i'#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1' Main.cpp
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="-ldl" \
./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 COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+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
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+if [ "${SAMPLE:-yes}" = "yes" ]; then
+ mkdir $PKG/usr/share/survex/sample
+ cp -a loser/* $PKG/usr/share/survex/sample
+fi
+
+mkdir -p $PKG/usr/doc
+cp -a $PKG/usr/share/doc/survex $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
+cp -a AUTHORS COPYING ChangeLog NEWS OLDNEWS README 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
+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/survex/survex.info b/gis/survex/survex.info
new file mode 100644
index 0000000000..56c7891b4a
--- /dev/null
+++ b/gis/survex/survex.info
@@ -0,0 +1,12 @@
+PRGNAM="survex"
+VERSION="1.4.3"
+HOMEPAGE="https://survex.com"
+DOWNLOAD="https://survex.com/software/1.4.3/survex-1.4.3.tar.gz \
+ https://survex.com/software/sample.tar.gz"
+MD5SUM="9e2c2864e45be138c6e1f23416718eac \
+ 75f0d39e52fefb886b39ea664ef76c80"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="proj wxGTK3"
+MAINTAINER="Giancarlo Dessì"
+EMAIL="slack@giand.it"
diff --git a/gis/tangogps/README b/gis/tangogps/README
index a2feaaad64..b44fdedcf8 100644
--- a/gis/tangogps/README
+++ b/gis/tangogps/README
@@ -1,10 +1,10 @@
-tangogps is an easy to use, fast, and lightweight mapping application
-for use with or without GPS. By default, tangoGPS uses map data from
-the Openstreetmap project. Additionally, a variety of other repositories
-can be easily added. The maps are downloaded and cached for offline use
-while you drag or zoom the map. Furthermore, you can conveniently pre-cache
-areas with tangoGPS.
+tangogps is an easy to use, fast, and lightweight mapping application
+for use with or without GPS. By default, tangoGPS uses map data
+from the Openstreetmap project. Additionally, a variety of other
+repositories can be easily added. The maps are downloaded and cached
+for offline use while you drag or zoom the map. Furthermore, you can
+conveniently pre-cache areas with tangoGPS.
-If connected to a GPS, your current position and track are shown on the map,
-and you can log positional data for further processing, e.g. for geocoding
-photos or uploading streets to Openstreetmap.
+If connected to a GPS, your current position and track are shown
+on the map, and you can log positional data for further processing,
+e.g. for geocoding photos or uploading streets to Openstreetmap.
diff --git a/gis/tangogps/tangogps.SlackBuild b/gis/tangogps/tangogps.SlackBuild
index b9672e1fab..c63df60df3 100644
--- a/gis/tangogps/tangogps.SlackBuild
+++ b/gis/tangogps/tangogps.SlackBuild
@@ -7,7 +7,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tangogps
VERSION=${VERSION:-0.99.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,7 +67,7 @@ sed -i "s|^#include\ <glib/.*||" src/map_management.c
sed -i "s|^#include\ <curl/types\.h>||" \
src/tile_management.c src/util.h src/friends.c
-LDFLAGS="-lm" \
+LDFLAGS="-Wl,--allow-multiple-definition,-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/gis/whitebox-tools/README b/gis/whitebox-tools/README
index 40ed36cf0a..73328ae946 100644
--- a/gis/whitebox-tools/README
+++ b/gis/whitebox-tools/README
@@ -1,19 +1,21 @@
-WhiteboxTools is an advanced geospatial data analysis platform developed by
-Prof. John Lindsay at the University of Guelph's Geomorphometry and
-Hydrogeomatics Research Group. WhiteboxTools can be used to perform common
-geographical information systems (GIS) analysis operations, such as
-cost-distance analysis, distance buffering, and raster reclassification. Remote
-sensing and image processing tasks include image enhancement (e.g. panchromatic
-sharpening, contrast adjustments), image mosaicing, numerous filtering
-operations, simple classification (k-means), and common image transformations.
-WhiteboxTools also contains advanced tooling for spatial hydrological analysis
-(e.g. flow-accumulation, watershed delineation, stream network analysis, sink
-removal), terrain analysis (e.g. common terrain indices such as slope,
-curvatures, wetness index, hillshading; hypsometric analysis; multi-scale
-topographic position analysis), and LiDAR data processing. LiDAR point clouds
-can be interrogated (LidarInfo, LidarHistogram), segmented, tiled and joined,
-analyized for outliers, interpolated to rasters (DEMs, intensity images), and
-ground-points can be classified or filtered. WhiteboxTools is not a
-cartographic or spatial data visualization package; instead it is meant to
-serve as an analytical backend for other data visualization software, mainly
-GIS.
+WhiteboxTools is an advanced geospatial data analysis platform
+developed by Prof. John Lindsay at the University of Guelph's
+Geomorphometry and Hydrogeomatics Research Group. WhiteboxTools can be
+used to perform common geographical information systems (GIS) analysis
+operations, such as cost-distance analysis, distance buffering, and
+raster reclassification. Remote sensing and image processing tasks
+include image enhancement (e.g. panchromatic sharpening, contrast
+adjustments), image mosaicing, numerous filtering operations,
+simple classification (k-means), and common image transformations.
+WhiteboxTools also contains advanced tooling for spatial hydrological
+analysis (e.g. flow-accumulation, watershed delineation, stream
+network analysis, sink removal), terrain analysis (e.g. common terrain
+indices such as slope, curvatures, wetness index, hillshading;
+hypsometric analysis; multi-scale topographic position analysis),
+and LiDAR data processing. LiDAR point clouds can be interrogated
+(LidarInfo, LidarHistogram), segmented, tiled and joined, analyized
+for outliers, interpolated to rasters (DEMs, intensity images), and
+ground-points can be classified or filtered. WhiteboxTools is not
+a cartographic or spatial data visualization package; instead it is
+meant to serve as an analytical backend for other data visualization
+software, mainly GIS.
diff --git a/gis/whitebox-tools/whitebox-tools.SlackBuild b/gis/whitebox-tools/whitebox-tools.SlackBuild
index 0f190cc24f..4648b0d44f 100644
--- a/gis/whitebox-tools/whitebox-tools.SlackBuild
+++ b/gis/whitebox-tools/whitebox-tools.SlackBuild
@@ -141,6 +141,7 @@ 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 {} \;
+CARGO_HOME=.cargo \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --offline --release $CARGOTARGET
diff --git a/gis/xplanet/README b/gis/xplanet/README
index 641dae6637..5b6e8de9e7 100644
--- a/gis/xplanet/README
+++ b/gis/xplanet/README
@@ -1,8 +1,8 @@
-Xplanet renders planetary and solar system images. It can be used to create
-computer wallpapers or single images. Xplanet can show city names, overlay
-cloud maps or display which regions of Earth are day or night. Xplanet can
-be used to produce projected maps based on several projections, such as
-mollweide, which show the whole earth at once, or mercator, which is
-rectangular and is suitable for filling the screen.
+Xplanet renders planetary and solar system images. It can be used to
+create computer wallpapers or single images. Xplanet can show city
+names, overlay cloud maps or display which regions of Earth are day or
+night. Xplanet can be used to produce projected maps based on several
+projections, such as mollweide, which show the whole earth at once, or
+mercator, which is rectangular and is suitable for filling the screen.
See /usr/share/xplanet for maps, config files, scripts, and so on.