[openlayers3] 08/08: Add patch to use Debian executables instead of node_modules.

Bas Couwenberg sebastic at xs4all.nl
Sun Dec 28 20:28:05 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository openlayers3.

commit 3468f89071ec0d04a3db193b3d31dc809b1bfd30
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Dec 26 13:16:36 2014 +0100

    Add patch to use Debian executables instead of node_modules.
---
 debian/patches/debian-executables.patch | 22 ++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/debian-executables.patch b/debian/patches/debian-executables.patch
new file mode 100644
index 0000000..50efaac
--- /dev/null
+++ b/debian/patches/debian-executables.patch
@@ -0,0 +1,22 @@
+Description: Change executable paths to use the Debian packages instead of node_modules.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+
+--- a/build.py
++++ b/build.py
+@@ -93,13 +93,13 @@ if sys.platform == 'win32':
+         setattr(variables, program, path)
+ 
+ else:
+-    variables.CLEANCSS = './node_modules/.bin/cleancss'
++    variables.CLEANCSS = 'cleancss'
+     variables.GIT = 'git'
+     variables.GJSLINT = 'gjslint'
+     variables.JSHINT = './node_modules/.bin/jshint'
+-    variables.JSDOC = './node_modules/.bin/jsdoc'
++    variables.JSDOC = 'jsdoc'
+     variables.PYTHON = 'python'
+-    variables.PHANTOMJS = './node_modules/.bin/phantomjs'
++    variables.PHANTOMJS = 'phantomjs'
+ 
+ variables.BRANCH = output(
+     '%(GIT)s', 'rev-parse', '--abbrev-ref', 'HEAD').strip()
diff --git a/debian/patches/series b/debian/patches/series
index 81a5e8e..b4a7cbb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 nodejs.patch
+debian-executables.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/openlayers3.git



More information about the Pkg-grass-devel mailing list