public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2017-04-26 15:42 Jeroen Roovers
  0 siblings, 0 replies; 36+ messages in thread
From: Jeroen Roovers @ 2017-04-26 15:42 UTC (permalink / raw
  To: gentoo-commits

commit:     ec191bd72aa8e70e1e7bdabb602bebd4a7e29d6e
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 26 15:42:18 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Apr 26 15:42:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec191bd7

dev-util/visualvm: Typo.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-util/visualvm/metadata.xml             | 2 +-
 dev-util/visualvm/visualvm-1.3.8-r1.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/visualvm/metadata.xml b/dev-util/visualvm/metadata.xml
index d9f28df8af9..9ef97ae66fd 100644
--- a/dev-util/visualvm/metadata.xml
+++ b/dev-util/visualvm/metadata.xml
@@ -5,5 +5,5 @@
 	<email>java@gentoo.org</email>
 	<name>Java</name>
 </maintainer>
-<longdescription>The IcedTea project provides a harness to build the source code from VisualVM. </longdescription>
+<longdescription>The IcedTea project provides a harness to build the source code from VisualVM.</longdescription>
 </pkgmetadata>

diff --git a/dev-util/visualvm/visualvm-1.3.8-r1.ebuild b/dev-util/visualvm/visualvm-1.3.8-r1.ebuild
index 95b49586df6..911a74a645a 100644
--- a/dev-util/visualvm/visualvm-1.3.8-r1.ebuild
+++ b/dev-util/visualvm/visualvm-1.3.8-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
 inherit java-pkg-2 java-ant-2
 
-DESCRIPTION="Integrates commandline JDK tools and profiling capabilites"
+DESCRIPTION="Integrates commandline JDK tools and profiling capabilities"
 HOMEPAGE="http://visualvm.java.net/"
 SRC_URI="https://java.net/downloads/visualvm/release138/visualvm_138-src.tar.gz"
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2017-11-03 20:23 James Le Cuirot
  0 siblings, 0 replies; 36+ messages in thread
From: James Le Cuirot @ 2017-11-03 20:23 UTC (permalink / raw
  To: gentoo-commits

commit:     f14c97db3ec43210195a105cddb6341622a6db61
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  3 20:22:46 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Nov  3 20:23:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14c97db

dev-util/visualvm: Fix changed manifest on source tarball

I don't know why this changed but I compared the tarballs and couldn't
find a single tangible difference between them.

Closes: https://bugs.gentoo.org/show_bug.cgi?id=636418
Package-Manager: Portage-2.3.13, Repoman-2.3.2

 dev-util/visualvm/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index c2a7b2d4dc4..350ec38a288 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,3 +1,3 @@
 DIST nb802_visualvm_02102016.zip 23257637 SHA256 9f5cfe0d8c4f7a01c7b7df0f04e7c12f860b8e2efa9136dcfa105e00b90b873b SHA512 e33dba0cdfb509e9351fac343a4fbec07d3a893b6f484d0aeab972aefe41b061422dba8695003c6ca33db52d5be2f4ce218ea4fc7129f67dbd48c991c35349b5 WHIRLPOOL 7012d24b74bc92221ce257357bb3f69dfc360422512e6f3ada164f5bd5b76f4056a5a6f2308c87da891d2a1a561d1c15ae734e63e015635ec78bc7eb20ed96fa
-DIST visualvm-1.3.9.tar.gz 3622508 SHA256 92006824ba3b79ad86d543a81a5cdbcdf1cc8f6243a613c252eb1416287ff82f SHA512 884c04952dbb418de1bcd68b584f9053f03bd72ed6a9327d9f80897eee4f338a71343836efdd7a8172377552ab1f11d34c75c8804dd31da3fb67ee83c6edbf74 WHIRLPOOL b74b4e5f6c9967664d7150fd9411b0121ea3990e112f23ea75a4e2266c9cfd27003273315dd7845156e69ddea9da05f265c3b3c151059723f8ad4f5e755000c6
+DIST visualvm-1.3.9.tar.gz 3623394 SHA256 6f4bcd525c1adb05310bf344a75105c05a06e2c81061877d3dab74e2abc954c9 SHA512 580e2f3dd7cab1f71c8ae3004101c1067d04a7b4c164e6a59bbe95ca927dd275b8b4389e724cb7d8b38586986762126f261abc1779fb229a778c1c8db0f20387 WHIRLPOOL 8de1a38c9afacd20cbca161888996329a38dee9fd63e5d8880fb94cb0f793e3e3068bdd90f4c03b5e97ca81615b72316a6283691550d70488e32995f70575ed9
 DIST visualvm_138-src.tar.gz 1052176 SHA256 e34cd0425d74055e03394c572735067d3b98095ed5c04268707b52f1dc7c6144 SHA512 f418fcd3316f793c6fc77c6bcdf1e53dc543f7de2ee638f3d500a4de61505246fd07829b25cdf988836f515b72c59c71a2a4fecbb569910e9203e5b490e837a1 WHIRLPOOL c2d83fd92687d07d2f240d4a6c1f150471041e0e0ab1c13f7cd1804a98d3565ed1df29c5124002ced0c403fec98b5464f8ad113cc76ae264d95413c81c4dc129


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2018-05-29 20:26 Patrice Clement
  0 siblings, 0 replies; 36+ messages in thread
From: Patrice Clement @ 2018-05-29 20:26 UTC (permalink / raw
  To: gentoo-commits

commit:     a61991f7ba6b1af9bb69f0c82a4e6510774345b6
Author:     Guido Jäkel <g.jaekel <AT> dnb <DOT> de>
AuthorDate: Tue May  8 11:00:04 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue May 29 20:26:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61991f7

dev-util/visualvm: version bump.

Derived from visualvm-1.3.9.ebuild.

This time, the Netbeans platform archive is included in the main archive
upstream.

Closes: https://github.com/gentoo/gentoo/pull/8316

 dev-util/visualvm/Manifest              |  1 +
 dev-util/visualvm/visualvm-1.4.1.ebuild | 65 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 04645c28c48..17e25d96eae 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,2 +1,3 @@
 DIST nb802_visualvm_02102016.zip 23257637 BLAKE2B b18570b69a646c975c4b93028438cb7827f82e4e8d7d02bd11a76faf2a40164b9171626a1bd3b0664a216a30e27ff8b14d68941c8eff92e426fb92a45fb95687 SHA512 e33dba0cdfb509e9351fac343a4fbec07d3a893b6f484d0aeab972aefe41b061422dba8695003c6ca33db52d5be2f4ce218ea4fc7129f67dbd48c991c35349b5
 DIST visualvm-1.3.9.tar.gz 3623394 BLAKE2B 8132447427b4abd206a825b4ce45ac54055cbb761a03624438baed7f58decb370d36bd13bb233638daad55086e04e01502b971fd0c95a31648a5b0795d8eb30f SHA512 580e2f3dd7cab1f71c8ae3004101c1067d04a7b4c164e6a59bbe95ca927dd275b8b4389e724cb7d8b38586986762126f261abc1779fb229a778c1c8db0f20387
+DIST visualvm-1.4.1.tar.gz 56752632 BLAKE2B cd171a48a0a9af440c27f2968ce27c5f89af3769046258629ba384ebbfc1c2ecb9847678af9d69bea5847fe1098e9039f35d350fb6f5d112e9236a6510c52bc7 SHA512 de8cf37e619e15c3a30c5116d49becddc09b54062aa22709e412892cf78e3048777116a8388dc6f63609d11bfb6fe37176fe48f5e3263a4dbce8439df676ef15

diff --git a/dev-util/visualvm/visualvm-1.4.1.ebuild b/dev-util/visualvm/visualvm-1.4.1.ebuild
new file mode 100644
index 00000000000..b29eb860b65
--- /dev/null
+++ b/dev-util/visualvm/visualvm-1.4.1.ebuild
@@ -0,0 +1,65 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+NBV=90
+NBT=24042018
+NBZ=nb${NBV}_${PN}_${NBT}.zip
+
+inherit java-pkg-2 java-ant-2
+
+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}"
+SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="7"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=virtual/jre-1.7"
+
+DEPEND="
+	>=virtual/jdk-1.7"
+
+S="${WORKDIR}/${P}/${PN}"
+
+EANT_BUILD_TARGET=build
+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 netbeans/profiler/lib/deployed/jdk1? -mindepth 1 \
+         -maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die
+}
+
+src_install() {
+    # this is the visualvm cluster
+    insinto ${INSTALL_DIR}
+    doins -r build/cluster netbeans/{platform,profiler}
+
+    # configuration file that can be used to tweak visualvm startup parameters
+    insinto /etc/${PN}
+    newins "${FILESDIR}"/${PN}-r1.conf ${PN}.conf
+
+    # visualvm runtime script
+    newbin "${FILESDIR}"/${PN}-r1.sh ${PN}
+
+    # makes visualvm entry
+    make_desktop_entry ${PN} VisualVM java "Development;Java;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2018-06-07 20:34 James Le Cuirot
  0 siblings, 0 replies; 36+ messages in thread
From: James Le Cuirot @ 2018-06-07 20:34 UTC (permalink / raw
  To: gentoo-commits

commit:     34aaab74cca6f902259ecd6ccda6c364a5ebcdec
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jun  7 19:50:56 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jun  7 20:34:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34aaab74

dev-util/visualvm: fix header and leading spaces

Closes: https://github.com/gentoo/gentoo/pull/8746

 dev-util/visualvm/visualvm-1.4.1.ebuild | 41 +++++++++++++++++----------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/dev-util/visualvm/visualvm-1.4.1.ebuild b/dev-util/visualvm/visualvm-1.4.1.ebuild
index b29eb860b65..a33b5289f77 100644
--- a/dev-util/visualvm/visualvm-1.4.1.ebuild
+++ b/dev-util/visualvm/visualvm-1.4.1.ebuild
@@ -1,3 +1,4 @@
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,34 +33,34 @@ EANT_BUILD_TARGET=build
 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
+	unpack ${P}.tar.gz
+	cd "${S}" || die
+	# unpack ${NBZ}
+	unpack "${S}"/"${NBZ}"  # archive is included in the main archive
 }
 
 src_prepare() {
-    default
+	default
 
-    # Remove unneeded binaries
-    rm -rv netbeans/platform/lib/*.{dll,exe} \
-       netbeans/platform/modules/lib/{amd64/*.dll,i386,x86} || die
-    find netbeans/profiler/lib/deployed/jdk1? -mindepth 1 \
-         -maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die
+	# Remove unneeded binaries
+	rm -rv netbeans/platform/lib/*.{dll,exe} \
+		netbeans/platform/modules/lib/{amd64/*.dll,i386,x86} || die
+	find netbeans/profiler/lib/deployed/jdk1? -mindepth 1 \
+		-maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die
 }
 
 src_install() {
-    # this is the visualvm cluster
-    insinto ${INSTALL_DIR}
-    doins -r build/cluster netbeans/{platform,profiler}
+	# this is the visualvm cluster
+	insinto ${INSTALL_DIR}
+	doins -r build/cluster netbeans/{platform,profiler}
 
-    # configuration file that can be used to tweak visualvm startup parameters
-    insinto /etc/${PN}
-    newins "${FILESDIR}"/${PN}-r1.conf ${PN}.conf
+	# configuration file that can be used to tweak visualvm startup parameters
+	insinto /etc/${PN}
+	newins "${FILESDIR}"/${PN}-r1.conf ${PN}.conf
 
-    # visualvm runtime script
-    newbin "${FILESDIR}"/${PN}-r1.sh ${PN}
+	# visualvm runtime script
+	newbin "${FILESDIR}"/${PN}-r1.sh ${PN}
 
-    # makes visualvm entry
-    make_desktop_entry ${PN} VisualVM java "Development;Java;"
+	# makes visualvm entry
+	make_desktop_entry ${PN} VisualVM java "Development;Java;"
 }


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2018-06-07 20:37 James Le Cuirot
  0 siblings, 0 replies; 36+ messages in thread
From: James Le Cuirot @ 2018-06-07 20:37 UTC (permalink / raw
  To: gentoo-commits

commit:     bb9c8c86c712f0b45426c73b973c745f1e618e1d
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  7 20:37:32 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jun  7 20:37:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb9c8c86

dev-util/visualvm: Drop old 1.3.9

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/visualvm/Manifest              |  2 --
 dev-util/visualvm/visualvm-1.3.9.ebuild | 58 ---------------------------------
 2 files changed, 60 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 17e25d96eae..4d0f5918aca 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,3 +1 @@
-DIST nb802_visualvm_02102016.zip 23257637 BLAKE2B b18570b69a646c975c4b93028438cb7827f82e4e8d7d02bd11a76faf2a40164b9171626a1bd3b0664a216a30e27ff8b14d68941c8eff92e426fb92a45fb95687 SHA512 e33dba0cdfb509e9351fac343a4fbec07d3a893b6f484d0aeab972aefe41b061422dba8695003c6ca33db52d5be2f4ce218ea4fc7129f67dbd48c991c35349b5
-DIST visualvm-1.3.9.tar.gz 3623394 BLAKE2B 8132447427b4abd206a825b4ce45ac54055cbb761a03624438baed7f58decb370d36bd13bb233638daad55086e04e01502b971fd0c95a31648a5b0795d8eb30f SHA512 580e2f3dd7cab1f71c8ae3004101c1067d04a7b4c164e6a59bbe95ca927dd275b8b4389e724cb7d8b38586986762126f261abc1779fb229a778c1c8db0f20387
 DIST visualvm-1.4.1.tar.gz 56752632 BLAKE2B cd171a48a0a9af440c27f2968ce27c5f89af3769046258629ba384ebbfc1c2ecb9847678af9d69bea5847fe1098e9039f35d350fb6f5d112e9236a6510c52bc7 SHA512 de8cf37e619e15c3a30c5116d49becddc09b54062aa22709e412892cf78e3048777116a8388dc6f63609d11bfb6fe37176fe48f5e3263a4dbce8439df676ef15

diff --git a/dev-util/visualvm/visualvm-1.3.9.ebuild b/dev-util/visualvm/visualvm-1.3.9.ebuild
deleted file mode 100644
index 7fe5e09f173..00000000000
--- a/dev-util/visualvm/visualvm-1.3.9.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-NBV=802
-NBT=02102016
-NBZ=nb${NBV}_${PN}_${NBT}.zip
-
-inherit java-pkg-2 java-ant-2
-
-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}"
-LICENSE="GPL-2-with-linking-exception"
-SLOT="7"
-KEYWORDS="~amd64"
-
-RDEPEND=">=virtual/jre-1.7"
-DEPEND=">=virtual/jdk-1.7
-	app-arch/unzip"
-
-S=${WORKDIR}/${P}/${PN}
-EANT_BUILD_TARGET=build
-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 netbeans/profiler/lib/deployed/jdk1? -mindepth 1 \
-		 -maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die
-}
-
-src_install() {
-	# this is the visualvm cluster
-	insinto ${INSTALL_DIR}
-	doins -r build/cluster netbeans/{platform,profiler}
-
-	# configuration file that can be used to tweak visualvm startup parameters
-	insinto /etc/${PN}
-	newins "${FILESDIR}"/${PN}-r1.conf ${PN}.conf
-
-	# visualvm runtime script
-	newbin "${FILESDIR}"/${PN}-r1.sh ${PN}
-
-	# makes visualvm entry
-	make_desktop_entry ${PN} VisualVM java "Development;Java;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2021-07-04  3:54 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2021-07-04  3:54 UTC (permalink / raw
  To: gentoo-commits

commit:     696120f42096fda5c7567a4425a2cb6a35e5e95e
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  4 03:53:41 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Jul  4 03:53:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696120f4

dev-util/visualvm: bump to 2.0.7

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |  1 +
 dev-util/visualvm/visualvm-2.0.7.ebuild | 72 +++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index a788c8273c0..2c04d2fa6b8 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1 +1,2 @@
 DIST visualvm-2.0.6.tar.gz 39086223 BLAKE2B f5657d4ccc0063281226b4d70c35820c78333db5574bae5acadc321938cfe42a3e0e4c1752badcc3e01b5694f6081213f5da898f5a13587d44e36d18fbd5c2c7 SHA512 03ad628f753e31f26217366d8f5f184f4657ba55badd55f1466dbf00cda61e9c320cc8ddb82b228863b9c6416aec3e94a01c5429e2b2f4664c9daaccd02f5d7b
+DIST visualvm-2.0.7.tar.gz 39155599 BLAKE2B 8a460cb161357114d829d41a7e4b2306e9e0023a6995aceed89cc12fc0b54d5e05402bc1b8c72d4cb3caba5a4844bfbebb4734d7f7c5663343dfb3bd4470945a SHA512 d75217fb1b2a8c4d1c44b600dc42d488be8447fc569f78c10c59954c7c64f8e1ccdeef2e6a7936e7708b9392bbd7634d7149c6d6cc797df1f0036c6c473398ff

diff --git a/dev-util/visualvm/visualvm-2.0.7.ebuild b/dev-util/visualvm/visualvm-2.0.7.ebuild
new file mode 100644
index 00000000000..e132e704c5c
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.0.7.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+NBV=113
+NBT=27102020
+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}"
+SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+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
+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
+}
+
+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 "${FILESDIR}"/${PN}-r2.conf ${PN}.conf
+
+	# visualvm runtime script
+	newbin "${FILESDIR}"/${PN}-r2.sh ${PN}
+
+	# makes visualvm entry
+	make_desktop_entry ${PN} VisualVM java "Development;Java;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2021-07-22 10:13 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2021-07-22 10:13 UTC (permalink / raw
  To: gentoo-commits

commit:     413c8e56d85559a749f0135fbe8ec84e4b5cea45
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 22 10:13:41 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Jul 22 10:13:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413c8e56

dev-util/visualvm: bump to 2.1

also now using provided visualvm.conf instead of ours,
with our modifications applied to the file

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest            |  1 +
 dev-util/visualvm/visualvm-2.1.ebuild | 75 +++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 2c04d2fa6b8..553ea551a6c 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,2 +1,3 @@
 DIST visualvm-2.0.6.tar.gz 39086223 BLAKE2B f5657d4ccc0063281226b4d70c35820c78333db5574bae5acadc321938cfe42a3e0e4c1752badcc3e01b5694f6081213f5da898f5a13587d44e36d18fbd5c2c7 SHA512 03ad628f753e31f26217366d8f5f184f4657ba55badd55f1466dbf00cda61e9c320cc8ddb82b228863b9c6416aec3e94a01c5429e2b2f4664c9daaccd02f5d7b
 DIST visualvm-2.0.7.tar.gz 39155599 BLAKE2B 8a460cb161357114d829d41a7e4b2306e9e0023a6995aceed89cc12fc0b54d5e05402bc1b8c72d4cb3caba5a4844bfbebb4734d7f7c5663343dfb3bd4470945a SHA512 d75217fb1b2a8c4d1c44b600dc42d488be8447fc569f78c10c59954c7c64f8e1ccdeef2e6a7936e7708b9392bbd7634d7149c6d6cc797df1f0036c6c473398ff
+DIST visualvm-2.1.tar.gz 37175908 BLAKE2B 2bc435b09af9061122eb62a8de4b4b9ce47bb8cc2b7e2bfba57767bee380f6db041ec758a54f5a90e21d9ee3a5e6db5af8c0f89fc347d8e49322caeb07db4233 SHA512 ae662df96224a366c54210b85d6a859fd7412ea6ebbbb4d6a5e6b1a75c04a8060ac08a524d8e58aa9a037ecebf7ada142d9633db389cd5332742a21d26e5ed17

diff --git a/dev-util/visualvm/visualvm-2.1.ebuild b/dev-util/visualvm/visualvm-2.1.ebuild
new file mode 100644
index 00000000000..d72289ba971
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.ebuild
@@ -0,0 +1,75 @@
+# 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}"
+SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+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
+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
+}
+
+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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2021-08-04 18:42 Agostino Sarubbo
  0 siblings, 0 replies; 36+ messages in thread
From: Agostino Sarubbo @ 2021-08-04 18:42 UTC (permalink / raw
  To: gentoo-commits

commit:     18d4623a4b7979bc6d19fd97510c5b0d7ad3502e
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  4 18:42:28 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Aug  4 18:42:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d4623a

dev-util/visualvm: amd64 stable wrt bug #806330

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.0.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.0.7.ebuild b/dev-util/visualvm/visualvm-2.0.7.ebuild
index e132e704c5c..001ed43cc6e 100644
--- a/dev-util/visualvm/visualvm-2.0.7.ebuild
+++ b/dev-util/visualvm/visualvm-2.0.7.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="7"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
 	>=virtual/jre-1.8"


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2021-08-05  4:52 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2021-08-05  4:52 UTC (permalink / raw
  To: gentoo-commits

commit:     ee59a7452fa3246cf59dc2106ab5f404a2389377
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  5 04:52:41 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Aug  5 04:52:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee59a745

dev-util/visualvm: removed obsolete 2.0.6

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |  1 -
 dev-util/visualvm/visualvm-2.0.6.ebuild | 72 ---------------------------------
 2 files changed, 73 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 553ea551a6c..6d99752de46 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,3 +1,2 @@
-DIST visualvm-2.0.6.tar.gz 39086223 BLAKE2B f5657d4ccc0063281226b4d70c35820c78333db5574bae5acadc321938cfe42a3e0e4c1752badcc3e01b5694f6081213f5da898f5a13587d44e36d18fbd5c2c7 SHA512 03ad628f753e31f26217366d8f5f184f4657ba55badd55f1466dbf00cda61e9c320cc8ddb82b228863b9c6416aec3e94a01c5429e2b2f4664c9daaccd02f5d7b
 DIST visualvm-2.0.7.tar.gz 39155599 BLAKE2B 8a460cb161357114d829d41a7e4b2306e9e0023a6995aceed89cc12fc0b54d5e05402bc1b8c72d4cb3caba5a4844bfbebb4734d7f7c5663343dfb3bd4470945a SHA512 d75217fb1b2a8c4d1c44b600dc42d488be8447fc569f78c10c59954c7c64f8e1ccdeef2e6a7936e7708b9392bbd7634d7149c6d6cc797df1f0036c6c473398ff
 DIST visualvm-2.1.tar.gz 37175908 BLAKE2B 2bc435b09af9061122eb62a8de4b4b9ce47bb8cc2b7e2bfba57767bee380f6db041ec758a54f5a90e21d9ee3a5e6db5af8c0f89fc347d8e49322caeb07db4233 SHA512 ae662df96224a366c54210b85d6a859fd7412ea6ebbbb4d6a5e6b1a75c04a8060ac08a524d8e58aa9a037ecebf7ada142d9633db389cd5332742a21d26e5ed17

diff --git a/dev-util/visualvm/visualvm-2.0.6.ebuild b/dev-util/visualvm/visualvm-2.0.6.ebuild
deleted file mode 100644
index 001ed43cc6e..00000000000
--- a/dev-util/visualvm/visualvm-2.0.6.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-NBV=113
-NBT=27102020
-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}"
-SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-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
-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
-}
-
-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 "${FILESDIR}"/${PN}-r2.conf ${PN}.conf
-
-	# visualvm runtime script
-	newbin "${FILESDIR}"/${PN}-r2.sh ${PN}
-
-	# makes visualvm entry
-	make_desktop_entry ${PN} VisualVM java "Development;Java;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2021-08-23  5:35 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-08-23  5:35 UTC (permalink / raw
  To: gentoo-commits

commit:     e3a49e141ccb04ef7507e9d9ff792e5965b99ab1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 23 05:34:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 23 05:35:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a49e14

dev-util/visualvm: Stabilize 2.1 amd64, #809566

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.ebuild b/dev-util/visualvm/visualvm-2.1.ebuild
index d72289ba971..a89ec0c061a 100644
--- a/dev-util/visualvm/visualvm-2.1.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="7"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
 	>=virtual/jre-1.8:*"


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2021-10-26 10:31 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2021-10-26 10:31 UTC (permalink / raw
  To: gentoo-commits

commit:     d35ea2b27aa0d58f13c1886a8de103511f7a3afb
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 26 10:31:35 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Oct 26 10:31:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d35ea2b2

dev-util/visualvm: bump to 2.1.1

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |  5 ++
 dev-util/visualvm/visualvm-2.1.1.ebuild | 86 +++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 058afc81807..2063fdf82c2 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1 +1,6 @@
+DIST common-8.0.1.jar 435506 BLAKE2B e3c0db1691c9f27d39b5d0cad18707cd27e708d74d0db17a13b0ee4ddcc1d96cdd7455a8f5c69d01675434e2789fdb1870d87fffc8eae1776b396cf38c50c723 SHA512 0ee73534f08349c07a0c4c8654526030e634a3aee3175ff3986ad4e37dba0ea3b7d760582c8b612d316cf72f455596c1c50f08e6ddb2d175dc4bb12feba65b22
+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.tar.gz 37175908 BLAKE2B 2bc435b09af9061122eb62a8de4b4b9ce47bb8cc2b7e2bfba57767bee380f6db041ec758a54f5a90e21d9ee3a5e6db5af8c0f89fc347d8e49322caeb07db4233 SHA512 ae662df96224a366c54210b85d6a859fd7412ea6ebbbb4d6a5e6b1a75c04a8060ac08a524d8e58aa9a037ecebf7ada142d9633db389cd5332742a21d26e5ed17

diff --git a/dev-util/visualvm/visualvm-2.1.1.ebuild b/dev-util/visualvm/visualvm-2.1.1.ebuild
new file mode 100644
index 00000000000..545104da79b
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.1.ebuild
@@ -0,0 +1,86 @@
+# 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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2021-11-27  7:23 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-11-27  7:23 UTC (permalink / raw
  To: gentoo-commits

commit:     6a4bf5f329ab5dda28d67ca59970bab46bfa7fe9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 07:22:48 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 07:22:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a4bf5f3

dev-util/visualvm: Stabilize 2.1.1 amd64, #827394

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.1.ebuild b/dev-util/visualvm/visualvm-2.1.1.ebuild
index 545104da79b9..4335a1808c08 100644
--- a/dev-util/visualvm/visualvm-2.1.1.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.1.ebuild
@@ -24,7 +24,7 @@ SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="7"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
 	>=virtual/jre-1.8:*"


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2021-11-28  8:40 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2021-11-28  8:40 UTC (permalink / raw
  To: gentoo-commits

commit:     5de42a450bc952dff21b7f26e551efcf189004f8
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 28 08:40:52 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 08:40:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de42a45

dev-util/visualvm: removed obsolete 2.1

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest            |  1 -
 dev-util/visualvm/visualvm-2.1.ebuild | 75 -----------------------------------
 2 files changed, 76 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 2063fdf82c2d..fc8bb4faab11 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -3,4 +3,3 @@ DIST encoder-1.2.2.jar 37529 BLAKE2B 0e61c679db8c559005de726c8fc358cc5f04ab51b35
 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.tar.gz 37175908 BLAKE2B 2bc435b09af9061122eb62a8de4b4b9ce47bb8cc2b7e2bfba57767bee380f6db041ec758a54f5a90e21d9ee3a5e6db5af8c0f89fc347d8e49322caeb07db4233 SHA512 ae662df96224a366c54210b85d6a859fd7412ea6ebbbb4d6a5e6b1a75c04a8060ac08a524d8e58aa9a037ecebf7ada142d9633db389cd5332742a21d26e5ed17

diff --git a/dev-util/visualvm/visualvm-2.1.ebuild b/dev-util/visualvm/visualvm-2.1.ebuild
deleted file mode 100644
index a89ec0c061aa..000000000000
--- a/dev-util/visualvm/visualvm-2.1.ebuild
+++ /dev/null
@@ -1,75 +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}"
-SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-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
-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
-}
-
-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;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2022-01-19 10:14 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2022-01-19 10:14 UTC (permalink / raw
  To: gentoo-commits

commit:     2bd03fb65115e325b5142ec59055852cfa86e5aa
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 19 10:14:25 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Jan 19 10:14:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd03fb6

dev-util/visualvm: bump to 2.1.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |  1 +
 dev-util/visualvm/visualvm-2.1.2.ebuild | 86 +++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index fc8bb4faab11..27741bc477b3 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -3,3 +3,4 @@ DIST encoder-1.2.2.jar 37529 BLAKE2B 0e61c679db8c559005de726c8fc358cc5f04ab51b35
 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.2.ebuild b/dev-util/visualvm/visualvm-2.1.2.ebuild
new file mode 100644
index 000000000000..cc0781758a8d
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2022 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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2022-02-19 13:15 Jakov Smolić
  0 siblings, 0 replies; 36+ messages in thread
From: Jakov Smolić @ 2022-02-19 13:15 UTC (permalink / raw
  To: gentoo-commits

commit:     7768e27f03408e14624059c8a04248ef103da1fa
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 19 13:11:23 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Feb 19 13:15:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7768e27f

dev-util/visualvm: Stabilize 2.1.2 amd64, #833759

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.2.ebuild b/dev-util/visualvm/visualvm-2.1.2.ebuild
index cc0781758a8d..b05bacf59f27 100644
--- a/dev-util/visualvm/visualvm-2.1.2.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.2.ebuild
@@ -24,7 +24,7 @@ SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="7"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
 	>=virtual/jre-1.8:*"


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2022-02-19 14:23 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2022-02-19 14:23 UTC (permalink / raw
  To: gentoo-commits

commit:     87cfa71ca823a1a3b772b2d45a7de6ffe4e5a7e0
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 19 14:23:05 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> 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 <fordfrog <AT> 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;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-05-07 12:15 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2023-05-07 12:15 UTC (permalink / raw
  To: gentoo-commits

commit:     c5100f0442c74d0c6151952b774b9c5fbce681f3
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun May  7 12:14:51 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun May  7 12:14:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5100f04

dev-util/visualvm: bump to 2.1.5, eapi8, unbundled some jars

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |   5 ++
 dev-util/visualvm/visualvm-2.1.5.ebuild | 129 ++++++++++++++++++++++++++++++++
 2 files changed, 134 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 34b8bc6c8a4d..d9c928814304 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,5 +1,10 @@
 DIST common-8.0.1.jar 435506 BLAKE2B e3c0db1691c9f27d39b5d0cad18707cd27e708d74d0db17a13b0ee4ddcc1d96cdd7455a8f5c69d01675434e2789fdb1870d87fffc8eae1776b396cf38c50c723 SHA512 0ee73534f08349c07a0c4c8654526030e634a3aee3175ff3986ad4e37dba0ea3b7d760582c8b612d316cf72f455596c1c50f08e6ddb2d175dc4bb12feba65b22
+DIST common-8.2.1.jar 435008 BLAKE2B 70785320a50b5ec3fa7865187ba8dd483b709a7350d395afd4a5d1df785b678f64b1263ea6523589ab022e5fd08990dcdbc9833ff39faabb94facec1c25897d0 SHA512 c52f4290f1fe93ed7f86b45e0973e7868672a4a4802214ce76ce19089c3e70e1ad076f6c19c4ef0a76b4ff9aad7e327213975752a64438fa73e88ee258192abe
 DIST encoder-1.2.2.jar 37529 BLAKE2B 0e61c679db8c559005de726c8fc358cc5f04ab51b357fe53889cb585c8d006a77a3e24cb51043912ea9be11739ffa14de86f22d3dc4663aefee8bc75b9ff6862 SHA512 eed5529b326a9fd493032539dd50c7d60439fed0743cd567d348aa334e837d412ac10b220fd5099edcf9098fc7c684fba98b92916b9ef79831395686fd83b7dc
+DIST encoder-1.2.3.jar 37931 BLAKE2B b416d455424b3fd87c94f7f963c819d3a8d76e763c112947718514e2bc1b67b40c6cd9cc051c5cfae6b2aa1cbc92961d1bcc3565ba3dcf3bf58395d543c5aae9 SHA512 ba7887259007272c533228cec1e2c5caebd639ef05b7b8925be6a0b5a7da5859e82489af4d462153e64bf2ce1234a8d6caa606fc6e42675a41cf7a067cfc5f6b
 DIST flightrecorder-8.0.1.jar 500815 BLAKE2B af9f024e7199e7f577e75b3d40f40a3e65f8e98be768415e5832aa6e1ffcfc9ecc391ef4d3fa515411d6d3ed051f35579656bae8cf8e1aea2023d54b072c84a0 SHA512 08c98ed3444b396e6e1ae0f909378c56e2ce04741f7b7ee83e39ae8a0699802709a5419f29c3a7bd44a11caba984071ef4f0554183fd5260ed28741edd191809
+DIST flightrecorder-8.2.1.jar 524427 BLAKE2B ba854d92a8655a1bbae108dd8f2dc0ad41d2be6d57cf96cc1870b28d47a680019e27cc7b53b6e10a441205d341bd03608173949dfe1231f8e6494a91c4a41f05 SHA512 362134638a6911c18c629e72705c662497d1bdfcccd986dc395fb50629526656e83629b9801b2ed137c511883332dc8e7ecf3d1de3a50f545fe89048effc7590
 DIST lz4-java-1.7.1.jar 649950 BLAKE2B caed7593dad078fcaf3853a4dffbd540d7e5a3298b13092dee4b82a70359494584b9901da600239d65e9930e7a769adf1a45eac85033f8ca0cfcaef6a3b09544 SHA512 ff48daeca92c5a7657aa9c7fe41c5ae75a5fa0aad05c655bacb64a40acfe93ffd3d40bef16544614ce8a38db3e1df177023101773f6f7c1d32031413270e42d2
+DIST nb140_platform_20220908.zip 25886909 BLAKE2B 28cf8180eddd81fcfee513faf19e4a9ec2f3b7c35ad1ee23fe89bf6b5611432c3f41e9376b733ec5504fce1258e7dd27e0c229d291a5fbed3755df7fe0e99421 SHA512 cc2b320caa8fa0b4dbc5469e44453f1a586b6713af3bca799a654c7d1223741eab3a463fe53c955fb5639ec580f73ed93a7cc0ac26ce5dd84d55c418e024523e
 DIST visualvm-2.1.2.tar.gz 36393559 BLAKE2B ba925ddacfb1474f47d0ab393c7f8f14d18e12ef25aef82efd59a273eb8464d8758e0cc82cf41238b0356546dd03fed319b8c04366c4037fa99251d358f5e1c2 SHA512 f324bdec570f050c3df3d047cf9ab9e8565ed95150d1bcb5d86166aa221d0a3c55a2c3cdb345ddbf42b9cef35cb6a21033ed24fd203c0dbb67d2f8dc2b5f2960
+DIST visualvm-2.1.5.tar.gz 11604281 BLAKE2B 0bea756221af59bf2eac44da1aa80a0f4a53691853afa17be23f25b0bd3a8e28c86c03a4b3215e182f1ec1ae9cd9309a6367384562d7d673b4ee34f4f6d22144 SHA512 1acefcd655d2312c01684ca2016f8b476cabb2acd43a89946bf03f185a846a6c90649b2033dc4b5c94ae73c0526972111e9a0fcd2e84921d8b6b70373ec82257

diff --git a/dev-util/visualvm/visualvm-2.1.5.ebuild b/dev-util/visualvm/visualvm-2.1.5.ebuild
new file mode 100644
index 000000000000..bc1c98b7b552
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.5.ebuild
@@ -0,0 +1,129 @@
+# 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.2.1"
+FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
+COMMON_VERSION="8.2.1"
+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/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/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}
+}
+
+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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-05-08  5:38 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2023-05-08  5:38 UTC (permalink / raw
  To: gentoo-commits

commit:     4b6ae8cb47f7068c84e78fb1d7bd6a17bf9c362b
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon May  8 05:37:56 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon May  8 05:38:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b6ae8cb

dev-util/visualvm: bump to 2.1.6, dropped 2.1.5, updated QA_PREBUILT

Closes: https://bugs.gentoo.org/739046
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest                                    |  6 +++---
 .../visualvm/{visualvm-2.1.5.ebuild => visualvm-2.1.6.ebuild} | 11 +++++++----
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index d9c928814304..6861c0c94e15 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,10 +1,10 @@
 DIST common-8.0.1.jar 435506 BLAKE2B e3c0db1691c9f27d39b5d0cad18707cd27e708d74d0db17a13b0ee4ddcc1d96cdd7455a8f5c69d01675434e2789fdb1870d87fffc8eae1776b396cf38c50c723 SHA512 0ee73534f08349c07a0c4c8654526030e634a3aee3175ff3986ad4e37dba0ea3b7d760582c8b612d316cf72f455596c1c50f08e6ddb2d175dc4bb12feba65b22
-DIST common-8.2.1.jar 435008 BLAKE2B 70785320a50b5ec3fa7865187ba8dd483b709a7350d395afd4a5d1df785b678f64b1263ea6523589ab022e5fd08990dcdbc9833ff39faabb94facec1c25897d0 SHA512 c52f4290f1fe93ed7f86b45e0973e7868672a4a4802214ce76ce19089c3e70e1ad076f6c19c4ef0a76b4ff9aad7e327213975752a64438fa73e88ee258192abe
+DIST common-8.3.0.jar 438403 BLAKE2B 56d76e8115bd0022afcdd95a62a7419d1ea1f5a1aa426b8313f5d22d9458c0d30276b13fb616d1a1d19ffd322b86fef5f0fc4b3ce673deadfcbad1ba473ccbcf SHA512 58378deca55362f97dbf7313633012f40871aee5fecf9792b0284952466e7a1ee0e96f2d948c81564ba0cf92a7e16b6d164a535e89f2da732ef9231876cb4b0b
 DIST encoder-1.2.2.jar 37529 BLAKE2B 0e61c679db8c559005de726c8fc358cc5f04ab51b357fe53889cb585c8d006a77a3e24cb51043912ea9be11739ffa14de86f22d3dc4663aefee8bc75b9ff6862 SHA512 eed5529b326a9fd493032539dd50c7d60439fed0743cd567d348aa334e837d412ac10b220fd5099edcf9098fc7c684fba98b92916b9ef79831395686fd83b7dc
 DIST encoder-1.2.3.jar 37931 BLAKE2B b416d455424b3fd87c94f7f963c819d3a8d76e763c112947718514e2bc1b67b40c6cd9cc051c5cfae6b2aa1cbc92961d1bcc3565ba3dcf3bf58395d543c5aae9 SHA512 ba7887259007272c533228cec1e2c5caebd639ef05b7b8925be6a0b5a7da5859e82489af4d462153e64bf2ce1234a8d6caa606fc6e42675a41cf7a067cfc5f6b
 DIST flightrecorder-8.0.1.jar 500815 BLAKE2B af9f024e7199e7f577e75b3d40f40a3e65f8e98be768415e5832aa6e1ffcfc9ecc391ef4d3fa515411d6d3ed051f35579656bae8cf8e1aea2023d54b072c84a0 SHA512 08c98ed3444b396e6e1ae0f909378c56e2ce04741f7b7ee83e39ae8a0699802709a5419f29c3a7bd44a11caba984071ef4f0554183fd5260ed28741edd191809
-DIST flightrecorder-8.2.1.jar 524427 BLAKE2B ba854d92a8655a1bbae108dd8f2dc0ad41d2be6d57cf96cc1870b28d47a680019e27cc7b53b6e10a441205d341bd03608173949dfe1231f8e6494a91c4a41f05 SHA512 362134638a6911c18c629e72705c662497d1bdfcccd986dc395fb50629526656e83629b9801b2ed137c511883332dc8e7ecf3d1de3a50f545fe89048effc7590
+DIST flightrecorder-8.3.0.jar 532387 BLAKE2B 9ef286c53427292beea222ab75d7b8b3e36e44fed5e084d3db6a2910627e67abcdcdab18a175a43c57afc30795dcfa8059f7b0189db45371da6c2b5e635c6447 SHA512 98f4ac4799756e560f0ebf2998985ca07ffe826d925651633763358d2ced757780689b3e64d78af54851a93c270a60f226a285372cb783c978fb3543fed898eb
 DIST lz4-java-1.7.1.jar 649950 BLAKE2B caed7593dad078fcaf3853a4dffbd540d7e5a3298b13092dee4b82a70359494584b9901da600239d65e9930e7a769adf1a45eac85033f8ca0cfcaef6a3b09544 SHA512 ff48daeca92c5a7657aa9c7fe41c5ae75a5fa0aad05c655bacb64a40acfe93ffd3d40bef16544614ce8a38db3e1df177023101773f6f7c1d32031413270e42d2
 DIST nb140_platform_20220908.zip 25886909 BLAKE2B 28cf8180eddd81fcfee513faf19e4a9ec2f3b7c35ad1ee23fe89bf6b5611432c3f41e9376b733ec5504fce1258e7dd27e0c229d291a5fbed3755df7fe0e99421 SHA512 cc2b320caa8fa0b4dbc5469e44453f1a586b6713af3bca799a654c7d1223741eab3a463fe53c955fb5639ec580f73ed93a7cc0ac26ce5dd84d55c418e024523e
 DIST visualvm-2.1.2.tar.gz 36393559 BLAKE2B ba925ddacfb1474f47d0ab393c7f8f14d18e12ef25aef82efd59a273eb8464d8758e0cc82cf41238b0356546dd03fed319b8c04366c4037fa99251d358f5e1c2 SHA512 f324bdec570f050c3df3d047cf9ab9e8565ed95150d1bcb5d86166aa221d0a3c55a2c3cdb345ddbf42b9cef35cb6a21033ed24fd203c0dbb67d2f8dc2b5f2960
-DIST visualvm-2.1.5.tar.gz 11604281 BLAKE2B 0bea756221af59bf2eac44da1aa80a0f4a53691853afa17be23f25b0bd3a8e28c86c03a4b3215e182f1ec1ae9cd9309a6367384562d7d673b4ee34f4f6d22144 SHA512 1acefcd655d2312c01684ca2016f8b476cabb2acd43a89946bf03f185a846a6c90649b2033dc4b5c94ae73c0526972111e9a0fcd2e84921d8b6b70373ec82257
+DIST visualvm-2.1.6.tar.gz 11610216 BLAKE2B 60e87e1219cd1f39bd8d86ec35d07f4298f8378f3c16354570c8f3422cf7e4a3ed42d0a88d8d33290d226a8d92ec9eea3cf85713281c826aafb7610b1e0b42ca SHA512 3257b1890aab185aa28e226679bc78858f154022d49c8a4dd2ee2a5ec04afc4a5ac9633248f1aa1abcb8a457f5e612f223f4a03fdd54e6b8beb329c79dd0574c

diff --git a/dev-util/visualvm/visualvm-2.1.5.ebuild b/dev-util/visualvm/visualvm-2.1.6.ebuild
similarity index 90%
rename from dev-util/visualvm/visualvm-2.1.5.ebuild
rename to dev-util/visualvm/visualvm-2.1.6.ebuild
index bc1c98b7b552..e8d2eb5eedb0 100644
--- a/dev-util/visualvm/visualvm-2.1.5.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.6.ebuild
@@ -6,9 +6,9 @@ EAPI=8
 NBV=140
 NBT=20220908
 NBZ=nb${NBV}_platform_${NBT}.zip
-FLIGHT_RECORDER_VERSION="8.2.1"
+FLIGHT_RECORDER_VERSION="8.3.0"
 FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
-COMMON_VERSION="8.2.1"
+COMMON_VERSION="8.3.0"
 COMMON_FILE="common-${COMMON_VERSION}.jar"
 ENCODER_VERSION="1.2.3"
 ENCODER_FILE="encoder-${ENCODER_VERSION}.jar"
@@ -21,7 +21,7 @@ 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://github.com/oracle/${PN}/releases/download/2.1.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}"
@@ -54,8 +54,11 @@ 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/cluster/lib/deployed/jdk1[56]/linux-amd64/libprofilerinterface.so
+	/usr/share/visualvm/platform/modules/lib/riscv64/linux/libjnidispatch-nb.so
 "
 
 EANT_BUILD_TARGET=build


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-06-08 12:23 Arthur Zamarin
  0 siblings, 0 replies; 36+ messages in thread
From: Arthur Zamarin @ 2023-06-08 12:23 UTC (permalink / raw
  To: gentoo-commits

commit:     a584a9349d02cffbe821814f5d63f60981d50d92
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 12:22:42 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  8 12:22:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a584a934

dev-util/visualvm: Stabilize 2.1.6 amd64, #908043

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.6.ebuild b/dev-util/visualvm/visualvm-2.1.6.ebuild
index e8d2eb5eedb0..2724f40cf8be 100644
--- a/dev-util/visualvm/visualvm-2.1.6.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.6.ebuild
@@ -28,7 +28,7 @@ SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="7"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 COMMON_DEPEND="
 	dev-java/lz4-java:0


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-06-10  7:34 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2023-06-10  7:34 UTC (permalink / raw
  To: gentoo-commits

commit:     d94a82675b9589432f6a7059f13409d11b0886b4
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 07:31:18 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 07:34:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d94a8267

dev-util/visualvm: dropped obsolete 2.1.2

Bug: https://bugs.gentoo.org/908043
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |  5 --
 dev-util/visualvm/visualvm-2.1.2.ebuild | 86 ---------------------------------
 2 files changed, 91 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 6861c0c94e15..5d9a6288124f 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,10 +1,5 @@
-DIST common-8.0.1.jar 435506 BLAKE2B e3c0db1691c9f27d39b5d0cad18707cd27e708d74d0db17a13b0ee4ddcc1d96cdd7455a8f5c69d01675434e2789fdb1870d87fffc8eae1776b396cf38c50c723 SHA512 0ee73534f08349c07a0c4c8654526030e634a3aee3175ff3986ad4e37dba0ea3b7d760582c8b612d316cf72f455596c1c50f08e6ddb2d175dc4bb12feba65b22
 DIST common-8.3.0.jar 438403 BLAKE2B 56d76e8115bd0022afcdd95a62a7419d1ea1f5a1aa426b8313f5d22d9458c0d30276b13fb616d1a1d19ffd322b86fef5f0fc4b3ce673deadfcbad1ba473ccbcf SHA512 58378deca55362f97dbf7313633012f40871aee5fecf9792b0284952466e7a1ee0e96f2d948c81564ba0cf92a7e16b6d164a535e89f2da732ef9231876cb4b0b
-DIST encoder-1.2.2.jar 37529 BLAKE2B 0e61c679db8c559005de726c8fc358cc5f04ab51b357fe53889cb585c8d006a77a3e24cb51043912ea9be11739ffa14de86f22d3dc4663aefee8bc75b9ff6862 SHA512 eed5529b326a9fd493032539dd50c7d60439fed0743cd567d348aa334e837d412ac10b220fd5099edcf9098fc7c684fba98b92916b9ef79831395686fd83b7dc
 DIST encoder-1.2.3.jar 37931 BLAKE2B b416d455424b3fd87c94f7f963c819d3a8d76e763c112947718514e2bc1b67b40c6cd9cc051c5cfae6b2aa1cbc92961d1bcc3565ba3dcf3bf58395d543c5aae9 SHA512 ba7887259007272c533228cec1e2c5caebd639ef05b7b8925be6a0b5a7da5859e82489af4d462153e64bf2ce1234a8d6caa606fc6e42675a41cf7a067cfc5f6b
-DIST flightrecorder-8.0.1.jar 500815 BLAKE2B af9f024e7199e7f577e75b3d40f40a3e65f8e98be768415e5832aa6e1ffcfc9ecc391ef4d3fa515411d6d3ed051f35579656bae8cf8e1aea2023d54b072c84a0 SHA512 08c98ed3444b396e6e1ae0f909378c56e2ce04741f7b7ee83e39ae8a0699802709a5419f29c3a7bd44a11caba984071ef4f0554183fd5260ed28741edd191809
 DIST flightrecorder-8.3.0.jar 532387 BLAKE2B 9ef286c53427292beea222ab75d7b8b3e36e44fed5e084d3db6a2910627e67abcdcdab18a175a43c57afc30795dcfa8059f7b0189db45371da6c2b5e635c6447 SHA512 98f4ac4799756e560f0ebf2998985ca07ffe826d925651633763358d2ced757780689b3e64d78af54851a93c270a60f226a285372cb783c978fb3543fed898eb
-DIST lz4-java-1.7.1.jar 649950 BLAKE2B caed7593dad078fcaf3853a4dffbd540d7e5a3298b13092dee4b82a70359494584b9901da600239d65e9930e7a769adf1a45eac85033f8ca0cfcaef6a3b09544 SHA512 ff48daeca92c5a7657aa9c7fe41c5ae75a5fa0aad05c655bacb64a40acfe93ffd3d40bef16544614ce8a38db3e1df177023101773f6f7c1d32031413270e42d2
 DIST nb140_platform_20220908.zip 25886909 BLAKE2B 28cf8180eddd81fcfee513faf19e4a9ec2f3b7c35ad1ee23fe89bf6b5611432c3f41e9376b733ec5504fce1258e7dd27e0c229d291a5fbed3755df7fe0e99421 SHA512 cc2b320caa8fa0b4dbc5469e44453f1a586b6713af3bca799a654c7d1223741eab3a463fe53c955fb5639ec580f73ed93a7cc0ac26ce5dd84d55c418e024523e
-DIST visualvm-2.1.2.tar.gz 36393559 BLAKE2B ba925ddacfb1474f47d0ab393c7f8f14d18e12ef25aef82efd59a273eb8464d8758e0cc82cf41238b0356546dd03fed319b8c04366c4037fa99251d358f5e1c2 SHA512 f324bdec570f050c3df3d047cf9ab9e8565ed95150d1bcb5d86166aa221d0a3c55a2c3cdb345ddbf42b9cef35cb6a21033ed24fd203c0dbb67d2f8dc2b5f2960
 DIST visualvm-2.1.6.tar.gz 11610216 BLAKE2B 60e87e1219cd1f39bd8d86ec35d07f4298f8378f3c16354570c8f3422cf7e4a3ed42d0a88d8d33290d226a8d92ec9eea3cf85713281c826aafb7610b1e0b42ca SHA512 3257b1890aab185aa28e226679bc78858f154022d49c8a4dd2ee2a5ec04afc4a5ac9633248f1aa1abcb8a457f5e612f223f4a03fdd54e6b8beb329c79dd0574c

diff --git a/dev-util/visualvm/visualvm-2.1.2.ebuild b/dev-util/visualvm/visualvm-2.1.2.ebuild
deleted file mode 100644
index b05bacf59f27..000000000000
--- a/dev-util/visualvm/visualvm-2.1.2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2022 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;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-06-10  7:34 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2023-06-10  7:34 UTC (permalink / raw
  To: gentoo-commits

commit:     7d696b1cb4912e18848e42982b8fd2e1e4eaf1db
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 07:33:54 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 07:34:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d696b1c

dev-util/visualvm: fixed some pkgcheck warnings

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.6.ebuild | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/dev-util/visualvm/visualvm-2.1.6.ebuild b/dev-util/visualvm/visualvm-2.1.6.ebuild
index 2724f40cf8be..084537d66f3d 100644
--- a/dev-util/visualvm/visualvm-2.1.6.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.6.ebuild
@@ -21,7 +21,7 @@ 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/2.1.5/${NBZ}
+	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}"
@@ -85,7 +85,8 @@ src_prepare() {
 		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"
+	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() {
@@ -96,9 +97,12 @@ src_install() {
 	# 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"
+	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


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-09-20  7:41 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2023-09-20  7:41 UTC (permalink / raw
  To: gentoo-commits

commit:     6170a17f71d4b0dae1ec86e1246ed16b38145e99
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 20 07:41:31 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Sep 20 07:41:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6170a17f

dev-util/visualvm: bump to 2.1.7

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |   2 +
 dev-util/visualvm/visualvm-2.1.7.ebuild | 136 ++++++++++++++++++++++++++++++++
 2 files changed, 138 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 5d9a6288124f..0ef46bae89a7 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -2,4 +2,6 @@ DIST common-8.3.0.jar 438403 BLAKE2B 56d76e8115bd0022afcdd95a62a7419d1ea1f5a1aa4
 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

diff --git a/dev-util/visualvm/visualvm-2.1.7.ebuild b/dev-util/visualvm/visualvm-2.1.7.ebuild
new file mode 100644
index 000000000000..0f9395ca0cb7
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.7.ebuild
@@ -0,0 +1,136 @@
+# 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/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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-10-24  9:34 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2023-10-24  9:34 UTC (permalink / raw
  To: gentoo-commits

commit:     f16577321de111b284fb394e2f7d91ef06840657
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 09:33:08 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 09:34:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1657732

dev-util/visualvm: added missing dep

Closes: https://bugs.gentoo.org/916207
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.6.ebuild | 1 +
 dev-util/visualvm/visualvm-2.1.7.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-util/visualvm/visualvm-2.1.6.ebuild b/dev-util/visualvm/visualvm-2.1.6.ebuild
index 084537d66f3d..e20de7774c73 100644
--- a/dev-util/visualvm/visualvm-2.1.6.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.6.ebuild
@@ -38,6 +38,7 @@ 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

diff --git a/dev-util/visualvm/visualvm-2.1.7.ebuild b/dev-util/visualvm/visualvm-2.1.7.ebuild
index 0f9395ca0cb7..68089aec4f35 100644
--- a/dev-util/visualvm/visualvm-2.1.7.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.7.ebuild
@@ -38,6 +38,7 @@ 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


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-10-24 13:18 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2023-10-24 13:18 UTC (permalink / raw
  To: gentoo-commits

commit:     93512510207291106a321a3755e005fa2b8be36f
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 13:18:20 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 13:18:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93512510

dev-util/visualvm: replaced some bundled stuff with in-tree packages

Bug: https://bugs.gentoo.org/841632
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.7-r1.ebuild | 141 +++++++++++++++++++++++++++++
 1 file changed, 141 insertions(+)

diff --git a/dev-util/visualvm/visualvm-2.1.7-r1.ebuild b/dev-util/visualvm/visualvm-2.1.7-r1.ebuild
new file mode 100644
index 000000000000..368cb104b956
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.7-r1.ebuild
@@ -0,0 +1,141 @@
+# 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}"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="7"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="
+	dev-java/jmc:0
+	dev-java/lz4-java:0
+	dev-java/owasp-java-encoder: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 external libraries
+	java-pkg_jar-from --into jfr.generic/external jmc jmc-common.jar ${COMMON_FILE} \
+		|| die "Failed to link jmc common jar"
+	java-pkg_jar-from --into jfr.generic/external jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} \
+		|| die "Failed to link jmc flightrecorder jar"
+	java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
+		|| die "Failed to link lz4 java jar"
+	java-pkg_jar-from --into jfr.generic/external owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} \
+		|| die "Failed to link owasp-java-encoder 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 ${COMMON_FILE} && java-pkg_jar-from jmc jmc-common.jar ${COMMON_FILE} || die
+	rm ${FLIGHT_RECORDER_FILE} && java-pkg_jar-from jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} || die
+	rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
+	rm ${ENCODER_FILE} && java-pkg_jar-from owasp-java-encoder owasp-java-encoder.jar ${ENCODER_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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-11-23 16:08 Michał Górny
  0 siblings, 0 replies; 36+ messages in thread
From: Michał Górny @ 2023-11-23 16:08 UTC (permalink / raw
  To: gentoo-commits

commit:     fadcffd36c282835c6b021748788150400916fb6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 23 16:06:31 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 23 16:08:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fadcffd3

dev-util/visualvm: Stabilize 2.1.7-r1 amd64, #917794

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.7-r1.ebuild b/dev-util/visualvm/visualvm-2.1.7-r1.ebuild
index 368cb104b956..79f02f1b0841 100644
--- a/dev-util/visualvm/visualvm-2.1.7-r1.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.7-r1.ebuild
@@ -25,7 +25,7 @@ SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="7"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 COMMON_DEPEND="
 	dev-java/jmc:0


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2023-11-24 10:08 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2023-11-24 10:08 UTC (permalink / raw
  To: gentoo-commits

commit:     04e95c9dd20af74f6fc052afc5ca17698e131743
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Nov 23 16:34:04 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 10:08:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04e95c9d

dev-util/visualvm: drop 2.1.6, 2.1.7

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33946/commits/a7aaaa2542524bb44cd321e74bdbdf75605c8e36
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |   5 --
 dev-util/visualvm/visualvm-2.1.6.ebuild | 137 --------------------------------
 dev-util/visualvm/visualvm-2.1.7.ebuild | 137 --------------------------------
 3 files changed, 279 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 0ef46bae89a7..af563b04004c 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,7 +1,2 @@
-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

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;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-03-20  8:59 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2024-03-20  8:59 UTC (permalink / raw
  To: gentoo-commits

commit:     9e09bbd1676737127398f5058c1aec8088de29e4
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 20 08:59:46 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Mar 20 08:59:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e09bbd1

dev-util/visualvm: bump to 2.1.8

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |   3 +
 dev-util/visualvm/visualvm-2.1.8.ebuild | 150 ++++++++++++++++++++++++++++++++
 2 files changed, 153 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index af563b04004c..a85d3d265979 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,2 +1,5 @@
+DIST nashorn-core-15.4.jar 2167292 BLAKE2B f40349e9f369eed1bb3795622ffe9353c98f35df1d5c2f5f3845d8f1fd5ecea553e11da15d17b9083f6ae2efa4485df131a9a9216499f1c7d440ca4b1d772a2b SHA512 3b560e1ae67d5d5d19250849dee3f813d2c801e56ba85d90439a067378a47f95020910da85b7c8afb6675ea2e25cd274953483efd07e89097656aadc804c8020
 DIST nb140_platform_20230511.zip 25886135 BLAKE2B 1b40f39dcb3d89cc91d2e90b5df87d393344606fb97f073630a7d160ab5ed35ba31966c4960ff3c657a75375b518f1667e2fca597626192e8cdc1dabfec1a63d SHA512 9781af27d4492dc84d65b9bc8bbda0ad42c22e32c29e14c6a55c4d94650d20798ee7a7fccf83150c88e7c428b8626c1767b21a1af230bc035496e65512d36442
+DIST nb190_platform_20231030.zip 26056691 BLAKE2B 7815c08ad60515e8018336452e24c2fb0743d1ef48c58ffd80d371000fa664f8f0053a4c1d56a012b9e50f6714a44c300a915061afebd586f9438abae7867447 SHA512 779256d678c9a13dde4314a5771480c450ae86c49e80ac99eb90a4e9e32e3bc5759128f60a610aecc3ce9e7dbce56b0076b528c8f18a682ebac2dd74cb5a6eea
 DIST visualvm-2.1.7.tar.gz 11617370 BLAKE2B 3a6bdffbbfa63de2290551a285c78f28239367163b71ffa8d8b9660cc149463c2aa85fdad028f35c25da640e8d2374aee56a8a572bdc90116e14bdad95b24e58 SHA512 3164021ecb4f65a0d263f76f9644e0563c97903bc1cb046bd5c9a99ee3b6fc6a0adeb048b65ff7f7599cd13c8744aa927622f3c28cb1db815af22bc99272d22c
+DIST visualvm-2.1.8.tar.gz 11630256 BLAKE2B 503866654d969ef127455ce6d3c5d087c7543e100cb8bd8712d15dc3d0530ee3fd31ee571837be9dfe99cb01cbf0ebf7a29084cb16b80d9ebbf5ebc2654f945b SHA512 34329db8be5ab6727d1500e4a7bb07af704c6f815912418bd5fa0a872671f53237054c8fc13129124e5bb8c953bc31a47bb7c857962aa9ed080f16d2b6965331

diff --git a/dev-util/visualvm/visualvm-2.1.8.ebuild b/dev-util/visualvm/visualvm-2.1.8.ebuild
new file mode 100644
index 000000000000..645b533711d6
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.8.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NBV=190
+NBT=20231030
+NBZ=nb${NBV}_platform_${NBT}.zip
+ASM_UTIL_VERSION="9.5"
+ASM_UTIL_FILE="asm-util-${ASM_UTIL_VERSION}.jar"
+FLIGHT_RECORDER_VERSION="8.3.1"
+FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
+COMMON_VERSION="8.3.1"
+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"
+NASHORN_CORE_VERSION="15.4"
+NASHORN_CORE_FILE="nashorn-core-${NASHORN_CORE_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/nashorn/nashorn-core/${NASHORN_CORE_VERSION}/${NASHORN_CORE_FILE}"
+S="${WORKDIR}/${P}/${PN}"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="7"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="
+	dev-java/jmc:0
+	dev-java/lz4-java:0
+	dev-java/owasp-java-encoder: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"
+
+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/libflatlaf-linux-x86_64.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 external libraries
+	ln -s "${DISTDIR}/${NASHORN_CORE_FILE}" nashorn.jdk15/external || die "Failed to link nashorn core jar"
+	java-pkg_jar-from --into nashorn.jdk15/external asm-9 asm-util.jar ${ASM_UTIL_FILE} \
+		|| die "Failed to link asm util jar"
+	java-pkg_jar-from --into jfr.generic/external jmc jmc-common.jar ${COMMON_FILE} \
+		|| die "Failed to link jmc common jar"
+	java-pkg_jar-from --into jfr.generic/external jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} \
+		|| die "Failed to link jmc flightrecorder jar"
+	java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
+		|| die "Failed to link lz4 java jar"
+	java-pkg_jar-from --into jfr.generic/external owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} \
+		|| die "Failed to link owasp-java-encoder 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.5.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 ${ASM_UTIL_FILE} && java-pkg_jar-from asm-9 asm-util.jar ${ASM_UTIL_FILE} || die
+	rm ${COMMON_FILE} && java-pkg_jar-from jmc jmc-common.jar ${COMMON_FILE} || die
+	rm ${FLIGHT_RECORDER_FILE} && java-pkg_jar-from jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} || die
+	rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
+	rm ${ENCODER_FILE} && java-pkg_jar-from owasp-java-encoder owasp-java-encoder.jar ${ENCODER_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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-04-19 10:46 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-04-19 10:46 UTC (permalink / raw
  To: gentoo-commits

commit:     f1bb274c34f826b5cffc64ff08109a5c19c9cb68
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 19 10:45:47 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 10:45:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1bb274c

dev-util/visualvm: Stabilize 2.1.8 amd64, #930238

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.8.ebuild b/dev-util/visualvm/visualvm-2.1.8.ebuild
index 645b533711d6..8f7769ac553c 100644
--- a/dev-util/visualvm/visualvm-2.1.8.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.8.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${P}/${PN}"
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="7"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 COMMON_DEPEND="
 	dev-java/jmc:0


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-04-20  7:57 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2024-04-20  7:57 UTC (permalink / raw
  To: gentoo-commits

commit:     f81b465755780c85cb779f1477aedff200120e95
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 20 07:57:38 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Apr 20 07:57:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f81b4657

dev-util/visualvm: dropped obsolete 2.1.7-r1

Bug: https://bugs.gentoo.org/930238
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest                 |   2 -
 dev-util/visualvm/visualvm-2.1.7-r1.ebuild | 141 -----------------------------
 2 files changed, 143 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index a85d3d265979..caec3f4cb377 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,5 +1,3 @@
 DIST nashorn-core-15.4.jar 2167292 BLAKE2B f40349e9f369eed1bb3795622ffe9353c98f35df1d5c2f5f3845d8f1fd5ecea553e11da15d17b9083f6ae2efa4485df131a9a9216499f1c7d440ca4b1d772a2b SHA512 3b560e1ae67d5d5d19250849dee3f813d2c801e56ba85d90439a067378a47f95020910da85b7c8afb6675ea2e25cd274953483efd07e89097656aadc804c8020
-DIST nb140_platform_20230511.zip 25886135 BLAKE2B 1b40f39dcb3d89cc91d2e90b5df87d393344606fb97f073630a7d160ab5ed35ba31966c4960ff3c657a75375b518f1667e2fca597626192e8cdc1dabfec1a63d SHA512 9781af27d4492dc84d65b9bc8bbda0ad42c22e32c29e14c6a55c4d94650d20798ee7a7fccf83150c88e7c428b8626c1767b21a1af230bc035496e65512d36442
 DIST nb190_platform_20231030.zip 26056691 BLAKE2B 7815c08ad60515e8018336452e24c2fb0743d1ef48c58ffd80d371000fa664f8f0053a4c1d56a012b9e50f6714a44c300a915061afebd586f9438abae7867447 SHA512 779256d678c9a13dde4314a5771480c450ae86c49e80ac99eb90a4e9e32e3bc5759128f60a610aecc3ce9e7dbce56b0076b528c8f18a682ebac2dd74cb5a6eea
-DIST visualvm-2.1.7.tar.gz 11617370 BLAKE2B 3a6bdffbbfa63de2290551a285c78f28239367163b71ffa8d8b9660cc149463c2aa85fdad028f35c25da640e8d2374aee56a8a572bdc90116e14bdad95b24e58 SHA512 3164021ecb4f65a0d263f76f9644e0563c97903bc1cb046bd5c9a99ee3b6fc6a0adeb048b65ff7f7599cd13c8744aa927622f3c28cb1db815af22bc99272d22c
 DIST visualvm-2.1.8.tar.gz 11630256 BLAKE2B 503866654d969ef127455ce6d3c5d087c7543e100cb8bd8712d15dc3d0530ee3fd31ee571837be9dfe99cb01cbf0ebf7a29084cb16b80d9ebbf5ebc2654f945b SHA512 34329db8be5ab6727d1500e4a7bb07af704c6f815912418bd5fa0a872671f53237054c8fc13129124e5bb8c953bc31a47bb7c857962aa9ed080f16d2b6965331

diff --git a/dev-util/visualvm/visualvm-2.1.7-r1.ebuild b/dev-util/visualvm/visualvm-2.1.7-r1.ebuild
deleted file mode 100644
index 79f02f1b0841..000000000000
--- a/dev-util/visualvm/visualvm-2.1.7-r1.ebuild
+++ /dev/null
@@ -1,141 +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}"
-
-LICENSE="GPL-2-with-linking-exception"
-SLOT="7"
-KEYWORDS="amd64"
-
-COMMON_DEPEND="
-	dev-java/jmc:0
-	dev-java/lz4-java:0
-	dev-java/owasp-java-encoder: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 external libraries
-	java-pkg_jar-from --into jfr.generic/external jmc jmc-common.jar ${COMMON_FILE} \
-		|| die "Failed to link jmc common jar"
-	java-pkg_jar-from --into jfr.generic/external jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} \
-		|| die "Failed to link jmc flightrecorder jar"
-	java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
-		|| die "Failed to link lz4 java jar"
-	java-pkg_jar-from --into jfr.generic/external owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} \
-		|| die "Failed to link owasp-java-encoder 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 ${COMMON_FILE} && java-pkg_jar-from jmc jmc-common.jar ${COMMON_FILE} || die
-	rm ${FLIGHT_RECORDER_FILE} && java-pkg_jar-from jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} || die
-	rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
-	rm ${ENCODER_FILE} && java-pkg_jar-from owasp-java-encoder owasp-java-encoder.jar ${ENCODER_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;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-08-02 13:23 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2024-08-02 13:23 UTC (permalink / raw
  To: gentoo-commits

commit:     0fd3fee71df9f52d7ddfa479a4239a16b473918e
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Jul 17 08:15:10 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Aug  2 13:23:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd3fee7

dev-util/visualvm: add 2.1.9

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/37587
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |   1 +
 dev-util/visualvm/visualvm-2.1.9.ebuild | 161 ++++++++++++++++++++++++++++++++
 2 files changed, 162 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index caec3f4cb377..447002287093 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,3 +1,4 @@
 DIST nashorn-core-15.4.jar 2167292 BLAKE2B f40349e9f369eed1bb3795622ffe9353c98f35df1d5c2f5f3845d8f1fd5ecea553e11da15d17b9083f6ae2efa4485df131a9a9216499f1c7d440ca4b1d772a2b SHA512 3b560e1ae67d5d5d19250849dee3f813d2c801e56ba85d90439a067378a47f95020910da85b7c8afb6675ea2e25cd274953483efd07e89097656aadc804c8020
 DIST nb190_platform_20231030.zip 26056691 BLAKE2B 7815c08ad60515e8018336452e24c2fb0743d1ef48c58ffd80d371000fa664f8f0053a4c1d56a012b9e50f6714a44c300a915061afebd586f9438abae7867447 SHA512 779256d678c9a13dde4314a5771480c450ae86c49e80ac99eb90a4e9e32e3bc5759128f60a610aecc3ce9e7dbce56b0076b528c8f18a682ebac2dd74cb5a6eea
 DIST visualvm-2.1.8.tar.gz 11630256 BLAKE2B 503866654d969ef127455ce6d3c5d087c7543e100cb8bd8712d15dc3d0530ee3fd31ee571837be9dfe99cb01cbf0ebf7a29084cb16b80d9ebbf5ebc2654f945b SHA512 34329db8be5ab6727d1500e4a7bb07af704c6f815912418bd5fa0a872671f53237054c8fc13129124e5bb8c953bc31a47bb7c857962aa9ed080f16d2b6965331
+DIST visualvm-2.1.9.tar.gz 11781212 BLAKE2B e924134e211a7f0a95d299f21dab2fff35fb0c0f646ea25adc0eb1204628fbec752075380dc6f717ff902f566040cf9ed8186b1470f9277d39742e288142de67 SHA512 ed950c6216185b9d09ed0605729cd02b649df32fef0f204066419bf96f61f63887b7bad082e5434e740f23856270be2b5c0bd35aa825511cb35486059592b3e7

diff --git a/dev-util/visualvm/visualvm-2.1.9.ebuild b/dev-util/visualvm/visualvm-2.1.9.ebuild
new file mode 100644
index 000000000000..4a81848ea960
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.9.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NBV=190
+NBT=20231030
+NBZ=nb${NBV}_platform_${NBT}.zip
+ASM_UTIL_VERSION="9.5"
+ASM_UTIL_FILE="asm-util-${ASM_UTIL_VERSION}.jar"
+FLIGHT_RECORDER_VERSION="8.3.1"
+FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
+COMMON_VERSION="8.3.1"
+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"
+NASHORN_CORE_VERSION="15.4"
+NASHORN_CORE_FILE="nashorn-core-${NASHORN_CORE_VERSION}.jar"
+
+inherit java-pkg-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/2.1.8/${NBZ}
+	https://repo1.maven.org/maven2/org/openjdk/nashorn/nashorn-core/${NASHORN_CORE_VERSION}/${NASHORN_CORE_FILE}"
+S="${WORKDIR}/${P}/${PN}"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="7"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	app-arch/unzip
+	>=dev-java/ant-1.10.14-r3:0
+"
+
+COMMON_DEPEND="
+	dev-java/jmc:0
+	dev-java/lz4-java:0
+	dev-java/owasp-java-encoder:0
+"
+
+# it does not compile with java 11
+DEPEND="
+	${COMMON_DEPEND}
+	virtual/jdk:1.8
+"
+
+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:*
+"
+
+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/libflatlaf-linux-x86_64.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
+"
+
+INSTALL_DIR=/usr/share/${PN}
+
+src_unpack() {
+	unpack ${P}.tar.gz
+	cd "${S}" || die
+	unpack ${NBZ}
+}
+
+src_prepare() {
+	java-pkg-2_src_prepare
+
+	# 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 external libraries
+	ln -s "${DISTDIR}/${NASHORN_CORE_FILE}" nashorn.jdk15/external || die "Failed to link nashorn core jar"
+	java-pkg_jar-from --into nashorn.jdk15/external asm-9 asm-util.jar ${ASM_UTIL_FILE} \
+		|| die "Failed to link asm util jar"
+	java-pkg_jar-from --into jfr.generic/external jmc jmc-common.jar ${COMMON_FILE} \
+		|| die "Failed to link jmc common jar"
+	java-pkg_jar-from --into jfr.generic/external jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} \
+		|| die "Failed to link jmc flightrecorder jar"
+	java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
+		|| die "Failed to link lz4 java jar"
+	java-pkg_jar-from --into jfr.generic/external owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} \
+		|| die "Failed to link owasp-java-encoder jar"
+}
+
+src_compile() {
+	eant -v \
+		-Dext.binaries.downloaded=true \
+		-Dant.build.javac.source="8" \
+		-Dant.build.javac.target="8" \
+		build
+}
+
+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.5.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 ${ASM_UTIL_FILE} && java-pkg_jar-from asm-9 asm-util.jar ${ASM_UTIL_FILE} || die
+	rm ${COMMON_FILE} && java-pkg_jar-from jmc jmc-common.jar ${COMMON_FILE} || die
+	rm ${FLIGHT_RECORDER_FILE} && java-pkg_jar-from jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} || die
+	rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
+	rm ${ENCODER_FILE} && java-pkg_jar-from owasp-java-encoder owasp-java-encoder.jar ${ENCODER_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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-09-01  7:10 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-09-01  7:10 UTC (permalink / raw
  To: gentoo-commits

commit:     ab81a25f1036f581efce375c61049b4824f950db
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  1 07:09:55 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep  1 07:09:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab81a25f

dev-util/visualvm: Stabilize 2.1.9 amd64, #938859

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.9.ebuild b/dev-util/visualvm/visualvm-2.1.9.ebuild
index 4a81848ea960..d252be82187f 100644
--- a/dev-util/visualvm/visualvm-2.1.9.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.9.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${P}/${PN}"
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="7"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 BDEPEND="
 	app-arch/unzip


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-09-01  8:50 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2024-09-01  8:50 UTC (permalink / raw
  To: gentoo-commits

commit:     6fc5be6008e70d769e34e3630508ef39b5c3e35f
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Sep  1 07:54:23 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Sep  1 08:50:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc5be60

dev-util/visualvm: drop 2.1.8

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/37928/commits/ccbe8b430774bb7036b671f9a0cd243c47398468
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest              |   1 -
 dev-util/visualvm/visualvm-2.1.8.ebuild | 150 --------------------------------
 2 files changed, 151 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 447002287093..15af8e7a56b3 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,4 +1,3 @@
 DIST nashorn-core-15.4.jar 2167292 BLAKE2B f40349e9f369eed1bb3795622ffe9353c98f35df1d5c2f5f3845d8f1fd5ecea553e11da15d17b9083f6ae2efa4485df131a9a9216499f1c7d440ca4b1d772a2b SHA512 3b560e1ae67d5d5d19250849dee3f813d2c801e56ba85d90439a067378a47f95020910da85b7c8afb6675ea2e25cd274953483efd07e89097656aadc804c8020
 DIST nb190_platform_20231030.zip 26056691 BLAKE2B 7815c08ad60515e8018336452e24c2fb0743d1ef48c58ffd80d371000fa664f8f0053a4c1d56a012b9e50f6714a44c300a915061afebd586f9438abae7867447 SHA512 779256d678c9a13dde4314a5771480c450ae86c49e80ac99eb90a4e9e32e3bc5759128f60a610aecc3ce9e7dbce56b0076b528c8f18a682ebac2dd74cb5a6eea
-DIST visualvm-2.1.8.tar.gz 11630256 BLAKE2B 503866654d969ef127455ce6d3c5d087c7543e100cb8bd8712d15dc3d0530ee3fd31ee571837be9dfe99cb01cbf0ebf7a29084cb16b80d9ebbf5ebc2654f945b SHA512 34329db8be5ab6727d1500e4a7bb07af704c6f815912418bd5fa0a872671f53237054c8fc13129124e5bb8c953bc31a47bb7c857962aa9ed080f16d2b6965331
 DIST visualvm-2.1.9.tar.gz 11781212 BLAKE2B e924134e211a7f0a95d299f21dab2fff35fb0c0f646ea25adc0eb1204628fbec752075380dc6f717ff902f566040cf9ed8186b1470f9277d39742e288142de67 SHA512 ed950c6216185b9d09ed0605729cd02b649df32fef0f204066419bf96f61f63887b7bad082e5434e740f23856270be2b5c0bd35aa825511cb35486059592b3e7

diff --git a/dev-util/visualvm/visualvm-2.1.8.ebuild b/dev-util/visualvm/visualvm-2.1.8.ebuild
deleted file mode 100644
index 8f7769ac553c..000000000000
--- a/dev-util/visualvm/visualvm-2.1.8.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NBV=190
-NBT=20231030
-NBZ=nb${NBV}_platform_${NBT}.zip
-ASM_UTIL_VERSION="9.5"
-ASM_UTIL_FILE="asm-util-${ASM_UTIL_VERSION}.jar"
-FLIGHT_RECORDER_VERSION="8.3.1"
-FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
-COMMON_VERSION="8.3.1"
-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"
-NASHORN_CORE_VERSION="15.4"
-NASHORN_CORE_FILE="nashorn-core-${NASHORN_CORE_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/nashorn/nashorn-core/${NASHORN_CORE_VERSION}/${NASHORN_CORE_FILE}"
-S="${WORKDIR}/${P}/${PN}"
-
-LICENSE="GPL-2-with-linking-exception"
-SLOT="7"
-KEYWORDS="amd64"
-
-COMMON_DEPEND="
-	dev-java/jmc:0
-	dev-java/lz4-java:0
-	dev-java/owasp-java-encoder: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"
-
-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/libflatlaf-linux-x86_64.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 external libraries
-	ln -s "${DISTDIR}/${NASHORN_CORE_FILE}" nashorn.jdk15/external || die "Failed to link nashorn core jar"
-	java-pkg_jar-from --into nashorn.jdk15/external asm-9 asm-util.jar ${ASM_UTIL_FILE} \
-		|| die "Failed to link asm util jar"
-	java-pkg_jar-from --into jfr.generic/external jmc jmc-common.jar ${COMMON_FILE} \
-		|| die "Failed to link jmc common jar"
-	java-pkg_jar-from --into jfr.generic/external jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} \
-		|| die "Failed to link jmc flightrecorder jar"
-	java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
-		|| die "Failed to link lz4 java jar"
-	java-pkg_jar-from --into jfr.generic/external owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} \
-		|| die "Failed to link owasp-java-encoder 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.5.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 ${ASM_UTIL_FILE} && java-pkg_jar-from asm-9 asm-util.jar ${ASM_UTIL_FILE} || die
-	rm ${COMMON_FILE} && java-pkg_jar-from jmc jmc-common.jar ${COMMON_FILE} || die
-	rm ${FLIGHT_RECORDER_FILE} && java-pkg_jar-from jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} || die
-	rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
-	rm ${ENCODER_FILE} && java-pkg_jar-from owasp-java-encoder owasp-java-encoder.jar ${ENCODER_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;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-09-07  7:20 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2024-09-07  7:20 UTC (permalink / raw
  To: gentoo-commits

commit:     a2d9e4331de145f7cbf4a0dc909ccaa87d9250af
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Aug  2 14:48:47 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Sep  7 07:18:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d9e433

dev-util/visualvm: slotmove 7 -> 0

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/37928
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/{visualvm-2.1.9.ebuild => visualvm-2.1.9-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.9.ebuild b/dev-util/visualvm/visualvm-2.1.9-r1.ebuild
similarity index 99%
rename from dev-util/visualvm/visualvm-2.1.9.ebuild
rename to dev-util/visualvm/visualvm-2.1.9-r1.ebuild
index d252be82187f..69e6155048e4 100644
--- a/dev-util/visualvm/visualvm-2.1.9.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.9-r1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="https://github.com/oracle/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
 S="${WORKDIR}/${P}/${PN}"
 
 LICENSE="GPL-2-with-linking-exception"
-SLOT="7"
+SLOT="0"
 KEYWORDS="amd64"
 
 BDEPEND="
@@ -52,6 +52,7 @@ DEPEND="
 
 RDEPEND="
 	${COMMON_DEPEND}
+	!dev-util/visualvm:7
 	dev-java/asm:9
 	dev-java/hamcrest-core:1.3
 	dev-java/jcommander:0


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-09-18 12:25 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2024-09-18 12:25 UTC (permalink / raw
  To: gentoo-commits

commit:     9c37dd37789892fd9d2b7127106cbe4206e2f6f9
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Sep 17 13:55:24 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Sep 18 12:22:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c37dd37

dev-util/visualvm: add 2.1.10

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38605
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest               |   1 +
 dev-util/visualvm/visualvm-2.1.10.ebuild | 182 +++++++++++++++++++++++++++++++
 2 files changed, 183 insertions(+)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index 15af8e7a56b3..cb321ae2a671 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,3 +1,4 @@
 DIST nashorn-core-15.4.jar 2167292 BLAKE2B f40349e9f369eed1bb3795622ffe9353c98f35df1d5c2f5f3845d8f1fd5ecea553e11da15d17b9083f6ae2efa4485df131a9a9216499f1c7d440ca4b1d772a2b SHA512 3b560e1ae67d5d5d19250849dee3f813d2c801e56ba85d90439a067378a47f95020910da85b7c8afb6675ea2e25cd274953483efd07e89097656aadc804c8020
 DIST nb190_platform_20231030.zip 26056691 BLAKE2B 7815c08ad60515e8018336452e24c2fb0743d1ef48c58ffd80d371000fa664f8f0053a4c1d56a012b9e50f6714a44c300a915061afebd586f9438abae7867447 SHA512 779256d678c9a13dde4314a5771480c450ae86c49e80ac99eb90a4e9e32e3bc5759128f60a610aecc3ce9e7dbce56b0076b528c8f18a682ebac2dd74cb5a6eea
+DIST visualvm-2.1.10.tar.gz 11782775 BLAKE2B 6c25293fc456cd5add37aa11d623e7a329f31f2608eaf5217a64f014d26a0ab439569edac6367a79102c3d89fe88182bd9ac56edf96aac515b6b6146eaf70a25 SHA512 dd8da529b766c97e8dfc392eafeafb672cd5f74d8a86cb5c4c4385769c5cb1376e7757601d5254de46d7bc5ff705aef0d839692426ffd1a3a10304c3fa90d440
 DIST visualvm-2.1.9.tar.gz 11781212 BLAKE2B e924134e211a7f0a95d299f21dab2fff35fb0c0f646ea25adc0eb1204628fbec752075380dc6f717ff902f566040cf9ed8186b1470f9277d39742e288142de67 SHA512 ed950c6216185b9d09ed0605729cd02b649df32fef0f204066419bf96f61f63887b7bad082e5434e740f23856270be2b5c0bd35aa825511cb35486059592b3e7

diff --git a/dev-util/visualvm/visualvm-2.1.10.ebuild b/dev-util/visualvm/visualvm-2.1.10.ebuild
new file mode 100644
index 000000000000..d71b0bc917f6
--- /dev/null
+++ b/dev-util/visualvm/visualvm-2.1.10.ebuild
@@ -0,0 +1,182 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NBV=190
+NBT=20231030
+NBZ=nb${NBV}_platform_${NBT}.zip
+ASM_UTIL_VERSION="9.5"
+ASM_UTIL_FILE="asm-util-${ASM_UTIL_VERSION}.jar"
+FLIGHT_RECORDER_VERSION="8.3.1"
+FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
+COMMON_VERSION="8.3.1"
+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"
+NASHORN_CORE_VERSION="15.4"
+NASHORN_CORE_FILE="nashorn-core-${NASHORN_CORE_VERSION}.jar"
+
+inherit java-pkg-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/2.1.8/${NBZ}
+	https://repo1.maven.org/maven2/org/openjdk/nashorn/nashorn-core/${NASHORN_CORE_VERSION}/${NASHORN_CORE_FILE}"
+S="${WORKDIR}/${P}/${PN}"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	app-arch/unzip
+	>=dev-java/ant-1.10.14-r3:0
+"
+
+COMMON_DEPEND="
+	dev-java/jmc:0
+	dev-java/lz4-java:0
+	dev-java/owasp-java-encoder:0
+"
+
+# it does not compile with java 11
+# not even after removing hardcoded -source and -target values
+DEPEND="
+	${COMMON_DEPEND}
+	virtual/jdk:1.8
+"
+
+RDEPEND="
+	${COMMON_DEPEND}
+	!dev-util/visualvm:7
+	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:*
+"
+
+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/libflatlaf-linux-x86_64.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
+"
+
+INSTALL_DIR=/usr/share/${PN}
+
+src_unpack() {
+	unpack ${P}.tar.gz
+	cd "${S}" || die
+	unpack ${NBZ}
+}
+
+src_prepare() {
+	java-pkg-2_src_prepare
+
+	# 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 external libraries
+	ln -s "${DISTDIR}/${NASHORN_CORE_FILE}" nashorn.jdk15/external || die "Failed to link nashorn core jar"
+	java-pkg_jar-from --into nashorn.jdk15/external asm-9 asm-util.jar ${ASM_UTIL_FILE} \
+		|| die "Failed to link asm util jar"
+	java-pkg_jar-from --into jfr.generic/external jmc jmc-common.jar ${COMMON_FILE} \
+		|| die "Failed to link jmc common jar"
+	java-pkg_jar-from --into jfr.generic/external jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} \
+		|| die "Failed to link jmc flightrecorder jar"
+	java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
+		|| die "Failed to link lz4 java jar"
+	java-pkg_jar-from --into jfr.generic/external owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} \
+		|| die "Failed to link owasp-java-encoder jar"
+
+	# remove hardcoded javac's source & target settings
+	cd .. || die
+	find -name build.xml \
+		-exec sed -Ei 's,(source|target)="1.5",,g' {} + ||
+		die "remove javac's source & target in build.xml files"
+
+	cd .. || die
+	find -name build.xml \
+		-exec sed -Ei 's,(source|target)="1.4",,g' {} + ||
+		die "remove javac's source & target in build.xml files"
+
+	for prop in $(find -name project.properties); do
+		sed -e '/javac.source=/d' -e '/javac.target/d' -i ${prop}
+	done
+
+	for impl in $(find -name build-impl.xml); do
+		sed -e '/default.javac.source=/d' -e '/default.javac.target/d' -i ${mpl}
+	done
+}
+
+src_compile() {
+	eant -v \
+		-Dext.binaries.downloaded=true \
+		-Djavac.source="$(java-pkg_get-source)" \
+		-Djavac.target="$(java-pkg_get-target)" \
+		build
+}
+
+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.5.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 ${ASM_UTIL_FILE} && java-pkg_jar-from asm-9 asm-util.jar ${ASM_UTIL_FILE} || die
+	rm ${COMMON_FILE} && java-pkg_jar-from jmc jmc-common.jar ${COMMON_FILE} || die
+	rm ${FLIGHT_RECORDER_FILE} && java-pkg_jar-from jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} || die
+	rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
+	rm ${ENCODER_FILE} && java-pkg_jar-from owasp-java-encoder owasp-java-encoder.jar ${ENCODER_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;"
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-10-18  0:17 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-10-18  0:17 UTC (permalink / raw
  To: gentoo-commits

commit:     d117b52300bc7185530902b8715bcb6f42c0ec98
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 00:17:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 00:17:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d117b523

dev-util/visualvm: Stabilize 2.1.10 amd64, #941597

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/visualvm/visualvm-2.1.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/visualvm/visualvm-2.1.10.ebuild b/dev-util/visualvm/visualvm-2.1.10.ebuild
index d71b0bc917f6..a8d9182181f0 100644
--- a/dev-util/visualvm/visualvm-2.1.10.ebuild
+++ b/dev-util/visualvm/visualvm-2.1.10.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${P}/${PN}"
 
 LICENSE="GPL-2-with-linking-exception"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 BDEPEND="
 	app-arch/unzip


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/
@ 2024-10-18  8:32 Miroslav Šulc
  0 siblings, 0 replies; 36+ messages in thread
From: Miroslav Šulc @ 2024-10-18  8:32 UTC (permalink / raw
  To: gentoo-commits

commit:     a6a59a512feaca4ea37a1a493513c64a518420f1
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Oct 18 06:27:15 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 08:32:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6a59a51

dev-util/visualvm: drop 2.1.9-r1

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38836/commits/f61fa217e94117c2f438a836f33efeaf1255d890
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-util/visualvm/Manifest                 |   1 -
 dev-util/visualvm/visualvm-2.1.9-r1.ebuild | 162 -----------------------------
 2 files changed, 163 deletions(-)

diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest
index cb321ae2a671..8c10f2a72e7d 100644
--- a/dev-util/visualvm/Manifest
+++ b/dev-util/visualvm/Manifest
@@ -1,4 +1,3 @@
 DIST nashorn-core-15.4.jar 2167292 BLAKE2B f40349e9f369eed1bb3795622ffe9353c98f35df1d5c2f5f3845d8f1fd5ecea553e11da15d17b9083f6ae2efa4485df131a9a9216499f1c7d440ca4b1d772a2b SHA512 3b560e1ae67d5d5d19250849dee3f813d2c801e56ba85d90439a067378a47f95020910da85b7c8afb6675ea2e25cd274953483efd07e89097656aadc804c8020
 DIST nb190_platform_20231030.zip 26056691 BLAKE2B 7815c08ad60515e8018336452e24c2fb0743d1ef48c58ffd80d371000fa664f8f0053a4c1d56a012b9e50f6714a44c300a915061afebd586f9438abae7867447 SHA512 779256d678c9a13dde4314a5771480c450ae86c49e80ac99eb90a4e9e32e3bc5759128f60a610aecc3ce9e7dbce56b0076b528c8f18a682ebac2dd74cb5a6eea
 DIST visualvm-2.1.10.tar.gz 11782775 BLAKE2B 6c25293fc456cd5add37aa11d623e7a329f31f2608eaf5217a64f014d26a0ab439569edac6367a79102c3d89fe88182bd9ac56edf96aac515b6b6146eaf70a25 SHA512 dd8da529b766c97e8dfc392eafeafb672cd5f74d8a86cb5c4c4385769c5cb1376e7757601d5254de46d7bc5ff705aef0d839692426ffd1a3a10304c3fa90d440
-DIST visualvm-2.1.9.tar.gz 11781212 BLAKE2B e924134e211a7f0a95d299f21dab2fff35fb0c0f646ea25adc0eb1204628fbec752075380dc6f717ff902f566040cf9ed8186b1470f9277d39742e288142de67 SHA512 ed950c6216185b9d09ed0605729cd02b649df32fef0f204066419bf96f61f63887b7bad082e5434e740f23856270be2b5c0bd35aa825511cb35486059592b3e7

diff --git a/dev-util/visualvm/visualvm-2.1.9-r1.ebuild b/dev-util/visualvm/visualvm-2.1.9-r1.ebuild
deleted file mode 100644
index 69e6155048e4..000000000000
--- a/dev-util/visualvm/visualvm-2.1.9-r1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NBV=190
-NBT=20231030
-NBZ=nb${NBV}_platform_${NBT}.zip
-ASM_UTIL_VERSION="9.5"
-ASM_UTIL_FILE="asm-util-${ASM_UTIL_VERSION}.jar"
-FLIGHT_RECORDER_VERSION="8.3.1"
-FLIGHT_RECORDER_FILE="flightrecorder-${FLIGHT_RECORDER_VERSION}.jar"
-COMMON_VERSION="8.3.1"
-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"
-NASHORN_CORE_VERSION="15.4"
-NASHORN_CORE_FILE="nashorn-core-${NASHORN_CORE_VERSION}.jar"
-
-inherit java-pkg-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/2.1.8/${NBZ}
-	https://repo1.maven.org/maven2/org/openjdk/nashorn/nashorn-core/${NASHORN_CORE_VERSION}/${NASHORN_CORE_FILE}"
-S="${WORKDIR}/${P}/${PN}"
-
-LICENSE="GPL-2-with-linking-exception"
-SLOT="0"
-KEYWORDS="amd64"
-
-BDEPEND="
-	app-arch/unzip
-	>=dev-java/ant-1.10.14-r3:0
-"
-
-COMMON_DEPEND="
-	dev-java/jmc:0
-	dev-java/lz4-java:0
-	dev-java/owasp-java-encoder:0
-"
-
-# it does not compile with java 11
-DEPEND="
-	${COMMON_DEPEND}
-	virtual/jdk:1.8
-"
-
-RDEPEND="
-	${COMMON_DEPEND}
-	!dev-util/visualvm:7
-	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:*
-"
-
-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/libflatlaf-linux-x86_64.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
-"
-
-INSTALL_DIR=/usr/share/${PN}
-
-src_unpack() {
-	unpack ${P}.tar.gz
-	cd "${S}" || die
-	unpack ${NBZ}
-}
-
-src_prepare() {
-	java-pkg-2_src_prepare
-
-	# 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 external libraries
-	ln -s "${DISTDIR}/${NASHORN_CORE_FILE}" nashorn.jdk15/external || die "Failed to link nashorn core jar"
-	java-pkg_jar-from --into nashorn.jdk15/external asm-9 asm-util.jar ${ASM_UTIL_FILE} \
-		|| die "Failed to link asm util jar"
-	java-pkg_jar-from --into jfr.generic/external jmc jmc-common.jar ${COMMON_FILE} \
-		|| die "Failed to link jmc common jar"
-	java-pkg_jar-from --into jfr.generic/external jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} \
-		|| die "Failed to link jmc flightrecorder jar"
-	java-pkg_jar-from --into jfr.generic/external lz4-java lz4-java.jar ${LZ4_JAVA_FILE} \
-		|| die "Failed to link lz4 java jar"
-	java-pkg_jar-from --into jfr.generic/external owasp-java-encoder owasp-java-encoder.jar ${ENCODER_FILE} \
-		|| die "Failed to link owasp-java-encoder jar"
-}
-
-src_compile() {
-	eant -v \
-		-Dext.binaries.downloaded=true \
-		-Dant.build.javac.source="8" \
-		-Dant.build.javac.target="8" \
-		build
-}
-
-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.5.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 ${ASM_UTIL_FILE} && java-pkg_jar-from asm-9 asm-util.jar ${ASM_UTIL_FILE} || die
-	rm ${COMMON_FILE} && java-pkg_jar-from jmc jmc-common.jar ${COMMON_FILE} || die
-	rm ${FLIGHT_RECORDER_FILE} && java-pkg_jar-from jmc jmc-flightrecorder.jar ${FLIGHT_RECORDER_FILE} || die
-	rm ${LZ4_JAVA_FILE} && java-pkg_jar-from lz4-java lz4-java.jar ${LZ4_JAVA_FILE} || die
-	rm ${ENCODER_FILE} && java-pkg_jar-from owasp-java-encoder owasp-java-encoder.jar ${ENCODER_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;"
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2024-10-18  8:32 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-24 10:08 [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/ Miroslav Šulc
  -- strict thread matches above, loose matches on Subject: below --
2024-10-18  8:32 Miroslav Šulc
2024-10-18  0:17 Sam James
2024-09-18 12:25 Miroslav Šulc
2024-09-07  7:20 Miroslav Šulc
2024-09-01  8:50 Miroslav Šulc
2024-09-01  7:10 Sam James
2024-08-02 13:23 Miroslav Šulc
2024-04-20  7:57 Miroslav Šulc
2024-04-19 10:46 Sam James
2024-03-20  8:59 Miroslav Šulc
2023-11-23 16:08 Michał Górny
2023-10-24 13:18 Miroslav Šulc
2023-10-24  9:34 Miroslav Šulc
2023-09-20  7:41 Miroslav Šulc
2023-06-10  7:34 Miroslav Šulc
2023-06-10  7:34 Miroslav Šulc
2023-06-08 12:23 Arthur Zamarin
2023-05-08  5:38 Miroslav Šulc
2023-05-07 12:15 Miroslav Šulc
2022-02-19 14:23 Miroslav Šulc
2022-02-19 13:15 Jakov Smolić
2022-01-19 10:14 Miroslav Šulc
2021-11-28  8:40 Miroslav Šulc
2021-11-27  7:23 Sam James
2021-10-26 10:31 Miroslav Šulc
2021-08-23  5:35 Sam James
2021-08-05  4:52 Miroslav Šulc
2021-08-04 18:42 Agostino Sarubbo
2021-07-22 10:13 Miroslav Šulc
2021-07-04  3:54 Miroslav Šulc
2018-06-07 20:37 James Le Cuirot
2018-06-07 20:34 James Le Cuirot
2018-05-29 20:26 Patrice Clement
2017-11-03 20:23 James Le Cuirot
2017-04-26 15:42 Jeroen Roovers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox