Github messages for voidlinux
 help / color / mirror / Atom feed
From: Nyx70 <Nyx70@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: qgis-3.16.x 
Date: Sun, 20 Dec 2020 14:58:48 +0100	[thread overview]
Message-ID: <20201220135848.8iL0LXp2K7i27GJjw8BovZ2rxzECdsX7PVeUiCIGbqg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27041@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

There is an updated pull request by Nyx70 against master on the void-packages repository

https://github.com/Nyx70/void-packages qgis
https://github.com/void-linux/void-packages/pull/27041

[WIP] New package: qgis-3.16.x 
Help wanted / WIP


[https://github.com/void-linux/void-packages/issues/9180](https://github.com/void-linux/void-packages/issues/9180)

TODO

- [x] New package: libkml
- [ ] New package: libspatialite
  - [ ] xbps-src check for libspatialite
  - [ ] libspatialite CROSS_BUILD
- [ ] xbps-src check for python3-OWSLib
- [ ] xbps-src check for python3-pyproj
- [ ] xbps-src check for qgis
- [ ] libgdal: aarch64
- [ ] libgdal: arm
- [ ] ...

A patch file from https://github.com/void-linux/void-packages/pull/27041.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qgis-27041.patch --]
[-- Type: text/x-diff, Size: 41611 bytes --]

From efe8ce045c4a6ddef7e3d072ee8434aeeffdb817 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Thu, 26 Nov 2020 18:47:25 +0100
Subject: [PATCH 01/27] New package: libkml-1.3.0

libkml is a library to process Google-KML GEO files.
It can be used in GDAL (libgdal), OSSIM, OTB and osgEarth
---
 srcpkgs/libkml-devel                   |  1 +
 srcpkgs/libkml/patches/NOUNCRYPT.patch | 17 +++++++++++++++++
 srcpkgs/libkml/shlibs                  |  6 ++++++
 srcpkgs/libkml/template                | 24 ++++++++++++++++++++++++
 4 files changed, 48 insertions(+)
 create mode 120000 srcpkgs/libkml-devel
 create mode 100644 srcpkgs/libkml/patches/NOUNCRYPT.patch
 create mode 100644 srcpkgs/libkml/shlibs
 create mode 100644 srcpkgs/libkml/template

diff --git a/srcpkgs/libkml-devel b/srcpkgs/libkml-devel
new file mode 120000
index 00000000000..cf12be102f4
--- /dev/null
+++ b/srcpkgs/libkml-devel
@@ -0,0 +1 @@
+libkml
\ No newline at end of file
diff --git a/srcpkgs/libkml/patches/NOUNCRYPT.patch b/srcpkgs/libkml/patches/NOUNCRYPT.patch
new file mode 100644
index 00000000000..5b7e016c0e0
--- /dev/null
+++ b/srcpkgs/libkml/patches/NOUNCRYPT.patch
@@ -0,0 +1,17 @@
+minizip/crypt.h was removed from the packet minizip-1.2.11_2. 
+
+with "#define NOUNCRYPT" libkml can be built without "crypt.h"
+https://github.com/void-linux/void-packages/commit/952ac913cf
+https://github.com/madler/zlib/pull/229
+
+--- a/src/kml/base/contrib/minizip/unzip.c	2015-12-21 18:23:05.000000000 +0100
++++ b/src/kml/base/contrib/minizip/unzip.c	2020-11-26 15:45:55.033835816 +0100
+@@ -42,7 +42,7 @@
+ #include <zlib.h> //RR
+ #include "unzip.h"
+ #include "iomem_simple.h"
+-#undef NOUNCRYPT
++#define NOUNCRYPT
+ 
+ #ifdef STDC
+ #  include <stddef.h>
diff --git a/srcpkgs/libkml/shlibs b/srcpkgs/libkml/shlibs
new file mode 100644
index 00000000000..71dbff62431
--- /dev/null
+++ b/srcpkgs/libkml/shlibs
@@ -0,0 +1,6 @@
+libkmlbase.so.1 libkml-1.3.0_1
+libkmlconvenience.so.1 libkml-1.3.0_1
+libkmldom.so.1 libkml-1.3.0_1
+libkmlengine.so.1 libkml-1.3.0_1
+libkmlregionator.so.1 libkml-1.3.0_1
+libkmlxsd.so.1 libkml-1.3.0_1
diff --git a/srcpkgs/libkml/template b/srcpkgs/libkml/template
new file mode 100644
index 00000000000..87ce6bc7706
--- /dev/null
+++ b/srcpkgs/libkml/template
@@ -0,0 +1,24 @@
+# Template file for 'libkml'
+pkgname=libkml
+version=1.3.0
+revision=1
+build_style=cmake
+makedepends="zlib-devel expat-devel boost-devel minizip-devel uriparser-devel"
+short_desc="Library to manipulate KML OGC files"
+maintainer="Nyx70 <n.y.x@bluewin.ch>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/libkml/libkml"
+distfiles="https://github.com/libkml/libkml/archive/${version}.tar.gz"
+checksum=8892439e5570091965aaffe30b08631fdf7ca7f81f6495b4648f0950d7ea7963
+patch_args=-Np1
+
+libkml-devel_package() {
+	depends="$pkgname-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove usr/lib/cmake
+		vmove "usr/lib/*.so"
+	}
+}

From 3a1e9a9dab52674b8b13c91df828d704e6caa164 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Sun, 13 Dec 2020 16:06:15 +0100
Subject: [PATCH 02/27] libkml: libkml-devel_package depends= fixed

---
 srcpkgs/libkml/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libkml/template b/srcpkgs/libkml/template
