[Git][debian-gis-team/zoo-project][master] Adding OGC API Process support and some dependencies

Angelos Tzotsos (@kalxas-guest) gitlab at salsa.debian.org
Tue Aug 2 13:04:20 BST 2022



Angelos Tzotsos pushed to branch master at Debian GIS Project / zoo-project


Commits:
95d899e6 by Angelos Tzotsos at 2022-08-02T15:04:10+03:00
Adding OGC API Process support and some dependencies

- - - - -


3 changed files:

- debian/control
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -14,13 +14,13 @@ Build-Depends: debhelper-compat (= 12),
                libfftw3-dev,
                libgdal-dev,
                libmapserver-dev,
-               libmozjs185-dev,
                libotb-apps,
                libotb-dev,
                libssl1.0-dev | libssl-dev,
                libtinyxml-dev,
                libxml2-dev,
                libxslt1-dev,
+               uuid-dev,
                qtbase5-dev,
                libqt5opengl5-dev,
                lsb-release,
@@ -112,6 +112,25 @@ Description: Status CGI ZOO services
  .
  This package contains the Status CGI ZOO services.
 
+Package: zoo-service-openapi
+Architecture: any
+Depends: python3,
+         python3-websockets,
+         python3-cheetah,
+         redis,
+         python3-hiredis,
+         python3-appdirs,
+         python3-aioredis,
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: OpenAPI ZOO service
+ ZOO-Project is a WPS (Web Processing Service) open source project
+ released under a MIT/X-11 style license. It provides an OGC WPS
+ compliant developer-friendly framework to create and chain WPS Web
+ services.
+ .
+ This package contains the OGC API - Processing service.
+
 Package: libzoo-service1.5
 Architecture: any
 Section: libs


=====================================
debian/patches/series
=====================================
@@ -4,5 +4,7 @@ cachedir.patch
 servicepath.patch
 libpath.patch
 cgic-multiarch.patch
-patch_cflags.patch
-otb-type-fix.patch
+#cgal_info.patch
+#proj_api.patch
+#patch_cflags.patch
+#otb-type-fix.patch


=====================================
debian/rules
=====================================
@@ -5,6 +5,16 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 export DEB_CPPFLAGS_MAINT_APPEND=-DPROJ_VERSION_MAJOR=$(shell dpkg-query -W -f='$${Version}' libproj-dev | awk -F. '{ print $$1 }')
 
+# Disable PIE on Ubuntu where it's still problematic
+VENDOR_DERIVES_FROM_UBUNTU ?= $(shell dpkg-vendor --derives-from Ubuntu && echo yes)
+DISTRIBUTION_RELEASE       := $(shell lsb_release -cs)
+
+ifeq ($(VENDOR_DERIVES_FROM_UBUNTU),yes)
+  ifneq (,$(filter $(DISTRIBUTION_RELEASE),xenial))
+    export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+  endif
+endif
+
 include /usr/share/dpkg/pkg-info.mk
 
 UPSTREAM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
@@ -47,8 +57,7 @@ override_dh_auto_configure:
 	                  -- --sharedstatedir=/var/lib \
 	                     --with-etc-dir=yes --sysconfdir=/etc/zoo-project \
 	                     --with-python \
-			     --with-pyvers=3.8 \
-	                     --with-js \
+			     --with-pyvers=3.10 \
 	                     --with-java=/usr/lib/jvm/default-java \
 	                     --with-java-rpath=yes \
 	                     --with-mapserver=/usr \
@@ -117,11 +126,27 @@ override_dh_auto_install:
 
 	install -m644 $(CURDIR)/zoo-project/zoo-services/utils/status/cgi-env/updateStatus.xsl $(CURDIR)/debian/zoo-service-status/var/lib/zoo-project/
 
+	# OpenAPI
+	install -d $(CURDIR)/debian/zoo-service-openapi/usr/lib/zoo-project
+	install -d $(CURDIR)/debian/zoo-service-openapi/etc/zoo-project
+	install -d $(CURDIR)/debian/zoo-service-openapi/usr/share/zoo-project/openapi/server
+	install -d $(CURDIR)/debian/zoo-service-openapi/usr/share/zoo-project/openapi/static
+	install -d $(CURDIR)/debian/zoo-service-openapi/usr/share/zoo-project/openapi/templates
+
+	install -m644 $(CURDIR)/zoo-project/zoo-services/utils/open-api/cgi-env/*.zcfg $(CURDIR)/debian/zoo-service-openapi/etc/zoo-project/
+	install -m644 $(CURDIR)/zoo-project/zoo-services/utils/open-api/cgi-env/service.py $(CURDIR)/debian/zoo-service-openapi/usr/lib/zoo-project/openapi.py
+	install -m644 $(CURDIR)/zoo-project/zoo-services/utils/open-api/server/* $(CURDIR)/debian/zoo-service-openapi/usr/share/zoo-project/openapi/server/
+	install -m644 $(CURDIR)/zoo-project/zoo-services/utils/open-api/static/* $(CURDIR)/debian/zoo-service-openapi/usr/share/zoo-project/openapi/static/
+	install -m644 $(CURDIR)/zoo-project/zoo-services/utils/open-api/templates/* $(CURDIR)/debian/zoo-service-openapi/usr/share/zoo-project/openapi/templates/
+
 	# OTB
 	install -d $(CURDIR)/debian/zoo-service-otb/etc/zoo-project
 
 	install -m644 $(CURDIR)/thirds/otb2zcfg/build/zcfgs/*.zcfg $(CURDIR)/debian/zoo-service-otb/etc/zoo-project/
 
+override_dh_install:
+	dh_install --list-missing
+
 override_dh_installchangelogs:
 	dh_installchangelogs -k zoo-project/HISTORY.txt
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/zoo-project/-/commit/95d899e6efe9d2ca2d2b51769c4a19373c3462eb

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/zoo-project/-/commit/95d899e6efe9d2ca2d2b51769c4a19373c3462eb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220802/b6bf89e0/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list