[Pkg-osm-commits] [SCM] josm branch, master, updated. debian/0.0.svn4399+dfsg2-1-3-gb46ffe1

2011-09-28 Thread David Paleino
The following commit has been merged in the master branch:
commit 03c2b01519b5ff64256b6bae8326629cc7ece7f9
Author: Damien Raude-Morvan draz...@debian.org
Date:   Fri Sep 9 23:26:00 2011 +0200

Drop CLASSPATH setting from debian/josm.sh as Class-Path is already set in 
josm.jar.

diff --git a/debian/changelog b/debian/changelog
index a2bc17d..8562aea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ josm (0.0.svn4399+dfsg2-2) UNRELEASED; urgency=low
   [ Damien Raude-Morvan ]
   * Add missing dependency on commons-codec, fixing exceptions during
 upload.
+  * Drop CLASSPATH setting from debian/josm.sh as Class-Path is already
+set in josm.jar.
 
  -- David Paleino da...@debian.org  Wed, 28 Sep 2011 11:31:57 +0200
 
diff --git a/debian/josm.sh b/debian/josm.sh
index 14c9117..fa5b18f 100644
--- a/debian/josm.sh
+++ b/debian/josm.sh
@@ -16,7 +16,6 @@ else
JAVA_CMDS=$JAVA_HOME/bin/java /usr/lib/jvm/java-6-sun/bin/java
 fi
 
-export 
CLASSPATH=/usr/share/java/gettext-commons.jar:/usr/share/java/metadata-extractor.jar:/usr/share/java/svgSalamander.jar:/usr/share/java/gdata-core.jara:/usr/share/java/signpost-core.jar:/usr/share/java/ant.jar
 JAVA_OPTS=$JAVA_OPTS -Djava.net.preferIPv4Stack=true 
-Djava.net.useSystemProxies=true
 
 for jcmd in $JAVA_CMDS; do

-- 
Editor for OpenStreetMap

___
Pkg-osm-commits mailing list
Pkg-osm-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-commits


[Pkg-osm-commits] [SCM] josm branch, master, updated. debian/0.0.svn4399+dfsg2-1-3-gb46ffe1

2011-09-28 Thread David Paleino
The following commit has been merged in the master branch:
commit b46ffe1398c5ff65e9b6e62c2b0ce534aed7e6d9
Author: Damien Raude-Morvan draz...@debian.org
Date:   Fri Sep 9 23:40:29 2011 +0200

Add support for openjdk-7.

diff --git a/debian/changelog b/debian/changelog
index 8562aea..f35c457 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ josm (0.0.svn4399+dfsg2-2) UNRELEASED; urgency=low
 upload.
   * Drop CLASSPATH setting from debian/josm.sh as Class-Path is already
 set in josm.jar.
+  * Add support for openjdk-7.
 
  -- David Paleino da...@debian.org  Wed, 28 Sep 2011 11:31:57 +0200
 
diff --git a/debian/control b/debian/control
index 35eaa69..970d07c 100644
--- a/debian/control
+++ b/debian/control
@@ -32,7 +32,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-osm/josm.git
 Package: josm
 Architecture: all
 Depends:
- openjdk-6-jre | sun-java6-jre
+ openjdk-6-jre | sun-java6-jre | openjdk-7
  , libcommons-codec-java
  , libgettext-commons-java (= 0.9.6)
  , libmetadata-extractor-java
diff --git a/debian/josm.sh b/debian/josm.sh
index fa5b18f..970f597 100644
--- a/debian/josm.sh
+++ b/debian/josm.sh
@@ -11,7 +11,7 @@ ARCH=`dpkg --print-architecture`
 
 # If OpenJDK 6 is only available headless, do not try it
 if dpkg --get-selections openjdk-6-jre | grep install$  /dev/null ; then
-   JAVA_CMDS=$JAVA_HOME/bin/java /usr/lib/jvm/java-6-openjdk/bin/java 
/usr/lib/jvm/java-6-openjdk-$ARCH/bin/java /usr/lib/jvm/java-6-sun/bin/java 
+   JAVA_CMDS=$JAVA_HOME/bin/java 
/usr/lib/jvm/java-7-openjdk-$ARCH/bin/java /usr/lib/jvm/java-6-openjdk/bin/java 
/usr/lib/jvm/java-6-openjdk-$ARCH/bin/java /usr/lib/jvm/java-6-sun/bin/java 
 else
JAVA_CMDS=$JAVA_HOME/bin/java /usr/lib/jvm/java-6-sun/bin/java
 fi

-- 
Editor for OpenStreetMap

___
Pkg-osm-commits mailing list
Pkg-osm-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-commits


[Pkg-osm-commits] [SCM] josm branch, master, updated. debian/0.0.svn4399+dfsg2-1-3-gb46ffe1

2011-09-28 Thread David Paleino
The following commit has been merged in the master branch:
commit 4b2e933d75d4db97c3f0f7f4184e440d3a02aa8d
Author: David Paleino da...@debian.org
Date:   Wed Sep 28 11:32:47 2011 +0200

Add missing dependency on commons-codec, fixing exceptions during upload.

