diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-03 18:18:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-03 18:18:28 +0000 |
commit | fceeaf01a28ee71065cf3798b70b77d3bc4ef199 (patch) | |
tree | 6be36785f6ffa594c4dbd785b3213c995b5195b9 /dev-util/visualvm | |
parent | 27dfd272ae3be15b1017f733682211afa1c7c0f0 (diff) |
gentoo resync : 03.11.2017
Diffstat (limited to 'dev-util/visualvm')
-rw-r--r-- | dev-util/visualvm/Manifest | 7 | ||||
-rw-r--r-- | dev-util/visualvm/files/visualvm-r1.conf | 9 | ||||
-rw-r--r-- | dev-util/visualvm/files/visualvm-r1.sh | 13 | ||||
-rw-r--r-- | dev-util/visualvm/metadata.xml | 13 | ||||
-rw-r--r-- | dev-util/visualvm/visualvm-1.3.9.ebuild | 58 |
5 files changed, 94 insertions, 6 deletions
diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest index b7e636a6262e..000632b9cd6c 100644 --- a/dev-util/visualvm/Manifest +++ b/dev-util/visualvm/Manifest @@ -2,10 +2,15 @@ AUX org-netbeans-modules-profiler-kit.xml 480 SHA256 f2b7ef384e71241dd91a49825b6 AUX org-netbeans-modules-profiler-nbimpl.xml 486 SHA256 86d7dd0bb435f9fe97a54ab1dff2d6f5a2cc8413add1ac78c9abed9600e0de5f SHA512 608089dfe84c19542ebabf484b4ba4ac0c0fd9be62d0e86f1a46f5b99cc00e702236618037aa5afa9d2f866af8b360fc4cfe9683998616e96964595068e73f4a WHIRLPOOL e8913740280b7a5f73082789d55f48b4d1a970f24074981771e116404a5028ab679e55faa7636502935442be171e0a231cf78f659d28c6bd3473195e83af9be0 AUX org-netbeans-modules-profiler-options.xml 488 SHA256 fdef7c3e062df1cfddff844c11b0763190a92f863a9d308de240b67a42ea110a SHA512 00012a71334794b5b454f7de1ddecd2dd5ea90f11c8a4fdade520d0128d4cd27af13f5dc707b00231c68bf302189f06eaf2addc9cdfe403773421497ae4f1dcd WHIRLPOOL 028d335379785361e582016f8279914d2baf00c037f15c7e9e3094e19c1c53a6242669cd990c914437fe0447cbd12773fa67047671d704bebce58abdd3ee518a AUX org-netbeans-modules-profiler-oql-language.xml 498 SHA256 dec11f45e21b886b98841e058e7dfa2be8d34cec1309e8401d334f7f23471738 SHA512 95962ba87c85c7f0ae9378eab7b29d377e3e4cd5173e65f428f26d0c2e9d35d69f140877d1fbb77dbdca4ca0473d8beeae48674101412c9b41e0be832895f4b2 WHIRLPOOL 445fd2ab096125512f7ab0599cf7b1a3938ddba9bb5570596d1fb9e307e8ad1fbdcd905dea808bf7447c696f0973a5aa239cb6666f73977f62718ac8bd716517 +AUX visualvm-r1.conf 786 SHA256 a024c926b7d9136e86065614c2772c57963a84eb0afbdc1f6d81b26297b8ebfa SHA512 243ab8ac4472492edf796582dea5164f53261f654168cde9ccf863e0f265ec5c50442c1c44de89ca759c8d0dee6c00c10a3f807ad45d039976ff4d91c89d8397 WHIRLPOOL e484fc1383ec2cac390f670605bee5583e187eab5ad5482f8848d4450fa4689d4c6242ec49339d79fe32063626cd9bbab484debaa44c2b58081fa7a123a23949 +AUX visualvm-r1.sh 424 SHA256 0e8eda79c2478bf58d7f6cca5d6fe4eadca96697212615a348c97bcc01b38df5 SHA512 8e579f126142f52e14f235a23c3834933b59a9df95ba76b6b9a82175cfc5e12d759bc0d7234ae3cea7684bdfe12f2efb9785afbe6844394f458cff05ae8342f7 WHIRLPOOL 31b198715d7d5750cfce99ecea0e13279b9e54284cd9b34421b7840e072b7cd5c2456bf1cf03146a0356518cbd2b47823652b0072dc0311af7e9f09f25dd518e AUX visualvm.conf 383 SHA256 8ee4e0cb4a69cd0db8f581bef42ae8504ba14323dfe163f7c275e9f821d1a3ae SHA512 a5537c7ff8e3821ea435cb6236eac6d0f8941d16541f14862cf5ad15fc2d3621cd50aa296dd316f54f7137196981163b211fe984d21a38ababfce05d575203ff WHIRLPOOL f53de8d9401fbeb86ffb23825da5d228dee2ff1a6b158a74190a6bc37ec24d36d819d65242d0d7b1e0732baadc98766740b33381bc93eb1a9210051b48a9f849 AUX visualvm.sh 730 SHA256 3828b835d52d7c3a8d452b4cca0273559318bdd66c8a1e6e3fa27354ec06d6f6 SHA512 5f8ba3cbb1c74c9807c016fff5ce31abeb15275df68c710acfb2d0e5f9ecf7e9c5c6aa85c865350bc8225caa278117cda8d6005e28759cc327baf0d14546b95b WHIRLPOOL 85d6857376ccb4ec84391cc4ae9c259911a60060d23753217f6bb26f8fee53bbdd3324bc014bcd030a558080ebc9949b3c5123b7516cd979c75a73aba2d27e92 +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_138-src.tar.gz 1052176 SHA256 e34cd0425d74055e03394c572735067d3b98095ed5c04268707b52f1dc7c6144 SHA512 f418fcd3316f793c6fc77c6bcdf1e53dc543f7de2ee638f3d500a4de61505246fd07829b25cdf988836f515b72c59c71a2a4fecbb569910e9203e5b490e837a1 WHIRLPOOL c2d83fd92687d07d2f240d4a6c1f150471041e0e0ab1c13f7cd1804a98d3565ed1df29c5124002ced0c403fec98b5464f8ad113cc76ae264d95413c81c4dc129 EBUILD visualvm-1.3.8-r1.ebuild 1801 SHA256 430d3eb62f58d9aba67fc46fecd0fa95bbb9dd5acc2d8fad13cb36ee2e7dc4d9 SHA512 68b0dd605e34df43883caa8476913cf77f804141e0d90b2cbd68827fe152984296b6895f2520ee14b81a4ad01d35eaa6af4c7eae3b126b3bb12f7dd747778dc3 WHIRLPOOL 56f22c4d1d1e7fe65267ea3c6f5af73776f07aa0ed438af8a96ff3fa840e743e7b63d266acb0115d890a0dbab0a2c5d7c918ee9b7561992e5397350535b0b2cf +EBUILD visualvm-1.3.9.ebuild 1448 SHA256 dd36064f16196b8645decc558d9deb791d48ff6986b1f9083e7d95893c301b7a SHA512 53f14fe6f1ceb34d9a1b0c3da20baa510f115c99b479603a2af36510b20826d6e23f71b7102288ea0a4f817c8ad0e4511bc9c2d427b2324e9eeed9106395d6fe WHIRLPOOL 1c6aeb0597de87f47c71297bf6d9cca26ff9ec89ce46f72cf2437525109f49ad4db5e0adb3598841fa42ad24b0c53c661f320f5fc694499ff92713143f797f74 MISC ChangeLog 2950 SHA256 9b5c0dd533ce296b0bfa4f1ea2ae5df7bd3f65c71cb4341ef91a6b51d1785ae4 SHA512 bc1cd08ad0b17a63f8727c9d6987aa6c981b9ff631e58614809c4d46635bbac691f058f8ad7acb49fa99087d06e6a852c0cf67e9186cf6c89b01ec9107279573 WHIRLPOOL 1787ce34ab59e9509c7c8afd1f23e06b151e8a0b6b97b43984d06aeb56306121a9eb3b2e759eacc299aeabe81643a9e66ca47c3c4a7641d3a0955cc13dbd4a23 MISC ChangeLog-2015 2106 SHA256 cd9d0b9eebe63b3dd597a4a000c396c0975d129be3a492740bb7c017e66124aa SHA512 4c7428777f2f257866aa253a160c062d9f368b0831076b9f8804f81ee93e0f6dd98f572fde056ce2093807fdce805132ebda1268d703ce14e188fdf06ff4ad9c WHIRLPOOL 83081cbbfa408fdf21b4dce0a6d92dd4cc08c4e668b529cca3c77d4f33d1c6698bd06bef670e9f6c001d0412e510ee34aadbdfb2e3fc9dfb9b80184cc89d9f67 -MISC metadata.xml 346 SHA256 f90f6f8211893f5ce8dbf54c4ba4d8dae856449e6e61245667202a7148ef643b SHA512 bef5b6d65ed86015b369e396c706b70f885407890e72fb177d170761d9c04a6dfc843d59999a9076ca64f3c281cb25b604213f31c67cec5e7cc47389e99429b9 WHIRLPOOL 0e3020788df31c25ab4303ef911557435cc648a41c946b884146d06a4b039f2be7900d685c0291129d11a93fe83b7020739ff387dca7fcb1d622ea92ae92ccdb +MISC metadata.xml 452 SHA256 3b662ecec2e75e2b4a24324ba91216f22cc5f221fa97598ee4bb9e12193492d9 SHA512 cfb0070326f1fc73f96016a138bdba35b6799333a625c38c84fb486134e1446f71bcfe2f170cdbe9ff86befe66905ba79caebd68f811547ec638e69821a5a739 WHIRLPOOL f7471334f54117edab74a0c8b68147de4c7d0480afbaa344514fc6ceef34bc079c1c98e392256f4ca77762175e399c9c3a69db36bdbc86753121c3f09d88a382 diff --git a/dev-util/visualvm/files/visualvm-r1.conf b/dev-util/visualvm/files/visualvm-r1.conf new file mode 100644 index 000000000000..fce7cfece13f --- /dev/null +++ b/dev-util/visualvm/files/visualvm-r1.conf @@ -0,0 +1,9 @@ +# Default user directory +visualvm_default_userdir="${HOME}/.visualvm" +visualvm_default_cachedir="${HOME}/.cache/visualvm" + +# Default runtime options +visualvm_default_options="-J-client -J-Xms24m -J-Xmx256m -J-Dnetbeans.accept_license_class=com.sun.tools.visualvm.modules.startup.AcceptLicense -J-Dsun.jvmstat.perdata.syncWaitMs=10000 -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.d3d=false -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-exports=jdk.jvmstat/sun.jvmstat.monitor.event=ALL-UNNAMED -J--add-exports=jdk.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED -J--add-exports=java.desktop/sun.swing=ALL-UNNAMED -J--add-exports=jdk.attach/sun.tools.attach=ALL-UNNAMED -J--add-modules=java.activation -J-XX:+IgnoreUnrecognizedVMOptions" + +# JDK home +visualvm_jdkhome="$(java-config -O)" diff --git a/dev-util/visualvm/files/visualvm-r1.sh b/dev-util/visualvm/files/visualvm-r1.sh new file mode 100644 index 000000000000..dd6956da0697 --- /dev/null +++ b/dev-util/visualvm/files/visualvm-r1.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# source the configuration file +. /etc/visualvm/visualvm.conf + +# launch visualvm +exec sh /usr/share/visualvm/platform/lib/nbexec \ + --branding visualvm \ + --jdkhome "${visualvm_jdkhome}" \ + --userdir "${visualvm_default_userdir}" \ + --cachedir "${visualvm_default_cachedir}" \ + --clusters /usr/share/visualvm/cluster:/usr/share/visualvm/platform:/usr/share/visualvm/profiler \ + ${visualvm_default_options} "${@}" diff --git a/dev-util/visualvm/metadata.xml b/dev-util/visualvm/metadata.xml index 9ef97ae66fd0..619755c9c84e 100644 --- a/dev-util/visualvm/metadata.xml +++ b/dev-util/visualvm/metadata.xml @@ -1,9 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> -<longdescription>The IcedTea project provides a harness to build the source code from VisualVM.</longdescription> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription>VisualVM is a visual tool integrating commandline JDK tools and lightweight profiling capabilities.</longdescription> + <upstream> + <remote-id type="github">oracle/visualvm</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-util/visualvm/visualvm-1.3.9.ebuild b/dev-util/visualvm/visualvm-1.3.9.ebuild new file mode 100644 index 000000000000..7fe5e09f1733 --- /dev/null +++ b/dev-util/visualvm/visualvm-1.3.9.ebuild @@ -0,0 +1,58 @@ +# 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;" +} |