[pycsw] 02/02: Fix use jquery.js from libjs-jquery package.

Bas Couwenberg sebastic at debian.org
Mon Jul 11 21:21:54 UTC 2016


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

sebastic pushed a commit to branch master
in repository pycsw.

commit 9c4dad7f14bda7fd69c90c6b89b1b12930c7982b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jul 11 22:57:09 2016 +0200

    Fix use jquery.js from libjs-jquery package.
---
 debian/changelog                                         | 1 +
 debian/control                                           | 1 +
 debian/patches/0002-Remove-externally-linked-files.patch | 2 +-
 debian/python-pycsw-wsgi.links                           | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 49f1fac..9b1b2d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ pycsw (2.0.0+dfsg-1~exp2) UNRELEASED; urgency=medium
   * Team upload.
   * Add patch to support overriding PYCSW_ROOT via environment variable.
     Fixes path to config files for tests installed by wsgi package.
+  * Fix use jquery.js from libjs-jquery package.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 11 Jul 2016 21:39:09 +0200
 
diff --git a/debian/control b/debian/control
index 033f1c2..2c6d720 100644
--- a/debian/control
+++ b/debian/control
@@ -62,6 +62,7 @@ Description: OGC compliant metadata (Catalogue service for the Web) server
 Package: python-pycsw-wsgi
 Architecture: all
 Depends: libapache2-mod-wsgi,
+         libjs-jquery,
          python,
          python-pycsw (= ${binary:Version}),
          python-sqlalchemy,
diff --git a/debian/patches/0002-Remove-externally-linked-files.patch b/debian/patches/0002-Remove-externally-linked-files.patch
index c15757e..3c7da3c 100644
--- a/debian/patches/0002-Remove-externally-linked-files.patch
+++ b/debian/patches/0002-Remove-externally-linked-files.patch
@@ -14,7 +14,7 @@ W3C and jquery
              }
          </style>
 -        <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
-+        <script type="text/javascript" src="/javascript/jquery/jquery.js"></script>
++        <script type="text/javascript" src="jquery/jquery.js"></script>
          <script type="text/javascript">
              $(document).ready(function() {
                  $('.xml').change(function() {
diff --git a/debian/python-pycsw-wsgi.links b/debian/python-pycsw-wsgi.links
new file mode 100644
index 0000000..de01839
--- /dev/null
+++ b/debian/python-pycsw-wsgi.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery usr/share/pycsw/tests/jquery

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



More information about the Pkg-grass-devel mailing list