diff --git a/debian/changelog b/debian/changelog
index deb5e1a..a2bc17d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+josm (0.0.svn4399+dfsg2-2) UNRELEASED; urgency=low
+
+  [ Damien Raude-Morvan ]
+  * Add missing dependency on commons-codec, fixing exceptions during
+upload.
+
+ -- David Paleino da...@debian.org  Wed, 28 Sep 2011 11:31:57 +0200
+
 josm (0.0.svn4399+dfsg2-1) unstable; urgency=low
 
   * Reintroduce ntf_r93_b.gsb in the package: its removal should be
diff --git a/debian/control b/debian/control
index 6ba2e55..35eaa69 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Build-Depends:
  , debhelper (= 8~)
  , gettext
  , default-jdk
+ , libcommons-codec-java
  , libgettext-commons-java (= 0.9.6)
  , libmetadata-extractor-java
  , libgettext-ant-tasks-java
@@ -32,6 +33,7 @@ Package: josm
 Architecture: all
 Depends:
  openjdk-6-jre | sun-java6-jre
+ , libcommons-codec-java
  , libgettext-commons-java (= 0.9.6)
  , libmetadata-extractor-java
  , liboauth-signpost-java (= 1.2)
diff --git a/debian/patches/10-build.patch b/debian/patches/10-build.patch
index 8a4cbdb..9e7f288 100644
--- a/debian/patches/10-build.patch
+++ b/debian/patches/10-build.patch
@@ -7,14 +7,12 @@ Adjustements to the ant build.xml files, mainly to use 
system-provided
 JARs and not depend on Internet connection.
 
 ---
- build.xml  |   34 +++---
- i18n/build.xml |   26 +-
- 2 files changed, 32 insertions(+), 28 deletions(-)
+ build.xml  |   48 
+ i18n/build.xml |   26 --
+ 2 files changed, 40 insertions(+), 34 deletions(-)
 
-Index: josm/build.xml
-===
 josm.orig/build.xml2011-08-08 12:50:14.0 +0200
-+++ josm/build.xml 2011-08-08 12:52:01.0 +0200
+--- josm.orig/build.xml
 josm/build.xml
 @@ -15,6 +15,7 @@
  property name=build.dir location=build/
  property name=javacc.home location=tools/
@@ -23,7 +21,7 @@ Index: josm/build.xml
  !-- build parameter: compression level (ant -Dclevel=N)
   N ranges from 0 (no compression) to 9 (maximum compression)
   default: 9 --
-@@ -23,10 +24,16 @@
+@@ -23,10 +24,17 @@
  /condition
  !-- Java classpath addition (all jar files to compile tests with this) 
--
  path id=classpath
@@ -36,13 +34,14 @@ Index: josm/build.xml
 +  include name=gdata-core.jar/
 +  include name=signpost-core.jar/
 +  include name=ant.jar/
++  include name=commons-codec.jar/
  /fileset
  /path
 +property name=classpathprop-colon refid=classpath/
  
  !--
  ** Used by Eclipse ant builder for updating
-@@ -41,14 +48,7 @@
+@@ -41,14 +49,7 @@
  --
  target name=create-revision
  property name=revision.dir value=${build.dir}/
@@ -58,7 +57,7 @@ Index: josm/build.xml
  tstamp
  format property=build.tstamp pattern=-MM-dd HH:mm:ss/
  /tstamp
-@@ -59,31 +59,31 @@
+@@ -59,31 +60,31 @@
  Revision: ${version.entry.commit.revision}
  Is-Local-Build: true
  Build-Date: ${build.tstamp}
@@ -98,7 +97,7 @@ Index: josm/build.xml
  /manifest
  zipfileset dir=images prefix=images/
  zipfileset dir=data prefix=data/
-@@ -109,30 +109,29 @@
+@@ -109,30 +110,29 @@ Build-Date: ${build.tstamp}
  /target
  target name=javacc
  mkdir dir=${mapcss.dir}/parsergen/
@@ -134,10 +133,8 @@ Index: josm/build.xml
  /target
  path id=test.classpath
  fileset dir=${test.dir}/lib
-Index: josm/i18n/build.xml
-===
 josm.orig/i18n/build.xml   2011-08-08 12:50:14.0 +0200
-+++ josm/i18n/build.xml2011-08-08 12:51:03.0 +0200
+--- josm.orig/i18n/build.xml
 josm/i18n/build.xml
 @@ -1,7 +1,7 @@
  ?xml version=1.0 encoding=utf-8?
  project name=JOSM i18n default=build basedir=.
diff --git a/debian/patches/90-fix_version.patch 
b/debian/patches/90-fix_version.patch
index d4b5de0..91b5ad9 100644
--- a/debian/patches/90-fix_version.patch
+++ b/debian/patches/90-fix_version.patch
@@ -8,11 +8,9 @@ Forwarded: not-needed
  src/org/openstreetmap/josm/data/Version.java |3 ---
  2 files changed, 1 insertion(+), 4 deletions(-)
 
-Index: josm/build.xml
-===
 josm.orig/build.xml2011-08-08 12:50:06.0 +0200
-+++ josm/build.xml 2011-08-08 12:50:06.0 +0200
-@@ -80,7 +80,7 @@
+---