[josm] 04/08: Refresh patches.

Bas Couwenberg sebastic at debian.org
Tue Mar 27 05:43:02 UTC 2018


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository josm.

commit a1c313707aee0bfb60229d2d83296aaa26f8081e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Mar 27 07:20:30 2018 +0200

    Refresh patches.
---
 debian/changelog                              |  1 +
 debian/patches/00-build.patch                 | 30 +++++++++++++--------------
 debian/patches/04-use_system_jmapviewer.patch |  2 +-
 debian/patches/05-fix_version.patch           |  2 +-
 debian/patches/06-move_data_out_of_jar.patch  |  8 +++----
 5 files changed, 22 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e8dc369..3a538ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 josm (0.0.svn13576+dfsg-1) UNRELEASED; urgency=medium
 
   * New tested snapshot.
+  * Refresh patches.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 27 Mar 2018 07:18:16 +0200
 
diff --git a/debian/patches/00-build.patch b/debian/patches/00-build.patch
index da04514..329418e 100644
--- a/debian/patches/00-build.patch
+++ b/debian/patches/00-build.patch
@@ -9,7 +9,7 @@ Forwarded: not-needed
 
 --- a/build.xml
 +++ b/build.xml
-@@ -29,7 +29,8 @@
+@@ -30,7 +30,8 @@
          <property name="proj-build.dir" location="${base.dir}/build2"/>
          <property name="checkstyle-build.dir" location="${base.dir}/build2"/>
          <property name="epsg.output" location="${base.dir}/data/projection/custom-epsg"/>
@@ -19,9 +19,9 @@ Forwarded: not-needed
          <property name="error_prone_ant.jar" location="${tools.dir}/error_prone_ant.jar"/>
          <property name="dist.jar" location="${dist.dir}/josm-custom.jar"/>
          <property name="dist-optimized.jar" location="${dist.dir}/josm-custom-optimized.jar"/>
-@@ -55,6 +56,19 @@
-         <condition property="javac.compiler" value="modern" else="com.google.errorprone.ErrorProneAntCompilerAdapter">
-             <isset property="isJava10"/>
+@@ -66,6 +67,19 @@
+                 <isset property="isJava11"/>
+             </not>
          </condition>
 +        <!-- Java classpath addition (all jar files to compile tests with this) -->
 +        <path id="classpath">
@@ -39,7 +39,7 @@ Forwarded: not-needed
          <path id="test.classpath">
              <fileset dir="${test.dir}/lib">
                  <include name="**/*.jar"/>
-@@ -117,10 +131,9 @@
+@@ -128,10 +142,9 @@
      <!--
        ** Creates the REVISION file to be included in the distribution
      -->
@@ -52,7 +52,7 @@ Forwarded: not-needed
          <tstamp>
              <format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss"/>
          </tstamp>
-@@ -131,8 +144,10 @@
+@@ -142,8 +155,10 @@
          <echo file="${revision.dir}/REVISION">
  # automatically generated by JOSM build.xml - do not edit
  Revision: ${version.entry.commit.revision}
@@ -64,7 +64,7 @@ Forwarded: not-needed
  </echo>
      </target>
      <!--
-@@ -152,7 +167,7 @@ Build-Date: ${build.tstamp}
+@@ -163,7 +178,7 @@ Build-Date: ${build.tstamp}
          <copy file="README" todir="${build.dir}"/>
          <copy file="LICENSE" todir="${build.dir}"/>
          <!-- create josm-custom.jar -->
@@ -73,7 +73,7 @@ Forwarded: not-needed
          <jar destfile="${dist.jar}" basedir="${build.dir}" level="${clevel}">
              <!-- add attribute excludes="**/*BZip2*,**/*Bzip2*" to create a non-bzip2 supporting jar -->
              <manifest>
-@@ -162,6 +177,8 @@ Build-Date: ${build.tstamp}
+@@ -173,6 +188,8 @@ Build-Date: ${build.tstamp}
                  <attribute name="Permissions" value="all-permissions"/>
                  <attribute name="Codebase" value="josm.openstreetmap.de"/>
                  <attribute name="Application-Name" value="JOSM - Java OpenStreetMap Editor"/>
