[Pkg-javascript-commits] [SCM] Mapnik stylesheet compiler branch, master, updated. debian/0.4.6+ds1-1-1-g3892b6b

Andrew Harvey andrew.harvey4 at gmail.com
Mon Aug 27 12:42:25 UTC 2012


The following commit has been merged in the master branch:
commit 3892b6becc32bd2b6d4810cf59926fe1b92e60c8
Author: Andrew Harvey <andrew.harvey4 at gmail.com>
Date:   Mon Aug 27 22:40:43 2012 +1000

    add patch for nodejs binary rename as per CTTE #614907

diff --git a/debian/changelog b/debian/changelog
index 459c51f..fdab7e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-carto (0.4.6+ds1-2) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add new patch to use nodejs binary as per CTTE #614907
+
+ -- Andrew Harvey <andrew.harvey4 at gmail.com>  Mon, 27 Aug 2012 22:38:40 +1000
+
 node-carto (0.4.6+ds1-1) unstable; urgency=low
 
   * New upstream version
diff --git a/debian/control b/debian/control
index 358e041..35eacbb 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Package: carto
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
+ , nodejs (>= 0.6.19~dfsg1-3)
  , node-xml2js
  , node-underscore
 Provides: node-carto
diff --git a/debian/patches/01-use-nodejs-binary-per-ctte-614907.patch b/debian/patches/01-use-nodejs-binary-per-ctte-614907.patch
new file mode 100644
index 0000000..fb809a0
--- /dev/null
+++ b/debian/patches/01-use-nodejs-binary-per-ctte-614907.patch
@@ -0,0 +1,28 @@
+Description: fix script to use nodejs binary in #! as per CTTE #614907
+Origin: vendor
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- node-carto.orig/bin/carto
++++ node-carto/bin/carto
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ 
+ var path = require('path'),
+     fs = require('fs'),
+--- node-carto.orig/bin/mml2json.js
++++ node-carto/bin/mml2json.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ 
+ var xml2js = require('xml2js'),
+     fs = require('fs'),
+@@ -64,4 +64,4 @@
+         }, 4));
+     });
+     parser.parseString(data);
+-});
+\ No newline at end of file
++});
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6cc8370
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-use-nodejs-binary-per-ctte-614907.patch

-- 
Mapnik stylesheet compiler



More information about the Pkg-javascript-commits mailing list