summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-18 12:50:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-18 12:50:07 +0000
commitebb07c94f800907e02d2a6b92c1bc757b2f86f49 (patch)
tree9b5feb42804ee57e6fe960470f5b0c98c1aa4970 /dev-java
parent529bbf6d047ac6b80c0d9310ec0f666c145ec5fe (diff)
gentoo auto-resync : 18:03:2024 - 12:50:07
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin59643 -> 59637 bytes
-rw-r--r--dev-java/bnd-ant/Manifest2
-rw-r--r--dev-java/bnd-ant/bnd-ant-7.0.0.ebuild2
-rw-r--r--dev-java/leiningen-bin/Manifest3
-rw-r--r--dev-java/leiningen-bin/leiningen-bin-2.11.1.ebuild62
-rw-r--r--dev-java/openjfx/Manifest3
-rw-r--r--dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild223
-rw-r--r--dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild223
8 files changed, 2 insertions, 516 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index d001f40b413b..5a87aa120cd8 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/bnd-ant/Manifest b/dev-java/bnd-ant/Manifest
index 76c3df0e0043..36297c2f5fac 100644
--- a/dev-java/bnd-ant/Manifest
+++ b/dev-java/bnd-ant/Manifest
@@ -1,3 +1,3 @@
DIST aQute.bnd-7.0.0.tar.gz 172496438 BLAKE2B a2e443b0e4a2eb278a8e1df86456fea22ffb8147adc00c9f300cbd32b226218bb64ccca3da3bcd0d79b07567a7b4cf4456b96224d6abf59486fa08ca6170d0ba SHA512 11d34a7d1a9b2fb2e8c112d414a06c281ccde9a7b06c62043e19d83e85ea64fdf022dd4493a14dd2dcf6adee392a1e9bf1ab05a6d690a328f29d7019045bca8c
-EBUILD bnd-ant-7.0.0.ebuild 991 BLAKE2B bd0acfa071334d399dace3ba0708f6a8e4d0bc9cf007be9f2f904549fea56838e47cb7714115098d2c831321fdda3f904d304b6543b2fd8d0c554a5936e19ffa SHA512 393bcdbd96353f366ad2027ec8cecb5001b421d153571ff90072510c57ebb8bca8e9c63dfee7b1cee938daff7bcad9bbecb876caef899bdef588b9402bf94dd6
+EBUILD bnd-ant-7.0.0.ebuild 998 BLAKE2B fe100dd6cdc6badf7eea976fae4ceee41bfe4681248969c1ca88e8033ec6871327cb0c0f85e370630015f4588fe51d7178ce5aa40ece05ace729fca197a2f86f SHA512 f6a1112260feadae75352cc7f08c07198445c078e8f1af3795f1f44d7406fda0cb23ae3b4e35b376064683cdd4a831dde70798ac9594c737675a51ffb60a2444
MISC metadata.xml 294 BLAKE2B 66837ec99fde5f758bfca40e387481d9e99d8ea6c520b4ec74fd83cf51670aa2626277f231fb6e0159495da497d8c74725ec18fa2d09d4fc1223e0e84a13f58a SHA512 e79f2bc0d9b0e9981f3688d97299a4897f453695dbeebb6bd44e93706bb19e6b2542d3d89cc8f222cf353604bf47b6134ab8f67bb070650a558736a9ff5e6cc4
diff --git a/dev-java/bnd-ant/bnd-ant-7.0.0.ebuild b/dev-java/bnd-ant/bnd-ant-7.0.0.ebuild
index 31d39dcbde50..2798a833a8d6 100644
--- a/dev-java/bnd-ant/bnd-ant-7.0.0.ebuild
+++ b/dev-java/bnd-ant/bnd-ant-7.0.0.ebuild
@@ -19,7 +19,7 @@ KEYWORDS="~amd64"
DEPEND="
dev-java/ant:0
- dev-java/bnd:0
+ ~dev-java/bnd-${PV}:0
>=virtual/jdk-17:*"
RDEPEND=">=virtual/jre-17:*"
diff --git a/dev-java/leiningen-bin/Manifest b/dev-java/leiningen-bin/Manifest
index 4aeeb9dac182..efc355416895 100644
--- a/dev-java/leiningen-bin/Manifest
+++ b/dev-java/leiningen-bin/Manifest
@@ -1,8 +1,5 @@
AUX leinrc 37 BLAKE2B 0c5df00ef323caebf53e52246ca87b066a1b6104fb03fc7e3548dba0947ecf53c33bf4e8215fc098212293915d9808b961c0df527f30d7f6316b4aff84bf3b69 SHA512 f948d5f355d43fdee6cf68d0dad39f53f72b341649869a6ca161f5d8c83bf30434ed03c51a7e01aaefa422ff4e93ca3db5680fd4c2af92f5393acde6e8aec7d0
-DIST leiningen-2.11.1-standalone.jar 16481190 BLAKE2B 62f77411cc1d76ef15a7dee3185e109fdfe2f4c7273fb23b5d1aad13e7cc09f95bb71efaef190b890892cffab3ebcff84f0829105df824e8942367c96f388ca3 SHA512 9549bfebe79d4358ec94493df1f261ac8f84fae1b00c5a0e7a1c52b8d38f30b1b51241246224890b02cdad7ca388567b1e57aae850ba77878faf091d9d0e8d66
-DIST leiningen-2.11.1.sh 7467 BLAKE2B 7c82fde4cca990ef31fe6e207c872d6cfad69d0afc906119d069140831dc9e66e4fab8742c610eb922b14a3f4dec3c525c8a0598e426d78830d4136bace7a0f6 SHA512 9399bd4f37a9326d928b73c2f43b438545ea1c87942c365a86958345e95f86059d2d6fa18a68b20cc615193f69909620089c6f7aa8b8ab22c9fbc0f04852f6a5
DIST leiningen-2.11.2-standalone.jar 16481883 BLAKE2B 556e9fdcd5f8c14e046ff8e12f9c5d52c214f0c7cf8af9469e140dc21187a0cb2d5acc02b0ab48b110278d5143cdeef2b4eb8d2945d5acaf568cfe35e1877c04 SHA512 a49e82acccdaae4f619796adf1ef9d0cfc4998c01f4c918520bb3f757b9f7808fb5c65241f79aea730d1e90181c9c2983b7219ef0893103f7abcedf94afcafd5
DIST leiningen-2.11.2.sh 7467 BLAKE2B bfd9031e1f0c2b8cedf435832f2da5f45ac4c9fbdb2684f4900b43e62c3ffec03781ca2491f1a305c480a7fa8bf5cccf9e934ecc12e6e0ce1da539d9d8fe01dd SHA512 b4e0c553148f81bced1d8df09811f337352149bba879b0828fdeb6efd176fcebf0c4f263a5c8b74241b6a2dd7df52d932271cbf8f11f71279b498f8a9e2399b4
-EBUILD leiningen-bin-2.11.1.ebuild 1521 BLAKE2B 73152827dac620d4b7d07ae90b85f26a41f72b6a658c1cf0c3f1e7840ca7d8983faa82ac836548f11ebf17f4c8560c9a19571f53cb8deebd34c54bcc0d278762 SHA512 f4daf5a53fb9802b58e9b95f742dc9d72189ab1f7114bef817a7dd80a50e311daa46c053df1f42eb1ddf11a4ac363e9367831a7d4ed3dce9aadbebd45f2581c7
EBUILD leiningen-bin-2.11.2.ebuild 1521 BLAKE2B 73152827dac620d4b7d07ae90b85f26a41f72b6a658c1cf0c3f1e7840ca7d8983faa82ac836548f11ebf17f4c8560c9a19571f53cb8deebd34c54bcc0d278762 SHA512 f4daf5a53fb9802b58e9b95f742dc9d72189ab1f7114bef817a7dd80a50e311daa46c053df1f42eb1ddf11a4ac363e9367831a7d4ed3dce9aadbebd45f2581c7
MISC metadata.xml 303 BLAKE2B 3567c3889af4a644c925f03a220c329a207daeeca9437b8382ff777db620106cc807aadfaf6c157654c634dfa26c14fd654933aa5bd4b8027068fd6f67f1f241 SHA512 73c6a8fbd269fdf6a20f70aa0228314e3010461dad5c1b04f7b7c54d1cc3a2c7b475f180c6740cc9795b6d73fd39c7ce326ecf69768b1f11f2b264618711c1c3
diff --git a/dev-java/leiningen-bin/leiningen-bin-2.11.1.ebuild b/dev-java/leiningen-bin/leiningen-bin-2.11.1.ebuild
deleted file mode 100644
index 9b67aaa8bbc5..000000000000
--- a/dev-java/leiningen-bin/leiningen-bin-2.11.1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit java-pkg-2
-
-MY_PN="${PN%-bin}"
-MY_PNV="${MY_PN}-${PV}"
-
-DESCRIPTION="Automate Clojure projects without setting your hair on fire"
-HOMEPAGE="https://leiningen.org/"
-SRC_URI="
- https://github.com/technomancy/${MY_PN}/releases/download/${PV}/${MY_PNV}-standalone.jar
- https://raw.githubusercontent.com/technomancy/${MY_PN}/${PV}/bin/lein-pkg -> ${MY_PNV}.sh
-"
-
-LICENSE="EPL-1.0"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~x86 ~x64-macos"
-
-RDEPEND=">=virtual/jre-1.8"
-DEPEND=">=virtual/jdk-1.8"
-
-RESTRICT="test"
-
-src_unpack() {
- mkdir -p "${S}" || die "Can't mkdir ${S}"
- cd "${S}" || die "Can't enter ${S}"
- for file in ${A}; do
- einfo "Copying ${file}"
- cp "${DISTDIR}/${file}" "${S}/" || die "Can't copy ${file}"
- done
-}
-
-src_prepare() {
- einfo "Copying leinrc"
- cp "${FILESDIR}/leinrc" "${S}/" || die "Can't copy leinrc"
- einfo "Patching leinrc"
- sed -i "s^@@PN@@^${PN}^" "${S}/leinrc" || die "Can't patch leinrc"
-
- einfo "Renaming lein-pkg"
- # Rename generically to help user patching
- mv "${S}/${MY_PNV}.sh" "${S}/lein" || die "Can't rename to lein"
-
- einfo "Patching lein"
- java-pkg_init_paths_
- sed -i "s|^LEIN_JAR=.*$|LEIN_JAR=${EPREFIX}/${JAVA_PKG_JARDEST#/}/${PN}.jar|" "${S}/lein" \
- || die "Can't patch LEIN_JAR in lein"
-
- default
-}
-
-src_compile() { :; }
-
-src_install() {
- dobin "${S}/lein"
- java-pkg_newjar "${MY_PNV}-standalone.jar"
- insinto /etc
- doins "${S}/leinrc"
- fperms 0644 "/etc/leinrc"
-}
diff --git a/dev-java/openjfx/Manifest b/dev-java/openjfx/Manifest
index 668eac8d1054..b1ad49e49a8d 100644
--- a/dev-java/openjfx/Manifest
+++ b/dev-java/openjfx/Manifest
@@ -39,11 +39,8 @@ DIST lucene-queries-7.1.0.jar 243126 BLAKE2B 166c3efea04c19314be7fd8c1d6b1378b2b
DIST lucene-queryparser-7.1.0.jar 384680 BLAKE2B adce2572de9f534323eead31dd30f97b853b2d5e4be6828c415f0c647460c361e00680d856ff9ffbba0fe45c3e4a425d68938a3d2dc01c76491bb65673e120fa SHA512 7151ef899e318679995138262c3450577ae33580708864581dc22a027f43ca4989825d434680925547e3c04ad4453a454e7045f605d7eee0da57d63db978ed68
DIST lucene-sandbox-7.1.0.jar 182914 BLAKE2B 70c795f84d8f0908abe47db77f632eeb6571a77e1445b8ab04a75080cea40e3b8171071965ff7fd9f6d39a450dd33144e922d19c1f07c605de54b45e3e881323 SHA512 6faf9fd9c7c082bf062adb6a28d89447e6e27152eb3f0a325081e5f791196e5440334632ccbf9c458940220676f7e73390a174889d9b7a656d088b3dade5d500
DIST openjfx-11.0.11_p1.tar.bz2 65017753 BLAKE2B ea5834e469bb0bd3a70595a91cc298f6091bc45de4c471ee9d0bcd45700ab3966a3396781ace2666bf94decd1219a83f01b277116cf23baeb6dd34a1a0f44191 SHA512 a1f94b3166aca50344f8af77ec2a5f52be1b0abc1c65fd3ff97f98017377ab772262502af00ad8cd4a6c44281ea459aff43a9cb7e30a1c35b822da8fb39b94fb
-DIST openjfx-11.0.9_p0.tar.bz2 64148934 BLAKE2B 317fb1c9ea99816ecbd8ab64ed3a6ad0aaa319bedd17bf71ee192c5e610fea14611f3938302f1caf666980bcc7d4787f770e36aec1884a73dac3ddba8e1a878f SHA512 8b6d339131f096b4490d7a8c4a20c15362b4f6c6aa4ddd74f610f3b5a8b8c7aac3ab123dcdd5488cc37dc38f1536ce1db95286f4233ee4db1845d1bd560b2236
DIST openjfx-8.1000-backports.tar.bz2 9142182 BLAKE2B 58ea420ec015c49d2755105a3d11675a92ecab337c7bda5a1ad72e84d0b35f04ed4252cee24da89b1e7b1b5b8b8b9fea7db93364434800246b87827b21970cc3 SHA512 077392368947cb9da1b5c7e14b641d6edcddd9821eb4f16dbea33e8986568211e93799aca29e70b490c8ef2125d69f8372abd1b1ce428a95420f62ff15c414d6
DIST openjfx-8.1000.tar.bz2 62286455 BLAKE2B c9a714a618d9ae02768dae6128756d64b2b6299a36a6ad9828bf2213dc641cbbcaa2d3f3e0b4913bb60893419a2d5c730ca2db88f759bbd94b3e83112199278c SHA512 6049730b72e569939fed3d62b46a409e949b4c2309f4355253c8c891799c7fb5138e20aa217454fbbd78b1dd99c254b34b3fe6c9cbb35854bd8656993655bf32
-EBUILD openjfx-11.0.11_p1-r1.ebuild 6572 BLAKE2B 0ef177a2b7de0722455433cc89535bc9a0f5c25be7260488e6e08859f375ade524b56469881b15cdb4a8359b5b23b2eef0b526c0a28b25ed04d7d67a29153f86 SHA512 65827cc97c0b6c56a7e4e186321542229bf9de5ff673309beb2ee7b4d37e004b07628eb0bdd251f9b8eee4f70e15eaec3b0a7724c3dfe47ab03372d4a9eb22ce
EBUILD openjfx-11.0.11_p1-r3.ebuild 6800 BLAKE2B 2d28577272cd1d8527485a3472c2bf7ccde5f72b4b65973e1addcf67324eff502483353a2611fa1f428cdd6416082c53017b14007bd35ead6ff693b48097e092 SHA512 d7dc44eacffd7b005798fb75da20d18ac787bfa15e01c35a0495477ecc2ac14c0cf3afc7aafa5f4f7e53257392b5804cb6844af87baca17fbc3f73610fbce1cf
-EBUILD openjfx-11.0.9_p0-r1.ebuild 6538 BLAKE2B 06a23d77d9190f339d4d52f918328c2d8cbfc6d113e06f700110fe0a04b305e913fe2557cb3efadacbeddc7ba69fa05f87c3198d05065e50c6d48cacf637bfed SHA512 a7b77c4f065a121b22874eb613e101d3708037776b85134ba411f07c25c1c160e7b0d55b057676e94e11f70a89944dc8587c2a1f453c1a32f1699b951fc12ee3
EBUILD openjfx-8.1000-r2.ebuild 5582 BLAKE2B 0071331e7290b18814249581f7733a01f5ce312656e623da110c7774db335f7a09178c6cbb46c5102a35545e3e890d6b98937c9ba552f2845fa0d86990d3daa6 SHA512 4af920664da56da987c1a031b6797817e9432a7d717245c9669fd3a63bf92a3f0b0b56b96394dc7ded612dfacdb8fc1c5d1df082152e75fd179ca7f5961e7c49
MISC metadata.xml 567 BLAKE2B d892bbd4cccfad57f17203e63e0cde8b8b8ccdda71de101f0fbd4fdf95a2490e43a7e50bac91a69956f125712b6af9d4a9f5bd586ad968af0d6586f5b6f4b6c8 SHA512 5884a9a487485c39816b58552e8b39c10474a3aebb0929845b3940d228a7d41080cc0515521d11b88533fcb34f94fef2742a9e39787146d02e46a9b594102912
diff --git a/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild b/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild
deleted file mode 100644
index 34f91df33673..000000000000
--- a/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 2019-2023 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
-
-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-core-1.10.7-r1: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
-)
-
-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"
- )
-
- 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
-
- #FIXME: still calls gcc, pkg-config etc by name without chost prefix
- #FIXME: should we enable webkit? doubt so
-
- # build is very sensetive to doc presense, 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.9_p0-r1.ebuild b/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild
deleted file mode 100644
index 0f4c3e85b629..000000000000
--- a/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 2019-2023 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
-
-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-core-1.10.7-r1: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.patch
- "${FILESDIR}"/11/use-system-swt-jar.patch
- "${FILESDIR}"/11/wno-error.patch
- "${FILESDIR}"/11/don-t-force-msse.patch
- "${FILESDIR}"/11/disable-architecture-verification.patch
- "${FILESDIR}"/11/ffmpeg5.patch
- "${FILESDIR}/11/${PV}-version.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"
- )
-
- 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
-
- #FIXME: still calls gcc, pkg-config etc by name without chost prefix
- #FIXME: should we enable webkit? doubt so
-
- # build is very sensetive to doc presense, 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
-}