Hello community,

here is the log from the commit of package icu4j for openSUSE:Factory checked 
in at 2015-08-01 11:37:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/icu4j (Old)
 and      /work/SRC/openSUSE:Factory/.icu4j.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "icu4j"

Changes:
--------
--- /work/SRC/openSUSE:Factory/icu4j/icu4j.changes      2015-04-02 
15:56:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.icu4j.new/icu4j.changes 2015-08-01 
11:37:37.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Jul 28 10:56:40 UTC 2015 - [email protected]
+
+- Version bump to 55.1:
+  * various bugfixes to match up regular icu-c
+- Add patch to build with jdk8:
+  * java8-compatibility.patch
+
+-------------------------------------------------------------------

Old:
----
  icu4j-54.1.1.tar.xz

New:
----
  icu4j-55.1.tar.xz
  java8-compatibility.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ icu4j.spec ++++++
--- /var/tmp/diff_new_pack.fLksO8/_old  2015-08-01 11:37:38.000000000 +0200
+++ /var/tmp/diff_new_pack.fLksO8/_new  2015-08-01 11:37:38.000000000 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           icu4j
-Version:        54.1.1
+Version:        55.1
 Release:        0
 Summary:        International Components for Unicode for Java
 License:        MIT and EPL-1.0
@@ -29,6 +29,8 @@
 #svn co http://source.icu-project.org/repos/icu/icu4j/tags/release-54-1-1 
icu4j-<version>
 #tar caf icu4j-<version>.tar.xz icu4j-<version>/
 Source0:        %{name}-%{version}.tar.xz
+#PATCH-FIX-UPSTREAM: fix jdk8 build
+Patch0:         java8-compatibility.patch
 BuildRequires:  ant
 BuildRequires:  java-devel
 BuildRequires:  unzip
@@ -63,6 +65,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 sed -i 's/\r//' APIChangeReport.html
 sed -i 's/\r//' readme.html

++++++ icu4j-54.1.1.tar.xz -> icu4j-55.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/icu4j/icu4j-54.1.1.tar.xz 
/work/SRC/openSUSE:Factory/.icu4j.new/icu4j-55.1.tar.xz differ: char 25, line 1

++++++ java8-compatibility.patch ++++++
Description: Fixes the detection of the JDK to allow the compilation with Java 
8.
 Do not compile the ICUTaglet class which relies on internal JDK classes
 no longer available in Java 8.
Author: Emmanuel Bourg <[email protected]>
Forwarded: no
Index: icu4j-55.1/build.xml
===================================================================
--- icu4j-55.1.orig/build.xml
+++ icu4j-55.1/build.xml
@@ -87,6 +87,7 @@
         <or>
             <contains string="${java.version}" substring="1.7."/>
             <contains string="${java.version}" substring="1.8."/>
+            <contains string="${java.version}" substring="1.9."/>
         </or>
     </condition>
 
Index: icu4j-55.1/tools/build/build.xml
===================================================================
--- icu4j-55.1.orig/tools/build/build.xml
+++ icu4j-55.1/tools/build/build.xml
@@ -21,7 +21,20 @@
 
     <target name="clean" depends="@clean" description="Clean up the build 
outputs"/>
 
-    <target name="compile" depends="@compile" description="Compile java source 
files"/>
+    <target name="compile" description="Compile java source files">
+        <mkdir dir="${bin.dir}"/>
+        <javac
+            srcdir="${src.dir}"
+            destdir="${bin.dir}"
+            classpathref="javac.classpathref"
+            source="${javac.source}"
+            target="${javac.target}"
+            encoding="${java.src.encoding}"
+            debug="${javac.debug}">
+            <compilerarg value="${javac.compilerarg}"/>
+            <exclude name="**/ICUTaglet*"/>
+        </javac>
+    </target>
 
     <target name="copy" depends="@copy" description="Copy non-java runtime 
files to the project's binary directory"/>
 

Reply via email to