From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5BFE138330 for ; Tue, 29 May 2018 20:26:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A737CE07EF; Tue, 29 May 2018 20:26:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DEBBE07EF for ; Tue, 29 May 2018 20:26:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15802335C51 for ; Tue, 29 May 2018 20:26:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04CF72AD for ; Tue, 29 May 2018 20:26:19 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1527625569.a61991f7ba6b1af9bb69f0c82a4e6510774345b6.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/visualvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/visualvm/Manifest dev-util/visualvm/visualvm-1.4.1.ebuild X-VCS-Directories: dev-util/visualvm/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: a61991f7ba6b1af9bb69f0c82a4e6510774345b6 X-VCS-Branch: master Date: Tue, 29 May 2018 20:26:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9968dbdd-a68e-4d84-9954-e97c68aa492c X-Archives-Hash: fde486cdf9973586c5ef949cf7475de1 commit: a61991f7ba6b1af9bb69f0c82a4e6510774345b6 Author: Guido Jäkel dnb de> AuthorDate: Tue May 8 11:00:04 2018 +0000 Commit: Patrice Clement gentoo 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;" +}