diff options
Diffstat (limited to 'dev-util/visualvm')
-rw-r--r-- | dev-util/visualvm/Manifest | 4 | ||||
-rw-r--r-- | dev-util/visualvm/visualvm-2.1.10.ebuild (renamed from dev-util/visualvm/visualvm-2.1.9-r1.ebuild) | 24 |
2 files changed, 24 insertions, 4 deletions
diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest index b1023c1aea0f..b1188123c8ef 100644 --- a/dev-util/visualvm/Manifest +++ b/dev-util/visualvm/Manifest @@ -1,6 +1,6 @@ AUX visualvm-r2.sh 423 BLAKE2B cdc5db4465a339735ccff5f37bed89d76da2f2d514f522b7768fa37aad46804997d267285b09d6346674d43964d0ef0a0cadb24d28e9b90256a593d7420aab4a SHA512 eb7356e10a94db048fb471215b2115b93764931ed4178594bca5a1aac480f2262ef361b2f53fc23dbcdb4d44e1aeab678204c50583abb8016696a7d87288a9bb 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.9.tar.gz 11781212 BLAKE2B e924134e211a7f0a95d299f21dab2fff35fb0c0f646ea25adc0eb1204628fbec752075380dc6f717ff902f566040cf9ed8186b1470f9277d39742e288142de67 SHA512 ed950c6216185b9d09ed0605729cd02b649df32fef0f204066419bf96f61f63887b7bad082e5434e740f23856270be2b5c0bd35aa825511cb35486059592b3e7 -EBUILD visualvm-2.1.9-r1.ebuild 5825 BLAKE2B 98f8c40b013424cff9ceb8d62b5ac825b037c7e29d6eff04f5c5f2058378a9f2537766ab5383a94c8c617f95f6fb50459a10bec3fcd2722b4bd70e0cf67cd6bc SHA512 fa0ce7ef0ff0f8da86c04f3a1f88d3a5b893dda67596d03755068cdeed08b4d6410ecdd9886df0c504dbf8f6ea452eaa30313c35158c97599189b9b828b72dae +DIST visualvm-2.1.10.tar.gz 11782775 BLAKE2B 6c25293fc456cd5add37aa11d623e7a329f31f2608eaf5217a64f014d26a0ab439569edac6367a79102c3d89fe88182bd9ac56edf96aac515b6b6146eaf70a25 SHA512 dd8da529b766c97e8dfc392eafeafb672cd5f74d8a86cb5c4c4385769c5cb1376e7757601d5254de46d7bc5ff705aef0d839692426ffd1a3a10304c3fa90d440 +EBUILD visualvm-2.1.10.ebuild 6508 BLAKE2B b5c4a6f188a28dd3d0af4c5256b5f304063e7a119baebe2ac63d65daa9d62b9283b986b869db7a09e6817dd9ceca02b8c3739a92178a68e6d4da3e28a38d26a4 SHA512 dd1e8dc1a3c930b08518f655364714243ad0c1de1775cab778c66d2abb80de3904cb3190d54f434d385cb7d063f9704b70c19d8942cb2fcc441e2ec3894abc6b MISC metadata.xml 317 BLAKE2B e5f32379a40e3c2180df4f3ac4e7ea03a7dbfe69b1cb6537c1693262cc06e6334959abfb68f888c588fa933f60e85f137355bb57ff769107dfe805595d1a3ad1 SHA512 605d7206793c3d865547b69f9715305d46d433d18096b886b362d2d86adf4eda894c23af1819b6af95423fbe2a37781d1d100a9df9f15a01942f66c73dc2fa2c diff --git a/dev-util/visualvm/visualvm-2.1.9-r1.ebuild b/dev-util/visualvm/visualvm-2.1.10.ebuild index 69e6155048e4..a8d9182181f0 100644 --- a/dev-util/visualvm/visualvm-2.1.9-r1.ebuild +++ b/dev-util/visualvm/visualvm-2.1.10.ebuild @@ -45,6 +45,7 @@ COMMON_DEPEND=" " # it does not compile with java 11 +# not even after removing hardcoded -source and -target values DEPEND=" ${COMMON_DEPEND} virtual/jdk:1.8 @@ -101,13 +102,32 @@ src_prepare() { || 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 \ - -Dant.build.javac.source="8" \ - -Dant.build.javac.target="8" \ + -Djavac.source="$(java-pkg_get-source)" \ + -Djavac.target="$(java-pkg_get-target)" \ build } |