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 90F7C15808B for ; Sat, 19 Feb 2022 14:23:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0CF2E081E; Sat, 19 Feb 2022 14:23:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EB9BE081E for ; Sat, 19 Feb 2022 14:23:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C60E1343709 for ; Sat, 19 Feb 2022 14:23:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CD47287 for ; Sat, 19 Feb 2022 14:23:10 +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: <1645280585.87cfa71ca823a1a3b772b2d45a7de6ffe4e5a7e0.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/visualvm/Manifest dev-util/visualvm/visualvm-2.1.1.ebuild X-VCS-Directories: dev-util/visualvm/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 87cfa71ca823a1a3b772b2d45a7de6ffe4e5a7e0 X-VCS-Branch: master Date: Sat, 19 Feb 2022 14:23:10 +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: b09dd09a-8d22-4fdc-8c67-a5567c138d60 X-Archives-Hash: 9f33f1b76f181128e28e4a8abb4a65a3 commit: 87cfa71ca823a1a3b772b2d45a7de6ffe4e5a7e0 Author: Miroslav Šulc gentoo org> AuthorDate: Sat Feb 19 14:23:05 2022 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sat Feb 19 14:23:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87cfa71c dev-util/visualvm: removed obsolete 2.1.1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Miroslav Šulc gentoo.org> dev-util/visualvm/Manifest | 1 - dev-util/visualvm/visualvm-2.1.1.ebuild | 86 --------------------------------- 2 files changed, 87 deletions(-) diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest index 27741bc477b3..34b8bc6c8a4d 100644 --- a/dev-util/visualvm/Manifest +++ b/dev-util/visualvm/Manifest @@ -2,5 +2,4 @@ DIST common-8.0.1.jar 435506 BLAKE2B e3c0db1691c9f27d39b5d0cad18707cd27e708d74d0 DIST encoder-1.2.2.jar 37529 BLAKE2B 0e61c679db8c559005de726c8fc358cc5f04ab51b357fe53889cb585c8d006a77a3e24cb51043912ea9be11739ffa14de86f22d3dc4663aefee8bc75b9ff6862 SHA512 eed5529b326a9fd493032539dd50c7d60439fed0743cd567d348aa334e837d412ac10b220fd5099edcf9098fc7c684fba98b92916b9ef79831395686fd83b7dc DIST flightrecorder-8.0.1.jar 500815 BLAKE2B af9f024e7199e7f577e75b3d40f40a3e65f8e98be768415e5832aa6e1ffcfc9ecc391ef4d3fa515411d6d3ed051f35579656bae8cf8e1aea2023d54b072c84a0 SHA512 08c98ed3444b396e6e1ae0f909378c56e2ce04741f7b7ee83e39ae8a0699802709a5419f29c3a7bd44a11caba984071ef4f0554183fd5260ed28741edd191809 DIST lz4-java-1.7.1.jar 649950 BLAKE2B caed7593dad078fcaf3853a4dffbd540d7e5a3298b13092dee4b82a70359494584b9901da600239d65e9930e7a769adf1a45eac85033f8ca0cfcaef6a3b09544 SHA512 ff48daeca92c5a7657aa9c7fe41c5ae75a5fa0aad05c655bacb64a40acfe93ffd3d40bef16544614ce8a38db3e1df177023101773f6f7c1d32031413270e42d2 -DIST visualvm-2.1.1.tar.gz 36390828 BLAKE2B 127d4bec9fe47e66950485f5349c3c46c0e4f9576498cf4afb2459617223839a2c553267e2bda8137322dfcca8282c090a13ca2adde026eda4fd8038b05e5b10 SHA512 dd9879c2ed5c62cfd60f58355fe580526757db002feea9a013df1095b119931f7951ac25f08000300b6c3e7f4f27772e57b2ca30721fde70e70ca663456da2dd DIST visualvm-2.1.2.tar.gz 36393559 BLAKE2B ba925ddacfb1474f47d0ab393c7f8f14d18e12ef25aef82efd59a273eb8464d8758e0cc82cf41238b0356546dd03fed319b8c04366c4037fa99251d358f5e1c2 SHA512 f324bdec570f050c3df3d047cf9ab9e8565ed95150d1bcb5d86166aa221d0a3c55a2c3cdb345ddbf42b9cef35cb6a21033ed24fd203c0dbb67d2f8dc2b5f2960 diff --git a/dev-util/visualvm/visualvm-2.1.1.ebuild b/dev-util/visualvm/visualvm-2.1.1.ebuild deleted file mode 100644 index 4335a1808c08..000000000000 --- a/dev-util/visualvm/visualvm-2.1.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -NBV=124 -NBT=21062021 -NBZ=nb${NBV}_platform_${NBT}.zip - -inherit java-pkg-2 java-ant-2 desktop - -DESCRIPTION="Integrates commandline JDK tools and profiling capabilities" -HOMEPAGE="https://visualvm.github.io" - -# Netbeans plattform is already included in the main archive this time -# SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz -# https://github.com/oracle/${PN}/releases/download/${PV}/${NBZ}" -# The extra jar files are not present in gentoo atm so bundling them -SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - https://repo1.maven.org/maven2/org/openjdk/jmc/flightrecorder/8.0.1/flightrecorder-8.0.1.jar - https://repo1.maven.org/maven2/org/openjdk/jmc/common/8.0.1/common-8.0.1.jar - https://repo1.maven.org/maven2/org/lz4/lz4-java/1.7.1/lz4-java-1.7.1.jar - https://repo1.maven.org/maven2/org/owasp/encoder/encoder/1.2.2/encoder-1.2.2.jar" - -LICENSE="GPL-2-with-linking-exception" -SLOT="7" -KEYWORDS="amd64" - -RDEPEND=" - >=virtual/jre-1.8:*" - -# it does not compile with java 11 -DEPEND=" - virtual/jdk:1.8" - -S="${WORKDIR}/${P}/${PN}" - -QA_PREBUILT=" - /usr/share/visualvm/platform/modules/lib/amd64/linux/libjnidispatch-nb.so - /usr/share/visualvm/cluster/lib/deployed/jdk1[56]/linux-amd64/libprofilerinterface.so -" - -EANT_BUILD_TARGET=build -EANT_EXTRA_ARGS="-Dext.binaries.downloaded=true" -INSTALL_DIR=/usr/share/${PN} - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}" || die - # unpack ${NBZ} - unpack "${S}"/"${NBZ}" # archive is included in the main archive -} - -src_prepare() { - default - - # Remove unneeded binaries - rm -rv netbeans/platform/lib/*.{dll,exe} \ - netbeans/platform/modules/lib/{amd64/*.dll,i386,x86} || die - find libs.profiler/lib.profiler/release/lib/deployed/jdk1? -mindepth 1 \ - -maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die - - # link in downloaded jars - for file in flightrecorder-8.0.1.jar common-8.0.1.jar lz4-java-1.7.1.jar encoder-1.2.2.jar; do - ln -s "${DISTDIR}/${file}" jfr.generic/external/ || die "Failed to link file ${file}" - done -} - -src_install() { - # this is the visualvm cluster - insinto ${INSTALL_DIR} - doins -r build/cluster netbeans/{harness,platform} - - # configuration file that can be used to tweak visualvm startup parameters - insinto /etc/${PN} - newins launcher/visualvm.conf ${PN}.conf - sed -i "s%visualvm_default_userdir=.*%visualvm_default_userdir=\"\${HOME}/.visualvm\"%g" "${ED}/etc/${PN}/visualvm.conf" || die "Failed to update userdir" - sed -i "s%visualvm_default_cachedir=.*%visualvm_default_cachedir=\"\${HOME}/.cache/visualvm\"%g" "${ED}/etc/${PN}/visualvm.conf" || die "Failed to update cachedir" - echo -e "\nvisualvm_jdkhome=\"\$(java-config -O)\"" >> "${ED}/etc/${PN}/visualvm.conf" || die "Failed to set jdk detection" - - # visualvm runtime script - newbin "${FILESDIR}"/${PN}-r2.sh ${PN} - - # makes visualvm entry - make_desktop_entry ${PN} VisualVM java "Development;Java;" -}