[Libreoffice-commits] core.git: external/rhino
rbuj
robert.buj at gmail.com
Wed Jun 18 02:46:55 PDT 2014
external/rhino/rhino1_5R5-find_swing.patch | 6 +++---
external/rhino/rhino1_5R5.patch | 10 +++++++---
2 files changed, 10 insertions(+), 6 deletions(-)
New commits:
commit 0bf363bb6aed583ea228cec88598144b2cbe0d73
Author: rbuj <robert.buj at gmail.com>
Date: Tue Jun 17 11:37:02 2014 +0200
OS X: modify rhino1_5R5 patch for JDKs >= 1.5
Change-Id: Ie07d71055d2776c0701a23db05a0cb91b8d5cb5b
Reviewed-on: https://gerrit.libreoffice.org/9809
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/external/rhino/rhino1_5R5-find_swing.patch b/external/rhino/rhino1_5R5-find_swing.patch
index f074fa8..38ff78e 100644
--- a/external/rhino/rhino1_5R5-find_swing.patch
+++ b/external/rhino/rhino1_5R5-find_swing.patch
@@ -1,14 +1,14 @@
--- misc/rhino1_5R5/toolsrc/build.xml 2009-10-29 18:29:46.605524507 +0100
+++ misc/build/rhino1_5R5/toolsrc/build.xml 2009-10-29 18:29:26.536908810 +0100
-@@ -12,6 +12,7 @@
- <os family="unix"/>
+@@ -16,6 +16,7 @@
+ </or>
</and>
</condition>
+ <property name="swing_zip" value="${TARFILE_LOCATION}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip"/>
<path id="macPath" location="${java.home}/../Classes/classes.jar"/>
<!-- rhino.jar from OpenJDK breaks build -->
<path id="nonMacPath">
-@@ -38,7 +42,7 @@
+@@ -42,7 +43,7 @@
<!-- Download source from Sun's site, unzip it, remove
the files we don't need, and change the package
-->
diff --git a/external/rhino/rhino1_5R5.patch b/external/rhino/rhino1_5R5.patch
index 5b10c32..e44872e 100644
--- a/external/rhino/rhino1_5R5.patch
+++ b/external/rhino/rhino1_5R5.patch
@@ -108,7 +108,7 @@
}
--- misc/rhino1_5R5/toolsrc/build.xml 2004-03-25 21:54:34.000000000 +0100
+++ misc/build/rhino1_5R5/toolsrc/build.xml 2009-01-17 20:46:44.000000000 +0100
-@@ -6,6 +6,24 @@
+@@ -6,6 +6,28 @@
-->
<project name="toolsrc" default="compile" basedir=".">
@@ -116,6 +116,10 @@
+ <and>
+ <os family="mac"/>
+ <os family="unix"/>
++ <or>
++ <equals arg1="${ant.java.version}" arg2="1.5"/>
++ <equals arg1="${ant.java.version}" arg2="1.6"/>
++ </or>
+ </and>
+ </condition>
+ <path id="macPath" location="${java.home}/../Classes/classes.jar"/>
@@ -133,7 +137,7 @@
<target name="properties">
<property name="nest" value=".."/>
<property name="build.dir" value="./build"/>
-@@ -20,46 +38,10 @@
+@@ -20,46 +42,10 @@
<!-- Download source from Sun's site, unzip it, remove
the files we don't need, and change the package
-->
@@ -181,7 +185,7 @@
</target>
<target name="compile" depends="properties,get-swing-ex">
-@@ -68,6 +50,7 @@
+@@ -68,6 +54,7 @@
includes="org/**/*.java"
deprecation="on"
debug="${debug}">
More information about the Libreoffice-commits
mailing list