[Pkg-javascript-commits] [node-mapnik] 08/09: Add patch to use packaged dependencies instead of npm ones.

Bas Couwenberg sebastic at debian.org
Sun Sep 11 13:56:11 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 4a7bc347201d1da444af681f3e6cb5fac0d1a20d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Sep 11 15:05:09 2016 +0200

    Add patch to use packaged dependencies instead of npm ones.
---
 debian/changelog                               |  1 +
 debian/patches/series                          |  1 +
 debian/patches/use-packaged-dependencies.patch | 16 ++++++++++++++++
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d6db0fe..bae3cd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ node-mapnik (3.5.14+dfsg-1) UNRELEASED; urgency=medium
   * Bump minimum required mapnik-vector-tile to 1.2.1.
   * Bump minimum required node-nan to 2.4.0.
   * Drop patches applied upstream, refresh remaining patches.
+  * Add patch to use packaged dependencies instead of npm ones.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 11 Sep 2016 14:33:52 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index bf04208..c07e03d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 test_disable_raster_layer.patch
 nodejs.patch
+use-packaged-dependencies.patch
diff --git a/debian/patches/use-packaged-dependencies.patch b/debian/patches/use-packaged-dependencies.patch
new file mode 100644
index 0000000..ae82673
--- /dev/null
+++ b/debian/patches/use-packaged-dependencies.patch
@@ -0,0 +1,16 @@
+Description: Use packaged dependencies instead of npm ones.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/binding.gyp
++++ b/binding.gyp
+@@ -57,8 +57,7 @@
+         './deps/clipper/',
+         './src',
+         "<!(nodejs -e \"require('nan')\")",
+-        "<!(nodejs -e \"require('protozero')\")",
+-        "<!(nodejs -e \"require('mapnik-vector-tile')\")"
++        '/usr/include'
+       ],
+       'defines': [
+           'MAPNIK_GIT_REVISION="<!@(mapnik-config --git-describe)"',

-- 
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