[josm-plugins] 23/369: Disable execution of svn during build.
Bas Couwenberg
sebastic at xs4all.nl
Sat Oct 18 12:03:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository josm-plugins.
commit b69eb77421a87d51f5cad5ef41eee017df720fe5
Author: Andreas Putzo <andreas at putzo.net>
Date: Sat Apr 12 22:26:12 2008 +0000
Disable execution of svn during build.
---
debian/patches/00list | 1 +
debian/patches/20_disable_svn.dpatch | 43 ++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/debian/patches/00list b/debian/patches/00list
index 14899de..80eaec1 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1 +1,2 @@
10_validator
+20_disable_svn
diff --git a/debian/patches/20_disable_svn.dpatch b/debian/patches/20_disable_svn.dpatch
new file mode 100755
index 0000000..169679c
--- /dev/null
+++ b/debian/patches/20_disable_svn.dpatch
@@ -0,0 +1,43 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_disable_svn.dpatch by Andreas Putzo <andreas at putzo.net>
+##
+## DP: The validator and ywms plugins try to execute the svn command during build.
+## DP: This patch disables this behaviour.
+
+ at DPATCH@
+diff -urNad josm-plugins-0.0.0.20080412~/validator/build.xml josm-plugins-0.0.0.20080412/validator/build.xml
+--- josm-plugins-0.0.0.20080412~/validator/build.xml 2008-04-06 19:10:11.000000000 +0000
++++ josm-plugins-0.0.0.20080412/validator/build.xml 2008-04-12 22:22:06.000000000 +0000
+@@ -29,14 +29,6 @@
+ <copy todir="build/images">
+ <fileset dir="images"/>
+ </copy>
+- <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
+- <env key="LANG" value="C"/>
+- <arg value="info"/>
+- <arg value="--xml"/>
+- <arg value="."/>
+- </exec>
+- <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
+- <delete file="REVISION"/>
+ <jar destfile="${plugin.jar}" basedir="build">
+ <manifest>
+ <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.validator.OSMValidatorPlugin"/>
+diff -urNad josm-plugins-0.0.0.20080412~/ywms/build.xml josm-plugins-0.0.0.20080412/ywms/build.xml
+--- josm-plugins-0.0.0.20080412~/ywms/build.xml 2008-04-06 19:10:11.000000000 +0000
++++ josm-plugins-0.0.0.20080412/ywms/build.xml 2008-04-12 22:22:23.000000000 +0000
+@@ -29,14 +29,6 @@
+ <copy todir="${plugin.build.dir}/images">
+ <fileset dir="images"/>
+ </copy>
+- <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
+- <env key="LANG" value="C"/>
+- <arg value="info"/>
+- <arg value="--xml"/>
+- <arg value="."/>
+- </exec>
+- <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
+- <delete file="REVISION"/>
+ <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
+ <manifest>
+ <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.ywms.YWMSPlugin"/>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/josm-plugins.git
More information about the Pkg-grass-devel
mailing list