[libjide-oss-java] 09/13: Add java9-add-exports.patch and pass the --add-exports option to
Markus Koschany
apo at moszumanska.debian.org
Tue Oct 10 17:22:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository libjide-oss-java.
commit e49c887535fdcd35c2fa9b585405ee70d50d44b4
Author: Markus Koschany <apo at debian.org>
Date: Tue Oct 10 18:46:29 2017 +0200
Add java9-add-exports.patch and pass the --add-exports option to
javadoc directly. Just exporting the required flags via ANT_OPTIONS does not
work.
---
debian/patches/java9-add-exports.patch | 30 ++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 31 insertions(+)
diff --git a/debian/patches/java9-add-exports.patch b/debian/patches/java9-add-exports.patch
new file mode 100644
index 0000000..2476ce1
--- /dev/null
+++ b/debian/patches/java9-add-exports.patch
@@ -0,0 +1,30 @@
+From: Markus Koschany <apo at debian.org>
+Date: Tue, 10 Oct 2017 18:46:08 +0200
+Subject: java9 add-exports
+
+---
+ build.xml | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/build.xml b/build.xml
+index 2ca9544..c8bc1ab 100644
+--- a/build.xml
++++ b/build.xml
+@@ -63,7 +63,16 @@
+ <mkdir dir="${javadoc_dir}"/>
+ <javadoc maxmemory="${maxheapsize}" sourcepath="${javadoc_source_list}"
+ packagenames="com.jidesoft.*" destdir="${javadoc_dir}"
+- header="JIDE Common Layer ${jide_version}">
++ header="JIDE Common Layer ${jide_version}"
++ additionalparam="--add-exports=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED
++ --add-exports=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED
++ --add-exports=java.desktop/sun.swing=ALL-UNNAMED
++ --add-exports=java.desktop/sun.awt=ALL-UNNAMED
++ --add-exports=java.desktop/sun.awt.image=ALL-UNNAMED
++ --add-exports=java.desktop/sun.awt.shell=ALL-UNNAMED
++ --add-exports=java.desktop/sun.awt.dnd=ALL-UNNAMED
++ --add-exports=java.desktop/sun.awt.windows=ALL-UNNAMED
++ --add-exports=java.base/sun.security.action=ALL-UNNAMED">
+ <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
+ <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
+ </javadoc>
diff --git a/debian/patches/series b/debian/patches/series
index e3bca3f..fdf3abd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
AquaJidePopupMenuUI.java.patch
+java9-add-exports.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjide-oss-java.git
More information about the pkg-java-commits
mailing list