summaryrefslogtreecommitdiff
path: root/dev-java/eclipse-ecj
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-08 02:07:29 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-08 02:07:29 +0000
commit494168b06b81a32b889c3cb1f721f925d0a6824f (patch)
tree0ec763ffa61af808a83f365fb6680258d2e28a50 /dev-java/eclipse-ecj
parent2198f8593ae0312add1bdccb49edfcb935e5f8a6 (diff)
gentoo auto-resync : 08:12:2024 - 02:07:28
Diffstat (limited to 'dev-java/eclipse-ecj')
-rw-r--r--dev-java/eclipse-ecj/Manifest2
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-4.34.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/eclipse-ecj/Manifest b/dev-java/eclipse-ecj/Manifest
index ae8d2893257b..d7eb748b3114 100644
--- a/dev-java/eclipse-ecj/Manifest
+++ b/dev-java/eclipse-ecj/Manifest
@@ -12,6 +12,7 @@ DIST ecjsrc-4.30.jar 2330181 BLAKE2B 7f3ba7f8dbfcaea9f8bbcdb8161ae8f164e2bf3469c
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
EBUILD eclipse-ecj-4.20.ebuild 1586 BLAKE2B 4a406a5afc6fd37ec9ba5a85b2c96c31f298909e39cdbdec36334715a164b8a0afcafc079bbc5a0e86fc9fca960f2bb720d9139a07e917d924e1eea0eda84f14 SHA512 b292d5434ddb2f869ad664fab1b83cd9a92b2e5497ce21def5de33168238dd69fe46bf5a976f9195c67ed5de7bffcd3163e439c0afc9c4f3ea29b02dc9c5205c
EBUILD eclipse-ecj-4.26-r2.ebuild 1815 BLAKE2B 30ae45173d751a21946399256a77cc689b51b8b63e10fc0d54c71194bd35d6463a5f8705eb5d1db2c33aa1ca185583b982872cd7263d603c3a1e6bd3785ee5a3 SHA512 fbc12e64919bd7b18fc81e8beacec04c2c1f172a64e120a371699f82e92cc294845d98c83386d0912e99daead3988e7d59d6f100ac9d66e823d4db489e2b8bfc
EBUILD eclipse-ecj-4.27-r1.ebuild 1831 BLAKE2B 2ec6beff8e7a0b793144a1b2e0f48837b6ed5243207ef59ca83927fce94da556aaba146eea2ce7c92d51fd7a2beeec562278ef503463a31188df0a90e91e3542 SHA512 0a8b3c30686e045c11f1cf139cb80c6497dc617c38404b77e9a70ce102d1a7aedc8dde0a1482dab5b4faf98c87eadb7a7ec2fc1432887e2e405084555b96efe7
@@ -19,4 +20,5 @@ EBUILD eclipse-ecj-4.30-r1.ebuild 2289 BLAKE2B e6e134de6a204e9025877cd8823e2108e
EBUILD eclipse-ecj-4.31.ebuild 2092 BLAKE2B a5221fcd5199c791686c15261156140b93c915183e66147cbbf40b171a7deaf01cb49eb308fef8256fcce61897d2d45e1a0b9f2eba4dc89501f87a6bfd6bfac2 SHA512 6cc2bc6cf6e538f9cfee5d50108a6dbfbf621a787ce46afd35fa9fe863b350bcf6d3068570ed8af44f25cfde5d9154e031c675c022a83100cd7b34f2969d107b
EBUILD eclipse-ecj-4.32.ebuild 2022 BLAKE2B f6b46490d34cd4ff34f051c3d8c5513cde66225c9828e39c8acbfb28b58e5c7d87517f3e48578ac9b3c342da72657c58b9957228ee5ff65ca74b373ece3e8905 SHA512 081a619ab3cc0337175eeb97c7e5629be5c678dcfc79bb6af2a19c48f2c5a60957b1b8550a562006f38864a91c2d8586a0497cbe125743e02355f2afd7bb8abe
EBUILD eclipse-ecj-4.33.ebuild 1668 BLAKE2B a89013df97fe0ffdab083c08c7e9b7ab9ef7f04cb4fe5a9a7423511f9fababe9d9b39caee13ac198fac6d10f006bcb09cc8a791b52ecd6dcc1c87824caddc65d SHA512 fbf6fd8266ab783396e5cc2ac08d8020f682e75c58cad514e6ac72ebe5990284119172586b0ab385c09f5639a40e63654110ccac188d467d0d6f8b02d105e923
+EBUILD eclipse-ecj-4.34.ebuild 2223 BLAKE2B 980e5d375ff45d5d7f087017ba775b7a35bc4c900e1247f2ae8be279e23e6d0fc80b680524ef2cc36a695015f64366db09a3a611ef849895ab3a7de43874faf3 SHA512 50025d20184eff1f42f3d7e91d06d3f7eed2fa3313089a5b0a4e4c5dd37d93cb638330c23dc7d783e5aaea924f75859f131c9a2a5da8b31999ab5d6b25a12279
MISC metadata.xml 637 BLAKE2B fd8214d9377a8a4101b3fd5041e17fbed9c6f5ffc8586b328db92120fc780c16d4b1152d4137a2e5554f77f60e9fe24ea3d133fc3469a4e78da7e84244bcb951 SHA512 0a0f6d8bcac2bef3a74e6328a65ecab490fcd437e8107fd1087d17ca158da29d1044d9e06d05e2781e97df88e6aec30db185c97bb9b2bdbd9b257332ce0232e0
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.34.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.34.ebuild
new file mode 100644
index 000000000000..40075b629d91
--- /dev/null
+++ b/dev-java/eclipse-ecj/eclipse-ecj-4.34.ebuild
@@ -0,0 +1,67 @@
+# 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
+}