debian/0000755000000000000000000000000012224344533007170 5ustar debian/patches/0000755000000000000000000000000012224343757010626 5ustar debian/patches/2002_nodejs_rename.patch0000644000000000000000000000106312224343757015123 0ustar Description: rename node to nodejs in Makefile Forwarded: not-needed Author: Jérémy Lal Last-Update: 2013-10-06 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ all: latest/datasources.json latest/datasources.json: - node util/make-datasource-ref.js latest/datasources.template > latest/datasources.json + nodejs util/make-datasource-ref.js latest/datasources.template > latest/datasources.json check test: latest/datasources.json python test/test.py - node test/lint.js + nodejs test/lint.js .PHONY: test latest/datasources.json debian/patches/series0000644000000000000000000000005012224343672012032 0ustar 2001_FHS.patch 2002_nodejs_rename.patch debian/patches/2001_FHS.patch0000644000000000000000000000164512217314673012734 0ustar Description: put json files in /usr/share Forwarded: not-needed Author: Jérémy Lal Last-Update: 2013-09-21 --- a/index.js +++ b/index.js @@ -4,13 +4,15 @@ // Load all stated versions into the module exports module.exports.version = {}; +var shareDir = "/usr/share/mapnik-reference"; + ['2.0.0', '2.0.1', '2.0.2', '2.1.0', '2.1.1', 'latest'].map(function(version) { module.exports.version[version] = JSON.parse( fs.readFileSync( - path.join(__dirname, version, 'reference.json'), 'utf8')); + path.join(shareDir, version, 'reference.json'), 'utf8')); if (version === 'latest') { module.exports.version[version].datasources = JSON.parse( fs.readFileSync( - path.join(__dirname, version, 'datasources.json'), 'utf8')).datasources; + path.join(shareDir, version, 'datasources.json'), 'utf8')).datasources; } }); debian/docs0000644000000000000000000000001212217316341010032 0ustar README.md debian/watch0000644000000000000000000000024012217305610010210 0ustar version=3 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/mapnik-reference-$1.tar.gz/ \ https://github.com/mapnik/mapnik-reference/releases .*/v?(\d\S*)\.tar\.gz debian/control0000644000000000000000000000166112224344354010600 0ustar Source: mapnik-reference Section: doc Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jérémy Lal Build-Depends: debhelper (>= 8~), nodejs Standards-Version: 3.9.4 Homepage: https://github.com/mapnik/mapnik-reference Vcs-Git: git://anonscm.debian.org/collab-maint/mapnik-reference.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/mapnik-reference.git Package: mapnik-reference Architecture: all Depends: ${misc:Depends} Description: Parseable specifications of mapnik - Node.js module mapnik-reference specifies mapnik structures, styles, symbolizers, and the list of their properties, in JSON format. It is useful for building parsers, tests, compilers, and syntax highlighting or syntax checking. . Mapnik is a C++/Python toolkit for developing GIS applications. . Node.js is an event-based server-side javascript engine. debian/copyright0000644000000000000000000000300312217313605011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/mapnik/mapnik-reference Comment: Asked upstream to reconsider its license, see https://github.com/mapnik/mapnik-reference/issues/46 Files: * Copyright: none (Public Domain) License: public-domain This is free and unencumbered software released into the public domain. . Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. . In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . For more information, please refer to debian/install0000644000000000000000000000022712217314317010561 0ustar index.js usr/lib/nodejs/mapnik-reference package.json usr/lib/nodejs/mapnik-reference 2.* usr/share/mapnik-reference latest usr/share/mapnik-reference debian/source/0000755000000000000000000000000012217305301010460 5ustar debian/source/format0000644000000000000000000000001412217305301011666 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212217312534010364 0ustar 8 debian/rules0000755000000000000000000000031512217317125010246 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_test: override_dh_installchangelogs: dh_installchangelogs CHANGELOG.md debian/changelog0000644000000000000000000000063412224344505011044 0ustar mapnik-reference (5.0.6-1) unstable; urgency=low * Upstream update. * Add patch 2002 to rename node to nodejs (Closes: #725604) * Build-Depends: nodejs, invoked in Makefile. -- Jérémy Lal Sun, 06 Oct 2013 22:33:41 +0200 mapnik-reference (5.0.5-1) unstable; urgency=low * Initial release (Closes: #723934) -- Jérémy Lal Sat, 21 Sep 2013 15:26:21 +0200