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 46c48016672971886224b75da4818935e0ffda7a
Author: Giovanni Mascellani <mascell...@poisson.phc.unipi.it>
Date:   Mon Feb 16 10:13:35 2009 +0000

     * Added new plugins: agpifoj, measurement, openvisible, surveyor, usertools
     * d/rules: HEAD was checked out instead of specified version
---
 debian/master.xml                    | 27 +++++++++++++++++
 debian/patches/00list                |  5 ++++
 debian/patches/100_surveyor.dpatch   | 25 ++++++++++++++++
 debian/patches/110_usertools.dpatch  | 25 ++++++++++++++++
 debian/patches/70_agpifoj.dpatch     | 25 ++++++++++++++++
 debian/patches/80_measurement.dpatch | 25 ++++++++++++++++
 debian/patches/90_openvisible.dpatch | 58 ++++++++++++++++++++++++++++++++++++
 debian/rules                         |  4 +--
 8 files changed, 192 insertions(+), 2 deletions(-)

diff --git a/debian/master.xml b/debian/master.xml
index d1ff386..9645f93 100644
--- a/debian/master.xml
+++ b/debian/master.xml
@@ -15,6 +15,10 @@
    
     <target name="build" depends="init">
 
+        <ant dir="../agpifoj"   antfile="build.xml" target="dist">
+            <property name="plugin.jar"     
value="${plugin.dist.dir}/agpifoj.jar"/>
+        </ant>
+
         <ant dir="../colorscheme"   antfile="build.xml" target="dist">
             <property name="plugin.jar"     
value="${plugin.dist.dir}/colorscheme.jar"/>
         </ant>
@@ -22,10 +26,27 @@
         <ant dir="../livegps"   antfile="build.xml" target="dist">
             <property name="plugin.jar"     
value="${plugin.dist.dir}/livegps.jar"/>
         </ant>
+        
+        <ant dir="../measurement"   antfile="build.xml" target="dist">
+            <property name="plugin.jar"     
value="${plugin.dist.dir}/measurement.jar"/>
+        </ant>
+        
+        <ant dir="../openvisible"   antfile="build.xml" target="dist">
+            <property name="plugin.jar"     
value="${plugin.dist.dir}/openvisible.jar"/>
+        </ant>
 
         <ant dir="../slippymap"   antfile="build.xml" target="dist">
             <property name="plugin.jar"     
value="${plugin.dist.dir}/slippymap.jar"/>
         </ant>
+
+        <!-- surveyor must be compiled _after_ livegps -->
+        <ant dir="../surveyor"   antfile="build.xml" target="dist">
+            <property name="plugin.jar"     
value="${plugin.dist.dir}/surveyor.jar"/>
+        </ant>
+ 
+        <ant dir="../usertools"   antfile="build.xml" target="dist">
+            <property name="plugin.jar"     
value="${plugin.dist.dir}/usertools.jar"/>
+        </ant>
  
         <ant dir="../utilsplugin"   antfile="build.xml" target="dist">
             <property name="plugin.jar"     
value="${plugin.dist.dir}/utilsplugin.jar"/>
@@ -40,10 +61,16 @@
         </ant>
 
     </target>
+
     <target name="clean">
+        <ant dir="../agpifoj"            antfile="build.xml" target="clean"/>
         <ant dir="../colorscheme"        antfile="build.xml" target="clean"/>
         <ant dir="../livegps"            antfile="build.xml" target="clean"/>
+        <ant dir="../measurement"        antfile="build.xml" target="clean"/>
+        <ant dir="../openvisible"        antfile="build.xml" target="clean"/>
         <ant dir="../slippymap"          antfile="build.xml" target="clean"/>
+        <ant dir="../surveyor"           antfile="build.xml" target="clean"/>
+        <ant dir="../usertools"          antfile="build.xml" target="clean"/>
         <ant dir="../utilsplugin"        antfile="build.xml" target="clean"/>
         <ant dir="../validator"          antfile="build.xml" target="clean"/>
         <ant dir="../wmsplugin"          antfile="build.xml" target="clean"/>
diff --git a/debian/patches/00list b/debian/patches/00list
index a42155c..92f346c 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -4,3 +4,8 @@
 40_utilsplugin
 50_validator
 60_wmsplugin
