This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository tilelite.
commit 6e18e79c89493a4de3f75e3334aa0ad1361cbd1b Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Jun 5 12:42:13 2015 +0200 Use packaged jQuery & OpenLayers. --- debian/changelog | 1 + debian/control | 5 ++- debian/links | 5 +++ .../privacy-breach-may-use-debian-package.patch | 48 ++++++++++++++++++++++ debian/patches/series | 1 + 5 files changed, 59 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 5424f3b..521b626 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ tilelite (0.1.5-3) UNRELEASED; urgency=medium * Bump debhelper compatibility to 9. * Update Homepage URL for move to GitHub. (closes: #757898) + * Use packaged jQuery & OpenLayers. -- Bas Couwenberg <sebas...@debian.org> Fri, 05 Jun 2015 12:16:43 +0200 diff --git a/debian/control b/debian/control index b5621fd..9defc4b 100644 --- a/debian/control +++ b/debian/control @@ -15,10 +15,13 @@ Package: tilelite Architecture: all Depends: ${misc:Depends}, ${python:Depends}, - python-mapnik2 + python-mapnik2, + libjs-jquery, + libjs-openlayers Recommends: python-werkzeug Provides: python-tilelite Description: lightweight Mapnik tile-server TileLite is a lightweight Mapnik tile-server written as a WSGI application, designed to serve tiles in the OSM (OpenStreetMap)-scheme or the Google-scheme. + diff --git a/debian/links b/debian/links new file mode 100644 index 0000000..6e247bf --- /dev/null +++ b/debian/links @@ -0,0 +1,5 @@ +usr/share/javascript/jquery usr/share/doc/tilelite/examples/demo/jquery +usr/share/javascript/jquery usr/share/doc/tilelite/examples/jquery + +usr/share/javascript/openlayers usr/share/doc/tilelite/examples/demo/openlayers +usr/share/javascript/openlayers usr/share/doc/tilelite/examples/openlayers diff --git a/debian/patches/privacy-breach-may-use-debian-package.patch b/debian/patches/privacy-breach-may-use-debian-package.patch new file mode 100644 index 0000000..7391316 --- /dev/null +++ b/debian/patches/privacy-breach-may-use-debian-package.patch @@ -0,0 +1,48 @@ +Description: Use packaged jQuery & OpenLayers javascript to fix privacy breach lintian issues. +Author: Bas Couwenberg <sebas...@debian.org> +Forwarded: not-needed + +--- a/demo/openlayers.html ++++ b/demo/openlayers.html +@@ -11,8 +11,8 @@ + } + </style> + +-<script src="http://openlayers.org/api/OpenLayers.js"></script> +-<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> ++<script src="openlayers/OpenLayers.js"></script> ++<script type="text/javascript" src="jquery/jquery.min.js"></script> + <script src="http://maps.google.com/maps?file=api&v=2&key={{FILL_ME_IN}}"></script> + + <script type="text/javascript"> +--- a/utils/gmap.html ++++ b/utils/gmap.html +@@ -2,7 +2,7 @@ + <head> + <title>TileLite Mapnik Server</title> + <script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key={your key here};sensor=false"></script> +- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> ++ <script type="text/javascript" src="jquery/jquery.min.js"></script> + <style type="text/css"> + html, body { height: 100%;} + body {margin: 0px;} +@@ -51,4 +51,4 @@ + + </script> + </body> +-</html> +\ No newline at end of file ++</html> +--- a/utils/openlayers.html ++++ b/utils/openlayers.html +@@ -15,8 +15,8 @@ + <script src="local_js/OpenStreetMap.js"></script> + <script type="text/javascript" src="local_js/jquery.min.js"></script>--> + +-<script src="http://dev.openlayers.org/nightly/OpenLayers.js"></script> +-<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> ++<script src="openlayers/OpenLayers.js"></script> ++<script type="text/javascript" src="jquery/jquery.min.js"></script> + <script src="http://maps.google.com/maps?file=api&v=2&key="></script> + + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..153a26d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +privacy-breach-may-use-debian-package.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/tilelite.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel