[Pkg-javascript-commits] [node-mapnik] 09/09: Refresh patches.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Apr 8 10:16:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository node-mapnik.

commit 449dbb6ba75b636029c9fcdeff654b4970fd4cbd
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Apr 8 11:11:14 2016 +0200

    Refresh patches.
---
 debian/patches/test_disable_raster_layer.patch | 27 +++++++++-----------------
 1 file changed, 9 insertions(+), 18 deletions(-)

diff --git a/debian/patches/test_disable_raster_layer.patch b/debian/patches/test_disable_raster_layer.patch
index f0d4ed7..c8bc696 100644
--- a/debian/patches/test_disable_raster_layer.patch
+++ b/debian/patches/test_disable_raster_layer.patch
@@ -2,31 +2,22 @@ Description: disable the test using dfsg-excluded natural_earth.tif
 Author: Jérémy Lal <kapouer at melix.org>
 Last-Update: 2014-08-20
 Forwarded: not-needed
+
 --- a/test/vector-tile.test.js
 +++ b/test/vector-tile.test.js
-@@ -127,7 +127,7 @@
-         var vtile = new mapnik.VectorTile(9,112,195);
-         // tile1 represents a "solid" vector tile with one layer
-         // that only encodes a single feature with a single path with
--        // a polygon box resulting from clipping a chunk out of 
-+        // a polygon box resulting from clipping a chunk out of
-         // a larger polygon fully outside the rendered/clipping extent
-         var data = fs.readFileSync("./test/data/vector_tile/tile1.vector.pbf");
-         vtile.setData(data);
-@@ -602,7 +602,7 @@
-             done();
+@@ -2711,6 +2711,7 @@ describe('mapnik.VectorTile ', function(
          });
      });
--
-+    /*
+ 
++/*
      it('should be able to resample and encode (render) a geotiff into vector tile', function(done) {
-         var vtile = new mapnik.VectorTile(0, 0, 0);
+         var vtile = new mapnik.VectorTile(0, 0, 0, {tile_size:256, buffer_size:0});
          // first we render a geotiff into an image tile
-@@ -641,6 +641,7 @@
+@@ -2742,6 +2743,7 @@ describe('mapnik.VectorTile ', function(
              });
          });
      });
-+    */
++*/
  
-     it('should be able to push an image tile directly into a vector tile layer without decoding', function(done) {
-         var vtile = new mapnik.VectorTile(1, 0, 0);
+     it('should fail to addImage due to bad input', function(done) {
+         var vtile = new mapnik.VectorTile(1, 0, 0, {tile_size:64});

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-mapnik.git



More information about the Pkg-javascript-commits mailing list