summaryrefslogtreecommitdiff
path: root/dev-util/visualvm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-24 16:33:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-24 16:33:11 +0000
commitfaddeff65d652bda3291eba255955adb17f1aa19 (patch)
tree4352e6d85ce48c7c8d96159fad4d3dd90602a70a /dev-util/visualvm
parent0e7b1da874d923b9f006e0000023f5fa528140a8 (diff)
gentoo auto-resync : 24:11:2023 - 16:33:11
Diffstat (limited to 'dev-util/visualvm')
-rw-r--r--dev-util/visualvm/Manifest7
-rw-r--r--dev-util/visualvm/visualvm-2.1.6.ebuild137
-rw-r--r--dev-util/visualvm/visualvm-2.1.7.ebuild137
3 files changed, 0 insertions, 281 deletions
diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 75ae23f3235f..99b4d4d8931d 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,12 +1,5 @@
AUX visualvm-r2.sh 423 BLAKE2B cdc5db4465a339735ccff5f37bed89d76da2f2d514f522b7768fa37aad46804997d267285b09d6346674d43964d0ef0a0cadb24d28e9b90256a593d7420aab4a SHA512 eb7356e10a94db048fb471215b2115b93764931ed4178594bca5a1aac480f2262ef361b2f53fc23dbcdb4d44e1aeab678204c50583abb8016696a7d87288a9bb
-DIST common-8.3.0.jar 438403 BLAKE2B 56d76e8115bd0022afcdd95a62a7419d1ea1f5a1aa426b8313f5d22d9458c0d30276b13fb616d1a1d19ffd322b86fef5f0fc4b3ce673deadfcbad1ba473ccbcf SHA512 58378deca55362f97dbf7313633012f40871aee5fecf9792b0284952466e7a1ee0e96f2d948c81564ba0cf92a7e16b6d164a535e89f2da732ef9231876cb4b0b
-DIST encoder-1.2.3.jar 37931 BLAKE2B b416d455424b3fd87c94f7f963c819d3a8d76e763c112947718514e2bc1b67b40c6cd9cc051c5cfae6b2aa1cbc92961d1bcc3565ba3dcf3bf58395d543c5aae9 SHA512 ba7887259007272c533228cec1e2c5caebd639ef05b7b8925be6a0b5a7da5859e82489af4d462153e64bf2ce1234a8d6caa606fc6e42675a41cf7a067cfc5f6b
-DIST flightrecorder-8.3.0.jar 532387 BLAKE2B 9ef286c53427292beea222ab75d7b8b3e36e44fed5e084d3db6a2910627e67abcdcdab18a175a43c57afc30795dcfa8059f7b0189db45371da6c2b5e635c6447 SHA512 98f4ac4799756e560f0ebf2998985ca07ffe826d925651633763358d2ced757780689b3e64d78af54851a93c270a60f226a285372cb783c978fb3543fed898eb
-DIST nb140_platform_20220908.zip 25886909 BLAKE2B 28cf8180eddd81fcfee513faf19e4a9ec2f3b7c35ad1ee23fe89bf6b5611432c3f41e9376b733ec5504fce1258e7dd27e0c229d291a5fbed3755df7fe0e99421 SHA512 cc2b320caa8fa0b4dbc5469e44453f1a586b6713af3bca799a654c7d1223741eab3a463fe53c955fb5639ec580f73ed93a7cc0ac26ce5dd84d55c418e024523e
DIST nb140_platform_20230511.zip 25886135 BLAKE2B 1b40f39dcb3d89cc91d2e90b5df87d393344606fb97f073630a7d160ab5ed35ba31966c4960ff3c657a75375b518f1667e2fca597626192e8cdc1dabfec1a63d SHA512 9781af27d4492dc84d65b9bc8bbda0ad42c22e32c29e14c6a55c4d94650d20798ee7a7fccf83150c88e7c428b8626c1767b21a1af230bc035496e65512d36442
-DIST visualvm-2.1.6.tar.gz 11610216 BLAKE2B 60e87e1219cd1f39bd8d86ec35d07f4298f8378f3c16354570c8f3422cf7e4a3ed42d0a88d8d33290d226a8d92ec9eea3cf85713281c826aafb7610b1e0b42ca SHA512 3257b1890aab185aa28e226679bc78858f154022d49c8a4dd2ee2a5ec04afc4a5ac9633248f1aa1abcb8a457f5e612f223f4a03fdd54e6b8beb329c79dd0574c
DIST visualvm-2.1.7.tar.gz 11617370 BLAKE2B 3a6bdffbbfa63de2290551a285c78f28239367163b71ffa8d8b9660cc149463c2aa85fdad028f35c25da640e8d2374aee56a8a572bdc90116e14bdad95b24e58 SHA512 3164021ecb4f65a0d263f76f9644e0563c97903bc1cb046bd5c9a99ee3b6fc6a0adeb048b65ff7f7599cd13c8744aa927622f3c28cb1db815af22bc99272d22c
-EBUILD visualvm-2.1.6.ebuild 4744 BLAKE2B 3577ca3868caa773a0e1bb0b7f332fce7c4f4f43228652e72ed269dac36963ed26de6a8a12eecdc1d583ea54dfe256febf15f4e4a1ddba724c855081d7bd9e6a SHA512 115c539d003b70e31c9d48eedc59ffdb3590e1dd60d29b67f0e6c61ccabbd6f4939531a800b846dd3ad9df2c21f2960ec07e77982450881ade481a21f45589f1
EBUILD visualvm-2.1.7-r1.ebuild 5044 BLAKE2B e22dbbef9fb3fb5c006cbf5203b11c8e330c14e8ba7b1de8c806a9126eb01dba6de134465e791914893208cadc5379d100bca91d58b0cb7000e4c8d5fbfe8cb2 SHA512 de36a8e249671c43f83d09a35f8e27ec7dc77c221477f2af652d0af3a185951fc1e6c86444b30acfab264591e0ef45ab5a45fc3c0ec673fdb2fad5051e7c9c6d
-EBUILD visualvm-2.1.7.ebuild 4734 BLAKE2B bf24797fb7be046ed661f2f0a9431d1a59141192f6ac06640a588c70bd92bf8ef9cd359446fdc1ea5c49770fe16c785d959846d2dab6af88b57db958b9a8168d SHA512 dda7804ba48951f115ce13f3a5beb7a07b4313d55f63479efd3d23d56a55958efa0778f2e369e4d11e9a495862424010916a1f06b734d7d2fc25086bb08de74f
MISC metadata.xml 317 BLAKE2B e5f32379a40e3c2180df4f3ac4e7ea03a7dbfe69b1cb6537c1693262cc06e6334959abfb68f888c588fa933f60e85f137355bb57ff769107dfe805595d1a3ad1 SHA512 605d7206793c3d865547b69f9715305d46d433d18096b886b362d2d86adf4eda894c23af1819b6af95423fbe2a37781d1d100a9df9f15a01942f66c73dc2fa2c
diff --git a/dev-util/visualvm/visualvm-2.1.6.ebuild b/dev-util/visualvm/visualvm-2.1.6.ebuild
deleted file mode 100644
index e20de7774c73..000000000000
--- a/dev-util/visualvm/visualvm-2.1.6.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NBV=140
-NBT=20220908
-NBZ=nb${NBV}_platform_${NBT}.zip
-FLIGHT_RECORDER_VERSION="8.3.0"
-FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
-COMMON_VERSION="8.3.0"
-COMMON_FILE="common-${COMMON_VERSION}.jar"
-ENCODER_VERSION="1.2.3"
-ENCODER_FILE="encoder-${ENCODER_VERSION}.jar"
-LZ4_JAVA_VERSION="1.8.0"
-LZ4_JAVA_FILE="lz4-java-${LZ4_JAVA_VERSION}.jar"
-
-inherit java-pkg-2 java-ant-2 desktop
-
-DESCRIPTION="Integrates commandline JDK tools and profiling capabilities"
-HOMEPAGE="https://visualvm.github.io"
-
-SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/oracle/${PN}/releases/download/$(ver_cut 1-2).5/${NBZ}
- https://repo1.maven.org/maven2/org/openjdk/jmc/flightrecorder/${FLIGHT_RECORDER_VERSION}/${FLIGHT_RECORDER_FILE}
- https://repo1.maven.org/maven2/org/openjdk/jmc/common/${COMMON_VERSION}/${COMMON_FILE}
- https://repo1.maven.org/maven2/org/owasp/encoder/encoder/${ENCODER_VERSION}/${ENCODER_FILE}"
-
-LICENSE="GPL-2-with-linking-exception"
-SLOT="7"
-KEYWORDS="amd64"
-
-COMMON_DEPEND="
- dev-java/lz4-java:0
-"
-
-RDEPEND="
- ${COMMON_DEPEND}
- dev-java/asm:9
- dev-java/hamcrest-core:1.3
- dev-java/jcommander:0
- dev-java/jna:4
- dev-java/junit:4
- dev-java/junit:5
- dev-java/testng:0
- >=virtual/jre-1.8:*"
-
-# it does not compile with java 11
-DEPEND="
- ${COMMON_DEPEND}
- virtual/jdk:1.8"
-
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${P}/${PN}"
-
-QA_PREBUILT="
- /usr/share/visualvm/cluster/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so
- /usr/share/visualvm/cluster/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
- /usr/share/visualvm/platform/modules/lib/aarch64/linux/libjnidispatch-nb.so
- /usr/share/visualvm/platform/modules/lib/amd64/linux/libjnidispatch-nb.so
- /usr/share/visualvm/platform/modules/lib/riscv64/linux/libjnidispatch-nb.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}
-}
-
-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 ${FLIGHT_RECORDER_FILE} ${COMMON_FILE} ${ENCODER_FILE}; do
- ln -s "${DISTDIR}/${file}" jfr.generic/external/ || die "Failed to link file ${file}"
- done
-
- java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
- || die "Failed to link lz4 java jar"
-}
-
-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"
-
- # replace bundled stuff
- pushd "${ED}/${INSTALL_DIR}/platform/core" > /dev/null || die
- for name in asm{,-commons,-tree}; do
- rm ${name}-9.2.jar && java-pkg_jar-from asm-9 ${name}.jar ${name}-9.2.jar || die
- done
- popd > /dev/null
-
- pushd "${ED}/${INSTALL_DIR}/platform/modules/ext" > /dev/null || die
- rm hamcrest-core-1.3.jar && java-pkg_jar-from hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar || die
- rm jcommander-1.78.jar && java-pkg_jar-from jcommander jcommander.jar jcommander-1.78.jar || die
- for name in jna{,-platform}; do
- rm ${name}-5.12.1.jar && java-pkg_jar-from jna-4 ${name}.jar ${name}-5.12.1.jar || die
- done
- rm junit-4.13.2.jar && java-pkg_jar-from junit-4 junit.jar junit-4.13.2.jar || die
- for name in junit-jupiter-{api,engine,params}; do
- rm ${name}-5.6.0.jar && java-pkg_jar-from junit-5 ${name}.jar ${name}-5.6.0.jar || die
- done
- rm testng-6.14.3.jar && java-pkg_jar-from testng testng.jar testng-6.14.3.jar || die
- popd > /dev/null
-
- pushd "${ED}/${INSTALL_DIR}/cluster/modules/ext" > /dev/null || die
- rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
- popd > /dev/null
-
- # visualvm runtime script
- newbin "${FILESDIR}"/${PN}-r2.sh ${PN}
-
- # makes visualvm entry
- make_desktop_entry ${PN} VisualVM java "Development;Java;"
-}
diff --git a/dev-util/visualvm/visualvm-2.1.7.ebuild b/dev-util/visualvm/visualvm-2.1.7.ebuild
deleted file mode 100644
index 68089aec4f35..000000000000
--- a/dev-util/visualvm/visualvm-2.1.7.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NBV=140
-NBT=20230511
-NBZ=nb${NBV}_platform_${NBT}.zip
-FLIGHT_RECORDER_VERSION="8.3.0"
-FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
-COMMON_VERSION="8.3.0"
-COMMON_FILE="common-${COMMON_VERSION}.jar"
-ENCODER_VERSION="1.2.3"
-ENCODER_FILE="encoder-${ENCODER_VERSION}.jar"
-LZ4_JAVA_VERSION="1.8.0"
-LZ4_JAVA_FILE="lz4-java-${LZ4_JAVA_VERSION}.jar"
-
-inherit java-pkg-2 java-ant-2 desktop
-
-DESCRIPTION="Integrates commandline JDK tools and profiling capabilities"
-HOMEPAGE="https://visualvm.github.io"
-
-SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/oracle/${PN}/releases/download/${PV}/${NBZ}
- https://repo1.maven.org/maven2/org/openjdk/jmc/flightrecorder/${FLIGHT_RECORDER_VERSION}/${FLIGHT_RECORDER_FILE}
- https://repo1.maven.org/maven2/org/openjdk/jmc/common/${COMMON_VERSION}/${COMMON_FILE}
- https://repo1.maven.org/maven2/org/owasp/encoder/encoder/${ENCODER_VERSION}/${ENCODER_FILE}"
-
-LICENSE="GPL-2-with-linking-exception"
-SLOT="7"
-KEYWORDS="~amd64"
-
-COMMON_DEPEND="
- dev-java/lz4-java:0
-"
-
-RDEPEND="
- ${COMMON_DEPEND}
- dev-java/asm:9
- dev-java/hamcrest-core:1.3
- dev-java/jcommander:0
- dev-java/jna:4
- dev-java/junit:4
- dev-java/junit:5
- dev-java/testng:0
- >=virtual/jre-1.8:*"
-
-# it does not compile with java 11
-DEPEND="
- ${COMMON_DEPEND}
- virtual/jdk:1.8"
-
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${P}/${PN}"
-
-QA_PREBUILT="
- /usr/share/visualvm/cluster/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so
- /usr/share/visualvm/cluster/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
- /usr/share/visualvm/platform/modules/lib/aarch64/linux/libjnidispatch-nb.so
- /usr/share/visualvm/platform/modules/lib/amd64/linux/libjnidispatch-nb.so
- /usr/share/visualvm/platform/modules/lib/riscv64/linux/libjnidispatch-nb.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}
-}
-
-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 ${FLIGHT_RECORDER_FILE} ${COMMON_FILE} ${ENCODER_FILE}; do
- ln -s "${DISTDIR}/${file}" jfr.generic/external/ || die "Failed to link file ${file}"
- done
-
- java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
- || die "Failed to link lz4 java jar"
-}
-
-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"
-
- # replace bundled stuff
- pushd "${ED}/${INSTALL_DIR}/platform/core" > /dev/null || die
- for name in asm{,-commons,-tree}; do
- rm ${name}-9.2.jar && java-pkg_jar-from asm-9 ${name}.jar ${name}-9.2.jar || die
- done
- popd > /dev/null
-
- pushd "${ED}/${INSTALL_DIR}/platform/modules/ext" > /dev/null || die
- rm hamcrest-core-1.3.jar && java-pkg_jar-from hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar || die
- rm jcommander-1.78.jar && java-pkg_jar-from jcommander jcommander.jar jcommander-1.78.jar || die
- for name in jna{,-platform}; do
- rm ${name}-5.12.1.jar && java-pkg_jar-from jna-4 ${name}.jar ${name}-5.12.1.jar || die
- done
- rm junit-4.13.2.jar && java-pkg_jar-from junit-4 junit.jar junit-4.13.2.jar || die
- for name in junit-jupiter-{api,engine,params}; do
- rm ${name}-5.6.0.jar && java-pkg_jar-from junit-5 ${name}.jar ${name}-5.6.0.jar || die
- done
- rm testng-6.14.3.jar && java-pkg_jar-from testng testng.jar testng-6.14.3.jar || die
- popd > /dev/null
-
- pushd "${ED}/${INSTALL_DIR}/cluster/modules/ext" > /dev/null || die
- rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
- popd > /dev/null
-
- # visualvm runtime script
- newbin "${FILESDIR}"/${PN}-r2.sh ${PN}
-
- # makes visualvm entry
- make_desktop_entry ${PN} VisualVM java "Development;Java;"
-}