[Pkg-javascript-commits] [node-mapnik] 12/17: Add patch to fix spelling errors.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue May 10 18:16:03 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 a5f84096e466548b42f1738ac9b654a26353e863
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon May 9 09:40:46 2016 +0200
Add patch to fix spelling errors.
---
debian/changelog | 1 +
debian/lintian-overrides | 3 +++
debian/patches/series | 1 +
debian/patches/spelling-errors.patch | 45 ++++++++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4307870..fa8ff32 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ node-mapnik (3.5.12+dfsg-1) UNRELEASED; urgency=medium
* Bump minimum required mapnik-vector-tile version to 1.1.2.
* Bump minimum required libmapnik-dev version to 3.0.11.
* Enable parallel builds.
+ * Add patch to fix spelling errors.
-- Bas Couwenberg <sebastic at debian.org> Sun, 08 May 2016 23:17:36 +0200
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..489a6af
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,3 @@
+# False positive on 'reencode' option
+node-mapnik: spelling-error-in-binary usr/lib/nodejs/mapnik/lib/binding/*/mapnik.node reencode re-encode
+
diff --git a/debian/patches/series b/debian/patches/series
index bf04208..5561177 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
test_disable_raster_layer.patch
nodejs.patch
+spelling-errors.patch
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
new file mode 100644
index 0000000..f328831
--- /dev/null
+++ b/debian/patches/spelling-errors.patch
@@ -0,0 +1,45 @@
+Description: Fix spelling errors.
+ paramter -> parameter
+ intialization -> initialization
+ orginal -> original
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/src/mapnik_image.cpp
++++ b/src/mapnik_image.cpp
+@@ -1825,7 +1825,7 @@ NAN_METHOD(Image::resize)
+ }
+ else
+ {
+- Nan::ThrowTypeError("resize requires a width and height paramter.");
++ Nan::ThrowTypeError("resize requires a width and height parameter.");
+ return;
+ }
+ if (info.Length() >= 4)
+--- a/src/mapnik_projection.cpp
++++ b/src/mapnik_projection.cpp
+@@ -56,7 +56,7 @@ NAN_METHOD(Projection::New)
+ }
+
+ if (info.Length() <= 0 || !info[0]->IsString()) {
+- Nan::ThrowTypeError("please provide a proj4 intialization string");
++ Nan::ThrowTypeError("please provide a proj4 initialization string");
+ return;
+ }
+ bool lazy = false;
+--- a/src/mapnik_vector_tile.cpp
++++ b/src/mapnik_vector_tile.cpp
+@@ -4880,12 +4880,12 @@ NAN_METHOD(VectorTile::render)
+ {
+ if (!set_z || !set_x || !set_y)
+ {
+- Nan::ThrowTypeError("orginal args 'z', 'x', and 'y' must all be used together");
++ Nan::ThrowTypeError("original args 'z', 'x', and 'y' must all be used together");
+ return;
+ }
+ if (closure->x < 0 || closure->y < 0 || closure->z < 0)
+ {
+- Nan::ThrowTypeError("orginal args 'z', 'x', and 'y' can not be negative");
++ Nan::ThrowTypeError("original args 'z', 'x', and 'y' can not be negative");
+ return;
+ }
+ int max_at_zoom = pow(2,closure->z);
--
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