+70_agpifoj
+80_measurement
+90_openvisible
+100_surveyor
+110_usertools
diff --git a/debian/patches/100_surveyor.dpatch 
b/debian/patches/100_surveyor.dpatch
new file mode 100755
index 0000000..02ec947
--- /dev/null
+++ b/debian/patches/100_surveyor.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 100_surveyor.dpatch by  <g.mascell...@gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad trunk~/surveyor/build.xml trunk/surveyor/build.xml
+--- trunk~/surveyor/build.xml  2009-01-23 22:36:04.000000000 +0100
++++ trunk/surveyor/build.xml   2009-02-16 11:06:30.000000000 +0100
+@@ -20,14 +20,6 @@
+         </javac>
+     </target>
+     <target name="dist" depends="compile">
+-        <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"/>
+         <copy todir="${plugin.build.dir}/">
+             <fileset dir="resources">
+                 <include name="*.xml"/>
diff --git a/debian/patches/110_usertools.dpatch 
b/debian/patches/110_usertools.dpatch
new file mode 100755
index 0000000..64085db
--- /dev/null
+++ b/debian/patches/110_usertools.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 110_usertools.dpatch by  <g.mascell...@gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad trunk~/usertools/build.xml trunk/usertools/build.xml
+--- trunk~/usertools/build.xml 2009-01-09 10:04:33.000000000 +0100
++++ trunk/usertools/build.xml  2009-02-16 11:08:10.000000000 +0100
+@@ -16,14 +16,6 @@
+         </javac>
+     </target>
+     <target name="dist" depends="compile">
+-        <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="usertools.UserToolsPlugin" />
diff --git a/debian/patches/70_agpifoj.dpatch b/debian/patches/70_agpifoj.dpatch
new file mode 100755
index 0000000..0e360b0
--- /dev/null
+++ b/debian/patches/70_agpifoj.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 70_agpifoj.dpatch by  <g.mascell...@gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad trunk~/agpifoj/build.xml trunk/agpifoj/build.xml
+--- trunk~/agpifoj/build.xml   2009-01-01 18:55:45.000000000 +0100
++++ trunk/agpifoj/build.xml    2009-02-16 11:08:56.000000000 +0100
+@@ -27,14 +27,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.agpifoj.AgpifojPlugin" />
diff --git a/debian/patches/80_measurement.dpatch 
b/debian/patches/80_measurement.dpatch
new file mode 100755
index 0000000..0fa6f62
--- /dev/null
+++ b/debian/patches/80_measurement.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 80_measurement.dpatch by  <g.mascell...@gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad trunk~/measurement/build.xml trunk/measurement/build.xml
+--- trunk~/measurement/build.xml       2009-01-01 18:55:45.000000000 +0100
++++ trunk/measurement/build.xml        2009-02-16 10:57:20.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"/>
+         <jar destfile="${plugin.jar}" basedir="build">
+             <manifest>
+                 <attribute name="Plugin-Class" 
value="org.openstreetmap.josm.plugins.measurement.MeasurementPlugin" />
diff --git a/debian/patches/90_openvisible.dpatch 
b/debian/patches/90_openvisible.dpatch
new file mode 100755
index 0000000..025aabb
--- /dev/null
+++ b/debian/patches/90_openvisible.dpatch
@@ -0,0 +1,58 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 90_openvisible.dpatch by  <g.mascell...@gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad trunk~/openvisible/build.xml trunk/openvisible/build.xml
+--- trunk~/openvisible/build.xml       2009-01-01 18:55:45.000000000 +0100
++++ trunk/openvisible/build.xml        2009-02-16 11:10:19.000000000 +0100
+@@ -22,7 +22,7 @@
+     <property name="plugin.site.url" 
value="http://www.tegmento.org/~cdaller/josm/${ant.project.name}/"/>
+     <property name="plugin.site.upload.target" 
value="cdal...@www.tegmento.org:public_html/josm/${ant.project.name}/"/>
+     <property name="ant.build.javac.target" value="1.5"/>
+-    <target name="dist" depends="compile,site">
++    <target name="dist" depends="compile">
+ <!-- images -->
+         <copy todir="${plugin.build.dir}/images">
+             <fileset dir="images" />
+@@ -34,17 +34,8 @@
+        </fileset>
+      </copy>
+      -->
+-        <mkdir dir="${plugin.dist.dir}"/>
+-        <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.dist.dir}/${plugin.jar}" 
basedir="${plugin.build.dir}">
++        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
+             <manifest>
+                 <attribute name="Plugin-Class" value="${plugin.class}" />
+                 <attribute name="Plugin-Description" 
value="${plugin.description}" />
+@@ -61,10 +52,7 @@
+         <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}"/>
+ <!--
+             <fileset dir="lib">
+               <include name="**/*.jar"/>
+@@ -136,6 +124,6 @@
+     <target name="clean">
+         <delete dir="${plugin.build.dir}" />
+         <delete dir="${plugin.site.file}" />
+-        <delete file="${plugin.dist.dir}/${plugin.jar}" />
++        <delete file="${plugin.jar}" />
+     </target>
+ </project>
diff --git a/debian/rules b/debian/rules
index 84b3e14..f3aba71 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ DEB_ANT_BUILD_TARGET := build
 DEB_ANT_CLEAN_TARGET := clean
 
 SVNREPO := http://svn.openstreetmap.org/applications/editors/josm/plugins/
-PLUGINS := colorscheme livegps slippymap utilsplugin validator wmsplugin
+PLUGINS := agpifoj colorscheme livegps measurement openvisible slippymap 
surveyor usertools utilsplugin validator wmsplugin
 
 DATE := $(shell date +%Y%m%d)
 ifdef SVNREV
@@ -32,7 +32,7 @@ get-orig-source:
        @mkdir ${DESTDIR}
        @for plugin in $(PLUGINS); do \
                        echo "Fetching $$plugin plugin"; \
-                       svn export -r HEAD ${SVNREPO}/"$$plugin" 
${DESTDIR}/"$$plugin"; \
+                       svn export -r ${SVNREV} ${SVNREPO}/"$$plugin" 
${DESTDIR}/"$$plugin"; \
        done                    
        svn info --xml 
http://svn.openstreetmap.org/applications/editors/josm/plugins/ > 
${DESTDIR}/svn-info.xml
        @echo Removing jar files

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

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to