index 87ce6bc7706..7d4f5a72660 100644
--- a/srcpkgs/libkml/template
+++ b/srcpkgs/libkml/template
@@ -13,7 +13,7 @@ checksum=8892439e5570091965aaffe30b08631fdf7ca7f81f6495b4648f0950d7ea7963
 patch_args=-Np1
 
 libkml-devel_package() {
-	depends="$pkgname-${version}_${revision}"
+	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include

From 274eacf567b8d98abf4f9f92ad12de23c7ef6986 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 14:09:43 +0100
Subject: [PATCH 03/27] common/shlibs: add libkml-1.3.0_1 shlibs

---
 common/shlibs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/common/shlibs b/common/shlibs
index e1e2291d5f7..0d2c2256d06 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4049,3 +4049,10 @@ libtdb-wrap-samba4.so samba-libs-4.13.2_1
 libutil-cmdline-samba4.so samba-libs-4.13.2_1
 libwbclient.so.0 samba-libs-4.13.2_1
 libwinbind-client-samba4.so samba-libs-4.13.2_1
+# qgis ...
+libkmlbase.so.1 libkml-1.3.0_1
+libkmlconvenience.so.1 libkml-1.3.0_1
+libkmldom.so.1 libkml-1.3.0_1
+libkmlengine.so.1 libkml-1.3.0_1
+libkmlregionator.so.1 libkml-1.3.0_1
+libkmlxsd.so.1 libkml-1.3.0_1

From 995146bef3ab82b8a15f427caaabb7283e3f8b96 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Sun, 20 Dec 2020 14:49:30 +0100
Subject: [PATCH 04/27] New package: libspatialite-5.0.0

---
 srcpkgs/libspatialite-devel    |  1 +
 srcpkgs/libspatialite/shlibs   |  2 ++
 srcpkgs/libspatialite/template | 34 ++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libspatialite-devel
 create mode 100644 srcpkgs/libspatialite/shlibs
 create mode 100644 srcpkgs/libspatialite/template

diff --git a/srcpkgs/libspatialite-devel b/srcpkgs/libspatialite-devel
new file mode 120000
index 00000000000..588ba2ad7c0
--- /dev/null
+++ b/srcpkgs/libspatialite-devel
@@ -0,0 +1 @@
+libspatialite
\ No newline at end of file
diff --git a/srcpkgs/libspatialite/shlibs b/srcpkgs/libspatialite/shlibs
new file mode 100644
index 00000000000..eee57edae59
--- /dev/null
+++ b/srcpkgs/libspatialite/shlibs
@@ -0,0 +1,2 @@
+libspatialite.so.7 libspatialite-5.0.0_1
+mod_spatialite.so.7 libspatialite-5.0.0_1
diff --git a/srcpkgs/libspatialite/template b/srcpkgs/libspatialite/template
new file mode 100644
index 00000000000..787ae797248
--- /dev/null
+++ b/srcpkgs/libspatialite/template
@@ -0,0 +1,34 @@
+# Template file for 'libspatialite'
+# Modified by Nyx70 <n.y.x@bluewin.ch>
+#   license changed
+pkgname=libspatialite
+version=5.0.0
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config libxml2"
+makedepends="sqlite-devel minizip-devel zlib-devel proj-devel freexl-devel geos-devel
+ libxml2-devel"
+depends="sqlite"
+short_desc="Geospatial extension for SQLite"
+maintainer="Bo Son <boson@gmx.at>"
+license="MPL-1.0"
+homepage="https://www.gaia-gis.it/fossil/libspatialite/index"
+distfiles="http://www.gaia-gis.it/gaia-sins/${pkgname}-${version}.tar.gz"
+checksum=7b7fd70243f5a0b175696d87c46dde0ace030eacc27f39241c24bac5dfac6dac
+
+CFLAGS="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
+
+post_install() {
+	vlicense COPYING
+}
+
+libspatialite-devel_package() {
+	depends="$pkgname-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+	}
+}

From 037c78261bd0d8479a3ed8113522228607261464 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Sun, 20 Dec 2020 14:51:11 +0100
Subject: [PATCH 05/27] libspatialite: CROSS_BUILD geos-devel fix...

---
 srcpkgs/libspatialite/template | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/libspatialite/template b/srcpkgs/libspatialite/template
index 787ae797248..6d3d74faf02 100644
--- a/srcpkgs/libspatialite/template
+++ b/srcpkgs/libspatialite/template
@@ -6,8 +6,8 @@ version=5.0.0
 revision=1
 build_style=gnu-configure
 hostmakedepends="pkg-config libxml2"
-makedepends="sqlite-devel minizip-devel zlib-devel proj-devel freexl-devel geos-devel
- libxml2-devel"
+makedepends="sqlite-devel minizip-devel zlib-devel proj-devel freexl-devel
+ geos-devel libxml2-devel"
 depends="sqlite"
 short_desc="Geospatial extension for SQLite"
 maintainer="Bo Son <boson@gmx.at>"
@@ -18,6 +18,20 @@ checksum=7b7fd70243f5a0b175696d87c46dde0ace030eacc27f39241c24bac5dfac6dac
 
 CFLAGS="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
 
+if [ "$CROSS_BUILD" ]; then
+	# FIXME aarch64* & armv7l*
+	# checking for geos-config... no
+	# configure: error: could not find geos-config within the current path. You may need to try re-running configure with a --with-geosconfig parameter.
+	# => ERROR: libspatialite-5.0.0_1: do_configure: '${configure_script} ${configure_args}' exited with 1
+	# => ERROR:   in do_configure() at common/build-style/gnu-configure.sh:7
+	# Error: Process completed with exit code 1.
+	#
+	# geos-devel only in makedepends dont work ! ???
+	# added in hostmakedepends...
+	hostmakedepends+=" libtool geos-devel"
+fi
+
+
 post_install() {
 	vlicense COPYING
 }

From ab1c763bdff4689fc070d1d212f421f64e1de291 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Sun, 20 Dec 2020 14:55:28 +0100
Subject: [PATCH 06/27] libspatialite: check temporary disabled

---
 srcpkgs/libspatialite/template | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/srcpkgs/libspatialite/template b/srcpkgs/libspatialite/template
index 6d3d74faf02..f11f0a76e5c 100644
--- a/srcpkgs/libspatialite/template
+++ b/srcpkgs/libspatialite/template
@@ -31,6 +31,14 @@ if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" libtool geos-devel"
 fi
 
+do_check() {
+	# check temporary disabled
+	#   FAIL: check_sql_stmt
+	#   FAIL: check_sql_stmt_tiny
+	#   FAIL: check_sql_stmt_extension
+	# https://www.gaia-gis.it/fossil/libspatialite/tktview/3e46349bf2bfc58b3e3051d1ff7cab73eed19a88?plaintext
+	:
+}
 
 post_install() {
 	vlicense COPYING

From df060b9ad42ef7f9ed11ed796f7050651f089109 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Sun, 20 Dec 2020 14:57:42 +0100
Subject: [PATCH 07/27] common/shlibs: add libspatialite-5.0.0 shlibs

---
 common/shlibs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/shlibs b/common/shlibs
index 0d2c2256d06..9fc5046558a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4056,3 +4056,5 @@ libkmldom.so.1 libkml-1.3.0_1
 libkmlengine.so.1 libkml-1.3.0_1
 libkmlregionator.so.1 libkml-1.3.0_1
 libkmlxsd.so.1 libkml-1.3.0_1
+libspatialite.so.7 libspatialite-5.0.0_1
+mod_spatialite.so.7 libspatialite-5.0.0_1

From b393bca888638847b6aa3b5f3b18265335b08039 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Fri, 27 Nov 2020 07:02:22 +0100
Subject: [PATCH 08/27] libgdal: postgresql and kml support added

---
 srcpkgs/libgdal/shlibs   |  1 +
 srcpkgs/libgdal/template | 27 ++++++++++++++++++---------
 2 files changed, 19 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/libgdal/shlibs

diff --git a/srcpkgs/libgdal/shlibs b/srcpkgs/libgdal/shlibs
new file mode 100644
index 00000000000..62062587b2c
--- /dev/null
+++ b/srcpkgs/libgdal/shlibs
@@ -0,0 +1 @@
+libgdal.so.28 libgdal-3.2.0_1
diff --git a/srcpkgs/libgdal/template b/srcpkgs/libgdal/template
index c858c4264f1..d27c76c4a8f 100644
--- a/srcpkgs/libgdal/template
+++ b/srcpkgs/libgdal/template
@@ -1,23 +1,32 @@
 # Template file for 'libgdal'
+# Modified by Monkey-7-12 <monkeyseven@fblog.ch>
+# + libgdal with additional postgresql and kml support
 pkgname=libgdal
-version=3.0.4
-revision=6
+version=3.2.0
+revision=1
 wrksrc="gdal-${version}"
+build_wrksrc="gdal"
 build_style=gnu-configure
-configure_args="--with-liblzma --with-webp --with-zstd --with-podofo --with-opencl=yes"
+configure_args="--with-liblzma --with-webp --with-zstd --with-podofo --with-opencl=yes
+ $(vopt_with postgresql pg)"
 hostmakedepends="gettext-devel pkg-config python-numpy json-c-devel"
-makedepends="freexl-devel geos-devel jasper-devel json-c-devel
+makedepends="freexl-devel geos-devel jasper-devel json-c-devel boost-devel
  libcurl-devel libopenexr-devel libopenjpeg2-devel libpodofo-devel libqhull-devel
- libwebp-devel libxml2-devel libzstd-devel netcdf-devel opencl2-headers pcre2-devel
- proj-devel sqlite-devel ocl-icd-devel"
+ libwebp-devel libxml2-devel libzstd-devel netcdf-devel opencl-headers pcre2-devel
+ proj-devel sqlite-devel ocl-icd-devel $(vopt_if postgresql postgresql-libs-devel)
+ $(vopt_if kml libkml-devel)"
 short_desc="Geospatial Data Abstraction Library"
-maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
+#maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
+maintainer="Monkey-7-12 <monkeyseven@fblog.ch>"
 license="MIT"
 homepage="http://www.gdal.org/"
-distfiles="http://download.osgeo.org/gdal/${version}/gdal-${version}.tar.xz"
-checksum=5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277
+distfiles="https://github.com/OSGeo/gdal/archive/v${version}.tar.gz"
+checksum=132497c170936a3d5e387797640c371db631d30ba7beabd0b6dacaa3642fb43c
 subpackages="libgdal-devel libgdal-tools"
 
+build_options="postgresql kml"
+build_options_default="postgresql kml"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From c4323efdadc0c097ac1b25e0a97c173c20f35f83 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Sun, 13 Dec 2020 16:10:37 +0100
Subject: [PATCH 09/27] libgdal: python3-gdal new build in libgdal

---
 srcpkgs/libgdal/template | 73 ++++++++++++++++++++++++++++++++++------
 srcpkgs/python3-gdal     |  1 +
 2 files changed, 63 insertions(+), 11 deletions(-)
 create mode 120000 srcpkgs/python3-gdal

diff --git a/srcpkgs/libgdal/template b/srcpkgs/libgdal/template
index d27c76c4a8f..bdc7b923225 100644
--- a/srcpkgs/libgdal/template
+++ b/srcpkgs/libgdal/template
@@ -1,36 +1,73 @@
 # Template file for 'libgdal'
 # Modified by Monkey-7-12 <monkeyseven@fblog.ch>
 # + libgdal with additional postgresql and kml support
+# Modified by Nyx70 <n.y.x@bluewin.ch>
+#   python3-gdal module
+#   --with-expat / --with-spatialite added (OSM support)
 pkgname=libgdal
 version=3.2.0
 revision=1
 wrksrc="gdal-${version}"
 build_wrksrc="gdal"
 build_style=gnu-configure
-configure_args="--with-liblzma --with-webp --with-zstd --with-podofo --with-opencl=yes
+configure_args="
+ --with-expat=yes
+ --with-liblzma=yes
+ --with-opencl=yes
+ --with-podofo=yes
+ --with-spatialite=yes
+ --with-sqlite3=yes
+ --with-webp=yes
+ --with-zstd=yes
+ $(vopt_if kml libkml)
  $(vopt_with postgresql pg)"
-hostmakedepends="gettext-devel pkg-config python-numpy json-c-devel"
-makedepends="freexl-devel geos-devel jasper-devel json-c-devel boost-devel
- libcurl-devel libopenexr-devel libopenjpeg2-devel libpodofo-devel libqhull-devel
- libwebp-devel libxml2-devel libzstd-devel netcdf-devel opencl-headers pcre2-devel
- proj-devel sqlite-devel ocl-icd-devel $(vopt_if postgresql postgresql-libs-devel)
- $(vopt_if kml libkml-devel)"
+hostmakedepends="gettext-devel pkg-config python3-numpy json-c-devel swig"
+makedepends="boost-devel expat-devel freexl-devel geos-devel jasper-devel
+ json-c-devel libcurl-devel libopenexr-devel libopenjpeg2-devel
+ libpodofo-devel libqhull-devel libspatialite-devel libwebp-devel
+ libxml2-devel libzstd-devel netcdf-devel ocl-icd-devel opencl-headers
+ pcre2-devel proj-devel python3-devel sqlite-devel
+ $(vopt_if kml libkml-devel)
+ $(vopt_if postgresql postgresql-libs-devel)"
 short_desc="Geospatial Data Abstraction Library"
 #maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
-maintainer="Monkey-7-12 <monkeyseven@fblog.ch>"
+#maintainer="Monkey-7-12 <monkeyseven@fblog.ch>"
+maintainer="Nyx70 <n.y.x@bluewin.ch>"
 license="MIT"
 homepage="http://www.gdal.org/"
 distfiles="https://github.com/OSGeo/gdal/archive/v${version}.tar.gz"
 checksum=132497c170936a3d5e387797640c371db631d30ba7beabd0b6dacaa3642fb43c
-subpackages="libgdal-devel libgdal-tools"
+subpackages="python3-gdal libgdal-devel libgdal-tools"
 
-build_options="postgresql kml"
-build_options_default="postgresql kml"
+build_options="kml postgresql"
+build_options_default="kml postgresql"
 
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi
 
+do_build() {
+	: ${make_cmd:=make}
+	${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+	# python modules
+	rm -f swig/python/*_wrap.cpp
+	make -C swig/python generate
+	#pushd swig/python > /dev/null
+	cd swig/python
+	${make_cmd} ${makejobs} PYTHON=python3 ${makejobs} ${make_build_args} ${make_build_target}
+#	popd > /dev/null
+}
+
+do_install() {
+	: ${make_cmd:=make}
+	${make_cmd} DESTDIR=${DESTDIR} install
+	# python modules
+	#pushd swig/python > /dev/null
+	cd swig/python
+	#${make_cmd} PYTHON=python3 DESTDIR=/destdir/python3-gdalx-$version/ install
+	${make_cmd} PYTHON=python3 DESTDIR=${DESTDIR}/ install
+}
+
 post_install() {
 	vinstall gdal.pc 644 usr/lib/pkgconfig
 	vlicense LICENSE.TXT
@@ -55,3 +92,17 @@ libgdal-devel_package() {
 		vmove usr/lib/*.so
 	}
 }
+
+python3-gdal_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - Python3 bindings"
+	pkg_install() {
+		vmove usr/bin/*.py
+		vmove "usr/lib/python*"
+		vlicense $wrksrc/$build_wrksrc/LICENSE.TXT
+		vdoc $wrksrc/$build_wrksrc/swig/python/README.rst
+		mkdir -p ${PKGDESTDIR}/usr/share/${pkgname}
+		cp -r $wrksrc/$build_wrksrc/swig/python/samples ${PKGDESTDIR}/usr/share/${pkgname}/examples
+		rm -rf ${PKGDESTDIR}/lib
+	}
+}
diff --git a/srcpkgs/python3-gdal b/srcpkgs/python3-gdal
new file mode 120000
index 00000000000..377d50dfc2b
--- /dev/null
+++ b/srcpkgs/python3-gdal
@@ -0,0 +1 @@
+libgdal
\ No newline at end of file

From 180792f4ffaed2d1992a9d498ac2fcd1387b7aa3 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Sun, 20 Dec 2020 14:33:12 +0100
Subject: [PATCH 10/27] libgdal: aarch & arm temporary disabled

---
 srcpkgs/libgdal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libgdal/template b/srcpkgs/libgdal/template
index bdc7b923225..255f9b2459d 100644
--- a/srcpkgs/libgdal/template
+++ b/srcpkgs/libgdal/template
@@ -7,6 +7,8 @@
 pkgname=libgdal
 version=3.2.0
 revision=1
+# aarch & arm temporary disabled
+archs="~aarch* ~armv*"
 wrksrc="gdal-${version}"
 build_wrksrc="gdal"
 build_style=gnu-configure

From a0d000a2311c5c367f80ced4e1885675d9ec4184 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 14:18:19 +0100
Subject: [PATCH 11/27] common/shlibs: update for libgdal-3.2.0

---
 common/shlibs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/shlibs b/common/shlibs
index 9fc5046558a..1bb4716d967 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2464,7 +2464,7 @@ libu2f-host.so.0 libu2f-host-1.0.0_1
 libu2f-server.so.0 libu2f-server-1.0.1_2
 libsqlcipher.so.0 sqlcipher-3.3.1_1
 libgta.so.1 libgta-1.2.0_1
-libgdal.so.26 libgdal-3.0.0_1
+libgdal.so.28 libgdal-3.2.0_1
 libosgViewer.so.131 osg-3.4.1_1
 libosgShadow.so.131 osg-3.4.1_1
 libosgParticle.so.131 osg-3.4.1_1

From a846a339cc0ec8a82a98b2ec8d74fe17d0e982a9 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 14:22:47 +0100
Subject: [PATCH 12/27] proj: update to 7.2.0.

---
 srcpkgs/proj/shlibs   |  1 +
 srcpkgs/proj/template | 13 +++++++------
 srcpkgs/proj/update   |  1 -
 3 files changed, 8 insertions(+), 7 deletions(-)
 create mode 100644 srcpkgs/proj/shlibs
 delete mode 100644 srcpkgs/proj/update

diff --git a/srcpkgs/proj/shlibs b/srcpkgs/proj/shlibs
new file mode 100644
index 00000000000..3890e887d63
--- /dev/null
+++ b/srcpkgs/proj/shlibs
@@ -0,0 +1 @@
+libproj.so.19 proj-7.2.0_1
diff --git a/srcpkgs/proj/template b/srcpkgs/proj/template
index 51c4638234b..3a6569178e6 100644
--- a/srcpkgs/proj/template
+++ b/srcpkgs/proj/template
@@ -1,17 +1,19 @@
 # Template file for 'proj'
+# Modified by Monkey-7-12 <monkeyseven@fblog.ch>
 pkgname=proj
-version=6.3.2
+version=7.2.0
 revision=1
 build_style=cmake
-configure_args="-DPROJ_TESTS=OFF"
+configure_args="-DBUILD_TESTING=OFF"
 hostmakedepends="python3"
-makedepends="sqlite-devel"
+makedepends="sqlite-devel tiff-devel libcurl-devel"
 short_desc="Cartographic Projections Library"
-maintainer="John <me@johnnynator.dev>"
+#maintainer="John <me@johnnynator.dev>"
+maintainer="Monkey-7-12 <monkeyseven@fblog.ch>"
 license="MIT"
 homepage="https://proj4.org"
 distfiles="https://download.osgeo.org/proj/proj-${version}.tar.gz"
-checksum=cb776a70f40c35579ae4ba04fb4a388c1d1ce025a1df6171350dc19f25b80311
+checksum=2957798e5fe295ff96a2af1889d0428e486363d210889422f76dd744f7885763
 
 post_install() {
 	vlicense COPYING
@@ -22,7 +24,6 @@ proj-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/share/man/man3
 		vmove usr/lib/cmake
 		vmove "usr/lib/*.so"
 	}
diff --git a/srcpkgs/proj/update b/srcpkgs/proj/update
deleted file mode 100644
index 667700bc719..00000000000
--- a/srcpkgs/proj/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*RC*"

From 23de9363f2875f93b0ac1ea54a49b825cb3558ea Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 14:24:26 +0100
Subject: [PATCH 13/27] common/shlibs: update for proj-7.2.0

---
 common/shlibs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/shlibs b/common/shlibs
index 1bb4716d967..a49be5af487 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3089,7 +3089,7 @@ libwithsctp.so.1 lksctp-tools-1.0.17_1
 libnss_ldap.so.2 nss-pam-ldapd-0.9.7_4
 libunshield.so.0 libunshield-0.6_1
 libMyGUIEngine.so.3.4.0 libmygui-3.4.0_1
-libproj.so.18 proj-6.3.0_1
+libproj.so.19 proj-7.2.0_1
 libnlopt.so.0 nlopt-2.4.2_1
 libeb.so.16 libeb-4.3.3_1
 libchipcard.so.6 libchipcard-5.0.4_1

From bf275717b51bf4e14f7c008789fff586f7474147 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 15:33:58 +0100
Subject: [PATCH 14/27] grass: update to 7.8.4.

---
 srcpkgs/grass/INSTALL  |  5 ++++
 srcpkgs/grass/REMOVE   |  5 ++++
 srcpkgs/grass/shlibs   |  7 +++++
 srcpkgs/grass/template | 64 +++++++++++++++++++++++++++++-------------
 4 files changed, 61 insertions(+), 20 deletions(-)
 create mode 100644 srcpkgs/grass/INSTALL
 create mode 100644 srcpkgs/grass/REMOVE
 create mode 100644 srcpkgs/grass/shlibs

diff --git a/srcpkgs/grass/INSTALL b/srcpkgs/grass/INSTALL
new file mode 100644
index 00000000000..f10f31ce260
--- /dev/null
+++ b/srcpkgs/grass/INSTALL
@@ -0,0 +1,5 @@
+case "$ACTION" in
+post)
+	ldconfig
+	;;
+esac
diff --git a/srcpkgs/grass/REMOVE b/srcpkgs/grass/REMOVE
new file mode 100644
index 00000000000..f10f31ce260
--- /dev/null
+++ b/srcpkgs/grass/REMOVE
@@ -0,0 +1,5 @@
+case "$ACTION" in
+post)
+	ldconfig
+	;;
+esac
diff --git a/srcpkgs/grass/shlibs b/srcpkgs/grass/shlibs
new file mode 100644
index 00000000000..ef2810ae84d
--- /dev/null
+++ b/srcpkgs/grass/shlibs
@@ -0,0 +1,7 @@
+libgrass_dbmibase.7.8.so grass-7.8.4_1
+libgrass_dbmiclient.7.8.so grass-7.8.4_1
+libgrass_gis.7.8.so grass-7.8.4_1
+libgrass_gproj.7.8.so grass-7.8.4_1
+libgrass_imagery.7.8.so grass-7.8.4_1
+libgrass_raster.7.8.so grass-7.8.4_1
+libgrass_vector.7.8.so grass-7.8.4_1
diff --git a/srcpkgs/grass/template b/srcpkgs/grass/template
index bccd691a811..82afecc3ec3 100644
--- a/srcpkgs/grass/template
+++ b/srcpkgs/grass/template
@@ -1,30 +1,54 @@
 # Template file for 'grass'
+# Modified by Monkey-7-12 <monkeyseven@fblog.ch>
+# Modified by Nyx70 <n.y.x@bluewin.ch>
 pkgname=grass
-version=7.6.1
-revision=4
-_binver=${version//./}
-_binver=${_binver:0:2}
+version=7.8.4
+revision=1
+_binver=${version%.*}
+_binver=${_binver//./}
 build_style=gnu-configure
-configure_args="--prefix=\${DESTDIR}/usr/share --bindir=\${DESTDIR}/usr/bin
- --with-freetype-includes=${XBPS_CROSS_BASE}/usr/include/freetype2"
-hostmakedepends="flex libgdal-tools pkg-config python-numpy tar"
-makedepends="proj-devel tiff-devel libgdal-devel sqlite-devel
- fftw-devel cairo-devel glu-devel wxPython-devel"
-depends="python-numpy wxPython"
-short_desc="Geographic Resources Analysis Support System - GIS"
-maintainer="Alex Jarosch <research@alexj.at>"
+configure_args="--prefix=\${DESTDIR}/usr/lib --bindir=\${DESTDIR}/usr/bin
+ --with-freetype-includes=${XBPS_CROSS_BASE}/usr/include/freetype2
+ $(vopt_with bzip2 bzlib)
+ $(vopt_with geos)
+ $(vopt_with mysql) $(vopt_if mysql --with-mysql-includes=/usr/include/mysql)
+ $(vopt_with nls)
+ $(vopt_with pthread)
+ $(vopt_with postgres)"
+hostmakedepends="flex libgdal-tools pkg-config python-numpy python3-six tar
+ $(vopt_if nls gettext)"
+makedepends="proj-devel tiff-devel libgdal-devel sqlite-devel fftw-devel
+ cairo-devel glu-devel wxPython-devel libzstd-devel bzip2-devel
+ $(vopt_if bzip2 bzip2-devel)
+ $(vopt_if geos geos-devel)
+ $(vopt_if mysql libmysqlclient-devel)
+ $(vopt_if nls gettext-devel)
+ $(vopt_if postgres postgresql-libs-devel)"
+depends="python-numpy wxPython libgdal>=3.2.0_1"
+short_desc="Geographic Resources Analysis Support System"
+#maintainer="Alex Jarosch <research@alexj.at>"
+#maintainer="Monkey-7-12 <monkeyseven@fblog.ch>"
+maintainer="Nyx70 <n.y.x@bluewin.ch>"
 license="GPL-2.0-or-later"
 homepage="https://grass.osgeo.org/"
-distfiles="https://grass.osgeo.org/grass${_binver}/source/${pkgname}-${version}.tar.gz"
-checksum=9e25c99cafd16ed8f5e2dca75b5a10dc2af0568dbedf3fc39f1c5a0a9c840b0b
-python_version=2 #unverified
+distfiles="https://github.com/OSGeo/grass/archive/${version}.tar.gz"
+checksum=d9535afb5e43ecdcf9a6233f5a1fa83908b66456bdd06107e7320a51ee86cff9
 nocross="tries to execute target binaries"
 
+shlib_provides="libgrass_dbmibase.${version%.*}.so libgrass_dbmiclient.${version%.*}.so
+ libgrass_gis.${version%.*}.so libgrass_gproj.${version%.*}.so libgrass_imagery.${version%.*}.so
+ libgrass_raster.${version%.*}.so libgrass_vector.${version%.*}.so"
+
+build_options="geos mysql nls pthread postgres"
+build_options_default="geos pthread postgres"
+
 post_install() {
-	# move grass76 libraries from /usr/share to /usr/lib
-	vmkdir usr/lib
-	mv ${DESTDIR}/usr/share/grass* ${DESTDIR}/usr/lib
 	# fixes a todo in GISBASE
-	sed -i ${DESTDIR}/usr/bin/grass${_binver} \
-		-e "105s;\(gisbase =\).*;\1 \"/usr/lib/grass-${version}\";"
+	vsed -i ${DESTDIR}/usr/bin/grass${_binver} -e "s:${DESTDIR}::"
+	# ld.so.conf
+	mkdir -p ${DESTDIR}/etc/ld.so.conf.d
+	echo "/usr/lib/grass${_binver}/lib" >${DESTDIR}/etc/ld.so.conf.d/grass${_binver}.conf
+	# profiles
+	mkdir -p ${DESTDIR}/etc/profile.d
+	echo 'export PATH="/usr/lib/grass'${_binver}'/bin:$PATH"' >${DESTDIR}/etc/profile.d/grass${_binver}.sh
 }

From 3b4a3ea81585d92a568731bb5aabf8e5e365d169 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Thu, 17 Dec 2020 13:09:28 +0100
Subject: [PATCH 15/27] grass: musl patch added

---
 srcpkgs/grass/patches/musl-build-fix.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/grass/patches/musl-build-fix.patch

diff --git a/srcpkgs/grass/patches/musl-build-fix.patch b/srcpkgs/grass/patches/musl-build-fix.patch
new file mode 100644
index 00000000000..e8177836574
--- /dev/null
+++ b/srcpkgs/grass/patches/musl-build-fix.patch
@@ -0,0 +1,12 @@
+error: unknown type name 'int64_t' patch for musl
+
+--- include/gis.h	2020-10-05 08:39:31.000000000 +0200
++++ include/gis.h	2020-12-10 08:21:58.788027542 +0100
+@@ -23,6 +23,7 @@
+ /* System include files */
+ #include <stdio.h>
+ #include <stdarg.h>
++#include <stdint.h>
+ 
+ /* Grass and local include files */
+ #include <grass/config.h>

From 7bb9ef4333cfbbfec188f41440fc329f9ad6c4d5 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 15:34:53 +0100
Subject: [PATCH 16/27] common/shlibs: add grass-7.8.4 shlibs

---
 common/shlibs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/common/shlibs b/common/shlibs
index a49be5af487..6ad8432778e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4058,3 +4058,10 @@ libkmlregionator.so.1 libkml-1.3.0_1
 libkmlxsd.so.1 libkml-1.3.0_1
 libspatialite.so.7 libspatialite-5.0.0_1
 mod_spatialite.so.7 libspatialite-5.0.0_1
+libgrass_dbmibase.7.8.so grass-7.8.4_1
+libgrass_dbmiclient.7.8.so grass-7.8.4_1
+libgrass_gis.7.8.so grass-7.8.4_1
+libgrass_gproj.7.8.so grass-7.8.4_1
+libgrass_imagery.7.8.so grass-7.8.4_1
+libgrass_raster.7.8.so grass-7.8.4_1
+libgrass_vector.7.8.so grass-7.8.4_1

From 70fbb0d1a4afb8b9f0f0cc6efd0699e7b3c780d0 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 15:45:30 +0100
Subject: [PATCH 17/27] qscintilla-qt5: update to 2.11.5.

---
 srcpkgs/qscintilla-qt5/template | 14 ++++++++------
 srcpkgs/qscintilla-qt5/update   |  3 ---
 2 files changed, 8 insertions(+), 9 deletions(-)
 delete mode 100644 srcpkgs/qscintilla-qt5/update

diff --git a/srcpkgs/qscintilla-qt5/template b/srcpkgs/qscintilla-qt5/template
index e7eac8a82f4..7d88a42da7f 100644
--- a/srcpkgs/qscintilla-qt5/template
+++ b/srcpkgs/qscintilla-qt5/template
@@ -1,18 +1,20 @@
 # Template file for 'qscintilla-qt5'
+# Modified by Monkey-7-12 <monkeyseven@fblog.ch>
 pkgname=qscintilla-qt5
-version=2.11.2
+version=2.11.5
 revision=1
-wrksrc="QScintilla_gpl-${version}"
+wrksrc="QScintilla-${version}"
 build_wrksrc=Qt4Qt5
 build_style=qmake
 hostmakedepends="qt5-qmake"
 makedepends="qt5-devel"
 short_desc="Qt5 port of Neil Hodgson's Scintilla C++ editor class"
-maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
-license="GPL-3.0-only"
+#maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
+maintainer="Monkey-7-12 <monkeyseven@fblog.ch>"
+license="GPL-3.0-or-later"
 homepage="https://www.riverbankcomputing.com/software/qscintilla/intro"
-distfiles="https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla_gpl-${version}.tar.gz"
-checksum=029bdc476a069fda2cea3cd937ba19cc7fa614fb90578caef98ed703b658f4a1
+distfiles="https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla-${version}.tar.gz"
+checksum=9361e26fd7fb7b5819a7eb92c5c1880a18de9bd3ed9dd2eb008e57388696716b
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends="qt5-devel"
diff --git a/srcpkgs/qscintilla-qt5/update b/srcpkgs/qscintilla-qt5/update
deleted file mode 100644
index 4c5ed097b26..00000000000
--- a/srcpkgs/qscintilla-qt5/update
+++ /dev/null
@@ -1,3 +0,0 @@
-site="https://www.riverbankcomputing.com/software/qscintilla/download"
-pkgname=QScintilla_gpl
-ignore="*dev*"

From f2b1ee7f6ca0c89e2bfcc1a55214a513dae4da12 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 15:48:25 +0100
Subject: [PATCH 18/27] New package: python3-PyQt5-Qsci-2.11.5

---
 srcpkgs/python3-PyQt5-Qsci/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-PyQt5-Qsci/template

diff --git a/srcpkgs/python3-PyQt5-Qsci/template b/srcpkgs/python3-PyQt5-Qsci/template
new file mode 100644
index 00000000000..d7446bc0627
--- /dev/null
+++ b/srcpkgs/python3-PyQt5-Qsci/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-PyQt5-Qsci'
+pkgname=python3-PyQt5-Qsci
+version=2.11.5
+revision=1
+wrksrc="QScintilla-${version}"
+build_wrksrc=Python
+build_style=qmake
+hostmakedepends="qt5-qmake"
+makedepends="python3-devel qscintilla-qt5-devel>=${version} qscintilla-qt5-devel<=${version}
+ python3-PyQt5-devel qt5-devel python3-sip-devel"
+short_desc="QScintilla Python3 bindings"
+maintainer="Bo Son <boson@gmx.at>"
+license="GPL-3.0-or-later"
+homepage="https://www.riverbankcomputing.com/software/qscintilla/intro"
+distfiles="https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla-${version}.tar.gz"
+checksum=9361e26fd7fb7b5819a7eb92c5c1880a18de9bd3ed9dd2eb008e57388696716b
+
+do_configure() {
+	export QMAKEFEATURES=${wrksrc}/Qt4Qt5/features/
+	python3 configure.py --pyqt=PyQt5
+}

From 2e322adff7dceb6c5ad1c13f283b153b4e19f1ac Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Thu, 17 Dec 2020 10:47:47 +0100
Subject: [PATCH 19/27] New package: python3-pyproj-3.0.0

---
 srcpkgs/python3-pyproj/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pyproj/template

diff --git a/srcpkgs/python3-pyproj/template b/srcpkgs/python3-pyproj/template
new file mode 100644
index 00000000000..aaae6299adc
--- /dev/null
+++ b/srcpkgs/python3-pyproj/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pyproj'
+pkgname=python3-pyproj
+version=3.0.0
+revision=1
+wrksrc=pyproj-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Cython"
+makedepends="python3-devel proj-devel"
+depends="proj"
+short_desc="Python3 interface to the PROJ library"
+maintainer="Nyx70 <n.y.x@bluewin.ch>"
+license="MIT"
+homepage="https://github.com/pyproj4/pyproj"
+distfiles="https://github.com/pyproj4/pyproj/archive/${version}.tar.gz"
+checksum=0c0d5eb70decd14df7137ac8c0aec546bd4e5286486dcbc3c4ae223c293e215e
+
+post_install() {
+	vlicense LICENSE
+}

From 3eef17f0928c3fe8fd0721b5f31c3a65f0c2689b Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Thu, 17 Dec 2020 12:23:35 +0100
Subject: [PATCH 20/27] python3-pyproj: check temporary disabled

---
 srcpkgs/python3-pyproj/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/python3-pyproj/template b/srcpkgs/python3-pyproj/template
index aaae6299adc..130c93cab36 100644
--- a/srcpkgs/python3-pyproj/template
+++ b/srcpkgs/python3-pyproj/template
@@ -7,6 +7,7 @@ build_style=python3-module
 hostmakedepends="python3-setuptools python3-Cython"
 makedepends="python3-devel proj-devel"
 depends="proj"
+checkdepends="python3-pytest-cov python3-certifi python3-pandas"
 short_desc="Python3 interface to the PROJ library"
 maintainer="Nyx70 <n.y.x@bluewin.ch>"
 license="MIT"
@@ -14,6 +15,11 @@ homepage="https://github.com/pyproj4/pyproj"
 distfiles="https://github.com/pyproj4/pyproj/archive/${version}.tar.gz"
 checksum=0c0d5eb70decd14df7137ac8c0aec546bd4e5286486dcbc3c4ae223c293e215e
 
+do_check() {
+	# check temporary disabled
+	:
+}
+
 post_install() {
 	vlicense LICENSE
 }

From 148b3ac4b6fcc4891d0e6243ec2cfd35844ce745 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 15:51:28 +0100
Subject: [PATCH 21/27] New package: python3-OWSLib-0.20.0

---
 srcpkgs/python3-OWSLib/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-OWSLib/template

diff --git a/srcpkgs/python3-OWSLib/template b/srcpkgs/python3-OWSLib/template
new file mode 100644
index 00000000000..d9c36a6a2b4
--- /dev/null
+++ b/srcpkgs/python3-OWSLib/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-OWSLib'
+# Modified by Nyx70 <n.y.x@bluewin.ch>
+#   license=BSD -> BSD-3-Clause
+pkgname=python3-OWSLib
+version=0.20.0
+revision=1
+wrksrc=OWSLib-${version}
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+short_desc="OWSLib Python3 modules"
+maintainer="Bo Son <boson@gmx.at>"
+license="BSD-3-Clause"
+homepage="https://geopython.github.io/OWSLib"
+distfiles="https://github.com/geopython/OWSLib/archive/${version}.tar.gz"
+checksum=24dfed7372449a942d7d5090df3021f090c2bb52189b3f0044405d7b98c3bf66
+
+post_install() {
+	vlicense LICENSE
+}

From 01c8fe2936bcb82e30dd84ecc190c9610f8f6017 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Thu, 17 Dec 2020 10:50:21 +0100
Subject: [PATCH 22/27] python3-OWSLib: [WIP] check temporary disabled

---
 srcpkgs/python3-OWSLib/template | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/srcpkgs/python3-OWSLib/template b/srcpkgs/python3-OWSLib/template
index d9c36a6a2b4..1b7d5129700 100644
--- a/srcpkgs/python3-OWSLib/template
+++ b/srcpkgs/python3-OWSLib/template
@@ -7,6 +7,8 @@ revision=1
 wrksrc=OWSLib-${version}
 build_style=python3-module
 hostmakedepends="python3-devel python3-setuptools"
+checkdepends="python3-pytest-cov python3-requests python3-dateutil python3-pytz
+ python3-yaml python3-pyproj python3-certifi"
 short_desc="OWSLib Python3 modules"
 maintainer="Bo Son <boson@gmx.at>"
 license="BSD-3-Clause"
@@ -14,6 +16,11 @@ homepage="https://geopython.github.io/OWSLib"
 distfiles="https://github.com/geopython/OWSLib/archive/${version}.tar.gz"
 checksum=24dfed7372449a942d7d5090df3021f090c2bb52189b3f0044405d7b98c3bf66
 
+do_check() {
+	# check temporary disabled
+	:
+}
+
 post_install() {
 	vlicense LICENSE
 }

From 7eb1d6d0737c8eb5a9879d35c50ca8f4a55d972b Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 17:11:02 +0100
Subject: [PATCH 23/27] New package: qgis-3.16.1

---
 srcpkgs/qgis/shlibs   |  7 +++++++
 srcpkgs/qgis/template | 45 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 srcpkgs/qgis/shlibs
 create mode 100644 srcpkgs/qgis/template

diff --git a/srcpkgs/qgis/shlibs b/srcpkgs/qgis/shlibs
new file mode 100644
index 00000000000..2a26c752a69
--- /dev/null
+++ b/srcpkgs/qgis/shlibs
@@ -0,0 +1,7 @@
+libqgis_analysis.so.3.16.1 qgis-3.16.1_1
+libqgis_app.so.3.16.1 qgis-3.16.1_1
+libqgis_core.so.3.16.1 qgis-3.16.1_1
+libqgis_gui.so.3.16.1 qgis-3.16.1_1
+libqgis_native.so.3.16.1 qgis-3.16.1_1
+libqgisgrass7.so.3.16.1 qgis-3.16.1_1
+libqgispython.so.3.16.1 qgis-3.16.1_1
diff --git a/srcpkgs/qgis/template b/srcpkgs/qgis/template
new file mode 100644
index 00000000000..d95a267dde6
--- /dev/null
+++ b/srcpkgs/qgis/template
@@ -0,0 +1,45 @@
+# Template file for 'qgis'
+# Modified by Nyx70 <n.y.x@bluewin.ch>
+pkgname=qgis
+version=3.16.1
+revision=1
+archs="x86_64"
+wrksrc=QGIS-final-${version//./_}
+build_style=cmake
+configure_args="-D GRASS_PREFIX7=/usr/lib/grass78"
+hostmakedepends="pkg-config flex bison python3 protobuf24"
+makedepends="gsl-devel hdf5-devel protobuf24-devel
+ ocl-icd-devel opencl-clhpp
+ exiv2-devel expat-devel
+ libxml2-devel libzip-devel netcdf-devel
+ qt5-devel qt5-declarative-devel qt5-location-devel
+ qt5-serialport-devel qt5-webkit-devel
+ qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite
+ qt5-plugin-tds qwt-devel
+ qscintilla-qt5-devel python3-PyQt5-Qsci
+ qca-qt5-devel qca-qt5-ossl qtkeychain-qt5-devel
+ python3-devel python3-PyQt5-devel python3-PyQt5-devel-tools
+ geos-devel grass libgdal-devel proj-devel
+ libspatialite libspatialindex-devel libspatialite-devel
+ postgresql-libs-devel sqlite-devel"
+# geos-devel grass>=7.8.0 grass<7.9.0 libgdal-devel proj-devel
+depends="python3-PyQt5 python3-PyQt5-Qsci python3-PyQt5-sql python3-PyQt5-svg
+ python3-Jinja2 python3-OWSLib python3-Pygments
+ qt5-plugin-sqlite python3-dateutil python3-requests python3-yaml
+ python3-Pillow python3-gdal python3-psycopg2 python3-pytz qca-qt5-ossl
+ grass>=7.8.0 grass<7.9.0"
+short_desc="QGIS - A Free and Open Source Geographic Information System"
+#maintainer="Bo Son <boson@gmx.at>"
+maintainer="Nyx70 <n.y.x@bluewin.ch>"
+license="GPL-3.0-or-later"
+homepage="https://qgis.org"
+distfiles="https://github.com/qgis/QGIS/archive/final-${version//./_}.tar.gz"
+checksum=bc1fa8b7451aebd9ecaa8704cea421adcf2309a6b00048a20b8c307c3297d03e
+
+do_install() {
+	cd ${wrksrc}/build
+	make DESTDIR="$DESTDIR" install
+	mv ${DESTDIR}/usr/share/qgis/python ${DESTDIR}/usr/lib/qgis/
+	ln -s ../../lib/qgis/python ${DESTDIR}/usr/share/qgis/python
+	mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share/
+}

From 3659394a95e8b95390aa3e20cd92f883fec75f5e Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 15 Dec 2020 05:52:20 +0100
Subject: [PATCH 24/27] qgis: archs= fixed

---
 srcpkgs/qgis/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qgis/template b/srcpkgs/qgis/template
index d95a267dde6..d00d77c4ed0 100644
--- a/srcpkgs/qgis/template
+++ b/srcpkgs/qgis/template
@@ -3,7 +3,7 @@
 pkgname=qgis
 version=3.16.1
 revision=1
-archs="x86_64"
+archs="x86_64*"
 wrksrc=QGIS-final-${version//./_}
 build_style=cmake
 configure_args="-D GRASS_PREFIX7=/usr/lib/grass78"

From 2723c941e51ff8e81a7df5952db22d5cbc0f5727 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Thu, 17 Dec 2020 12:24:32 +0100
Subject: [PATCH 25/27] qgis: check temporary disabled

---
 srcpkgs/qgis/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/qgis/template b/srcpkgs/qgis/template
index d00d77c4ed0..6de05af6f80 100644
--- a/srcpkgs/qgis/template
+++ b/srcpkgs/qgis/template
@@ -36,6 +36,11 @@ homepage="https://qgis.org"
 distfiles="https://github.com/qgis/QGIS/archive/final-${version//./_}.tar.gz"
 checksum=bc1fa8b7451aebd9ecaa8704cea421adcf2309a6b00048a20b8c307c3297d03e
 
+do_check() {
+	# check temporary disabled
+	:
+}
+
 do_install() {
 	cd ${wrksrc}/build
 	make DESTDIR="$DESTDIR" install

From d9a8d1577a1466a0fc3bc9021d6036db97d2b78c Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Tue, 8 Dec 2020 17:11:52 +0100
Subject: [PATCH 26/27] common/shlibs: add qgis-3.16.1 shlibs

---
 common/shlibs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/common/shlibs b/common/shlibs
index 6ad8432778e..9d203c755bb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4065,3 +4065,10 @@ libgrass_gproj.7.8.so grass-7.8.4_1
 libgrass_imagery.7.8.so grass-7.8.4_1
 libgrass_raster.7.8.so grass-7.8.4_1
 libgrass_vector.7.8.so grass-7.8.4_1
+libqgis_analysis.so.3.16.1 qgis-3.16.1_1
+libqgis_app.so.3.16.1 qgis-3.16.1_1
+libqgis_core.so.3.16.1 qgis-3.16.1_1
+libqgis_gui.so.3.16.1 qgis-3.16.1_1
+libqgis_native.so.3.16.1 qgis-3.16.1_1
+libqgisgrass7.so.3.16.1 qgis-3.16.1_1
+libqgispython.so.3.16.1 qgis-3.16.1_1

From cdde1854a6d30dd1592072e38e1112b6bb3fb82e Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Wed, 9 Dec 2020 05:08:05 +0100
Subject: [PATCH 27/27] common/shlibs: updated

libprotobuf-lite.so.24 and libspatialindex.so.6 added
---
 common/shlibs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/shlibs b/common/shlibs
index 9d203c755bb..32a609f84fb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4050,6 +4050,8 @@ libutil-cmdline-samba4.so samba-libs-4.13.2_1
 libwbclient.so.0 samba-libs-4.13.2_1
 libwinbind-client-samba4.so samba-libs-4.13.2_1
 # qgis ...
+libprotobuf-lite.so.24 libprotobuf24-lite-3.13.0.1_1
+libspatialindex.so.6 libspatialindex-1.9.3_1
 libkmlbase.so.1 libkml-1.3.0_1
 libkmlconvenience.so.1 libkml-1.3.0_1
 libkmldom.so.1 libkml-1.3.0_1

  parent reply	other threads:[~2020-12-20 13:58 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09  4:34 [PR PATCH] " Nyx70
2020-12-09  4:38 ` [PR PATCH] [Updated] " Nyx70
2020-12-09  5:09 ` Nyx70
2020-12-09  5:21 ` Nyx70
2020-12-09  5:27 ` Nyx70
2020-12-09 11:08 ` Nyx70
2020-12-09 14:46 ` Nyx70
2020-12-09 16:42 ` Nyx70
2020-12-10  8:51 ` Nyx70
2020-12-10  8:54 ` Nyx70
2020-12-10  8:55 ` Nyx70
2020-12-13 16:01 ` Nyx70
2020-12-13 16:03 ` Nyx70
2020-12-13 16:07 ` Nyx70
2020-12-14  5:31 ` Nyx70
2020-12-14  5:42 ` Nyx70
2020-12-15  4:47 ` Nyx70
2020-12-15  4:54 ` Nyx70
2020-12-15  7:27 ` Nyx70
2020-12-17 11:53 ` Nyx70
2020-12-17 12:10 ` Nyx70
2020-12-20 13:44 ` Nyx70
2020-12-20 13:58 ` Nyx70 [this message]
2020-12-20 14:11 ` Nyx70
2020-12-20 14:13 ` Nyx70
2020-12-20 14:44 ` Nyx70
2020-12-20 15:35 ` Nyx70
2020-12-22 13:05 ` Nyx70
2020-12-22 14:22 ` Nyx70
2020-12-22 14:52 ` Nyx70
2020-12-22 15:05 ` Nyx70
2020-12-22 15:10 ` Nyx70
2020-12-23 18:36 ` Nyx70
2020-12-24 17:30 ` Nyx70
2020-12-24 18:44 ` Nyx70
2020-12-25 13:58 ` Nyx70
2020-12-26  5:49 ` Nyx70
2020-12-26  5:54 ` Nyx70
2020-12-26  6:27 ` Nyx70
2020-12-27  6:24 ` Nyx70
2020-12-27  7:55 ` Nyx70
2020-12-27 10:49 ` Nyx70
2020-12-27 14:05 ` Nyx70
2020-12-27 15:37 ` Nyx70
2020-12-27 15:41 ` Nyx70
2020-12-27 15:45 ` Nyx70
2020-12-27 20:08 ` Nyx70
2020-12-28  5:51 ` Nyx70
2020-12-29  4:57 ` Nyx70
2020-12-29 11:01 ` Nyx70
2020-12-29 16:15 ` Nyx70
2021-01-01 21:32 ` Nyx70
2021-01-05 16:25 ` Nyx70
2021-01-07  6:31 ` Nyx70
2021-01-13 10:56 ` Nyx70
2021-01-20  7:42 ` Nyx70
2021-01-20  7:46 ` Nyx70
2021-01-20  8:30 ` Nyx70
2021-01-20  9:38 ` Nyx70
2021-01-20 10:46 ` Nyx70
2021-01-20 12:10 ` Nyx70
2021-01-20 13:59 ` Nyx70
2021-01-20 18:40 ` Nyx70
2021-01-21  4:14 ` Nyx70
2021-01-31 21:56 ` ar-jan
2021-02-01 12:41 ` [PR PATCH] [Updated] " Nyx70
2021-02-03  4:40 ` Nyx70
2021-02-03  5:51 ` Nyx70
2021-02-22  8:24 ` Nyx70
2021-02-22  8:27 ` [PR PATCH] [Updated] [WIP] New package: qgis-3.x.x Nyx70
2021-03-03 19:50 ` Nyx70
2021-03-03 19:52 ` Nyx70
2021-03-03 19:54 ` Nyx70
2021-03-05  2:45 ` sgn
2021-03-06 13:39 ` [PR PATCH] [Updated] " Nyx70
2021-03-06 13:43 ` Nyx70
2021-03-06 13:48 ` Nyx70
2021-03-08  5:42 ` sgn
2021-03-08  5:52 ` [PR REVIEW] " sgn
2021-03-08  6:17 ` sgn
2021-03-08  6:47 ` sgn
2021-04-05 13:24 ` [PR PATCH] [Closed]: " Nyx70
2021-04-05 13:27 ` Nyx70

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201220135848.8iL0LXp2K7i27GJjw8BovZ2rxzECdsX7PVeUiCIGbqg@z \
    --to=nyx70@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).