@@ -82,7 +82,7 @@ Forwarded: not-needed
                  <!-- Java 9 stuff. Entries are safely ignored by Java 8 -->
                  <attribute name="Add-Exports" value="java.base/sun.security.util java.base/sun.security.x509 java.desktop/com.apple.eawt java.desktop/com.sun.imageio.spi javafx.graphics/com.sun.javafx.application jdk.deploy/com.sun.deploy.config" />
                  <attribute name="Add-Opens" value="java.base/java.lang java.base/java.nio java.base/jdk.internal.loader java.base/jdk.internal.ref java.desktop/javax.imageio.spi java.desktop/javax.swing.text.html java.prefs/java.util.prefs" />
-@@ -236,43 +253,21 @@ Build-Date: ${build.tstamp}
+@@ -247,43 +264,21 @@ Build-Date: ${build.tstamp}
      </target>
      <target name="javacc" depends="init" unless="javacc.notRequired">
          <mkdir dir="${mapcss.dir}/parsergen"/>
@@ -129,7 +129,7 @@ Forwarded: not-needed
              <exclude name="org/apache/commons/jcs/JCS.java"/>
              <exclude name="org/apache/commons/jcs/access/GroupCacheAccess.java"/>
              <exclude name="org/apache/commons/jcs/access/PartitionedCacheAccess.java"/>
-@@ -293,21 +288,15 @@ Build-Date: ${build.tstamp}
+@@ -304,21 +299,15 @@ Build-Date: ${build.tstamp}
              <exclude name="org/apache/commons/jcs/utils/net/**"/>
              <exclude name="org/apache/commons/jcs/utils/props/**"/>
              <exclude name="org/apache/commons/jcs/utils/servlet/**"/>
@@ -154,7 +154,7 @@ Forwarded: not-needed
              <compilerarg value="-Xlint:cast"/>
              <compilerarg value="-Xlint:deprecation"/>
              <compilerarg value="-Xlint:dep-ann"/>
-@@ -321,19 +310,14 @@ Build-Date: ${build.tstamp}
+@@ -332,19 +321,14 @@ Build-Date: ${build.tstamp}
              <compilerarg value="-Xlint:unchecked"/>
              <!-- Undocumented argument to ignore "Sun internal proprietary API" warning, see http://stackoverflow.com/a/13862308/2257172 -->
              <compilerarg value="-XDignore.symbol.file"/>
@@ -175,7 +175,7 @@ Forwarded: not-needed
              <compilerarg value="-Xlint:cast"/>
              <compilerarg value="-Xlint:deprecation"/>
              <compilerarg value="-Xlint:dep-ann"/>
-@@ -347,13 +331,6 @@ Build-Date: ${build.tstamp}
+@@ -358,13 +342,6 @@ Build-Date: ${build.tstamp}
              <compilerarg value="-Xlint:unchecked"/>
              <!-- Undocumented argument to ignore "Sun internal proprietary API" warning, see http://stackoverflow.com/a/13862308/2257172 -->
              <compilerarg value="-XDignore.symbol.file"/>
@@ -189,7 +189,7 @@ Forwarded: not-needed
              <compilerarg line="-Xmaxwarns 1000"/>
              <exclude name="org/openstreetmap/josm/io/audio/JavaFxMediaPlayer.java" if:set="noJavaFX"/>
          </javac>
-@@ -368,6 +345,7 @@ Build-Date: ${build.tstamp}
+@@ -379,6 +356,7 @@ Build-Date: ${build.tstamp}
          </uptodate>
          <mkdir dir="${build.dir}"/>
          <mkdir dir="${dist.dir}"/>
@@ -197,7 +197,7 @@ Forwarded: not-needed
      </target>
      <target name="javadoc" depends="init-properties">
          <javadoc destdir="javadoc"
-@@ -402,6 +380,7 @@ Build-Date: ${build.tstamp}
+@@ -413,6 +391,7 @@ Build-Date: ${build.tstamp}
          <delete dir="${src.dir}/org/openstreetmap/josm/data/imagery/types"/>
          <delete file="${epsg.output}"/>
          <delete file="${pmd.dir}/cache"/>
