diff options
Diffstat (limited to 'dev-java/eclipse-ecj')
-rw-r--r-- | dev-java/eclipse-ecj/Manifest | 11 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/eclipse-ecj-4.15-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/eclipse-ecj-4.20.ebuild | 2 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/eclipse-ecj-4.26-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/eclipse-ecj-4.27.ebuild | 67 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/eclipse-ecj-4.30-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/files/ecj-4.27 | 7 |
7 files changed, 85 insertions, 8 deletions
diff --git a/dev-java/eclipse-ecj/Manifest b/dev-java/eclipse-ecj/Manifest index 1ff004486e8c..cd428d0c5637 100644 --- a/dev-java/eclipse-ecj/Manifest +++ b/dev-java/eclipse-ecj/Manifest @@ -1,17 +1,20 @@ AUX ecj-4.15 354 BLAKE2B e8ddbe928140e99fa36f0e4937cf1e9bf06bc3660ffdfba91099b35e4effaae3df1cb582a3cc8e9b26415d129d3c7e6b43f69e80f714ec1770ff593aebe4d5a8 SHA512 a8c159538a280ddc3616dce8fe6d1677ac45d7a72b27c23c85224a1d7e3acbb73912f2013be99b075f7b91e7ab52b4d871280246f1af56cf3718e3ce24b8ccc0 AUX ecj-4.20 365 BLAKE2B a7fcb25e74cb19f1b61b940f63b2db0d54c34381a030d0c4e9ec825e3bdc2580d18bee1d9dbf9e3943f5ee8767aa17672cddae8a313201ac22c0d5256b8c2555 SHA512 4a1c4fe7640880ddc0735cec79873ee9e8cc2f430ddd8b4676974f669f5097e46cbcda9b50668df48cb0f3ce39a169934ece785aabfd59af697c44f255951dd9 AUX ecj-4.26 390 BLAKE2B 42e06c8114370763caeee14aee4e4471ba5781f2257abab6ba69ff8657946681e06994804b5ba5d23547b066e8784bdda3bc2ba254ae357f98d234bd4da7a415 SHA512 9b29d5e650ec30e9d493d48c29820dbb2de79fa1cc897de3ccfc2558814a882e5ba0a35567d1fbcea11b050a2ced7b48f2c53a97a9f420ef81e715ab5156f9e0 +AUX ecj-4.27 365 BLAKE2B 02271871307577f036952560f15bcd6261179d637892894c6b3fe7b5422e6f5c9b8967895a1df2a628f59824b7a3bc685d41ac4ce312c517b71510e0d55c5c7c SHA512 46509e4c5532f36f2f12c062ed5ab3ea8b0edd71893d9523499f5df46b6357b77f24cf244171ac2f7648b0771d80df29998060bdc5f1f74aa628c15a22463c41 AUX ecj-4.30 402 BLAKE2B e95fd45bcd60440c8b11fc8f0e34eaf40674cd004939ffcaea392f3e899f9afaae7bf1dd21525099a93012338363a4a1450d69645aa9bb91153a41dc25985e6e SHA512 50623fe3dff25d0451e4dbb8e1ab14c7f5eb566adc999eeb1612b1d4e2672a5289f6a2383a40465884d26b702efc9cd7d099843c8ea4af5d23511dfa1cae5e67 AUX ecj-4.31 383 BLAKE2B 9e24fde1df96bb18397386d2a371b8a5b6b2501cfb460379c1ce2e14ebb31ee5d80863643b47e46dd01763a9b104cb5097b283d8b2d13ae6158ffa10d906d235 SHA512 4a636356192836067d67096af43cbf1811cba211a7918e4ce27ef87cd192e6bc0246febd9278a78682aa504b215f8524de8779d920b15eea87c677496059f13b AUX eclipse-ecj-4.31-java21.patch 736 BLAKE2B dbf787118caeeff454b75e9a1f0e6c66cc3c636ad5271694778901f35d2835303273889f70c4463370bb69e02d120c965ae123c980b485b2e9a3886cec7fbc1f SHA512 03b8e67dc30f802d956dbaa262452ede4b880317193127ad45ccf3829ba15bbbf1239c7aff253c3bc3d358cb2c9bea6a342fa0518338691bfae4dad9d20b5f37 DIST ecjsrc-4.15.jar 2166228 BLAKE2B 794e0ba1a19b325e2dd8ad0b288ccbe04866627670b50d39dd327c13fe1fac56200eb3a6c1c3d1af043cad795508b9b714a5243049671414b5a62a97725d3297 SHA512 ada55b2522cf26570f0cd43f415eb5cf20e6840f83dadc72e1ae474ebf10eadca73f9fa3d1db51e13fd2762c38cd3e3567db3c7840d43ae3d8665ebe35e1889d 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 -EBUILD eclipse-ecj-4.15-r1.ebuild 1469 BLAKE2B 53b1b66884af0137998d4ef9429dfc55fffbf25e524e0f3232326e101f79a92aae211598fc9325c0b68f97b6cef22d8034d9eee8f3c07f3fe8df3a32da32873f SHA512 9680872cc1a183d1e45eab18929ca211d1aa8f9174ea4a49ddef2ca5a2f042dba36fac7b74b36d47995d46525a2a83076cf0b4dae83c6f03d46a64464e95024f -EBUILD eclipse-ecj-4.20.ebuild 1572 BLAKE2B 335c982e1e6411c9265f50b514578b24f1cf6363f4fc29cd97ebc680fe865c188c7e48d6c55da802654204a23ca6c1e0c1518f58baec0856ad2d66b03a4d5312 SHA512 eb6f302e8f996053ee56d181d88a433fe56508116e1d1dfb0c35245b1c110bb621c295cf3f4c3216e2ac459472980848b2bcb5c91d800391114877f0eecda693 -EBUILD eclipse-ecj-4.26-r2.ebuild 1799 BLAKE2B 6ddf7a6394b83267619cdc9124de4677e6537e38c86de05c3fb6521ebcd44ef39f81c85cafe303b4e8fa9b1a7e0e0389308d4dc0dc2d38a0fdfce8d8e17d2bc1 SHA512 b571687d63759b351388051bc1001fd12b506659035d73ef2c3af6b227408e1987f488d9540f6c4af82f5757e8bd5e9ee4b065c68a1022916544e0e5e14c574e -EBUILD eclipse-ecj-4.30-r1.ebuild 2270 BLAKE2B 8a8e489bb4ea26ebddb7c94335c8bdf9db1a7ecdabf5fad0fdf008305d04dc63696ec735b9c794dfcc3c7a32cf7076e6fc4d983fe690aebcaf24bb96fca6aadb SHA512 74a640432876450848364caf21b1d5814b59a815ead8e3b00fd4cb0f84394605ef83d91b71e4501721572b914bcd52201c99e26d052efd9910680cb9a65f7027 +EBUILD eclipse-ecj-4.15-r1.ebuild 1494 BLAKE2B 8c7d98c6ceb4dca4c9a15a51f7b2ac78f4c017413e6b7adbb5902e36124eca2279f8e84f01b0b2a1c3c0443f4cfa395860301698f399b2bba3e3d518688bf45d SHA512 6f4cdf61faaeb8ff2ec9e99ec81fc4076c1515439b3cc4a9d769e32f7416ab78b6dca7ecc65b55ad9fcef53f4f187bc3c0173d0cd1c050dedf4975b6b7980dca +EBUILD eclipse-ecj-4.20.ebuild 1597 BLAKE2B 552024ee9da1bf026e4b97fe9da659f227551e4adc1a6b1a236b2c143a7282252541574026446aaa96f922aa877d058ddd713f385b5cefb9dafbc851b4b792f9 SHA512 6250bcbfd0e5684798c4fbac03a9b806afe38b89c3acd7a596257bf435767d095bfb65e47d1c695e0b963ccf11310443b457131000e4e18f8f9f6651614556c3 +EBUILD eclipse-ecj-4.26-r2.ebuild 1824 BLAKE2B dea06a3376512b90d00b46241d110a0853b5e31f37bea1c149b5ad08478f8b63ea0c6d028c8abe8d2120a19d673747c63ee3bcc0313155fa28d5c8a9fc179174 SHA512 10ee16cda0c1e202fcec23b0c547725c3a357afb0e95e6b0030d7430b2ae1836287b438b203906f4014b478492763700fba5bc9250ae791e44b1d74ffc98ec97 +EBUILD eclipse-ecj-4.27.ebuild 1797 BLAKE2B 638d3b533efe91d1c6f958700311a0263c8961165d6bc31e8a7dcb31bac1b7e94507a5c065dbb8950bbd99ce716006ffedd2a9e919cbdd5d8baa0a9b71f5553e SHA512 9e6a881f3441beb72ad36a11078269bead4f2137d2dcc6fae12866be68fe4939e269eceede7fac9486289fd73e92d68056fc23323733e40179c80c1b660eab34 +EBUILD eclipse-ecj-4.30-r1.ebuild 2295 BLAKE2B 26738da8b2cc0989169bf6f21a3b367dde4c41423b6f08de7b6d759f3c02817ef5f4ec4b6db74c6ab44fd6a04ef0db00e405a3693ae454ac83e0b0056a22f77e SHA512 4b7312e2eecc59d058071744d71a99acd67d696ff417f86d92b2640ed9f91a70e9b42c381d0c16a20e273e401a96181223ee624584a7164c5339984bd063d831 EBUILD eclipse-ecj-4.31.ebuild 2072 BLAKE2B 73243a9948dca2d9f65ce27e6c74259e8a5c6a3823fa397f7f2c0b97d4370925ca241ba69a1b637fec2fe3c218b410bb5bd3dd4e25ffc89c9778986dc3f3dbc9 SHA512 26c731ad350455b7ec012007b5d586c0bd90b2ab7b791252f77cf02799080f3cd56f5d7970b55cbdba47d24c1cee487ea8ff7dd2d8595576054acceaa9420703 MISC metadata.xml 637 BLAKE2B fd8214d9377a8a4101b3fd5041e17fbed9c6f5ffc8586b328db92120fc780c16d4b1152d4137a2e5554f77f60e9fe24ea3d133fc3469a4e78da7e84244bcb951 SHA512 0a0f6d8bcac2bef3a74e6328a65ecab490fcd437e8107fd1087d17ca158da29d1044d9e06d05e2781e97df88e6aec30db185c97bb9b2bdbd9b257332ce0232e0 diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.15-r1.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.15-r1.ebuild index a1e33e84d946..63723662da43 100644 --- a/dev-java/eclipse-ecj/eclipse-ecj-4.15-r1.ebuild +++ b/dev-java/eclipse-ecj/eclipse-ecj-4.15-r1.ebuild @@ -10,7 +10,7 @@ inherit java-pkg-2 java-pkg-simple prefix DMF="R-${PV}-202003050155" DESCRIPTION="Eclipse Compiler for Java" -HOMEPAGE="https://www.eclipse.org/" +HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt" SRC_URI="https://archive.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV}.jar" S="${WORKDIR}" diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.20.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.20.ebuild index 81da64f7b218..9e78dd4ea2d0 100644 --- a/dev-java/eclipse-ecj/eclipse-ecj-4.20.ebuild +++ b/dev-java/eclipse-ecj/eclipse-ecj-4.20.ebuild @@ -10,7 +10,7 @@ inherit java-pkg-2 java-pkg-simple prefix DMF="R-${PV/_rc/RC}-202106111600" DESCRIPTION="Eclipse Compiler for Java" -HOMEPAGE="https://www.eclipse.org/" +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" diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.26-r2.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.26-r2.ebuild index 2cde3036d250..0a750385f6ab 100644 --- a/dev-java/eclipse-ecj/eclipse-ecj-4.26-r2.ebuild +++ b/dev-java/eclipse-ecj/eclipse-ecj-4.26-r2.ebuild @@ -10,7 +10,7 @@ inherit java-pkg-2 java-pkg-simple prefix DMF="R-${PV}-202211231800" DESCRIPTION="Eclipse Compiler for Java" -HOMEPAGE="https://www.eclipse.org/" +HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt" SRC_URI="https://archive.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV}.jar" S="${WORKDIR}" diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.27.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.27.ebuild new file mode 100644 index 000000000000..590dc3324bcb --- /dev/null +++ b/dev-java/eclipse-ecj/eclipse-ecj-4.27.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.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" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +SLOT="4.27" + +BDEPEND="app-arch/unzip" +COMMON_DEP="app-eselect/eselect-java" +DEPEND="${COMMON_DEP} + dev-java/ant:0 + >=virtual/jdk-17:*" +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 index 2799f8635f43..b87cee1c3b1a 100644 --- a/dev-java/eclipse-ecj/eclipse-ecj-4.30-r1.ebuild +++ b/dev-java/eclipse-ecj/eclipse-ecj-4.30-r1.ebuild @@ -13,7 +13,7 @@ inherit java-pkg-2 java-pkg-simple prefix DMF="R-${PV/_rc/RC}-202312010110" DESCRIPTION="Eclipse Compiler for Java" -HOMEPAGE="https://www.eclipse.org/" +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}" diff --git a/dev-java/eclipse-ecj/files/ecj-4.27 b/dev-java/eclipse-ecj/files/ecj-4.27 new file mode 100644 index 000000000000..29fb3b51444e --- /dev/null +++ b/dev-java/eclipse-ecj/files/ecj-4.27 @@ -0,0 +1,7 @@ +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" |