Package: josm Version: 0.0.svn3514-1 Severity: normal Tags: patch
JOSM ask for update when start: You should update! 2010-09-14 (3529) For the tags in the properties dialogue, you can directly open the corresponding wiki-page in a browser. 2010-09-03 (o22964) The WMS plugin supports GetCapabilities requests. 2010-08-13 (3431) The new Purge command can clean up data layers. 2010-07-27 (3388) New tagging preset search dialog. 2010-07-20 (3378) JOSM can now recover an intermediate state of your editing in case of a crash. JOSM now requires JAVA version 6. Users of JAVA version 5 need to use older JOSM versions. Active version '3514 SVN' should be updated! The current stable snapshot is 3514 and 3580 is the unstable development version --------------------^^^^ I think that version should be '3514' (without SVN string). I suggest to apply the attached patch (quilt) -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages josm depends on: ii libgettext-commons-java 0.9.6-2 Java classes for internationalizat ii libmetadata-extractor-j 2.3.1+dfsg-2 JPEG metadata extraction framework ii liboauth-signpost-java 1.2.1.1-1 simple OAuth message signing for J ii openjdk-6-jre 6b18-1.8.1-2 OpenJDK Java runtime, using Hotspo ii openstreetmap-map-icons 1:0.0.svn20783-1 Collection of map icons (classic s ii sun-java6-jre 6.21-1 Sun Java(TM) Runtime Environment ( Versions of packages josm recommends: pn josm-plugins <none> (no description available) josm suggests no packages. -- no debconf information
Index: josm-0.0.svn3514/build.xml =================================================================== --- josm-0.0.svn3514.orig/build.xml 2010-10-03 01:47:57.000000000 +0200 +++ josm-0.0.svn3514/build.xml 2010-10-03 01:48:10.000000000 +0200 @@ -81,7 +81,7 @@ <!-- add attribute excludes="**/*BZip2*,**/*Bzip2*" to create a non-bzip2 supporting jar --> <manifest> <attribute name="Main-class" value="JOSM" /> - <attribute name="Main-Version" value="${version.entry.commit.revision} SVN"/> + <attribute name="Main-Version" value="${version.entry.commit.revision}"/> <attribute name="Main-Date" value="${version.entry.commit.date}"/> <attribute name="Debian-Release" value="${debian.version}"/> <attribute name="Class-Path" value="/usr/share/java/gettext-commons.jar /usr/share/java/metadata-extractor.jar /usr/share/java/signpost-core.jar"/> Index: josm-0.0.svn3514/src/org/openstreetmap/josm/data/Version.java =================================================================== --- josm-0.0.svn3514.orig/src/org/openstreetmap/josm/data/Version.java 2010-10-03 01:50:13.000000000 +0200 +++ josm-0.0.svn3514/src/org/openstreetmap/josm/data/Version.java 2010-10-03 01:50:28.000000000 +0200 @@ -206,9 +206,9 @@ public String getAgentString() { int v = getVersion(); String s = (v == JOSM_UNKNOWN_VERSION) ? "UNKNOWN" : Integer.toString(v); - if (isLocalBuild() && v != JOSM_UNKNOWN_VERSION) { + /*if (isLocalBuild() && v != JOSM_UNKNOWN_VERSION) { s += " SVN"; - } + }*/ return "JOSM/1.5 ("+ s+" "+LanguageInfo.getJOSMLocaleCode()+")"; } }