@@ -205,7 +205,7 @@ Forwarded: not-needed
      </target>
      <macrodef name="init-test-preferences">
          <attribute name="testfamily"/>
-@@ -913,6 +892,7 @@ Build-Date: ${build.tstamp}
+@@ -926,6 +905,7 @@ Build-Date: ${build.tstamp}
                  <pathelement path="${base.dir}"/>
                  <pathelement path="${proj-classpath}"/>
                  <pathelement path="${proj-build.dir}"/>
diff --git a/debian/patches/04-use_system_jmapviewer.patch b/debian/patches/04-use_system_jmapviewer.patch
index 570cac1..cd3da43 100644
--- a/debian/patches/04-use_system_jmapviewer.patch
+++ b/debian/patches/04-use_system_jmapviewer.patch
@@ -5,7 +5,7 @@ Forwarded: not-needed
 
 --- a/build.xml
 +++ b/build.xml
-@@ -187,7 +187,6 @@ Debian-Release: ${debian.version}
+@@ -198,7 +198,6 @@ Debian-Release: ${debian.version}
              <zipfileset dir="images" prefix="images"/>
              <zipfileset dir="data" prefix="data"/>
              <zipfileset dir="styles" prefix="styles"/>
diff --git a/debian/patches/05-fix_version.patch b/debian/patches/05-fix_version.patch
index 4522a0d..381cafb 100644
--- a/debian/patches/05-fix_version.patch
+++ b/debian/patches/05-fix_version.patch
@@ -8,7 +8,7 @@ Forwarded: not-needed
 
 --- a/build.xml
 +++ b/build.xml
-@@ -172,7 +172,7 @@ Debian-Release: ${debian.version}
+@@ -183,7 +183,7 @@ Debian-Release: ${debian.version}
              <!-- add attribute excludes="**/*BZip2*,**/*Bzip2*" to create a non-bzip2 supporting jar -->
              <manifest>
                  <attribute name="Main-class" value="org.openstreetmap.josm.gui.MainApplication"/>
diff --git a/debian/patches/06-move_data_out_of_jar.patch b/debian/patches/06-move_data_out_of_jar.patch
index febd4e0..e06985c 100644
--- a/debian/patches/06-move_data_out_of_jar.patch
+++ b/debian/patches/06-move_data_out_of_jar.patch
@@ -6,7 +6,7 @@ Forwarded: not-needed
 
 --- a/build.xml
 +++ b/build.xml
-@@ -184,9 +184,6 @@ Debian-Release: ${debian.version}
+@@ -195,9 +195,6 @@ Debian-Release: ${debian.version}
                  <attribute name="Add-Opens" value="java.base/java.lang java.base/java.nio java.base/jdk.internal.loader java.base/jdk.internal.ref java.desktop/javax.imageio.spi java.desktop/javax.swing.text.html java.prefs/java.util.prefs" />
              </manifest>
              <service type="java.text.spi.DecimalFormatSymbolsProvider" provider="org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider" />
@@ -24,9 +24,9 @@ Forwarded: not-needed
  import java.net.URL;
 +import java.net.MalformedURLException;
  import java.nio.charset.StandardCharsets;
- import java.nio.file.Files;
  import java.nio.file.InvalidPathException;
-@@ -313,7 +314,11 @@ public final class I18n {
+ import java.text.MessageFormat;
+@@ -312,7 +313,11 @@ public final class I18n {
      }
  
      private static URL getTranslationFile(String lang) {
@@ -41,7 +41,7 @@ Forwarded: not-needed
      /**
 --- a/src/org/openstreetmap/josm/io/CachedFile.java
 +++ b/src/org/openstreetmap/josm/io/CachedFile.java
-@@ -207,11 +207,17 @@ public class CachedFile implements Close
+@@ -219,11 +219,17 @@ public class CachedFile implements Close
          File file = getFile();
          if (file == null) {
              if (name != null && name.startsWith("resource://")) {

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



More information about the Pkg-grass-devel mailing list