[Pkg-javascript-commits] [SCM] utilities and tilelive integration for the MBTiles format branch, master, updated. upstream/0.1.13-2-g314ac9a

David Paleino dapal at debian.org
Wed Oct 26 09:23:01 UTC 2011


The following commit has been merged in the master branch:
commit bf8d09111f55ab30054824cf9dc856bd329a53b5
Author: David Paleino <dapal at debian.org>
Date:   Wed Oct 26 11:15:01 2011 +0200

    First debianization

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..565af1d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-mbtiles (0.1.13-1) UNRELEASED; urgency=low
+
+  * Initial release
+
+ -- David Paleino <dapal at debian.org>  Sun, 23 Oct 2011 00:42:25 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8e04f19
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: node-mbtiles
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: David Paleino <dapal at debian.org>
+Build-Depends:
+ debhelper (>= 8~)
+ , dh-buildinfo
+Standards-Version: 3.9.2
+Homepage: http://search.npmjs.org/#/mbtiles
+Vcs-Git: git://git.debian.org/collab-maint/node-mbtiles.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/node-mbtiles.git;a=summary
+
+Package: node-mbtiles
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+ , node-optimist
+ , node-sqlite3
+ , node-step
+ , node-sphericalmercator
+ , node-underscore
+ , node-zlib
+Description: utilities and tilelive integration for the MBTiles format
+ node-mbtiles provides a NodeJS module with utilities and tilelive integration
+ for the MBTiles format.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e68753a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,47 @@
+Format: http://dep.debian.net/deps/dep5
+
+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.
+Comment: https://github.com/mapbox/node-mbtiles/issues/12
+
+Files: debian/*
+Copyright: © 2011, David Paleino <dapal at debian.org>
+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 <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..6dff551
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+bin/*       usr/bin/
+lib/*.js    usr/lib/nodejs/mbtiles/
+lib/*.sql   usr/share/node-mbtiles/
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..63056a8
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/lib/nodejs/mbtiles/mbtiles.js	usr/lib/nodejs/mbtiles/index.js
diff --git a/debian/patches/00-fix_schema_path.patch b/debian/patches/00-fix_schema_path.patch
new file mode 100644
index 0000000..5a6ec7e
--- /dev/null
+++ b/debian/patches/00-fix_schema_path.patch
@@ -0,0 +1,20 @@
+From: David Paleino <dapal at debian.org>
+Subject: move schema.sql out of NodeJS module path
+Origin: vendor
+Forwarded: no
+
+---
+ lib/mbtiles.js |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- node-mbtiles.orig/lib/mbtiles.js
++++ node-mbtiles/lib/mbtiles.js
+@@ -181,7 +181,7 @@ MBTiles.prototype._setup = function(call
+     var mbtiles = this;
+     mbtiles._exists('tiles', function(err, exists) {
+         if (exists) return callback(null);
+-        fs.readFile(__dirname + '/schema.sql', 'utf8', function(err, sql) {
++        fs.readFile('/usr/share/node-mbtiles/schema.sql', 'utf8', function(err, sql) {
+             if (err) return callback(err);
+             mbtiles._db.exec(sql, callback);
+         });
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0c20602
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-fix_schema_path.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..40808c0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_install:
+	dh_install
+	dh_buildinfo
+
+override_dh_installchangelogs:
+	dh_installchangelogs -- CHANGELOG.md
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..570a3fc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+https://alioth.debian.org/~dapal/npmjs.php?id=mbtiles \
+	http://registry.npmjs.org/mbtiles/-/mbtiles-(\d+.*)\.tgz

-- 
utilities and tilelive integration for the MBTiles format



More information about the Pkg-javascript-commits mailing list