diff options
Diffstat (limited to 'gis')
151 files changed, 1436 insertions, 936 deletions
diff --git a/gis/CreateCloudMap/CreateCloudMap.SlackBuild b/gis/CreateCloudMap/CreateCloudMap.SlackBuild index aee4374d85..a9c7a9ac2f 100644 --- a/gis/CreateCloudMap/CreateCloudMap.SlackBuild +++ b/gis/CreateCloudMap/CreateCloudMap.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for CreateCloudMap -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=CreateCloudMap -VERSION=${VERSION:-0.8.0} +VERSION=${VERSION:-0.9.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/CreateCloudMap/CreateCloudMap.info b/gis/CreateCloudMap/CreateCloudMap.info index 35361a9630..9ecbd102a4 100644 --- a/gis/CreateCloudMap/CreateCloudMap.info +++ b/gis/CreateCloudMap/CreateCloudMap.info @@ -1,10 +1,10 @@ PRGNAM="CreateCloudMap" -VERSION="0.8.0" +VERSION="0.9.13" HOMEPAGE="https://github.com/jmozmoz/cloudmap" -DOWNLOAD="https://pypi.python.org/packages/e0/8c/a572f38b9b3dd714613f0ab5e4a119833c445bb4fdea445ac38e19e543aa/CreateCloudMap-0.8.0.tar.gz" -MD5SUM="eebb1e8728d267db1d232c25942c93de" +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 python-requests DateTime ConfigParser pillowfight" +REQUIRES="pyresample scipy python-requests ConfigParser pillowfight" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" diff --git a/gis/Fiona/Fiona.SlackBuild b/gis/Fiona/Fiona.SlackBuild index 070dd35d84..e6f26cb2f1 100644 --- a/gis/Fiona/Fiona.SlackBuild +++ b/gis/Fiona/Fiona.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Fiona -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Fiona -VERSION=${VERSION:-1.8.4} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.8.19} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,10 +69,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 {} \; -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi -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 diff --git a/gis/Fiona/Fiona.info b/gis/Fiona/Fiona.info index f81e4f9658..d501116dc5 100644 --- a/gis/Fiona/Fiona.info +++ b/gis/Fiona/Fiona.info @@ -1,10 +1,10 @@ PRGNAM="Fiona" -VERSION="1.8.4" +VERSION="1.8.19" HOMEPAGE="https://github.com/Toblerity/Fiona" -DOWNLOAD="https://github.com/Toblerity/Fiona/archive/1.8.4/Fiona-1.8.4.tar.gz" -MD5SUM="f2b3fe834a50e78fb8a2f1f43a11e8bc" +DOWNLOAD="https://github.com/Toblerity/Fiona/archive/1.8.19/Fiona-1.8.19.tar.gz" +MD5SUM="20ec67ac2f83127ff178af4c061f9df9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="attrs gdal munch six" +REQUIRES="gdal munch python3-six python3-Cython python3-attrs click-plugins cligj" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild index a91b1f713f..5b8c3dd568 100644 --- a/gis/GMT/GMT.SlackBuild +++ b/gis/GMT/GMT.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=GMT SRCNAM=gmt -VERSION=${VERSION:-5.4.5} +VERSION=${VERSION:-6.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -97,8 +97,11 @@ cd build -DGMT_DATADIR=share/$SRCNAM \ -DGMT_DOCDIR=doc/$PRGNAM-$VERSION \ -DGMT_MANDIR=man \ - -DDCW_ROOT=$PKG/usr/share/$SRCNAM/dcw \ -DGSHHG_ROOT=$PKG/usr/share/$SRCNAM/gshhg \ + -DDCW_ROOT=$PKG/usr/share/$SRCNAM/dcw \ + -DCOPY_GSHHG=true \ + -DCOPY_DCW=true \ + -DGMT_INSTALL_MODULE_LINKS=true \ -DLICENSE_RESTRICTED=$LICFLAG \ -DCMAKE_BUILD_TYPE=Release .. make all @@ -114,7 +117,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE.TXT README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a BUILDING.md INSTALL.md LICENSE.TXT README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/GMT/GMT.info b/gis/GMT/GMT.info index 55d5d8a86f..b1570bb5a8 100644 --- a/gis/GMT/GMT.info +++ b/gis/GMT/GMT.info @@ -1,10 +1,10 @@ PRGNAM="GMT" -VERSION="5.4.5" -HOMEPAGE="http://gmt.soest.hawaii.edu/" -DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/gmt-5.4.5-src.tar.gz \ +VERSION="6.1.1" +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="a2e097410f37155d59b030275361ce60 \ +MD5SUM="f58535b474cbefebcc8646a745e5ca68 \ 8ee2653f9daf84d49fefbf990bbfa1e7 \ 4f30857a8b12af0f910222fceb591538" DOWNLOAD_x86_64="" diff --git a/gis/GMT/README b/gis/GMT/README index 9a505f283e..ab4d83c30a 100644 --- a/gis/GMT/README +++ b/gis/GMT/README @@ -1,10 +1,11 @@ -GMT is an open source collection of about 80 command-line tools for -manipulating geographic and Cartesian data sets (including filtering, -trend fitting, gridding, projecting, etc.) and producing PostScript -illustrations ranging from simple x-y plots via contour maps to -artificially illuminated surfaces and 3D perspective views; the GMT -supplements add another 40 more specialized and discipline-specific -tools. +GMT is an open-source collection of command-line tools for manipulating +geographic and Cartesian data sets (including filtering, trend fitting, +gridding, projecting, etc.) and producing PostScript illustrations +ranging from simple x-y plots via contour maps to artificially +illuminated surfaces and 3D perspective views. It supports many map +projections and transformations and includes supporting data such as +coastlines, rivers, and political boundaries and optionally country +polygons. By default, GMT will use Dave Watson's Delaunay triangulation routine. However, a much faster alternative is available from Jonathan Shewchuk, @@ -14,5 +15,15 @@ by passing the SHEWCHUK parameter: SHEWCHUK=yes ./GMT.SlackBuild -For more details refer to the README and LICENSE.TXT files contained +For movie-making capabilities the following dependencies are needed: + + GraphicsMagick + ffmpeg + +Other optional dependencies are: + + blas + lapack + +For more details refer to the README.md and LICENSE.TXT files contained into the GMT sources. diff --git a/gis/GMT/slack-desc b/gis/GMT/slack-desc index 2c2f87e8b5..13233d91e1 100644 --- a/gis/GMT/slack-desc +++ b/gis/GMT/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| GMT: GMT (Generic Mapping Tools) GMT: -GMT: GMT is an open source collection of about 80 command-line tools for -GMT: manipulating geographic and Cartesian data sets (including filtering, -GMT: trend fitting, gridding, projecting, etc.) and producing PostScript -GMT: illustrations ranging from simple x-y plots via contour maps to -GMT: artificially illuminated surfaces and 3D perspective views. -GMT: -GMT: Homepage: http://gmt.soest.hawaii.edu +GMT: GMT is an open source collection of command-line tools for +GMT: manipulaing geographic and Cartesian data sets (including +GMT: filtering, trend fitting, gridding, projecting, etc.) and +GMT: producing PostScript illustrations ranging from simple x-y +GMT: plots via contour maps to artificially illuminated surfaces +GMT: and 3D perspective views. GMT: +GMT: Homepage: https://www.generic-mapping-tools.org/ GMT: diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index 848838672d..54837333d5 100644 --- a/gis/OTB/OTB.SlackBuild +++ b/gis/OTB/OTB.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for OTB -# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2014-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,8 +25,8 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=OTB -VERSION=${VERSION:-6.6.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-7.2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,17 +71,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 {} \; +sed -i "s/VERSION 3.10.2/VERSION 2.5.2/" \ + CMakeLists.txt sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" \ CMakeLists.txt \ CMake/OTBModuleExternal.cmake \ CMake/OTBStandaloneModuleMacros.cmake \ - CMake/OTBApplicationMacros.cmake \ - CMake/CPackFunctions.cmake + CMake/OTBApplicationMacros.cmake +sed -i '1i\using namespace std;' \ + Modules/ThirdParty/OssimPlugins/src/gdal/*.cpp \ + Modules/ThirdParty/OssimPlugins/src/ossim/*.{h,cpp} \ + Modules/ThirdParty/OssimPlugins/src/ossim/otb/*.cpp \ + Modules/Adapters/OSSIMAdapters/src/*.cxx +sed -i "s/[{]0.0[}]//" \ + Modules/{Learning,Segmentation,Filtering,Registration}/*/include/*.h \ + Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.h \ + Modules/Core/Transform/include/otbImageToGenericRSOutputParameters.h MONTEVERDI=${MONTEVERDI:-OFF} BUILD_MONTEVERDI="-DOTB_USE_QWT=$MONTEVERDI -DOTB_USE_GLEW=$MONTEVERDI -DOTB_USE_OPENGL=$MONTEVERDI" BUILD_QT="-DOTB_USE_QT=${QTGUI:-ON}" +# TODO: set WRAP_PYTHON=ON when cmake is upgraded mkdir -p build cd build cmake \ @@ -97,11 +108,10 @@ cd build -DOTB_USE_OPENCV=${OPENCV:-OFF} \ -DOTB_USE_OPENMP=ON \ -DOTB_USE_SHARK=ON \ - -DOTB_WRAP_PYTHON=ON \ - -DOTB_INSTALL_PYTHON_DIR=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ - -DOTB_WRAP_PYTHON3=ON \ - -DOTB_INSTALL_PYTHON3_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ + -DOTB_INSTALL_PYTHON_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ + -DOTB_WRAP_PYTHON=OFF \ -DOTB_INSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \ + -DGDAL_CONFIG_CHECKING:BOOL=OFF \ $BUILD_MONTEVERDI \ $BUILD_QT \ .. diff --git a/gis/OTB/OTB.info b/gis/OTB/OTB.info index cdd2fb5c32..6d6fe86584 100644 --- a/gis/OTB/OTB.info +++ b/gis/OTB/OTB.info @@ -1,8 +1,8 @@ PRGNAM="OTB" -VERSION="6.6.1" +VERSION="7.2.0" HOMEPAGE="http://orfeo-toolbox.org/otb/" -DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/6.6.1/OTB-6.6.1.tar.gz" -MD5SUM="caea3ee13ba1252045fd7be002defe18" +DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/7.2.0/OTB-7.2.0.tar.gz" +MD5SUM="925a7bcf121c72a24dc99924c1a0c02a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="blas gdal ITK OpenSceneGraph muParser python3 ossim Shark tinyxml" diff --git a/gis/OWSLib/OWSLib.SlackBuild b/gis/OWSLib/OWSLib.SlackBuild index 0784ae7cbe..2a6acc9a33 100644 --- a/gis/OWSLib/OWSLib.SlackBuild +++ b/gis/OWSLib/OWSLib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for OWSLib -# Copyright 2013-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=OWSLib -VERSION=${VERSION:-0.17.1} +VERSION=${VERSION:-0.23.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,10 +69,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 {} \; -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$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 diff --git a/gis/OWSLib/OWSLib.info b/gis/OWSLib/OWSLib.info index 6a10f55235..0961aa59ea 100644 --- a/gis/OWSLib/OWSLib.info +++ b/gis/OWSLib/OWSLib.info @@ -1,10 +1,10 @@ PRGNAM="OWSLib" -VERSION="0.17.1" +VERSION="0.23.0" HOMEPAGE="https://pypi.python.org/pypi/OWSLib/" -DOWNLOAD="https://github.com/geopython/OWSLib/archive/0.17.1/OWSLib-0.17.1.tar.gz" -MD5SUM="a7259beed43944959b9c5050545e95cc" +DOWNLOAD="https://github.com/geopython/OWSLib/archive/0.23.0/OWSLib-0.23.0.tar.gz" +MD5SUM="af19b7bb8222419a7c8eb05287cef14a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-dateutil pytz lxml six" +REQUIRES="python-dateutil python3-dateutil pytz lxml six python3-six" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/SFCGAL/SFCGAL.SlackBuild b/gis/SFCGAL/SFCGAL.SlackBuild index 2cc6aebfc2..1934857eab 100644 --- a/gis/SFCGAL/SFCGAL.SlackBuild +++ b/gis/SFCGAL/SFCGAL.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for SFCGAL -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=SFCGAL -VERSION=${VERSION:-1.3.6} +VERSION=${VERSION:-1.3.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,10 +60,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -rm -rf $TMP/$PRGNAM-$VERSION +rm -rf $TMP/$PRGNAM-v$VERSION cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz +cd $PRGNAM-v$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -73,10 +73,15 @@ find -L . \ mkdir -p build cd build + export "PATH=/opt/cmake-202x/bin:$PATH" cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1" \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ + -DSFCGAL_BUILD_EXAMPLES=OFF \ + -DSFCGAL_BUILD_TESTS=OFF \ .. make install DESTDIR=$PKG diff --git a/gis/SFCGAL/SFCGAL.info b/gis/SFCGAL/SFCGAL.info index 02d950fd6a..6409b92f2b 100644 --- a/gis/SFCGAL/SFCGAL.info +++ b/gis/SFCGAL/SFCGAL.info @@ -1,10 +1,10 @@ PRGNAM="SFCGAL" -VERSION="1.3.6" -HOMEPAGE="http://www.sfcgal.org" -DOWNLOAD="https://github.com/Oslandia/SFCGAL/archive/v1.3.6/SFCGAL-1.3.6.tar.gz" -MD5SUM="5b0c2645ce4282a1b73012e9a89e84b6" +VERSION="1.3.9" +HOMEPAGE="https://oslandia.gitlab.io/SFCGAL/" +DOWNLOAD="https://gitlab.com/Oslandia/SFCGAL/-/archive/v1.3.9/SFCGAL-v1.3.9.tar.gz" +MD5SUM="99c08d524aff93be0d30a48d821783ae" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="CGAL" +REQUIRES="CGAL cmake-202x" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/Shapely/Shapely.SlackBuild b/gis/Shapely/Shapely.SlackBuild index 86856a927d..1ae3d60491 100644 --- a/gis/Shapely/Shapely.SlackBuild +++ b/gis/Shapely/Shapely.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Shapely -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Shapely -VERSION=${VERSION:-1.6.4} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.7.1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,10 +72,7 @@ find -L . \ # remove unnecessary .pxi file sed -i "s/data_files\s*=.*/data_files = [],/g" setup.py -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +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/Shapely/Shapely.info b/gis/Shapely/Shapely.info index 6f44d300aa..15c8334baa 100644 --- a/gis/Shapely/Shapely.info +++ b/gis/Shapely/Shapely.info @@ -1,10 +1,10 @@ PRGNAM="Shapely" -VERSION="1.6.4" +VERSION="1.7.1" HOMEPAGE="https://github.com/Toblerity/Shapely" -DOWNLOAD="https://github.com/Toblerity/Shapely/archive/1.6.4/Shapely-1.6.4.tar.gz" -MD5SUM="cf6f7abde575bb75ce0b39aaf061930f" +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" +REQUIRES="geos python3" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/basemap/basemap.info b/gis/basemap/basemap.info deleted file mode 100644 index 4ca0bd0bf8..0000000000 --- a/gis/basemap/basemap.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="basemap" -VERSION="1.0.7" -HOMEPAGE="https://sourceforge.net/projects/matplotlib/" -DOWNLOAD="http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz" -MD5SUM="48c0557ced9e2c6e440b28b3caff2de8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="numpy geos matplotlib" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/gis/cartopy/cartopy.SlackBuild b/gis/cartopy/cartopy.SlackBuild index ce376aa696..fc1fbf84a8 100644 --- a/gis/cartopy/cartopy.SlackBuild +++ b/gis/cartopy/cartopy.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cartopy -# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2014-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cartopy -VERSION=${VERSION:-0.17.0} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.18.0} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,14 +69,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -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 \ - CHANGES CONTRIBUTING.md COPYING COPYING.LESSER README.md \ + CHANGES COPYING COPYING.LESSER README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/cartopy/cartopy.info b/gis/cartopy/cartopy.info index aa20ea5dba..e7c1595535 100644 --- a/gis/cartopy/cartopy.info +++ b/gis/cartopy/cartopy.info @@ -1,10 +1,10 @@ PRGNAM="cartopy" -VERSION="0.17.0" +VERSION="0.18.0" HOMEPAGE="https://scitools.org.uk/cartopy/" -DOWNLOAD="https://github.com/SciTools/cartopy/archive/v0.17.0/cartopy-0.17.0.tar.gz" -MD5SUM="9fe063295a9fd854803d3c01a60720d0" +DOWNLOAD="https://github.com/SciTools/cartopy/archive/v0.18.0/cartopy-0.18.0.tar.gz" +MD5SUM="792c63511641c843759c5b774f2a8b33" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="geos matplotlib proj pyshp scipy Shapely" +REQUIRES="geos python3-matplotlib proj pyshp scipy3 Shapely" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild index 2973ebf43c..89c9e3878b 100644 --- a/gis/gdal/gdal.SlackBuild +++ b/gis/gdal/gdal.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for GDAL # Copyright 2009 Marco Cecchetti <mrc.ild@gmail.com> +# Updated 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ # Maintained by David Spencer <baildon.research@googlemail.com> PRGNAM=gdal -VERSION=${VERSION:-2.2.4} +VERSION=${VERSION:-3.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -130,7 +131,7 @@ CXXFLAGS="$SLKCFLAGS" \ --without-grib \ --with-static-proj4 \ --with-mysql \ - --with-python \ + --with-python=/usr/bin/python3 \ --with-poppler \ --with-libtiff=internal \ --with-rename-internal-libtiff-symbols=yes \ @@ -143,27 +144,12 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - cd swig/python - rm -rf build - python3 setup.py build - python3 setup.py install --root=$PKG --prefix=/usr - cd - >/dev/null -fi - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -make -f GNUmakefile -B man -make install-man 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 - -make -f GNUmakefile -B docs -# --docdir is ignored :-( -make install-docs DESTDIR=$PKG INST_DOCS=/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COMMITERS HOWTO-RELEASE LICENSE.TXT NEWS PROVENANCE.TXT VERSION \ + COMMITTERS HOWTO-RELEASE LICENSE.TXT NEWS PROVENANCE.TXT 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 0acaf326ff..6f9bdf4d9e 100644 --- a/gis/gdal/gdal.info +++ b/gis/gdal/gdal.info @@ -1,10 +1,10 @@ PRGNAM="gdal" -VERSION="2.2.4" +VERSION="3.2.2" HOMEPAGE="https://www.gdal.org/" -DOWNLOAD="https://download.osgeo.org/gdal/2.2.4/gdal-2.2.4.tar.xz" -MD5SUM="51b1df61dbdf81473689fab3075e7a5e" +DOWNLOAD="https://download.osgeo.org/gdal/3.2.2/gdal-3.2.2.tar.xz" +MD5SUM="c656be582f7beb528c66486cd1fca7a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="geos proj" +REQUIRES="geos proj python3" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/gis/geographiclib-python/geographiclib-python.SlackBuild b/gis/geographiclib-python/geographiclib-python.SlackBuild index 09a90d09fe..929ececd45 100644 --- a/gis/geographiclib-python/geographiclib-python.SlackBuild +++ b/gis/geographiclib-python/geographiclib-python.SlackBuild @@ -2,7 +2,7 @@ # # SlackBuild for geographiclib-python # -# Copyright 2016 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2016-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -21,12 +21,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -SRCNAM=geographiclib -PRGNAM=$SRCNAM-python -VERSION=${VERSION:-1.49} -BUILD=${BUILD:-1} +PRGNAM=geographiclib-python +VERSION=${VERSION:-1.50} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +SRCNAM=geographiclib + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -71,14 +72,12 @@ 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 {} \; -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - README.rst \ + README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/geographiclib-python/geographiclib-python.info b/gis/geographiclib-python/geographiclib-python.info index f4e97bea60..3ea0bec6a6 100644 --- a/gis/geographiclib-python/geographiclib-python.info +++ b/gis/geographiclib-python/geographiclib-python.info @@ -1,10 +1,10 @@ PRGNAM="geographiclib-python" -VERSION="1.49" -HOMEPAGE="http://geographiclib.sourceforge.net/1.49/python/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/g/geographiclib/geographiclib-1.49.tar.gz" -MD5SUM="eec8f975cd72af4f8ddebade1f613184" +VERSION="1.50" +HOMEPAGE="http://geographiclib.sourceforge.net/1.50/python/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/g/geographiclib/geographiclib-1.50.tar.gz" +MD5SUM="06cb02d3e8d84383f7d040c2df13e8ea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/geojson/geojson.SlackBuild b/gis/geojson/geojson.SlackBuild index 983322cc97..90444a0002 100644 --- a/gis/geojson/geojson.SlackBuild +++ b/gis/geojson/geojson.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for geojson -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=geojson -SRCNAM=python-$PRGNAM -VERSION=${VERSION:-2.4.1} +VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +59,9 @@ 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 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/gis/geojson/geojson.info b/gis/geojson/geojson.info index 873754f0bc..0108fd1c95 100644 --- a/gis/geojson/geojson.info +++ b/gis/geojson/geojson.info @@ -1,8 +1,8 @@ PRGNAM="geojson" -VERSION="2.4.1" -HOMEPAGE="https://github.com/frewsxcv/python-geojson" -DOWNLOAD="https://github.com/frewsxcv/python-geojson/archive/2.4.1/python-geojson-2.4.1.tar.gz" -MD5SUM="0a89d69195d962e6ae94fc674569adb9" +VERSION="2.5.0" +HOMEPAGE="https://github.com/jazzband/geojson" +DOWNLOAD="https://github.com/jazzband/geojson/archive/2.5.0/geojson-2.5.0.tar.gz" +MD5SUM="e1b3f4ee17f86e361123c3ef4c6fab41" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3" diff --git a/gis/geopandas/README b/gis/geopandas/README new file mode 100644 index 0000000000..728f20bca7 --- /dev/null +++ b/gis/geopandas/README @@ -0,0 +1,4 @@ +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.SlackBuild b/gis/geopandas/geopandas.SlackBuild new file mode 100644 index 0000000000..5a1fdc5d8c --- /dev/null +++ b/gis/geopandas/geopandas.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/sh + +# SlackBuild script for geopandas + +# Copyright 2020-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# 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. + +PRGNAM=geopandas +VERSION=${VERSION:-0.9.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.txt 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:-tgz} diff --git a/gis/geopandas/geopandas.info b/gis/geopandas/geopandas.info new file mode 100644 index 0000000000..e125839631 --- /dev/null +++ b/gis/geopandas/geopandas.info @@ -0,0 +1,10 @@ +PRGNAM="geopandas" +VERSION="0.9.0" +HOMEPAGE="https://github.com/geopandas/geopandas" +DOWNLOAD="https://github.com/geopandas/geopandas/archive/v0.9.0/geopandas-0.9.0.tar.gz" +MD5SUM="d4f8ca22c882d80f40a48f4ac0983c7c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="geopy Fiona psycopg2 pyproj python3-pandas Shapely" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/geopandas/slack-desc b/gis/geopandas/slack-desc new file mode 100644 index 0000000000..50ab2d22ee --- /dev/null +++ b/gis/geopandas/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------------------------------------------------------| +geopandas: geopandas (Python tools for geographic data) +geopandas: +geopandas: GeoPandas is a project to add support for geographic data to pandas +geopandas: objects. It currently implements GeoSeries and GeoDataFrame types +geopandas: which are subclasses of pandas.Series and pandas.DataFrame +geopandas: respectively. GeoPandas objects can act on shapely geometry objects +geopandas: and perform geometric operations. +geopandas: +geopandas: +geopandas: +geopandas: diff --git a/gis/geopy/README b/gis/geopy/README index a235b18e15..84ec2d8274 100644 --- a/gis/geopy/README +++ b/gis/geopy/README @@ -5,4 +5,6 @@ geocoders and other data sources. geopy currently includes support for several geocoders, including OpenStreetMap Nominatim, ESRI ArcGIS, Google Geocoding API and more. -python/pytz is an optional dependency that will be used if available. +python/pytz, python/python-requests and python/python3-aiohttp are optional +dependencies that will be used if available (they must all be built with +Python 3 support). diff --git a/gis/geopy/geopy.SlackBuild b/gis/geopy/geopy.SlackBuild index 8a343cba97..e5fbdc86c6 100644 --- a/gis/geopy/geopy.SlackBuild +++ b/gis/geopy/geopy.SlackBuild @@ -4,7 +4,7 @@ # Written by Dominik Drobek <dominik.drobek (at) o2.pl> # Formerly maintained by Francisco Sokol <chico.sokol@gmail.com> -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=geopy -VERSION=${VERSION:-1.18.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,7 +71,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python2 setup.py install --root=$PKG python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/gis/geopy/geopy.info b/gis/geopy/geopy.info index df164257fc..90061ec356 100644 --- a/gis/geopy/geopy.info +++ b/gis/geopy/geopy.info @@ -1,8 +1,8 @@ PRGNAM="geopy" -VERSION="1.18.1" +VERSION="2.1.0" HOMEPAGE="https://github.com/geopy/geopy" -DOWNLOAD="https://github.com/geopy/geopy/archive/1.18.1/geopy-1.18.1.tar.gz" -MD5SUM="d5ef9f7cc51a36b347113b59e2d3c99e" +DOWNLOAD="https://github.com/geopy/geopy/archive/2.1.0/geopy-2.1.0.tar.gz" +MD5SUM="0573cc833b3566fd4c06f10f1646a252" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3" diff --git a/gis/geopy/slack-desc b/gis/geopy/slack-desc index 9a383dff7d..62dc0f4cb2 100644 --- a/gis/geopy/slack-desc +++ b/gis/geopy/slack-desc @@ -14,6 +14,6 @@ geopy: third-party geocoders. geopy: geopy: geopy currently includes support for several geocoders, including geopy: OpenStreetMap Nominatim, ESRI ArcGIS, Google Geocoding API and more. -geopy: -geopy: +geopy: +geopy: geopy: diff --git a/gis/geos/geos.SlackBuild b/gis/geos/geos.SlackBuild index e9486bf90c..e42de54280 100644 --- a/gis/geos/geos.SlackBuild +++ b/gis/geos/geos.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for geos # Written by Kyle Guinn <elyk03@gmail.com> -# Maintained 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Maintained 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=geos -VERSION=${VERSION:-3.7.1} +VERSION=${VERSION:-3.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,7 +70,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=c++11" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib$LIBDIRSUFFIX \ @@ -90,7 +90,7 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING NEWS README.md TODO \ + AUTHORS COPYING NEWS 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 31c82ea0d2..935d9c6081 100644 --- a/gis/geos/geos.info +++ b/gis/geos/geos.info @@ -1,8 +1,8 @@ PRGNAM="geos" -VERSION="3.7.1" -HOMEPAGE="http://trac.osgeo.org/geos/" -DOWNLOAD="http://download.osgeo.org/geos/geos-3.7.1.tar.bz2" -MD5SUM="62149456d21dabee44999f644c986ab0" +VERSION="3.9.1" +HOMEPAGE="https://trac.osgeo.org/geos/" +DOWNLOAD="https://download.osgeo.org/geos/geos-3.9.1.tar.bz2" +MD5SUM="efc4ce81bdbaa5e5c1caefe6c9b8553c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/gis/gj2ascii/gj2ascii.SlackBuild b/gis/gj2ascii/gj2ascii.SlackBuild index aa5b014afa..fc4ce03bcb 100644 --- a/gis/gj2ascii/gj2ascii.SlackBuild +++ b/gis/gj2ascii/gj2ascii.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gj2ascii -# Copyright 2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2018-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=gj2ascii VERSION=${VERSION:-0.4.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,7 +69,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 {} \; -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 diff --git a/gis/gj2ascii/gj2ascii.info b/gis/gj2ascii/gj2ascii.info index 40f0e4161a..b5d6b70281 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 click numpy rasterio" +REQUIRES="Shapely Fiona rasterio" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/google-earth/README b/gis/google-earth/README index 941e5bece5..a39cf206a7 100644 --- a/gis/google-earth/README +++ b/gis/google-earth/README @@ -19,32 +19,24 @@ 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 updates the GoogleEarth bin-file without changing the download - link location and they don't use version numbering in the filename - (the version is more an internal numbering). - - Therefore, this script is subject to failing (and a different MD5SUM) - at any time due to the fact that you might get a newer version - of GoogleEarth than what the script is designed to use. Please notify - the maintainer if this is the case. - -2) 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. You'll need to create the symlink manually after installing - the package: - - 32-bit: ln -sf /lib/ld-linux.so.2 /lib/ld-lsb.so.3 - 64-bit: ln -sf /lib64/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 - -3) Google Earth tends to crash when the 65-fonts-persian.conf is available on - the system. Please remove /etc/fonts/conf.d/65-fonts-persian.conf prior to - launching this application. The easiest way to do this is: +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 -4) GoogleEarth now requires that you have OpenGL drivers installed on your +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. -5) On 32 bit, the VERSION is still at 7.3.0.3832. +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. diff --git a/gis/google-earth/doinst.sh b/gis/google-earth/doinst.sh index cd40c461ab..76c4a738ca 100644 --- a/gis/google-earth/doinst.sh +++ b/gis/google-earth/doinst.sh @@ -11,3 +11,4 @@ if [ -e usr/share/icons/hicolor/icon-theme.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/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild index ad0837f496..1ca770d92f 100644 --- a/gis/google-earth/google-earth.SlackBuild +++ b/gis/google-earth/google-earth.SlackBuild @@ -5,6 +5,7 @@ # Copyright 2007-2013 Michiel van Wessem, Manchester, United Kingdom # Copyright 2016-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # 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: @@ -30,7 +31,7 @@ # and to Daniel de Kok and Alan_Hicks for their comments. PRGNAM=google-earth -VERSION=${VERSION:-7.3.2.5495} +VERSION=${VERSION:-7.3.0.3832} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,9 +62,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar p $CWD/google-earth-stable_current_${SRCARCH}.deb data.tar.xz | tar xJv +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 . \ @@ -101,5 +103,28 @@ 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:-tgz} diff --git a/gis/google-earth/google-earth.info b/gis/google-earth/google-earth.info index 4109364c81..07621ca351 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.2.5495" +VERSION="7.3.0.3832" HOMEPAGE="https://www.google.com/earth/index.html" -DOWNLOAD="https://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb" +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/current/google-earth-stable_current_amd64.deb" -MD5SUM_x86_64="d7ba0319862cf2093be0607b131319ae" +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="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" +MAINTAINER="Lenard Spencer" +EMAIL="lenardrspencer@gmail.com" diff --git a/gis/gpsbabel/README b/gis/gpsbabel/README index c463865a2f..fe1adcae48 100644 --- a/gis/gpsbabel/README +++ b/gis/gpsbabel/README @@ -11,8 +11,3 @@ 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. - -NOTE: Qt5 is required starting with version 1.5.4. If you would rather not -build and install Qt5, then download the sources for 1.5.3 and execute: - - VERSION=1.5.3 ./gpsbabel.SlackBuild diff --git a/gis/gpsbabel/build-fix.patch b/gis/gpsbabel/build-fix.patch deleted file mode 100644 index c6d21b18f6..0000000000 --- a/gis/gpsbabel/build-fix.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff -wbBur gpsbabel-1.5.4/tef_xml.cc gpsbabel-1.5.4.my/tef_xml.cc ---- gpsbabel-1.5.4/tef_xml.cc 2017-01-02 08:05:19.000000000 +0300 -+++ gpsbabel-1.5.4.my/tef_xml.cc 2017-02-16 16:20:22.788961096 +0300 -@@ -72,11 +72,11 @@ - bool valid = false; - - foreach(QXmlStreamAttribute attr, *attrv) { -- if (attr.name().compare("Comment", Qt::CaseInsensitive) == 0) { -- if (attr.value().compare("TourExchangeFormat", Qt::CaseInsensitive) == 0) { -+ if (attr.name().compare((QString&)"Comment", Qt::CaseInsensitive) == 0) { -+ if (attr.value().compare((QString&)"TourExchangeFormat", Qt::CaseInsensitive) == 0) { - valid = true; - } -- } else if (attr.name().compare("Version", Qt::CaseInsensitive) == 0) { -+ } else if (attr.name().compare((QString&)"Version", Qt::CaseInsensitive) == 0) { - version = attr.value().toString().toDouble(); - } - } -@@ -95,9 +95,9 @@ - { - route = route_head_alloc(); - foreach(QXmlStreamAttribute attr, *attrv) { -- if (attr.name().compare("Name", Qt::CaseInsensitive) == 0) { -+ if (attr.name().compare((QString&)"Name", Qt::CaseInsensitive) == 0) { - route->rte_name = attr.value().toString().trimmed(); -- } else if (attr.name().compare("Software", Qt::CaseInsensitive) == 0) { -+ } else if (attr.name().compare((QString&)"Software", Qt::CaseInsensitive) == 0) { - route->rte_desc = attr.value().toString().trimmed(); - } - } -@@ -248,20 +248,20 @@ - QString attrstr = attr.value().toString(); - QByteArray attrtext = attrstr.toUtf8(); - -- if (attr.name().compare("SegDescription", Qt::CaseInsensitive) == 0) { -+ if (attr.name().compare((QString&)"SegDescription", Qt::CaseInsensitive) == 0) { - wpt_tmp->shortname = attrstr.trimmed(); -- } else if (attr.name().compare("PointDescription", Qt::CaseInsensitive) == 0) { -+ } else if (attr.name().compare((QString&)"PointDescription", Qt::CaseInsensitive) == 0) { - wpt_tmp->description = attrstr.trimmed(); -- } else if (attr.name().compare("ViaStation", Qt::CaseInsensitive) == 0 && -- attr.value().compare("true", Qt::CaseInsensitive) == 0) { -+ } else if (attr.name().compare((QString&)"ViaStation", Qt::CaseInsensitive) == 0 && -+ attr.value().compare((QString&)"true", Qt::CaseInsensitive) == 0) { - wpt_tmp->wpt_flags.fmt_use = 1; /* only a flag */ - - /* new in TEF V2 */ -- } else if (attr.name().compare("Instruction", Qt::CaseInsensitive) == 0) { -+ } else if (attr.name().compare((QString&)"Instruction", Qt::CaseInsensitive) == 0) { - wpt_tmp->description = attrstr.trimmed(); -- } else if (attr.name().compare("Altitude", Qt::CaseInsensitive) == 0) { -+ } else if (attr.name().compare((QString&)"Altitude", Qt::CaseInsensitive) == 0) { - wpt_tmp->altitude = attrstr.toDouble(); -- } else if (attr.name().compare("TimeStamp", Qt::CaseInsensitive) == 0) { -+ } else if (attr.name().compare((QString&)"TimeStamp", Qt::CaseInsensitive) == 0) { - /* nothing for the moment */ - } - } diff --git a/gis/gpsbabel/doinst.sh b/gis/gpsbabel/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/gis/gpsbabel/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/gis/gpsbabel/gpsbabel.SlackBuild b/gis/gpsbabel/gpsbabel.SlackBuild index 8fe33a62da..7069748f58 100644 --- a/gis/gpsbabel/gpsbabel.SlackBuild +++ b/gis/gpsbabel/gpsbabel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gpsbabel -# Copyright 2017 Kyle Guinn <elyk03@gmail.com>, USA +# Copyright 2017-2021 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gpsbabel -VERSION=${VERSION:-1.5.4} +VERSION=${VERSION:-1.7.0} SRCVER=${PRGNAM}_$(echo ${VERSION} | tr . _) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,7 +38,7 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM +PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS COPYING README*" @@ -77,23 +77,16 @@ chmod -R u+w,go-w,a+rX-st . sed -i \ -e '/reportStatistics_/s/true/false/' \ -e '/startupVersionCheck_/s/true/false/' \ - -e '/ignoreVersionMismatch/s/false/true/' \ + -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|QApplication::applicationDirPath() +|"/usr/share/gpsbabel"|' gui/map.cc -sed -i 's|QApplication::applicationDirPath()|"/usr/share/gpsbabel"|' gui/mainwindow.cc +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 -# Build using the system zlib and libminizip from SBo (see --with-zlib=system). -# Thanks to Gentoo. -sed -i '/AC_CHECK_LIB(\[z\], \[gzopen\])/aAC_CHECK_LIB([minizip], [zipOpen64])' configure.in -sed -i 's|"zlib/contrib/minizip/zip.h"|<minizip/zip.h>|' src/core/ziparchive.cc src/core/ziparchive.h - -# Patched to build against Qt5 -patch -p1 < $CWD/build-fix.patch - -autoreconf -vif +# 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 \ @@ -112,7 +105,9 @@ make make gui install -D -m0755 -s gpsbabel $PKG/usr/bin/gpsbabel -install -D -m0755 -s gui/objects/gpsbabelfe-bin $PKG/usr/bin/gpsbabelfe +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/ @@ -123,6 +118,7 @@ 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:-tgz} diff --git a/gis/gpsbabel/gpsbabel.info b/gis/gpsbabel/gpsbabel.info index d628aae9b1..4e5ebfcbe3 100644 --- a/gis/gpsbabel/gpsbabel.info +++ b/gis/gpsbabel/gpsbabel.info @@ -1,8 +1,8 @@ PRGNAM="gpsbabel" -VERSION="1.5.4" +VERSION="1.7.0" HOMEPAGE="https://www.gpsbabel.org/" -DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_5_4/gpsbabel-gpsbabel_1_5_4.tar.gz" -MD5SUM="0f2d422dbae82f939564cf8305a4654c" +DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_7_0/gpsbabel-gpsbabel_1_7_0.tar.gz" +MD5SUM="80a7d3455c741e1298b2fbce93bb6072" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libminizip qt5" diff --git a/gis/gpxsee/README b/gis/gpxsee/README index c3408ed909..4e0fa74a19 100644 --- a/gis/gpxsee/README +++ b/gis/gpxsee/README @@ -1,2 +1,2 @@ GPXSee is a Qt-based GPS log file viewer and analyzer that supports -GPX, TCX, KML, FIT, IGC, NMEA, SLF, LOC and OziExplorer files. +all common GPS log file formats. diff --git a/gis/gpxsee/fix_font_narrow_space.diff b/gis/gpxsee/fix_font_narrow_space.diff index 015e46d145..0b04d37b4d 100644 --- a/gis/gpxsee/fix_font_narrow_space.diff +++ b/gis/gpxsee/fix_font_narrow_space.diff @@ -1,6 +1,5 @@ -diff -Naur GPXSee-7.1.orig/src/GUI/units.h GPXSee-7.1/src/GUI/units.h ---- GPXSee-7.1.orig/src/GUI/units.h 2018-12-08 21:09:23.510215182 +0300 -+++ GPXSee-7.1/src/GUI/units.h 2018-12-08 21:10:17.907437326 +0300 +--- src/GUI/units.h.orig 2019-03-12 23:00:39.365129810 +0300 ++++ src/GUI/units.h 2019-03-12 23:00:47.151863062 +0300 @@ -30,6 +30,6 @@ #define C2FS 1.8 // Celsius to Farenheit - scale #define C2FO 32.0 // Celsius to Farenheit - offset diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild index 52479290b1..018ca0c59c 100644 --- a/gis/gpxsee/gpxsee.SlackBuild +++ b/gis/gpxsee/gpxsee.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for GPXSee -# Copyright 2018-2019, Nikolay Korotkiy <sikmir@gmail.com> +# Copyright 2018-2020, Nikolay Korotkiy <sikmir@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gpxsee -VERSION=${VERSION:-7.1} +VERSION=${VERSION:-7.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,23 +71,15 @@ find -L . \ # Fix display issue: square character instead of a white space # See https://github.com/tumic0/GPXSee/issues/93 -patch -p1 < $CWD/fix_font_narrow_space.diff +patch -p0 < $CWD/fix_font_narrow_space.diff lrelease-qt5 gpxsee.pro qmake-qt5 \ + PREFIX="/usr" \ QMAKE_CFLAGS+="$SLKCFLAGS" \ QMAKE_CXXFLAGS+="$SLKCFLAGS" \ gpxsee.pro -make - -install -Dm0755 GPXSee $PKG/usr/bin/$PRGNAM -install -Dm0644 pkg/csv/* -t $PKG/usr/share/$PRGNAM/csv -install -Dm0644 pkg/maps/* -t $PKG/usr/share/$PRGNAM/maps -install -Dm0644 lang/*.qm -t $PKG/usr/share/$PRGNAM/translations -install -Dm0644 icons/gpxsee.png $PKG/usr/share/pixmaps/$PRGNAM.png -install -Dm0644 pkg/gpxsee.desktop $PKG/usr/share/applications/$PRGNAM.desktop -install -Dm0644 pkg/gpxsee.xml $PKG/usr/share/mime/packages/$PRGNAM.xml -install -Dm0644 pkg/appdata.xml $PKG/usr/share/appdata/$PRGNAM.appdata.xml +make && make INSTALL_ROOT="$PKG" install 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/gpxsee/gpxsee.info b/gis/gpxsee/gpxsee.info index b3f0aa97ea..3a6412fbe9 100644 --- a/gis/gpxsee/gpxsee.info +++ b/gis/gpxsee/gpxsee.info @@ -1,8 +1,8 @@ PRGNAM="gpxsee" -VERSION="7.1" +VERSION="7.28" HOMEPAGE="https://www.gpxsee.org/" -DOWNLOAD="https://github.com/tumic0/GPXSee/archive/7.1/GPXSee-7.1.tar.gz" -MD5SUM="d83da3966601b81b303f27403d543e08" +DOWNLOAD="https://github.com/tumic0/GPXSee/archive/7.28/GPXSee-7.28.tar.gz" +MD5SUM="4c1ba8939e569c6503b510b54dfa7e3e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="qt5" diff --git a/gis/gpxsee/slack-desc b/gis/gpxsee/slack-desc index 672ffde910..76e6459cd1 100644 --- a/gis/gpxsee/slack-desc +++ b/gis/gpxsee/slack-desc @@ -9,7 +9,7 @@ gpxsee: gpxsee (GPS log file viewer and analyzer) gpxsee: gpxsee: GPXSee is a Qt-based GPS log file viewer and analyzer that supports -gpxsee: GPX, TCX, KML, FIT, IGC, NMEA, SLF, LOC and OziExplorer files. +gpxsee: all common GPS log file formats. gpxsee: gpxsee: gpxsee: diff --git a/gis/grass/grass.SlackBuild b/gis/grass/grass.SlackBuild index 8f1b6cc3ef..28d48e51ad 100644 --- a/gis/grass/grass.SlackBuild +++ b/gis/grass/grass.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=grass -VERSION=${VERSION:-7.2.2} +VERSION=${VERSION:-7.8.0} +SHRTVER=`echo $VERSION | sed "s/\([0-9]*\).\([0-9]*\)..*/\1\2/"` BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -153,24 +154,24 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ install -D -m0644 grass.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/grass.pc # Create unversioned symlinks: -( cd $PKG/opt ; ln -s $PRGNAM-$VERSION $PRGNAM ) -( cd $PKG/usr/bin ; ln -s grass72 $PRGNAM ) +( cd $PKG/opt ; ln -s $PRGNAM$SHRTVER $PRGNAM ) +( cd $PKG/usr/bin ; ln -s $PRGNAM$SHRTVER $PRGNAM ) # Remove hardcoded version strings: sed -i -e "s/-${VERSION}//g" \ - $PKG/usr/bin/grass72 \ + $PKG/usr/bin/$PRGNAM$SHRTVER \ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/grass.pc # Remove packaging directory pollution: sed -i -e "s;$PKG;;" \ - $PKG/usr/bin/grass72 \ - $PKG/opt/$PRGNAM-$VERSION/demolocation/.grassrc72 \ - $PKG/opt/$PRGNAM-$VERSION/etc/fontcap \ - $PKG/opt/$PRGNAM-$VERSION/include/Make/Grass.make \ - $PKG/opt/$PRGNAM-$VERSION/include/Make/Platform.make + $PKG/usr/bin/$PRGNAM$SHRTVER \ + $PKG/opt/$PRGNAM$SHRTVER/demolocation/.grassrc$SHRTVER \ + $PKG/opt/$PRGNAM$SHRTVER/etc/fontcap \ + $PKG/opt/$PRGNAM$SHRTVER/include/Make/Grass.make \ + $PKG/opt/$PRGNAM$SHRTVER/include/Make/Platform.make # Documentation: -PKGOPTMAN=$PKG/opt/$PRGNAM-$VERSION/docs/man +PKGOPTMAN=$PKG/opt/$PRGNAM$SHRTVER/docs/man find $PKGOPTMAN -type f -exec gzip -9 {} \; for i in $( find $PKGOPTMAN -type l ) ; do \ ln -s $( readlink $i ).gz $i.gz ; rm $i ; done @@ -180,12 +181,8 @@ cp -a \ $PKG/usr/man/man1/grass.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv \ - $PKG/opt/$PRGNAM-$VERSION/{AUTHORS,CHANGES,COPYING,GPL.TXT,REQUIREMENTS.html} \ - $PKG/opt/$PRGNAM-$VERSION/*.csv \ - $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ChangeLog* INSTALL README SUBMITTING* TODO \ + AUTHORS CHANGES COPYING GPL.TXT REQUIREMENTS.html INSTALL README.md SUBMITTING* TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -200,9 +197,9 @@ cp -a \ $PKG/usr/share/pixmaps/${PRGNAM}.png # Cleanup: -rm -rf $PKG/opt/$PRGNAM-$VERSION/demolocation/PERMANENT/.tmp -rm $PKG/opt/$PRGNAM-$VERSION/config.status -rm -rf $PKG/opt/$PRGNAM-$VERSION/share/ +rm -rf $PKG/opt/$PRGNAM/demolocation/PERMANENT/.tmp +rm $PKG/opt/$PRGNAM/config.status +rm -rf $PKG/opt/$PRGNAM/share/ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/gis/grass/grass.info b/gis/grass/grass.info index f136144201..2ce125aa93 100644 --- a/gis/grass/grass.info +++ b/gis/grass/grass.info @@ -1,10 +1,10 @@ PRGNAM="grass" -VERSION="7.2.2" +VERSION="7.8.0" HOMEPAGE="https://grass.osgeo.org/" -DOWNLOAD="https://grass.osgeo.org/grass72/source/grass-7.2.2.tar.gz" -MD5SUM="4a908a63bb9b7af34fee9569316c0fb6" +DOWNLOAD="https://grass.osgeo.org/grass78/source/grass-7.8.0.tar.gz" +MD5SUM="e9b9d3bbbfe3ef9055ea1398b2222de4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal numpy wxPython" +REQUIRES="gdal numpy3 wxPython4 zstd" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/gis/libLAS/libLAS.SlackBuild b/gis/libLAS/libLAS.SlackBuild index 7d10706655..706f11fa16 100644 --- a/gis/libLAS/libLAS.SlackBuild +++ b/gis/libLAS/libLAS.SlackBuild @@ -78,7 +78,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIBLAS_LIB_SUBDIR:PATH=lib${LIBDIRSUFFIX} \ -DWITH_GEOTIFF:BOOL=TRUE \ - -DWITH_GDAL:BOOL=TRUE \ + -DWITH_GDAL:BOOL=FALSE \ -DWITH_LASZIP:BOOL=TRUE \ -DWITH_UTILITIES:BOOL=TRUE \ -DCMAKE_BUILD_TYPE=Release .. diff --git a/gis/libLAS/libLAS.info b/gis/libLAS/libLAS.info index f2d39597c0..05b3a39afb 100644 --- a/gis/libLAS/libLAS.info +++ b/gis/libLAS/libLAS.info @@ -5,6 +5,6 @@ DOWNLOAD="http://download.osgeo.org/liblas/libLAS-1.8.1.tar.bz2" MD5SUM="2e6a975dafdf57f59a385ccb87eb5919" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal libgeotiff laszip" +REQUIRES="libgeotiff laszip" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/gis/libgeotiff/libgeotiff.SlackBuild b/gis/libgeotiff/libgeotiff.SlackBuild index 425706e1d2..1ccaeacd83 100644 --- a/gis/libgeotiff/libgeotiff.SlackBuild +++ b/gis/libgeotiff/libgeotiff.SlackBuild @@ -25,7 +25,7 @@ # Maintained by David Spencer <baildon.research@googlemail.com> PRGNAM=libgeotiff -VERSION=${VERSION:-1.4.2} +VERSION=${VERSION:-1.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/libgeotiff/libgeotiff.info b/gis/libgeotiff/libgeotiff.info index a43bb292f6..3fdc00c1b6 100644 --- a/gis/libgeotiff/libgeotiff.info +++ b/gis/libgeotiff/libgeotiff.info @@ -1,8 +1,8 @@ PRGNAM="libgeotiff" -VERSION="1.4.2" +VERSION="1.5.1" HOMEPAGE="http://trac.osgeo.org/geotiff/" -DOWNLOAD="http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.4.2.tar.gz" -MD5SUM="96ab80e0d4eff7820579957245d844f8" +DOWNLOAD="http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.5.1.tar.gz" +MD5SUM="6d0fa650c206791bc7d5e60ef625ea77" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="proj" diff --git a/gis/libspatialite/libspatialite.SlackBuild b/gis/libspatialite/libspatialite.SlackBuild index 31f493a5eb..dcaa6a3648 100644 --- a/gis/libspatialite/libspatialite.SlackBuild +++ b/gis/libspatialite/libspatialite.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libspatialite -VERSION=${VERSION:-4.2.0} +VERSION=${VERSION:-4.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,7 +72,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" \ +CFLAGS="$SLKCFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-ldl" \ ./configure \ diff --git a/gis/libspatialite/libspatialite.info b/gis/libspatialite/libspatialite.info index 359559f802..f17c92f24a 100644 --- a/gis/libspatialite/libspatialite.info +++ b/gis/libspatialite/libspatialite.info @@ -1,8 +1,8 @@ PRGNAM="libspatialite" -VERSION="4.2.0" +VERSION="4.3.0" HOMEPAGE="https://www.gaia-gis.it/fossil/libspatialite/index" -DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.2.0.tar.gz" -MD5SUM="83305ed694a77152120d1f74c5151779" +DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.3.0.tar.gz" +MD5SUM="59ec162d3e4db2d247945e3a943f64bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="proj geos freexl postgis" diff --git a/gis/mapnik/README b/gis/mapnik/README index cf54387091..0a99e72189 100644 --- a/gis/mapnik/README +++ b/gis/mapnik/README @@ -4,5 +4,5 @@ used for both desktop map design and web development. Optional dependencies: - gdal: GDAL and OGR plugin support - libwebp: WebP image support -- postgis: PostGIS plugin support +- postgresql: PostGIS plugin support - proj: reprojection support diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild index f0e0dc0077..f72a0c8034 100644 --- a/gis/mapnik/mapnik.SlackBuild +++ b/gis/mapnik/mapnik.SlackBuild @@ -2,7 +2,7 @@ # # SlackBuild for Mapnik # -# Copyright 2012-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2012-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mapnik -VERSION=${VERSION:-3.0.21} -VARIANT=1.1.5 +VERSION=${VERSION:-3.0.23} +VARIANT=1.1.6 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,17 +83,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 {} \; -./configure \ - CC=clang \ - CXX=clang++ \ - JOBS=$JOBS \ +scons configure \ + FAST=True \ CUSTOM_CFLAGS="$SLKCFLAGS" \ CUSTOM_CXXFLAGS="$SLKCFLAGS" \ PREFIX=/usr \ LIBDIR_SCHEMA=lib$LIBDIRSUFFIX \ SYSTEM_FONTS=/usr/share/fonts \ - INPUT_PLUGINS=sqlite,ogr,shape,geojson,gdal,pgraster,raster,topojson,postgis,csv \ - CUSTOM_DEFINES="$CUSTOM_DEFINES" \ + INPUT_PLUGINS=all \ + CUSTOM_DEFINES="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 $CUSTOM_DEFINES" \ DESTDIR=$PKG make install diff --git a/gis/mapnik/mapnik.info b/gis/mapnik/mapnik.info index ec021ce1f4..b86b4c1d97 100644 --- a/gis/mapnik/mapnik.info +++ b/gis/mapnik/mapnik.info @@ -1,13 +1,12 @@ PRGNAM="mapnik" -VERSION="3.0.21" +VERSION="3.0.23" HOMEPAGE="https://mapnik.org" -DOWNLOAD="https://github.com/mapnik/mapnik/archive/v3.0.21/mapnik-3.0.21.tar.gz \ - https://github.com/mapbox/variant/archive/v1.1.5/variant-1.1.5.tar.gz" -MD5SUM="ffd31296d4fcd540108d7a25e5144bc1 \ - efeccaf1adb1da180983445020275c9c" +DOWNLOAD="https://github.com/mapnik/mapnik/archive/v3.0.23/mapnik-3.0.23.tar.gz \ + https://github.com/mapbox/variant/archive/v1.1.6/variant-1.1.6.tar.gz" +MD5SUM="db96c3534426f8edb9fba4d508388b18 \ + 0de5f04949027735dc5d4d824e6e5562" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" - diff --git a/gis/merkaartor/merkaartor.SlackBuild b/gis/merkaartor/merkaartor.SlackBuild index 21655c5d14..b81fd85524 100644 --- a/gis/merkaartor/merkaartor.SlackBuild +++ b/gis/merkaartor/merkaartor.SlackBuild @@ -5,7 +5,7 @@ # Written by otzy_007 (oz@oprod.net) PRGNAM=merkaartor -VERSION=${VERSION:-0.18.2} +VERSION=${VERSION:-0.18.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,9 +53,9 @@ find -L . \ make -C translations release -qmake \ +qmake-qt5 \ QMAKE_CFLAGS="$SLKCFLAGS" \ - QMAKE_CXXFLAGS="$SLKCFLAGS" \ + QMAKE_CXXFLAGS="$SLKCFLAGS -std=c++11" \ NODEBUG=1 \ PREFIX=/usr \ DOCDIR=/usr/doc/$PRGNAM-$VERSION \ @@ -69,7 +69,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS CHANGELOG CREDITS HACKING INSTALL LICENSE LICENSE.rtf TODO \ + AUTHORS CHANGELOG CREDITS HACKING.md LICENSE LICENSE.rtf README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/merkaartor/merkaartor.info b/gis/merkaartor/merkaartor.info index 222414b326..a7949669cc 100644 --- a/gis/merkaartor/merkaartor.info +++ b/gis/merkaartor/merkaartor.info @@ -1,10 +1,10 @@ PRGNAM="merkaartor" -VERSION="0.18.2" +VERSION="0.18.4" HOMEPAGE="http://www.merkaartor.be" -DOWNLOAD="https://github.com/openstreetmap/merkaartor/archive/0.18.2/merkaartor-0.18.2.tar.gz" -MD5SUM="20bbcc08ae0b36819a73f7754a44c5fe" +DOWNLOAD="https://github.com/openstreetmap/merkaartor/archive/0.18.4/merkaartor-0.18.4.tar.gz" +MD5SUM="6669b697105d4e02202fa63d741580d0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal" -MAINTAINER="otzy_007" -EMAIL="oz@oprod.net" +REQUIRES="gdal qt5" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/navit/navit.SlackBuild b/gis/navit/navit.SlackBuild index bdfe25c6cc..fd83e7d0bf 100644 --- a/gis/navit/navit.SlackBuild +++ b/gis/navit/navit.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=navit -VERSION=${VERSION:-R7651} +VERSION=${VERSION:-0.5.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -86,11 +86,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mv $PKG/usr/share/man $PKG/usr/man +cp -a man/* $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 AUTHORS COPYING ChangeLog COPYRIGHT README GPL-2 LGPL-2 $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING CONTRIBUTING.md CHANGELOG.md COPYRIGHT README.md GPL-2 LGPL-2 $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/navit/navit.info b/gis/navit/navit.info index b30a3e705f..2feefba967 100644 --- a/gis/navit/navit.info +++ b/gis/navit/navit.info @@ -1,8 +1,8 @@ PRGNAM="navit" -VERSION="R7651" +VERSION="0.5.4" HOMEPAGE="https://www.navit-project.org" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/navit-R7651.tar.gz" -MD5SUM="cf23a4bc24d1b552da80861b93e86343" +DOWNLOAD="https://github.com/navit-gps/navit/archive/v0.5.4/navit-0.5.4.tar.gz" +MD5SUM="75e0a62cb9be0776a8634beb02112182" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild index 60bfef587b..0b0d9cfb40 100644 --- a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild +++ b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=opencpn-plugin-oesenc -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-4.0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,9 +71,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Don't hardcode the LIB directory sed -i -e 's/^ SET (LIB_INSTALL_DIR "lib")/ SET (LIB_INSTALL_DIR "lib${LIB_SUFFIX}")/' \ cmake/PluginInstall.cmake +# add detection logic for Slackware so libraries get installed to proper location. +patch -p1 < $CWD/slackware-detection-logic.patch + mkdir -p build cd build cmake \ @@ -82,6 +86,8 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc \ + -DCMAKE_INSTALL_LOCALSTATEDIR=/var \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 @@ -92,7 +98,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Notes README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info index 169316277b..576e3c446b 100644 --- a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info +++ b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info @@ -1,8 +1,8 @@ PRGNAM="opencpn-plugin-oesenc" -VERSION="2.1.0" +VERSION="4.0.10" HOMEPAGE="https://opencpn.org/OpenCPN/plugins/oesenc.html" -DOWNLOAD="https://www.dropbox.com/s/uyq7up8ee61xl19/oesenc_pi-2.1.0.tar.gz" -MD5SUM="8aeb8c117bfa57cfa6086b4d23f843c1" +DOWNLOAD="https://github.com/bdbcat/oesenc_pi/archive/v4.0.10/oesenc_pi-4.0.10.tar.gz" +MD5SUM="bfd9b8a1a1661990e95ee73bf86e6bd0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="opencpn" diff --git a/gis/opencpn-plugin-oesenc/slackware-detection-logic.patch b/gis/opencpn-plugin-oesenc/slackware-detection-logic.patch new file mode 100644 index 0000000000..5075353f71 --- /dev/null +++ b/gis/opencpn-plugin-oesenc/slackware-detection-logic.patch @@ -0,0 +1,27 @@ +diff -up oesenc_pi-3.2.0/CMakeLists.txt.orig1 oesenc_pi-3.2.0/CMakeLists.txt +--- oesenc_pi-3.2.0/CMakeLists.txt.orig1 2019-09-01 23:51:42.965365609 -0500 ++++ oesenc_pi-3.2.0/CMakeLists.txt 2019-09-02 00:10:07.037326117 -0500 +@@ -116,18 +116,17 @@ IF (NOT WIN32) + ENDIF(NOT DEFINED PACKAGE_FORMAT)
+
+ IF(NOT DEFINED PACKAGE_FORMAT)
+- IF (EXISTS /etc/os-release OR EXISTS /etc/sysconfig/SuSEfirewall2.d OR EXISTS /etc/suse-release OR EXISTS /etc/SuSE-release)
+- MESSAGE (STATUS "*** OpenSUSE detected ***")
+- SET (PACKAGE_FORMAT "RPM")
+- SET (PACKAGE_DEPS "opencpn")
++ IF (EXISTS /etc/slackware-version)
++ MESSAGE (STATUS "*** Slackware detected ***")
++ SET (PACKAGE_FORMAT "TXZ")
+ IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
+ SET (ARCH "x86_64")
+- SET (LIB_INSTALL_DIR "lib")
++ SET (LIB_INSTALL_DIR "lib64")
+ ELSE (CMAKE_SIZEOF_VOID_P MATCHES "8")
+ SET (ARCH "i386")
+ SET (LIB_INSTALL_DIR "lib")
+ ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8")
+- ENDIF (EXISTS /etc/os-release OR EXISTS /etc/sysconfig/SuSEfirewall2.d OR EXISTS /etc/suse-release OR EXISTS /etc/SuSE-release)
++ ENDIF (EXISTS /etc/slackware-version)
+ ENDIF(NOT DEFINED PACKAGE_FORMAT)
+
+ ENDIF (UNIX AND NOT APPLE)
diff --git a/gis/opencpn/README b/gis/opencpn/README index 1c6dfc8736..13429d3b66 100644 --- a/gis/opencpn/README +++ b/gis/opencpn/README @@ -3,9 +3,15 @@ plotter and navigation software, for use underway or as a planning tool. OpenCPN is developed by a team of active sailors using real world conditions for program testing and refinement. -wxGTK3 is a required dependency, however you can use wxGTK or -wxPython instead if you prefer. If decide to use wxGTK you will -have to recompile wxGTK with the --enable-graphics_ctx option -because it is not enabled in the default slackbuild and is -required by opencpn. The --enable-graphics_ctx option is enabled -by default in the wxGTK3 and wxPython slackbuilds. +If you are upgrading or installing new, OpenCPN 5.x now requires +that wxGTK3 be built with webkitgtk support. So you will have to +install webkitgtk available here at SBo, then build and install +wxGTK3. + +OpenCPN only looks for plugins in the "lib" directories. So on +x86_64 we have to pass an environment variable to use plugins. +The menu launcher will automatically set this for you, however +if you choose to launch OpenCPN from the command line you must +launch it with this command to get plugin support on x86_64. + +OPENCPN_PLUGIN_DIRS="/usr/lib64/opencpn" opencpn diff --git a/gis/opencpn/opencpn.SlackBuild b/gis/opencpn/opencpn.SlackBuild index a9225645b8..f0d12e610b 100644 --- a/gis/opencpn/opencpn.SlackBuild +++ b/gis/opencpn/opencpn.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for opencpn -# Copyright 2016 Matt Dinslage, Springfield, MO +# Copyright 2019 Matt Dinslage, Springfield, MO # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=opencpn -VERSION=${VERSION:-4.8.8} +VERSION=${VERSION:-5.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,8 +70,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 {} \; -#honor LIBDIRSUFFIX -patch -p1 < $CWD/opencpn-4.4.0-multilib-strict.patch +# Apply patches to fix following issues... +# Honor MANDIR +# Honor LIBSUFFIXDIR +# Fix building with newer cmake versions +for patch in $CWD/patches/* ; do + patch -p1 < $patch +done + +# opencpn does not have specific checks for Slackware so it +# defautls to a i386 arch. Change this for x86_64 +if [ "$ARCH" = "x86_64" ]; then + sed -i '0,/i386/s//x86_64/' CMakeLists.txt +fi mkdir -p build cd build @@ -91,12 +102,27 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 INSTALL README data/doc/help_en_US.html data/license.txt $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# Add an icon to /usr/share/pixmaps so menu launcher has icon +mkdir -p $PKG/usr/share/pixmaps +convert $PKG/usr/share/icons/hicolor/scalable/apps/opencpn.svg -resize 256x256 \ + $PKG/usr/share/pixmaps/opencpn.png + +# OpenCPN only looks for plugins in the "lib" directories. We +# have to set an evnironment variable in order for OpenCPN to +# find plugins in "lib64" +if [ "$ARCH" = "x86_64" ]; then + sed -i 's,Exec=opencpn,Exec=env OPENCPN_PLUGIN_DIRS="/usr/lib64/opencpn" opencpn,g' $PKG/usr/share/applications/opencpn.desktop +fi + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/gis/opencpn/opencpn.info b/gis/opencpn/opencpn.info index 3fce33c1dd..b90d60ab9f 100644 --- a/gis/opencpn/opencpn.info +++ b/gis/opencpn/opencpn.info @@ -1,10 +1,10 @@ PRGNAM="opencpn" -VERSION="4.8.8" -HOMEPAGE="https://opencpn.org/ocpn/" -DOWNLOAD="https://github.com/OpenCPN/OpenCPN/archive/v4.8.8/OpenCPN-4.8.8.tar.gz" -MD5SUM="5392999e278b63a61f5dec78d2539280" +VERSION="5.0.0" +HOMEPAGE="https://opencpn.org/" +DOWNLOAD="https://github.com/OpenCPN/OpenCPN/archive/v5.0.0/OpenCPN-5.0.0.tar.gz" +MD5SUM="a6e79c2c6f64037be1894b48b9a1014a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gpsd tinyxml libmspack portaudio wxGTK3" +REQUIRES="gpsd tinyxml libmspack portaudio webkitgtk wxGTK3" MAINTAINER="M.Dinslage" EMAIL="daedra1980@gmail.com" diff --git a/gis/opencpn/patches/cmake_build_fix.patch b/gis/opencpn/patches/cmake_build_fix.patch new file mode 100644 index 0000000000..aca98fe9f0 --- /dev/null +++ b/gis/opencpn/patches/cmake_build_fix.patch @@ -0,0 +1,79 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fcec1191a..8df2a9e21 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -408,9 +408,9 @@ IF((_wx_selected_config MATCHES "qt-armv7")) + ENDIF() + + IF((_wx_selected_config MATCHES "qt-armv7")) +- SET(wxWidgets_USE_LIBS base core xml html adv aui) ++ SET(wxWidgets_FIND_COMPONENTS base core xml html adv aui) + ELSE() +- SET(wxWidgets_USE_LIBS net xml html adv aui core base webview) ++ SET(wxWidgets_FIND_COMPONENTS net xml html adv aui core base webview) + ENDIF() + + OPTION (USE_GL "Enable OpenGL support" ON) +@@ -436,7 +436,7 @@ IF (ARCH MATCHES "arm*" AND (NOT QT_ANDROID) AND CMAKE_SYSTEM_NAME MATCHES ".*Li + SET(OPENGLES_FOUND "YES") + SET(OPENGL_FOUND "YES") + +- SET(wxWidgets_USE_LIBS ${wxWidgets_USE_LIBS} gl ) ++ SET(wxWidgets_FIND_COMPONENTS ${wxWidgets_FIND_COMPONENTS} gl ) + add_subdirectory(src/glshim) + + SET(OPENGL_LIBRARIES "GL_static" "EGL" "X11" "drm" ) +@@ -455,7 +455,7 @@ IF(QT_ANDROID) + SET(OPENGLES_FOUND "YES") + SET(OPENGL_FOUND "YES") + +- SET(wxWidgets_USE_LIBS ${wxWidgets_USE_LIBS} gl ) ++ SET(wxWidgets_FIND_COMPONENTS ${wxWidgets_FIND_COMPONENTS} gl ) + add_subdirectory(src/glshim) + ENDIF(QT_ANDROID) + +@@ -468,7 +468,7 @@ IF ((NOT OPENGLES_FOUND) AND (NOT QT_ANDROID)) + ENDIF(USE_GL) + + IF(OPENGL_FOUND) +- SET(wxWidgets_USE_LIBS gl ${wxWidgets_USE_LIBS} ) ++ SET(wxWidgets_FIND_COMPONENTS gl ${wxWidgets_FIND_COMPONENTS} ) + INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR}) + + MESSAGE (STATUS "Found OpenGL...." ) +@@ -529,14 +529,14 @@ IF(NOT QT_ANDROID) + ENDIF(MSVC) + + IF(WIN32 OR APPLE OR QT_ANDROID) +- FIND_PACKAGE(wxWidgets) ++ FIND_PACKAGE(wxWidgets COMPONENTS ${wxWidgets_FIND_COMPONENTS}) + if (wxWidgets_FOUND) + message(STATUS "Found wxWidgets webview add-on") + add_definitions(-DOCPN_USE_WEBVIEW) + else () +- list(REMOVE_ITEM wxWidgets_USE_LIBS webview) ++ list(REMOVE_ITEM wxWidgets_FIND_COMPONENTS webview) + message(STATUS "Could not find wxWidgets webview add-on") +- FIND_PACKAGE(wxWidgets REQUIRED) ++ FIND_PACKAGE(wxWidgets REQUIRED COMPONENTS ${wxWidgets_FIND_COMPONENTS}) + endif () + IF(MSYS) + # this is to convert msys to windows paths, and handle the missing /usr +@@ -1053,14 +1053,14 @@ IF(NOT WIN32 AND NOT APPLE AND NOT QT_ANDROID) + set(wxWidgets_CONFIG_OPTIONS ${wxWidgets_CONFIG_OPTIONS} --toolkit=gtk3) + MESSAGE(STATUS "Building against GTK3...") + ENDIF(GTK2_FOUND) +- FIND_PACKAGE(wxWidgets) ++ FIND_PACKAGE(wxWidgets COMPONENTS ${wxWidgets_FIND_COMPONENTS}) + if (wxWidgets_FOUND) + message(STATUS "Found wxWidgets webview add-on") + add_definitions(-DOCPN_USE_WEBVIEW) + else () +- list(REMOVE_ITEM wxWidgets_USE_LIBS webview) ++ list(REMOVE_ITEM wxWidgets_FIND_COMPONENTS webview) + message(STATUS "Could not find wxWidgets webview add-on") +- FIND_PACKAGE(wxWidgets REQUIRED) ++ FIND_PACKAGE(wxWidgets REQUIRED COMPONENTS ${wxWidgets_FIND_COMPONENTS}) + endif () + MESSAGE (STATUS "Found wxWidgets..." ) + MESSAGE (STATUS " wxWidgets Include: ${wxWidgets_INCLUDE_DIRS}") diff --git a/gis/opencpn/patches/honor_mandir.patch b/gis/opencpn/patches/honor_mandir.patch new file mode 100644 index 0000000000..8a92dd86c8 --- /dev/null +++ b/gis/opencpn/patches/honor_mandir.patch @@ -0,0 +1,20 @@ +diff -up OpenCPN-5.0.0/CMakeLists.txt.orig OpenCPN-5.0.0/CMakeLists.txt +--- OpenCPN-5.0.0/CMakeLists.txt.orig 2019-04-03 13:49:21.423885285 -0500 ++++ OpenCPN-5.0.0/CMakeLists.txt 2019-04-03 13:51:19.789880135 -0500 +@@ -91,6 +91,7 @@ SET(CMAKE_MODULE_PATH + ${CMAKE_SOURCE_DIR}/cmake + ) + ++SET(MAN_PATH "man/man1") + + set (CMAKE_CXX_STANDARD 11) + message(STATUS "Setting C++11 standard via cmake standard mechanism") +@@ -2422,7 +2423,7 @@ IF(NOT APPLE) + INSTALL(FILES src/bitmaps/other_svg_src/opencpn.svg DESTINATION ${PREFIX_DATA}/icons/hicolor/scalable/apps PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) + INSTALL(FILES data/opencpn.desktop DESTINATION ${PREFIX_DATA}/applications PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ ) + INSTALL(FILES data/opencpn.appdata.xml DESTINATION ${PREFIX_DATA}/appdata PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ ) +- INSTALL(FILES opencpn.1 DESTINATION ${PREFIX_DATA}/man/man1 PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ ) ++ INSTALL(FILES opencpn.1 DESTINATION ${MAN_PATH} PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ ) + ENDIF(UNIX) + + ENDIF(NOT APPLE) diff --git a/gis/opencpn/opencpn-4.4.0-multilib-strict.patch b/gis/opencpn/patches/opencpn-4.4.0-multilib-strict.patch index f832e01a7e..877e7beb8c 100644 --- a/gis/opencpn/opencpn-4.4.0-multilib-strict.patch +++ b/gis/opencpn/patches/opencpn-4.4.0-multilib-strict.patch @@ -11,3 +11,4 @@ diff -up OpenCPN-4.4.0/CMakeLists.txt.orig OpenCPN-4.4.0/CMakeLists.txt IF(APPLE) IF (CMAKE_SIZEOF_VOID_P MATCHES "8") # IF (CMAKE_OSX_64) + diff --git a/gis/openorienteering-mapper/fix_doc_path.diff b/gis/openorienteering-mapper/fix_doc_path.diff index e699058897..87b1586cf0 100644 --- a/gis/openorienteering-mapper/fix_doc_path.diff +++ b/gis/openorienteering-mapper/fix_doc_path.diff @@ -1,6 +1,6 @@ ---- mapper-0.8.4/CMakeLists.txt.orig 2018-12-24 21:53:23.908987869 +0300 -+++ mapper-0.8.4/CMakeLists.txt 2018-12-24 21:54:21.859594839 +0300 -@@ -152,7 +152,7 @@ +--- 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}") diff --git a/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild b/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild index a9e593923c..752d1ef2b4 100644 --- a/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild +++ b/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for OpenOrienteering Mapper -# Copyright 2016-2018, Nikolay Korotkiy <sikmir@gmail.com> +# Copyright 2016-2019, Nikolay Korotkiy <sikmir@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openorienteering-mapper -VERSION=${VERSION:-0.8.4} +VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/openorienteering-mapper/openorienteering-mapper.info b/gis/openorienteering-mapper/openorienteering-mapper.info index 8eea48c9ae..9df71846be 100644 --- a/gis/openorienteering-mapper/openorienteering-mapper.info +++ b/gis/openorienteering-mapper/openorienteering-mapper.info @@ -1,8 +1,8 @@ PRGNAM="openorienteering-mapper" -VERSION="0.8.4" +VERSION="0.9.0" HOMEPAGE="https://www.openorienteering.org/apps/mapper/" -DOWNLOAD="https://github.com/OpenOrienteering/mapper/archive/v0.8.4/mapper-0.8.4.tar.gz" -MD5SUM="a29b2c5878910d6619bd022f95774c69" +DOWNLOAD="https://github.com/OpenOrienteering/mapper/archive/v0.9.0/mapper-0.9.0.tar.gz" +MD5SUM="7135d60bcacaba0fde002543705c9eea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gdal polyclipping proj qt5" diff --git a/gis/osgEarth/README b/gis/osgEarth/README index 8026af489f..eb37a51796 100644 --- a/gis/osgEarth/README +++ b/gis/osgEarth/README @@ -7,17 +7,4 @@ get up and running quickly and easily. Some optional requirements are recommended for enhanced functionality and/or performance. They include: - osgQt, poco, protobuf, rocksdb - -For all but osgQt, they will be used if detected when osgEarth is built. - -In the case of osgQt, the version of Qt that it was built with is relevant. -If osgQt was built with Qt5, the environment variable OSGQT=5 must be set when -running the osgEarth SlackBuild i.e. - OSGQT=5 sh osgEarth.SlackBuild -In this case, the qt5 package is also an additional build requirement. - -If osgQt was built with Qt4 (the standard for Slackware 14.2), set OSGQT=4 i.e. - OSGQT=4 sh osgEarth.SlackBuild - -If OSGQT is not set, osgQt support will not be included. + poco, protobuf, rocksdb diff --git a/gis/osgEarth/geos-3_6_1-support.patch b/gis/osgEarth/geos-3_6_1-support.patch deleted file mode 100644 index fc6a6beefb..0000000000 --- a/gis/osgEarth/geos-3_6_1-support.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -Naur osgearth-osgearth-2.8-orig/src/osgEarthSymbology/GEOS osgearth-osgearth-2.8/src/osgEarthSymbology/GEOS ---- osgearth-osgearth-2.8-orig/src/osgEarthSymbology/GEOS 2016-09-15 17:19:21.000000000 +0300 -+++ osgearth-osgearth-2.8/src/osgEarthSymbology/GEOS 2017-02-02 19:43:19.103864300 +0300 -@@ -26,6 +26,7 @@ - #include <osgEarthSymbology/Style> - #include <osgEarthSymbology/Geometry> - #include <geos/geom/Geometry.h> -+#include <geos/geom/GeometryFactory.h> - - namespace osgEarth { namespace Symbology - { -@@ -45,7 +46,7 @@ - void disposeGeometry(geos::geom::Geometry* input); - - protected: -- geos::geom::GeometryFactory* _factory; -+ geos::geom::GeometryFactory::unique_ptr _factory; - }; - - } } // namespace osgEarth::Features -diff -Naur osgearth-osgearth-2.8-orig/src/osgEarthSymbology/GEOS.cpp osgearth-osgearth-2.8/src/osgEarthSymbology/GEOS.cpp ---- osgearth-osgearth-2.8-orig/src/osgEarthSymbology/GEOS.cpp 2016-09-15 17:19:21.000000000 +0300 -+++ osgearth-osgearth-2.8/src/osgEarthSymbology/GEOS.cpp 2017-02-02 19:44:46.772878700 +0300 -@@ -67,7 +67,7 @@ - } - - geom::Geometry* -- import( const Symbology::Geometry* input, const geom::GeometryFactory* f ) -+ import( const Symbology::Geometry* input, const geom::GeometryFactory::unique_ptr f ) - { - geom::Geometry* output = 0L; - -@@ -216,7 +216,7 @@ - geos::geom::PrecisionModel* pm = new geos::geom::PrecisionModel(geom::PrecisionModel::FLOATING); - - // Factory will clone the PM -- _factory = new geos::geom::GeometryFactory( pm ); -+ _factory = geos::geom::GeometryFactory::create( pm ); - - // Delete the template. - delete pm; -@@ -224,7 +224,6 @@ - - GEOSContext::~GEOSContext() - { -- delete _factory; - } - - geom::Geometry* -@@ -331,10 +330,7 @@ - { - if (input) - { -- geom::GeometryFactory* f = const_cast<geom::GeometryFactory*>(input->getFactory()); - _factory->destroyGeometry(input); -- if ( f != _factory ) -- delete f; - } - } - diff --git a/gis/osgEarth/geos-3_8-support.patch b/gis/osgEarth/geos-3_8-support.patch new file mode 100644 index 0000000000..5993d4cb0c --- /dev/null +++ b/gis/osgEarth/geos-3_8-support.patch @@ -0,0 +1,69 @@ +diff -Nur osgearth-osgearth-2.10.2.a/src/osgEarthSymbology/GEOS.cpp osgearth-osgearth-2.10.2.b/src/osgEarthSymbology/GEOS.cpp +--- osgearth-osgearth-2.10.2.a/src/osgEarthSymbology/GEOS.cpp 2019-07-12 08:49:14.000000000 -0700 ++++ osgearth-osgearth-2.10.2.b/src/osgEarthSymbology/GEOS.cpp 2019-11-16 10:00:08.966241888 -0800 +@@ -49,7 +49,7 @@ + + namespace + { +- geom::CoordinateSequence* ++ std::unique_ptr<geom::CoordinateSequence> + vec3dArray2CoordSeq( const Symbology::Geometry* input, bool close, const geom::CoordinateSequenceFactory* factory ) + { + bool needToClose = close && input->size() > 2 && input->front() != input->back(); +@@ -64,7 +64,7 @@ + { + coords->push_back( coords->front() ); + } +- geom::CoordinateSequence* seq = factory->create( coords ); ++ std::unique_ptr<geom::CoordinateSequence> seq = factory->create( coords ); + + return seq; + } +@@ -108,7 +108,8 @@ + else + { + // any other type will at least contain points: +- geom::CoordinateSequence* seq = 0L; ++ std::unique_ptr<geom::CoordinateSequence> seq = 0L; ++ + try + { + switch( input->getType() ) +@@ -119,24 +120,24 @@ + + case Symbology::Geometry::TYPE_POINTSET: + seq = vec3dArray2CoordSeq( input, false, f->getCoordinateSequenceFactory() ); +- if ( seq ) output = f->createPoint( seq ); ++ if ( seq ) output = f->createPoint( *seq ); + break; + + case Symbology::Geometry::TYPE_LINESTRING: + seq = vec3dArray2CoordSeq( input, false, f->getCoordinateSequenceFactory() ); +- if ( seq ) output = f->createLineString( seq ); ++ if ( seq ) output = f->createLineString( *seq ); + break; + + case Symbology::Geometry::TYPE_RING: + seq = vec3dArray2CoordSeq( input, true, f->getCoordinateSequenceFactory() ); +- if ( seq ) output = f->createLinearRing( seq ); ++ if ( seq ) output = f->createLinearRing( *seq ); + break; + + case Symbology::Geometry::TYPE_POLYGON: + seq = vec3dArray2CoordSeq( input, true, f->getCoordinateSequenceFactory() ); + geom::LinearRing* shell = 0L; + if ( seq ) +- shell = f->createLinearRing( seq ); ++ shell = f->createLinearRing( *seq ); + + if ( shell ) + { +@@ -155,7 +156,7 @@ + holes = 0L; + } + } +- output = f->createPolygon( shell, holes ); ++ output = f->createPolygon( shell, (std::vector<geom::LinearRing * >*)holes ); + } + + break; diff --git a/gis/osgEarth/osgEarth.SlackBuild b/gis/osgEarth/osgEarth.SlackBuild index adde7db9aa..cf201daf4e 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 Christoph Willing, Brisbane Australia +# Copyright 2018-2019 Christoph Willing, Brisbane Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=osgEarth SRCNAM=osgearth -VERSION=${VERSION:-2.10} +VERSION=${VERSION:-2.10.2} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -43,10 +43,10 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-O2 -march=i586 -mtune=i686 -msse4.1" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686 -msse4.1" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" @@ -56,16 +56,6 @@ else LIBDIRSUFFIX="" fi -osgqt=""; -echo "OSGQT = $OSGQT" -if [ "$OSGQT" = "4" ]; then - osgqt="-DOSGEARTH_QT_BUILD=ON -DOSGEARTH_QT_VERSION=4" -elif [ "$OSGQT" = "5" ]; then - osgqt="-DOSGEARTH_QT_BUILD=ON -DOSGEARTH_QT_VERSION=5" -else - osgqt="" -fi - set -e rm -rf $PKG @@ -81,6 +71,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/geos-3_8-support.patch + mkdir -p build cd build cmake .. \ @@ -88,8 +80,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lX11" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ - -DDYNAMIC_OSGEARTH=ON \ - $osgqt + -DDYNAMIC_OSGEARTH=ON make make install DESTDIR=$PKG diff --git a/gis/osgEarth/osgEarth.info b/gis/osgEarth/osgEarth.info index 984a63f1bd..d87bb83193 100644 --- a/gis/osgEarth/osgEarth.info +++ b/gis/osgEarth/osgEarth.info @@ -1,8 +1,8 @@ PRGNAM="osgEarth" -VERSION="2.10" +VERSION="2.10.2" HOMEPAGE="http://osgearth.org/" -DOWNLOAD="https://github.com/gwaldron/osgearth/archive/osgearth-2.10/osgearth-osgearth-2.10.tar.gz" -MD5SUM="8eba9d37a7d3da82f76505ee0ac6d2c0" +DOWNLOAD="https://github.com/gwaldron/osgearth/archive/osgearth-2.10.2/osgearth-osgearth-2.10.2.tar.gz" +MD5SUM="24f01afedb2eeac8154bf64772b7cbc7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="OpenSceneGraph gdal" diff --git a/gis/osm2pgrouting/osm2pgrouting.SlackBuild b/gis/osm2pgrouting/osm2pgrouting.SlackBuild index 85f927efd1..c733c2e057 100644 --- a/gis/osm2pgrouting/osm2pgrouting.SlackBuild +++ b/gis/osm2pgrouting/osm2pgrouting.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for osm2pgrouting -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=osm2pgrouting -VERSION=${VERSION:-2.3.6} +VERSION=${VERSION:-2.3.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -82,7 +82,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS.md COPYING NEWS Readme.md \ + AUTHORS.md COPYING NEWS README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/osm2pgrouting/osm2pgrouting.info b/gis/osm2pgrouting/osm2pgrouting.info index ec5e008a9e..050108d4da 100644 --- a/gis/osm2pgrouting/osm2pgrouting.info +++ b/gis/osm2pgrouting/osm2pgrouting.info @@ -1,8 +1,8 @@ PRGNAM="osm2pgrouting" -VERSION="2.3.6" +VERSION="2.3.7" HOMEPAGE="https://pgrouting.org" -DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.3.6/osm2pgrouting-2.3.6.tar.gz" -MD5SUM="7d5b073f55f551ddfd51d07c7f15b651" +DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.3.7/osm2pgrouting-2.3.7.tar.gz" +MD5SUM="3e4747bbfcec76785fc171b4c8dc73d1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libpqxx pgrouting" diff --git a/gis/osm2pgsql/osm2pgsql.SlackBuild b/gis/osm2pgsql/osm2pgsql.SlackBuild index 45cbf81c65..df61f404ea 100644 --- a/gis/osm2pgsql/osm2pgsql.SlackBuild +++ b/gis/osm2pgsql/osm2pgsql.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for osm2pgsql -# Copyright 2013 Benjamin Trigona-Harany +# Copyright 2013-2021 Benjamin Trigona-Harany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=osm2pgsql -VERSION=${VERSION:-0.96.0} +VERSION=${VERSION:-1.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,7 +74,6 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_TESTING=OFF \ -DBUILD_TESTS=OFF \ -DWITH_LUAJIT=ON \ -DCMAKE_BUILD_TYPE=Release .. @@ -90,7 +89,7 @@ gzip -9 $PKG/usr/man/man?/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog README.md \ + AUTHORS COPYING README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/osm2pgsql/osm2pgsql.info b/gis/osm2pgsql/osm2pgsql.info index 7509fff27e..28e89137ac 100644 --- a/gis/osm2pgsql/osm2pgsql.info +++ b/gis/osm2pgsql/osm2pgsql.info @@ -1,8 +1,8 @@ PRGNAM="osm2pgsql" -VERSION="0.96.0" +VERSION="1.4.2" HOMEPAGE="https://wiki.openstreetmap.org/wiki/Osm2pgsql" -DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/0.96.0/osm2pgsql-0.96.0.tar.gz" -MD5SUM="c6abde50a99fd5eb1342532fd6e78306" +DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/1.4.2/osm2pgsql-1.4.2.tar.gz" +MD5SUM="6c849709fb967d75554be503385e88f6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="luajit postgis" diff --git a/gis/ossim/ossim.SlackBuild b/gis/ossim/ossim.SlackBuild index ed8179c0f0..54c0ff178f 100644 --- a/gis/ossim/ossim.SlackBuild +++ b/gis/ossim/ossim.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for ossim -# Copyright 2018-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2018-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,8 +25,8 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ossim -RELNAM=Juno -VERSION=${VERSION:-2.6.2} +RELNAM=OrchidIsland +VERSION=${VERSION:-2.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/ossim/ossim.info b/gis/ossim/ossim.info index da54a35adb..4484866bb7 100644 --- a/gis/ossim/ossim.info +++ b/gis/ossim/ossim.info @@ -1,8 +1,8 @@ PRGNAM="ossim" -VERSION="2.6.2" +VERSION="2.11.1" HOMEPAGE="https://trac.osgeo.org/ossim/" -DOWNLOAD="https://github.com/ossimlabs/ossim/archive/Juno-2.6.2/ossim-Juno-2.6.2.tar.gz" -MD5SUM="bfbaf80d874d7d314efcda0317c76255" +DOWNLOAD="https://github.com/ossimlabs/ossim/archive/OrchidIsland-2.11.1/ossim-OrchidIsland-2.11.1.tar.gz" +MD5SUM="7a24fe73e990e0d0f286b5675c0ab6e7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="geos jsoncpp libgeotiff" diff --git a/gis/ossim/slack-desc b/gis/ossim/slack-desc index e17fcb0e55..04e1291fff 100644 --- a/gis/ossim/slack-desc +++ b/gis/ossim/slack-desc @@ -1,4 +1,4 @@ -#/ossim-2.3.1 HOW TO EDIT THIS FILE: +# 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. @@ -11,9 +11,9 @@ ossim: ossim: OSSIM is a powerful suite of geospatial libraries and applications ossim: used to process imagery, maps, terrain and vector data. The software ossim: has been under active development since 1996 and is deployed across a -ossim: number of private, federal and civilian agencies. +ossim: number of private, federal and civilian agencies. +ossim: ossim: ossim: -ossim: ossim: ossim: diff --git a/gis/pdal/pdal.SlackBuild b/gis/pdal/pdal.SlackBuild index 466446b450..0c888539a4 100644 --- a/gis/pdal/pdal.SlackBuild +++ b/gis/pdal/pdal.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pdal -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=pdal SRCNAM=PDAL -VERSION=${VERSION:-1.8.0} +VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -93,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS.txt CITATION ChangeLog LICENSE.txt README.md RELEASENOTES.txt \ + AUTHORS.txt CITATION LICENSE.txt README.md RELEASENOTES.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/pdal/pdal.info b/gis/pdal/pdal.info index cde8f1514d..4de5303903 100644 --- a/gis/pdal/pdal.info +++ b/gis/pdal/pdal.info @@ -1,8 +1,8 @@ PRGNAM="pdal" -VERSION="1.8.0" +VERSION="2.2.0" HOMEPAGE="http://pointcloud.org" -DOWNLOAD="https://github.com/PDAL/PDAL/archive/1.8.0/PDAL-1.8.0.tar.gz" -MD5SUM="e3af71fcfb2136d0d94bc00a47501130" +DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.2.0/PDAL-2.2.0.tar.gz" +MD5SUM="b85ebc55f84821c8c2ed604d2b3b4b1e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gdal libgeotiff postgresql" diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild index c9095bef29..ffde730c6b 100644 --- a/gis/pgrouting/pgrouting.SlackBuild +++ b/gis/pgrouting/pgrouting.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for pgRouting -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pgrouting -VERSION=${VERSION:-2.6.2} +VERSION=${VERSION:-3.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/pgrouting/pgrouting.info b/gis/pgrouting/pgrouting.info index 1fbdcc7d5f..42e7d07326 100644 --- a/gis/pgrouting/pgrouting.info +++ b/gis/pgrouting/pgrouting.info @@ -1,8 +1,8 @@ PRGNAM="pgrouting" -VERSION="2.6.2" +VERSION="3.1.3" HOMEPAGE="https://pgrouting.org" -DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v2.6.2/pgrouting-2.6.2.tar.gz" -MD5SUM="08378e74e036d78d3d421da29069890d" +DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v3.1.3/pgrouting-3.1.3.tar.gz" +MD5SUM="fd4a7d8b098ed57c4afb630e4e7d1b13" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="CGAL postgis" diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild index fcbaa65d5d..3f1e8deb6c 100644 --- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild +++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for pgsql-ogr-fdw -# Copyright 2015-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2015-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pgsql-ogr-fdw -VERSION=${VERSION:-1.0.7} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -82,7 +82,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + FAQ.md LICENSE.md README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info index 56fec9348d..4e350c79de 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.0.7" +VERSION="1.1.0" HOMEPAGE="https://github.com/pramsey/pgsql-ogr-fdw" -DOWNLOAD="https://github.com/pramsey/pgsql-ogr-fdw/archive/v1.0.7/pgsql-ogr-fdw-1.0.7.tar.gz" -MD5SUM="2bfdea93ae5e39c827bb6043a6bc35f6" +DOWNLOAD="https://github.com/pramsey/pgsql-ogr-fdw/archive/v1.1.0/pgsql-ogr-fdw-1.1.0.tar.gz" +MD5SUM="1a14ab7f6238e790ca139254f47e579b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgis" diff --git a/gis/pointcloud/pointcloud.SlackBuild b/gis/pointcloud/pointcloud.SlackBuild index f74b10186f..7fe6477083 100644 --- a/gis/pointcloud/pointcloud.SlackBuild +++ b/gis/pointcloud/pointcloud.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pointcloud -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pointcloud -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/pointcloud/pointcloud.info b/gis/pointcloud/pointcloud.info index 9a495b8e7b..8f9193492a 100644 --- a/gis/pointcloud/pointcloud.info +++ b/gis/pointcloud/pointcloud.info @@ -1,8 +1,8 @@ PRGNAM="pointcloud" -VERSION="1.2.0" +VERSION="1.2.1" HOMEPAGE="https://github.com/pramsey/pointcloud" -DOWNLOAD="https://github.com/pramsey/pointcloud/archive/v1.2.0/pointcloud-1.2.0.tar.gz" -MD5SUM="ad7241cd53f69d8fd2b3850fba28c39e" +DOWNLOAD="https://github.com/pramsey/pointcloud/archive/v1.2.1/pointcloud-1.2.1.tar.gz" +MD5SUM="902e6028dbf12271e6d3909471065d9d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql" diff --git a/gis/polyline/polyline.SlackBuild b/gis/polyline/polyline.SlackBuild index 304e8a71a5..5b2f18b774 100644 --- a/gis/polyline/polyline.SlackBuild +++ b/gis/polyline/polyline.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for polyline -# Copyright 2015-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2015-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=polyline -VERSION=${VERSION:-1.3.2} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/polyline/polyline.info b/gis/polyline/polyline.info index 0d4449ce2a..df153f546a 100644 --- a/gis/polyline/polyline.info +++ b/gis/polyline/polyline.info @@ -1,8 +1,8 @@ PRGNAM="polyline" -VERSION="1.3.2" +VERSION="1.4.0" HOMEPAGE="https://pypi.python.org/pypi/polyline/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/polyline/polyline-1.3.2.tar.gz" -MD5SUM="802f43c5134f5a2386657f60dca9602b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/polyline/polyline-1.4.0.tar.gz" +MD5SUM="b97c57378605c4a856c437569f95a0cb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="six python3-six" diff --git a/gis/postgis/README b/gis/postgis/README index 67c3bac5b7..abb1a3aed1 100644 --- a/gis/postgis/README +++ b/gis/postgis/README @@ -5,8 +5,6 @@ systems (GIS). SFCGAL is an optional dependency for advanced 3D support. -protobuf-c is an optional dependency for MapBox vector tile support. - To disable the GTK-based graphical interface for shp2pgsql, set GUI=no. To include the shp2pgsql plugin for pgAdmin set PGADMIN=yes. diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild index 521bd55396..39a2f6c822 100644 --- a/gis/postgis/postgis.SlackBuild +++ b/gis/postgis/postgis.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for PostGIS # Copyright 2009 Peter Sarkoci <sarkoci@math.sk> -# Maintained 2013-2018 by Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Maintained 2013-2021 by Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=postgis -VERSION=${VERSION:-2.5.1} +VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/postgis/postgis.info b/gis/postgis/postgis.info index cfee3dabc5..5ca7ffcd08 100644 --- a/gis/postgis/postgis.info +++ b/gis/postgis/postgis.info @@ -1,10 +1,10 @@ PRGNAM="postgis" -VERSION="2.5.1" +VERSION="3.1.1" HOMEPAGE="http://postgis.org" -DOWNLOAD="http://download.osgeo.org/postgis/source/postgis-2.5.1.tar.gz" -MD5SUM="33bd93a527757dbf852639d21f82399e" +DOWNLOAD="http://download.osgeo.org/postgis/source/postgis-3.1.1.tar.gz" +MD5SUM="10ef40ef64d7673cc34a1c1677584c95" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal postgresql" +REQUIRES="gdal postgresql protobuf-c" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/proj-data/README b/gis/proj-data/README new file mode 100644 index 0000000000..4214b49d32 --- /dev/null +++ b/gis/proj-data/README @@ -0,0 +1,2 @@ +proj-data contains shift grids for horizontal and vertical coordinate +transformations for use with the proj package. diff --git a/gis/proj-data/proj-data.SlackBuild b/gis/proj-data/proj-data.SlackBuild new file mode 100644 index 0000000000..4def9967ce --- /dev/null +++ b/gis/proj-data/proj-data.SlackBuild @@ -0,0 +1,51 @@ +#!/bin/sh + +# Slackware build script for proj-data +# Copyright 2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# +# 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. + +PRGNAM=proj-data +VERSION=${VERSION:-1.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT + +mkdir -p $PKG/usr/share/proj +tar -C $PKG/usr/share/proj -x -v -f $CWD/$PRGNAM-$VERSION.tar.gz +chown -R root:root $PKG/usr/share/proj + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/proj/README.DATA $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:-tgz} diff --git a/gis/proj-data/proj-data.info b/gis/proj-data/proj-data.info new file mode 100644 index 0000000000..6e5214473a --- /dev/null +++ b/gis/proj-data/proj-data.info @@ -0,0 +1,10 @@ +PRGNAM="proj-data" +VERSION="1.3" +HOMEPAGE="https://www.osgeo.org/projects/proj/" +DOWNLOAD="https://github.com/OSGeo/PROJ-data/releases/download/1.3.0/proj-data-1.3.tar.gz" +MD5SUM="7d202814fa70ff56f70fa4776a62b4f3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="proj" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/basemap/slack-desc b/gis/proj-data/slack-desc index 748c55a411..c62281090f 100644 --- a/gis/basemap/slack-desc +++ b/gis/proj-data/slack-desc @@ -5,15 +5,15 @@ # 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------------------------------------------------------| -basemap: basemap (matplotlib library) -basemap: -basemap: Plot on map projections (with coastlines and political boundaries) -basemap: using matplotlib. -basemap: -basemap: Homepage: https://sourceforge.net/projects/matplotlib/ -basemap: -basemap: -basemap: -basemap: -basemap: + |-----handy-ruler------------------------------------------------------| +proj-data: proj-data (proj datum grids) +proj-data: +proj-data: proj-data contains shift grids for horizontal and vertical +proj-data: coordinate transformations for use with the proj package. +proj-data: +proj-data: +proj-data: +proj-data: +proj-data: +proj-data: +proj-data: diff --git a/gis/proj/README b/gis/proj/README index 7af2be3c54..409d0f07da 100644 --- a/gis/proj/README +++ b/gis/proj/README @@ -2,5 +2,6 @@ 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. -This SlackBuild also includes the datum grid files for PROJ (excluding the -regional resource packages). +For datum grids, install the proj-data package. Without this package, proj can +fetch required grids from the internet as needed. + diff --git a/gis/proj/proj.SlackBuild b/gis/proj/proj.SlackBuild index cb67e4fdb0..8461345c38 100644 --- a/gis/proj/proj.SlackBuild +++ b/gis/proj/proj.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for proj # Written by Kyle Guinn <elyk03@gmail.com> -# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -22,8 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=proj -VERSION=${VERSION:-5.2.0} -DGVERSION=${DGVERSION:-1.8} +VERSION=${VERSION:-7.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -86,9 +85,6 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -unzip -n -d $PKG/usr/share/$PRGNAM $CWD/$PRGNAM-datumgrid-$DGVERSION.zip -chmod o+rX $PKG/usr/share/$PRGNAM/* - 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 diff --git a/gis/proj/proj.info b/gis/proj/proj.info index d207350d8f..56164b690f 100644 --- a/gis/proj/proj.info +++ b/gis/proj/proj.info @@ -1,10 +1,8 @@ PRGNAM="proj" -VERSION="5.2.0" -HOMEPAGE="http://trac.osgeo.org/proj/" -DOWNLOAD="http://download.osgeo.org/proj/proj-5.2.0.tar.gz \ - http://download.osgeo.org/proj/proj-datumgrid-1.8.zip" -MD5SUM="ad285c7d03cbb138d9246e10e1f3191c \ - a64b68863336f361065c7051acc5a991" +VERSION="7.2.1" +HOMEPAGE="https://www.osgeo.org/projects/proj/" +DOWNLOAD="http://download.osgeo.org/proj/proj-7.2.1.tar.gz" +MD5SUM="befbafd25e65ddf0c26a8321d8bcdcd2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/gis/pyproj/pyproj.SlackBuild b/gis/pyproj/pyproj.SlackBuild index 62bb864a1a..4657e1fbb5 100644 --- a/gis/pyproj/pyproj.SlackBuild +++ b/gis/pyproj/pyproj.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyproj -# Copyright 2013-2018 Benjamin Trigona-Harany +# Copyright 2013-2021 Benjamin Trigona-Harany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pyproj -VERSION=${VERSION:-1.9.6} +VERSION=${VERSION:-3.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-${VERSION}rel -tar xvf $CWD/$PRGNAM-${VERSION}rel.tar.gz -cd $PRGNAM-${VERSION}rel +rm -rf $PRGNAM-${VERSION} +tar xvf $CWD/$PRGNAM-${VERSION}.tar.gz +cd $PRGNAM-${VERSION} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,7 +69,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python2 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 \ @@ -77,7 +76,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Changelog LICENSE_proj4 LICENSE_proj4 README.md \ + LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/pyproj/pyproj.info b/gis/pyproj/pyproj.info index 196cd82984..6586a784a7 100644 --- a/gis/pyproj/pyproj.info +++ b/gis/pyproj/pyproj.info @@ -1,10 +1,10 @@ PRGNAM="pyproj" -VERSION="1.9.6" -HOMEPAGE="https://github.com/jswhit/pyproj" -DOWNLOAD="https://github.com/jswhit/pyproj/archive/v1.9.6rel/pyproj-1.9.6rel.tar.gz" -MD5SUM="f1a4190278f9b1b3e21aad2000e39e48" +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 python3" +REQUIRES="proj python3-Cython" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/pyshp/pyshp.SlackBuild b/gis/pyshp/pyshp.SlackBuild index 89e137217e..79e20d5459 100644 --- a/gis/pyshp/pyshp.SlackBuild +++ b/gis/pyshp/pyshp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyshp -# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pyshp -VERSION=${VERSION:-2.0.1} +VERSION=${VERSION:-2.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/gis/pyshp/pyshp.info b/gis/pyshp/pyshp.info index 04eeb290bb..3beaa164ff 100644 --- a/gis/pyshp/pyshp.info +++ b/gis/pyshp/pyshp.info @@ -1,8 +1,8 @@ PRGNAM="pyshp" -VERSION="2.0.1" +VERSION="2.1.3" HOMEPAGE="https://github.com/GeospatialPython/pyshp" -DOWNLOAD="https://github.com/GeospatialPython/pyshp/archive/2.0.1/pyshp-2.0.1.tar.gz" -MD5SUM="8650a4905e75aac18bc05ddf54698286" +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="python3" diff --git a/gis/pyspatialite/README b/gis/pyspatialite/README deleted file mode 100644 index 0510b0be8f..0000000000 --- a/gis/pyspatialite/README +++ /dev/null @@ -1,5 +0,0 @@ -pyspatialite is an interface to the SQLite 3.x embedded relational database -engine with spatialite extensions. - -It is almost fully compliant with the Python database API version 2.0 and also -exposes the unique features of SQLite and spatialite. diff --git a/gis/pyspatialite/pyspatialite.info b/gis/pyspatialite/pyspatialite.info deleted file mode 100644 index 0d2249deb5..0000000000 --- a/gis/pyspatialite/pyspatialite.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pyspatialite" -VERSION="3.0.1_alpha_0" -HOMEPAGE="https://github.com/lokkju/pyspatialite" -DOWNLOAD="https://github.com/lokkju/pyspatialite/archive/3.0.1-alpha-0/pyspatialite-3.0.1-alpha-0.tar.gz" -MD5SUM="d4b9364756b90bc81399fea27af9dc98" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="libspatialite" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/pyspatialite/slack-desc b/gis/pyspatialite/slack-desc deleted file mode 100644 index 2f05d732d7..0000000000 --- a/gis/pyspatialite/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------------------------------------------------------| -pyspatialite: pyspatialite (Python bindings for Spatialite) -pyspatialite: -pyspatialite: pyspatialite is an interface to the SQLite 3.x embedded relational -pyspatialite: database engine with spatialite extensions. -pyspatialite: -pyspatialite: It is almost fully compliant with the Python database API version -pyspatialite: 2.0 and also exposes the unique features of SQLite and spatialite. -pyspatialite: -pyspatialite: -pyspatialite: -pyspatialite: diff --git a/gis/python-mapnik/python-mapnik.SlackBuild b/gis/python-mapnik/python-mapnik.SlackBuild index 5a54a13d52..8191c5a01e 100644 --- a/gis/python-mapnik/python-mapnik.SlackBuild +++ b/gis/python-mapnik/python-mapnik.SlackBuild @@ -2,7 +2,7 @@ # # SlackBuild for python-mapnik # -# Copyright 2017 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -59,7 +59,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xzf $CWD/$PRGNAM-$VERSION.tar.gz +tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -68,10 +68,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 {} \; -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +#python3 setup.py install --root=$PKG # only works on -current, where boost has libboost_python3x.so 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-pygeos/README b/gis/python-pygeos/README new file mode 100644 index 0000000000..b53462215d --- /dev/null +++ b/gis/python-pygeos/README @@ -0,0 +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. diff --git a/gis/basemap/basemap.SlackBuild b/gis/python-pygeos/python-pygeos.SlackBuild index 5cf2cc4ee8..b456308c47 100644 --- a/gis/basemap/basemap.SlackBuild +++ b/gis/python-pygeos/python-pygeos.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for basemap +# Slackware build script for python-pygeos -# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -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. -PRGNAM=basemap -VERSION=${VERSION:-1.0.7} +PRGNAM=python-pygeos +VERSION=${VERSION:-0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCNAM=pygeos + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -59,9 +61,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 \ @@ -69,13 +71,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 {} \; -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* README Changelog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/python-pygeos/python-pygeos.info b/gis/python-pygeos/python-pygeos.info new file mode 100644 index 0000000000..661c5c2f54 --- /dev/null +++ b/gis/python-pygeos/python-pygeos.info @@ -0,0 +1,10 @@ +PRGNAM="python-pygeos" +VERSION="0.9" +HOMEPAGE="https://pygeos.readthedocs.io" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pygeos/pygeos-0.9.tar.gz" +MD5SUM="e3d4e04cba540ceba80ce376f1f20192" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="geos numpy3" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/python-pygeos/slack-desc b/gis/python-pygeos/slack-desc new file mode 100644 index 0000000000..344a192198 --- /dev/null +++ b/gis/python-pygeos/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------------------------------------------------------| +python-pygeos: python-pygeos (Python wrapper for geos) +python-pygeos: +python-pygeos: PyGEOS is a C/Python library with vectorized geometry functions. The +python-pygeos: geometry operations are done in the open-source geometry library +python-pygeos: GEOS. PyGEOS wraps these operations in NumPy ufuncs providing a +python-pygeos: performance improvement when operating on arrays of geometries. +python-pygeos: +python-pygeos: +python-pygeos: +python-pygeos: +python-pygeos: diff --git a/gis/basemap/README b/gis/python3-basemap/README index 1f96d1c8ac..1f96d1c8ac 100644 --- a/gis/basemap/README +++ b/gis/python3-basemap/README diff --git a/gis/pyspatialite/pyspatialite.SlackBuild b/gis/python3-basemap/python3-basemap.SlackBuild index b4dc849ffe..380a06de90 100644 --- a/gis/pyspatialite/pyspatialite.SlackBuild +++ b/gis/python3-basemap/python3-basemap.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for pyspatialite +# Slackware build script for python3-basemap -# Copyright 2016 Benjamin Trigona-Harany +# Copyright (c) 2019 Cristiano Urban, Gonars, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,9 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=pyspatialite -VERSION=${VERSION:-3.0.1_alpha_0} -SRCVER=$(echo $VERSION | tr '_' '-') +PRGNAM=python3-basemap +SRCNAM=basemap +VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz -cd $PRGNAM-$SRCVER +rm -rf $SRCNAM-${VERSION}rel +tar xvf $CWD/$SRCNAM-${VERSION}rel.tar.gz +cd $SRCNAM-${VERSION}rel chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,17 +70,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i '/^#include "sqlite3.h"$/d' src/{statement,util}.h -CFLAGS=-I/usr/include 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 -rm -r $PKG/usr/$PRGNAM-doc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES LICENSE README.md \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE* README.md Changelog $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 new file mode 100644 index 0000000000..7b04c1ccc6 --- /dev/null +++ b/gis/python3-basemap/python3-basemap.info @@ -0,0 +1,10 @@ +PRGNAM="python3-basemap" +VERSION="1.2.2" +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_x86_64="" +MD5SUM_x86_64="" +REQUIRES="geos pyproj pyshp python3-matplotlib" +MAINTAINER="Cristiano Urban" +EMAIL="cristiano.urban.slack@gmail.com" diff --git a/gis/python3-basemap/slack-desc b/gis/python3-basemap/slack-desc new file mode 100644 index 0000000000..fc337bf628 --- /dev/null +++ b/gis/python3-basemap/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-basemap: python3-basemap (matplotlib library) +python3-basemap: +python3-basemap: Plot on map projections (with coastlines and political boundaries) +python3-basemap: using matplotlib. +python3-basemap: +python3-basemap: Homepage: https://github.com/matplotlib/basemap/ +python3-basemap: +python3-basemap: +python3-basemap: +python3-basemap: +python3-basemap: diff --git a/gis/pytrainer/pytrainer.SlackBuild b/gis/pytrainer/pytrainer.SlackBuild index 35d2616a59..e01bff19ea 100644 --- a/gis/pytrainer/pytrainer.SlackBuild +++ b/gis/pytrainer/pytrainer.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Pytrainer -# Copyright 2014-2017 Kyle Guinn <elyk03@gmail.com>, USA +# Copyright 2014-2021 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pytrainer -VERSION=${VERSION:-1.11.0} +VERSION=${VERSION:-2.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,10 +37,10 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM +PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} -DOCS="CHANGES COPYING INSTALL PLUGINS.README README.md" +DOCS="COPYING INSTALL PLUGINS.README README.md" set -e diff --git a/gis/pytrainer/pytrainer.info b/gis/pytrainer/pytrainer.info index 69bbc8b321..166e517a99 100644 --- a/gis/pytrainer/pytrainer.info +++ b/gis/pytrainer/pytrainer.info @@ -1,10 +1,10 @@ PRGNAM="pytrainer" -VERSION="1.11.0" +VERSION="2.0.2" HOMEPAGE="https://github.com/pytrainer/pytrainer" -DOWNLOAD="https://github.com/pytrainer/pytrainer/archive/v1.11.0/pytrainer-1.11.0.tar.gz" -MD5SUM="e81960234ca2e88ab8856032b62157a3" +DOWNLOAD="https://github.com/pytrainer/pytrainer/archive/v2.0.2/pytrainer-2.0.2.tar.gz" +MD5SUM="75e07caa70cf0bb609c26894061b77aa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="lxml sqlalchemy-migrate python-dateutil matplotlib pywebkitgtk zenity" +REQUIRES="lxml sqlalchemy-migrate python-dateutil python-certifi python-requests matplotlib webkit2gtk zenity" MAINTAINER="Kyle Guinn" EMAIL="elyk03@gmail.com" diff --git a/gis/qgis/README b/gis/qgis/README index 5fb9af9437..0a26ed1c80 100644 --- a/gis/qgis/README +++ b/gis/qgis/README @@ -1,10 +1,9 @@ -Quantum GIS (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: - - postgresql and postgis: for PostGIS support + - postgis: for PostGIS support - gpsbabel: for the GPS plugin - grass: for the Grass plugin - gsl: for georeferencing support @@ -16,5 +15,5 @@ Optional run-time dependencies: - saga-gis - TauDEM -If ninja is installed, set NINJA=yes to use it for parallel builds that should -be faster on most systems. +All dependencies must be built with Python 3 support and qtkeychain must be +built after Qt5. diff --git a/gis/qgis/README.server b/gis/qgis/README.server deleted file mode 100644 index 40fb86b098..0000000000 --- a/gis/qgis/README.server +++ /dev/null @@ -1,23 +0,0 @@ -QGIS Server is a WMS server for your QGIS project. It requires fcgi. It is -optionally built at the same time as QGIS; you need to specify SERVER=yes -to the SlackBuild, for example - - SERVER=yes sh qgis.SlackBuild - -By default, the server is installed into /var/www/cgi-bin/qgis, and so the -WMS URL is 'http://<hostname>/cgi-bin/qgis/qgis_mapserv.fcgi'. However, a -different directory can be specified by passing CGIBINDIR=<path> to the -SlackBuild script. - -After installing QGIS (and the server), you will need to set up the server. -To serve a single QGIS project, this can be done as follows: - -* In the qgis 'Project Properties' window, on the 'General' tab, ensure -that 'Save paths' is set to 'absolute', and on the 'WMS Server' tab, fill -in all relevant details (particularly including 'Coordinate Systems -Restrictions'). - -* Create a symlink to your QGIS project file from /var/www/cgi-bin/qgis/: - - ln -s /home/user/maps/mymap.qgs /var/www/cgi-bin/qgis/ - diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index 3d24b91656..ec241ab771 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh -# Slackware build script for Quantum GIS +# Slackware build script for QGIS # Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K. -# Copyright 2013 Benjamin Trigona-Harany +# Copyright 2013-2021 Benjamin Trigona-Harany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qgis -VERSION=${VERSION:-2.18.18} +VERSION=${VERSION:-3.18.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,27 +70,18 @@ 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 {} \; -WITHGRASS="" if pkg-config --exists grass; then WITHGRASS="-DGRASS_PREFIX=$(pkg-config --variable=prefix grass)" +else + WITHGRASS="" fi -WITHSERVER="-DWITH_SERVER=FALSE" -CGIBINDIR="${CGIBINDIR:-/var/www/cgi-bin/qgis}" -if [ "${SERVER:-no}" = "yes" ]; then - WITHSERVER="-DWITH_SERVER=TRUE -DQGIS_CGIBIN_SUBDIR=$CGIBINDIR" -fi - -WITHNINJA="" -if [ "${NINJA:-no}" = "yes" ]; then - WITHNINJA="-GNinja" -fi - -# fix double qjson target -patch -p1 < $CWD/qjson.cmake.diff +sed -i 's|${SIP_BINARY_PATH}|/usr/bin/python3-sip|' cmake/SIPMacros.cmake +sed -i '43 i IF (NOT PROJ_INCLUDE_DIR)\nFIND_PATH(PROJ_INCLUDE_DIR proj.h\n"$ENV{INCLUDE}"\n"$ENV{LIB_DIR}/include"\n)\nENDIF (NOT PROJ_INCLUDE_DIR)\n' cmake/FindProj.cmake -mkdir build +mkdir -p build cd build + export "PATH=/opt/cmake-202x/bin:$PATH" cmake .. \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ @@ -99,51 +90,35 @@ cd build -DQGIS_LIB_SUBDIR=lib${LIBDIRSUFFIX} \ -DQGIS_LIBEXEC_SUBDIR=lib${LIBDIRSUFFIX}/qgis \ -DQGIS_PLUGIN_SUBDIR=lib${LIBDIRSUFFIX}/qgis \ - -DWITH_INTERNAL_QWTPOLAR=FALSE \ - -DQWTPOLAR_INCLUDE_DIR=/usr/include/qwt \ + -DWITH_QWTPOLAR=TRUE \ + -DWITH_CUSTOM_WIDGETS=FALSE \ + -DBINDINGS_GLOBAL_INSTALL=TRUE \ + -DQWT_INCLUDE_DIR=/usr/include/qt5/qwt \ + -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt5 \ -DENABLE_TESTS=FALSE \ - $WITHSERVER \ - $WITHGRASS \ - $WITHNINJA - - if [ -z "$WITHNINJA" ]; then - make install -j2 DESTDIR=$PKG - else - DESTDIR=$PKG ninja install - fi + -DWITH_3D=TRUE \ + -Wno-dev \ + $WITHGRASS + + make || make -j1 + make install DESTDIR=$PKG cd - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 -install -D -m 0644 debian/qgis.desktop \ - $PKG/usr/share/applications/qgis.desktop -install -D -m 0644 debian/qgis.xml \ - $PKG/usr/share/mime/packages/qgis.xml -sed -i "s_image/jpeg;__" $PKG/usr/share/applications/qgis.desktop +mkdir -p $PKG/usr/share/mime/packages +cp debian/qgis.xml $PKG/usr/share/mime/packages -mkdir -p $PKG/usr/share/pixmaps -ln -s /usr/share/qgis/images/icons/qgis-icon.png $PKG/usr/share/pixmaps/qgis.png -ln -s /usr/share/qgis/images/icons/qgis-mime-icon.png $PKG/usr/share/pixmaps/qgis-mime.png - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc +mv $PKG/usr/share/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - doc/AUTHORS BUGS doc/CONTRIBUTORS COPYING ChangeLog \ - doc/DONORS Exception_to_GPL_for_Qt.txt INSTALL NEWS \ - PROVENANCE README.md doc/SPONSORS doc/TRANSLATORS \ + ChangeLog Exception_to_GPL_for_Qt.txt NEWS.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README.server > $PKG/usr/doc/$PRGNAM-$VERSION/README.server - -# Move a couple of optional server files to a more appropriate place -- they -# need to be properly customised (and the server works without them). -if [ -d $PKG/$CGIBINDIR ]; then - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples - mv $PKG/$CGIBINDIR/wms_metadata.xml $PKG/$CGIBINDIR/admin.sld \ - $PKG/usr/doc/$PRGNAM-$VERSION/examples -fi mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/gis/qgis/qgis.info b/gis/qgis/qgis.info index 91e35ce6c1..9c787e8ca7 100644 --- a/gis/qgis/qgis.info +++ b/gis/qgis/qgis.info @@ -1,10 +1,10 @@ PRGNAM="qgis" -VERSION="2.18.18" -HOMEPAGE="http://qgis.org/" -DOWNLOAD="http://qgis.org/downloads/qgis-2.18.18.tar.bz2" -MD5SUM="297a0bf4e04e00f7f8d091691499f69d" +VERSION="3.18.1" +HOMEPAGE="https://qgis.org/" +DOWNLOAD="https://qgis.org/downloads/qgis-3.18.1.tar.bz2" +MD5SUM="9d71667d40aa0caf64e2ff0d6e60c5e2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal Jinja2 libspatialindex numpy OWSLib Pygments psycopg2 pyspatialite qwtpolar" +REQUIRES="cmake-202x postgis libspatialite libspatialindex numpy3 qt5-webkit qwt-qt5 QScintilla-qt5 qtkeychain qca-qt5 protobuf3 python3-PyYAML python-requests Pygments OWSLib psycopg2 Jinja2 zstd" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/qgis/qjson.cmake.diff b/gis/qgis/qjson.cmake.diff deleted file mode 100644 index a6bd906aef..0000000000 --- a/gis/qgis/qjson.cmake.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- qgis-2.16.0.orig/src/providers/arcgisrest/CMakeLists.txt 2016-07-09 06:48:26.627018690 -0700 -+++ qgis-2.16.0/providers/arcgisrest/CMakeLists.txt 2016-07-09 06:48:03.037018088 -0700 -@@ -1,4 +1,6 @@ --FIND_PACKAGE(QJSON) -+if(NOT TARGET qjson) -+ FIND_PACKAGE(QJSON) -+endif() - - INCLUDE_DIRECTORIES( - ../../core diff --git a/gis/qlandkartegt/README b/gis/qlandkartegt/README deleted file mode 100644 index b8abb32778..0000000000 --- a/gis/qlandkartegt/README +++ /dev/null @@ -1,19 +0,0 @@ -QLandkarteGT (GeoTIFF/Garmin map/OSM viewer) - -QLandkarte GT is the ultimate outdoor aficionado's tool. It supports -GPS maps in GeoTiff format as well as Garmin's img vector map format. - -Also it is a front end to the GDAL tools, to make georeferencing -scanned maps feasible for the normal user. Compared to similar tools -like QGis, its target users are more on the consumer side than on the -scientific one. QLandkarte GT might not let you select every possible -feature of the GDAL tools, but it will simplify their use to the demands -of most users. - -See http://sourceforge.net/apps/mediawiki/qlandkartegt/ for details on -how to install and convert maps. - -See http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Download for -a list of downloadable osm-based mapsets. - -gpsd and libdmtx are optional. diff --git a/gis/qlandkartegt/doinst.sh b/gis/qlandkartegt/doinst.sh deleted file mode 100644 index 140e332222..0000000000 --- a/gis/qlandkartegt/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 -fi diff --git a/gis/qlandkartegt/qlandkartegt.SlackBuild b/gis/qlandkartegt/qlandkartegt.SlackBuild deleted file mode 100644 index b2655dd5b7..0000000000 --- a/gis/qlandkartegt/qlandkartegt.SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# Slackware build script for QLandkarteGT -# Copyright 2012 Daniel Stolarski <daniel.stolarski@gmail.com> -# -# This program is free software. It comes without any warranty, to -# the extent permitted by applicable law. You can redistribute it -# and/or modify it under the terms of the Do What The Fuck You Want -# To Public License, Version 2, as published by Sam Hocevar. See -# http://sam.zoy.org/wtfpl/COPYING for more details. - -PRGNAM=qlandkartegt -VERSION=${VERSION:-1.8.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DMAN_INSTALL_DIR=/usr/man \ - -DSYSCONF_INSTALL_DIR=/etc \ - -DCMAKE_BUILD_TYPE=Release .. - make - make install DESTDIR=$PKG -cd .. - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Move and compress man pages -mv $PKG/usr/share/man $PKG/usr -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a INSTALL changelog.txt copying $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:-tgz} diff --git a/gis/qlandkartegt/qlandkartegt.info b/gis/qlandkartegt/qlandkartegt.info deleted file mode 100644 index 9af0e5c2a5..0000000000 --- a/gis/qlandkartegt/qlandkartegt.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="qlandkartegt" -VERSION="1.8.1" -HOMEPAGE="http://www.qlandkarte.org" -DOWNLOAD="http://downloads.sf.net/qlandkartegt/qlandkartegt-1.8.1.tar.gz" -MD5SUM="2bfe90aff7e21b19572b7b250d76a540" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="gdal" -MAINTAINER="Daniel Stolarski" -EMAIL="daniel.stolarski@gmail.com" diff --git a/gis/qlandkartegt/slack-desc b/gis/qlandkartegt/slack-desc deleted file mode 100644 index 037128c97a..0000000000 --- a/gis/qlandkartegt/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------------------------------------------------------| -qlandkartegt: qlandkartegt (Geotiff/Garmin map/OSM viewer) -qlandkartegt: -qlandkartegt: QLandkarte GT is the ultimate outdoor aficionado's tool. It supports -qlandkartegt: GPS maps in GeoTiff format as well as Garmin's img vector map format. -qlandkartegt: -qlandkartegt: Also it is a front end to the GDAL tools, to make georeferencing -qlandkartegt: scanned maps feasible for the normal user. Compared to similar -qlandkartegt: tools like QGis, its target users are more on the consumer side -qlandkartegt: than on the scientific one. -qlandkartegt: -qlandkartegt: diff --git a/gis/qmapshack/QPainterPath.patch b/gis/qmapshack/QPainterPath.patch new file mode 100644 index 0000000000..7290f76f09 --- /dev/null +++ b/gis/qmapshack/QPainterPath.patch @@ -0,0 +1,22 @@ +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/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild index d2401f222e..9cffc01d79 100644 --- a/gis/qmapshack/qmapshack.SlackBuild +++ b/gis/qmapshack/qmapshack.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for qmapshack -# Copyright 2015 Daniel Stolarski <daniel.stolarski@gmail.com> +# Copyright 2015-2020 Daniel Stolarski <daniel.stolarski@gmail.com> # # This program is free software. It comes without any warranty, to # the extent permitted by applicable law. You can redistribute it @@ -10,7 +10,7 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=qmapshack -VERSION=${VERSION:-1.12.1} +VERSION=${VERSION:-1.15.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,19 +46,25 @@ 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 $PRGNAM-V_${VERSION} +tar xvf $CWD/${PRGNAM}-${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 + 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 {} \; -# QuaZip path issue. thx to pAcAs for the hint -whereis quazip |grep -qE "/include/\<quazip\>" && sed -i 's!quazip5!quazip!g' cmake/Modules/FindQuaZip.cmake - mkdir -p build cd build cmake \ diff --git a/gis/qmapshack/qmapshack.info b/gis/qmapshack/qmapshack.info index 9783a72d61..97b4d8d9b7 100644 --- a/gis/qmapshack/qmapshack.info +++ b/gis/qmapshack/qmapshack.info @@ -1,10 +1,10 @@ PRGNAM="qmapshack" -VERSION="1.12.1" -HOMEPAGE="https://bitbucket.org/maproom/qmapshack/wiki/Home" +VERSION="1.15.2" +HOMEPAGE="https://github.com/Maproom/qmapshack/wiki" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://bitbucket.org/maproom/qmapshack/downloads/qmapshack-1.12.1.tar.gz" -MD5SUM_x86_64="718f8f526da516c50e1d983a79cf2a5c" -REQUIRES="gdal qt5-webkit routino quazip" +DOWNLOAD_x86_64="https://github.com/Maproom/qmapshack/archive/V_1.15.2/qmapshack-1.15.2.tar.gz" +MD5SUM_x86_64="5fcf9e5d31fb0abe8d5ce442ba516b30" +REQUIRES="gdal qt5-webkit routino quazip-qt5" MAINTAINER="Daniel Stolarski" EMAIL="daniel.stolarski@gmail.com" diff --git a/gis/rasterio/rasterio.SlackBuild b/gis/rasterio/rasterio.SlackBuild index 9b27402f76..4e60c382e4 100644 --- a/gis/rasterio/rasterio.SlackBuild +++ b/gis/rasterio/rasterio.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for rasterio -# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=rasterio -VERSION=${VERSION:-1.0.13} +VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,17 +71,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi -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 \ - AUTHORS.txt CHANGES.txt LICENSE.txt README.rst \ + AUTHORS.txt CHANGES.txt CITATION.txt CODE_OF_CONDUCT.txt LICENSE.txt README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/rasterio/rasterio.info b/gis/rasterio/rasterio.info index 2b132c37cc..3071637e3e 100644 --- a/gis/rasterio/rasterio.info +++ b/gis/rasterio/rasterio.info @@ -1,10 +1,10 @@ PRGNAM="rasterio" -VERSION="1.0.13" +VERSION="1.2.2" HOMEPAGE="https://github.com/mapbox/rasterio" -DOWNLOAD="https://github.com/mapbox/rasterio/archive/1.0.13/rasterio-1.0.13.tar.gz" -MD5SUM="d1d4a1eb8d599286177f9abc4f5b5989" +DOWNLOAD="https://github.com/mapbox/rasterio/archive/1.2.2/rasterio-1.2.2.tar.gz" +MD5SUM="1e5050ea499e828a4d27877bf2cc185c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="affine attrs click-plugins cligj enum34 gdal numpy snuggs" +REQUIRES="affine click-plugins cligj gdal snuggs numpy3 python3-attrs python3-Cython python3-pyparsing" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" diff --git a/gis/saga-gis/README b/gis/saga-gis/README index 9fba69678b..63e9c2f314 100644 --- a/gis/saga-gis/README +++ b/gis/saga-gis/README @@ -10,7 +10,8 @@ SAGA can use these optional dependencies: libharu, 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. +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. diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild index 25abc28d3e..a2d773a42e 100644 --- a/gis/saga-gis/saga-gis.SlackBuild +++ b/gis/saga-gis/saga-gis.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for saga-gis -# Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=saga -PKGNAM=${PRGNAM}-gis -VERSION=${VERSION:-7.1.1} +PRGNAM=saga-gis +VERSION=${VERSION:-7.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCNAM=saga + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -38,7 +39,7 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM +PKG=$TMP/package-$SRCNAM OUTPUT=${OUTPUT:-/tmp} # issues with -O2 causing build failures @@ -61,9 +62,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 \ @@ -75,6 +76,8 @@ if [ "$OPENCV" != "ON" ] ; then sed -i "s/CVFOUND=1/true/g" configure fi +sed -i "s/isinf/std::isinf/g" src/saga_core/saga_gui/wksp_map_layer.cpp + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ PYTHON=python3 \ @@ -96,14 +99,16 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr 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/$PKGNAM-$VERSION +mv $PKG/usr/share/metainfo $PKG/usr/share/appdata + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING ChangeLog NEWS README \ - $PKG/usr/doc/$PKGNAM-$VERSION -cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild + $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/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/gis/saga-gis/saga-gis.info b/gis/saga-gis/saga-gis.info index dd0091b9ce..e9a70eacbd 100644 --- a/gis/saga-gis/saga-gis.info +++ b/gis/saga-gis/saga-gis.info @@ -1,8 +1,8 @@ PRGNAM="saga-gis" -VERSION="7.1.1" +VERSION="7.9.0" HOMEPAGE="http://www.saga-gis.org" -DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%207/SAGA%20-%207.1.1/saga-7.1.1.tar.gz" -MD5SUM="d204b8a4779ad0d30023055b65a6a2bb" +DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%207/SAGA%20-%207.9.0/saga-7.9.0.tar.gz" +MD5SUM="b988d202508ea8387150d13ff9292fa5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gdal python3 wxGTK3" diff --git a/gis/spatialite_gui/spatialite_gui.SlackBuild b/gis/spatialite_gui/spatialite_gui.SlackBuild index 830f79b106..d2b7b20fa6 100644 --- a/gis/spatialite_gui/spatialite_gui.SlackBuild +++ b/gis/spatialite_gui/spatialite_gui.SlackBuild @@ -68,6 +68,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 {} \; +sed -i 27i'#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1' Main.cpp + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-ldl" \ diff --git a/gis/whitebox-tools/README b/gis/whitebox-tools/README new file mode 100644 index 0000000000..40ed36cf0a --- /dev/null +++ b/gis/whitebox-tools/README @@ -0,0 +1,19 @@ +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/slack-desc b/gis/whitebox-tools/slack-desc new file mode 100644 index 0000000000..7ce96e6c15 --- /dev/null +++ b/gis/whitebox-tools/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------------------------------------------------------| +whitebox-tools: whitebox-tools (advanced geospatial data analysis platform) +whitebox-tools: +whitebox-tools: WhiteboxTools is an advanced geospatial data analysis platform +whitebox-tools: developed by Prof. John Lindsay at the University of Guelph's +whitebox-tools: Geomorphometry and Hydrogeomatics Research Group. WhiteboxTools can +whitebox-tools: be used to perform common geographical information systems (GIS) +whitebox-tools: analysis operations. It is not a cartographic or spatial data +whitebox-tools: visualization package; instead it is meant to serve as an analytical +whitebox-tools: backend for other data visualization software, mainly GIS. +whitebox-tools: +whitebox-tools: diff --git a/gis/whitebox-tools/whitebox-tools.SlackBuild b/gis/whitebox-tools/whitebox-tools.SlackBuild new file mode 100644 index 0000000000..8e273041fd --- /dev/null +++ b/gis/whitebox-tools/whitebox-tools.SlackBuild @@ -0,0 +1,155 @@ +#!/bin/sh + +# Slackware build script for whitebox-tools + +# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# 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. + +PRGNAM=whitebox-tools +BINNAM=`echo $PRGNAM | tr - _` +VERSION=${VERSION:-1.4.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac + + if [ "$ARCH" = "i586" ]; then + if rustc -Vv | grep host | grep i686 > /dev/null ; then + ARCH=i686 + fi + fi +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" + CARGOTARGET="--target i586-unknown-linux-gnu" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" + CARGOTARGET="--target i686-unknown-linux-gnu" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + CARGOTARGET="--target x86_64-unknown-linux-gnu" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + CARGOTARGET="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION + +# build offline +# configuration tells cargo to use the configured directory +# for dependencies intead of downloading from crates.io +mkdir .cargo +cat << EOF >> .cargo/config +[source.crates-io] +registry = 'https://github.com/rust-lang/crates.io-index' +replace-with = 'vendored-sources' + +[source.vendored-sources] +directory = '$(pwd)/vendor' +EOF + +# deps and versions come from Cargo.lock +mkdir vendor +( + cd vendor + + grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \ + sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \ + awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \ + grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do + + ver="$(printf "%s\n" "$dep" | cut -d= -f2)" + dep="$(printf "%s\n" "$dep" | cut -d= -f1)" + + tar xvf $CWD/$dep-$ver.crate + + touch $dep-$ver/.cargo-ok + + # generate checksum + { + printf "{\n" + printf ' "files": {\n' + + ( + cd $dep-$ver + find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/' + ) | sed '$ s/,$//' + + printf " },\n" + printf ' "package": "' + + sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/' + + printf "}\n" + } | python -c "import sys, json; data = sys.stdin.read(); print json.dumps(json.loads(data), sort_keys=True, indent=4, separators=(',', ' : '))" > $dep-$ver/.cargo-checksum.json + done +) + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +cargo build --offline --release $CARGOTARGET + +mkdir -p $PKG/usr/bin/ + +find target -name $BINNAM -exec install -m 755 {} $PKG/usr/bin/$BINNAM \; + +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 -r \ + LICENSE.txt README.md manual/WhiteboxToolsManual.html manual/img \ + $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:-tgz} diff --git a/gis/whitebox-tools/whitebox-tools.info b/gis/whitebox-tools/whitebox-tools.info new file mode 100644 index 0000000000..91df26721f --- /dev/null +++ b/gis/whitebox-tools/whitebox-tools.info @@ -0,0 +1,180 @@ +PRGNAM="whitebox-tools" +VERSION="1.4.0" +HOMEPAGE="https://github.com/jblindsay/whitebox-tools" +DOWNLOAD="https://github.com/jblindsay/whitebox-tools/archive/1.4.0/whitebox-tools-1.4.0.tar.gz \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/adler32/adler32-1.0.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/alga/alga-0.9.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/approx/approx-0.3.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-0.1.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/byteorder/byteorder-1.3.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/bzip2/bzip2-0.3.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/bzip2-sys/bzip2-sys-0.1.8+1.0.8.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.52.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/chrono/chrono-0.4.15.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cloudabi/cloudabi-0.0.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/crc32fast/crc32fast-1.2.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-deque/crossbeam-deque-0.7.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-epoch/crossbeam-epoch-0.8.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-queue/crossbeam-queue-0.2.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-utils/crossbeam-utils-0.7.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/either/either-1.5.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/flate2/flate2-1.0.14.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-cprng/fuchsia-cprng-0.1.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/generic-array/generic-array-0.12.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/getrandom/getrandom-0.1.14.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.12.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/itoa/itoa-0.4.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/kdtree/kdtree-0.6.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/late-static/late-static-0.3.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.69.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/libm/libm-0.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/lzw/lzw-0.10.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/matrixmultiply/matrixmultiply-0.2.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/maybe-uninit/maybe-uninit-2.0.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/memoffset/memoffset-0.5.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/miniz_oxide/miniz_oxide-0.3.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/msdos_time/msdos_time-0.1.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/nalgebra/nalgebra-0.18.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num-complex/num-complex-0.2.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num-integer/num-integer-0.1.42.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num-rational/num-rational-0.2.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num-traits/num-traits-0.2.11.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num_cpus/num_cpus-1.13.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pdqselect/pdqselect-0.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/podio/podio-0.1.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/ppv-lite86/ppv-lite86-0.2.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.12.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.3.23.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.4.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.6.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.7.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.1.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.2.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.3.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.4.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.5.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_distr/rand_distr-0.2.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.2.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_isaac/rand_isaac-0.1.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_jitter/rand_jitter-0.1.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_os/rand_os-0.1.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_pcg/rand_pcg-0.1.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_pcg/rand_pcg-0.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_xorshift/rand_xorshift-0.1.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rawpointer/rawpointer-0.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rayon/rayon-1.3.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rayon-core/rayon-core-1.7.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rdrand/rdrand-0.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rstar/rstar-0.7.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/ryu/ryu-1.0.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/scopeguard/scopeguard-1.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/serde/serde-1.0.110.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_derive/serde_derive-1.0.110.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_json/serde_json-1.0.53.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/statrs/statrs-0.9.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.19.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.43.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/typenum/typenum-1.12.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.8.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/zip/zip-0.3.3.crate" +MD5SUM="260ab1a7b97a1526a342084d1205f939 \ + 853b409f126727af3ee29ae2de887271 \ + 1f6ec6a2e7b169d66d6db72cac5f413b \ + 711b149cf4767597fc265983750f4da3 \ + 898079c1c795b5aa847169137918c7bc \ + 7c6515c4b7f4c7723a3c6d1f07acc261 \ + 6799c26a7eacaf8e58d3e45c6c5add89 \ + e502e6c6b0dca9c1ae2d99e92b26f645 \ + e0bf3b40b2d51cb52f40647b368efb50 \ + ff4e1560b7d0ac5c4ae2688bc27f9c98 \ + af1f1bff38cb52f5836ec9a7957d419a \ + 882dbbc613a93f64c3709b0a2bd0d6dc \ + a47dd336c3099e7986f926b48c64ec6a \ + 1c8b50f8528dd37df7d984e0e4b61bd5 \ + 3c153e21729b743f5127dec47670de17 \ + 897911f15f349a357899045e6b0c04e0 \ + 49b4b022e9fa4cc60376a79ecb39d04f \ + 836bbd6315ea443caf33fe3394ea4991 \ + ff67cf2eb9668167782b8012d3b48e7b \ + 82241b59d4b793d862900b62220cf05a \ + 5941f4a3d3435767e79260f61093ecd3 \ + 27260b46db6b9ac40318143d70a80ba3 \ + 916a6c827f4f0f64b7652bebf67d82e1 \ + de1228e571c94ef53ec4c21db57279ab \ + d02ceab917d216ae2cd5127a3f33171f \ + 493f4bd45cf2a6c3963f66f58884f622 \ + 412752575d11aefd8c262075407f5cc1 \ + 04fc55fadbdb820a95287bce6c5cca71 \ + fba3b040a55c01be7376d3dd5c4d4920 \ + 0f24b5ab599c41a83e973aabe92ac46d \ + 5b23904f9579d1efd0e914257517eeb5 \ + 7d95c53a33d0c550267b89a19899a6fa \ + 0c8b4e7eeaa63e83b705a047d2b8580e \ + b5cf10e268e8a3bee2de8a734104245e \ + 46fd65cd541fdc547f2ba26b8d400dae \ + 6ad7c30338903afc3521369ecd826cfb \ + c24b5fe087abe69f7548a9e6c8789d61 \ + e7be05acf53dc7d372d012d7ac673073 \ + 25a9c25700c416af66082afbd9187bb7 \ + 9c52a747ee0325081e566c9f700a8d7e \ + 99e024622d98dc28a8a5f37afccaf20a \ + c3df6ec550943c6ccd356272db8eb202 \ + c36d452e37c73b1e99f40bae18cddfdb \ + 899e132d3e99c2d79d0784d61ee8895f \ + 7261ce43635fd9c2a009810db04d6901 \ + 7c4bfd315ee9de1c1b2f2d56163567cf \ + e0bbd1014405fcdd6aba0b0022c9effc \ + c36ab58ddd10863b2be0f243917dfbcb \ + 7c547f7b390ef6b68f99e4055658c0ec \ + 9e99a37f8c37bb953732ef46ac2b12a1 \ + 793627c8c18012ad77cb3e81fa4c2195 \ + 66d1cb32dce999907409f636f004b884 \ + 3ab5a79607a4d260bf61cd99dc82ab05 \ + 0a80ed36a125ac3cdfa09f8707055873 \ + 8cab41822d03dfa674870315308fa392 \ + 35ddcd36701a1a6711cc3aec85909f41 \ + a0f55fda89c0f97784edb18f4c253a49 \ + caa57442578f90341a6ab7bf94d4fde9 \ + 28b1e6d15e1ba8cf3a2e953ce7fcd3de \ + b269356e8646f3184a0e8d52a58cee69 \ + 74b15f1928431937f14ed91fdc12b542 \ + 2255d3d9a603e177985602a7df1c5bbc \ + 5acfdc8656212bce8df1bcc43db34c3d \ + f9e08a49715c401602243230b28d86f0 \ + 7b0715affe44616a992f113ad7ab7d50 \ + 7826deb76941fc36c2391951bd65ba47 \ + d4a05ab09e96ee8767f7409721bf65b8 \ + d6dae0411ef3346d4ae59498f7d523e0 \ + 74bd9140ed1ed96349474b75a26a45e9 \ + c8d655d206cbe48b84a22544d6fc6d15 \ + 57d8084d93aec796d98691e654c5e0f6 \ + 44d95c1ed46baee736c9420ad1de3228 \ + b4a0a98a54439a5a37952c8879187ee3 \ + 3879349fe374e764e24f37ce40ac9824 \ + 9b7d58f6341fb619ff2190481ce13b84 \ + ce76f5430cd6d2ab76d0d86ecb8a4f4d \ + 9503719444b058de7c3032aa7dc2b6f8 \ + 376a4faf2a9d5d659dc1f81f88e942b8 \ + 9d66208e00715217a8c1f2e40efe4a0c \ + 55927226b06f62ccbd2890269d68c2fd \ + e628ca8adb2b572bffb210f014656b6f \ + 6e23e0eee42b1ba9ec61a6db7ec2dc08 \ + ce68e06a2cd4f180747cf169fc388a95 \ + db96b50050277bf05a3c68534bbb9586 \ + 09de9d01e7331ff3da11f58be8bef0df \ + 0ac2781d3a2021cdabd68fb7e38589aa" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="slackbuilds@jaxartes.net" |