summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang E. Sanyer <ezzieyguywuf@gmail.com>2021-04-01 16:51:37 -0400
committerMiroslav Šulc <fordfrog@gentoo.org>2021-06-11 11:51:07 +0200
commitcc67cd13dc32e350a03f875ce56dcd7b4e84510e (patch)
tree65d24519ca31215df6f5926646d591ca5e56a65f /dev-java/gwt/files
parentnet-misc/croc: remove old (diff)
downloadgentoo-cc67cd13dc32e350a03f875ce56dcd7b4e84510e.tar.gz
gentoo-cc67cd13dc32e350a03f875ce56dcd7b4e84510e.tar.bz2
gentoo-cc67cd13dc32e350a03f875ce56dcd7b4e84510e.zip
dev-java/gwt: bump to 2.9.0
This resolves the two bugs references below, but does not close them since they still exist in the older version of this ebuild. Bug: https://bugs.gentoo.org/762619 Bug: https://bugs.gentoo.org/716220 Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20222 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/gwt/files')
-rw-r--r--dev-java/gwt/files/gwt-2.9.0-jsinterop-classpath.patch20
-rw-r--r--dev-java/gwt/files/gwt-2.9.0-remove-git-usage.patch26
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-java/gwt/files/gwt-2.9.0-jsinterop-classpath.patch b/dev-java/gwt/files/gwt-2.9.0-jsinterop-classpath.patch
new file mode 100644
index 000000000000..5e69341210cf
--- /dev/null
+++ b/dev-java/gwt/files/gwt-2.9.0-jsinterop-classpath.patch
@@ -0,0 +1,20 @@
+# It's unclear how upstream gets their "dev.compile.test" target to compile
+# without this - it could be that their testing is done with the local tools/
+# dir, and that some assumptions are made somewhere in the bulid system that
+# don't apply when the tools dir is elsewhere. Either way, this fixes it.
+#
+# a Pull Request (of sorts) has been issued with upstream to incorporate this
+# change. I would list the PR link here, but they use gerrit, and i don't
+# understand what happened to my submission after I issued
+# `git push upstream HEAD:refs/for/master`
+
+--- a/dev/build.xml
++++ b/dev/build.xml
+@@ -60,6 +60,7 @@
+ <pathelement
+ location="${gwt.tools.lib}/streamhtmlparser/streamhtmlparser-jsilver-r10/streamhtmlparser-jsilver-r10-1.5-rebased.jar"/>
+ <pathelement location="${gwt.build.lib}/gwt-dev-${build.host.platform}.jar"/>
++ <pathelement location="${gwt.tools.lib}/jsinterop/jsinterop-annotations-2.0.0.jar"/>
+ <pathelement location="${alldeps.jar}"/>
+ </classpath>
+ </gwt.javac>
diff --git a/dev-java/gwt/files/gwt-2.9.0-remove-git-usage.patch b/dev-java/gwt/files/gwt-2.9.0-remove-git-usage.patch
new file mode 100644
index 000000000000..9ebbafb99099
--- /dev/null
+++ b/dev-java/gwt/files/gwt-2.9.0-remove-git-usage.patch
@@ -0,0 +1,26 @@
+# This git stuff in the ant configs is useful during development, since it does
+# something or other withe git revision and sets some sort of sentinel file.
+# Since this package is for a release, we don't need it.
+--- a/common.ant.xml
++++ b/common.ant.xml
+@@ -277,16 +277,16 @@
+
+ <macrodef name="gwt.getgitinfo" description="Identifies the GIT info of a workspace">
+ <sequential>
+- <exec executable="git" searchpath="true" outputproperty="gwt.gitrev">
+- <arg line="rev-parse --short HEAD"/>
+- </exec>
++ <!-- <exec executable="git" searchpath="true" outputproperty="gwt.gitrev"> -->
++ <!-- <arg line="rev-parse - -short HEAD"/> -->
++ <!-- </exec> -->
+ <!-- Generally, filtering requires a sentinel file so that changes to git rev will
+ be noticed as invalidating the previously-generated filter output. This property
+ names where such a sentinel lives; it is tested with <available/> and created
+ with <touch/> -->
+ <mkdir dir="${project.build}/sentinels"/>
+ <property name="filter.sentinel"
+- location="${project.build}/sentinels/gwt-${gwt.version}-git-${gwt.gitrev}"/>
++ location="${project.build}/sentinels/gwt-${gwt.version}"/>
+ </sequential>
+ </macrodef>
+