[DebianGIS-dev] r1519 - packages/josm-plugins/trunk/debian/patches
nd-guest at alioth.debian.org
nd-guest at alioth.debian.org
Sat Apr 12 22:26:13 UTC 2008
Author: nd-guest
Date: 2008-04-12 22:26:12 +0000 (Sat, 12 Apr 2008)
New Revision: 1519
Added:
packages/josm-plugins/trunk/debian/patches/20_disable_svn.dpatch
Modified:
packages/josm-plugins/trunk/debian/patches/00list
Log:
Disable execution of svn during build.
Modified: packages/josm-plugins/trunk/debian/patches/00list
===================================================================
--- packages/josm-plugins/trunk/debian/patches/00list 2008-04-12 22:10:37 UTC (rev 1518)
+++ packages/josm-plugins/trunk/debian/patches/00list 2008-04-12 22:26:12 UTC (rev 1519)
@@ -1 +1,2 @@
10_validator
+20_disable_svn
Added: packages/josm-plugins/trunk/debian/patches/20_disable_svn.dpatch
===================================================================
--- packages/josm-plugins/trunk/debian/patches/20_disable_svn.dpatch (rev 0)
+++ packages/josm-plugins/trunk/debian/patches/20_disable_svn.dpatch 2008-04-12 22:26:12 UTC (rev 1519)
@@ -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"/>
Property changes on: packages/josm-plugins/trunk/debian/patches/20_disable_svn.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-grass-devel
mailing list