summaryrefslogtreecommitdiff
path: root/dev-java/eclipse-ecj
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-21 12:11:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-21 12:11:53 +0100
commit1fd1215c62ee14dc2e94fa04d6e3622391c9ab57 (patch)
tree909630a900b1ac6b180d8af2e2345a171417d59f /dev-java/eclipse-ecj
parentd60aa36cd97fb2193f756b45820d7c073a49229d (diff)
gentoo auto-resync : 21:09:2024 - 12:11:53
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.33.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/eclipse-ecj/Manifest b/dev-java/eclipse-ecj/Manifest
index 92e0c6f738a2..54e1e9f35943 100644
--- a/dev-java/eclipse-ecj/Manifest
+++ b/dev-java/eclipse-ecj/Manifest
@@ -11,10 +11,12 @@ DIST ecjsrc-4.27.jar 2301849 BLAKE2B 77f35d1a9f36086e8515dc9437894b84c88fd440bd4
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
EBUILD eclipse-ecj-4.20.ebuild 1595 BLAKE2B 2efe489ae3c07bd9c50963b8881814bf491ee69971d1c9d09b54dc5831d15fba65bc077980fb1524ef01d37a0fb828450240aae1cf35b1c108036739b544f349 SHA512 a5ea5ff66471579777aee6d18ad18ced7e6f46e127e1980f885456204d16dd86814e24122dccf18696b0831f4e43407dbfa6623fc4eeda0d9e3d7cfab21e7ea2
EBUILD eclipse-ecj-4.26-r2.ebuild 1824 BLAKE2B d68cc5bbb305ce659e344c98c2444d5feea4e26e491cef85781251c5a424704bbc3085f97d26d4426fc0433195f05642a36abb8e9631fac40ebb26a3e06928cc SHA512 22c0cdfb2e9e436a34798f9c326dd090a8f3910fe6402eff93fb9e229ec16dbea20ab9eae6bb5125d6e7576f7b36f632dac53d57bca5244b1343722c5295029d
EBUILD eclipse-ecj-4.27-r1.ebuild 1836 BLAKE2B 2e4d4cef9806ed0b8962e5f6cbee8848c1032347c1c01e30ac9b6ddbbac1547d4b469219afa4c2ca07d3f8fec6a910e7b5571d2e836237d9e75c5bfb9e9c9e35 SHA512 94fda82c7141fb05b492ca4fcbd858fb7d7733d0d1ac0743d33af9fda1809882e919ff8d8930f9ccddf069a2bd84704ae825e2c3e8b1abd1f73f34fdd63e5fcd
EBUILD eclipse-ecj-4.30-r1.ebuild 2294 BLAKE2B f1974530ee095394f295ccd3b689f5e4ada77731fdbf43ea433e8d3220c271adb76737adcbdbadc674a6e494cae8c8751fa5af25cf77be3bcca5b9c2de94c99a SHA512 36f393df6bc75b068bbdfaa6f1483edb923edfa48cf6c25678ab436b1bbc30eab27f5c34d8356902301f4a987c13982cf62803ac8f1f33e09a438d82beb3fafa
EBUILD eclipse-ecj-4.31.ebuild 2097 BLAKE2B 48fe663a538258635bbab05cac9edf9f8c8b79518717894d62a74e56a05680beadfaca450446bdab70c7d43622279fb8dcbfa8bb2609627f70489578e6043815 SHA512 362cf8f5a6ee22c30a0e743d5e1afaf756dc3a45b08dbf4d23b2fcad45d98d5bf39eaad65e22799f312f3aea61f5a4c35516b93301bb8b21c51a5c04e62e3fc7
EBUILD eclipse-ecj-4.32.ebuild 2027 BLAKE2B 14e395e9102417b3d251a74301e2c54259065367d55a5814f36f0b297ed570348d72f2644696784b0e86c0e5f113387e861d7498b60acf4cf6e63d0154c2f2c8 SHA512 0df4eeb359a1de58a635a53eb5699bc19d03ead5c4d7c11d1bbeeb4d18e2308fc807df925a11c49e440bbf9b8c5e3285ca57b247d4922e252a56c4908822c54d
+EBUILD eclipse-ecj-4.33.ebuild 1673 BLAKE2B 4ad9bc1302eaa01a8f358fcbc611b705e202c235f1adeb9872ef51752ed96f1a0d4c41c45c3363081444a52401c89f522696b836db703a36771981b21207cc06 SHA512 aeb8f948e3076ab939b48a1be29e7389e1c9a8a232dedf41659e94be0d3f5c998e6862e3e130f27c2bf53f45070e72b8d38e9bff7a93af92f06ea8037bab734e
MISC metadata.xml 637 BLAKE2B fd8214d9377a8a4101b3fd5041e17fbed9c6f5ffc8586b328db92120fc780c16d4b1152d4137a2e5554f77f60e9fe24ea3d133fc3469a4e78da7e84244bcb951 SHA512 0a0f6d8bcac2bef3a74e6328a65ecab490fcd437e8107fd1087d17ca158da29d1044d9e06d05e2781e97df88e6aec30db185c97bb9b2bdbd9b257332ce0232e0
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.33.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.33.ebuild
new file mode 100644
index 000000000000..3aec5546ba39
--- /dev/null
+++ b/dev-java/eclipse-ecj/eclipse-ecj-4.33.ebuild
@@ -0,0 +1,55 @@
+# 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}-202409030240"
+
+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.33"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+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
+}