[Pkg-javascript-commits] [modestmaps-js] 07/17: Use libjs-jquery & libjs-jquery-ui packages instead of online copies.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri May 6 18:33:21 UTC 2016


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

sebastic pushed a commit to branch master
in repository modestmaps-js.

commit 0622ddbb39c1617cd9a82ee7f4554ed394f03330
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri May 6 20:00:34 2016 +0200

    Use libjs-jquery & libjs-jquery-ui packages instead of online copies.
---
 debian/changelog                           |  1 +
 debian/control                             |  2 ++
 debian/modestmaps-js-doc.links             |  2 ++
 debian/patches/packaged-libjs-jquery.patch | 17 +++++++++++++++++
 debian/patches/series                      |  1 +
 5 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9be8f3b..4678eae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ modestmaps-js (3.3.6+ds1-2) UNRELEASED; urgency=medium
     - Update Vcs-* URLs to use HTTPS
   * Enable parallel builds.
   * Use libjs-excanvas package instead of embedded copy.
+  * Use libjs-jquery & libjs-jquery-ui packages instead of online copies.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 06 May 2016 19:12:58 +0200
 
diff --git a/debian/control b/debian/control
index 6762dc8..a5131b7 100644
--- a/debian/control
+++ b/debian/control
@@ -45,6 +45,8 @@ Package: modestmaps-js-doc
 Architecture: all
 Section: doc
 Depends: libjs-excanvas,
+         libjs-jquery,
+         libjs-jquery-ui,
          ${misc:Depends}
 Description: display and interaction library for tile-based maps - docs
  Modest Maps is a display and interaction library for tile-based maps.
diff --git a/debian/modestmaps-js-doc.links b/debian/modestmaps-js-doc.links
index 2340ad4..93c886a 100644
--- a/debian/modestmaps-js-doc.links
+++ b/debian/modestmaps-js-doc.links
@@ -1,2 +1,4 @@
 usr/share/javascript/modestmaps/modestmaps.js usr/share/doc/modestmaps-js-doc/modestmaps.js
 usr/share/javascript/excanvas/excanvas.js     usr/share/doc/modestmaps-js-doc/examples/bubble/excanvas.js
+usr/share/javascript/jquery                   usr/share/doc/modestmaps-js-doc/examples/sprite-tiles/jquery
+usr/share/javascript/jquery-ui                usr/share/doc/modestmaps-js-doc/examples/sprite-tiles/jquery-ui
diff --git a/debian/patches/packaged-libjs-jquery.patch b/debian/patches/packaged-libjs-jquery.patch
new file mode 100644
index 0000000..1b0ce64
--- /dev/null
+++ b/debian/patches/packaged-libjs-jquery.patch
@@ -0,0 +1,17 @@
+Description: Use libjs-jquery & libjs-jquery-ui packages.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/examples/sprite-tiles/index.html
++++ b/examples/sprite-tiles/index.html
+@@ -3,8 +3,8 @@
+     <head>
+         <title>ModestMaps JS: Sprite Tiles</title>
+ 
+-        <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
+-        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
++        <script type="text/javascript" src="jquery/jquery.min.js"></script>
++        <script type="text/javascript" src="jquery-ui/jquery-ui.min.js"></script>
+ 
+         <script type="text/javascript" src="../../modestmaps.js"></script>
+         <script type="text/javascript" src="modestmaps.sprite-tiles.js"></script>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1d11e40
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+packaged-libjs-jquery.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/modestmaps-js.git



More information about the Pkg-javascript-commits mailing list