[pywps] 23/26: Install pywps.cfg-template, webclient & webservices examples.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri May 13 23:05:46 UTC 2016


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

sebastic pushed a commit to branch master
in repository pywps.

commit ca8366deafd21d73556a24fbdbbc94beef839558
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri May 13 22:48:42 2016 +0200

    Install pywps.cfg-template, webclient & webservices examples.
---
 debian/changelog                                  |  1 +
 debian/control                                    |  3 +-
 debian/patches/series                             |  1 +
 debian/patches/use-libjs-openlayers-package.patch | 48 +++++++++++++++++++++++
 debian/pywps.examples                             |  3 ++
 debian/pywps.links                                |  2 +
 6 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 238dca4..2675af8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ pywps (3.2.5-1) UNRELEASED; urgency=medium
     - Add cgi-mapserver to pywps Suggests
   * Install pywps manpage.
   * Build & install documentation.
+  * Install pywps.cfg-template, webclient & webservices examples.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 13 May 2016 19:33:40 +0200
 
diff --git a/debian/control b/debian/control
index 54591b2..8511452 100644
--- a/debian/control
+++ b/debian/control
@@ -34,7 +34,8 @@ Description: Implementation of OGC's Web Processing Service - Python 2 module
 Package: pywps
 Architecture: all
 Section: web
-Depends: python-pywps (= ${binary:Version}),
+Depends: libjs-openlayers,
+         python-pywps (= ${binary:Version}),
          ${python:Depends},
          ${misc:Depends}
 Suggests: apache2 | httpd-cgi,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..71205e3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-libjs-openlayers-package.patch
diff --git a/debian/patches/use-libjs-openlayers-package.patch b/debian/patches/use-libjs-openlayers-package.patch
new file mode 100644
index 0000000..fdbdb82
--- /dev/null
+++ b/debian/patches/use-libjs-openlayers-package.patch
@@ -0,0 +1,48 @@
+Description: Use OpenLayers.js from libjs-openlayers package.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/webclient/01-init.html
++++ b/webclient/01-init.html
+@@ -7,7 +7,7 @@
+     <head>
+         <title>WPS Client - Initialization and GetCapabilities</title>
+         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+-        <script type="text/javascript" src="http://openlayers.org/api/OpenLayers.js"></script>
++        <script type="text/javascript" src="openlayers/OpenLayers.js"></script>
+         <script type="text/javascript" src="WPS.js"></script>
+         <script type="text/javascript">
+ 
+--- a/webclient/02-describe.html
++++ b/webclient/02-describe.html
+@@ -7,7 +7,7 @@
+     <head>
+         <title>WPS Client - DescribeProcess</title>
+         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+-        <script type="text/javascript" src="http://openlayers.org/api/OpenLayers.js"></script>
++        <script type="text/javascript" src="openlayers/OpenLayers.js"></script>
+         <script type="text/javascript" src="WPS.js"></script>
+         <script type="text/javascript">
+ 
+--- a/webclient/03-execute.html
++++ b/webclient/03-execute.html
+@@ -7,7 +7,7 @@
+     <head>
+         <title>WPS Client - Execute</title>
+         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+-        <script type="text/javascript" src="http://openlayers.org/api/OpenLayers.js"></script>
++        <script type="text/javascript" src="openlayers/OpenLayers.js"></script>
+         <script type="text/javascript" src="WPS.js"></script>
+         <script type="text/javascript">
+ 
+--- a/webclient/04-execute-automatic.html
++++ b/webclient/04-execute-automatic.html
+@@ -7,7 +7,7 @@
+     <head>
+         <title>WPS Client - Execute (automatic)</title>
+         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+-        <script type="text/javascript" src="http://openlayers.org/api/OpenLayers.js"></script>
++        <script type="text/javascript" src="openlayers/OpenLayers.js"></script>
+         <script type="text/javascript" src="WPS.js"></script>
+         <script type="text/javascript">
+ 
diff --git a/debian/pywps.examples b/debian/pywps.examples
new file mode 100644
index 0000000..e2de645
--- /dev/null
+++ b/debian/pywps.examples
@@ -0,0 +1,3 @@
+pywps/etc/pywps.cfg-template
+webclient/
+webservices/
diff --git a/debian/pywps.links b/debian/pywps.links
index 0c384c5..9005cd6 100644
--- a/debian/pywps.links
+++ b/debian/pywps.links
@@ -1 +1,3 @@
 usr/bin/pywps usr/lib/cgi-bin/wps.py
+
+usr/share/javascript/openlayers usr/share/doc/pywps/examples/webclient/openlayers

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



More information about the Pkg-grass-devel mailing list