commit: cc67cd13dc32e350a03f875ce56dcd7b4e84510e
Author: Wolfgang E. Sanyer gmail com>
AuthorDate: Thu Apr 1 20:51:37 2021 +
Commit: Miroslav Šulc gentoo org>
CommitDate: Fri Jun 11 09:51:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc67cd13
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 gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20222
Signed-off-by: Miroslav Šulc gentoo.org>
dev-java/gwt/Manifest | 2 +
.../gwt/files/gwt-2.9.0-jsinterop-classpath.patch | 20 +
.../gwt/files/gwt-2.9.0-remove-git-usage.patch | 26 ++
dev-java/gwt/gwt-2.9.0.ebuild | 96 ++
4 files changed, 144 insertions(+)
diff --git a/dev-java/gwt/Manifest b/dev-java/gwt/Manifest
index 45f07b6b71d..6a0f247896b 100644
--- a/dev-java/gwt/Manifest
+++ b/dev-java/gwt/Manifest
@@ -1,2 +1,4 @@
DIST gwt-2.8.2.zip 22017212 BLAKE2B
b112df08885e607c975f9585d6b83e2a12894e974850ada052918e4b946b11bfc8d9cf9d71f4e684121d9d16714885be549eed44d77a119e695c2b50cd6bc6c3
SHA512
ac16311c3b00b36d421eef914e73ad8dea01f022c87fc7ed722fdfee8eed391f1987cc1c34522978afc542cdb90eee791efcdcc725d9a395ab468e458b708074
+DIST gwt-2.9.0.tar.gz 13081965 BLAKE2B
8b18e4cad6df9b1a2336bdf537a26def021ccd950299a6064e9a7328d0161c093f56284cce7b8a0e0a0c72b0dc9604e5e5527332d1878afd19a3c95eed5129a7
SHA512
424484a42f28387734a89a3a12b48716031e194e3a712a5e7cbdb66f77ab68e72ff8751f70a4048f4b9f35d92948c285490fd8e23c34d5c5e5558fee33952bf5
+DIST gwt-tools-194772ed94078802d8030136796de344eb1fdbe1.tar.gz 575902138
BLAKE2B
518ed1752cc82a527521525e181db712a641d36db203f511bdcc5206de314aa1eb693415b690fc42f38c9beabaffc484ad6ec3444e3cd8b4f2a3fa2ab9505f11
SHA512
0365d664b4b14ec833c922c8fab5df269e69ac8f1526315810f4922132439b880ee15e7e8b80e8b505469a374ba4a47998c7ed07b5f53227d50100247fade82b
DIST gwt-tools-f42d2729a3a8e6ba9b9aec069957bce5dc0f6f6d.zip 577453206 BLAKE2B
83a3824d6418727876b4708ed44ab1f58513a5b39d4e48f9bf21290ca358f76ec2ccd98ce2aee76afe7f621fb1f703bf459b8c3d6a3d4f32d4be807bc723513e
SHA512
f4f033c972d955da40258020a9fb84ae90f30b7afeb1ae8044cf00f4f5f45200129bf84e2f69660a4eb80bb60f3a5a1d3c5af69fe9e07e0b985de0e708ca933f
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 000..5e69341210c
--- /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 @@
+
+
++
+
+
+
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 000..9ebbafb9909
--- /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 @@
+
+
+
+-
+-
+-
++
++
++
+
+
+
++location="${project.build}/sentinels/gwt-${gwt.version}"/>
+
+
+
diff --git a/dev-java/gwt/gwt-2.9.0.ebuild b/dev-java/gwt/gwt-2.9.0.ebuild
new file mode 100644
index 000..b3a3173ebca
--- /dev/null
+++ b/dev-java/gwt/gwt-2.9.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 java-utils-2
+
+GWT_TOOLS_COMMIT="194772ed94078802d8030136796de344eb1fdbe1"
+GWT_TOOLS_PN="tools"
+
+DESCRIPTION="Google Web Toolkit library"
+HOMEPAGE="http://www.gwtproject.org/;
+SRC_URI="https://github.com/gwtproject/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz
+
https://github.com/gwtproject/${GWT_TOOLS_PN}/archive/${GWT_TOOLS_COMMIT}.tar.gz
-> ${PN}-${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}.tar.gz"
+# While the test suite does compile and does execute with