summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/eclipse-ecj/Manifest7
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-4.27-r1.ebuild68
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-4.30-r1.ebuild81
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-4.31.ebuild75
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-4.32.ebuild73
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-4.34.ebuild67
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-4.37.ebuild (renamed from dev-java/eclipse-ecj/eclipse-ecj-4.35.ebuild)31
-rw-r--r--dev-java/eclipse-ecj/files/ecj-4.277
-rw-r--r--dev-java/eclipse-ecj/files/ecj-4.307
-rw-r--r--dev-java/eclipse-ecj/files/ecj-4.317
-rw-r--r--dev-java/eclipse-ecj/files/ecj-4.327
-rw-r--r--dev-java/eclipse-ecj/files/eclipse-ecj-4.31-java21.patch12
-rw-r--r--dev-java/eclipse-jdt-annotation/Manifest1
-rw-r--r--dev-java/eclipse-jdt-annotation/eclipse-jdt-annotation-4.37.ebuild22
-rw-r--r--dev-java/openjdk/openjdk-25_p36.ebuild2
-rw-r--r--dev-java/openjfx/openjfx-11.0.11_p1-r4.ebuild232
-rw-r--r--dev-java/openjfx/openjfx-11.0.11_p1-r5.ebuild2
17 files changed, 36 insertions, 665 deletions
diff --git a/dev-java/eclipse-ecj/Manifest b/dev-java/eclipse-ecj/Manifest
index 92c37762e776..3436471d7570 100644
--- a/dev-java/eclipse-ecj/Manifest
+++ b/dev-java/eclipse-ecj/Manifest
@@ -1,9 +1,4 @@
DIST ecjsrc-4.20.jar 2255761 BLAKE2B 42e16e1bd3d90b8d9bf3e57f83b3e06f2857a20db3e3ac065ce39e95fc47e75de33186115c36dede691bc37fd55fa8123f2220d13f3d5819404f5de702b10fd2 SHA512 fb27c0a37ed5cdfdcdbc904d067bfdd0477ddfd873a6cd8477d3b473734fd0e37329f0e9ab85dc5f89994d68d9886a488bd88568bc00e25f54c1a5a468dc1384
DIST ecjsrc-4.26.jar 2347137 BLAKE2B 22e627178fe35f34cee7ba63e740ef2699bca691d460c81e97c2f18c197042cc0d901eea988331b3fa2ac7daa87daef9ee90bc1e62901935a6f2f3fe5f1e8534 SHA512 e53534160e6a2cdc8c5db7caec617d5671eb59954a86b9dcb36a514024c3205167c8416560796ce61d1aa188f551660f3bfd8eab46fefe9111c8f0b7a977342f
-DIST ecjsrc-4.27.jar 2301849 BLAKE2B 77f35d1a9f36086e8515dc9437894b84c88fd440bd48b5248b141191bc04babfcf1af288643ed21e41cb054bdcfa94125a7eb139cbec9ead97e366c65c1dbe95 SHA512 689fe9ed2327f1d0e89fd13c3543369e0e13d7f15f521fc7667352e7f8d7f0b48107bc180ac16cfad375449cc2b61de74bc8ca56c95cab9ef172260a9d3a530b
-DIST ecjsrc-4.30.jar 2330181 BLAKE2B 7f3ba7f8dbfcaea9f8bbcdb8161ae8f164e2bf3469cf2242b6b7df5d375c98322f810b9c6de7209f622740a2cc61704915d255559bd376bf158b114e30a17d40 SHA512 ddc1569082fad0dcf91a9d41d5ef5f2f694f007e1378af5f5f28893aeb91e99acef91af59c762010eba071fa8b8b8a9d367b08e23f91b8c73ceacc6e6150bb23
-DIST ecjsrc-4.31.jar 2347993 BLAKE2B edb1a525646fc3152661a6583ab5c50a1dd7f06dac0b7cdae0913843e0ed6ef2c9862889351557857140c79c479505aeca154958b649d05ace6a5b83f6ccac45 SHA512 3e72ae5e5209dd80f7b3f208aeb0a6eece28ab416c56eedd590c67724c6a905b39b8f27a41394e3cf6a96acc16a9c7dd91d12df9651bc289839648036ac2d430
-DIST ecjsrc-4.32.jar 2357386 BLAKE2B f6c440b13eb3cd014f317d9232a7db713621b3bcb902bc385561fc4ce68711c9fde021920b535fafb4db7e93d515e23c9d57ac3506539915e1ba33ce37a4570a SHA512 e45cfe0df73f5ec83efeeb12785c2efab9977e927de8766507668f104fea4fefeaa59695988d977734fee4ccd43da43da798976177bb3b15a87ca2966e448d9e
DIST ecjsrc-4.33.jar 2361539 BLAKE2B 1bfd2f7d8e9f79bceebec337ddff651a42d133015be8749076d6a67f60d7fbf8e56e658b1535f52fe7f736b6e59eff6187ee94c6c260b399145c1018ae388e35 SHA512 48823264ff18b666b6d350c58e8b3b7d0429d2c5de061cee4c88894da2d44049bf0fcf13ca20d848797ef0591fccd028ac687ec072b8eb02deb5f57b7e560677
-DIST ecjsrc-4.34.jar 2369991 BLAKE2B 61ab2deff1753864b1b69eafb7ed99134a15d0e467ad91bc9ca8a74ca607ae2f3831b8e5af11fa2a584232302b7af510d043445e86bd327e09153666e8f0103e SHA512 6bf4f7c1630d81901ff8ed2345371cadcaf7f62c4edc7ade3211c0c254a2099c4e9506563c27c49be966765899f447fc280ff4ca411e636e269fca0f687a502c
-DIST ecjsrc-4.35.jar 2365106 BLAKE2B 2f9f50e8b3e2744ed1ca01a9717502aeab431bba225b021d334a432f64c1cb13985462fc7df1dc8803ba55149f2fa28a8973767e511594add72973d4c5d9ab63 SHA512 4e78df003b446fbf4fd74f4e4e810fb529ada751858007519bd0341f9ef256dcd9ac193b1af5cf652de19839e347b45fbafcdb9babeee0b67c54a59fc6716617
+DIST ecjsrc-4.37.jar 2347788 BLAKE2B 2db81e4095277a3f4c4d38aaad29d327af2bd8ccf9f2ad1a5f32519c808877cb33934335a1c47d42717fe3695a2d1f8b0a5533e1f86ef6d2986cc2c380420a3c SHA512 ee1d000125b10cc9fd51fd2f880fc1d543a4e9bbe5e792d79b5cd6a8ccf7addeeb0c04c2e672d08d7bcee7fd67ea36a684455f732aa6703ec8b234c92d0841cb
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.27-r1.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.27-r1.ebuild
deleted file mode 100644
index 8a56bb6643e9..000000000000
--- a/dev-java/eclipse-ecj/eclipse-ecj-4.27-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-# 3.36.0 according to
-# https://github.com/eclipse-jdt/eclipse.jdt.core/blob/R4_30/org.eclipse.jdt.core.compiler.batch/pom.xml#L20
-MAVEN_ID="org.eclipse.jdt:org.eclipse.jdt.core.compiler.batch:3.33.0"
-
-inherit java-pkg-2 java-pkg-simple prefix
-
-DMF="R-${PV/_rc/RC}-202303020300"
-
-DESCRIPTION="Eclipse Compiler for Java"
-HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt"
-SRC_URI="https://archive.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV/_rc/RC}.jar"
-
-LICENSE="EPL-1.0"
-SLOT="4.27"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
-
-BDEPEND="app-arch/unzip"
-COMMON_DEP="app-eselect/eselect-java"
-# jdk-21 for https://bugs.gentoo.org/931195
-DEPEND="${COMMON_DEP}
- dev-java/ant:0
- >=virtual/jdk-21:*"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-11:*"
-
-HTML_DOCS=( about.html )
-
-JAVA_AUTOMATIC_MODULE_NAME="org.eclipse.jdt.core.compiler.batch"
-JAVA_CLASSPATH_EXTRA="ant"
-JAVA_JAR_FILENAME="ecj.jar"
-JAVA_LAUNCHER_FILENAME="ecj-${SLOT}"
-JAVA_MAIN_CLASS="org.eclipse.jdt.internal.compiler.batch.Main"
-JAVA_RESOURCE_DIRS="res"
-
-src_prepare() {
- java-pkg-2_src_prepare
-
- # Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
- rm META-INF/ECLIPSE_* || die
- mkdir "${JAVA_RESOURCE_DIRS}" || die
- find -type f \
- ! -name '*.java' \
- | xargs cp --parent -t "${JAVA_RESOURCE_DIRS}" || die
-}
-
-src_install() {
- java-pkg-simple_src_install
- insinto /usr/share/java-config-2/compiler
- doins "${FILESDIR}/ecj-${SLOT}"
- eprefixify "${ED}"/usr/share/java-config-2/compiler/ecj-${SLOT}
-}
-
-pkg_postinst() {
- einfo "To select between slots of ECJ..."
- einfo " # eselect ecj"
-
- eselect ecj update ecj-${SLOT}
-}
-
-pkg_postrm() {
- eselect ecj update
-}
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.30-r1.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.30-r1.ebuild
deleted file mode 100644
index fc58d48548c3..000000000000
--- a/dev-java/eclipse-ecj/eclipse-ecj-4.30-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-# 3.36.0 according to
-# https://github.com/eclipse-jdt/eclipse.jdt.core/blob/R4_30/org.eclipse.jdt.core.compiler.batch/pom.xml#L20
-MAVEN_ID="org.eclipse.jdt:org.eclipse.jdt.core.compiler.batch:3.36.0"
-
-inherit java-pkg-2 java-pkg-simple prefix
-
-DMF="R-${PV/_rc/RC}-202312010110"
-
-DESCRIPTION="Eclipse Compiler for Java"
-HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt"
-SRC_URI="https://archive.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV/_rc/RC}.jar"
-S="${WORKDIR}"
-
-LICENSE="EPL-1.0"
-SLOT="4.30"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
-
-BDEPEND="
- app-arch/unzip
- app-arch/zip
-"
-COMMON_DEP="app-eselect/eselect-java"
-# ElementsImpl9.java:206: error:
-# method does not override or implement a method from a supertype
-DEPEND="${COMMON_DEP}
- >=dev-java/ant-1.10.14:0
- >=virtual/jdk-21:*"
-# Parser.java:1095: error:
-# pattern matching in instanceof is not supported in -source 11
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-17:*"
-
-DOCS=( org/eclipse/jdt/core/README.md )
-
-JAVA_AUTOMATIC_MODULE_NAME="org.eclipse.jdt.core.compiler.batch"
-JAVA_CLASSPATH_EXTRA="ant"
-JAVA_JAR_FILENAME="ecj.jar"
-JAVA_LAUNCHER_FILENAME="ecj-${SLOT}"
-JAVA_MAIN_CLASS="org.eclipse.jdt.internal.compiler.batch.Main"
-JAVA_RESOURCE_DIRS="res"
-
-src_prepare() {
- java-pkg-2_src_prepare
-
- mkdir "${JAVA_RESOURCE_DIRS}" || die
- find -type f \
- ! -name '*.java' \
- | xargs cp --parent -t "${JAVA_RESOURCE_DIRS}" || die
-}
-
-src_compile() {
- java-pkg-simple_src_compile
- # Error: A JNI error has occurred, please check your installation and try again
- # Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
- zip -d ecj.jar "META-INF/ECLIPSE_.RSA" || die "Failed to remove ECLIPSE_.RSA"
- zip -d ecj.jar "META-INF/ECLIPSE_.SF" || die "Failed to remove ECLIPSE_.SF"
-}
-
-src_install() {
- java-pkg-simple_src_install
- insinto /usr/share/java-config-2/compiler
- doins "${FILESDIR}/ecj-${SLOT}"
- eprefixify "${ED}"/usr/share/java-config-2/compiler/ecj-${SLOT}
-}
-
-pkg_postinst() {
- einfo "To select between slots of ECJ..."
- einfo " # eselect ecj"
-
- eselect ecj update ecj-${SLOT}
-}
-
-pkg_postrm() {
- eselect ecj update
-}
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.31.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.31.ebuild
deleted file mode 100644
index 2313722e16b3..000000000000
--- a/dev-java/eclipse-ecj/eclipse-ecj-4.31.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-# 3.36.0 according to
-# https://github.com/eclipse-jdt/eclipse.jdt.core/blob/R4_30/org.eclipse.jdt.core.compiler.batch/pom.xml#L20
-MAVEN_ID="org.eclipse.jdt:org.eclipse.jdt.core.compiler.batch:3.37.0"
-
-inherit java-pkg-2 java-pkg-simple prefix
-
-DMF="R-${PV/_rc/RC}-202402290520"
-
-DESCRIPTION="Eclipse Compiler for Java"
-HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt"
-SRC_URI="https://download.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV/_rc/RC}.jar"
-S="${WORKDIR}"
-
-LICENSE="EPL-1.0"
-SLOT="4.31"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
-
-BDEPEND="app-arch/unzip"
-COMMON_DEP="app-eselect/eselect-java"
-# ElementsImpl9.java:206: error:
-# method does not override or implement a method from a supertype
-DEPEND="${COMMON_DEP}
- >=dev-java/ant-1.10.14:0
- >=virtual/jdk-21:*"
-# Parser.java:1095: error:
-# pattern matching in instanceof is not supported in -source 11
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-17:*"
-
-DOCS=( org/eclipse/jdt/core/README.md )
-PATCHES=( "${FILESDIR}/eclipse-ecj-4.31-java21.patch" )
-
-JAVA_AUTOMATIC_MODULE_NAME="org.eclipse.jdt.core.compiler.batch"
-JAVA_CLASSPATH_EXTRA="ant"
-JAVA_JAR_FILENAME="ecj.jar"
-JAVA_LAUNCHER_FILENAME="ecj-${SLOT}"
-JAVA_MAIN_CLASS="org.eclipse.jdt.internal.compiler.batch.Main"
-JAVA_RESOURCE_DIRS="res"
-
-src_prepare() {
- default #780585
- java-pkg-2_src_prepare
-
- # Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
- rm META-INF/ECLIPSE_* || die
-
- mkdir "${JAVA_RESOURCE_DIRS}" || die
- find -type f \
- ! -name '*.java' \
- | xargs cp --parent -t "${JAVA_RESOURCE_DIRS}" || die
-}
-
-src_install() {
- java-pkg-simple_src_install
- insinto /usr/share/java-config-2/compiler
- doins "${FILESDIR}/ecj-${SLOT}"
- eprefixify "${ED}"/usr/share/java-config-2/compiler/ecj-${SLOT}
-}
-
-pkg_postinst() {
- einfo "To select between slots of ECJ..."
- einfo " # eselect ecj"
-
- eselect ecj update ecj-${SLOT}
-}
-
-pkg_postrm() {
- eselect ecj update
-}
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.32.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.32.ebuild
deleted file mode 100644
index 9389baa0e3bf..000000000000
--- a/dev-java/eclipse-ecj/eclipse-ecj-4.32.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-# 3.38.0 according to
-# https://github.com/eclipse-jdt/eclipse.jdt.core/blob/R4_32/org.eclipse.jdt.core.compiler.batch/pom.xml#L20
-MAVEN_ID="org.eclipse.jdt:org.eclipse.jdt.core.compiler.batch:3.38.0"
-
-inherit java-pkg-2 java-pkg-simple prefix
-
-DMF="R-${PV/_rc/RC}-202406010610"
-
-DESCRIPTION="Eclipse Compiler for Java"
-HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt"
-SRC_URI="https://download.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV/_rc/RC}.jar"
-S="${WORKDIR}"
-
-LICENSE="EPL-1.0"
-SLOT="4.32"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
-
-BDEPEND="app-arch/unzip"
-COMMON_DEP="app-eselect/eselect-java"
-# ElementsImpl9.java:206: error:
-# method does not override or implement a method from a supertype
-DEPEND="${COMMON_DEP}
- >=dev-java/ant-1.10.14-r3:0
- >=virtual/jdk-21:*"
-# Parser.java:1095: error:
-# pattern matching in instanceof is not supported in -source 11
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-17:*"
-
-DOCS=( org/eclipse/jdt/core/README.md )
-
-JAVA_AUTOMATIC_MODULE_NAME="org.eclipse.jdt.core.compiler.batch"
-JAVA_CLASSPATH_EXTRA="ant"
-JAVA_JAR_FILENAME="ecj.jar"
-JAVA_LAUNCHER_FILENAME="ecj-${SLOT}"
-JAVA_MAIN_CLASS="org.eclipse.jdt.internal.compiler.batch.Main"
-JAVA_RESOURCE_DIRS="res"
-
-src_prepare() {
- java-pkg-2_src_prepare
-
- # Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
- rm META-INF/ECLIPSE_* || die
-
- mkdir "${JAVA_RESOURCE_DIRS}" || die
- find -type f \
- ! -name '*.java' \
- | xargs cp --parent -t "${JAVA_RESOURCE_DIRS}" || die
-}
-
-src_install() {
- java-pkg-simple_src_install
- insinto /usr/share/java-config-2/compiler
- doins "${FILESDIR}/ecj-${SLOT}"
- eprefixify "${ED}"/usr/share/java-config-2/compiler/ecj-${SLOT}
-}
-
-pkg_postinst() {
- einfo "To select between slots of ECJ..."
- einfo " # eselect ecj"
-
- eselect ecj update ecj-${SLOT}
-}
-
-pkg_postrm() {
- eselect ecj update
-}
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.34.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.34.ebuild
deleted file mode 100644
index 40075b629d91..000000000000
--- a/dev-java/eclipse-ecj/eclipse-ecj-4.34.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-# 3.38.0 according to
-# https://github.com/eclipse-jdt/eclipse.jdt.core/blob/R4_32/org.eclipse.jdt.core.compiler.batch/pom.xml#L20
-MAVEN_ID="org.eclipse.jdt:org.eclipse.jdt.core.compiler.batch:3.38.0"
-
-inherit java-pkg-2 java-pkg-simple
-
-DMF="R-${PV/_rc/RC}-202411201800"
-
-DESCRIPTION="Eclipse Compiler for Java"
-HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt"
-SRC_URI="https://download.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV/_rc/RC}.jar"
-S="${WORKDIR}"
-
-LICENSE="EPL-1.0"
-SLOT="4.34"
-# KEYWORDS="~amd64 ~arm64 ~ppc64" # Seems to depend on higher jdk which is not LTS
-
-BDEPEND="app-arch/unzip"
-
-# restrict to >=virtual/jdk-23:*
-# ./org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl9.java:347: error: cannot find symbol
-# public DocCommentKind getDocCommentKind(Element e) {
-# ^
-# symbol: class DocCommentKind
-# location: class ElementsImpl9
-DEPEND="
- >=dev-java/ant-1.10.15:0
- >=virtual/jdk-23:*
-"
-
-# restrict to >=virtual/jre-21:*
-# ./org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java:722:
-# error: unconditional patterns in instanceof are not supported in -source 17
-# return isRecord() && components() instanceof RecordComponentBinding [] components && components.length > 0;
-# ^
-# (use -source 21 or higher to enable unconditional patterns in instanceof)
-RDEPEND=">=virtual/jre-21:*"
-
-DOCS=( org/eclipse/jdt/core/README.md )
-
-JAVA_AUTOMATIC_MODULE_NAME="org.eclipse.jdt.core.compiler.batch"
-JAVA_CLASSPATH_EXTRA="ant"
-JAVA_JAR_FILENAME="ecj.jar"
-JAVA_LAUNCHER_FILENAME="ecj-${SLOT}"
-JAVA_MAIN_CLASS="org.eclipse.jdt.internal.compiler.batch.Main"
-JAVA_RESOURCE_DIRS="res"
-
-src_prepare() {
- java-pkg-2_src_prepare
-
- # Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
- rm META-INF/ECLIPSE_* || die
-
- mkdir "${JAVA_RESOURCE_DIRS}" || die
- find -type f \
- ! -name '*.java' \
- ! -name 'package.html' \
- ! -path '*/grammar/*' \
- ! -path '*/OSGI-INF/*' \
- | xargs cp --parent -t "${JAVA_RESOURCE_DIRS}" || die
-}
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.35.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.37.ebuild
index 695146aff2a9..72c59abb4a1f 100644
--- a/dev-java/eclipse-ecj/eclipse-ecj-4.35.ebuild
+++ b/dev-java/eclipse-ecj/eclipse-ecj-4.37.ebuild
@@ -4,13 +4,10 @@
EAPI=8
JAVA_PKG_IUSE="doc source"
-# 3.41.0 according to
-# https://github.com/eclipse-jdt/eclipse.jdt.core/blob/R4_35/org.eclipse.jdt.core.compiler.batch/pom.xml
-MAVEN_ID="org.eclipse.jdt:org.eclipse.jdt.core.compiler.batch:3.41.0"
inherit java-pkg-2 java-pkg-simple
-DMF="R-${PV/_rc/RC}-202502280140"
+DMF="R-${PV/_rc/RC}-202509050730"
DESCRIPTION="Eclipse Compiler for Java"
HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt"
@@ -18,32 +15,24 @@ SRC_URI="https://download.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${P
S="${WORKDIR}"
LICENSE="EPL-1.0"
-SLOT="4.35"
-# KEYWORDS="~amd64 ~arm64 ~ppc64" # Seems to depend on higher jdk which is not LTS
+SLOT="4.37"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
BDEPEND="app-arch/unzip"
-# restrict to >=virtual/jdk-23:*
-# ./org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl9.java:347: error: cannot find symbol
-# public DocCommentKind getDocCommentKind(Element e) {
-# ^
-# symbol: class DocCommentKind
-# location: class ElementsImpl9
DEPEND="
>=dev-java/ant-1.10.15:0
- >=virtual/jdk-23:*
+ >=virtual/jdk-21:*
"
-# restrict to >=virtual/jre-21:*
-# ./org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java:722:
-# error: unconditional patterns in instanceof are not supported in -source 17
-# return isRecord() && components() instanceof RecordComponentBinding [] components && components.length > 0;
-# ^
-# (use -source 21 or higher to enable unconditional patterns in instanceof)
-RDEPEND=">=virtual/jre-21:*"
+# ./org/eclipse/jdt/internal/compiler/env/ICompilationUnit.java:64:
+# error: pattern matching in instanceof is not supported in -source 11
+# if (environment.nameEnvironment instanceof IModuleAwareNameEnvironment modEnv) {
+# ^
+# (use -source 16 or higher to enable pattern matching in instanceof)
+RDEPEND=">=virtual/jre-17:*"
DOCS=( org/eclipse/jdt/core/README.md )
-
JAVA_AUTOMATIC_MODULE_NAME="org.eclipse.jdt.core.compiler.batch"
JAVA_CLASSPATH_EXTRA="ant"
JAVA_JAR_FILENAME="ecj.jar"
diff --git a/dev-java/eclipse-ecj/files/ecj-4.27 b/dev-java/eclipse-ecj/files/ecj-4.27
deleted file mode 100644
index 29fb3b51444e..000000000000
--- a/dev-java/eclipse-ecj/files/ecj-4.27
+++ /dev/null
@@ -1,7 +0,0 @@
-JAVAC="@GENTOO_PORTAGE_EPREFIX@/usr/bin/ecj-4.27"
-PACKAGE="=dev-java/eclipse-ecj-4.27*"
-SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 9 10 11 12 13 14 15 16 17 18 19"
-SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7 1.8 9 10 11 12 13 14 15 16 17 18 19"
-ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
-ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.27"
-GENERATION="2"
diff --git a/dev-java/eclipse-ecj/files/ecj-4.30 b/dev-java/eclipse-ecj/files/ecj-4.30
deleted file mode 100644
index 65b04403b711..000000000000
--- a/dev-java/eclipse-ecj/files/ecj-4.30
+++ /dev/null
@@ -1,7 +0,0 @@
-JAVAC="@GENTOO_PORTAGE_EPREFIX@/usr/bin/ecj-4.30"
-PACKAGE="=dev-java/ant-eclipse-ecj-4.30*"
-SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 9 10 11 12 13 14 15 16 17 18 19 20 21"
-SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7 1.8 9 10 11 12 13 14 15 16 17 18 19 20 21"
-ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
-ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.30,ant-eclipse-ecj-4.30"
-GENERATION="2"
diff --git a/dev-java/eclipse-ecj/files/ecj-4.31 b/dev-java/eclipse-ecj/files/ecj-4.31
deleted file mode 100644
index b5ed4e32a326..000000000000
--- a/dev-java/eclipse-ecj/files/ecj-4.31
+++ /dev/null
@@ -1,7 +0,0 @@
-JAVAC="@GENTOO_PORTAGE_EPREFIX@/usr/bin/ecj-4.31"
-PACKAGE="=dev-java/eclipse-ecj-4.31*"
-SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 9 10 11 12 13 14 15 16 17 18 19 20 21 22"
-SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7 1.8 9 10 11 12 13 14 15 16 17 18 19 20 21 22"
-ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
-ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.31"
-GENERATION="2"
diff --git a/dev-java/eclipse-ecj/files/ecj-4.32 b/dev-java/eclipse-ecj/files/ecj-4.32
deleted file mode 100644
index 8f4574ac16e1..000000000000
--- a/dev-java/eclipse-ecj/files/ecj-4.32
+++ /dev/null
@@ -1,7 +0,0 @@
-JAVAC="@GENTOO_PORTAGE_EPREFIX@/usr/bin/ecj-4.32"
-PACKAGE="=dev-java/eclipse-ecj-4.32*"
-SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 9 10 11 12 13 14 15 16 17 18 19 20 21 22"
-SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7 1.8 9 10 11 12 13 14 15 16 17 18 19 20 21 22"
-ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
-ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.32"
-GENERATION="2"
diff --git a/dev-java/eclipse-ecj/files/eclipse-ecj-4.31-java21.patch b/dev-java/eclipse-ecj/files/eclipse-ecj-4.31-java21.patch
deleted file mode 100644
index fc131777bcba..000000000000
--- a/dev-java/eclipse-ecj/files/eclipse-ecj-4.31-java21.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-# ./org/eclipse/jdt/internal/compiler/parser/Parser.java:4511: \
-# error: reference to StringTemplate is ambiguous
---- a/org/eclipse/jdt/internal/compiler/parser/Parser.java
-+++ b/org/eclipse/jdt/internal/compiler/parser/Parser.java
-@@ -56,6 +56,7 @@ import org.eclipse.jdt.core.compiler.InvalidInputException;
- import org.eclipse.jdt.internal.compiler.ASTVisitor;
- import org.eclipse.jdt.internal.compiler.CompilationResult;
- import org.eclipse.jdt.internal.compiler.ast.*;
-+import org.eclipse.jdt.internal.compiler.ast.StringTemplate;
- import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants;
- import org.eclipse.jdt.internal.compiler.codegen.ConstantPool;
- import org.eclipse.jdt.internal.compiler.env.ICompilationUnit;
diff --git a/dev-java/eclipse-jdt-annotation/Manifest b/dev-java/eclipse-jdt-annotation/Manifest
index 4bcbba688975..56c279b27277 100644
--- a/dev-java/eclipse-jdt-annotation/Manifest
+++ b/dev-java/eclipse-jdt-annotation/Manifest
@@ -1 +1,2 @@
DIST eclipse.jdt.core-4.30.tar.gz 13729445 BLAKE2B 9458ec92e3561d42505a602bb637c678c99b1997e2ba530048298d587cad9861066233e7f8e4b1cb22fd30ce50159aabc4e12295fb8231cc8840cdaac4f967a7 SHA512 b51c3ccc098b9100ad653baec7bbff108344ff0402de1cbb7e0f75d97c7b5b64a9746bc7b7f2faee8126bbb5a5f421fe7c54c428cc6403662626f4a566a9ead5
+DIST eclipse.jdt.core-4.37.tar.gz 15796506 BLAKE2B 3957ba341db6a61dda5557ff46caaea0ac9d728b0257024baa48f0445a922a9836c780a1b511f3e753063e7ec9d5da8f3883a99f0f29cb0fcf7cd342fd8b5ae4 SHA512 0f0445a3b37497d77956ab57f51f8402cb8df1e72b1ad561bfc3573d418a738444effdfb33de80eb19bae2a6a36fbf351c44c0ac9d247385f57d74e34c9aac22
diff --git a/dev-java/eclipse-jdt-annotation/eclipse-jdt-annotation-4.37.ebuild b/dev-java/eclipse-jdt-annotation/eclipse-jdt-annotation-4.37.ebuild
new file mode 100644
index 000000000000..0907e3ab72e6
--- /dev/null
+++ b/dev-java/eclipse-jdt-annotation/eclipse-jdt-annotation-4.37.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JDT Annotations for Enhanced Null Analysis"
+HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt"
+SRC_URI="https://github.com/eclipse-jdt/eclipse.jdt.core/archive//R${PV//./_}.tar.gz -> eclipse.jdt.core-${PV}.tar.gz"
+S="${WORKDIR}/eclipse.jdt.core-R${PV//./_}/org.eclipse.jdt.annotation"
+
+LICENSE="EPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.eclipse.jdt.annotation"
diff --git a/dev-java/openjdk/openjdk-25_p36.ebuild b/dev-java/openjdk/openjdk-25_p36.ebuild
index aaf3e18dfe5b..6e3005c3212f 100644
--- a/dev-java/openjdk/openjdk-25_p36.ebuild
+++ b/dev-java/openjdk/openjdk-25_p36.ebuild
@@ -71,7 +71,7 @@ S="${WORKDIR}/${JDK_REPO}-jdk-${MY_PV//+/-}"
LICENSE="GPL-2-with-classpath-exception"
SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
IUSE="alsa big-endian cups debug doc examples headless-awt javafx +jbootstrap selinux source +system-bootstrap systemtap"
diff --git a/dev-java/openjfx/openjfx-11.0.11_p1-r4.ebuild b/dev-java/openjfx/openjfx-11.0.11_p1-r4.ebuild
deleted file mode 100644
index fb907485f3f0..000000000000
--- a/dev-java/openjfx/openjfx-11.0.11_p1-r4.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 2019-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="${PV/_p/+}"
-SLOT="${MY_PV%%[.+]*}"
-EGRADLE_VER="4.10.3"
-
-inherit flag-o-matic java-pkg-2 multiprocessing toolchain-funcs
-
-DESCRIPTION="Java OpenJFX client application platform"
-HOMEPAGE="https://openjfx.io"
-
-SRC_URI="
- https://hg.openjdk.java.net/${PN}/${SLOT}-dev/rt/archive/${MY_PV}.tar.bz2 -> ${P}.tar.bz2
- https://downloads.gradle.org/distributions/gradle-${EGRADLE_VER}-bin.zip
- https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/7.1.0/lucene-sandbox-7.1.0.jar
- https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-grouping/7.1.0/lucene-grouping-7.1.0.jar
- https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queryparser/7.1.0/lucene-queryparser-7.1.0.jar
- https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queries/7.1.0/lucene-queries-7.1.0.jar
- https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-core/7.1.0/lucene-core-7.1.0.jar
- https://repo.maven.apache.org/maven2/org/antlr/gunit/3.5.2/gunit-3.5.2.jar
- https://repo1.maven.org/maven2/org/antlr/antlr4/4.7.2/antlr4-4.7.2-complete.jar
- https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.jar
-"
-
-S="${WORKDIR}/rt-${MY_PV}"
-
-LICENSE="GPL-2-with-classpath-exception"
-KEYWORDS="-* ~amd64 ~ppc64"
-IUSE="cpu_flags_x86_sse2 debug doc source +media"
-REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )"
-
-RDEPEND="
- app-accessibility/at-spi2-core
- dev-java/swt:4.10[cairo,opengl]
- dev-libs/glib:2
- dev-libs/libxml2:2=
- dev-libs/libxslt
- media-libs/freetype:2
- media-libs/fontconfig:1.0
- media-libs/libjpeg-turbo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:2
- x11-libs/gtk+:3
- x11-libs/cairo[glib]
- x11-libs/libX11
- x11-libs/libXtst
- x11-libs/libXxf86vm
- x11-libs/pango
- virtual/opengl
- doc? ( dev-java/openjdk:${SLOT}[doc] )
- !doc? (
- || (
- dev-java/openjdk-bin:${SLOT}
- dev-java/openjdk:${SLOT}
- )
- )
-"
-
-DEPEND="${RDEPEND}
- app-arch/unzip
- app-arch/zip
- dev-java/ant:0
- dev-java/antlr:0
- dev-java/antlr:3.5
- dev-java/hamcrest-core:0
- dev-java/stringtemplate:0
- virtual/ttf-fonts
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/11/disable-buildSrc-tests.patch
- "${FILESDIR}"/11/glibc-compatibility.patch
- "${FILESDIR}"/11/respect-user-cflags-11.0.11.patch
- "${FILESDIR}"/11/use-system-swt-jar.patch
- "${FILESDIR}"/11/wno-error-11.0.11.patch
- "${FILESDIR}"/11/don-t-force-msse-11.0.11.patch
- "${FILESDIR}"/11/disable-architecture-verification.patch
- "${FILESDIR}"/11/gstreamer-CVE-2021-3522.patch
- "${FILESDIR}"/11/ffmpeg5.patch
- "${FILESDIR}"/11/respect-cc.patch
- "${FILESDIR}"/11/strip-blank-elements-flags.patch
- "${FILESDIR}"/11/missing-casts.patch
-)
-
-egradle() {
- local GRADLE_HOME="${WORKDIR}/gradle-${EGRADLE_VER}"
- local gradle="${GRADLE_HOME}/bin/gradle"
- local gradle_args=(
- --info
- --stacktrace
- --no-build-cache
- --no-daemon
- --offline
- --gradle-user-home "${T}/gradle_user_home"
- --project-cache-dir "${T}/gradle_project_cache"
- #--debug
- )
-
- export GRADLE_HOME
-
- # FIXME: build.gradle believes $ANT_HOME/bin/ant shoud exist
- unset ANT_HOME
-
- einfo "gradle "${gradle_args[@]}" ${@}"
- # TERM needed, otherwise gradle may fail on terms it does not know about
- TERM="xterm" "${gradle}" "${gradle_args[@]}" ${@} || die "gradle failed"
-}
-
-pkg_setup() {
- JAVA_PKG_WANT_BUILD_VM="openjdk-${SLOT} openjdk-bin-${SLOT}"
- JAVA_PKG_WANT_SOURCE="${SLOT}"
- JAVA_PKG_WANT_TARGET="${SLOT}"
-
- # The nastiness below is necessary while the gentoo-vm USE flag is
- # masked. First we call java-pkg-2_pkg_setup if it looks like the
- # flag was unmasked against one of the possible build VMs. If not,
- # we try finding one of them in their expected locations. This would
- # have been slightly less messy if openjdk-bin had been installed to
- # /opt/${PN}-${SLOT} or if there was a mechanism to install a VM env
- # file but disable it so that it would not normally be selectable.
-
- local vm
- for vm in ${JAVA_PKG_WANT_BUILD_VM}; do
- if [[ -d ${EPREFIX}/usr/lib/jvm/${vm} ]]; then
- java-pkg-2_pkg_setup
- return
- fi
- done
-
- if has_version -b dev-java/openjdk:${SLOT}; then
- export JAVA_HOME=${EPREFIX}/usr/$(get_libdir)/openjdk-${SLOT}
- export JDK_HOME="${JAVA_HOME}"
- export ANT_RESPECT_JAVA_HOME=true
- else
- if [[ ${MERGE_TYPE} != "binary" ]]; then
- JDK_HOME=$(best_version -b dev-java/openjdk-bin:${SLOT})
- [[ -n ${JDK_HOME} ]] || die "Build VM not found!"
- JDK_HOME=${JDK_HOME#*/}
- JDK_HOME=${EPREFIX}/opt/${JDK_HOME%-r*}
- export JDK_HOME
- export JAVA_HOME="${JDK_HOME}"
- export ANT_RESPECT_JAVA_HOME=true
- fi
- fi
-}
-
-src_unpack() {
- unpack "${P}.tar.bz2"
- unpack "gradle-${EGRADLE_VER}-bin.zip"
-
- mkdir "${T}/jars" || die
-
- local line jar
- for line in ${SRC_URI}; do
- if [[ ${line} =~ (http|https)://[a-zA-Z0-9.-_]*/(maven2|m2|eclipse)/(.*[.]jar)$ ]]; then
- jar=$(basename "${BASH_REMATCH[-1]}")
- cp -v "${DISTDIR}/${jar}" "${T}/jars/" || die
- fi
- done
-}
-
-src_prepare() {
- default
-
- local d="${T}/jars"
-
- java-pkg_jar-from --build-only --with-dependencies --into "${d}" antlr
- java-pkg_jar-from --build-only --with-dependencies --into "${d}" antlr-3.5
- java-pkg_jar-from --build-only --with-dependencies --into "${d}" stringtemplate
- java-pkg_jar-from --build-only --with-dependencies --into "${d}" hamcrest-core
-
- sed -i "s#__gentoo_swt_jar__#$(java-pkg_getjars swt-4.10)#" "${S}"/build.gradle || die
-}
-
-src_configure() {
- append-flags -Wno-error -fcommon
- # This package is ridiculously brittle and fails when building e.g.
- # bundled gstreamer with LTO.
- filter-lto
- tc-export AR CC CXX
-
- # FIXME: still calls pkg-config etc by name without chost prefix
- # FIXME: should we enable webkit? doubt so
-
- # build is very sensitive to doc presence, take extra steps
- if use doc; then
- local jdk_doc
- if has_version -b dev-java/openjdk:${SLOT}[doc]; then
- jdk_doc="${EPREFIX}/usr/share/doc/openjdk-${SLOT}/html/api"
- fi
- [[ -r ${jdk_doc}/element-list ]] || die "JDK Docs not found, terminating build early"
- fi
-
- cat <<- _EOF_ > "${S}"/gradle.properties
- COMPILE_TARGETS = linux
- COMPILE_WEBKIT = false
- COMPILE_MEDIA = $(usex media true false)
- JDK_DOCS = https://docs.oracle.com/en/java/javase/${SLOT}/docs/api
- JDK_DOCS_LINK = $(usex doc "${jdk_doc}" "")
- BUILD_LIBAV_STUBS = false
- GRADLE_VERSION_CHECK = false
- LINT = none
- CONF = $(usex debug DebugNative Release)
- NUM_COMPILE_THREADS = $(makeopts_jobs)
- JFX_DEPS_URL = ${T}/jars
- COMPANY_NAME = "Gentoo"
- _EOF_
-}
-
-src_compile() {
- egradle zips $(usex doc "" "--exclude-task javadoc")
-}
-
-src_install() {
- if ! use source ; then
- rm -v build/sdk/lib/src.zip || die
- fi
-
- insinto "/usr/$(get_libdir)/${PN}-${SLOT}"
- doins -r build/sdk/.
- doins build/javafx-exports.zip
-
- if use doc; then
- docinto html
- dodoc -r build/javadoc/.
- dosym ../../../usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}"
- fi
-}
diff --git a/dev-java/openjfx/openjfx-11.0.11_p1-r5.ebuild b/dev-java/openjfx/openjfx-11.0.11_p1-r5.ebuild
index 5d1ea0666f87..1186e000724a 100644
--- a/dev-java/openjfx/openjfx-11.0.11_p1-r5.ebuild
+++ b/dev-java/openjfx/openjfx-11.0.11_p1-r5.ebuild
@@ -4,7 +4,6 @@
EAPI=8
MY_PV="${PV/_p/+}"
-SLOT="${MY_PV%%[.+]*}"
EGRADLE_VER="4.10.3"
inherit flag-o-matic java-pkg-2 multiprocessing toolchain-funcs
@@ -28,6 +27,7 @@ SRC_URI="
S="${WORKDIR}/rt-${MY_PV}"
LICENSE="GPL-2-with-classpath-exception"
+SLOT="${MY_PV%%[.+]*}"
KEYWORDS="-* ~amd64 ~ppc64"
IUSE="cpu_flags_x86_sse2 debug doc source +media"
REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )"