debian/0000755000000000000000000000000012026571341007167 5ustar debian/install0000644000000000000000000000004112026571262010555 0ustar dist/* usr/share/javascript/wax/ debian/rules0000755000000000000000000000333212026571262010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ifndef UPVER UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d+ -f1 | cut -d- -f1) endif %: dh $@ override_dh_installchangelogs: dh_installchangelogs -- CHANGELOG.md override_dh_auto_build: # Drop the need for node-banner, which is a tiny script and seems # not worthy for inclusion in Debian. [ -d build ] || mkdir build echo "/* wax.js - $(UPVER) */" > build/header.js dh_auto_build override_dh_auto_clean: dh_auto_clean rm -rf build/ dist/ get-orig-source: uscan --verbose \ --download-version $(UPVER) \ --force-download \ --rename \ --destdir . tar xf wax.js_$(UPVER).orig.tar.gz @echo Removing third-party embedded libs already in other packages @rm -rf mapbox-wax-*/ext/html-sanitizer-bundle.js \ mapbox-wax-*/ext/html-sanitizer-min.js \ mapbox-wax-*/ext/images/ \ mapbox-wax-*/ext/leaflet* \ mapbox-wax-*/ext/modestmaps* \ mapbox-wax-*/ext/mustache* \ mapbox-wax-*/ext/OpenLayers* \ mapbox-wax-*/ext/reqwest* \ mapbox-wax-*/ext/polymaps* @echo Downloading current version of html-sanitizer @wget http://google-caja.googlecode.com/svn/trunk/src/com/google/caja/plugin/html-sanitizer.js @echo Downloading revision 2832 of html4-defs.js @wget http://google-caja.googlecode.com/svn-history/r2832/trunk/src/com/google/caja/plugin/html4-defs.js @mv html4-defs.js mapbox-wax-*/ext/ @mv html-sanitizer.js mapbox-wax-*/ext/ @echo Removing _site @rm -rf mapbox-wax-*/_site/ @echo Removing pre-compiled files @rm -rf mapbox-wax-*/dist/ tar cf wax.js_$(UPVER)+ds2.orig.tar mapbox-wax-*/ gzip -9 wax.js_$(UPVER)+ds2.orig.tar rm -rf mapbox-wax-*/ wax.js_$(UPVER).orig.tar.gz debian/docs0000644000000000000000000000001212026571262010035 0ustar README.md debian/watch0000644000000000000000000000015512026571262010223 0ustar version=3 opts=dversionmangle=s/\+ds\d// \ http://githubredir.debian.net/github/mapbox/wax/v(\d+.*)\.tar\.gz debian/control0000644000000000000000000000142012026571262010571 0ustar Source: wax.js Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: David Paleino Build-Depends: debhelper (>= 8~) , node-uglify Standards-Version: 3.9.4 Homepage: http://mapbox.com/wax/ Vcs-Git: git://git.debian.org/collab-maint/wax.js.git Vcs-Browser: http://git.debian.org/?p=collab-maint/wax.js.git;a=summary Package: libjs-wax Architecture: all Depends: ${misc:Depends} , libjs-reqwest , libjs-mustache Recommends: javascript-common , libjs-openlayers , libjs-modestmaps , libjs-leaflet Description: web maps visualization library Wax is a web maps visualization javascript library, which integrates with other libraries as OpenLayers, ModestMaps, Leaflet and GoogleMaps. debian/changelog0000644000000000000000000000202212026571262011037 0ustar wax.js (5.0.1+ds2-1) unstable; urgency=low * New repacked tarball * Make get-orig-source download an old revision of html4-defs.js to mimick the bundled version of html-sanitizer.js (Closes: #684480) * Standards-Version bump to 3.9.4, no changes needed * Drop B-D on libnode-uglify -- David Paleino Thu, 20 Sep 2012 12:40:45 +0200 wax.js (5.0.1+ds1-1) unstable; urgency=low * New upstream version * Point debian/watch to github * Updated debian/copyright * Standards-Version bump to 3.9.3, no changes needed -- David Paleino Mon, 09 Apr 2012 23:39:11 +0200 wax.js (4.1.3+ds1-1) unstable; urgency=low * New upstream version -- David Paleino Sat, 31 Dec 2011 12:42:52 +0100 wax.js (4.1.1+ds1-1) unstable; urgency=low * New upstream version -- David Paleino Thu, 17 Nov 2011 17:17:01 +0100 wax.js (4.1.0+ds1-1) unstable; urgency=low * Initial release -- David Paleino Wed, 02 Nov 2011 12:54:54 +0100 debian/copyright0000644000000000000000000000630712026571262011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: wax Source: https://github.com/mapbox/wax Files: * Copyright: © 2011, Development Seed License: BSD-3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name "Development Seed" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: © 2011-2012, David Paleino License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: ext/html-sanitizer.js ext/html4-defs.js Copyright: © 2006-2008, Google Inc. License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the complete text of the Apache License version 2 can be found in "/usr/share/common-licenses/Apache-2.0". debian/README.Debian0000644000000000000000000000060212026571262011230 0ustar wax.js for Debian ----------------- The "original" wax.js snippets embed the reqwest and mustache libraries. Since they're provided in separate Debian packages, the build system has been changed not to embed them anymore. Therefore, be sure to include them in your web pages *before* the inclusion of wax.js. -- David Paleino Wed, 02 Nov 2011 12:48:35 +0100 debian/source/0000755000000000000000000000000012026571262010471 5ustar debian/source/format0000644000000000000000000000001412026571262011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012026571262010620 5ustar debian/patches/00-fix_Makefile.patch0000644000000000000000000000440612026571262014445 0ustar From: David Paleino Subject: use files provided by Debian packages, and fix not-working targets Origin: vendor Forwarded: no --- Makefile | 40 +++++++++++++--------------------------- 1 file changed, 13 insertions(+), 27 deletions(-) --- wax.js.orig/Makefile +++ wax.js/Makefile @@ -1,49 +1,38 @@ -UGLIFYJS = ./node_modules/.bin/uglifyjs -BANNER = ./node_modules/.bin/banner +UGLIFYJS = uglifyjs +NULL = +BUNDLE = build/header.js \ + ext/html4-defs.js \ + ext/html-sanitizer.js \ + ext/html-sanitizer-loosen.js \ + $(NULL) dist: dist_setup dist/wax.ol.min.js \ dist/wax.g.min.js dist/wax.mm.min.js \ - dist/wax.leaf.min.js dist/wax.p.min.js lint + dist/wax.leaf.min.js dist/wax.p.min.js dist/wax.ol.min.js: - cat build/header.js \ - ext/reqwest.min.js \ - ext/html-sanitizer-bundle.js \ - ext/html-sanitizer-loosen.js \ - ext/mustache.js \ + cat $(BUNDLE) \ connectors/ol/*.js \ control/lib/*.js \ control/ol/*.js > dist/wax.ol.js $(UGLIFYJS) dist/wax.ol.js > dist/wax.ol.min.js dist/wax.g.min.js: - cat build/header.js \ - ext/reqwest.min.js \ - ext/html-sanitizer-bundle.js \ - ext/html-sanitizer-loosen.js \ - ext/mustache.js \ + cat $(BUNDLE) \ control/lib/*.js \ control/g/*.js \ connectors/g/*.js > dist/wax.g.js $(UGLIFYJS) dist/wax.g.js > dist/wax.g.min.js dist/wax.mm.min.js: - cat build/header.js \ - ext/reqwest.min.js \ - ext/html-sanitizer-bundle.js \ - ext/html-sanitizer-loosen.js \ - ext/mustache.js \ + cat $(BUNDLE) \ control/lib/*.js \ control/mm/*.js \ connectors/mm/*.js > dist/wax.mm.js $(UGLIFYJS) dist/wax.mm.js > dist/wax.mm.min.js dist/wax.leaf.min.js: - cat build/header.js \ - ext/reqwest.min.js \ - ext/html-sanitizer-bundle.js \ - ext/html-sanitizer-loosen.js \ - ext/mustache.js \ + cat $(BUNDLE) \ control/lib/*.js \ control/leaf/*.js \ connectors/leaf/*.js > dist/wax.leaf.js @@ -51,17 +40,14 @@ dist/wax.leaf.min.js: dist/wax.p.min.js: cat build/header.js \ - ext/reqwest.min.js \ control/lib/*.js \ connectors/p/*.js > dist/wax.p.js $(UGLIFYJS) dist/wax.p.js > dist/wax.p.min.js dist_setup: rm -rf dist - rm -rf build mkdir dist - mkdir build - $(BANNER) package.json > build/header.js + [ -d build ] || mkdir build ext: -test ! -d ext && mkdir ext debian/patches/series0000644000000000000000000000002612026571262012033 0ustar 00-fix_Makefile.patch debian/compat0000644000000000000000000000000212026571262010367 0ustar 8