[josm-plugins] 44/369: Patches updated to last SVN release
Bas Couwenberg
sebastic at xs4all.nl
Sat Oct 18 12:03:23 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 477a852d415967124f154a0154c685338ee8c3a9
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date: Sun Feb 15 19:07:30 2009 +0000
Patches updated to last SVN release
---
debian/patches/00list | 9 ++++--
debian/patches/10_colorscheme.dpatch | 51 ++++++++++++++++++++++++++++++
debian/patches/10_validator.dpatch | 19 -----------
debian/patches/20_disable_svn.dpatch | 61 ------------------------------------
debian/patches/20_livegps.dpatch | 39 +++++++++++++++++++++++
debian/patches/30_build.dpatch | 43 -------------------------
debian/patches/30_slippymap.dpatch | 34 ++++++++++++++++++++
debian/patches/40_utilsplugin.dpatch | 25 +++++++++++++++
debian/patches/50_validator.dpatch | 25 +++++++++++++++
debian/patches/60_wmsplugin.dpatch | 25 +++++++++++++++
10 files changed, 205 insertions(+), 126 deletions(-)
diff --git a/debian/patches/00list b/debian/patches/00list
index 53f8d89..a42155c 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1,3 +1,6 @@
-10_validator
-20_disable_svn
-30_build
+10_colorscheme
+20_livegps
+30_slippymap
+40_utilsplugin
+50_validator
+60_wmsplugin
diff --git a/debian/patches/10_colorscheme.dpatch b/debian/patches/10_colorscheme.dpatch
new file mode 100755
index 0000000..6cff643
--- /dev/null
+++ b/debian/patches/10_colorscheme.dpatch
@@ -0,0 +1,51 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_colorscheme.dpatch by <g.mascellani at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/colorscheme/build.xml trunk/colorscheme/build.xml
+--- trunk~/colorscheme/build.xml 2009-01-01 18:55:45.000000000 +0100
++++ trunk/colorscheme/build.xml 2009-02-15 19:57:22.000000000 +0100
+@@ -15,7 +15,7 @@
+ <property name="plugin.site.url" value="http://www.tegmento.org/~cdaller/josm/colorscheme/"/>
+ <property name="plugin.site.upload.target" value="cdaller at www.tegmento.org:public_html/josm/colorscheme/"/>
+ <property name="ant.build.javac.target" value="1.5"/>
+- <target name="dist" depends="compile, site">
++ <target name="dist" depends="compile">
+ <echo message="creating ${plugin.jar}"/>
+ <!-- images -->
+ <!--
+@@ -29,14 +29,6 @@
+ <include name="*.xml"/>
+ </fileset>
+ </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"/>
+ <!-- create jar file -->
+ <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
+ <manifest>
+@@ -48,14 +40,11 @@
+ </manifest>
+ </jar>
+ </target>
+- <target name="compile" depends="init">
++ <target name="compile" depends="">
+ <mkdir dir="${plugin.build.dir}"/>
+ <javac srcdir="src" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5">
+ <classpath>
+- <pathelement path="${josm.build.dir}/build"/>
+- <fileset dir="${josm.build.dir}/lib">
+- <include name="**/*.jar"/>
+- </fileset>
++ <pathelement path="${josm}"/>
+ </classpath>
+ </javac>
+ </target>
diff --git a/debian/patches/10_validator.dpatch b/debian/patches/10_validator.dpatch
deleted file mode 100755
index 5083da6..0000000
--- a/debian/patches/10_validator.dpatch
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 21_validator.dpatch by Andreas Putzo <andreas at putzo.net>
-##
-## DP: Add cast operator for OsmPrimitive.
-## DP: This is necessary to compile with gcj.
-
- at DPATCH@
-diff -urNad josm-plugins-0.0.0.20080326~/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java josm-plugins-0.0.0.20080326/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java
---- josm-plugins-0.0.0.20080326~/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java 2008-01-14 11:16:12.000000000 +0000
-+++ josm-plugins-0.0.0.20080326/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java 2008-03-27 18:26:55.000000000 +0000
-@@ -504,7 +504,7 @@
- String key = prop.getKey();
- String value = prop.getValue();
- if( value == null || value.trim().length() == 0 )
-- commands.add( new ChangePropertyCommand(Collections.singleton(primitives.get(i)), key, null) );
-+ commands.add( new ChangePropertyCommand(Collections.singleton((OsmPrimitive)primitives.get(i)), key, null) );
- else
- {
- String replacementKey = spellCheckKeyData.get(key);
diff --git a/debian/patches/20_disable_svn.dpatch b/debian/patches/20_disable_svn.dpatch
deleted file mode 100755
index 125da7c..0000000
--- a/debian/patches/20_disable_svn.dpatch
+++ /dev/null
@@ -1,61 +0,0 @@
-#! /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.20080518~/slippymap/build.xml josm-plugins-0.0.0.20080518/slippymap/build.xml
---- josm-plugins-0.0.0.20080518~/slippymap/build.xml 2008-05-14 17:40:22.000000000 +0200
-+++ josm-plugins-0.0.0.20080518/slippymap/build.xml 2008-06-30 19:46:28.000000000 +0200
-@@ -26,14 +26,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"/>
-
- <!-- create josm-custom.jar -->
- <jar destfile="${plugin.jar}" basedir="build">
-diff -urNad josm-plugins-0.0.0.20080518~/validator/build.xml josm-plugins-0.0.0.20080518/validator/build.xml
---- josm-plugins-0.0.0.20080518~/validator/build.xml 2008-06-30 19:42:26.000000000 +0200
-+++ josm-plugins-0.0.0.20080518/validator/build.xml 2008-06-30 19:45:22.000000000 +0200
-@@ -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.20080518~/ywms/build.xml josm-plugins-0.0.0.20080518/ywms/build.xml
---- josm-plugins-0.0.0.20080518~/ywms/build.xml 2008-06-30 19:42:26.000000000 +0200
-+++ josm-plugins-0.0.0.20080518/ywms/build.xml 2008-06-30 19:45:22.000000000 +0200
-@@ -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"/>
diff --git a/debian/patches/20_livegps.dpatch b/debian/patches/20_livegps.dpatch
new file mode 100755
index 0000000..e7b9e13
--- /dev/null
+++ b/debian/patches/20_livegps.dpatch
@@ -0,0 +1,39 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_livegps.dpatch by <g.mascellani at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/livegps/build.xml trunk/livegps/build.xml
+--- trunk~/livegps/build.xml 2009-01-01 18:55:45.000000000 +0100
++++ trunk/livegps/build.xml 2009-02-15 19:58:35.000000000 +0100
+@@ -35,14 +35,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"/>
+ <!-- create jar file -->
+ <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
+ <manifest>
+@@ -60,12 +52,7 @@
+ <javac srcdir="livegps" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5">
+ <compilerarg value="-Xlint:deprecation"/>
+ <classpath>
+- <pathelement path="${josm.build.dir}/build"/>
+- <fileset dir="${josm.build.dir}/lib">
+- <include name="../core/build/josm.jar"/>
+- <include name="**/*.jar"/>
+- </fileset>
+- <pathelement location="${plugin.jar}"/>
++ <pathelement location="${josm}"/>
+ </classpath>
+ </javac>
+ </target>
diff --git a/debian/patches/30_build.dpatch b/debian/patches/30_build.dpatch
deleted file mode 100755
index e784a95..0000000
--- a/debian/patches/30_build.dpatch
+++ /dev/null
@@ -1,43 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 30_build.dpatch by Andreas Putzo <andreas at putzo.net>
-##
-## DP: Fix mistake in clean targets of the colorscheme and livegps plugin
-## DP: and in compile target of the slippy_map_chooser plugin.
-
- at DPATCH@
-diff -urNad josm-plugins-0.0.0.20080518~/colorscheme/build.xml josm-plugins-0.0.0.20080518/colorscheme/build.xml
---- josm-plugins-0.0.0.20080518~/colorscheme/build.xml 2008-04-06 21:10:11.000000000 +0200
-+++ josm-plugins-0.0.0.20080518/colorscheme/build.xml 2008-05-18 16:09:07.000000000 +0200
-@@ -69,7 +69,7 @@
- </target>
-
- <target name="clean">
-- <delete dir="${plugin.site.file}" />
-+ <delete file="${plugin.site.file}" />
- <delete dir="${plugin.build.dir}" />
- <delete file="${plugin.jar}" />
- </target>
-diff -urNad josm-plugins-0.0.0.20080518~/livegps/build.xml josm-plugins-0.0.0.20080518/livegps/build.xml
---- josm-plugins-0.0.0.20080518~/livegps/build.xml 2008-04-06 21:10:11.000000000 +0200
-+++ josm-plugins-0.0.0.20080518/livegps/build.xml 2008-05-18 16:09:07.000000000 +0200
-@@ -79,7 +79,7 @@
-
- <target name="clean">
- <delete dir="${plugin.build.dir}" />
-- <delete dir="${plugin.site.file}" />
-+ <delete file="${plugin.site.file}" />
- <delete file="${plugin.jar}" />
- </target>
-
-diff -urNad josm-plugins-0.0.0.20080518~/slippy_map_chooser/build.xml josm-plugins-0.0.0.20080518/slippy_map_chooser/build.xml
---- josm-plugins-0.0.0.20080518~/slippy_map_chooser/build.xml 2008-04-06 21:10:11.000000000 +0200
-+++ josm-plugins-0.0.0.20080518/slippy_map_chooser/build.xml 2008-05-18 16:09:39.000000000 +0200
-@@ -38,7 +38,7 @@
-
- <target name="compile" depends="init">
- <echo message="creating ${plugin.jar}"/>
-- <javac srcdir="src" classpath="../../core/dist/josm-custom.jar" destdir="build" />
-+ <javac srcdir="src" classpath="${josm}" destdir="build" />
- </target>
-
- <target name="init">
diff --git a/debian/patches/30_slippymap.dpatch b/debian/patches/30_slippymap.dpatch
new file mode 100755
index 0000000..65651e7
--- /dev/null
+++ b/debian/patches/30_slippymap.dpatch
@@ -0,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_slippymap.dpatch by <g.mascellani at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/slippymap/build.xml trunk/slippymap/build.xml
+--- trunk~/slippymap/build.xml 2009-01-01 18:55:45.000000000 +0100
++++ trunk/slippymap/build.xml 2009-02-15 19:59:59.000000000 +0100
+@@ -20,14 +20,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"/>
+ <!-- create josm-custom.jar -->
+ <jar destfile="${plugin.jar}" basedir="build">
+ <manifest>
+@@ -41,7 +33,7 @@
+ </target>
+ <target name="compile" depends="init">
+ <echo message="creating ${plugin.jar}"/>
+- <javac srcdir="src" classpath="../../core/dist/josm-custom.jar" destdir="build">
++ <javac srcdir="src" classpath="${josm}" destdir="build">
+ <compilerarg value="-Xlint:deprecation"/>
+ </javac>
+ </target>
diff --git a/debian/patches/40_utilsplugin.dpatch b/debian/patches/40_utilsplugin.dpatch
new file mode 100755
index 0000000..0d8782c
--- /dev/null
+++ b/debian/patches/40_utilsplugin.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 40_utilsplugin.dpatch by <g.mascellani at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/utilsplugin/build.xml trunk/utilsplugin/build.xml
+--- trunk~/utilsplugin/build.xml 2009-02-14 13:34:22.000000000 +0100
++++ trunk/utilsplugin/build.xml 2009-02-15 20:01:14.000000000 +0100
+@@ -18,14 +18,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="UtilsPlugin.UtilsPlugin"/>
diff --git a/debian/patches/50_validator.dpatch b/debian/patches/50_validator.dpatch
new file mode 100755
index 0000000..42cca63
--- /dev/null
+++ b/debian/patches/50_validator.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_validator.dpatch by <g.mascellani at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/validator/build.xml trunk/validator/build.xml
+--- trunk~/validator/build.xml 2009-01-23 22:36:04.000000000 +0100
++++ trunk/validator/build.xml 2009-02-15 20:02:13.000000000 +0100
+@@ -19,14 +19,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.validator.OSMValidatorPlugin"/>
diff --git a/debian/patches/60_wmsplugin.dpatch b/debian/patches/60_wmsplugin.dpatch
new file mode 100755
index 0000000..c277470
--- /dev/null
+++ b/debian/patches/60_wmsplugin.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 60_wmsplugin.dpatch by <g.mascellani at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/wmsplugin/build.xml trunk/wmsplugin/build.xml
+--- trunk~/wmsplugin/build.xml 2009-02-08 11:38:00.000000000 +0100
++++ trunk/wmsplugin/build.xml 2009-02-15 20:04:02.000000000 +0100
+@@ -22,14 +22,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="wmsplugin.WMSPlugin" />
--
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