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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B640158089 for ; Tue, 24 Oct 2023 13:18:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 515AC2BC019; Tue, 24 Oct 2023 13:18:35 +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 343AF2BC019 for ; Tue, 24 Oct 2023 13:18:35 +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 23AE1335CB7 for ; Tue, 24 Oct 2023 13:18:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AC6512B8 for ; Tue, 24 Oct 2023 13:18:32 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1698152478.b0be7322474d68b66121ea2d81b65a282615fd18.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jmc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/jmc/Manifest dev-java/jmc/jmc-8.3.0.ebuild dev-java/jmc/metadata.xml X-VCS-Directories: dev-java/jmc/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: b0be7322474d68b66121ea2d81b65a282615fd18 X-VCS-Branch: master Date: Tue, 24 Oct 2023 13:18:32 +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: 7738135d-ff5b-4d7e-900f-49cba7ce5c05 X-Archives-Hash: 587731210259ad4bd7e39fe96b08612f commit: b0be7322474d68b66121ea2d81b65a282615fd18 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Mon Oct 23 10:54:57 2023 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Oct 24 13:01:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0be7322 dev-java/jmc: new package, add 8.3.0 dependency needed for dev-util/visualvm Bug: https://bugs.gentoo.org/841632 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/33465 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/jmc/Manifest | 1 + dev-java/jmc/jmc-8.3.0.ebuild | 74 +++++++++++++++++++++++++++++++++++++++++++ dev-java/jmc/metadata.xml | 10 ++++++ 3 files changed, 85 insertions(+) diff --git a/dev-java/jmc/Manifest b/dev-java/jmc/Manifest new file mode 100644 index 000000000000..fdfb3ebf3c28 --- /dev/null +++ b/dev-java/jmc/Manifest @@ -0,0 +1 @@ +DIST jmc-8.3.0.ga.tar.gz 40714977 BLAKE2B 7ec59a23a62ede30844cee71bd1c859974ee3112bb5cc1b31b65f63f0bbf1b2689a94180d0fba687858353d05b3d1046a7b98688f01312606332bfd9d99ac9e8 SHA512 e4fb9fe8fa0ebfd3dd550dfa3412a4a7f88cb46eedaba329c4fd1a693047377b5c57db8ef8751f5966bce7621d6d2eff52a8d1921c089e7b1c3104684918fde9 diff --git a/dev-java/jmc/jmc-8.3.0.ebuild b/dev-java/jmc/jmc-8.3.0.ebuild new file mode 100644 index 000000000000..9db8fbfc2388 --- /dev/null +++ b/dev-java/jmc/jmc-8.3.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_PROVIDES=" + org.openjdk.jmc:common:${PV} + org.openjdk.jmc:flightrecorder:${PV} +" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JDK Mission Control" +HOMEPAGE="https://openjdk.org/projects/jmc/" +SRC_URI="https://github.com/openjdk/jmc/archive/${PV}-ga.tar.gz -> ${P}.ga.tar.gz" +S="${WORKDIR}/${P}-ga" + +LICENSE="UPL-1.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-java/lz4-java:0 + dev-java/owasp-java-encoder:0 + >=virtual/jdk-1.8:* +" +RDEPEND=">=virtual/jre-1.8:*" + +src_compile() { + einfo "Compiling jmc-common.jar" + JAVA_AUTOMATIC_MODULE_NAME="org.openjdk.jmc.common" + JAVA_CLASSPATH_EXTRA=" + lz4-java + owasp-java-encoder + " + JAVA_JAR_FILENAME="jmc-common.jar" + JAVA_RESOURCE_DIRS="core/org.openjdk.jmc.common/src/main/resources" + JAVA_SRC_DIR="core/org.openjdk.jmc.common/src/main/java" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":jmc-common.jar" + rm -r target || die + + einfo "Compiling jmc-flightrecorder.jar" + JAVA_AUTOMATIC_MODULE_NAME="org.openjdk.jmc.flightrecorder" + JAVA_JAR_FILENAME="jmc-flightrecorder.jar" + JAVA_RESOURCE_DIRS="core/org.openjdk.jmc.flightrecorder/src/main/resources" + JAVA_SRC_DIR="core/org.openjdk.jmc.flightrecorder/src/main/java" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":jmc-flightrecorder.jar" + rm -r target || die + + if use doc; then + JAVA_SRC_DIR=() + JAVA_SRC_DIR=( + "core/org.openjdk.jmc.common/src/main/java" + "core/org.openjdk.jmc.flightrecorder/src/main/java" + ) + JAVA_JAR_FILENAME="ignoreme.jar" + java-pkg-simple_src_compile + fi +} + +src_install() { + default + java-pkg_dojar jmc-common.jar jmc-flightrecorder.jar + if use doc; then + java-pkg_dojavadoc target/api + fi + if use source; then + java-pkg_dosrc "core/org.openjdk.jmc.common/src/main/java/*" + java-pkg_dosrc "core/org.openjdk.jmc.flightrecorder/src/main/java/*" + fi +} diff --git a/dev-java/jmc/metadata.xml b/dev-java/jmc/metadata.xml new file mode 100644 index 000000000000..13df86c0e8a8 --- /dev/null +++ b/dev-java/jmc/metadata.xml @@ -0,0 +1,10 @@ + + + + + java@gentoo.org + + + openjdk/jmc + +