[zoo-project] 02/02: Initial upload of version 1.5.0

Angelos Tzotsos kalxas-guest at moszumanska.debian.org
Sat Jun 11 21:23:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

kalxas-guest pushed a commit to branch master
in repository zoo-project.

commit 8e02c87f2fb38e97e7ed1a660eaca70f8ff6024d
Author: Angelos Tzotsos <gcpp.kalxas at gmail.com>
Date:   Sun Jun 12 00:23:07 2016 +0300

    Initial upload of version 1.5.0
---
 debian/changelog                                |  5 ++
 debian/compat                                   |  1 +
 debian/control                                  | 83 +++++++++++++++++++++++++
 debian/copyright                                | 37 +++++++++++
 debian/gbp.conf                                 | 16 +++++
 debian/get-orig-source                          | 45 ++++++++++++++
 debian/libzoo-service-dev.install               |  3 +
 debian/libzoo-service1.5.install                |  2 +
 debian/patches/0001-ogr-services-makefile.patch | 31 +++++++++
 debian/patches/0002-Makefile-Destdir-fix.patch  | 33 ++++++++++
 debian/patches/series                           |  2 +
 debian/rules                                    | 24 +++++++
 debian/source/format                            |  1 +
 debian/watch                                    | 22 +++++++
 debian/zoo-api.install                          |  1 +
 debian/zoo-kernel.install                       |  3 +
 debian/zoo-services.install                     | 31 +++++++++
 17 files changed, 340 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a3ad5b7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+zoo-project (1.5.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (1.5.0)
+
+ -- Angelos Tzotsos <gcpp.kalxas at gmail.com>  Sun, 12 Jun 2016 00:20:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..159478d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,83 @@
+Source: zoo-project
+Maintainer: Angelos Tzotsos <gcpp.kalxas at gmail.com>
+Section: web
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dpkg-dev (>= 1.16.1.1),
+               autoconf,
+               automake,
+               autotools-dev,
+               flex,
+               bison,
+               libssl-dev,
+               libcurl4-gnutls-dev,
+               libgdal-dev,
+               python-dev,
+               python-all,
+               libfcgi-dev,
+               libxml2-dev,
+               libxslt1-dev,
+               libcgal-dev,
+               libmapserver-dev,
+               libmozjs185-dev,
+Build-Conflicts: libcurl3-openssl-dev
+Standards-Version: 3.9.3
+X-Python-Version: >= 2.7
+Homepage: http://zoo-project.org
+
+Package: zoo-kernel
+Architecture: any
+Section: web
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: This package contains the CGI ZOO Kernel
+ .
+ ZOO 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. 
+
+Package: zoo-api
+Architecture: any
+Section: web
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: This package contains the ZOO API
+ .
+ ZOO 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.
+
+Package: zoo-services
+Architecture: any
+Section: web
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         python (>=2.6), 
+         python-gdal
+Description: This package contains the CGI ZOO Services
+ .
+ ZOO 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. 
+
+Package: libzoo-service1.5
+Architecture: any
+Section: web
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: This package contains the ZOO Library
+ .
+ ZOO 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. 
+
+Package: libzoo-service-dev
+Architecture: any
+Section: web
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: This package contains the ZOO development files
+ .
+ ZOO 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. 
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..51e1779
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Angelos Tzotsos gcpp.kalxas at gmail.com on
+Sun, 12 Jun 2016 00:20:00 +0200.
+
+It was downloaded from:
+
+    http://zoo-project.org
+
+Upstream author:
+
+    Gerald Fenoy <gerald.fenoy at geolabs.fr>
+
+Copyright:
+
+    Copyright (C) 2010-2016 GeoLabs.
+
+License:
+
+    Permission is hereby granted, free of charge, to any person
+    obtaining a copy of this software and associated documentation
+    files (the "Software"), to deal in the Software without
+    restriction, including without limitation the rights to use, copy,
+    modify, merge, publish, distribute, sublicense, and/or sell copies
+    of the Software, and to permit persons to whom the Software is
+    furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+    DEALINGS IN THE SOFTWARE.
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..21d0417
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,16 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..e486809
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,45 @@
+#!/bin/sh
+# if you need to repack for whatever reason you can
+# use this script via uscan or directly
+#
+# FIXME: currently the code is not conform to Debian Policy
+#        http://www.debian.org/doc/debian-policy/ch-source.html
+#        "get-orig-source (optional)"
+#        This target may be invoked in any directory, ...
+# --> currently it is assumed the script is called in the
+#     source directory featuring the debian/ dir
+
+COMPRESS=xz
+
+set -e
+NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+
+if ! echo $@ | grep -q upstream-version ; then
+    VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
+    uscan --force-download
+else
+    VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
+    if echo "$VERSION" | grep -q "upstream-version" ; then
+        echo "Unable to parse version number"
+        exit
+    fi
+fi
+
+TARDIR=${NAME}-${VERSION}
+mkdir -p ../tarballs
+cd ../tarballs
+# need to clean up the tarballs dir first because upstream tarball might
+# contain a directory with unpredictable name
+rm -rf *
+tar -xaf ../${TARDIR}.tar.gz
+
+UPSTREAMTARDIR=`find . -mindepth 1 -maxdepth 1 -type d`
+if [ "${UPSTREAMTARDIR}" != "${TARDIR}" ] ; then
+    mv "${UPSTREAMTARDIR}" "${TARDIR}"
+fi
+
+# Remove useless binaries
+# ... do something which needs to be done ...
+
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
+rm -rf ${TARDIR}
diff --git a/debian/libzoo-service-dev.install b/debian/libzoo-service-dev.install
new file mode 100644
index 0000000..91664a5
--- /dev/null
+++ b/debian/libzoo-service-dev.install
@@ -0,0 +1,3 @@
+usr/lib/lib*.so
+usr/include
+
diff --git a/debian/libzoo-service1.5.install b/debian/libzoo-service1.5.install
new file mode 100644
index 0000000..5e9c55d
--- /dev/null
+++ b/debian/libzoo-service1.5.install
@@ -0,0 +1,2 @@
+usr/lib/lib*.so.*
+
diff --git a/debian/patches/0001-ogr-services-makefile.patch b/debian/patches/0001-ogr-services-makefile.patch
new file mode 100644
index 0000000..d0db370
--- /dev/null
+++ b/debian/patches/0001-ogr-services-makefile.patch
@@ -0,0 +1,31 @@
+Description: <Patch ogr service makefile to find zoo_service.so>
+ .
+ zoo-project (1.6.0~rev773-0~xenial0) xenial; urgency=low
+ .
+   * Using latest SVN to rebuilt against GDAL 2.1.
+Author: Angelos Tzotsos <gcpp.kalxas at gmail.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- zoo-project-1.6.0~rev773.orig/zoo-project/zoo-services/ogr/base-vect-ops/Makefile
++++ zoo-project-1.6.0~rev773/zoo-project/zoo-services/ogr/base-vect-ops/Makefile
+@@ -9,7 +9,7 @@ else
+ endif
+ 
+ cgi-env/ogr_service.zo: service.c
+-	g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${GEOS_LDFLAGS} -lfcgi  -lpthread -lzoo_service
++	g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${GEOS_LDFLAGS} -lfcgi  -lpthread -L../../../zoo-kernel/zoo_service
+ 
+ install:
+ 	install -d ${CGI_DIR}/ogr/base-vect-ops
diff --git a/debian/patches/0002-Makefile-Destdir-fix.patch b/debian/patches/0002-Makefile-Destdir-fix.patch
new file mode 100644
index 0000000..d74b801
--- /dev/null
+++ b/debian/patches/0002-Makefile-Destdir-fix.patch
@@ -0,0 +1,33 @@
+Description: <Force Makefile use destdir when installing>
+ .
+ zoo-project (1.6.0~rev773-0~xenial1) xenial; urgency=low
+ .
+   * Using latest SVN to rebuilt against GDAL 2.1.
+Author: Angelos Tzotsos <gcpp.kalxas at gmail.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- zoo-project-1.6.0~rev773.orig/zoo-project/zoo-kernel/Makefile.in
++++ zoo-project-1.6.0~rev773/zoo-project/zoo-kernel/Makefile.in
+@@ -104,8 +104,8 @@ zcfg2yaml: zcfg2yaml.c service.h lex.sr.
+ 	g++  ${XML2CFLAGS} ${CFLAGS} zcfg2yaml.o server_internal.o service_internal.o ${MS_FILE} response_print.o lex.cr.o lex.sr.o service_conf.tab.o main_conf_read.tab.o  ${YAML_FILE} -o zcfg2yaml -L. ${LDFLAGS}
+ 
+ install:
+-	install -d ${CGI_DIR}
+-	install zoo_loader.cgi ${CGI_DIR}/
++	install -d ${DESTDIR}${CGI_DIR}
++	install zoo_loader.cgi ${DESTDIR}${CGI_DIR}/
+ 	install libzoo_service.${EXT} ${DESTDIR}${INST_LIB}/${LIBZOO_SERVICE}
+ 	(cd ${DESTDIR}${INST_LIB} ; \
+ 	 if [ -e "libzoo_service.${EXT}" ]; then rm  libzoo_service.${EXT}; fi ; \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..252a2d6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-ogr-services-makefile.patch
+0002-Makefile-Destdir-fix.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5fe7ced
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+%:
+	dh  $@
+
+override_dh_auto_configure:
+	cd zoo-project/zoo-kernel && autoconf && ./configure --with-python --with-js --with-mapserver=/usr --with-ms-version=7
+
+override_dh_auto_build:
+	dh_auto_build --builddirectory thirds/cgic206
+	dh_auto_build --builddirectory zoo-project/zoo-kernel
+	cd zoo-project/zoo-services/ogr/base-vect-ops && make
+
+override_dh_auto_install:
+	cd zoo-project/zoo-kernel && make install DESTDIR=$(CURDIR)/debian/tmp INST_LIB=/usr/lib INST_INCLUDE=/usr/include
+	-mv -v $(CURDIR)/zoo-project/zoo-kernel/main.cfg $(CURDIR)/debian/tmp/usr/lib/cgi-bin/
+	install -m755 $(CURDIR)/zoo-project/zoo-services/ogr/base-vect-ops/cgi-env/ogr_service.zo $(CURDIR)/debian/tmp/usr/lib/cgi-bin/
+	-mv -v $(CURDIR)/zoo-project/zoo-services/ogr/base-vect-ops/cgi-env/*.zcfg $(CURDIR)/debian/tmp/usr/lib/cgi-bin/
+	install -m755 $(CURDIR)/zoo-project/zoo-services/ogr/base-vect-ops-py/cgi-env/ogr_sp.py $(CURDIR)/debian/tmp/usr/lib/cgi-bin/
+	-mv -v $(CURDIR)/zoo-project/zoo-services/ogr/base-vect-ops-py/cgi-env/*.zcfg $(CURDIR)/debian/tmp/usr/lib/cgi-bin/
+
+#override_dh_auto_clean:
+#	dh_auto_clean --builddirectory zoo-project/zoo-kernel
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..432d77c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,22 @@
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php #PACKAGE#-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/#PACKAGE#-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/#PACKAGE#-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge
+# http://sf.net/#PACKAGE#/#PACKAGE#-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+
+# Uncomment to find new files on GooglePages
+# http://code.google.com/p/#PACKAGE#/downloads/list?can=1 \
+#  .*/#PACKAGE#-([-.\d]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))|zip)
+
+# if tweaking of source is needed
+# \
+# debian debian/get-orig-source
diff --git a/debian/zoo-api.install b/debian/zoo-api.install
new file mode 100644
index 0000000..ca9ef71
--- /dev/null
+++ b/debian/zoo-api.install
@@ -0,0 +1 @@
+zoo-project/zoo-api/js/*    usr/lib/cgi-bin/
diff --git a/debian/zoo-kernel.install b/debian/zoo-kernel.install
new file mode 100644
index 0000000..5b23eca
--- /dev/null
+++ b/debian/zoo-kernel.install
@@ -0,0 +1,3 @@
+usr/lib/cgi-bin/zoo_loader.cgi
+usr/lib/cgi-bin/main.cfg
+
diff --git a/debian/zoo-services.install b/debian/zoo-services.install
new file mode 100644
index 0000000..cf9416e
--- /dev/null
+++ b/debian/zoo-services.install
@@ -0,0 +1,31 @@
+usr/lib/cgi-bin/ogr_service.zo
+usr/lib/cgi-bin/ogr_sp.py
+usr/lib/cgi-bin/Boundary.zcfg
+usr/lib/cgi-bin/Buffer.zcfg
+usr/lib/cgi-bin/Centroid.zcfg
+usr/lib/cgi-bin/Contains.zcfg
+usr/lib/cgi-bin/ConvexHull.zcfg
+usr/lib/cgi-bin/Crosses.zcfg
+usr/lib/cgi-bin/Difference.zcfg
+usr/lib/cgi-bin/Disjoint.zcfg
+usr/lib/cgi-bin/Distance.zcfg
+usr/lib/cgi-bin/Equals.zcfg
+usr/lib/cgi-bin/GetArea.zcfg
+usr/lib/cgi-bin/Intersection.zcfg
+usr/lib/cgi-bin/Intersects.zcfg
+usr/lib/cgi-bin/IsSimple.zcfg
+usr/lib/cgi-bin/IsValid.zcfg
+usr/lib/cgi-bin/Simplify.zcfg
+usr/lib/cgi-bin/SymDifference.zcfg
+usr/lib/cgi-bin/Touches.zcfg
+usr/lib/cgi-bin/Union.zcfg
+usr/lib/cgi-bin/Within.zcfg
+usr/lib/cgi-bin/BoundaryPy.zcfg
+usr/lib/cgi-bin/BufferPy.zcfg
+usr/lib/cgi-bin/CentroidPy.zcfg
+usr/lib/cgi-bin/ConvexHullPy.zcfg
+usr/lib/cgi-bin/DifferencePy.zcfg
+usr/lib/cgi-bin/IntersectionPy.zcfg
+usr/lib/cgi-bin/SymDifferencePy.zcfg
+usr/lib/cgi-bin/UnionPy.zcfg
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/zoo-project.git



More information about the Pkg-grass-devel mailing list