summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-02-13 09:57:28 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-02-13 09:57:28 +0100
commit518746305455cac485d7b3c65f67bc8151f2e2e3 (patch)
treed59044abb5fec309cf05140d530817ad56b201b0
parentnetbeans: bumped to the latest nightly sources (diff)
downloadfordfrog-518746305455cac485d7b3c65f67bc8151f2e2e3.tar.gz
fordfrog-518746305455cac485d7b3c65f67bc8151f2e2e3.tar.bz2
fordfrog-518746305455cac485d7b3c65f67bc8151f2e2e3.zip
netbeans: bumped to the latest nightly sources
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--dev-java/netbeans-apisupport/Manifest2
-rw-r--r--dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180213.ebuild97
-rw-r--r--dev-java/netbeans-cnd/Manifest2
-rw-r--r--dev-java/netbeans-cnd/netbeans-cnd-9999_p20180213.ebuild115
-rw-r--r--dev-java/netbeans-dlight/Manifest2
-rw-r--r--dev-java/netbeans-dlight/netbeans-dlight-9999_p20180213.ebuild87
-rw-r--r--dev-java/netbeans-enterprise/Manifest2
-rw-r--r--dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180213.ebuild252
-rw-r--r--dev-java/netbeans-ergonomics/Manifest2
-rw-r--r--dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180213.ebuild87
-rw-r--r--dev-java/netbeans-extide/Manifest2
-rw-r--r--dev-java/netbeans-extide/netbeans-extide-9999_p20180213.ebuild94
-rw-r--r--dev-java/netbeans-groovy/Manifest2
-rw-r--r--dev-java/netbeans-groovy/netbeans-groovy-9999_p20180213.ebuild97
-rw-r--r--dev-java/netbeans-harness/Manifest2
-rw-r--r--dev-java/netbeans-harness/netbeans-harness-9999_p20180213.ebuild100
-rw-r--r--dev-java/netbeans-ide/Manifest2
-rw-r--r--dev-java/netbeans-ide/netbeans-ide-9999_p20180213.ebuild359
-rw-r--r--dev-java/netbeans-java/Manifest2
-rw-r--r--dev-java/netbeans-java/netbeans-java-9999_p20180213.ebuild268
-rw-r--r--dev-java/netbeans-javacard/Manifest2
-rw-r--r--dev-java/netbeans-javacard/netbeans-javacard-9999_p20180213.ebuild120
-rw-r--r--dev-java/netbeans-javadoc/Manifest2
-rw-r--r--dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180213.ebuild155
-rw-r--r--dev-java/netbeans-javafx/Manifest2
-rw-r--r--dev-java/netbeans-javafx/netbeans-javafx-9999_p20180213.ebuild110
-rw-r--r--dev-java/netbeans-mobility/Manifest2
-rw-r--r--dev-java/netbeans-mobility/netbeans-mobility-9999_p20180213.ebuild112
-rw-r--r--dev-java/netbeans-nb/Manifest2
-rw-r--r--dev-java/netbeans-nb/netbeans-nb-9999_p20180213.ebuild114
-rw-r--r--dev-java/netbeans-php/Manifest2
-rw-r--r--dev-java/netbeans-php/netbeans-php-9999_p20180213.ebuild113
-rw-r--r--dev-java/netbeans-platform/Manifest2
-rw-r--r--dev-java/netbeans-platform/netbeans-platform-9999_p20180213.ebuild154
-rw-r--r--dev-java/netbeans-profiler/Manifest2
-rw-r--r--dev-java/netbeans-profiler/netbeans-profiler-9999_p20180213.ebuild107
-rw-r--r--dev-java/netbeans-webcommon/Manifest2
-rw-r--r--dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180213.ebuild118
-rw-r--r--dev-java/netbeans-websvccommon/Manifest2
-rw-r--r--dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180213.ebuild80
-rw-r--r--dev-util/netbeans/Manifest2
-rw-r--r--dev-util/netbeans/netbeans-9999_p20180213.ebuild235
42 files changed, 3016 insertions, 0 deletions
diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index f1a133935..dc4a6495a 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-apisupport-9999_p20180113.ebuild 3058 BLAKE2B 535a8fc0032e1ef70a43eaa93a1cd225f99bc55ffbf29bfa9345c837974acf66b882b9b6c28df58c32ce360c49b3b229013eee839a10b0c4aefb891019b96751 SHA512 c165694608b242bf42efecd52b5249a06d10682c28939e716eff61181c06d7d6f398ccb73b8b3fc79310fc20fde34cf768aa51aaccd88a66524f774d906e1dfc
EBUILD netbeans-apisupport-9999_p20180115.ebuild 3058 BLAKE2B f23eb5d43db25e27bc2c9083b6e2d2185ded167ab13258b676ae0220fe920c7a0b17deacec8d737384a16fb172ce3af26f227518aa171990c5226106c4fffb2f SHA512 71a092f71e468a17e1786e6760cccfaa80922f24024ff29ba2303894cb638c027e51f5566116401f5159bed2a9e2e858f5edcaaca805f9d0270724fc3a73d9a7
EBUILD netbeans-apisupport-9999_p20180116.ebuild 3058 BLAKE2B f586128348b931c5d8978e21e78095ee3c8af66e6d44284ee6dce287299a7ea9388e757b1c8add237a5c0ab9079a571b4ab47769578f5c9306fc150fb9701bba SHA512 bc217b56e40f2abe21232a6e4207f183d53086c3f235c78e7a3fadaaca17d9e98257097a60ab210b9ce9068ed5a8a4b73279cfa51ad1701c8c41018d95895fe4
@@ -39,4 +40,5 @@ EBUILD netbeans-apisupport-9999_p20180207.ebuild 3058 BLAKE2B ca6e802c7917e2b67f
EBUILD netbeans-apisupport-9999_p20180208.ebuild 3058 BLAKE2B 1716289de833c499a305632e25b09a0f57e519140bd50808fb4ad2b7209ac5cdc6e4107e8b9188e41eee172f5f4bf298daa50ef9da248c68aa62cc297d307479 SHA512 47ea1090b596317cb2cf0b69003511a1b2d9bcfe1de9859d009dd59eff8bf756c00eb5e51b4157712b6033a7f24d15fb118b9c8bbba8e03daf7ce3eb8d0fe31d
EBUILD netbeans-apisupport-9999_p20180209.ebuild 3058 BLAKE2B 532d2943535d3a21ca6aa038143147d11d891caaa8ca1f06618da7565e52be4515429bc391f6855deba49c6295d081af9377f446881e03e73cd4825fc49ed140 SHA512 6029c76c40be692585dbcd4925c827fc44c294e1f3569d041a5e3ba7fb9fedc7cf2cdbc8262e7701851526c6aa33ab92711e2cd886bb1d6e7cacdddaa5f30f7a
EBUILD netbeans-apisupport-9999_p20180212.ebuild 3058 BLAKE2B cbaf263e6a5456f1d4bd52c5de710d907ab8528ed60e7a8f55669ea810129a261f4b18d272fe5b1c2445a8144009fbe905ddddf10990c18631cf0d8e13c00680 SHA512 e95011b83422e08378a2235ca52cdbd700c46abfe3faca8652fd6514e7b0767a645f069ac514792f38f3fd6f0e5cf383057dedabf95969cef388a5c387852068
+EBUILD netbeans-apisupport-9999_p20180213.ebuild 3058 BLAKE2B d15d696f4358d613431822e99e99046b20d4256c6010b4eff6ce4be6411ce43c4833a9b18eb8e5264e0d98945f314a98d5b1af7707085c0830af0b79a877eaf3 SHA512 c71c39793fb928c25c8dc9621b4458488023c29628efe77aae0e17538c3c7690ddae133d24689190f7ad650d360e912416418d708143645ffd4302d1775b07f1
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180213.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180213.ebuild
new file mode 100644
index 000000000..821a62c8c
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180213.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans API Support Cluster"
+HOMEPAGE="https://netbeans.org/projects/apisupport"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.apisupport -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/apisupport >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/apisupport$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/apisupport
+}
diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest
index 648c095e1..0d0224e0a 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-cnd-9999_p20180113.ebuild 4686 BLAKE2B 1035f04a5bdd0e4debefd5a8ad71da9f4559a1e6a8fdd20d0f02f1c0dcafd9c27c0b59b1739ca1341e21140e27affb24b66aab0e38f95df71b5af241bc71c3e5 SHA512 af01222f6f54100431381c4decd40a30032374b06025c145e103b47b0caadac1c4184429649d8ac8c5e76b8e301a4898dd333326a0209899804c7d2f1c3ea94d
EBUILD netbeans-cnd-9999_p20180115.ebuild 4686 BLAKE2B 098e31852e28477de8b6161e71cd2941b1c58b54fc6aba6ecba67d99467318ac1ea7bf5860ab5468d0ea006b16d562c720ada3c027f6ab15ad0184a7d1397062 SHA512 40f1015088d4129c3af4eb1184c6996e460f0d119fd06d1348302a592c0369e2167c4561213d716a3a8b093a31034dde198d81ecfd13c709deb732944347e8fb
EBUILD netbeans-cnd-9999_p20180116.ebuild 4686 BLAKE2B bc3aa720e292d7cc1851b556a1efeedd890f088208d019b2481ed56ccebf496c2d31b9678dd1620a41ce45b5a95823b3793155d3ca0c8198a10200d0570682d2 SHA512 8a9b9385bb3e3e1d379c0f919fdc19869a1f7d01408b279c77a5b16ae31eb828e87c0429fc02a32db097b5a20b4e0af7dbcac1db50342135737fe6db31878b34
@@ -46,4 +47,5 @@ EBUILD netbeans-cnd-9999_p20180207.ebuild 4686 BLAKE2B 6f1ff74ed6d3ce70a58d608e3
EBUILD netbeans-cnd-9999_p20180208.ebuild 4686 BLAKE2B 0ca6268e4e209235e0aad1540efd2e19a4bc30b6bf8d8426e9e7c896d85508610c48438644e28e3c2ba4aca567756a526bbdfcade9021c2c243cd9f5e2e0b25f SHA512 f477ec5304058c778260bfe72fc1967d05c5d20c89be1b3c135f26c132e551ec9f4252b51b98bdb55ee7be8cadced1ed156b13365200839c37113580d0a1ef04
EBUILD netbeans-cnd-9999_p20180209.ebuild 4686 BLAKE2B e592c7f9fba38913df1ade3d85e17ee07a308a3d35fd033bd25ba4a12a3ffa2680efbbaeab6d211d440d112cd875da8fca3c72ccf5149a80972713e1067373a4 SHA512 840c59cef1c52feeb84cc3bc64b9f605ea01f7373b16bf37cbd4688b0598a8706840bf83d3d8d416e458773d318b83f7c0c7adc2effcd16a31b34690d53eba61
EBUILD netbeans-cnd-9999_p20180212.ebuild 4686 BLAKE2B 184ebc8da90d9df815197c6cb68eed43f446afb038bf12c3cb62edb6cd395504f5a6721379b7ce8a63dd7e772ff0871d5472c47191b8c2286f7798d49e095298 SHA512 5caa30f7916ce9a3f2008dc0d1e40be2efd72f734f9e219e6e6105359254e46fc8e2b635e71bb91ea670dd4a6ecda4e9a94edc2f114b032cb1269d028b63e986
+EBUILD netbeans-cnd-9999_p20180213.ebuild 4686 BLAKE2B 9fbe08366aeaa8bdfd48666ab4fd4067597090e7c7202a89008cdd1e6b6e8e7c180145925ffc44cfe673d54037d67f2ec92d0b2a231799960f29bf0b3a5203db SHA512 ebeb55c7a84e0a0a2bdc076c626cd8731c73942280eb69c92ffa40375588bc01746e838f5ff4987c98d044c1b5067766b207a41b2c714f0172b7daddfb3e8cf7
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180213.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180213.ebuild
new file mode 100644
index 000000000..51fd041c2
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180213.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans CND Cluster"
+HOMEPAGE="https://netbeans.org/projects/cnd"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar
+ https://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
+ https://hg.netbeans.org/binaries/BBEBAEE8729CCF165E2080A915542C6875208F97-clank_0.3.9.zip
+ https://hg.netbeans.org/binaries/B7B417DE191ACF30A60E061437B810840128A89D-cnd-build-trace-1.0.zip
+ https://hg.netbeans.org/binaries/E59851B0E49C05D728D5C653E52750FA5B6A8F0E-cnd-rfs-1.0.zip
+ https://hg.netbeans.org/binaries/C51780D99464CBF45B0495C7646B442AB3C7B463-open-fortran-parser-0.7.1.2.zip
+ https://hg.netbeans.org/binaries/6356FC5709DA48844F0E64E241657F1B26AE6EF1-t-common-1.0.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# These files are for remote development and debugging
+QA_PREBUILT="usr/share/netbeans-cnd-${SLOT}/bin/*"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-dlight-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/jna:4
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.cnd -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar libs.antlr3.devel/external/antlr-3.4.jar || die
+ ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
+ ln -s "${DISTDIR}"/BBEBAEE8729CCF165E2080A915542C6875208F97-clank_0.3.9.zip libs.clank/external/clank_0.3.9.zip || die
+ ln -s "${DISTDIR}"/B7B417DE191ACF30A60E061437B810840128A89D-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die
+ ln -s "${DISTDIR}"/E59851B0E49C05D728D5C653E52750FA5B6A8F0E-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die
+ ln -s "${DISTDIR}"/C51780D99464CBF45B0495C7646B442AB3C7B463-open-fortran-parser-0.7.1.2.zip cnd.modelimpl/external/open-fortran-parser-0.7.1.2.zip || die
+ ln -s "${DISTDIR}"/6356FC5709DA48844F0E64E241657F1B26AE6EF1-t-common-1.0.zip libs.dbx.support/external/t-common-1.0.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --build-only --into libs.jna/external jna-4 jna.jar jna-4.4.0.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+ cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.dlight.built
+
+ ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/cnd >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/cnd$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ fperms 755 bin/dorun.sh
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/cnd
+}
diff --git a/dev-java/netbeans-dlight/Manifest b/dev-java/netbeans-dlight/Manifest
index 8167ad782..0a01e5344 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-dlight-9999_p20180113.ebuild 2643 BLAKE2B e40fd136af116488db67b1ee3f77a22235cc6012d5f09d46c1be9648eebde8b98584669b663c7c0afb86a2a33af5fcb7a3c00f255b5a5a88b6d056132f9eaa5a SHA512 3dcdbf48c5d1a723ad8bb9ae0b38697fec1405c5705ae63a40da3e078ff795e15a6d5b19036aa183ee4bb9d19ea1fdd65738452b9c316c0de4cbc2049defbde4
EBUILD netbeans-dlight-9999_p20180115.ebuild 2643 BLAKE2B 3e4dd2b21e72c7d766aea11adb82a1eb2f72742b7019069cd18f48be3ff9e7dd9ffc1866cdf01fa72303442d06750b57976b7126e9790f10d03fb108c3913c5e SHA512 bb4d1a2e4bf8fcb8d87314cb5402b1d6d1cd5ce387eadaf92efc5cb59f782dbba53101627d0c092add2f83c2e78a68473d6ebaab1045e5249e1ca6c772f3d271
EBUILD netbeans-dlight-9999_p20180116.ebuild 2643 BLAKE2B 4a0c4668fe76de1aab87bc6c2abe64f2f7e95635ba85dc6314f9d52b871c0db7f9e530ffcf5e2d00447dad173bf47768999d26f7a2bbed5b5993693b4c127e4c SHA512 19e0a68ad601aff4ad2e7979326d2ce67c5029ac83940340dbac47237977f5ffb0c413b06276d80cbbf4f065c6e4cfc84b1014a0be9bfc6f1a68bd562d4cf16f
@@ -40,4 +41,5 @@ EBUILD netbeans-dlight-9999_p20180207.ebuild 2643 BLAKE2B 47173fefdb001bdc51f1e8
EBUILD netbeans-dlight-9999_p20180208.ebuild 2643 BLAKE2B 554791c87f28f856829a18c5a8330bf5390dc6be1072c78a4d713a79cf692ee84459d62953f706f8be674b73f5eab385ce061741e21cb9edad2ebe98f4f86b4c SHA512 b2446b7e99620a20802205613ab4e7d15d13257f40bcc93f91b51d9ad6ded88f7c101ae30365ca0462c0bd1d358cb752bb17d32f77b4c743a56efe56b9b27539
EBUILD netbeans-dlight-9999_p20180209.ebuild 2643 BLAKE2B 9c963965d8ad118053fa8e6a637b8e7dedbc072c1ddca98e8f381f2cbf2e5ea0904f0871953edfeefd1d7f165c1efa33e4e3bab941d6b3aea90f9a6e39914f2b SHA512 62773e1234df2006d715bd776e1e9287f864f9fa690b6a46af75f30fe957dc9a402820a3e352c0867ef2ab9069773798cacbe801a794221e14ea7c1b1eafb8b4
EBUILD netbeans-dlight-9999_p20180212.ebuild 2643 BLAKE2B 22c6e6e6fe050ae3cbea5cf00bccd3dc7430575be3cfb840029f178c1a2d788008bc4a19e71b399740fae2cc0f07419e8ebfecf170dea9a51e2da4f6433a9f3b SHA512 6d67e346cd6a342a5cd6ae2470bdc4a772fd4fc0659c3dedb02fda9acdc5fd6c3f2e6d474308cc4157ee06d5fa3bd8215b7ba6298a36fb8e1f745ee4bc020e20
+EBUILD netbeans-dlight-9999_p20180213.ebuild 2643 BLAKE2B b226051b51f8d59173e139c08f7cc4c9e202ec755c1fa1c503326753451654002852964208ef60044d55512e08e93aca5dbb22b12bb096203e6ddb47abe5c9fd SHA512 f3cf4f62ae5d2d86158d8c90c5573f6314dd7069d8c9439dd583b5053816d3ae994e07557d3df27af205e03298aba5f174a8dee0e2aecb9c0b24a2d07f3cb03b
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180213.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180213.ebuild
new file mode 100644
index 000000000..0b110dd8d
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180213.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans D-Light Cluster"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/00784557F614BE02268C50C1BA692A6B19F0EE27-fs_server-1.0.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.dlight -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/00784557F614BE02268C50C1BA692A6B19F0EE27-fs_server-1.0.zip dlight.remote.impl/external/fs_server-1.0.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/dlight >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/dlight$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/dlight
+}
diff --git a/dev-java/netbeans-enterprise/Manifest b/dev-java/netbeans-enterprise/Manifest
index 833bc28a3..174518b80 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -50,6 +50,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-enterprise-9999_p20180113.ebuild 15530 BLAKE2B fc262e102ccc8c60bc603838454f6bd5fa49d67f4cabca66864e4da6d2e03ab7fba92d99fb167bdf1e3593d68ef85b8f9cd001022d9353ba6f62e66a29f8c2c6 SHA512 987625194f94bda4b751ef1ad445f9bf6b14c11d3b3634078794152db4681a7c66b692b1667c7f8592e8b5d4da960d582c673fa8227f6427d2993ec234022c10
EBUILD netbeans-enterprise-9999_p20180115.ebuild 15530 BLAKE2B cb689feeba311f2034c57daa1f8cb7b05fd6c3463b637007bb3d24b79f36ce1b808d7ea870e581d3b4ef4d24c91c2369b2419a0a049bdfd26c541929d0dcae8c SHA512 13d920ab23ed07a3e68cfcea3015d715e76627aeba3d6f9f55df25691b7442335f945745faea925db5c0bdd88b2ec9e96a134cbd8ac1a99ec01e6f27730ad1af
EBUILD netbeans-enterprise-9999_p20180116.ebuild 15530 BLAKE2B dcbf91c72470c269580d5fa926fcce47acea2e8c93b3137ea096dd472386e0787367c8d3060db28fb9930cdc184d6429e367a8019cb7336a423816db489e4950 SHA512 ce1fa2b1f182cb0141c4e81b7f20bef1c862b30c251a6081416c30bc21c5a8690a48e4acebe2926635209b2bb9deadb71683a2ed0d3fa4a302c72aa8d47c6efb
@@ -70,4 +71,5 @@ EBUILD netbeans-enterprise-9999_p20180207.ebuild 15530 BLAKE2B 4c47cc2576f9afee3
EBUILD netbeans-enterprise-9999_p20180208.ebuild 15530 BLAKE2B 523e2c978bc5b8392711079c81be85365327ee635d43b71b40b2f7c1d1caf362cde82d4d515fea6a0d5fbe2e4e4d8db41f21a2cf514f4ed91b8ff6d475a8ca5d SHA512 6bbe0732fb7ec8905e23e48d7e961634d399039c38c237f315dd5a36047bc2eaa71421e7fadb86e7162437e834a36850a53675dc3d196ecd52d3a5e65909ebe1
EBUILD netbeans-enterprise-9999_p20180209.ebuild 15530 BLAKE2B 272a31df2f58c03abf094dd87899c2bd81fa39fd9e0367bab45d314587e8e68c33f41e6f69d27cf6860dfbd8499cb368a8fe00425a5c0479f01ebc020af662af SHA512 12656070f039573ebb881c87fdc1cc11ff7238118afdf7ac6a450ad142bccc6828fbf6a1c70fc9828a6ba8053965c05fc98559c86076a77e851a2fe26d6945c0
EBUILD netbeans-enterprise-9999_p20180212.ebuild 15530 BLAKE2B 70211a273a5af02d5e08889b2794203c7e15311c4ec44d94a513d5faad082ddae15f8437acec6ef10e7afb5cbaba86be148d2d0c1844a29332beebfb0d614709 SHA512 8d912fec7432cbafda3868992b8a790ae2052a39ea237cae83de4bbc37fd049446c6dd9d0eb6fb2cd130e48b12c622bd216788fbeddb947ee8895fcf75d2c75b
+EBUILD netbeans-enterprise-9999_p20180213.ebuild 15530 BLAKE2B aabd160c51eed38d1dcf96b11fb0e4cd65db51659abc9d0a44deeeed1a83b4be3b6f91b2d7f35e31cd9e30fb7d85f74a2901b1fd3c0a0a14649ce8c2c0a7b42e SHA512 1bfced15d23b0476b08e2a3f89285f562de43ffcfbc3e0be3f4e6df57351f5f1f8e5a67d91a674a93b6560bd2f4355e2d50fb55df87fab5d16849d83ad0088a4
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180213.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180213.ebuild
new file mode 100644
index 000000000..eda17f3d3
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180213.ebuild
@@ -0,0 +1,252 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Enterprise cluster"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar
+ https://hg.netbeans.org/binaries/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar
+ https://hg.netbeans.org/binaries/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar
+ https://hg.netbeans.org/binaries/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar
+ https://hg.netbeans.org/binaries/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar
+ https://hg.netbeans.org/binaries/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar
+ https://hg.netbeans.org/binaries/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar
+ https://hg.netbeans.org/binaries/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar
+ https://hg.netbeans.org/binaries/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar
+ https://hg.netbeans.org/binaries/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar
+ https://hg.netbeans.org/binaries/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar
+ https://hg.netbeans.org/binaries/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar
+ https://hg.netbeans.org/binaries/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar
+ https://hg.netbeans.org/binaries/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar
+ https://hg.netbeans.org/binaries/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar
+ https://hg.netbeans.org/binaries/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar
+ https://hg.netbeans.org/binaries/C614ECF62381F88208D66D96146A8307781058DB-jaxrs-ri-2.5.1.zip
+ https://hg.netbeans.org/binaries/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar
+ https://hg.netbeans.org/binaries/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip
+ https://hg.netbeans.org/binaries/99277566601C4D5C2598B0206B5DC071932F3641-jsf-2.2.zip
+ https://hg.netbeans.org/binaries/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip
+ https://hg.netbeans.org/binaries/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar
+ https://hg.netbeans.org/binaries/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar
+ https://hg.netbeans.org/binaries/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip
+ https://hg.netbeans.org/binaries/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip
+ https://hg.netbeans.org/binaries/065BDCE80509320280B3B5210FCDDAE9B7D50338-primefaces-5.0.jar
+ https://hg.netbeans.org/binaries/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-api.jar
+ https://hg.netbeans.org/binaries/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip
+ https://hg.netbeans.org/binaries/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-lib.zip
+ https://hg.netbeans.org/binaries/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip
+ https://hg.netbeans.org/binaries/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-profiler-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-webcommon-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/commons-codec:0
+ dev-java/commons-fileupload:0
+ dev-java/commons-logging:0
+ dev-java/glassfish-deployment-api:1.2
+ dev-java/jsr181:0"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0
+ >=dev-java/junit-4.4:4
+ dev-java/tomcat-servlet-api:2.3"
+RDEPEND="${CDEPEND}
+ >=dev-java/antlr-2.7.7-r7:0
+ dev-java/bsf:2.3
+ dev-java/cglib:3
+ dev-java/commons-beanutils:1.7
+ dev-java/commons-collections:0
+ dev-java/commons-digester:0
+ dev-java/commons-io:1
+ dev-java/commons-validator:0
+ dev-java/glassfish-persistence:0
+ dev-java/guava:20
+ dev-java/jakarta-oro:2.0
+ dev-java/osgi-core-api:0
+ dev-java/validation-api:1.0"
+# dev-java/commons-chain:1.1 in overlay
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.enterprise -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar libs.amazon/external/aws-java-sdk-1.2.1.jar || die
+ ln -s "${DISTDIR}"/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar libs.elimpl/external/el-impl.jar || die
+ ln -s "${DISTDIR}"/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar web.jspparser/external/glassfish-jspparser-4.0.jar || die
+ ln -s "${DISTDIR}"/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar libs.glassfish_logging/external/glassfish-logging-2.0.jar || die
+ ln -s "${DISTDIR}"/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar libs.amazon/external/httpclient-4.1.1.jar || die
+ ln -s "${DISTDIR}"/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar libs.amazon/external/httpcore-4.1.jar || die
+ ln -s "${DISTDIR}"/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar javaee.api/external/javaee-api-6.0.jar || die
+ ln -s "${DISTDIR}"/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar javaee7.api/external/javaee-api-7.0.jar || die
+ ln -s "${DISTDIR}"/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar javaee.api/external/javaee-web-api-6.0.jar || die
+ ln -s "${DISTDIR}"/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar javaee7.api/external/javaee-web-api-7.0.jar || die
+ ln -s "${DISTDIR}"/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar j2ee.platform/external/javaee-doc-api.jar || die
+ ln -s "${DISTDIR}"/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar javaee.api/external/javax.annotation.jar || die
+ ln -s "${DISTDIR}"/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar javaee7.api/external/javax.annotation-api.jar || die
+ ln -s "${DISTDIR}"/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar javaee7.api/external/javax.xml.soap-api.jar || die
+ ln -s "${DISTDIR}"/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar javaee.api/external/jaxb-api-osgi.jar || die
+ ln -s "${DISTDIR}"/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar javaee7.api/external/jaxb-api-osgi.jar || die
+ ln -s "${DISTDIR}"/C614ECF62381F88208D66D96146A8307781058DB-jaxrs-ri-2.5.1.zip websvc.restlib/external/jaxrs-ri-2.5.1.zip || die
+ ln -s "${DISTDIR}"/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar javaee7.api/external/jaxws-api.jar || die
+ ln -s "${DISTDIR}"/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip web.jsf12/external/jsf-1.2.zip || die
+ ln -s "${DISTDIR}"/99277566601C4D5C2598B0206B5DC071932F3641-jsf-2.2.zip web.jsf20/external/jsf-2.2.zip || die
+ ln -s "${DISTDIR}"/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip web.jsf.editor/external/jsf-api-docs.zip || die
+ ln -s "${DISTDIR}"/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar libs.jstl/external/jstl-api.jar || die
+ ln -s "${DISTDIR}"/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar libs.jstl/external/jstl-impl.jar || die
+ ln -s "${DISTDIR}"/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip websvc.metro.lib/external/metro-1.4-doc.zip || die
+ ln -s "${DISTDIR}"/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip websvc.metro.lib/external/metro-2.0.zip || die
+ ln -s "${DISTDIR}"/065BDCE80509320280B3B5210FCDDAE9B7D50338-primefaces-5.0.jar web.primefaces/external/primefaces-5.0.jar || die
+ ln -s "${DISTDIR}"/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-api.jar servletjspapi/external/servlet3.1-jsp2.3-api.jar || die
+ ln -s "${DISTDIR}"/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip web.struts/external/struts-1.3.10-javadoc.zip || die
+ ln -s "${DISTDIR}"/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-lib.zip web.struts/external/struts-1.3.10-lib.zip || die
+ ln -s "${DISTDIR}"/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip web.core.syntax/external/syntaxref20.zip || die
+ ln -s "${DISTDIR}"/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar javaee.api/external/webservices-api-osgi.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into j2eeapis/external glassfish-deployment-api-1.2 glassfish-deployment-api.jar jsr88javax.jar
+ java-pkg_jar-from --into libs.amazon/external commons-codec commons-codec.jar commons-codec-1.3.jar
+ java-pkg_jar-from --into libs.amazon/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+ java-pkg_jar-from --into libs.commons_fileupload/external commons-fileupload commons-fileupload.jar commons-fileupload-1.3.jar
+ java-pkg_jar-from --into javaee7.api/external jsr181 jsr181.jar jsr181-api.jar
+ java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+ java-pkg_jar-from --build-only --into web.monitor/external tomcat-servlet-api-2.3 servlet.jar servlet-2.3.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
+ cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.profiler.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-webcommon-${SLOT} webcommon || die
+ cat /usr/share/netbeans-webcommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.webcommon.built
+
+ ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+ cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.websvccommon.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/enterprise >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/enterprise$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext
+ pushd "${instdir}" >/dev/null || die
+ rm commons-fileupload-1.3.jar && java-pkg_jar-from --into "${instdir}" commons-fileupload commons-fileupload.jar commons-fileupload-1.3.jar
+ rm jsr88javax.jar && java-pkg_jar-from --into "${instdir}" glassfish-deployment-api-1.2 glassfish-deployment-api.jar jsr88javax.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/aws-sdk
+ pushd "${instdir}" >/dev/null || die
+ rm commons-codec-1.3.jar && java-pkg_jar-from --into "${instdir}" commons-codec commons-codec.jar commons-codec-1.3.jar
+ rm commons-logging-1.1.1.jar && java-pkg_jar-from --into "${instdir}" commons-logging commons-logging.jar commons-logging-1.1.1.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/javaee7-endorsed
+ pushd "${instdir}" >/dev/null || die
+ rm jsr181-api.jar && java-pkg_jar-from --into "${instdir}" jsr181 jsr181.jar jsr181-api.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/jersey2/ext
+ pushd "${instdir}" >/dev/null || die
+ rm cglib-2.2.0-b21.jar && java-pkg_jar-from --into "${instdir}" cglib-3 cglib.jar cglib-2.2.0-b21.jar
+ rm guava-14.0.1.jar && java-pkg_jar-from --into "${instdir}" guava-20 guava.jar guava-14.0.1.jar
+ rm org.osgi.core-4.2.0.jar && java-pkg_jar-from --into "${instdir}" osgi-core-api osgi-core-api.jar org.osgi.core-4.2.0.jar
+ rm persistence-api-1.0.jar && java-pkg_jar-from --into "${instdir}" glassfish-persistence glassfish-persistence.jar persistence-api-1.0.jar
+ rm validation-api-1.1.0.Final.jar && java-pkg_jar-from --into "${instdir}" validation-api-1.0 validation-api.jar validation-api-1.1.0.Final.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/jsf-1_2
+ pushd "${instdir}" >/dev/null || die
+ rm commons-beanutils.jar && java-pkg_jar-from --into "${instdir}" commons-beanutils-1.7 commons-beanutils.jar
+ rm commons-collections.jar && java-pkg_jar-from --into "${instdir}" commons-collections commons-collections.jar
+ rm commons-digester.jar && java-pkg_jar-from --into "${instdir}" commons-digester commons-digester.jar
+ rm commons-logging.jar && java-pkg_jar-from --into "${instdir}" commons-logging commons-logging.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/struts
+ pushd "${instdir}" >/dev/null || die
+ rm antlr-2.7.2.jar && java-pkg_jar-from --into "${instdir}" antlr antlr.jar antlr-2.7.2.jar
+ rm bsf-2.3.0.jar && java-pkg_jar-from --into "${instdir}" bsf-2.3 bsf.jar bsf-2.3.0.jar
+ rm commons-beanutils-1.8.0.jar && java-pkg_jar-from --into "${instdir}" commons-beanutils-1.7 commons-beanutils.jar commons-beanutils-1.8.0.jar
+ rm commons-digester-1.8.jar && java-pkg_jar-from --into "${instdir}" commons-digester commons-digester.jar commons-digester-1.8.jar
+ rm commons-fileupload-1.1.1.jar && java-pkg_jar-from --into "${instdir}" commons-fileupload commons-fileupload.jar commons-fileupload-1.1.1.jar
+ rm commons-io-1.1.jar && java-pkg_jar-from --into "${instdir}" commons-io-1 commons-io.jar commons-io-1.1.jar
+ rm commons-logging-1.0.4.jar && java-pkg_jar-from --into "${instdir}" commons-logging commons-logging.jar commons-logging-1.0.4.jar
+ rm commons-validator-1.3.1.jar && java-pkg_jar-from --into "${instdir}" commons-validator commons-validator.jar commons-validator-1.3.1.jar
+ rm oro-2.0.8.jar && java-pkg_jar-from --into "${instdir}" jakarta-oro-2.0 jakarta-oro.jar oro-2.0.8.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/enterprise
+}
diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest
index b6d626bec..b9d668e18 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-ergonomics-9999_p20180113.ebuild 2587 BLAKE2B edc5a27a86f9910f21581e9d26d8b2cbc44e591fafd5c91f73de5f2b053734615b9f4e4a8218a8185f0a8940c19dc03382e94393e0554d9973214dd024c14a1c SHA512 49cb95eabefb9f4d668297ddd67010234b8678da7ba427d1db7133c2de21d316763b6d32c5bcb481114ead84915a79df1838b5d55150c0f37bc95eae4b4ded48
EBUILD netbeans-ergonomics-9999_p20180115.ebuild 2587 BLAKE2B 2f2020fd44a6ba71a2ca923c989e32d93cdfd2c570010a9fecf40f15d8195734e1a55ef39ab2edf0ea1a38d1ecfaf2423dd7e6e6bf9d32ab509eb4759afb6274 SHA512 20d5a5ab28097d13d1d90dcfae4dbc85b664f5aa3fe2d4ae2444cbb542f32246617ccc8f7680b35def4269cbe7066beb6c2c0ac54ecd91be02cf2d4618c3baca
EBUILD netbeans-ergonomics-9999_p20180116.ebuild 2587 BLAKE2B f8caa8f89684c64c8a51c6a7ee2d6a494115ada3387a3ec0b1cc0684a6ffa998eae1c6685d77281d8bd97115c169e268b082ab9e71862e330b0efa5f9eed0610 SHA512 7a0b1174607d5b3e899b6d705d97598694e46cb9c3972f86ee466fbf35700515d5fdb40692db4a27021067c5fd326d41722d64c8d2b5bfa6ca35e8a7e32bbdf1
@@ -39,4 +40,5 @@ EBUILD netbeans-ergonomics-9999_p20180207.ebuild 2587 BLAKE2B 757f381fc2024b9e40
EBUILD netbeans-ergonomics-9999_p20180208.ebuild 2587 BLAKE2B eff629abe2eef03b895d5c08f08f0a74631745729b57e0873b19934d70fb9b881a5e17f0a1633a78a8df36cf7a96941e0a779ba593d06db8d742595aba0dd7f1 SHA512 0c39f2b1e04ea91087ad6c4a2b1760973a1fa9bdbe6bf0d557eef38caafddef7e168b2780160bf6cafd7706cd21762bf28dcb9aeced926d86c72ada1626b666e
EBUILD netbeans-ergonomics-9999_p20180209.ebuild 2587 BLAKE2B 68e4f544aab0b2ae7b4c878c03c08dd001075520c8ffc8d444775a0eb7ed0b222227e2318bde1a71cd9c3e62e8805f55cc25d02bada5cea24640574650e7fa5b SHA512 a55087f5ba0a7bc5443b9f4203b2e5a47c885c4b0527df06100fb431d285ac366a411c379a1087e1c1eda10e98231d6d2292a717c5bd1bc79220ebb013323182
EBUILD netbeans-ergonomics-9999_p20180212.ebuild 2587 BLAKE2B 96dabfc96e10579d64545702ffda06bfce279e3ae3a314e5f39d238dffd86d96c03e130c6a4711fb3f7613272f5542e007e7f14e9f6ccaf0571c68c1fcd93f5c SHA512 d74a0cd017b9fda367f5ef916d3b8dbb76e5e8b3a8f947411d852a3e0a746fb4a15b6ee2047c4c7c121491428feecfa916a8827b1faa189a27e6e85e628508c9
+EBUILD netbeans-ergonomics-9999_p20180213.ebuild 2587 BLAKE2B c9b7de98d7ea2f12ce45c82001f08fa47a44eaa2285bfb2149a9279bfed450b2a27dd9e40b36c33a56ee391ddabfd9718e551b4438e053e78c64719c9686ed53 SHA512 e1d4e8d8bde7d9972468506a10d8d4d5b45b225ab89b0a25a8d4722e50bba138f67b12878461fdadafad191873442005e4fc2cfb780befc6428977018e369431
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180213.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180213.ebuild
new file mode 100644
index 000000000..929c31a74
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180213.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Ergonomics Cluster"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-nb-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ergonomics -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
+ cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.nb.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/ergonomics >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/ergonomics$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ergonomics
+}
diff --git a/dev-java/netbeans-extide/Manifest b/dev-java/netbeans-extide/Manifest
index 17fcb7b28..4651af27a 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-extide-9999_p20180113.ebuild 3059 BLAKE2B cbc45598996c0f93b23fd470548afa710abd6ebecb27c83fec8f01c8cf7eec789f2678a87ad5bc41f6bdb5990a7a2fcb48bd0ad7d1d9a065b0f868729e9f686c SHA512 7514e3f75b07a0345416dcf4be5c0b8db567eaf665d050ab7b67eb0b4f74f0b8379161fc8985f742df2745ed23a2b286d21a85828cf05d828778bd5e962f1344
EBUILD netbeans-extide-9999_p20180115.ebuild 3059 BLAKE2B e1da13c1d2cbf4e4f2d961cbe558c94d97d14c63d99f8fc2a2dbf4b0cd7e93191433375f0375ad29fccc79152eb0140e4e327b34808a50868f46b248971139ae SHA512 5ac6eecb092b0577c634dad614a848bc67ec4eca54450e4beada420d358fc2537cefca231a35c3ae9b2e9aca8e2a82b745f30142583652297672008a2240000b
EBUILD netbeans-extide-9999_p20180116.ebuild 3059 BLAKE2B b37aa0e1b2906a3df376201e51732b82827733aab99fb3a29a00ad97b9e58c12450bff00953486bdfa221824bae95e1569ae9fb7e31eb5019bca4cc04ecdd1c9 SHA512 b9a6910304341fca208092ce1632ec8f2a93c73019609aac73e332bab032bcb5b5a3eb1c6fb8ce6f49f4b5ff46686a92b466df89c785dc8ff2dde637cb221438
@@ -41,4 +42,5 @@ EBUILD netbeans-extide-9999_p20180207.ebuild 3059 BLAKE2B 8360b80d679471f0827c89
EBUILD netbeans-extide-9999_p20180208.ebuild 3059 BLAKE2B 67a1c88ea142963a69513bf91531b9b35ed3e437edf19c089ccb7507d75012f112336e8afe409525886c74cf49af091d500e7a2695a41d4a5a36f69d58c840bb SHA512 4cd593ccc2d326585bfc146e3b28275fba68d4fa5562ee8f4f1bc5aa46df7492a6b412a696636e28459f42f3273d7949356ee61c0ac79e7379b0c92cb77057b2
EBUILD netbeans-extide-9999_p20180209.ebuild 3059 BLAKE2B 43b1a33242c772324d0774a9f87b45dc42b8b11471d2900d45dadaebe869576e3561c4a4e9207d0466533b325fc11ba338dbbc2dd69f23468990ceb65259c282 SHA512 ae2ef579c7ff99708a911adf88199555fb3a23dcc4a386f4d8bb69215dd310ff372bdbe626b118597bf08dbb8be6cb3bfd7694e4e22a2a307cb8a05eee39db97
EBUILD netbeans-extide-9999_p20180212.ebuild 3059 BLAKE2B a295c1e2cb0125d693ad24362c9c64e34e92e7686daeecf72e2e5a811bbd5693bbc896e2baef671417971d2637771436fbe882a59fee546937b60cc5f8d7ffa3 SHA512 2a1e5c3ffd3d061d093f4233740ca947ab8d9d438458cc38b4df6db33281631814e59dd2ef765885075f475cd6f7330212cdbdeb2e1a8708733d979ad257be80
+EBUILD netbeans-extide-9999_p20180213.ebuild 3059 BLAKE2B 122cf2daa27bdc3876640840586896eb920378256b5edfbdaf66131b444a7fa5245bce4a360ff33bcb265c818fa5dca98cbe1c6bb44bb6fd6338314610c21882 SHA512 3616ffeff6c36e9494b4975d6586dcbee3d3de70f5d0a0831cee96934b0a8003279daccc9b979302f970c40519f7ecfea37042cfcb61a3849f49b849e0afa623
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20180213.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20180213.ebuild
new file mode 100644
index 000000000..f4b1984d5
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20180213.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans ExtIDE Cluster"
+HOMEPAGE="https://netbeans.org/projects/ide"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/0B539A378C2EA52B17BD0326ECE03DF66E3A65E9-ant-libs-1.10.1.zip
+ https://hg.netbeans.org/binaries/F6E0317E5F315E395DA47E5B008D01FAA48C91FB-ant-misc-1.10.1.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.extide -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/0B539A378C2EA52B17BD0326ECE03DF66E3A65E9-ant-libs-1.10.1.zip o.apache.tools.ant.module/external/ant-libs-1.10.1.zip || die
+ ln -s "${DISTDIR}"/F6E0317E5F315E395DA47E5B008D01FAA48C91FB-ant-misc-1.10.1.zip o.apache.tools.ant.module/external/ant-misc-1.10.1.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_compile() {
+ unset DISPLAY
+ eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+ pushd nbbuild/netbeans/extide >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/extide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/extide
+}
diff --git a/dev-java/netbeans-groovy/Manifest b/dev-java/netbeans-groovy/Manifest
index 6b5c6fd47..30c1b8c9d 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-groovy-9999_p20180113.ebuild 3091 BLAKE2B f93b284953458f45b412e9eb51315e07af6ffec05f56e391c2644cc9e3ec9cc42ceded2cf95848d7ec30118c0e1e61788b5f9807b37211ce08a91c32b0fe8926 SHA512 6ef7bb52846c60b495c462ee6e50b96a267ad910879a06d4d99d113bfca9547c16ad7056f57441489e34e009c7dee73de65a5bf9d705d0ac58d752bfa5a51596
EBUILD netbeans-groovy-9999_p20180115.ebuild 3091 BLAKE2B 7015f965c18dba49ab04e716437f5965b32986315611d4a12841c3b5ae05be68d10b521c1d323021e035072578a1f2fa18214ebe458a9621df93dfd29d0f0589 SHA512 6a0270588197e9daeba3eef9743f92a7e6ed77aefbde697dc34a32196cfa01d2b672aeaebdd9ce45747bd78c92d012547d8c25283fff04e48ac977b86ad09f20
EBUILD netbeans-groovy-9999_p20180116.ebuild 3091 BLAKE2B 932c644ae7d2e732de20b0d27c510c75941cabd24202c84a13d59618bb5c3d7955b749ee6c3b621f3d8577af139fa8c497d0e3d425a3527e9bf575ebf06d250d SHA512 0fb4493a08d528f6343862b977b5d9a229179d27313753f1c1b18945a7362a7da5f8a8aec341879381e1260f7aaaf2be3ea1766c83797f8e9eb15a8c4cd14e01
@@ -40,4 +41,5 @@ EBUILD netbeans-groovy-9999_p20180207.ebuild 3091 BLAKE2B 69a1d6a9a5a9b174811e8a
EBUILD netbeans-groovy-9999_p20180208.ebuild 3091 BLAKE2B 80abb2e61a38995a8486c3ffc3710c773b5b4dc2b3def787a4a437fec27809dcbb84a7bac59bd71c0bd471682a14ac8fe32e3411e8a086ec749f60513f42c0c0 SHA512 32c11c51832da3cea78d4e5992eabc10f657fa0b907d1abdecd94cb40829363eb1ef1256afbc8c4ac3c691b05b79224cdf49b41c8eb469be878a7e8e5db9cdfb
EBUILD netbeans-groovy-9999_p20180209.ebuild 3091 BLAKE2B 0d28bb5910ae8a5a88688c7adf2e39b4913c6c7adac2c2d3eb7f9fbdd07399b9ef6a8f8496ad927e7e6816c0180d057bb19cf18952b16b2fc7848586e3f0d6f0 SHA512 7c15833b69f3ae85b06ee65e518ff981219251bc3fd083ec8e71de01fae572c0ff255fd172f734eaa7515a4dc9496528a4ed6f2ebfb241c5424bae74b866a76e
EBUILD netbeans-groovy-9999_p20180212.ebuild 3091 BLAKE2B 6ce8ce9239c180c0ef9c8cc27ae4d393ea7db87b7b778610829d5fcd505234cc22901f44b395c20ebe2a685edd1e6aa95b45ef0fcb4a9feb33465ce1821c9afa SHA512 2464ae58cecdbadc374c3b300f10986ea18dc6fb7ba5f690280c0dae033c780404006837e0fafd2bef7411a1171020b78c376b34936dd880adeaaeb7f0f0cf33
+EBUILD netbeans-groovy-9999_p20180213.ebuild 3091 BLAKE2B 31162713cd13ba9468005bb6c376ed2380969c0c69086c13c926adf8799c51ff2bd5a364616c8d73270452d3b5e195399db2573c39b891c7b1f7bc09bd4f683b SHA512 e0dd493b7cd5aad49eb29ff980becc50abdc4a2e8252667133fcd83aff23de6460dbda1b1a79c05cdfeec53b19f62e69d002bc68873cb5d2232113397d071298
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180213.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180213.ebuild
new file mode 100644
index 000000000..666d36dbe
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180213.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Groovy Cluster"
+HOMEPAGE="https://netbeans.org/projects/groovy"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/01730F61E9C9E59FD1B814371265334D7BE0B8D2-groovy-all-2.4.5.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.groovy -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/01730F61E9C9E59FD1B814371265334D7BE0B8D2-groovy-all-2.4.5.jar libs.groovy/external/groovy-all-2.4.5.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/groovy >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/groovy$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/groovy
+}
diff --git a/dev-java/netbeans-harness/Manifest b/dev-java/netbeans-harness/Manifest
index e8ba1db3c..dd2eb0d74 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-harness-9999_p20180113.ebuild 3805 BLAKE2B 910b53f4e5f59d97746697a35a3acef6df588638a3f9c8ef256ac6c135d6d01c74bf31175cc714c9231eefb2f8a84a0fd1850679bca7de77a67fd6f4eeb72cca SHA512 e618a2a2ad78a595d9f3b6188096984428e58d6d16ec191e48288c3caa9ea817dd9e67e79d9a8d6cfd56b6d85e38779f33ea8b2f9718b3e7090a4a5fa433b4cb
EBUILD netbeans-harness-9999_p20180115.ebuild 3805 BLAKE2B 2db993453fb3a1cc4cf99456cd2f997a9f530ea896a5d96e4dbac55eaea8e36d87b327082969384d3105cc136ea63de59bb8dc3a9466a16a3790eaa7680585ad SHA512 ea555f307c59a11f30866aeb50f96cf7a41797a07dfb313c4ad95215fad3db20ddbb7b9280863d1ca3d9e9d2e25dc72d0ecd2ada5fe383e8f191c7d8936021bf
EBUILD netbeans-harness-9999_p20180116.ebuild 3805 BLAKE2B d8e2a07728e6c221b83f4e21f04042604cbf4fd9ba2c8e060ffaec1fd1056813bb45003daf3b38597d5e58ab3f41227d52d19305360bea189070e1742a4a7bb4 SHA512 e5910090ab6451401848ecf739ed2315053e437e2f8e41ed9ef4e3001408c7edf8f98d32903fa39b8942356eab614c36f4df5bde2657cfe61904ee9387f40626
@@ -44,4 +45,5 @@ EBUILD netbeans-harness-9999_p20180207.ebuild 3805 BLAKE2B 19212d3c9f149d3d8d260
EBUILD netbeans-harness-9999_p20180208.ebuild 3805 BLAKE2B 02db2e199a1943876d29d6f127613bcabf757365d997e8f1662759cf4091e1d0abd03279197bb9210c3779fba68db12c2f5d191c4ee0db6afae1c5e490a9aa28 SHA512 33f5dadf8ec9646a75d88a32b6aeb4f6f8c85ca97c5f065ed9f99d4d298a03a851e59a4346cf7990be6fd2cba070e9cb01bf3b541047a908bc2f34eb2f38286f
EBUILD netbeans-harness-9999_p20180209.ebuild 3805 BLAKE2B 17384fa658bcc0b1676a3454c350163ad8de198a9df1134a4f8dd8c52940ea34feaa7e148b152f8cc742d321f65db4e44901585c59a4f6deeb877b60b317aea3 SHA512 4cb4b0b4eab605520f6babdd2dfebfe827fd00dccec7c2077d3d0600d5aa209046092013dd517382f25ddce9cdf54e05c4c871a7d9775a93bdad4d19b28c81d0
EBUILD netbeans-harness-9999_p20180212.ebuild 3805 BLAKE2B 04fbfea8cbc7fd7b8ae66243baca0f03dfcb460bd668a6dca3ad388cebeb2c95afea9d12deb46fd64ea8e6435e8380114dc22c2c7a454601637bc36a0fc62e45 SHA512 eb511a889b5e8e33b05aba1fa2122bd8880c84fbed12fe0bb64a2d3e6cfb1f0152af2004818dd842eab38c30d2f3d3402b6a0fead1d8de66cf3901edeaad4fe8
+EBUILD netbeans-harness-9999_p20180213.ebuild 3805 BLAKE2B d4c8b05c2d64e8d91d9bd2560269f08fe9be519ff5ff0eb7e0b7936371f120a9f2fb7f203bc86cd473bfd8817ae49d5c92b1cf313a576456df38b8bffcf0d278 SHA512 fa361c9fc62e3c471d99448e22cfb51b55266912538a5c53ac116b84bf1fcaf7bb24262d8faa458df60978a289784efd456994061b7ba0de608bb5bfc773c7a5
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20180213.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20180213.ebuild
new file mode 100644
index 000000000..e016dc79e
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20180213.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Harness"
+HOMEPAGE="https://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+ https://hg.netbeans.org/binaries/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar
+ https://hg.netbeans.org/binaries/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip
+ https://hg.netbeans.org/binaries/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip
+ https://hg.netbeans.org/binaries/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-platform-${PV}
+ dev-java/javahelp:0"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ >=dev-java/junit-4.4:4"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.harness -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar apisupport.harness/external/bindex-2.2.jar || die
+ ln -s "${DISTDIR}"/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar apisupport.harness/external/jnlp-servlet.jar || die
+ ln -s "${DISTDIR}"/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar jemmy/external/jemmy-2.3.1.1.jar || die
+ ln -s "${DISTDIR}"/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip jemmy/external/jemmy-2.3.1.1-doc.zip || die
+ ln -s "${DISTDIR}"/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip jemmy/external/jemmy-2.3.1.1-src.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
+ java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/harness >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/harness$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ fperms 755 launchers/app.sh
+ find "${D}" -name "*.exe" -type f -delete
+
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/antlib
+ pushd "${instdir}" >/dev/null || die
+ rm jsearch-2.0_05.jar && java-pkg_jar-from --into "${instdir}" javahelp jsearch.jar jsearch-2.0_05.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/harness
+}
diff --git a/dev-java/netbeans-ide/Manifest b/dev-java/netbeans-ide/Manifest
index 9f9d58964..6d15e0f68 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -91,6 +91,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-ide-9999_p20180113.ebuild 29593 BLAKE2B 01c29de8a3d98e56230bce91b5540cd21e83b27d47dcf706b5b83540afd884b33d1f3c442df0877f6e5da0a09e4c716bf6eadf34bddc84d5aa0790c18d871b0b SHA512 9bb0f0b95f0c32cc7c77c9c2163e7709811d1e12ac76dc1d4dc23696530bbcbcba939d93da6bf6cf7ebca77aafb23dfcaf9ec22001391bf69bb989d39457bc5a
EBUILD netbeans-ide-9999_p20180115.ebuild 29593 BLAKE2B 0dc8f03fdc8fbe1c3b36c4c78a025adb768c04860390e732b614a7b12bb1582e8caab72a28e9fbf3a5a6b0344117f158907294a6b012fb246101e2f146936c5d SHA512 297a2197fb66174a14312ea07dd083b53a694b36ea4488ec815b7f99c90b89a810e16970b143c308e85e760e29431bc2e29b3b59f094fb8575c34e2c2e211230
EBUILD netbeans-ide-9999_p20180116.ebuild 29593 BLAKE2B e8ade079baf0ac59df370036fb9ed9f901b61a52699957834b62baacb7d9d5df1fe55e99115ab2e580d0417177a09697c626d2cc7efdd05b34614a1fac2b7c7e SHA512 9fa82d2b4c906c05fc62b9772a1e8fb17a19622799c52bca2da3c226e9dbad9e5a4734442c491bf00d808e6c5d8f3557b5a89761cb7b227d48b205bc65c7d549
@@ -111,4 +112,5 @@ EBUILD netbeans-ide-9999_p20180207.ebuild 29593 BLAKE2B 2f706e98b76ec7e94180bd12
EBUILD netbeans-ide-9999_p20180208.ebuild 29593 BLAKE2B 4745ca07b7e98fc4cbdd945c42fea7b8fb3344c7a42ec38194023234bbc4cec4e3b7dc0970a5f3def94b5ef8b415ecbdbc1772df635bcb905c0bfcd5f28b41b5 SHA512 dd4f2c37a96db02a06261f67ef19c45f65781953d697f64cca6f80d0a0835e321c8c289c3997c172775f15ebf429d121e7969e973ce3b982924d5b1b82f31a84
EBUILD netbeans-ide-9999_p20180209.ebuild 29593 BLAKE2B c496ed1f922ba112c68a57827af86067bde0334f0c5f3aa1124ea124b88fcd39f644acfef0f238b9617ffa0b77f268c029c56e9e07705412e0d2e468ed4ebc95 SHA512 61ec99fad9ccf921550396facca0981af87ce1960ba209e9d3b2d127e2a99e953bb32eff046fc5fd14b19a974220dff35125d4f02775df9cfd40019c17662eaf
EBUILD netbeans-ide-9999_p20180212.ebuild 29593 BLAKE2B dd53141da8e77678ab011dab0661125cd130fd9e5e20bef9f573399d4c50255c357d599ad2c95067ca2174c05269aa0f0d840a4f8dfff8f609a41e16041c33b4 SHA512 99767d62ef0239cf737cad46daf3e901488b4de124d1c0db7c8f4ac6b52aa580d0a14cbe9d7035ef0c4d7f07ef69642ec728786a70dc9253f96b3f31c1219a3a
+EBUILD netbeans-ide-9999_p20180213.ebuild 29593 BLAKE2B cc309be7aa1d61e79725598adddc0f26b1c2ee9cb1eb0c76f020ff68bb17e1de88e38b0481fd4be43e0dd23200d3424f249541db94f90cc6c4443f90be169459 SHA512 8ddf09aec504a6bed85f9a69f2d05a8773fb2f6d0c9a2709b1682380c10bc318536a3bc0ead3e2f159baf9c1f300769bde05ebb1004a8c78a49d4b31db96b753
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20180213.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20180213.ebuild
new file mode 100644
index 000000000..747b964cc
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20180213.ebuild
@@ -0,0 +1,359 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Cluster"
+HOMEPAGE="https://netbeans.org/projects/ide"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
+ https://hg.netbeans.org/binaries/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar
+ https://hg.netbeans.org/binaries/DCDA3604865C8E80789B4F8E8EECC3D4D15D00F8-com.trilead.ssh2_1.0.0.build220_r167_v20150618_1733.jar
+ https://hg.netbeans.org/binaries/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar
+ https://hg.netbeans.org/binaries/0CE1EDB914C94EBC388F086C6827E8BDEEC71AC2-commons-lang-2.6.jar
+ https://hg.netbeans.org/binaries/B71DE00508DCB078D2B24B5FA7E538636DE9B3DA-commons-net-3.6.jar
+ https://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip
+ https://hg.netbeans.org/binaries/83E794DFF9A39401AC65252C8E10157761584224-css3-spec.zip
+ https://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
+ https://hg.netbeans.org/binaries/AD56136EB86DE2425C09134285FDAB458E6F6269-exechlp-1.0.zip
+ https://hg.netbeans.org/binaries/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar
+ https://hg.netbeans.org/binaries/ED727A8D9F247E2050281CB083F1C77B09DCB5CD-guava-15.0.jar
+ https://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
+ https://hg.netbeans.org/binaries/2541D025F428A361110C4D656CDD99B5C5C5DFCE-html5doc.zip
+ https://hg.netbeans.org/binaries/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar
+ https://hg.netbeans.org/binaries/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar
+ https://hg.netbeans.org/binaries/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar
+ https://hg.netbeans.org/binaries/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip
+ https://hg.netbeans.org/binaries/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar
+ https://hg.netbeans.org/binaries/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar
+ https://hg.netbeans.org/binaries/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip
+ https://hg.netbeans.org/binaries/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar
+ https://hg.netbeans.org/binaries/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar
+ https://hg.netbeans.org/binaries/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar
+ https://hg.netbeans.org/binaries/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar
+ https://hg.netbeans.org/binaries/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar
+ https://hg.netbeans.org/binaries/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar
+ https://hg.netbeans.org/binaries/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar
+ https://hg.netbeans.org/binaries/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar
+ https://hg.netbeans.org/binaries/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar
+ https://hg.netbeans.org/binaries/F406B7784A0DA5C4670B038BF55A4DCD4AF30AEB-jzlib-1.0.7.jar
+ https://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
+ https://hg.netbeans.org/binaries/90FF0731FAFB05C01FEE4F2247140D56E9C30A3B-lucene-core-3.5.0.jar
+ https://hg.netbeans.org/binaries/AA2671239EBB762FEEE8B908E9F35473A72AFE1B-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar
+ https://hg.netbeans.org/binaries/1605B38BB28EAE32C11EAB8F9E238A497754A5B8-org.eclipse.core.jobs-3.5.101_nosignature.jar
+ https://hg.netbeans.org/binaries/20800206EB8B490F3CE5BB8AC8A7C3B9E8004A30-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar
+ https://hg.netbeans.org/binaries/D2D2105B1E3C9E2FA6240AD088237A57590DDA8D-org.eclipse.core.runtime-3.7.0_nosignature.jar
+ https://hg.netbeans.org/binaries/16507EAFDC2B95121AA718895BDB54D616EE4B0F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar
+ https://hg.netbeans.org/binaries/BD55836AABD558DC643A7844B78866AD990544BC-org.eclipse.equinox.app-1.3.100_nosignature.jar
+ https://hg.netbeans.org/binaries/4EE275AE73A140A403903D7E4DBA68C8FBB07001-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar
+ https://hg.netbeans.org/binaries/B7001D9CC2E2AC4E167D22A13063F0350C71AAA9-org.eclipse.equinox.preferences-3.4.2_nosignature.jar
+ https://hg.netbeans.org/binaries/C647079E36A4EB7A24AED2C545E4F0F94194C4D1-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar
+ https://hg.netbeans.org/binaries/9267CF311F979078211A70C1B19AF8A8EE71DC8E-org.eclipse.equinox.security-1.1.1_nosignature.jar
+ https://hg.netbeans.org/binaries/B580E446B543A8DD2F5AA368B07F9C4C9C2E7029-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar
+ https://hg.netbeans.org/binaries/244560B99152F3F9BC75DF2D6FAFA8A5216B06B6-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar
+ https://hg.netbeans.org/binaries/8E2776DE17446EC7450285F19F2C6366117748A8-org.eclipse.mylyn.bugzilla.core_3.17.0.v20150828-2026.jar
+ https://hg.netbeans.org/binaries/D4F2BE52B5C048158B5C046C0ACAC3965027FE12-org.eclipse.mylyn.commons.core_3.17.0.v20150625-2042.jar
+ https://hg.netbeans.org/binaries/4C753A9D8AB768A55EC99A377A0D22EDA67BAE25-org.eclipse.mylyn.commons.net_3.17.0.v20150706-2057.jar
+ https://hg.netbeans.org/binaries/8E52A783A3700FE2F3AED720CBEF6D895C0D5DBC-org.eclipse.mylyn.commons.repositories.core_1.9.0.v20150625-2042.jar
+ https://hg.netbeans.org/binaries/50F0A49BDF7C5610E3E602609926065D47A16C6E-org.eclipse.mylyn.commons.xmlrpc_3.17.0.v20150625-2042.jar
+ https://hg.netbeans.org/binaries/4F2E28BDB091E2DD215FB9B16C8708513288F16A-org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar
+ https://hg.netbeans.org/binaries/11D1982BE23B06B2721240F424DBEF9F5FDE7F45-org.eclipse.mylyn.wikitext.confluence.core_2.6.0.v20150901-2143.jar
+ https://hg.netbeans.org/binaries/A3FEF6144ED1622E4CDD506B9D745527CC675D8D-org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143-patched-nosignature.jar
+ https://hg.netbeans.org/binaries/825DC870D1D423E347F4F8229A211A2C297BB15D-org.eclipse.mylyn.wikitext.markdown.core_2.6.0.v20150901-2143.jar
+ https://hg.netbeans.org/binaries/C3024631DD14008D2FF35A576C3D82AC6FCB2E10-org.eclipse.mylyn.wikitext.textile.core_2.6.0.v20150901-2143.jar
+ https://hg.netbeans.org/binaries/17C0C8D6DEBF5EBE734881C131888D8088BD9E7D-org.tmatesoft.svnkit_1.8.12.r10533_v20160129_0158.jar
+ https://hg.netbeans.org/binaries/6819C79348FCF4F5125C834E7D3B742582DCA34D-processtreekiller-1.0.7.jar
+ https://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar
+ https://hg.netbeans.org/binaries/DAAEFA7A5F3AF75FE4CDC86A1B5904C9F3B5BBF8-svnClientAdapter-javahl-1.10.12.jar
+ https://hg.netbeans.org/binaries/C47ED3BCD8CEAECDE3BDEEB7D8D14B577B26F9C8-svnClientAdapter-main-1.10.12.jar
+ https://hg.netbeans.org/binaries/AD4A88D99AB7C5B64C8893CA2FF2CBCFCEFC51C8-svnClientAdapter-svnkit-1.10.12.jar
+ https://hg.netbeans.org/binaries/5C47A97F05F761F190D87ED5FCBB08D1E05A7FB5-svnjavahl-1.9.3.jar
+ https://hg.netbeans.org/binaries/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar
+ https://hg.netbeans.org/binaries/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar
+ https://hg.netbeans.org/binaries/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar
+ https://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar
+ https://hg.netbeans.org/binaries/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar
+ https://hg.netbeans.org/binaries/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator.jar
+ https://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar
+ https://hg.netbeans.org/binaries/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar
+ https://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar
+ https://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ dev-java/antlr:4
+ dev-java/commons-compress:0
+ dev-java/commons-httpclient:3
+ dev-java/commons-logging:0
+ dev-java/icu4j:55
+ dev-java/iso-relax:0
+ dev-java/jdbc-mysql:0
+ dev-java/jdbc-postgresql:0
+ dev-java/jsch:0
+ >=dev-java/json-simple-1.1:0
+ dev-java/jsr173:0
+ dev-java/jvyamlb:0
+ dev-java/log4j:0
+ dev-java/rhino:1.6
+ dev-java/saxon:9
+ dev-java/smack:2.2
+ dev-java/sun-jaf:0
+ dev-java/tomcat-servlet-api:2.2
+ dev-java/ws-commons-util:0
+ dev-java/xerces:2"
+# dev-vcs/subversion>=1.8.4:0[java] missing from the tree
+# app-text/jing:0 our version is probably too old
+# dev-java/commons-io:1 fails with "Missing manifest tag OpenIDE-Module"
+# dev-java/commons-lang:2.1 fails with "Missing manifest tag OpenIDE-Module"
+# dev-java/freemarker:2.3
+# dev-java/guava:15 fails with "Missing manifest tag OpenIDE-Module"
+# dev-java/ini4j:0 our version is too old
+# dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
+# dev-java/jzlib:0 fails with "Missing manifest tag OpenIDE-Module"
+# dev-java/trilead-ssh2:0 in overlay
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/commons-codec:0
+ dev-java/javacc:0
+ dev-java/javahelp:0
+ dev-java/jna:4"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ide -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
+ ln -s "${DISTDIR}"/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar libs.bytelist/external/bytelist-0.1.jar || die
+ ln -s "${DISTDIR}"/DCDA3604865C8E80789B4F8E8EECC3D4D15D00F8-com.trilead.ssh2_1.0.0.build220_r167_v20150618_1733.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build220_r167_v20150618_1733.jar || die
+ ln -s "${DISTDIR}"/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar o.apache.commons.io/external/commons-io-1.4.jar || die
+ ln -s "${DISTDIR}"/0CE1EDB914C94EBC388F086C6827E8BDEEC71AC2-commons-lang-2.6.jar o.apache.commons.lang/external/commons-lang-2.6.jar || die
+ ln -s "${DISTDIR}"/B71DE00508DCB078D2B24B5FA7E538636DE9B3DA-commons-net-3.6.jar libs.commons_net/external/commons-net-3.6.jar || die
+ ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
+ ln -s "${DISTDIR}"/83E794DFF9A39401AC65252C8E10157761584224-css3-spec.zip css.editor/external/css3-spec.zip || die
+ ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
+ ln -s "${DISTDIR}"/AD56136EB86DE2425C09134285FDAB458E6F6269-exechlp-1.0.zip dlight.nativeexecution/external/exechlp-1.0.zip || die
+ ln -s "${DISTDIR}"/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar libs.freemarker/external/freemarker-2.3.19.jar || die
+ ln -s "${DISTDIR}"/ED727A8D9F247E2050281CB083F1C77B09DCB5CD-guava-15.0.jar c.google.guava/external/guava-15.0.jar || die
+ ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die
+ ln -s "${DISTDIR}"/2541D025F428A361110C4D656CDD99B5C5C5DFCE-html5doc.zip html.parser/external/html5doc.zip || die
+ ln -s "${DISTDIR}"/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar html.parser/external/htmlparser-1.2.1.jar || die
+ ln -s "${DISTDIR}"/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar libs.ini4j/external/ini4j-0.5.1.jar || die
+ ln -s "${DISTDIR}"/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar html.validation/external/iri.jar || die
+ ln -s "${DISTDIR}"/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip spellchecker.dictionary_en/external/ispell-enwl-3.1.20.zip || die
+ ln -s "${DISTDIR}"/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar c.googlecode.javaewah.JavaEWAH/external/JavaEWAH-0.7.9.jar || die
+ ln -s "${DISTDIR}"/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar xml.jaxb.api/external/jaxb-api.jar || die
+ ln -s "${DISTDIR}"/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip libs.jaxb/external/jaxb-api-doc.zip || die
+ ln -s "${DISTDIR}"/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar libs.jaxb/external/jaxb-impl.jar || die
+ ln -s "${DISTDIR}"/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar libs.jaxb/external/jaxb-xjc.jar || die
+ ln -s "${DISTDIR}"/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar libs.jaxb/external/jaxb1-impl.jar || die
+ ln -s "${DISTDIR}"/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar libs.javafx/external/jfxrt.jar || die
+ ln -s "${DISTDIR}"/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar html.validation/external/jing.jar || die
+ ln -s "${DISTDIR}"/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.core-0.0.7.jar || die
+ ln -s "${DISTDIR}"/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.sshagent-0.0.7.jar || die
+ ln -s "${DISTDIR}"/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.pageant-0.0.7.jar || die
+ ln -s "${DISTDIR}"/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.usocket-jna-0.0.7.jar || die
+ ln -s "${DISTDIR}"/F406B7784A0DA5C4670B038BF55A4DCD4AF30AEB-jzlib-1.0.7.jar c.jcraft.jzlib/external/jzlib-1.0.7.jar || die
+ ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.process/external/libpam4j-1.1.jar || die
+ ln -s "${DISTDIR}"/90FF0731FAFB05C01FEE4F2247140D56E9C30A3B-lucene-core-3.5.0.jar libs.lucene/external/lucene-core-3.5.0.jar || die
+ ln -s "${DISTDIR}"/AA2671239EBB762FEEE8B908E9F35473A72AFE1B-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar || die
+ ln -s "${DISTDIR}"/1605B38BB28EAE32C11EAB8F9E238A497754A5B8-org.eclipse.core.jobs-3.5.101_nosignature.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101_nosignature.jar || die
+ ln -s "${DISTDIR}"/20800206EB8B490F3CE5BB8AC8A7C3B9E8004A30-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar o.eclipse.core.net/external/org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar || die
+ ln -s "${DISTDIR}"/D2D2105B1E3C9E2FA6240AD088237A57590DDA8D-org.eclipse.core.runtime-3.7.0_nosignature.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0_nosignature.jar || die
+ ln -s "${DISTDIR}"/16507EAFDC2B95121AA718895BDB54D616EE4B0F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar || die
+ ln -s "${DISTDIR}"/BD55836AABD558DC643A7844B78866AD990544BC-org.eclipse.equinox.app-1.3.100_nosignature.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100_nosignature.jar || die
+ ln -s "${DISTDIR}"/4EE275AE73A140A403903D7E4DBA68C8FBB07001-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar || die
+ ln -s "${DISTDIR}"/B7001D9CC2E2AC4E167D22A13063F0350C71AAA9-org.eclipse.equinox.preferences-3.4.2_nosignature.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2_nosignature.jar || die
+ ln -s "${DISTDIR}"/C647079E36A4EB7A24AED2C545E4F0F94194C4D1-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar || die
+ ln -s "${DISTDIR}"/9267CF311F979078211A70C1B19AF8A8EE71DC8E-org.eclipse.equinox.security-1.1.1_nosignature.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1_nosignature.jar || die
+ ln -s "${DISTDIR}"/B580E446B543A8DD2F5AA368B07F9C4C9C2E7029-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar o.eclipse.jgit/external/org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar || die
+ ln -s "${DISTDIR}"/244560B99152F3F9BC75DF2D6FAFA8A5216B06B6-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar o.eclipse.jgit.java7/external/org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar || die
+ ln -s "${DISTDIR}"/8E2776DE17446EC7450285F19F2C6366117748A8-org.eclipse.mylyn.bugzilla.core_3.17.0.v20150828-2026.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.17.0.v20150828-2026.jar || die
+ ln -s "${DISTDIR}"/D4F2BE52B5C048158B5C046C0ACAC3965027FE12-org.eclipse.mylyn.commons.core_3.17.0.v20150625-2042.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.17.0.v20150625-2042.jar || die
+ ln -s "${DISTDIR}"/4C753A9D8AB768A55EC99A377A0D22EDA67BAE25-org.eclipse.mylyn.commons.net_3.17.0.v20150706-2057.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.17.0.v20150706-2057.jar || die
+ ln -s "${DISTDIR}"/8E52A783A3700FE2F3AED720CBEF6D895C0D5DBC-org.eclipse.mylyn.commons.repositories.core_1.9.0.v20150625-2042.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.9.0.v20150625-2042.jar || die
+ ln -s "${DISTDIR}"/50F0A49BDF7C5610E3E602609926065D47A16C6E-org.eclipse.mylyn.commons.xmlrpc_3.17.0.v20150625-2042.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.17.0.v20150625-2042.jar || die
+ ln -s "${DISTDIR}"/4F2E28BDB091E2DD215FB9B16C8708513288F16A-org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar || die
+ ln -s "${DISTDIR}"/11D1982BE23B06B2721240F424DBEF9F5FDE7F45-org.eclipse.mylyn.wikitext.confluence.core_2.6.0.v20150901-2143.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_2.6.0.v20150901-2143.jar || die
+ ln -s "${DISTDIR}"/A3FEF6144ED1622E4CDD506B9D745527CC675D8D-org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143-patched-nosignature.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143-patched-nosignature.jar || die
+ ln -s "${DISTDIR}"/825DC870D1D423E347F4F8229A211A2C297BB15D-org.eclipse.mylyn.wikitext.markdown.core_2.6.0.v20150901-2143.jar o.eclipse.mylyn.wikitext.markdown.core/external/org.eclipse.mylyn.wikitext.markdown.core_2.6.0.v20150901-2143.jar || die
+ ln -s "${DISTDIR}"/C3024631DD14008D2FF35A576C3D82AC6FCB2E10-org.eclipse.mylyn.wikitext.textile.core_2.6.0.v20150901-2143.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_2.6.0.v20150901-2143.jar || die
+ ln -s "${DISTDIR}"/17C0C8D6DEBF5EBE734881C131888D8088BD9E7D-org.tmatesoft.svnkit_1.8.12.r10533_v20160129_0158.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.8.12.r10533_v20160129_0158.jar || die
+ ln -s "${DISTDIR}"/6819C79348FCF4F5125C834E7D3B742582DCA34D-processtreekiller-1.0.7.jar extexecution.process/external/processtreekiller-1.0.7.jar || die
+ ln -s "${DISTDIR}"/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar libs.svnClientAdapter.svnkit/external/svnkit_1.7.8.r9538_v20130107_2001.jar || die
+ ln -s "${DISTDIR}"/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar o.apache.xml.resolver/external/resolver-1.2.jar || die
+ ln -s "${DISTDIR}"/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar libs.svnClientAdapter.svnkit/external/sqljet-1.1.10.jar || die
+ ln -s "${DISTDIR}"/DAAEFA7A5F3AF75FE4CDC86A1B5904C9F3B5BBF8-svnClientAdapter-javahl-1.10.12.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.10.12.jar || die
+ ln -s "${DISTDIR}"/C47ED3BCD8CEAECDE3BDEEB7D8D14B577B26F9C8-svnClientAdapter-main-1.10.12.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.10.12.jar || die
+ ln -s "${DISTDIR}"/AD4A88D99AB7C5B64C8893CA2FF2CBCFCEFC51C8-svnClientAdapter-svnkit-1.10.12.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.10.12.jar || die
+ ln -s "${DISTDIR}"/5C47A97F05F761F190D87ED5FCBB08D1E05A7FB5-svnjavahl-1.9.3.jar libs.svnClientAdapter.javahl/external/svnjavahl-1.9.3.jar || die
+ ln -s "${DISTDIR}"/3B91269E9055504778F57744D24F505856698602-svnkit-1.7.0-beta4-20120316.233307-1.jar libs.svnClientAdapter.svnkit/external/svnkit-1.7.0-beta4-20120316.233307-1.jar || die
+ ln -s "${DISTDIR}"/015525209A02BD74254930FF844C7C13498B7FB9-svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar libs.svnClientAdapter.svnkit/external/svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar || die
+ ln -s "${DISTDIR}"/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar libs.swingx/external/swingx-all-1.6.4.jar || die
+ ln -s "${DISTDIR}"/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar httpserver/external/tomcat-webserver-3.2.jar || die
+ ln -s "${DISTDIR}"/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar swing.validation/external/ValidationAPI.jar || die
+ ln -s "${DISTDIR}"/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator.jar html.validation/external/validator.jar || die
+ ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.process/external/winp-1.14-patched.jar || die
+ ln -s "${DISTDIR}"/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar o.apache.xmlrpc/external/xmlrpc-client-3.0.jar || die
+ ln -s "${DISTDIR}"/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar o.apache.xmlrpc/external/xmlrpc-common-3.0.jar || die
+ ln -s "${DISTDIR}"/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar o.apache.xmlrpc/external/xmlrpc-server-3.0.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.54.jar
+ java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
+ java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-9.4.1209.jar
+ java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
+ java-pkg_jar-from --into html.parser/external icu4j-55 icu4j.jar icu4j-4_4_2.jar
+ java-pkg_jar-from --into html.validation/external iso-relax iso-relax.jar isorelax.jar
+ java-pkg_jar-from --into html.validation/external log4j log4j.jar log4j-1.2.15.jar
+ java-pkg_jar-from --into html.validation/external saxon-9 saxon.jar saxon9B.jar
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into libs.antlr4.runtime/external antlr-4 antlr-runtime.jar antlr-runtime-4.5.3.jar
+ java-pkg_jar-from --into libs.commons_compress/external commons-compress commons-compress.jar commons-compress-1.8.1.jar
+ # java-pkg_jar-from --into libs.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.19.jar
+ java-pkg_jar-from --build-only --into libs.jna/external jna-4 jna.jar jna-4.4.0.jar
+ java-pkg_jar-from --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+ java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.7.jar
+ java-pkg_jar-from --into libs.smack/external smack-2.2 smack.jar smack.jar
+ java-pkg_jar-from --into libs.smack/external smack-2.2 smackx.jar smackx.jar
+ # java-pkg_jar-from --into libs.svnClientAdapter.javahl/external subversion svn-javahl.jar svnjavahl-1.8.4.jar
+ java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
+ java-pkg_jar-from --build-only --into o.apache.commons.codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
+ java-pkg_jar-from --into o.apache.commons.httpclient/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
+ java-pkg_jar-from --into o.apache.commons.logging/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+ java-pkg_jar-from --into o.apache.ws.commons.util/external ws-commons-util ws-commons-util.jar ws-commons-util-1.0.1.jar
+ java-pkg_jar-from --into servletapi/external tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
+ java-pkg_jar-from --into xml.jaxb.api/external sun-jaf sun-jaf.jar activation.jar
+ java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_1.0_api.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_compile() {
+ unset DISPLAY
+ eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+ pushd nbbuild/netbeans/ide >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
+ rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
+
+ insinto ${INSTALL_DIR}/bin/nativeexecution
+ doins bin/nativeexecution/*
+
+ pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
+ for file in *.sh ; do
+ fperms 755 ${file}
+ done
+ popd >/dev/null || die
+
+ if use x86 ; then
+ doins -r bin/nativeexecution/Linux-x86
+ pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
+ for file in * ; do
+ fperms 755 ${file}
+ done
+ popd >/dev/null || die
+ elif use amd64 ; then
+ doins -r bin/nativeexecution/Linux-x86_64
+ pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
+ for file in * ; do
+ fperms 755 ${file}
+ done
+ popd >/dev/null || die
+ fi
+
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules
+ pushd "${instdir}" >/dev/null || die
+ rm com-jcraft-jsch.jar && java-pkg_jar-from --into "${instdir}" jsch jsch.jar com-jcraft-jsch.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext
+ pushd "${instdir}" >/dev/null || die
+ rm antlr-runtime-4.5.3.jar && java-pkg_jar-from --into "${instdir}" antlr-4 antlr-runtime.jar antlr-runtime-4.5.3.jar
+ rm commons-compress-1.8.1.jar && java-pkg_jar-from --into "${instdir}" commons-compress commons-compress.jar commons-compress-1.8.1.jar
+ # rm freemarker-2.3.19.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.19.jar || die
+ rm icu4j-4_4_2.jar && java-pkg_jar-from --into "${instdir}" icu4j-55 icu4j.jar icu4j-4_4_2.jar
+ rm isorelax.jar && java-pkg_jar-from --into "${instdir}" iso-relax iso-relax.jar isorelax.jar
+ rm json-simple-1.1.1.jar && java-pkg_jar-from --into "${instdir}" json-simple json-simple.jar json-simple-1.1.1.jar
+ rm jvyamlb-0.2.7.jar && java-pkg_jar-from --into "${instdir}" jvyamlb jvyamlb.jar jvyamlb-0.2.7.jar
+ rm log4j-1.2.15.jar && java-pkg_jar-from --into "${instdir}" log4j log4j.jar log4j-1.2.15.jar
+ rm mysql-connector-java-5.1.23-bin.jar && java-pkg_jar-from --into "${instdir}" jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
+ rm postgresql-9.4.1209.jar && java-pkg_jar-from --into "${instdir}" jdbc-postgresql jdbc-postgresql.jar postgresql-9.4.1209.jar
+ rm saxon9B.jar && java-pkg_jar-from --into "${instdir}" saxon-9 saxon.jar saxon9B.jar
+ rm servlet-2.2.jar && java-pkg_jar-from --into "${instdir}" tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
+ rm smack.jar && java-pkg_jar-from --into "${instdir}" smack-2.2 smack.jar
+ rm smackx.jar && java-pkg_jar-from --into "${instdir}" smack-2.2 smackx.jar
+ # rm svnjavahl.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl.jar || die
+ rm xerces-2.8.0.jar && java-pkg_jar-from --into "${instdir}" xerces-2 xercesImpl.jar xerces-2.8.0.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxb
+ pushd "${instdir}" >/dev/null || die
+ rm activation.jar && java-pkg_jar-from --into "${instdir}" sun-jaf sun-jaf.jar activation.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxb/api
+ pushd "${instdir}" >/dev/null || die
+ rm jsr173_1.0_api.jar && java-pkg_jar-from --into "${instdir}" jsr173 jsr173.jar jsr173_1.0_api.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ide
+}
diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
index b8d2f02c1..301468a5b 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -44,6 +44,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-java-9999_p20180113.ebuild 15702 BLAKE2B f1f3c084635ded3f4fd531a826dfd4ed611c18bb445c45316d2c49ad93622efa42ca5b88cdf370e6b8bb346fe803b17b109e9df53db45b0a7b2dad08d2bfa751 SHA512 95da4a7e60ea567277bf8fcbd5ef828623396f79515d03c22a5ff6ed486b471de125b3d632d3efcd84fe8530f63eea0f87fdb61b95e5c21ab72c72815796e7ad
EBUILD netbeans-java-9999_p20180115.ebuild 15702 BLAKE2B c3427d1be05b034ceeb9a3276200a4723037ec46749b5eefded385651c3a9aef6ddedc778307dc819b896cfbc1eef2d25ccbca4603ab363fd57ac39d78181699 SHA512 05c00b42eded6893e55323b7e7b8df41b49d2793bf25a8ff9052de47b404476b187aed0a56972b8cb398abafbe6e2852f921b5d4d83a71419a72b5767708f1ed
EBUILD netbeans-java-9999_p20180116.ebuild 15702 BLAKE2B 59b0406e2c0af356dbc522a7383cdb4ad164f32ee0a69f8155f7d9fa4869e7a77c894e92c77ccfddfec411bbc7a4edfa433809b15145a9ed39367632773682e0 SHA512 88a054ddd1c381fb67f72827aba8fce4ec58190e5c53a4be8ec3041cbcaa9e4aa0f682ae7e030bf047a22f99ec1e1d70f897ed3d4ef39787cb71734622457363
@@ -64,4 +65,5 @@ EBUILD netbeans-java-9999_p20180207.ebuild 15702 BLAKE2B c42c602166729add760e375
EBUILD netbeans-java-9999_p20180208.ebuild 15702 BLAKE2B 5af661d5d538cf2b7136c840a08ecb934301da7af07c56865e1eec5d575802b4ae47d25a73ee9ed3228d5f91b97882014ac2e06aa037052ffbc58b3b0c97ba26 SHA512 3315a003621ccf13b29e1ad467613261135925a0453aa8d96786be48067f6c33d5273e94879ddfa95b6327da6ef8a6fcd8d70bc35450ef316f2bd9f324e5b071
EBUILD netbeans-java-9999_p20180209.ebuild 15702 BLAKE2B de4eccf955b516535d7ce96cacc53063edcc5f75bee1cd2103cb3742c956701141a52d59e074c1e32b36a178a8d1b1d132b6996993112b7bf618d958b1780637 SHA512 431dd9eba8c5d73ea8282da3c966760bfac5ac0757591fed0b8122cfc0b537ec4d54a96549008d79be022c0dcac6f527c23be2c0d29c7fe3b692f6a452b7da69
EBUILD netbeans-java-9999_p20180212.ebuild 15702 BLAKE2B 6e9e71d3bea059057ea4d61b5d9d76d03d90d985bfef94649874238d44a4c577af5defb7e11e17572c29066c874e28fda358058af20bd49487c7d416a53bae59 SHA512 75a9a8b42bd526fe9469d777ffd160a1e8741b963e4cccdd2dc4f02653699ccee60782d3389a91d9d33a1092c9bbf0048c08f6b1c1cf3890aad0da5e745f4a5a
+EBUILD netbeans-java-9999_p20180213.ebuild 15702 BLAKE2B 4159be412fff07f140f440aaf637e1960d147f8783fcfac0a37335c7a6dd340feb0fc72c1eba5c03195ab9372fd646c3fadc55e413235e3d30eec80aae08bdff SHA512 06b29cc7eed98fea8cc7ddf60be9b781e71c1566d18cf179677965558aba241aa23c10eb7bee0f1bc6e154fd4d92b5561e1c3b3504a4b8b66e12b20617d9d27c
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20180213.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20180213.ebuild
new file mode 100644
index 000000000..3bbe41adb
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20180213.ebuild
@@ -0,0 +1,268 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+# Maven cannot be unbundled because it depends on exact maven version and exact content of maven directory
+
+DESCRIPTION="Netbeans Java Cluster"
+HOMEPAGE="https://netbeans.org/projects/java"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+# jarjar-1.4 contains also asm libraries
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/E48292EAE5E14EC44978AA53DEBB1AF7DDD6DF93-aether-api-1.13.1.jar
+ https://hg.netbeans.org/binaries/2DDF9BB8C3B41BC2891832A6D6FC25F8BF41D77F-apache-maven-3.3.9-bin.zip
+ https://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
+ https://hg.netbeans.org/binaries/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar
+ https://hg.netbeans.org/binaries/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip
+ https://hg.netbeans.org/binaries/627EC612B8D50EE42C2D0F13DF5476E26D696634-indexer-core-6.0-SNAPSHOT-patched.jar
+ https://hg.netbeans.org/binaries/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar
+ https://hg.netbeans.org/binaries/479C1E06DB31C432330183F5CAE684163F186146-javax.annotation-api-1.2.jar
+ https://hg.netbeans.org/binaries/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar
+ https://hg.netbeans.org/binaries/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip
+ https://hg.netbeans.org/binaries/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip
+ https://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip
+ https://hg.netbeans.org/binaries/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip
+ https://hg.netbeans.org/binaries/1CA9DE21C6E443E814CB56912BEE872EF7094C49-jshell.jar
+ https://hg.netbeans.org/binaries/CF734AB72813AF33DC1544CE61ABC5C17B9D35E9-lucene-analyzers-common-5.5.3.jar
+ https://hg.netbeans.org/binaries/20540C6347259F35A0D264605B22CE2A13917066-lucene-core-5.5.3.jar
+ https://hg.netbeans.org/binaries/D276E74D57C64ED5F9A09A48DA05B75555E8709A-lucene-highlighter-5.5.3.jar
+ https://hg.netbeans.org/binaries/E2452203D2C44CAC5AC42B34E5DCC0A44BF29A53-lucene-queryparser-5.5.3.jar
+ https://hg.netbeans.org/binaries/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar
+ https://hg.netbeans.org/binaries/C6E5101D6A096D90AD8CF9E0F21C30F1D6DA74D4-nb-javac-api.jar
+ https://hg.netbeans.org/binaries/BB17923713699B721CDB3BDBBAE863D8C8B291E3-nb-javac-impl.jar
+ https://hg.netbeans.org/binaries/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar
+ https://hg.netbeans.org/binaries/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar
+ https://hg.netbeans.org/binaries/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip
+ https://hg.netbeans.org/binaries/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/beansbinding:0
+ dev-java/cglib:3
+ dev-java/jdom:0"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0
+ dev-java/json-simple:0
+ dev-java/junit:4"
+RDEPEND="${CDEPEND}
+ dev-java/absolutelayout:0
+ >=dev-java/antlr-2.7.7-r7:0
+ dev-java/c3p0:0
+ dev-java/commons-cli:1
+ dev-java/commons-collections:0
+ dev-java/dom4j:1
+ dev-java/fastinfoset:0
+ dev-java/glassfish-transaction-api:0
+ dev-java/javassist:3
+ dev-java/jboss-logging:0
+ dev-java/jsr67:0
+ dev-java/jsr181:0
+ >=dev-java/jtidy-1:0
+ dev-java/log4j:0
+ dev-java/mimepull:0
+ dev-java/oracle-javamail:0
+ dev-java/saaj:0
+ dev-java/slf4j-api:0
+ dev-java/slf4j-log4j12:0
+ dev-java/slf4j-simple:0
+ dev-java/stax-ex:0
+ dev-java/stax2-api:0
+ dev-java/xmlstreambuffer:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+pkg_pretend() {
+ local die_now=""
+
+ if [ -d /usr/share/netbeans-java-${SLOT}/ant ]; then
+ if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
+ eerror "Please remove following symlinks and run emerge again:"
+ find /usr/share/netbeans-java-${SLOT}/ant -type l
+ die_now="1"
+ fi
+ fi
+
+ if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
+ if [ -z "${die_now}" ]; then
+ eerror "Please remove following symlinks and run emerge again:"
+ fi
+
+ echo "/usr/share/netbeans-java-${SLOT}/maven"
+ die_now="1"
+ fi
+
+ if [ -n "${die_now}" ]; then
+ die "Symlinks exist"
+ fi
+}
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/E48292EAE5E14EC44978AA53DEBB1AF7DDD6DF93-aether-api-1.13.1.jar maven/external/aether-api-1.13.1.jar || die
+ ln -s "${DISTDIR}"/2DDF9BB8C3B41BC2891832A6D6FC25F8BF41D77F-apache-maven-3.3.9-bin.zip maven.embedder/external/apache-maven-3.3.9-bin.zip || die
+ ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die
+ ln -s "${DISTDIR}"/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar j2ee.eclipselink/external/eclipselink.jar || die
+ ln -s "${DISTDIR}"/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip hibernate4lib/external/hibernate-release-4.3.1-lib.zip || die
+ ln -s "${DISTDIR}"/627EC612B8D50EE42C2D0F13DF5476E26D696634-indexer-core-6.0-SNAPSHOT-patched.jar maven.indexer/external/indexer-core-6.0-SNAPSHOT-patched.jar || die
+ ln -s "${DISTDIR}"/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar maven/external/jarjar-1.4.jar || die
+ ln -s "${DISTDIR}"/479C1E06DB31C432330183F5CAE684163F186146-javax.annotation-api-1.2.jar maven.indexer/external/javax.annotation-api-1.2.jar || die
+ ln -s "${DISTDIR}"/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar j2ee.eclipselink/external/javax.persistence_2.1.0.v201304241213.jar || die
+ ln -s "${DISTDIR}"/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip websvc.jaxws21/external/jaxws-2.2.6.zip || die
+ ln -s "${DISTDIR}"/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip websvc.jaxws21api/external/jaxws-2.2.6-api.zip || die
+ ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die
+ ln -s "${DISTDIR}"/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip j2ee.eclipselink/external/JPAjavadocs04032013.zip || die
+ ln -s "${DISTDIR}"/1CA9DE21C6E443E814CB56912BEE872EF7094C49-jshell.jar libs.jshell.compile/external/jshell.jar || die
+ ln -s "${DISTDIR}"/CF734AB72813AF33DC1544CE61ABC5C17B9D35E9-lucene-analyzers-common-5.5.3.jar maven.indexer/external/lucene-analyzers-common-5.5.3.jar || die
+ ln -s "${DISTDIR}"/20540C6347259F35A0D264605B22CE2A13917066-lucene-core-5.5.3.jar maven.indexer/external/lucene-core-5.5.3.jar || die
+ ln -s "${DISTDIR}"/D276E74D57C64ED5F9A09A48DA05B75555E8709A-lucene-highlighter-5.5.3.jar maven.indexer/external/lucene-highlighter-5.5.3.jar || die
+ ln -s "${DISTDIR}"/E2452203D2C44CAC5AC42B34E5DCC0A44BF29A53-lucene-queryparser-5.5.3.jar maven.indexer/external/lucene-queryparser-5.5.3.jar || die
+ ln -s "${DISTDIR}"/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar maven.embedder/external/maven-dependency-tree-2.0.jar || die
+ ln -s "${DISTDIR}"/C6E5101D6A096D90AD8CF9E0F21C30F1D6DA74D4-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+ ln -s "${DISTDIR}"/BB17923713699B721CDB3BDBBAE863D8C8B291E3-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
+ ln -s "${DISTDIR}"/CA4F4DB7B6C140E36B0001873BEEA7C26489D2A1-netbeans-cos.jar maven/external/netbeans-cos.jar || die
+ ln -s "${DISTDIR}"/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar || die
+ ln -s "${DISTDIR}"/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselinkmodelgen/external/org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar || die
+ ln -s "${DISTDIR}"/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip libs.springframework/external/spring-framework-3.2.7.RELEASE.zip || die
+ ln -s "${DISTDIR}"/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip libs.springframework/external/spring-framework-4.0.1.RELEASE.zip || die
+ ln -s "${DISTDIR}"/BFCC4C322190D6E3DD2FA9F191C0359D380D87C5-wagon-file-2.10.jar maven.embedder/external/wagon-file-2.10.jar || die
+ ln -s "${DISTDIR}"/4EF309C09ABB5F8B2D0C6A4010205DB185729CDC-wagon-http-2.10-shaded.jar maven.embedder/external/wagon-http-2.10-shaded.jar || die
+ ln -s "${DISTDIR}"/3B96251214DF697E902C849EB0B4A0EFA2CD1A53-wagon-http-shared-2.10.jar maven.embedder/external/wagon-http-shared-2.10.jar || die
+ ln -s "${DISTDIR}"/0CD9CDDE3F56BB5250D87C54592F04CBC24F03BF-wagon-provider-api-2.10.jar maven.embedder/external/wagon-provider-api-2.10.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into libs.cglib/external cglib-3 cglib.jar cglib-2.2.jar
+ java-pkg_jar-from --build-only --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+ java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+ java-pkg_jar-from --into maven.embedder/external jdom jdom.jar jdom-1.0.jar
+ java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+ cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.websvccommon.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/java >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+ grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
+ rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
+
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/maven/lib
+ pushd "${instdir}" >/dev/null || die
+ rm commons-cli-1.2.jar && java-pkg_jar-from --into "${instdir}" commons-cli-1 commons-cli.jar commons-cli-1.2.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext
+ pushd "${instdir}" >/dev/null || die
+ rm AbsoluteLayout.jar && java-pkg_jar-from --into "${instdir}" absolutelayout absolutelayout.jar AbsoluteLayout.jar
+ rm beansbinding-1.2.1.jar && java-pkg_jar-from --into "${instdir}" beansbinding beansbinding.jar beansbinding-1.2.1.jar
+ rm cglib-2.2.jar && java-pkg_jar-from --into "${instdir}" cglib-3 cglib.jar cglib-2.2.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/hibernate4
+ pushd "${instdir}" >/dev/null || die
+ rm antlr-2.7.7.jar && java-pkg_jar-from --into "${instdir}" antlr antlr.jar antlr-2.7.7.jar
+ rm c3p0-0.9.2.1.jar && java-pkg_jar-from --into "${instdir}" c3p0 c3p0.jar c3p0-0.9.2.1.jar
+ rm cglib-2.2.jar && java-pkg_jar-from --into "${instdir}" cglib-3 cglib.jar cglib-2.2.jar
+ rm commons-collections-3.2.1.jar && java-pkg_jar-from --into "${instdir}" commons-collections commons-collections.jar commons-collections-3.2.1.jar
+ rm dom4j-1.6.1.jar && java-pkg_jar-from --into "${instdir}" dom4j-1 dom4j.jar dom4j-1.6.1.jar
+ rm javassist-3.18.1-GA.jar && java-pkg_jar-from --into "${instdir}" javassist-3 javassist.jar javassist-3.18.1-GA.jar
+ rm jboss-logging-3.1.3.GA.jar && java-pkg_jar-from --into "${instdir}" jboss-logging jboss-logging.jar jboss-logging-3.1.3.GA.jar
+ rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && java-pkg_jar-from --into "${instdir}" glassfish-transaction-api glassfish-transaction-api.jar jboss-transaction-api_1.2_spec-1.0.0.Final.jar
+ rm jtidy-r8-20060801.jar && java-pkg_jar-from --into "${instdir}" jtidy jtidy.jar jtidy-r8-20060801.jar
+ rm log4j-1.2.12.jar && java-pkg_jar-from --into "${instdir}" log4j log4j.jar log4j-1.2.12.jar
+ rm slf4j-api-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-api slf4j-api.jar slf4j-api-1.6.1.jar
+ rm slf4j-log4j12-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-log4j12 slf4j-log4j12.jar slf4j-log4j12-1.6.1.jar
+ rm slf4j-simple-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-simple slf4j-simple.jar slf4j-simple-1.6.1.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxws22
+ pushd "${instdir}" >/dev/null || die
+ rm FastInfoset.jar && java-pkg_jar-from --into "${instdir}" fastinfoset fastinfoset.jar FastInfoset.jar
+ rm javax.mail_1.4.jar && java-pkg_jar-from --into "${instdir}" oracle-javamail mail.jar javax.mail_1.4.jar
+ rm mimepull.jar && java-pkg_jar-from --into "${instdir}" mimepull mimepull.jar
+ rm saaj-impl.jar && java-pkg_jar-from --into "${instdir}" saaj saaj.jar saaj-impl.jar
+ rm stax-ex.jar && java-pkg_jar-from --into "${instdir}" stax-ex stax-ex.jar
+ rm stax2-api.jar && java-pkg_jar-from --into "${instdir}" stax2-api stax2-api.jar
+ rm streambuffer.jar && java-pkg_jar-from --into "${instdir}" xmlstreambuffer xmlstreambuffer.jar streambuffer.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxws22/api
+ pushd "${instdir}" >/dev/null || die
+ rm jsr181-api.jar && java-pkg_jar-from --into "${instdir}" jsr181 jsr181.jar jsr181-api.jar
+ rm saaj-api.jar && java-pkg_jar-from --into "${instdir}" jsr67 jsr67.jar saaj-api.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/maven
+ pushd "${instdir}" >/dev/null || die
+ rm jdom-1.0.jar && java-pkg_jar-from --into "${instdir}" jdom jdom.jar jdom-1.0.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
+}
diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
index b3f0ffa6e..e2fd8e4b4 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-javacard-9999_p20180113.ebuild 4648 BLAKE2B 1632f34c4115ac36cbdf75457a204b371e58eb8a83513e0a1567b0e9507fe55f44927ceaf92fef3a457ab2c0b9748484a36422b15dfd3dee3fd172e00c26a553 SHA512 f02e9810504dab12a2e6738dbd7737b3351cba22a6ce26f59f2d7bd04332e629e43fe71b4ccf5df9a81384d305e5d2c3421b945b1ba8c272fe02b73251c928f4
EBUILD netbeans-javacard-9999_p20180115.ebuild 4648 BLAKE2B 76c0f9b7cb905e494c8f5abc061efd1ffc3dbcaf639c977cff0d11c2f8f932aa36eff81ec019e2afce8f79a7b5a6d04bd75d51f47e374547fefa0511be05fa6c SHA512 6c8b2c9555da95f7b75a65c2ce3f8f214200b686b6f86a63e2c9b9871bbc114fb96fadaed1d455b64be42f934d0d2cdee72567aaa9c22586cf6c05fd84ca83cd
EBUILD netbeans-javacard-9999_p20180116.ebuild 4648 BLAKE2B 287b98d1e8d8cc3e72a045010ac73057619b3b90889291512b5d9613001716160653afc4d0d132301da181a87a5df569167cd6d5fdb1e75ad40fd21dea01f3a6 SHA512 1f4b591d1f4bfd0cf9f6f8d5fac00d0893033ee95cfbbdf63b0b349d8dc3383303b2ed2a32f0a474a7cd56ef675e6a515e74e58fb157870073b1fb9eb27bde4a
@@ -42,4 +43,5 @@ EBUILD netbeans-javacard-9999_p20180207.ebuild 4648 BLAKE2B 76f879ff7218b5f97019
EBUILD netbeans-javacard-9999_p20180208.ebuild 4648 BLAKE2B 010cfd1d7420f7bc720ff01c4cb7911a91ce90230889e2e99615227c344905382d19c84ea13cb2df3a98895598f9dc15f35a849287959087677286c51d9b8078 SHA512 4562a95bb3e938621c2e26a2022c07d7485c17c9060fa5484063c1a92b11c8056d85c9d7eec2795c7212243f82517edd957fa3e86a2a0b7129acb7ae8ff6950b
EBUILD netbeans-javacard-9999_p20180209.ebuild 4648 BLAKE2B b55ba3f6fe0be79053039202f147cef8e0e4251f6a0e53a6bdcfdc7a17b9dae497fa50caa7d5e505803386b6af43420cc75a6190b0368c927d7b230e35100a86 SHA512 3dff0f7f14c4a6da7f7dd48dc13d5f30147130d0d50554c6a40257cfa01d3a453c772a42188c80aed4dabb47428e29bcca1dc6015d8fb22dd9d4cb215ca52c25
EBUILD netbeans-javacard-9999_p20180212.ebuild 4648 BLAKE2B b8c6c45eec3ee9b7245ef200d6b65a5a30a87dad742d69a5334fb4c512953ca5151ab7238725c53c8f0f485140b8f5ac57c9b24479eda8ee1b32ab9fd4b40b8d SHA512 2254b68a398f51243697a25e1f7c18ba78da9c160894f52bbaf3c0b93f36c88f58dc997350ec3684f88ff98d217ce18d80c3de04ef852f892186d471dd513c08
+EBUILD netbeans-javacard-9999_p20180213.ebuild 4648 BLAKE2B 5bb49d4e7ee3a865b360514ffd6530bf54c544da9852d4c7e2a70b69d31ee86b95e8dcc8ba8a30f61ca6c0df5c363032363cbc514ff02dbd4e1f8b6ee85ac4d1 SHA512 5ed6f88ab6c9f61c2e0d2ea5fa2ab6075482bb3af03e503321a9476f52e120a39b9a37e8ec003b863826c45e124f3614d4fe511e297a959bfe52adbf6ad3dc35
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180213.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180213.ebuild
new file mode 100644
index 000000000..ad0b2cdb7
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180213.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaCard Cluster"
+HOMEPAGE="https://netbeans.org/projects/javacard"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar
+ https://hg.netbeans.org/binaries/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar
+ https://hg.netbeans.org/binaries/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}
+ dev-java/ant-contrib:0
+ dev-java/asm:3
+ dev-java/bcel:0
+ dev-java/commons-cli:1
+ dev-java/commons-codec:0
+ dev-java/commons-httpclient:3
+ dev-java/commons-logging:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.javacard -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar javacard.ri.platform/external/anttasks.jar || die
+ ln -s "${DISTDIR}"/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar javacard.apdu.io/external/apduio.jar || die
+ ln -s "${DISTDIR}"/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip javacard.ri.bundle/external/javacard_ri.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/javacard >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/javacard$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ rm -fr "${D}"/${INSTALL_DIR}/bin || die
+
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/JCDK3.0.2_ConnectedEdition/lib
+ pushd "${instdir}" >/dev/null || die
+ rm ant-contrib-1.0b3.jar && java-pkg_jar-from --into "${instdir}" ant-contrib ant-contrib.jar ant-contrib-1.0b3.jar
+ rm asm-all-3.1.jar && java-pkg_jar-from --into "${instdir}" asm-3 asm.jar asm-all-3.1.jar
+ rm bcel-5.2.jar && java-pkg_jar-from --into "${instdir}" bcel bcel.jar bcel-5.2.jar
+ rm commons-cli-1.0.jar && java-pkg_jar-from --into "${instdir}" commons-cli-1 commons-cli.jar commons-cli-1.0.jar
+ rm commons-codec-1.3.jar && java-pkg_jar-from --into "${instdir}" commons-codec commons-codec.jar commons-codec-1.3.jar
+ rm commons-httpclient-3.0.jar && java-pkg_jar-from --into "${instdir}" commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.0.jar
+ rm commons-logging-1.1.jar && java-pkg_jar-from --into "${instdir}" commons-logging commons-logging.jar commons-logging-1.1.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/javacard
+}
diff --git a/dev-java/netbeans-javadoc/Manifest b/dev-java/netbeans-javadoc/Manifest
index cb4ffeed6..57e52f1a7 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-javadoc-9999_p20180113.ebuild 5992 BLAKE2B a15d6da2f9e549bdce3bdedb8226b53618a45e800af9a31678d071ecffaf88558afda13644cbb6f82732fbf98868a0488f4bf668c5a616432d5e09f453dd2c77 SHA512 0a38bb44c66b263045d9dc0cbec9883d2a8a214f0aa0090b508a7f8e6c9795bdeea0072ebe60bca78cffd616c5f5a4e7ab82459ae0a7dbca98fe0755f2f149e4
EBUILD netbeans-javadoc-9999_p20180115.ebuild 5992 BLAKE2B b0738fed1ac61652a23ee38eeb62c9818b963ee3129c4187a2c9a37c342b445fd1d63561238b3d6f00b538ba0dc0728190805e8d849e2274c422633134e7eda8 SHA512 de17313edca9667e4e4965302e49027a96db8ed93c8ed3d86e24c5b0ee10cf4fb3bf8ffdc806e17b72a73ca67266ce052bd598a0980de1dea5c2c7969eb4c39e
EBUILD netbeans-javadoc-9999_p20180116.ebuild 5992 BLAKE2B 7c8e3725e200a7e5b28009d3b949eda93e9e606b129fa7c7f6064d78ed678633d14e6d6d6396e0b74bad6ce2bb470cee4a45d5b0b0573861ba0742eb903dd3e2 SHA512 046f18f9726bb981ecbe55206e8fdb1105866733a71d544c34578239a5a8230f546352e88143bde3933a5f925124ff60272b2f10a4d3fe91fdc1c5f107fc9f19
@@ -40,4 +41,5 @@ EBUILD netbeans-javadoc-9999_p20180207.ebuild 5992 BLAKE2B 985598d23243157c61bc9
EBUILD netbeans-javadoc-9999_p20180208.ebuild 5992 BLAKE2B b530c8526ab1afbb716273da03e9a6cd2ac190cb301b719ddc8d81eea6eb0252be2ae2870aaa9d4baa5f66d631550d64b9be882c8c54e3ef9468bf36bec73c46 SHA512 2bcb9a667b3eca77223ad39a86d231c7181de75e282c59b4825b53ffdc80138a0ff5f4b4d6f63ba1af704b8055dfcda11737dc6c4b6d8c1452875ea851739a34
EBUILD netbeans-javadoc-9999_p20180209.ebuild 5992 BLAKE2B f35bd431abc8b3cdf6d7c6236f1b73d78e1e130d79ece5fbed9d864f66945de9eee56354928a455ab67ea9f9d33d5d2752dcf6b52194074a5f9c7051d2c4033b SHA512 b9b909c66a4bda13d9899766da276449fbcc8f4a61f10392e4eb3fe5ee81736f3ff953e4977cea1805b5e50124f086ff84770a211579641b83e85273af7cf233
EBUILD netbeans-javadoc-9999_p20180212.ebuild 5992 BLAKE2B 4b9824ce99cac335f3a4be212dc36ff04113efcd4c9a6e9b1dc9596755a8d9cfaafaddc09199c1f0ed7e75e1f658a2d1dbd1fe287dc1118c8a3c00b2bc816d0f SHA512 1db95611e5cb57557d6f0af3ed0428a70521861a1a17702af61d54ed27a7833cad9c4494bfc9fcc6d94134c76471642059f994c4a05214d0faa9c675e5b8f6f4
+EBUILD netbeans-javadoc-9999_p20180213.ebuild 5992 BLAKE2B 5b6da0b848fa8c2dc3312349fde35067b3c846e65054a6a4f9d44e98b3616ab68544b28747f5edb8b26b62fa7a8a53f1139510ca6a2b219e97862599e400ea80 SHA512 9b147ad86356f03c0425438c1f9541855f67f434eff0942c10203de87def761cc619127d0f980bdcb1e0c3e83f07f588fb62a42ed4825dd206f708cae780ac8d
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180213.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180213.ebuild
new file mode 100644
index 000000000..e543dc41f
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180213.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaDocs"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/0B539A378C2EA52B17BD0326ECE03DF66E3A65E9-ant-libs-1.10.1.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# oracle-jdk-bin is needed because of javafx which is not currently packaged separately
+DEPEND="dev-java/oracle-jdk-bin:1.8[javafx]
+ app-arch/unzip
+ dev-java/javahelp:0
+ dev-java/junit:4
+ ~dev-java/netbeans-apisupport-${PV}
+ ~dev-java/netbeans-cnd-${PV}
+ ~dev-java/netbeans-dlight-${PV}
+ ~dev-java/netbeans-enterprise-${PV}
+ ~dev-java/netbeans-ergonomics-${PV}
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-groovy-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-javacard-${PV}
+ ~dev-java/netbeans-mobility-${PV}
+ ~dev-java/netbeans-nb-${PV}
+ ~dev-java/netbeans-php-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-profiler-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}"
+RDEPEND=""
+
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.8"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/0B539A378C2EA52B17BD0326ECE03DF66E3A65E9-ant-libs-1.10.1.zip o.apache.tools.ant.module/external/ant-libs-1.10.1.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+ cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.apisupport.built
+
+ ln -s /usr/share/netbeans-cnd-${SLOT} cnd || die
+ cat /usr/share/netbeans-cnd-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.cnd.built
+
+ ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+ cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.dlight.built
+
+ ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+ cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.enterprise.built
+
+ ln -s /usr/share/netbeans-ergonomics-${SLOT} ergonomics || die
+ cat /usr/share/netbeans-ergonomics-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ergonomics.built
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-groovy-${SLOT} groovy || die
+ cat /usr/share/netbeans-groovy-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.groovy.built
+
+ ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-javacard-${SLOT} javacard || die
+ cat /usr/share/netbeans-javacard-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.javacard.built
+
+ ln -s /usr/share/netbeans-mobility-${SLOT} mobility || die
+ cat /usr/share/netbeans-mobility-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.mobility.built
+
+ ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
+ cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.nb.built
+
+ ln -s /usr/share/netbeans-php-${SLOT} php || die
+ cat /usr/share/netbeans-php-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.php.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
+ cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.profiler.built
+
+ ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+ cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.websvccommon.built
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_compile() {
+ eant -Dpermit.jdk8.builds=true -f nbbuild/build.xml bootstrap || die
+ ANT_OPTS="-Xmx1536m" eant -Dpermit.jdk8.builds=true -f nbbuild/javadoctools/build.xml build-javadoc
+}
+
+src_install() {
+ rm nbbuild/build/javadoc/*.zip
+ java-pkg_dojavadoc nbbuild/build/javadoc
+}
diff --git a/dev-java/netbeans-javafx/Manifest b/dev-java/netbeans-javafx/Manifest
index 7205e6fba..8f2c6dfe4 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -25,6 +25,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-javafx-9999_p20180113.ebuild 4397 BLAKE2B 45ac9b1f4380258e4731e1e87d0784db56ef6d78873e9b7ca733fc5f27390ee3a9a4baa52da19173fb05b2106929c506baebc83dcb66c18166f8f26e5015dcb2 SHA512 4cade3512ad913841c1e9d36db7289891e7a61bf15c1f944996331552013c5fb990b54f7ce0c55b5ad031164e788b979f222c238d75b4151d24d972e8ba2bb85
EBUILD netbeans-javafx-9999_p20180115.ebuild 4397 BLAKE2B 9d78a72bc2cffb04066a9e674c95eb65d8220e6477c43bb7b830e1e364a46f232c06314e5e1d1b14b438db0bc8f3041ad616021509e230bdc539aa5d06bf6493 SHA512 6430975e56eb760fd1d7a0cdb26cf3803d9c5cc50197a1dba74433f59f65a7edcc40af80cf23e1e9370c5dce5291d14ee192c00e94ce7ee8a670faa02bd0456e
EBUILD netbeans-javafx-9999_p20180116.ebuild 4397 BLAKE2B 5147dbe2289c925044f8515dae9a0fb573e70cb739e3e2d8401ac2ef9e02a130461d829da9bc76bcd5da01aaf73a7c5f59a37375ac9e09964c61b778da6675ae SHA512 12aecf08a7ab45cd7a7d141187bc6ecb64ee68bd854a7fb7f3c74631dd123848b74f8c9a660170f0fd8e74daf3b53e13451ac7164ab79c41f15aea403395e643
@@ -45,4 +46,5 @@ EBUILD netbeans-javafx-9999_p20180207.ebuild 4397 BLAKE2B 2ee87a38b2905f344205a6
EBUILD netbeans-javafx-9999_p20180208.ebuild 4397 BLAKE2B fc88758cb685c30ade56a15237f5118f1a3b13cfaa51c5569783f91b96685fafccd96ae0aeb823bd2637e4fb3c21f2320b5f793157d127a7f1cb197dca7f5992 SHA512 e4382efea86ff329699781a287ef91a2f3d80b0c8638ad963021f06e8f038458259565da829765c35133ebb3e64bb149b35f9013d66398429257fdfdb264ffce
EBUILD netbeans-javafx-9999_p20180209.ebuild 4397 BLAKE2B a744231866f4092f9621ff347501abf339e8600b2e02a0440f9ed3ef0e1ea20ad64a8189d4d3f11afd0f1e6da725c0f6cbe7134909bc37c0698fa2cd3bdaef0a SHA512 bde954d62115bfa899e32523f072d0e6a20bdd7d6c6bd225e706f70a8f47d8b25b318cb5531dc74c7591e7c1557262c4a205430c0ad0c381a8abed21ff455c8d
EBUILD netbeans-javafx-9999_p20180212.ebuild 4397 BLAKE2B 871df1f63f4dbd560ce9c232b20ab123eec112a30871aaceb29b7bfe5ff566de93070457a9058f8584e586db89c960fd671b571ff08b12ebcf77ae4d21699bc1 SHA512 1cec6ed28c6c1800a806ea193dbd3c763038dcef3299558631154b57174304d7ba23d7e3f35c0c4e09413625fe5bcb276eb3b412a8e73c7375ee6f4a9c183027
+EBUILD netbeans-javafx-9999_p20180213.ebuild 4397 BLAKE2B f5fa5f35248968bf18e19b6d01190b818d57b3ef619ed5f2b62b31e693c06a7bb00f559190dac125126cd4fca0bac64e5e85d2f3bb68dd409c368645b6d5bf57 SHA512 59e2bc5489f1fd68a01f0dc039f25bc33f00ecfa3e8c5d7bf9976543393ed847bf041d14731f3d9e8207016bcb51f0caef6b140a5e8ca2432cc3c8b58154ed66
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180213.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180213.ebuild
new file mode 100644
index 000000000..9c2a6de46
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180213.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaFX Cluster"
+HOMEPAGE="https://netbeans.org/projects/javafx"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+ https://hg.netbeans.org/binaries/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar
+ https://hg.netbeans.org/binaries/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip
+ https://hg.netbeans.org/binaries/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip
+ https://hg.netbeans.org/binaries/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar
+ https://hg.netbeans.org/binaries/C6E5101D6A096D90AD8CF9E0F21C30F1D6DA74D4-nb-javac-api.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0
+ dev-java/junit:4"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.javafx -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar apisupport.harness/external/bindex-2.2.jar || die
+ ln -s "${DISTDIR}"/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar apisupport.harness/external/jnlp-servlet.jar || die
+ ln -s "${DISTDIR}"/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar jemmy/external/jemmy-2.3.1.1.jar || die
+ ln -s "${DISTDIR}"/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip jemmy/external/jemmy-2.3.1.1-doc.zip || die
+ ln -s "${DISTDIR}"/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip jemmy/external/jemmy-2.3.1.1-src.zip || die
+ ln -s "${DISTDIR}"/C6E5101D6A096D90AD8CF9E0F21C30F1D6DA74D4-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/javafx >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/javafx$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/javafx
+}
diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 7cbc82762..89f69ff96 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-mobility-9999_p20180113.ebuild 4086 BLAKE2B 8423448942c93e5fe24392ebffed6a6ee1afa0b6f56d50b478fdf2e70b3d32a81d8c45d75c04d5a6b7ffa43962fe2f2d146d79537775d02faf5b7989a1857383 SHA512 7b76e17bca15ba85afe6d71500b7aed19464916b27ad7c587f5eab6aba52978ee5d1b3df524370f60e1fdfebac5f1f9ef5f231e86486aaa4c425bee9704bac18
EBUILD netbeans-mobility-9999_p20180115.ebuild 4086 BLAKE2B 3f45eb8669cc0ceb438eac7f2926bde05c0200baab95c142c3ba20df17ee6477cea61b8cacaff801f3b6f7d6320e1d9d18008959a20ff3526db6854fbe990e46 SHA512 f839664c084d951b20ad05ef8b083f3857112f6c7b894b292ba70978b550701f388a511b4cceca93b02a299a21c37ebe2013b33282d2939c70e76c279773f265
EBUILD netbeans-mobility-9999_p20180116.ebuild 4086 BLAKE2B b5f15a5a6b3427b425bc79188a6ebca3c28b0feb4983e984da72b8ac9bbcec63367f50447ed3113bd6adc3ef9545487c51336ba558326e75660a9546ba782bb8 SHA512 5a49247c7527f010dba7b8fc915899e92fb8972a355796ef5e4830b20a515db01e588a46a4d537f0576cc924a5ef47178850adb0e2e76321399e061b3b6fb25e
@@ -39,4 +40,5 @@ EBUILD netbeans-mobility-9999_p20180207.ebuild 4086 BLAKE2B 6aed640d3e7b0d0528dd
EBUILD netbeans-mobility-9999_p20180208.ebuild 4086 BLAKE2B f616c7b8ff7c3f6f6b387d02f3fcd28b2dfc8c1027cbd945e573ce58de168a9edfde9005dac9975dddb533451dcfde314849abbd2a70ba3fe49ad0c16b0130bf SHA512 c73bd0ba1a654e2f5f9e9528d346959986088c835cd5eaa7da348a2d8c2bd601da4085ff69c6d0086b13168cc151b3beb65f4cc931a2ce14b015581924cec7f2
EBUILD netbeans-mobility-9999_p20180209.ebuild 4086 BLAKE2B 0d9d9645b0bf4fcdbb3105134fff95c32a45fea09e84808e6069dcfd0123326e6a3c041dc002e04185a088e89e72ae15fa4dfc718af85e373663cfd1122dcbcc SHA512 ecdf8e2575179f286bd6d245ed439f6045850666c25d9957b5b5baf81a5ded9e8b6276f3df7838d5ab55fe4e4164cf139676dd7db69ebacf96b2add9ab3913da
EBUILD netbeans-mobility-9999_p20180212.ebuild 4086 BLAKE2B ecdd28911eba1c7b00886f456024365b282fe4b0364ef124f31432babd9364f378e0e807e55602fd9768911b146d2395efc9e490aceae617d833ea36a989bfb8 SHA512 c4cafca480869f92e300d1d992a2785b6b38b474c9d479f9794075c73a84f8c4c0d17466474ba61582fed06d118e0e55ee864b75426ebe9b5952e03a2195b89f
+EBUILD netbeans-mobility-9999_p20180213.ebuild 4086 BLAKE2B 0beaefa75a17cdd733d2c3604303bc4edf580619055d13d8fc3515ae237a329b035f8e1c407912d23ff9771eae6d23f6264698511825ebc24f875489906232fd SHA512 b567ed6818f14c3cbbef101826e72465826012c7224985832c17d03779f9942f379493348b491f0e3715dbad3de18459ddb13bfb2c39a15c207978804cbe5986
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180213.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180213.ebuild
new file mode 100644
index 000000000..6abbc1863
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180213.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Mobility Cluster"
+HOMEPAGE="https://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-apisupport-${PV}
+ ~dev-java/netbeans-enterprise-${PV}
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.mobility -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f | grep -vE "mobility.databindingme/lib/netbeans_databindingme.*\.jar" \
+ | grep -v "vmd.components.midp/netbeans_midp_components_basic/dist/netbeans_midp_components_basic.jar" \
+ | grep -v "vmd.components.midp.pda/netbeans_midp_components_pda/dist/netbeans_midp_components_pda.jar" \
+ | grep -v "vmd.components.midp.wma/netbeans_midp_components_wma/dist/netbeans_midp_components_wma.jar" \
+ | grep -v "vmd.components.svg/nb_svg_midp_components/dist/nb_svg_midp_components.jar" | xargs rm
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+ cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.apisupport.built
+
+ ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+ cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.enterprise.built
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+ cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.websvccommon.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/mobility >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/mobility$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ rm -rf "${D}"/${INSTALL_DIR}/modules/lib || die
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/mobility
+}
diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
index 6c88e3b07..1477e3c90 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-nb-9999_p20180113.ebuild 3786 BLAKE2B 54ad9811e2d2a02bd2d47973e6235c7c970301d7b9b13b66fb67e21f34545b508320c23870ab8a2e9c2ba7cbb22d69131655fdaf85ce555b1faf5d86a9e4c7c2 SHA512 d4356b927273160cfb6d32d081151bc7851fbd8f0bd7444f8b89ac07f59339c161765dd22a2add4fc73b902be004422273a5f96f381012b4b345ef9004d3c332
EBUILD netbeans-nb-9999_p20180115.ebuild 3786 BLAKE2B c492f40f5d418e0decb6f2d785b641579140c35e601d07f924f2d025d72d5fe518be228606fbc2d35a0fc606aadbf65b35eca7469848af83446051addab569e3 SHA512 2c2c747291f17e234e0ec9d0598a7ae5e5ca45d44f98fc60c96cb058124452bcb555344e4cdf46d531fb3237176a2f34d1b42c5133b1e9393df9c34ab72134fd
EBUILD netbeans-nb-9999_p20180116.ebuild 3786 BLAKE2B 5e93a07da5e73357b8f1607d07e2a8d074d1fb5c55349629be2d247af1df416d5065276e98cdfdcd0482a23d927c80c7086aef671d3324ab3b03ed4cb17860f3 SHA512 7a6ef70c947a797403c9246a2110446abca821d684b897cf7a0a4a5edb939b60a82033bd634ef5343d92b77faa51beb446b3a54ad13851db2a86337a84baf852
@@ -42,4 +43,5 @@ EBUILD netbeans-nb-9999_p20180207.ebuild 3786 BLAKE2B 57cd6e7ec101af64293a876747
EBUILD netbeans-nb-9999_p20180208.ebuild 3786 BLAKE2B e8c77742a00812bdea1b95c9fb0d0a68906ef34174de6d0c7ebb2f7ddbecdf170a40eec4a1e62a7fb1a35c079242d0d8dfe6ab5dcd1f0f73fa3c88502521b4d9 SHA512 94d19fdff071d44a767715b4e53d75a6ff36380a76ed739bc2f696660a43b4d89043a255417bdefee24be4b57549d952468fcabe0185621f92768ad21f18e8d0
EBUILD netbeans-nb-9999_p20180209.ebuild 3786 BLAKE2B f510b36042e8704857bedc56a2e22b66e2c84ec192eaec7de2bf044495a087fa89616210e426f8e2eaff200c1a7d98643ecb60c8ffc22a9c71188c610a256ea2 SHA512 bbdfc4285279c45a08df362ef07079de3093c995923d69716dd86472984cfdb6c47f7504d58d32be720ba0c7d3dd5bc4ed177b56ea458b1e78155f4df6a10cbf
EBUILD netbeans-nb-9999_p20180212.ebuild 3786 BLAKE2B e308e55c3137a2e17a809352575d9e9fb7368550470114b0a57751a30ef4a14d9157b13f74737819c7825f6ec055b67d1e336906c83f88baf5aaaa8cb21312dd SHA512 7b35fead2b9a6e8ddfe8ba32edce392b4b6908ba1bc2e0ac12d3e0ef041d1c9e5da27dee08ece15aacf242f7231fcc12c5b2b5e2bfd7a630e5667dbce183e708
+EBUILD netbeans-nb-9999_p20180213.ebuild 3786 BLAKE2B 1f49dbddf4e1cc0e63f8ee9ac26453ebf1d6a52473bcf1cbcba0964490725cf26594a2f1af755f549a115c289b5672698032090022b18df24e62573fa33b4d71 SHA512 9fc757f551fc626fdaae5dc74eaf55ba57beb15ebe7e46be28841cfce2a7c5c3cb12d6bd1a1edbe11cff908433340237d0a3bec146d3e5ebce5bf04e0526d93f
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20180213.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20180213.ebuild
new file mode 100644
index 000000000..50a1e4d2e
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20180213.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Branding"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.0.png"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster create-netbeans-import finish-build"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.nb -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans >/dev/null || die
+
+ insinto ${INSTALL_DIR}/nb
+
+ grep -E "/nb$" moduleCluster.properties > "${D}"/${INSTALL_DIR}/nb/moduleCluster.properties || die
+
+ insinto ${INSTALL_DIR}
+ doins -r nb
+ dodoc *.txt
+ dohtml *.html *.css
+
+ insinto ${INSTALL_DIR}/bin
+ doins bin/netbeans
+ dosym ${INSTALL_DIR}/bin/netbeans /usr/bin/netbeans-${SLOT}
+ fperms 755 ${INSTALL_DIR}/bin/netbeans
+
+ insinto /etc/netbeans-${SLOT}
+ doins etc/*
+ dosym /etc/netbeans-${SLOT} ${INSTALL_DIR}/etc
+
+ # fix paths per bug# 163483
+ if [[ -e "${D}"/${INSTALL_DIR}/bin/netbeans ]]; then
+ sed -i -e "s:\"\$progdir\"/../etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+ sed -i -e "s:\"\${userdir}\"/etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+ fi
+
+ dodir /usr/share/icons/hicolor/32x32/apps
+ dosym ${INSTALL_DIR}/nb/netbeans.png /usr/share/icons/hicolor/32x32/apps/netbeans-${SLOT}.png
+ dodir /usr/share/icons/hicolor/128x128/apps
+ cp "${DISTDIR}"/netbeans-7.0.png "${D}"/usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png || die
+ dosym /usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png /usr/share/pixmaps/netbeans-${SLOT}.png
+
+ popd >/dev/null || die
+
+ make_desktop_entry netbeans-${SLOT} "Netbeans ${PV}" netbeans-${SLOT} Development
+
+ mkdir -p "${D}"/${INSTALL_DIR}/nb/config || die
+ echo "NBGNT" > "${D}"/${INSTALL_DIR}/nb/config/productid || die
+}
diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
index ff902f678..43e569015 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-php-9999_p20180113.ebuild 4095 BLAKE2B d66b6f52927cd8aaefcc7419a12c05c4ad85bb68aa9fab6624a51806069853bceaff966f2e6c6d2b5f3fccaa70760ba6abb3c0cc52ceaeefa461e4e635d9c47c SHA512 24eff9ebd9c57c7fb849520c395a8000aa0eb559ba04fdce863f9df2b5def6ce7c483b4aa5aa8a75b9fd9a49b5a482f998a60a40c6fef396c3e181f6ba5e2303
EBUILD netbeans-php-9999_p20180115.ebuild 4095 BLAKE2B 0483015d4f97ad7ab45747d0bb4674fc6ab6d5cc0f3909f64163c35caefe035e7620e9d6549294b18f9fc10ac9d00f92044135c3397b2e2eee31e6046fb0516b SHA512 4e876272c7a4316fec3f9b76e9fe6a9476ed596bb1044b44c2e4f50d907b40c8012348a672265669e15bdf456c1de5881187cedff447eb1e136401d806362f2e
EBUILD netbeans-php-9999_p20180116.ebuild 4095 BLAKE2B f4222229d2012c9fcd31d95c56c4da2c470e524e1c72d50d2f105ccff89b622e9667ee640378a16b43b7fa28e7b435982c04d1306c53d658d10ac9bc53b66c5e SHA512 9dd1b4b13063e6744b8e03f95948aa40ac401a5dca0a4fcbcb5bae95fb07aecede645e28cb4ad78486db9bc5d13c2ce9b1d2118e5265a27cf75be43c0df9d06b
@@ -42,4 +43,5 @@ EBUILD netbeans-php-9999_p20180207.ebuild 4095 BLAKE2B b4c9e878ed19e0ca9ce4eb718
EBUILD netbeans-php-9999_p20180208.ebuild 4095 BLAKE2B 9f41c7bd9bdc3e4a9007e3cae2e0b61a83eb25aec54b21075de1011227226d88298cda92305ab255bcbf9b0eefd76ec3f2934115ed25572ec00eb95c6dfbb129 SHA512 3084ce1957ae66f9502320e6f8989bc45a876a876699cec06f8eeb124fc00199af01e1eddf3495c28f64e0894d9c86ebe858b21a99529938390e113e41e61560
EBUILD netbeans-php-9999_p20180209.ebuild 4095 BLAKE2B f237998847b0ea243186dbc72586a42381ad0048bebf876253bd7bbdb69ed06e45aaff29a380fe0e6c830f236759c95739da49ab1c461d27f3ea4c7721c511eb SHA512 4d6a0e9fa00376e326903d02028f86a098d72e059fb6fb6c01bef1c34cc9cbeeda851fc8c8c8da789803a3c3743a5efa4e28ea6ddf70099c8bff37b37382a620
EBUILD netbeans-php-9999_p20180212.ebuild 4095 BLAKE2B ded900b905b2124f733ed2acb4ae37164cee3e7342f5a511a65a730e1f7744bb651e9dcc9898951f711b9b2380615099130822fcdd4a2ffe9af5d0b8b28e24cb SHA512 28ab07116b7a9d7751c200f41cc892b75fa8dde8d5e91c016e87a5ef2cbacb5b9bcfbfa7d226483d42997fd65a9153c0587292f0dd5f62fd79c5c98ff1e85491
+EBUILD netbeans-php-9999_p20180213.ebuild 4095 BLAKE2B 3c46d3322d1a053c4d2b8d9df05b118cbe253c5e73b2e643e10d4ea78b01b69f3b5608a29204b47596b8f44cbf24a2b7a6ea6164baee48699f27b99b11d8ebd3 SHA512 3c7834644342fc650019eb0c58999bf5a6ba1968425f4ac6cf17801f7c4c3f44653b13515a955009048236060be52a20d58a73fc7aee8a4e62dfb5181d4747fc
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20180213.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20180213.ebuild
new file mode 100644
index 000000000..2043710be
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20180213.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans PHP Cluster"
+HOMEPAGE="https://netbeans.org/projects/php"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip
+ https://hg.netbeans.org/binaries/537814919B9074FE0FE2B73579B38F691ED23732-phpsigfiles.zip
+ https://hg.netbeans.org/binaries/3D6AF75EA20D715887DAF47A3F063864EF0814C1-predefined_vars.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-webcommon-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/javacup:0"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.php -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip php.phpdoc.documentation/external/phpdocdesc.zip || die
+ ln -s "${DISTDIR}"/537814919B9074FE0FE2B73579B38F691ED23732-phpsigfiles.zip php.project/external/phpsigfiles.zip || die
+ ln -s "${DISTDIR}"/3D6AF75EA20D715887DAF47A3F063864EF0814C1-predefined_vars.zip php.editor/external/predefined_vars.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into libs.javacup/external javacup javacup.jar java-cup-11a.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-webcommon-${SLOT} webcommon || die
+ cat /usr/share/netbeans-webcommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.webcommon.built
+
+ ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+ cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.websvccommon.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/php >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/php$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext
+ pushd "${instdir}" >/dev/null || die
+ rm java-cup-11a.jar && java-pkg_jar-from --into "${instdir}" javacup javacup.jar java-cup-11a.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/php
+}
diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest
index 872323107..da12d63d3 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-platform-9999_p20180113.ebuild 9238 BLAKE2B d1958aa137bbd746fcbf9e460df502e45561ac29d6e1b42b2b0b8523d40ac0993c311425e5e7c1efbc5dd15210424f4bf0270416364e2a2df8fdc724ce715dec SHA512 8b8d5da268c834474904d929b211adcf3d9a9694ca26f7eeb8dd160a79ea8160b7392a513141aa9e620d8b8bb11edc06e0a16a32a5b9b79572843cf3390ab885
EBUILD netbeans-platform-9999_p20180115.ebuild 9238 BLAKE2B 09b4ba301fccdcd7378e7ef56bf00615a4f9b4bed4c2cd4cdc537679e59ce7b7d64b530c590d8936580871aebe8e68859abfc06344e93977ae794b8153517209 SHA512 96ff3c20ec7bdce123742e7ff43e7d2b27f55511a3660e5865fbb0bd051ecc2dc3fbde847e56ade4bf0a738f818b84bf45cb647158871f0ea12e4273a4d6a252
EBUILD netbeans-platform-9999_p20180116.ebuild 9238 BLAKE2B fe2c06abfe355065a00f62c74d84e7d5914985caf48d472889ac94b6ced78f36278944ce12fc1fdd826c0ad11d14ee295be71808614234fb7d1f360b4a93c974 SHA512 b3d0f12bedfc7567d42c457e1da4f52f93e5e9166f1a6604cccfc8f04a03275e7cba11798df6d6f97a714d0718901f4cf386f4da23386294f427bef6a7e8f34b
@@ -54,4 +55,5 @@ EBUILD netbeans-platform-9999_p20180207.ebuild 9238 BLAKE2B e49fbfd9b005ad27625c
EBUILD netbeans-platform-9999_p20180208.ebuild 9238 BLAKE2B 20fca5100b14fd6b25c69ab0d5c21c19db26c03e4ab9abc6914bcc405555cbd26fc863e9aeae638f52a96deb9f3d4357f75dbe5376346684b2aab6353b8e3a4c SHA512 3eca22462003898e1d1c57db1d4f52a682fba9e75e228293c615106635d6ab48b7cdf0f4d9532fa3a77da79cbbd67f9c11ab0742acbe9ba06ac0e104974fe1b9
EBUILD netbeans-platform-9999_p20180209.ebuild 9238 BLAKE2B 1c310c85e98318680819b5a5d8b8ee337d8af4efa861b951fb86abe8447b010709ff8681c5abc1a3992e4c04a24332062e4e5634945cdfcd3c44a5d08dace4e8 SHA512 a1a2302582c45a40cf460d8d4c2b80b56c5d9f65b77d80eb9ef48d4069c883d33948b4d92d4e9d44edcf1475f5a0b8adacfdf1a9101ce5a825139a9e76a5ca0e
EBUILD netbeans-platform-9999_p20180212.ebuild 9238 BLAKE2B 2980ede3106de4d342ca3b8a75f12bbc5c993cf85f4c9dc21503c7661b07d31847b06b8c51508e2dde3bfc63d3290b2702fe149630578adec8128b2b59bd9f6c SHA512 3ecd3c0cafd1a8b4124167fc7edcc711ab936f0bf70a884deec7a4889512513b85d6469c4f79059506d5528f6f087501e216560554d9a30346157a628ed0075c
+EBUILD netbeans-platform-9999_p20180213.ebuild 9238 BLAKE2B 631795a3bc9654c63c4668891a6f6dabe0dca20566e5a60caff482b7eb9776483937f65ed06b09547205904a04ae81f1c807987def88ea5dce02272410ae01bf SHA512 73d69dff64684fea2cab90e5d886a5355b2cfb88ed5fd46978a5707da44bfb125bd8594f625a8716198b5306633a939819b9dfe88be7376ac2090d7147c4617e
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20180213.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20180213.ebuild
new file mode 100644
index 000000000..5c6289e2a
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20180213.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Platform"
+HOMEPAGE="https://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar
+ https://hg.netbeans.org/binaries/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar
+ https://hg.netbeans.org/binaries/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar
+ https://hg.netbeans.org/binaries/03800C0C31FD6828EA7D3F245B3A7C00E221AA22-ko4j-1.4.jar
+ https://hg.netbeans.org/binaries/F752490EC8F6CEC5B7E07947A1407CE8A8E63518-net.java.html-1.4.jar
+ https://hg.netbeans.org/binaries/DEABE58D6CDDD124BEA30E9B6E6BD48E90CD7AA1-net.java.html.boot-1.4.jar
+ https://hg.netbeans.org/binaries/A5ECB6F58BB276CF77FD0E18A07656508E7099B6-net.java.html.boot.fx-1.4.jar
+ https://hg.netbeans.org/binaries/5CC4FD2D576DEEC4F64E46BAA9097525BA4DF8D8-net.java.html.boot.script-1.4.jar
+ https://hg.netbeans.org/binaries/0C735D28C3C2F22A9EB86A1F682AAC38920A6356-net.java.html.geo-1.4.jar
+ https://hg.netbeans.org/binaries/CD15F35E44B6EC1CF8D7CC216870B70A71D88A1B-net.java.html.json-1.4.jar
+ https://hg.netbeans.org/binaries/D7902EF2C6C94BE1F8804B5DDF2084A07DE87EFE-net.java.html.sound-1.4.jar
+ https://hg.netbeans.org/binaries/E5DDC5E827D3D62E7BE9F7E32927CA01F2839971-org.eclipse.osgi_3.9.1.v20140110-1610.jar
+ https://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip
+ https://hg.netbeans.org/binaries/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip
+ https://hg.netbeans.org/binaries/BB25868BD6C724018FB0350688975EC3B53230EA-xhr4j-1.4.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# oracle-jdk-bin is needed for now because of javafx which is not packaged separately yet
+# [parseprojectxml] Distilling /var/tmp/portage/dev-java/netbeans-platform-9999_p20151108/work/nbbuild/build/public-package-jars/org-netbeans-libs-javafx.jar from [/var/tmp/portage/dev-java/netbeans-platform-9999_p20151108/work/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /usr/lib64/icedtea8/jre/lib/ext/jfxrt.jar]
+# [parseprojectxml] Classpath entry /usr/lib64/icedtea8/jre/lib/ext/jfxrt.jar does not exist; skipping
+# [nbmerge] Failed to build target: all-api.htmlui
+
+CDEPEND="dev-java/hamcrest-core:1.3
+ dev-java/javahelp:0
+ dev-java/jna:4
+ dev-java/junit:4[source]
+ >=dev-java/osgi-core-api-5:0
+ dev-java/osgi-compendium:0
+ dev-java/swing-layout:1[source]
+ dev-java/testng:0"
+DEPEND="${CDEPEND}
+ dev-java/oracle-jdk-bin:1.8[javafx]
+ app-arch/unzip"
+RDEPEND="${CDEPEND}
+ virtual/jdk:1.8"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.platform -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.8"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar libs.asm/external/asm-all-5.0.1.jar || die
+ ln -s "${DISTDIR}"/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar libs.felix/external/felix-4.2.1.jar || die
+ ln -s "${DISTDIR}"/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar junitlib/external/junit-4.12-javadoc.jar || die
+ ln -s "${DISTDIR}"/03800C0C31FD6828EA7D3F245B3A7C00E221AA22-ko4j-1.4.jar o.n.html.ko4j/external/ko4j-1.4.jar || die
+ ln -s "${DISTDIR}"/F752490EC8F6CEC5B7E07947A1407CE8A8E63518-net.java.html-1.4.jar net.java.html/external/net.java.html-1.4.jar || die
+ ln -s "${DISTDIR}"/DEABE58D6CDDD124BEA30E9B6E6BD48E90CD7AA1-net.java.html.boot-1.4.jar net.java.html.boot/external/net.java.html.boot-1.4.jar || die
+ ln -s "${DISTDIR}"/A5ECB6F58BB276CF77FD0E18A07656508E7099B6-net.java.html.boot.fx-1.4.jar net.java.html.boot.fx/external/net.java.html.boot.fx-1.4.jar || die
+ ln -s "${DISTDIR}"/5CC4FD2D576DEEC4F64E46BAA9097525BA4DF8D8-net.java.html.boot.script-1.4.jar net.java.html.boot.script/external/net.java.html.boot.script-1.4.jar || die
+ ln -s "${DISTDIR}"/0C735D28C3C2F22A9EB86A1F682AAC38920A6356-net.java.html.geo-1.4.jar net.java.html.geo/external/net.java.html.geo-1.4.jar || die
+ ln -s "${DISTDIR}"/CD15F35E44B6EC1CF8D7CC216870B70A71D88A1B-net.java.html.json-1.4.jar net.java.html.json/external/net.java.html.json-1.4.jar || die
+ ln -s "${DISTDIR}"/D7902EF2C6C94BE1F8804B5DDF2084A07DE87EFE-net.java.html.sound-1.4.jar net.java.html.sound/external/net.java.html.sound-1.4.jar || die
+ ln -s "${DISTDIR}"/E5DDC5E827D3D62E7BE9F7E32927CA01F2839971-org.eclipse.osgi_3.9.1.v20140110-1610.jar netbinox/external/org.eclipse.osgi_3.9.1.v20140110-1610.jar || die
+ ln -s "${DISTDIR}"/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip o.jdesktop.layout/external/swing-layout-1.0.4-doc.zip || die
+ ln -s "${DISTDIR}"/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip libs.testng/external/testng-6.8.1-javadoc.zip || die
+ ln -s "${DISTDIR}"/BB25868BD6C724018FB0350688975EC3B53230EA-xhr4j-1.4.jar o.n.html.xhr4j/external/xhr4j-1.4.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ # upstream jna jar contains bundled binary libraries so we disable that feature
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --into libs.junit4/external hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
+ java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into libs.jna/external jna-4 jna.jar jna-4.4.0.jar
+ java-pkg_jar-from --into libs.jna.platform/external jna-4 jna-platform.jar jna-platform-4.4.0.jar
+ java-pkg_jar-from --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+ ln -s /usr/share/junit-4/sources/junit-src.zip junitlib/external/junit-4.12-sources.jar || die
+ java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar
+ java-pkg_jar-from --into libs.osgi/external osgi-compendium osgi-compendium.jar osgi.cmpn-4.2.jar
+ java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+ ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die
+ java-pkg_jar-from --into libs.testng/external testng testng.jar testng-6.8.1-dist.jar
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_compile() {
+ unset DISPLAY
+ eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+ pushd nbbuild/netbeans/platform >/dev/null || die
+
+ java-pkg_dojar lib/*.jar
+ grep -E "/platform$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ insinto ${INSTALL_DIR}
+ doins -r *
+ rm "${D}"/${INSTALL_DIR}/docs/junit-4.12-sources.jar || die
+ dosym /usr/share/junit-4/sources/junit-src.zip ${INSTALL_DIR}/docs/junit-4.12-sources.jar
+ rm "${D}"/${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die
+ dosym /usr/share/swing-layout-1/sources/swing-layout-src.zip ${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip
+ find "${D}"/${INSTALL_DIR} -name "*.exe" -delete
+ find "${D}"/${INSTALL_DIR} -name "*.dll" -delete
+ rm -fr "${D}"/modules/lib || die
+
+ popd >/dev/null || die
+
+ fperms 775 ${INSTALL_DIR}/lib/nbexec
+ dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT}
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext
+ pushd "${instdir}" >/dev/null || die
+ rm hamcrest-core-1.3.jar && java-pkg_jar-from --into "${instdir}" hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
+ rm jhall-2.0_05.jar && java-pkg_jar-from --into "${instdir}" javahelp jhall.jar jhall-2.0_05.jar
+ rm jna-4.4.0.jar && java-pkg_jar-from --into "${instdir}" jna-4 jna.jar jna-4.4.0.jar
+ rm jna-platform-4.4.0.jar && java-pkg_jar-from --into "${instdir}" jna-4 jna-platform.jar jna-platform-4.4.0.jar
+ rm junit-4.12.jar && java-pkg_jar-from --into "${instdir}" junit-4 junit.jar junit-4.12.jar
+ rm osgi.cmpn-4.2.jar && java-pkg_jar-from --into "${instdir}" osgi-compendium osgi-compendium.jar osgi.cmpn-4.2.jar
+ rm osgi.core-5.0.0.jar && java-pkg_jar-from --into "${instdir}" osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar
+ rm swing-layout-1.0.4.jar && java-pkg_jar-from --into "${instdir}" swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+ rm testng-6.8.1-dist.jar && java-pkg_jar-from --into "${instdir}" testng testng.jar testng-6.8.1-dist.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}
diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index a22f88ecd..d6b13c7e2 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-profiler-9999_p20180113.ebuild 3146 BLAKE2B 2d73d7881113f97a922c63cd163a553db731d007e3b20c436a12ee5a0db52b5e4796abbff5e270ce3d009684869c27e8842a8f939e775d9a2e92f5ccceeb7e12 SHA512 fb9f608146d2ac3cf417c84fb8886595687ecafbe12e99c11d0059da042fd4c6cdd7d1604d933fa8d9f06ec6208bf13b7f7c4327bb25881222f076c1840a2570
EBUILD netbeans-profiler-9999_p20180115.ebuild 3146 BLAKE2B 558dede0949540862e31b826229fa4311f21134ceb964e28f97a1fef84fea96c0118cbd44525d1ccebdeedd5c51d1a2616d2de51a901a01d84988b06b242256d SHA512 85e51f43fecf803a4b7c170d696c322ba27e9b22f99c90403c33e77f074676b8dac73a7b96fb2d16b48164f8cd6d8c114cb15ef96953ef4873993ee7b10c3c18
EBUILD netbeans-profiler-9999_p20180116.ebuild 3146 BLAKE2B 4c4b37f49bdf97879e0a788aca46ca0b79933cee548f04d5c4cb36e653c519e558182da26526c272c3fac61f596507c16b3caa9723b391c42d72348936ea11e2 SHA512 6a80ee8590268270928bb5bafe2327bd523a5749db6de782fb80e20c2c3d76fe8b1bc80c2ef057278d9fd5bda873d96d63cef588d06bfcda6b5a4896307c075d
@@ -39,4 +40,5 @@ EBUILD netbeans-profiler-9999_p20180207.ebuild 3146 BLAKE2B c894297e3416d0f99819
EBUILD netbeans-profiler-9999_p20180208.ebuild 3146 BLAKE2B deb52bc9be168883222a3c079360d4e209f8395f87b7320a0459048bb6f072b504234c09da5ee9111c182d6fdcc96e9d3234650b80e40f7d3e5b9438b38b4033 SHA512 aad4b391f8fd4fbca090bf85a2b48221c505b313265b6366c79cb9afedaac17424b53a1da5c7d4829e0e9be54fa352b5e6cd2196f4c63c046efbfe89e990fd6c
EBUILD netbeans-profiler-9999_p20180209.ebuild 3146 BLAKE2B 89584263512d9ffa3d6a3df45e533dbc5469ffcdb5a981aca44d23adb911dde476b3e9062cc6c4560eb04e5bcbc993530eab55d7297627e8a8bad1e60cf038a0 SHA512 a29e52fe7da83b111209de698d02082c9c7db14401763cf59abf4824a18a26c2a16e4a07c1a3c3bf61a2c4677bc6cd111903f7cdc4c41c4146abfb0dae23fdca
EBUILD netbeans-profiler-9999_p20180212.ebuild 3146 BLAKE2B 74d1528957445f8764d8fa24ed7737b6c456c5cb3af532b7499d7f0ba1e2f2ee984c1887875b30ab67e237f240d87ebc91f1da3f4c5c580ff5a1d9ac3c6416ba SHA512 5022d497a5777df02728b21bb4934dccf9b3a58432f589163396bc946d862d587ace7aab874e3f33166ce8821f7d100bbf705f6f596991b469e1f5ca9bc7af38
+EBUILD netbeans-profiler-9999_p20180213.ebuild 3146 BLAKE2B 66239231131042478a67f8691b44ea7208154b22c63b6657bf5b8617dc836f8b0df4ba28bc05489fc2a9b959b4b045bb122d575dfcb6c6ec5970f1eb5fcb805b SHA512 2a829e3ca9ed8c1885e821280925a36dbca429580faf1dd983ae27ceb2fc610f04ec35525dab33567aece8fc691caf2016f45ef2a60725688854ccf811a84348
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180213.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180213.ebuild
new file mode 100644
index 000000000..5cf025189
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180213.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Profiler Cluster"
+HOMEPAGE="https://netbeans.org/projects/profiler"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# Binary files needed for remote profiling
+QA_PREBUILT="usr/share/netbeans-profiler-${SLOT}/lib/deployed/*"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.profiler -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/profiler >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/profiler$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ for file in lib/deployed/cvm/linux/*.so ; do
+ fperms 755 ${file}
+ done
+
+ for file in lib/deployed/jdk*/linux*/*.so ; do
+ fperms 755 ${file}
+ done
+
+ for file in remote-pack-defs/*.sh ; do
+ fperms 755 ${file}
+ done
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/profiler
+}
diff --git a/dev-java/netbeans-webcommon/Manifest b/dev-java/netbeans-webcommon/Manifest
index 2fbc78c4e..a871beddf 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -33,6 +33,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-webcommon-9999_p20180113.ebuild 5932 BLAKE2B b814da28cba0f59ef347a2770878b58930639af1429f440823935d6d0b92926adad645a3003f4483abc9409da3582591e63b976f40da3eb792878d8baa22e40b SHA512 f8477ace9cafa825e53384c9b63be2a0458d8f87c9799bc5e1e06af1e99abb9d5063972c8bd724265b610a45fb85aeffe7ffe830850ca2e768b4900810a748fa
EBUILD netbeans-webcommon-9999_p20180115.ebuild 5932 BLAKE2B f26e1f86518f08d196e7798525808c77fe428c25d762f52f4ce4ee92860193ae89817d9c1068f57c0f76ca1e81d2e616707857746ad2092a9b9a5e2373215753 SHA512 f7db658e7c957cf72d884a04211d2e5d24720179b33f5abea674d4e7d5c8d5ac58c9abc2839ade2efa63ad3c041690dd6fd44b3491d3040ff2fbdae96e230f84
EBUILD netbeans-webcommon-9999_p20180116.ebuild 5932 BLAKE2B 917ca09c2213310d47be447a220391191e023f221193b3e178d9aa5a110918729a13f28d58f7a98098ae9024542369b4cc17192172180de3f7974c6fdcaf2600 SHA512 e8cb4b8094fee60b0e6d50fdbadd28b06436befd860f1d6fce8d53c8fabda3a930c69b0bae35471820677ed9f89dba856e2602658c0f488a42062754244e022d
@@ -53,4 +54,5 @@ EBUILD netbeans-webcommon-9999_p20180207.ebuild 5932 BLAKE2B 83592539afabb2c9c17
EBUILD netbeans-webcommon-9999_p20180208.ebuild 5932 BLAKE2B 9740e47d14c1d4e2d58a25f4b9f8da61f7fce2b16702f607d8bc195c0100c0c587473897c32546df8de70bfb4d60ecbed645b18bfd1bc6e2162b6b6038ffb59d SHA512 5433337e49dd931e95cac52509298cb15df24b7bd351b4fb4c04891242e0e1fba0cf6f90bfaa9259ac963a0f69c99aa1321e499bd7910fe102f8a0c57735c04d
EBUILD netbeans-webcommon-9999_p20180209.ebuild 5932 BLAKE2B 81f3b51d8c6e7358eccf9de3f09453d03b0ceb89b21353b99cae64db9966e19c720e6476cd79b9e1029f5d6dafc621e44627784c848776138cd1c5b22997a817 SHA512 9dd775bb47b93d262ccd276db24a768239cd1d0f6e6c15bdc3679a8bd7a69852b659e17ab2b84ef6b7bce6f105c1c0906cedd91f863c1867dae0972859390ff1
EBUILD netbeans-webcommon-9999_p20180212.ebuild 5932 BLAKE2B 29e39f2d3fdd754517f8bcca681ecc003f0ac250523cb1f96006da09d810df85bf1f0f337a9b2c4b8de1d72e621f5557adcdf9651ca5dc00087bc4a2bfc365c2 SHA512 9572fbfe69dbe0a5f7f036fdfa04d3d2bb32d10eec8a9bc2bc9f4faeaa35917bbdf74f2d3ecd07d4bb020ce529f616771a7efcfa811a75c4d963134adc38dd20
+EBUILD netbeans-webcommon-9999_p20180213.ebuild 5932 BLAKE2B 52fef751c15837625d0671fb634284c588baec56c0d049401c1122d17fb24a03ab0b39fd1996d0dde077c610d1648668d343186ce41c41c005d9a0bdacf1a4fd SHA512 d7f0aee9fab9e4104fbad0b27eef7914382b3bf71c0758f7451e3b9a480dd3db0c2571e5c6a3bac3fef9ae64b3a620dcf95377cb2dd97cd2808840f31aa098f4
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180213.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180213.ebuild
new file mode 100644
index 000000000..a86f3e421
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180213.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Web Services Cluster"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/7CA13589F586F659BB0E1561719A91CA47BF1897-com.oracle.js.parser.jar
+ https://hg.netbeans.org/binaries/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar
+ https://hg.netbeans.org/binaries/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim
+ https://hg.netbeans.org/binaries/C8EEAB10E4539BEAF97476EBA252BD4B40377FA9-js-corestubs.zip
+ https://hg.netbeans.org/binaries/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip
+ https://hg.netbeans.org/binaries/7C0C3CFD989EE775198337C11715C1ACD6C84F41-js-reststubs.zip
+ https://hg.netbeans.org/binaries/0929AC5F40B5A8667021408748D64F30F77B3165-libiDeviceNativeBinding.dylib
+ https://hg.netbeans.org/binaries/2A38DA3DB5D36DBBDC0B03990B46810F72430D5E-libimobiledevice.4.dylib
+ https://hg.netbeans.org/binaries/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib
+ https://hg.netbeans.org/binaries/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar
+ https://hg.netbeans.org/binaries/C1BB9FF4232248B0054E5A26A33474A251EA19CB-libusbmuxd.2.dylib
+ https://hg.netbeans.org/binaries/D4BD3F62EADB61216A47EF96B3152EDD35A56005-ojetdocs-1_0_0.zip
+ https://hg.netbeans.org/binaries/1EFED55F8C442E4DB1C2338A5C35D494364F9ECD-ojetdocs-1_1_2.zip
+ https://hg.netbeans.org/binaries/CA8F6968FED0BE20E786C70CF9B603F4D7B66C68-ojetdocs-2_0_0.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-ide-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0
+ dev-java/jna:4"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.webcommon -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/7CA13589F586F659BB0E1561719A91CA47BF1897-com.oracle.js.parser.jar libs.nashorn/external/com.oracle.js.parser.jar || die
+ ln -s "${DISTDIR}"/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar libs.plist/external/dd-plist.jar || die
+ ln -s "${DISTDIR}"/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim cordova.platforms.ios/external/ios-sim || die
+ ln -s "${DISTDIR}"/C8EEAB10E4539BEAF97476EBA252BD4B40377FA9-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
+ ln -s "${DISTDIR}"/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
+ ln -s "${DISTDIR}"/7C0C3CFD989EE775198337C11715C1ACD6C84F41-js-reststubs.zip javascript2.editor/external/js-reststubs.zip || die
+ ln -s "${DISTDIR}"/0929AC5F40B5A8667021408748D64F30F77B3165-libiDeviceNativeBinding.dylib cordova.platforms.ios/external/libiDeviceNativeBinding.dylib || die
+ ln -s "${DISTDIR}"/2A38DA3DB5D36DBBDC0B03990B46810F72430D5E-libimobiledevice.4.dylib cordova.platforms.ios/external/libimobiledevice.4.dylib || die
+ ln -s "${DISTDIR}"/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib cordova.platforms.ios/external/libplist.1.dylib || die
+ ln -s "${DISTDIR}"/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar libs.jstestdriver/external/libs.jstestdriver-ext.jar || die
+ ln -s "${DISTDIR}"/C1BB9FF4232248B0054E5A26A33474A251EA19CB-libusbmuxd.2.dylib cordova.platforms.ios/external/libusbmuxd.2.dylib || die
+ ln -s "${DISTDIR}"/D4BD3F62EADB61216A47EF96B3152EDD35A56005-ojetdocs-1_0_0.zip html.ojet/external/ojetdocs-1_0_0.zip || die
+ ln -s "${DISTDIR}"/1EFED55F8C442E4DB1C2338A5C35D494364F9ECD-ojetdocs-1_1_2.zip html.ojet/external/ojetdocs-1_1_2.zip || die
+ ln -s "${DISTDIR}"/CA8F6968FED0BE20E786C70CF9B603F4D7B66C68-ojetdocs-2_0_0.zip html.ojet/external/ojetdocs-2_0_0.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --build-only --into libs.jna/external jna-4 jna.jar jna-4.4.0.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/webcommon >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+ grep -E "/webcommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/webcommon
+}
diff --git a/dev-java/netbeans-websvccommon/Manifest b/dev-java/netbeans-websvccommon/Manifest
index 25dd49523..a360640cb 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-websvccommon-9999_p20180113.ebuild 2395 BLAKE2B a3f117eb07dd2ad87edae7db6c061de415825c667c08c63d85b8c8961712746a81785baacfa57ee301bc494fb2af3cbb41e608ae07a3da15c5f790913df72c07 SHA512 0f4bcdfda1c206a8d4712ebfee513d91e97004f34dc8d4cc26212af6414facb3b270c7e7ee368392f033d7a2e003645171ab743548f6f035520b91a919d95552
EBUILD netbeans-websvccommon-9999_p20180115.ebuild 2395 BLAKE2B b4e58e2d6985ae3d1c4f99d2a6d68165ec13497c219e0157d046663488431dd0c659090079fb55488bffcfb0bafd19e639ca91e727aaf0c901522d925be7e2e2 SHA512 dc79b0827d9045011642483d23ebf664523141839d33058833fa047f3e0c46705231a15d71612ee93febc5d9142d23e8672f2386ea3fb06b9ab72661bf712c19
EBUILD netbeans-websvccommon-9999_p20180116.ebuild 2395 BLAKE2B 57ca962e6b9668c93c571134267143c47a771bf097b7912a1baaf54aaefc6aa0a6b6e16b5e0404295f414bd16aab6ceae57a1eca32a7ca3a422a0782b06eb3b8 SHA512 8fb4c1cba57dccc7ebe16cae400806b001c34d37e7bc6a83d0b43b6c4394e359cdb70d11d07c25664744dc2cdf0a3dce8da4e95ec0d4a2011912d7a73bd6e99e
@@ -39,4 +40,5 @@ EBUILD netbeans-websvccommon-9999_p20180207.ebuild 2395 BLAKE2B d7d229b09dcb0e10
EBUILD netbeans-websvccommon-9999_p20180208.ebuild 2395 BLAKE2B b940619758f7b53b79318d202c729b7f33bb3d88510584915061b6a1ecf77e2c7bbde4ccf3b89d7cf712d3c14242df9a1a4407c5c9155054760dc9ec4ebecbb6 SHA512 91ce18afe4d09af1459a6eb97467d09073d19c2a7106081426f88075580c4f891d6e0fa39e8dd0f061fa8e4005161b3b98f27710e8c886b35f8e662efed2e442
EBUILD netbeans-websvccommon-9999_p20180209.ebuild 2395 BLAKE2B 7d06c0bc92956d7d78e72dad8649d375c51f3ffe10d8d4000910e8811fae76fc7c2d54396c6bd2c41a5a3fcd1687918c93cfbd62b47f27957508c269bcb2e7f2 SHA512 696c11b9f2c9510c5c13046a11145765bffc895e7f40b8cd82465a84346eaf7a82d1ed05eee9b6d736d59c70b460d44a352eb39f8e451411fc0eb650c8ed9ee2
EBUILD netbeans-websvccommon-9999_p20180212.ebuild 2395 BLAKE2B 9b2d937237a6ff076880c30cad319346213b922ab665c295db75ed840dd1d796808597bb43b8ecf6b03264092a1f465f964e0a01bc33781c8b4668a78cd70ca2 SHA512 8043de5fa02089ec305adc052e752e539b67f085e5362c23cfc2bc0fd1bbe015ca3d8b299ca8f8cf50c030d6c997a56b6943d59d0254cc9caebd69d9b72573bf
+EBUILD netbeans-websvccommon-9999_p20180213.ebuild 2395 BLAKE2B ae5b3c0f54062d1a6a443cc709b0ff5c994e200ba08429583e8b82c5f84c9f32d0d712539cead0be0235d9eea48e621d56f02ff7d9dfd7e7a2681b471ae29705 SHA512 2df0f9388db2a6d1a373210be8c8697a3617bfc1a59eafbf91111b7b709f4ce3793a6c2dfeea7947b93301c0747d8d75099700376928b7a1e67acad1a4c68bb5
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180213.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180213.ebuild
new file mode 100644
index 000000000..054ce0a49
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180213.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Web Services Common Cluster"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-ide-${PV}"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.websvccommon -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/websvccommon >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+ grep -E "/websvccommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/websvccommon
+}
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index a3b7ba609..101de292d 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2
+DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b
EBUILD netbeans-9999_p20180113.ebuild 6186 BLAKE2B f15cfe1fcc0fe0d9bf9548f662129f3250391f3a65787e3e56b7a18e11f9bbcc21aac76b67d97ef9a9c308e706e481ac805bcd60390d4456d3dd5280c321d21f SHA512 a8bc491eca0985dc478611bcb7951acaaf6342d83764facc83c2c36d9a5795f40ba2950ad83688aeb80e77194377d3ad216a234a934413a3cfbb1b500b05878a
EBUILD netbeans-9999_p20180115.ebuild 6186 BLAKE2B e7079a710c9006b9c4d0d1e7ee8fc3b4a24b74f86791965fc7feb1689a7817f4f8e2e3d22f34253c26e3c8d62fc5fe7008b43fe64b69e6649334cb3fda23f9b1 SHA512 6c5825bc6c10306c8d2e498a115d7472a94da1a0cdb2af8c26246a0609df8d9d935bd9efccfc7e22a462584d06c6c52970d3af0bb54ae355a32bb2f02ca9778b
EBUILD netbeans-9999_p20180116.ebuild 6186 BLAKE2B 6ac44255d8dee9c9557212990468d725d48d7577cf46490eced11f69ed1c62a121d076480084fdb15461a5bbe4d0449d2709929c23841d56916a66b624b1b25f SHA512 a6e77d32a1f96938970a9c23791e0734a760bdb2561610b122bc806ae18e8998a513a31d18ab36af28799375216714f431098b9c4cbe514ef055e930c7d4e34b
@@ -40,4 +41,5 @@ EBUILD netbeans-9999_p20180207.ebuild 6186 BLAKE2B 105f103ac318b5b1bccd8e6299f21
EBUILD netbeans-9999_p20180208.ebuild 6186 BLAKE2B 93380101b6f6e6345d30497c7f3e0e2911c8bfe845d1ac3d33993245b69f25451497d80bf8263c75289aa1ae9bdc56aed06780516c20b584389c32763bbc6d3a SHA512 202e771c476ea84ad79d6c04f808c1ca1802fd66a63bf9710e091e4ac20089a95c7de89c7ff13d60e68a20d9d173a43aee0f9a22fe59ed8ab4112e6b9c1da92b
EBUILD netbeans-9999_p20180209.ebuild 6186 BLAKE2B 9efb3ca0fdfcebbada918b33d3ad0ddd292bd9552ce0afb49421126d276a93d1e2bede2b0de5f760f440ebfa91a91ac689f2c794248722b77750a90545f40c4c SHA512 208b114b64f0949d7124ac6b484c66ec6a4b33e04ad44dd83e3482b6b65b8b69b1e33c2ada0efaf59a0dbc983ee5320128f52a506183aa001b953dcb7bd783e0
EBUILD netbeans-9999_p20180212.ebuild 6186 BLAKE2B df1dd3231555a360836376f1b12d3a4cb9b89cdd57b2cdcf834dea6a0b71329adb77181ff6d6e37a4c25812fbbf50b970844a68471dae8e8fd5a252c9980ad70 SHA512 93431e64a4b8fbf54e7b23b34700e17925ef004dc10053cf0fc3e9f856615d8253c4d1e459fac79d8e998b5a9ee797a2f36b492b8f0f49f6da80243e89ce07bf
+EBUILD netbeans-9999_p20180213.ebuild 6186 BLAKE2B dd664b2e7bc89c4d56c611ca504e7f00305ce1db3cf845d39a23930604719ae2dd13ad2e0c472d9c10ce59cc1a3ad9bfe708dd5c10d7185c11796bc664079fbd SHA512 d87790b7401658c06f45dfe747442691ddeae4aa5f7beebd0a3a9b2d6563981f83b7b5895b0bd9c947b8825f580944e9dbefd3535b706a187b3ca683a3bd3bc8
MISC metadata.xml 329 BLAKE2B 88f7b4966ca5fc8e18720ef5488809039344b15344c78cc4f016ab3fa95f76283805ef5d1c85b5c0b419462a0611ed6ceeecb0eee65b5b1b068a605c89efdf6b SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640
diff --git a/dev-util/netbeans/netbeans-9999_p20180213.ebuild b/dev-util/netbeans/netbeans-9999_p20180213.ebuild
new file mode 100644
index 000000000..d5756ecb7
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20180213.ebuild
@@ -0,0 +1,235 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip"
+PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2"
+L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2"
+ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
+SRC_URI="l10n_af? ( ${ALL_URLS} )
+ l10n_ar? ( ${ALL_URLS} )
+ l10n_bg? ( ${ALL_URLS} )
+ l10n_ca? ( ${ALL_URLS} )
+ l10n_cs? ( ${ALL_URLS} )
+ l10n_de? ( ${ALL_URLS} )
+ l10n_el? ( ${ALL_URLS} )
+ l10n_es? ( ${ALL_URLS} )
+ l10n_fil? ( ${ALL_URLS} )
+ l10n_fr? ( ${ALL_URLS} )
+ l10n_gl? ( ${ALL_URLS} )
+ l10n_hi? ( ${ALL_URLS} )
+ l10n_id? ( ${ALL_URLS} )
+ l10n_it? ( ${ALL_URLS} )
+ l10n_ja? ( ${ALL_URLS} )
+ l10n_ko? ( ${ALL_URLS} )
+ l10n_lt? ( ${ALL_URLS} )
+ l10n_nl? ( ${ALL_URLS} )
+ l10n_pl? ( ${ALL_URLS} )
+ l10n_pt-BR? ( ${ALL_URLS} )
+ l10n_pt-PT? ( ${ALL_URLS} )
+ l10n_ro? ( ${ALL_URLS} )
+ l10n_ru? ( ${ALL_URLS} )
+ l10n_si? ( ${ALL_URLS} )
+ l10n_sq? ( ${ALL_URLS} )
+ l10n_sr? ( ${ALL_URLS} )
+ l10n_sv? ( ${ALL_URLS} )
+ l10n_ta? ( ${ALL_URLS} )
+ l10n_tr? ( ${ALL_URLS} )
+ l10n_vi? ( ${ALL_URLS} )
+ l10n_zh-CN? ( ${ALL_URLS} )
+ l10n_zh-TW? ( ${ALL_URLS} )
+"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE_NETBEANS_MODULES="
+ +netbeans_modules_apisupport
+ netbeans_modules_cnd
+ netbeans_modules_dlight
+ netbeans_modules_enterprise
+ netbeans_modules_ergonomics
+ netbeans_modules_extide
+ netbeans_modules_groovy
+ +netbeans_modules_java
+ netbeans_modules_javacard
+ +netbeans_modules_javafx
+ netbeans_modules_mobility
+ netbeans_modules_php
+ +netbeans_modules_profiler
+ netbeans_modules_webcommon
+ +netbeans_modules_websvccommon"
+IUSE_L10N="
+ l10n_af
+ l10n_ar
+ l10n_bg
+ l10n_ca
+ l10n_cs
+ l10n_de
+ l10n_el
+ l10n_es
+ l10n_fil
+ l10n_fr
+ l10n_gl
+ l10n_hi
+ l10n_id
+ l10n_it
+ l10n_ja
+ l10n_ko
+ l10n_lt
+ l10n_nl
+ l10n_pl
+ l10n_pt-BR
+ l10n_pt-PT
+ l10n_ro
+ l10n_ru
+ l10n_si
+ l10n_sq
+ l10n_sr
+ l10n_sv
+ l10n_ta
+ l10n_tr
+ l10n_vi
+ l10n_zh-CN
+ l10n_zh-TW"
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}"
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8"
+DEPEND="${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND="${CDEPEND}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-nb-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} )
+ netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} )
+ netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} )
+ netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} )
+ netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} )
+ netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} )
+ netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} )
+ netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} )
+ netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} )
+ netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} )
+ netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} )
+ netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} )
+ netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} )
+ netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} )
+ netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} )
+ doc? ( ~dev-java/netbeans-javadoc-${PV} )"
+
+JAVA_PKG_BSFIX="off"
+NBLOCALES=""
+
+pkg_setup() {
+ for lingua in ${IUSE_L10N} ; do
+ if use ${lingua} ; then
+ local lang=${lingua/l10n_/}
+ lang=${lang/-/_}
+
+ case ${lang} in
+ ar) lang="ar_EG,ar_SA" ;;
+ es) lang="es,es_CO" ;;
+ fil) lang="fil_PH" ;;
+ gl) lang="gl_ES" ;;
+ hi) lang="hi_IN" ;;
+ id) lang="in_ID" ;;
+ nl) lang="nl_BE,nl_NL" ;;
+ ta) lang="ta_IN" ;;
+ esac
+
+ if [ -z "${NBLOCALES}" ] ; then
+ NBLOCALES="${lang}"
+ else
+ NBLOCALES="${NBLOCALES},${lang}"
+ fi
+ fi
+ done
+
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ if [ -n "${NBLOCALES}" ] ; then
+ unpack $(basename ${SOURCE_URL})
+ unpack $(basename ${L10N_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+ fi
+}
+
+src_prepare() {
+ if [ -n "${NBLOCALES}" ] ; then
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ fi
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_compile() {
+ if [ -n "${NBLOCALES}" ] ; then
+ einfo "Compiling support for locales: ${NBLOCALES}"
+ eant -f nbbuild/build.xml bootstrap || die
+ eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \
+ -Dpermit.jdk7.builds=true -f l10n/build.xml build || die
+ fi
+}
+
+src_install() {
+ if [ -n "${NBLOCALES}" ] ; then
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do
+ if [ -d "${cluster}" ] ; then
+ insinto /usr/share/netbeans-${cluster}-${SLOT}
+ doins -r ${cluster}/*
+ fi
+ done
+
+ if [ -d nb ] ; then
+ insinto /usr/share/netbeans-nb-${SLOT}/nb
+ doins -r nb/*
+ fi
+
+ popd >/dev/null || die
+
+ make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development
+
+ for lingua in ${IUSE_L10N}; do
+ if use ${lingua} ; then
+ local locales=${lingua/l10n_/}
+ locales=${locales/-/:}
+
+ case ${locales} in
+ ar) lang="ar:EG ar:SA" ;;
+ es) lang="es es:CO" ;;
+ fil) lang="fil:PH" ;;
+ gl) lang="gl:ES" ;;
+ hi) lang="hi:IN" ;;
+ id) lang="in:ID" ;;
+ nl) lang="nl:BE nl:NL" ;;
+ ta) lang="ta:IN" ;;
+ esac
+
+ for locale in ${locales}; do
+ make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development
+ done
+ fi
+ done
+ fi
+}