commit:     dcc0bd06b7a073696decb92f387f53e10c790a92
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Oct 25 14:42:43 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 07:23:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc0bd06

dev-java/icu4j: adjust launcher #942131

The ebuild was installing a wrong (with tests) or even no (without
tests) launcher. The install phase of java-pkg-simple.eclass gets
confused when there are more than one jar files.

Closes: https://bugs.gentoo.org/942131
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: 
https://github.com/gentoo/gentoo/pull/38836/commits/f6e074c87572a2eec4973fd27c674d0a0c5ba6c7
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/icu4j/{icu4j-76.1.ebuild => icu4j-76.1-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-java/icu4j/icu4j-76.1.ebuild 
b/dev-java/icu4j/icu4j-76.1-r1.ebuild
similarity index 99%
rename from dev-java/icu4j/icu4j-76.1.ebuild
rename to dev-java/icu4j/icu4j-76.1-r1.ebuild
index f643f2f3ef08..0dc67c7d8a23 100644
--- a/dev-java/icu4j/icu4j-76.1.ebuild
+++ b/dev-java/icu4j/icu4j-76.1-r1.ebuild
@@ -195,6 +195,7 @@ src_test () {
 
 src_install() {
        JAVA_JAR_FILENAME="icu4j.jar"
+       JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
        java-pkg-simple_src_install
        java-pkg_dojar "icu4j-charset.jar"
        java-pkg_dojar "icu4j-localespi.jar"

Reply via email to