From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B2B93158089 for ; Sun, 1 Oct 2023 14:57:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B6D12BC013; Sun, 1 Oct 2023 14:57:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE5532BC013 for ; Sun, 1 Oct 2023 14:57:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB377335C8E for ; Sun, 1 Oct 2023 14:57:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BFC08B4 for ; Sun, 1 Oct 2023 14:57:56 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1696172108.6859fa44af0156c0f8ed43a3b40a585c15f3de3e.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/openjfx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild X-VCS-Directories: dev-java/openjfx/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 6859fa44af0156c0f8ed43a3b40a585c15f3de3e X-VCS-Branch: master Date: Sun, 1 Oct 2023 14:57:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 65472cba-19f5-478a-8bfb-c301c71e88a2 X-Archives-Hash: 5982b65f4e2ce756f5e5d29daf2da285 commit: 6859fa44af0156c0f8ed43a3b40a585c15f3de3e Author: Ulrich Müller gentoo org> AuthorDate: Sun Oct 1 14:55:08 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Oct 1 14:55:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6859fa44 dev-java/openjfx: Fix query functions in EAPI 8 Closes: https://bugs.gentoo.org/915019 Signed-off-by: Ulrich Müller gentoo.org> dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild | 15 ++++++--------- dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild | 15 ++++++--------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild b/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild index 3263c68c1c08..34f91df33673 100644 --- a/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild +++ b/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild @@ -24,10 +24,12 @@ SRC_URI="https://hg.openjdk.java.net/${PN}/${SLOT}-dev/rt/archive/${MY_PV}.tar.b 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 @@ -68,8 +70,6 @@ DEPEND="${RDEPEND} virtual/pkgconfig " -REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )" - PATCHES=( "${FILESDIR}"/11/disable-buildSrc-tests.patch "${FILESDIR}"/11/glibc-compatibility.patch @@ -82,8 +82,6 @@ PATCHES=( "${FILESDIR}"/11/ffmpeg5.patch ) -S="${WORKDIR}/rt-${MY_PV}" - egradle() { local GRADLE_HOME="${WORKDIR}/gradle-${EGRADLE_VER}" local gradle="${GRADLE_HOME}/bin/gradle" @@ -128,14 +126,13 @@ pkg_setup() { fi done - if has_version --host-root dev-java/openjdk:${SLOT}; then + 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 --host-root dev-java/openjdk-bin:${SLOT}) + 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*} @@ -183,7 +180,7 @@ src_configure() { # build is very sensetive to doc presense, take extra steps if use doc; then local jdk_doc - if has_version --host-root dev-java/openjdk:${SLOT}[doc]; then + 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" diff --git a/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild b/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild index 7fca74112cfd..0f4c3e85b629 100644 --- a/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild +++ b/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild @@ -24,10 +24,12 @@ SRC_URI="https://hg.openjdk.java.net/${PN}/${SLOT}-dev/rt/archive/${MY_PV}.tar.b 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 @@ -68,8 +70,6 @@ DEPEND="${RDEPEND} virtual/pkgconfig " -REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )" - PATCHES=( "${FILESDIR}"/11/disable-buildSrc-tests.patch "${FILESDIR}"/11/glibc-compatibility.patch @@ -82,8 +82,6 @@ PATCHES=( "${FILESDIR}/11/${PV}-version.patch" ) -S="${WORKDIR}/rt-${MY_PV}" - egradle() { local GRADLE_HOME="${WORKDIR}/gradle-${EGRADLE_VER}" local gradle="${GRADLE_HOME}/bin/gradle" @@ -128,14 +126,13 @@ pkg_setup() { fi done - if has_version --host-root dev-java/openjdk:${SLOT}; then + 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 --host-root dev-java/openjdk-bin:${SLOT}) + 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*} @@ -183,7 +180,7 @@ src_configure() { # build is very sensetive to doc presense, take extra steps if use doc; then local jdk_doc - if has_version --host-root dev-java/openjdk:${SLOT}[doc]; then + 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"