summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-02-26 11:17:43 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-02-26 11:17:43 +0100
commit1ebf5b9d5ef9bc5fed62d11c2f118fb9b2950c9d (patch)
treeb292ad5e9edc71918d232a2409ee581e87b9056a
parentnetbeans: removed obsolete ebuilds (diff)
downloadfordfrog-1ebf5b9d5ef9bc5fed62d11c2f118fb9b2950c9d.tar.gz
fordfrog-1ebf5b9d5ef9bc5fed62d11c2f118fb9b2950c9d.tar.bz2
fordfrog-1ebf5b9d5ef9bc5fed62d11c2f118fb9b2950c9d.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_p20180226.ebuild97
-rw-r--r--dev-java/netbeans-cnd/Manifest2
-rw-r--r--dev-java/netbeans-cnd/netbeans-cnd-9999_p20180226.ebuild115
-rw-r--r--dev-java/netbeans-dlight/Manifest2
-rw-r--r--dev-java/netbeans-dlight/netbeans-dlight-9999_p20180226.ebuild87
-rw-r--r--dev-java/netbeans-enterprise/Manifest2
-rw-r--r--dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180226.ebuild252
-rw-r--r--dev-java/netbeans-ergonomics/Manifest2
-rw-r--r--dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180226.ebuild87
-rw-r--r--dev-java/netbeans-extide/Manifest2
-rw-r--r--dev-java/netbeans-extide/netbeans-extide-9999_p20180226.ebuild94
-rw-r--r--dev-java/netbeans-groovy/Manifest2
-rw-r--r--dev-java/netbeans-groovy/netbeans-groovy-9999_p20180226.ebuild97
-rw-r--r--dev-java/netbeans-harness/Manifest2
-rw-r--r--dev-java/netbeans-harness/netbeans-harness-9999_p20180226.ebuild100
-rw-r--r--dev-java/netbeans-ide/Manifest2
-rw-r--r--dev-java/netbeans-ide/netbeans-ide-9999_p20180226.ebuild359
-rw-r--r--dev-java/netbeans-java/Manifest2
-rw-r--r--dev-java/netbeans-java/netbeans-java-9999_p20180226.ebuild268
-rw-r--r--dev-java/netbeans-javacard/Manifest2
-rw-r--r--dev-java/netbeans-javacard/netbeans-javacard-9999_p20180226.ebuild120
-rw-r--r--dev-java/netbeans-javadoc/Manifest2
-rw-r--r--dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180226.ebuild155
-rw-r--r--dev-java/netbeans-javafx/Manifest2
-rw-r--r--dev-java/netbeans-javafx/netbeans-javafx-9999_p20180226.ebuild110
-rw-r--r--dev-java/netbeans-mobility/Manifest2
-rw-r--r--dev-java/netbeans-mobility/netbeans-mobility-9999_p20180226.ebuild112
-rw-r--r--dev-java/netbeans-nb/Manifest2
-rw-r--r--dev-java/netbeans-nb/netbeans-nb-9999_p20180226.ebuild114
-rw-r--r--dev-java/netbeans-php/Manifest2
-rw-r--r--dev-java/netbeans-php/netbeans-php-9999_p20180226.ebuild113
-rw-r--r--dev-java/netbeans-platform/Manifest2
-rw-r--r--dev-java/netbeans-platform/netbeans-platform-9999_p20180226.ebuild154
-rw-r--r--dev-java/netbeans-profiler/Manifest2
-rw-r--r--dev-java/netbeans-profiler/netbeans-profiler-9999_p20180226.ebuild107
-rw-r--r--dev-java/netbeans-webcommon/Manifest2
-rw-r--r--dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180226.ebuild118
-rw-r--r--dev-java/netbeans-websvccommon/Manifest2
-rw-r--r--dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180226.ebuild80
-rw-r--r--dev-util/netbeans/Manifest2
-rw-r--r--dev-util/netbeans/netbeans-9999_p20180226.ebuild235
42 files changed, 3016 insertions, 0 deletions
diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index 23b9a508e..60d31c64e 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-apisupport-9999_p20180126.ebuild 3058 BLAKE2B 55347ff2a48bbd6a46cde7b9a816616bcbfede90589751bfda28f3c5cdc457c1bc4d4b28a23157c405c985ccb28380f187c21629f123a0eff351d391d58596b1 SHA512 fe4a2f567ce7e775e59d0089cd7b71a23f5417906b6b9f1d36b1b83111f239cbbd99fb730ae39cabaece448f1ff20fc495e26abf165e9039c688a08c331aa288
EBUILD netbeans-apisupport-9999_p20180129.ebuild 3058 BLAKE2B 75ce5b9fabc283090f25af7df1a3c0bdd1d59fa65ac5ce8991a17ce88db87956eefb04a9e8484d5fc935a8359419b88466d4b0143e8068e7a9825ac21c2330b3 SHA512 3b871409844f129d7295e369e78dad1893d91f7954c2c492ab0e5a0fcbbd627f898af49fc10e3e121b6e1faeb93a95848f0f31d9f1a3d4646601a11910b15d95
EBUILD netbeans-apisupport-9999_p20180130.ebuild 3058 BLAKE2B a7b41f25f97ee364c671e7216bdf49c516a1aec85fa7d75d0c741f0f4edc27ba44b1570905cb9429309d44f8980d3cc7679c5b906477a3d8ba3bf79850c06847 SHA512 b91333139b819f1dbfeb4f4d0d41470b04fb4fec15cc7b755d096a4a69983818b7107cd6062cd2e825cc19e3316e1b6e3e54854e5400d6e973a94ffab0d73506
@@ -39,4 +40,5 @@ EBUILD netbeans-apisupport-9999_p20180220.ebuild 3058 BLAKE2B f5e254556bdc828371
EBUILD netbeans-apisupport-9999_p20180221.ebuild 3058 BLAKE2B 01c1d3a6b9807f7f5f27bba89892c412d509dec02ad40936e9c4ea8a2d90edeb564728aecc77da2c61ccf5075368b5d46553d2f3fafef550479abef1357bb430 SHA512 e4f93b708fc7c38a8e2dd35b2225186fbc4e41f50064259fae2b3c5acdbf2282ef855886e5cafe6e9801be4648c389495c9f7f51e5dede57c1de6a88bbfc6cf0
EBUILD netbeans-apisupport-9999_p20180222.ebuild 3058 BLAKE2B eb7cded98c059e3751dbcf18317decc0e32eb4f54a6c637e48d16d960affc0ead5e4f3b27c15b06ee094a64524067706628720de4cb5d30623f681d5874d9130 SHA512 d8e9474d801ffaa95f522a269f2af1234674529a08c086787ed2edf0b86f25ab9a155e189424706e5d5821f7edb5956b9912008d195ea22bca1a6c7854680ff0
EBUILD netbeans-apisupport-9999_p20180223.ebuild 3058 BLAKE2B 5a4e978357060af8060175292343fbc706fdf47a4e5478ada2dd084a8be37b21ce6cf41116db29c204dd8eb133363bcd35ac0a007ad0f1742f826b0c7e319d8d SHA512 cfbe22b88cf35552ce86543979e4a4c0b6cfe01a4c07f8403ac1d4017eef445154e78cc7f7d41aa65d02233deeff6c2c266a7a52035c0cc11d495ceef487577a
+EBUILD netbeans-apisupport-9999_p20180226.ebuild 3058 BLAKE2B 61ee13f307d504f747abc2d6e48581c0fd5927d24988ec0b904c7b7395d05fbebaa7ec4fab9ae13ef3097d288f6429539c2fd811d07e5a4033fe6973afd700b7 SHA512 f44e14815aae1c0990ee0bc296ed89d4cd61e03c2977c779b645d571c5f722ee077860081445a45e29666a166e47a84fccb2530ed6021117e3d60191812cca90
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180226.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180226.ebuild
new file mode 100644
index 000000000..33b4efe40
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 0b3290b72..40a6b180a 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-cnd-9999_p20180126.ebuild 4686 BLAKE2B 1573d795486952180d3bf92c819cd1038df137aaf01095387c712c47bce20f04bc75213a34d16a81147d628b53a8d9069d6852eda3c5dedcdc9b400508b29bb1 SHA512 fc46c53fa3f5185073d39b732a9e3be722b1b6aee61584bba6979eb30de00fc947989c14bce9eaedd0dbf3b10d9ae4edab1272860845ce9085ed326de36a14fa
EBUILD netbeans-cnd-9999_p20180129.ebuild 4686 BLAKE2B 52d71cc5a4dedbba02df42791b3cece5571b866c52438e5b48bdc73cd782a87a62f8dc8afa6b952a8d0035d0267544e4fb21f669e3d113bfa1d120d7c2cff1cf SHA512 39b149d767490641e05d13dd1739ad8bede872f86bf6f0e3f2fbd9f6cd5a43830088e4b072bc5c21289d86cae9ae4be2f69d5b33db6cabe9465b57439ab34e63
EBUILD netbeans-cnd-9999_p20180130.ebuild 4686 BLAKE2B cfbee1cfd6ae572161bd258817021691d7535c0c7eed6f1542e5d5eafbd7fc4b080833dc1f41cbc2915bbce98ea06cd1a7fbaa5a935a0932094cbb2d18d9f2c4 SHA512 b9e8bd59f6e5f2997c89248c893c813902046792406f2dc427ffca0ff058f8b7a01d3bc02b3929aca03e85c3b1e61d8826209399e48268692477c096417565a0
@@ -46,4 +47,5 @@ EBUILD netbeans-cnd-9999_p20180220.ebuild 4686 BLAKE2B bb509617cb1a50e1957a71fb0
EBUILD netbeans-cnd-9999_p20180221.ebuild 4686 BLAKE2B 91b9c6c905f87e4bc261c6f507ffed7efb8c0954122a91d4780e4c021578c9a1d659499ad860e1c698c06180a9fff54e13ae55cf55335dbdfcad5ade76df539c SHA512 ec25d8d912ed9d0a401fcacb9f1bd30561b7eee3da998a0c081f160c3c183aae44f10bd08386255a9df8441aec7b2f2a72056ccc098bc4414347c161e9fe277a
EBUILD netbeans-cnd-9999_p20180222.ebuild 4686 BLAKE2B 1e2dee0f54ce0a2860085b754cb74aa89639ca5ba05804ad407a73fa68c7361c62f4e2f4b588b5c5ae13878113c32ff00a23061cb03906824e1e01d4ab9c26bf SHA512 977e05fe8a5effbbed80bef9304c27227d0530b4dd87a58662dd6c5df86432d7f89f02e41ff5e7ab4b606d4f84b075defbed7946cfa869307c0321bf1dca885a
EBUILD netbeans-cnd-9999_p20180223.ebuild 4686 BLAKE2B a2ce0b05dee94fd7df87ef117f4537ce0508cc716c2665b4826529019f0dd2aafdaca0322934705f753e45f91d973f62ffee6c4ff7d341471dc147b5d06332fb SHA512 be50d4ca3e66064308ded0f16514ae9c4f607c93cec3d330937eb76dab47c2e0cb798af329f90dc48ef75efb79bd69d54afa64a5263552c030fbf2285c289adf
+EBUILD netbeans-cnd-9999_p20180226.ebuild 4686 BLAKE2B 5ac6cac5c004c34d9f8888586b5f727b5f0ba2a9bd2bb2c28a509281d41a04cf63e94b4687a46344618309d428e9c4c48439e6356c5c8b961dc1a6fda14e8fb2 SHA512 51cc83b18a4ee499f86dc8adeb8d2a4ce2200c39f04b0d9e706ec0432a79c9303e8ae2e5b7241279620230bcc0fa6f90086d0f53f3a258fbc161546755942c75
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180226.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180226.ebuild
new file mode 100644
index 000000000..74a5215e3
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 d3799ccab..4d4a48043 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-dlight-9999_p20180126.ebuild 2643 BLAKE2B 01f7700534e01b62d6a954413844ebd02c98b6a136078780c19dd1156a911aa9e4c163c15033542ae809bec9f56868ca4f2df08b142b112b9fd5b342ca7e39df SHA512 73f3c4d5339a5190cbe86d8e600e3801c70082c5f7ce49fefb195c95abd0756950e1d0b18330f40efe8b8b797cda3bddb2e515b21ba5bd82f9114b54f0cbcb9d
EBUILD netbeans-dlight-9999_p20180129.ebuild 2643 BLAKE2B 4ad6f8f936343110fd87ee87d8d7aeab3b7dc997b2115620ca085007084eb665413baac4b39c1cf9ee0149b91429c978638ca14e4009bcd57f4af5f0e6e1c00c SHA512 8b6cd63fd50b731a2e99f53c74df2c0914a6f3b532e0cb3fe6acc1d421a06805e90d17c4d003103a402df2f77c8ae89be694b715eb262b3bcc97fbde16c29df9
EBUILD netbeans-dlight-9999_p20180130.ebuild 2643 BLAKE2B 34b588c2aaee1f06cf83355812c81de17ab81ec35fbb57a135d95c70ae5d5db4c272a002f9652a8b9449b4b46fe9a0bd9e4d560e84ce9baed6f12d81916ae10b SHA512 fd56b9b1a0861b47ff194341e281c27dc47ffc21c711232252d928213a7087ac26186e7381447e1c0e102f0dfea7a491a9328c3385b56f9fc326ffb2dfb79f18
@@ -40,4 +41,5 @@ EBUILD netbeans-dlight-9999_p20180220.ebuild 2643 BLAKE2B cb3279d9357f1cd0b2291b
EBUILD netbeans-dlight-9999_p20180221.ebuild 2643 BLAKE2B abc6421927d6c28f64d67c27b58577c0b09498f1e652d77e8d4204ed71ac7b7abdfc4689262391c5679696d3ca83e373ce3eda9c8a0c84f0197f8cacf9cda6bc SHA512 0e261a03027e82b40fb94969898c1c5178f90858300651e2ec52a240cc8559ef01daf0c2df2128d1ebb3bc3a602b495a38cf9ca47c43811ba01740b2fbb0330d
EBUILD netbeans-dlight-9999_p20180222.ebuild 2643 BLAKE2B 672c8e867be027214263e3436dcda02fb86341e5a1a53cac5ad20c8092cf2ab9b8753fd71b709419930e127c9808d49b65e733b94c507a1a76664bb70d73e48a SHA512 4720a476e4855b1460e7fb2c5df0bdd3b568956e8ee353d86f6a7bfeeb17383187285ad3dca37490b331640e8ffddde800ff9196dacac460383546e28eb4d392
EBUILD netbeans-dlight-9999_p20180223.ebuild 2643 BLAKE2B 19c13587165a8d1521344b5fef876b83237f58fd096b0e81572718d4ff144b977f83a9c83921131bab63babbb6de56beee99d664753c5f1acc1fabba2cfc79e0 SHA512 369717796872b7a52bb43f7fe83122daeeb8e80e0d1143f7caf4caa039699d3a42b80d49cf8838908aed97633efe63e25338a2e436b644359078b15e9a3d1704
+EBUILD netbeans-dlight-9999_p20180226.ebuild 2643 BLAKE2B f10c169ffd2bd478d28802ab879dcb5a32a30467e5de1f3a1e5069bbb279055dbb0e3d8bf3adbc7f28116d0c8396da11cd1cfc78b81c6a3e3d5a793693ef1894 SHA512 276d881bc72582c4f5fb0a1e56b4f7ff5a40ce0f0257e758571b5725a0c223db41002b012cae94bd6b0c5ec1bc342e0c3edf3285ac21674ada0827880fd3c468
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180226.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180226.ebuild
new file mode 100644
index 000000000..e0ebfd150
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 7e2e5b201..a20c5e33d 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -50,6 +50,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-enterprise-9999_p20180126.ebuild 15530 BLAKE2B ee74e39ad49a89c30cc058429b06e66fbc2c27e688e7e3a9e4fe25d58c444adf9e6e5e9726f7aee54fc1139cd754668c9c450d85042e92a0e54c68922327e32b SHA512 ff0cdcc59acde2efc6f7ad097c95bac0523edada5f0632a67a1ae401932b46940221afe467d5b68099c839e8783f5825f338ecf32a9b654e056577287cead33e
EBUILD netbeans-enterprise-9999_p20180129.ebuild 15530 BLAKE2B 6b80e806f8419981774236ff5029007f6433fad6be898c00a6e09fc5469c8f59245f0d36a8f6ce01f2d549ebb617b19060d4494340e0b608dbd3c2fe4aa01efc SHA512 7fe162c1c7f70a05d0f96c2fec8e99079782b65d7f9c5999222a5462331d4c95e8f130482473fa89590551f89afb66c4adcfb1669319fb3cae881946c99b3935
EBUILD netbeans-enterprise-9999_p20180130.ebuild 15530 BLAKE2B abd641ad65966928e351c53f756ee34940bc18b12b88076db14dd94eac9b05bdea21d79d9964cf9ae088b29303869e4bcd2c15a2c51f49075c4f191be52d9807 SHA512 02a35b5527cc76892e9647ea6038feeddecedf376bccc225e58d044e50f14b0399afb4addfb33a188a7bc8fc15fb018c2ea261e3726608ee667f7f27dd35edee
@@ -70,4 +71,5 @@ EBUILD netbeans-enterprise-9999_p20180220.ebuild 15530 BLAKE2B aae98db410b8a0432
EBUILD netbeans-enterprise-9999_p20180221.ebuild 15530 BLAKE2B a78492eaf71d1123ab67b17a15dea30f73cd8986526f302b579f672198d7ece8a8f6e1f76d9e6509ad51e8cdb3e8f6519401d74b9060f613446f3b44ec83748c SHA512 0f487927ddad797965114cf9ef18cc663f4d6050780d9883837f4f42ca0176a48f16cf309bb0e9a2786035631d0c9f4bdf128cbcbb9454859e9dd62520a78c6c
EBUILD netbeans-enterprise-9999_p20180222.ebuild 15530 BLAKE2B f3973199601f56c9fa9e89764775ff790d1d5c48212677065c123ad94261a38f85c0713cbd4c5e7ebd6b0a920acb11338e567061232e515dbc4102d2e476f2b0 SHA512 bd4f012fe213315792be2a115c4989066220abb6fa6f380c509da2ec3d52aa4db81c861225ef78780cdb2c53d20b26364dd233117b24dea3ae57a9f3fca1a392
EBUILD netbeans-enterprise-9999_p20180223.ebuild 15530 BLAKE2B 32aa3568c43e6b6bdf1a99a10f5d43a85985d4fbe2b005ca3e3fe9e99a4337d1b9ff19068a0bae56d52de3a3acbf81741a95ac0b89233fef4154466e5f059f0f SHA512 397cbb41bbf7c6869fa3bde5526f4c2a39a15df47cb077405e5bb325ecf97aa08bd1460866699dcc0fbb9a03546176abd9d237d07ec44a49fffaee1f392ac772
+EBUILD netbeans-enterprise-9999_p20180226.ebuild 15530 BLAKE2B e5182ea50b5456205dda7e68bff9fc025735380274e47d6ba9c5bebf15dd9eaf632f0f70badc9a80fbae738756c9d12b057155a9013544035a9636a27321ce93 SHA512 3a1d89cd1e1cdd5460d9a1fbe8ec7b771428a85533b0f18968121a98ea5337c1dc5e77e512b35512deb15c4628e2bd6c1d04521e7b752869c9c600ac44e9806a
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180226.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180226.ebuild
new file mode 100644
index 000000000..a821b08ff
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 41476aefd..8bea6d793 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-ergonomics-9999_p20180126.ebuild 2587 BLAKE2B 7643c0bad2e3be59139ef4aba60ce611075f0c320617263672afa26e7d371cc7d2afb8c5fbd7d8d245220a8e62b00d37dad35f1426fafa78854279f723a8ea54 SHA512 3847424677d270ba352ef5833fde63bd58e2254dcf9d150d54187aa93b21be9dd375c44dc1b7e92b3575ab93487676a3e7b145b47f24fe7ea577b369931c669c
EBUILD netbeans-ergonomics-9999_p20180129.ebuild 2587 BLAKE2B 39a67b243f01f114980c5f0eb63403076079ca5abb800fb2769add83d783144abbeb5805ddd4620ad853b5a53ea556059c0cb90b3750d657d900d7990ceb0b1a SHA512 1302dec2bf8766df0887d7ddeb451d08f4fc04f10add54de35fb73f7bd9beadffc290d0fcf720b8784c145315461f5ecef1227176fc9e4e6a90c3adb6620987c
EBUILD netbeans-ergonomics-9999_p20180130.ebuild 2587 BLAKE2B a7fe7c83a052ebe0c6b8d2724cb28b9e16986c51a316e45acbdbfc7d11ad63f82a031ea0f20d6de5e57c946bdc0dba0b960152e3db769e17cb91984afc92cf7e SHA512 93dc76fc716097941dc2d1751de2d3e73db8401dd3c26aec82454eceb38f24c474b017b89c23a29feceb3d3e228701d031a39d1e6942fbb3457e689fb04a9baa
@@ -39,4 +40,5 @@ EBUILD netbeans-ergonomics-9999_p20180220.ebuild 2587 BLAKE2B ccab88ab79e3343fda
EBUILD netbeans-ergonomics-9999_p20180221.ebuild 2587 BLAKE2B 0ab03ebe1c1cfd3fd632476cace226b3c78754547673bdca98a6c995d39314083a3969e57b9198d0aab01904d3e1df31fada4436a83828f896d0f079f8fd4ec5 SHA512 f4699e1803b71002f3f70b8e3387aeb654f71a6bc2abc473eeb508a48575cc5c32ec41c9459a56878ec67ed6fb37275049e89622b2f9a801ca94120978edf523
EBUILD netbeans-ergonomics-9999_p20180222.ebuild 2587 BLAKE2B c5d4aad26b709f7547de8c4a129aa165829e5c8358fe43484dc22cd9d81b32f4630203952a247ee8ad8aa5f72d0f44101e7eedfeed826551ba71a581b4fb3ac9 SHA512 1dcdcdbb5cc97445ccbc5e2c1ad923e5cdac1b4ba65fcbb7dd02e9c162eb5a08a5c2f74428585c90efaf0548348300a6bd1fae6d8c1eb4b1d210b05aeb2b7e0c
EBUILD netbeans-ergonomics-9999_p20180223.ebuild 2587 BLAKE2B b61fd8c999ccd5b1453dd2b78beb6be1d0449dcd027bbdee493ae41a2dde7de2f9877771349679d1ec809614fbd9e7f8654d63f3b98f977a1435a19f8eee317d SHA512 dd5a488744b41dec72c603a533bebdf71e64a52f22eafddf34c165a914d3327520739051cc0afc6c98d4a976de281f12c5dbf59272d68998df7fb9bd81980f0b
+EBUILD netbeans-ergonomics-9999_p20180226.ebuild 2587 BLAKE2B 6424363a67985038a14e32d137da85dc134a73296534b8ae808bf9b249328929e4579151ffb28adae82eceff9f51f45dc4c8953a180c1d8ea350e2097e10b18b SHA512 acd8113bf5da982cf48bbccd27c3b4e39617a9a8a0dd0c628ce9b5ece03f94f54b743ef5d520e43b088b2a4030d1809c4bb7ad7a840ce385e46284ed6d43c701
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180226.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180226.ebuild
new file mode 100644
index 000000000..fbaf169ae
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 588f9fbe3..1cca60063 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-extide-9999_p20180126.ebuild 3059 BLAKE2B fe0bc28150dc183b2f7e9748b71c2bf97ffbdebe8991dc315f39af81abedc46c00465ae0d8bb4b35cd1a63d07d15d32193b0f8892177d27a847b57191052f007 SHA512 8d8535089c7b3216e49c11b2804eb7fdbcd1373c6c5ccc235a65a339f8bb05e8b4d5a7b260fff519cc9abf3e677598c59721e5993f8277e202b4669536896228
EBUILD netbeans-extide-9999_p20180129.ebuild 3059 BLAKE2B 66affc64c8ab1993ec32f12ea36970ae2f80ea41f0abff0fa7ec865f76897ca9267b263e9391c8a89670c4d819d1659ae2d059cdae4320d03357c6291f88e9f1 SHA512 91d8e49911b215b42ee260d6bde85a5008c7405d0df8f154115a189e110a213eec9e77431daa7074d085a199f004b66cfa32f378cde8b40ffe72db038068f43a
EBUILD netbeans-extide-9999_p20180130.ebuild 3059 BLAKE2B e07b65d4a0863aaeec7ef391ad348c63a523227a7d755b3780fea10fe76f689347a64110939545057bb8e2195b43738162f507d0b1063674481c044074096a86 SHA512 394511b0dbf2f1e865653c99369ed62184057c6a63ad223943cf3c3d14d011a641e7e37eb7dd4fca065c51afc3a84b7350767353f719c4f5add51e9beb4f9d76
@@ -41,4 +42,5 @@ EBUILD netbeans-extide-9999_p20180220.ebuild 3059 BLAKE2B ba3e4ad05a5715799e0330
EBUILD netbeans-extide-9999_p20180221.ebuild 3059 BLAKE2B 7efaa6315cfb4630eb6af64708d4d66ba0c3e79f3cbbdf39102c479f7d81d93b07c8b76f015c2c0622302cc0ca516ff70b758f9b5a22568863d92fd7b3f6d06a SHA512 5f06a1eb54de385a5c3798ecd8517ddea567751f0eb3dea1a951e56de637e24650c95080e708153d11eab86fb1657b791920ad5b0b10f1bc49a6dbc835023631
EBUILD netbeans-extide-9999_p20180222.ebuild 3059 BLAKE2B 526ff20bb4c99a94bc435cfe390a70670e37b2eb95f7767a0c2bde7387ff453838e2c06820d8b4615fe6aee11bb9bda77aa1cb0c5e4751a647a3068fda7ff826 SHA512 233d43105efeaae7046e1072dbea363ad1cd8a8befd18a2a81f3aa84c9a92fd6c02fa9da87bbb8d36d287dc40735a9b12ea8696ea13a1404f52b9213cabc798a
EBUILD netbeans-extide-9999_p20180223.ebuild 3059 BLAKE2B 24cba9cbe6f56508b299c531a0decc1e8d86b9225d546e6eb0883541c0d48141479181a370bb0f9b14682092af4758cb29c1380b11d57a3ff51c7913772a88b7 SHA512 38422432d4508845b35fec5d42b2891718eb90c7dda919cf59c638bfdaddeac1372737839eda0a4e2e2b393af73aa63c190f21f0a4427a075e6f72eb632b8d05
+EBUILD netbeans-extide-9999_p20180226.ebuild 3059 BLAKE2B ac42f8dd4b3a7a83696003660b822ae663084dfe9c1b90cd757ee98654cefeb5d28b448a2bfec4b642fcfc4573fb63ef3e5b7c2a4fe9591cad72841fcd57a8e4 SHA512 684cacdb1f8eb70baac1e023d2d7809e8f580447c756f3fed2b8483d285dba9c779010f2d553ddd5a5954e64aa7ffffb8f6a4c8b60ff9581545ef1639bf06cbe
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20180226.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20180226.ebuild
new file mode 100644
index 000000000..d5b0ad2e6
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 34d4299cf..2989fd729 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-groovy-9999_p20180126.ebuild 3091 BLAKE2B 6b20480eaf9d37a9c91a55680b075eb4858dc197ce26ee0dbccdb61a71fd052b1a39412757dfd29f8eb0cb4d02e4efc228236a07f8aea683c66a5c7926520f14 SHA512 579c9a2347837af163061a545f0ced8714d700db82201ddb80185a11a9046493b244a3cf41e0edc39581fd941b01a4e4ce42f7eba7e15f3b48ff244ea61c2a11
EBUILD netbeans-groovy-9999_p20180129.ebuild 3091 BLAKE2B 9eae6879ef19b7d5b0fbc0d724ad9a5bd5b2a522e17b7c8faa4c32f056b924af3d037d06c2ed6737c36be48300f64f407fa433be7ddc0397cd2f10d1bd4dd115 SHA512 5e8eed6404f1dfe3748df4f01f4286e5f362de9d14052ed9d6a2f37df501799a1ac70b28267d572faf707540dfc3a79bf5d5122d3f76e8812d227d18a9240e4c
EBUILD netbeans-groovy-9999_p20180130.ebuild 3091 BLAKE2B 2c5f95f29698047b563494ccbcba4a90055bb27b8b57a31feeb0cd13ae8120c91ad3d2ace72b10a035c356ddee2fe7f36d8b5ddeeeae01ff78d69867a798655d SHA512 3b9b440458f7cc2b259edd43e5cf851d69dc007802bb7aeca986078e83f3dbe364957c9cdcf1da387ac8dc78e784794689af2e404e705b4043535ed6a356b156
@@ -40,4 +41,5 @@ EBUILD netbeans-groovy-9999_p20180220.ebuild 3091 BLAKE2B f39abe643ff279a02597f9
EBUILD netbeans-groovy-9999_p20180221.ebuild 3091 BLAKE2B c4247af20405e7101c55b64d92318d22cd4fa10ddf64ba8016832b787e3635e9bc3b2794a0316c876834aa1763fedc265e087e336eaa8ed8d8467176ee1846c1 SHA512 0fa17b83385fdc8b3482065d4fada7d4ac4e557143aac18698407613f92c9c161517da44c68af5cb2524ac95b24399bc08371fd8c902ab885b1d7a522841d66e
EBUILD netbeans-groovy-9999_p20180222.ebuild 3091 BLAKE2B af8ccab522b598fe317faa1b7c0e361c78bcd9ef7770ebc7b951f564963b17174dc8526a62767b7f0f25c543015dd60cb00fc5c44e34d93b687b8837a199c644 SHA512 5813793b0fc83c1620a86f88e51f2d1c4b29256fc3ca57bc6c96aac357e7358c53e3639ebccecdcb9405cb054b65a66e6029e342e977a5e3a20e6c08bd11ff82
EBUILD netbeans-groovy-9999_p20180223.ebuild 3091 BLAKE2B f132499ce03b71b903164e88d612def1f2a14a85881d827e91ab654904b21f0402307880527a2cbb2745441926ffe5e960f902f2c47b1dbb5a0e421765881b20 SHA512 656a1829a5d41ddcb1458897127db0568748e752f140d3f2cf540a99336c9df6c97edfc3d5d1630da9b1888722cd63ffd9945e0f7476fd9cc87e94bd9f4b9c6e
+EBUILD netbeans-groovy-9999_p20180226.ebuild 3091 BLAKE2B 9e24c093354b18f8aa8792375cba6983d829e81a74154af3cb67b1a642e569c208bcb4fab25505420ba3d565c388e0f0688e3f767a5e2a18f2cb20818a01f127 SHA512 95f414229d7e34041b6779cab9d05993905e6f6653153d7864b03821d03ed56a8ba5728afba94dfa15b50f51f168361ad0c23835f3db3cf419507ce51c008de4
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180226.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180226.ebuild
new file mode 100644
index 000000000..775cd9001
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 86f9c3b6c..fc18348c3 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-harness-9999_p20180126.ebuild 3805 BLAKE2B 7727ac49fd788e69b3aa706b4c2c1518fb07da4af9e08e47359bdea7d34359718fc1a68702d4c1e0e3e428c121f2b0d85899a2b6bbb8f3d95a0d49f020581ccf SHA512 88d902ae9edc66d5f7c458d9a6bc427b0c45dcbce8fbd55637f6865584bf76014bf941be6f36fd6e04e813dd508df5535b0f91d9ee5ec16b107de4908768af6a
EBUILD netbeans-harness-9999_p20180129.ebuild 3805 BLAKE2B 32b5180d37bfa81e20e01777f28616211fb594abc213adaaf478877b7a61f63b8df0225acd94ef1763e30258d6c82d65db4c93b48638bdc5b8830c65f4a78a01 SHA512 b323a5b7479127724e77e9ecd1dee591beddfa799290f7bad48f22a7be6fbd3686f9a982408a5cab940978f48bd79b68e46b2bb4f4be321ebbac4529eff04248
EBUILD netbeans-harness-9999_p20180130.ebuild 3805 BLAKE2B 163b294f2da767ec4938bd87e17c7f0c66bd6df0d1f32beaa16d6bee992ce459ec2d5c35b91487149e4bafde452951d3145b3c6b755845b7a51d25074377c31b SHA512 a8945d54b8f3c4bfa989932b3484db7c67daa6160a27062c780aef8ae0c6973dc0ecb3de0751a8d87458357d47eeb3227859619cabab9f79ef97242a8e268d43
@@ -44,4 +45,5 @@ EBUILD netbeans-harness-9999_p20180220.ebuild 3805 BLAKE2B 7c7f3907a951ec7fd723f
EBUILD netbeans-harness-9999_p20180221.ebuild 3805 BLAKE2B b6d5e2f7135562ebe06ebad875443e56ebb8392fe28e126c843de12f5bf7f80402762f982e1eabc39809a6237ad13dc2a9115a86c1e4df59831ed007c508983f SHA512 715426c13edc4e97fbace7ea9c3cc00a6980954d92cc6af97e9d7f294b7195e4f5e097dbb6998ebb98af278d9bace92d255c895eb5e5fd04a3d29d45ff0e7ab4
EBUILD netbeans-harness-9999_p20180222.ebuild 3805 BLAKE2B d58db3dc19ea35d3b163b24fd88b77a648409c25dd32ec0a2388fe6a72673e00a3f633b9b98404e3cac17127710ca85ee89980b25b7836335a18571610167d41 SHA512 1428f72cf41c038b5275d46111fee6575ee60f0e15c198c5cc9db5cd09229ad808d66c300afed78cc6c9a0ba091bad772f5f600e0faed4c5323869b0c9803cc2
EBUILD netbeans-harness-9999_p20180223.ebuild 3805 BLAKE2B 283720a730946d59344bdf426e809583ffccad5ad7d2fdab6b2d2d4971e57234345671cdab97e9723fa532c15210e7280097dde1870c5b041479199c8a1baab9 SHA512 d80ae8b450745467a3c73016b06b707b6ca4ac78aea681d30f4b065f50b56f5d2e8ff1537f9c22c21f042d2fd4603615f1653399b7fc9216caaa45d319677c57
+EBUILD netbeans-harness-9999_p20180226.ebuild 3805 BLAKE2B 690df07dce3b91520eb6e0f44d2615dfdfb976ba57910b4bb06220bcaf27960cd9e33b0f68ad1c0bf31c755ee384edc8d3a126e922669cad3d9e98498dd27513 SHA512 4ad9a1eefecd6db22570b5741ae75ba9b0258a2831928cc0b7d31ba774ab7bdd3299942053a9014ecb870d6fe96a47f5c4e1644502b881bd49f499bf6ecd15fb
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20180226.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20180226.ebuild
new file mode 100644
index 000000000..de510040b
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 98f1452e1..9e85d4599 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -91,6 +91,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-ide-9999_p20180126.ebuild 29593 BLAKE2B f9d4ac4d1e5b4267b0b148b00b80877923d1ce2ea5aa2540ba643a5fad2721828d7bc8d1e0a4dfae800e7832e16a387dccf6d673a6127cf2d30cbeedce0f6ef8 SHA512 f745f9b3fc62699c5b13f1366bc1c67c4eadee9fc5f55b7ef3de7868f165de21d83acd917a8fc5bb1992f918174c3cc89afa428b1d42639a11418e8347dc67e7
EBUILD netbeans-ide-9999_p20180129.ebuild 29593 BLAKE2B d247204238a0df0760aa8f167b19dcc535c90fa86546782fc4bb702d9c13ed3966b34eca1b6b5f5aba7fbcc74fb54c45420a762c6573e6e9e8ffcffc6e643b38 SHA512 9ab55fd2f196cfce7297d8e9cf63b2dd3f6e332b0d36033a5573067594b011adf577fb8b21337c526f0ecff83a9841b235600843415b075ace53b60f0080e2c5
EBUILD netbeans-ide-9999_p20180130.ebuild 29593 BLAKE2B 12071a1c026aee4f7e644f37ea73e176c09500ff60ea6b479c7a42d9f9994aaa965c7d9239acb38e2668e29610a0a917544794d27f0d76ecaea324f5be9e0889 SHA512 acb6124ece95cbac3c1cddc80a4fe96505373a291f4347d11b6c4bec0f88b5d4465fb6b78b1a2f0e083e82bdc774ef590bcb5ab644f9d483b057a6d8d6507025
@@ -111,4 +112,5 @@ EBUILD netbeans-ide-9999_p20180220.ebuild 29593 BLAKE2B ddf47d5bf13489c2a10d2bfa
EBUILD netbeans-ide-9999_p20180221.ebuild 29593 BLAKE2B e69064a5f1ea89397ee3cad0b9c3035a334fe4c82a9308b84fba257a26c6df5e212cbf46341c9b2aead1344a1299b85ef999a8818836c7aa9d1f60ac5159b0dc SHA512 c52ba19b818f3657db68ad6dd9fd6196e8f9eb3459fe351c756a80106b74098a8a5861d4c95cc8d42d8ab76ba31a66384c95d0d9f294aed8cfd5a3c26042b308
EBUILD netbeans-ide-9999_p20180222.ebuild 29593 BLAKE2B c6ee29bf363fe5a85c355df103c518f8afa377267c2a88dec7ef0b11d80bbcd4890e213cdd268e93c4fa929f9c97c9b07c94b271f0ef2331aee93ea3a1645a56 SHA512 fb8be005c28f6fc00a4cbda724bae76d69b9a32c90c3f23d218770af71c58c61b115d548df4b8d94d150e807bb9ace455741cd7f1a6f3ffff321f273fe896bfc
EBUILD netbeans-ide-9999_p20180223.ebuild 29593 BLAKE2B 15dda8e1a531b448ee2cb20f0f3426bb52d288f17adbb0f897a342124df7a54a2a25be5914806712f8902284b3003dae25ae3f5bdff37477b6a34b1f6c348f51 SHA512 3549ccb09c94a8572966e9b83122e90e3b653d479d0c8911d23d27c3891c6e5cc2166306d460b0ae1345fab3ba4726cbec79b0ce5384d913fe132b335da34c26
+EBUILD netbeans-ide-9999_p20180226.ebuild 29593 BLAKE2B 06e007646773d174b26f21b5d455ea0595f302d938e6da4e8da30a4b14c4cf8ce73a5277e442851678ffdc8a9a19148308bd488c1b24807a968febd96c65aeb7 SHA512 55a2c4b39a019d8f0593caf324779620c4ef233ba99c8aecf13a962e3bf8fdd75e356d07abf64e0b7c60a827b75fa3b5df33da4dee3f5a2f44cefde8fbe91926
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20180226.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20180226.ebuild
new file mode 100644
index 000000000..4595a2880
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 4f2f0f141..8ef600cb4 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -44,6 +44,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-java-9999_p20180126.ebuild 15702 BLAKE2B ec5f6d4bc5db38f30a46086643a3caefb3685296367c6251aa7c684210fe8d23ec88928bf5a767c67d6e1ef8e4580956967f0c097b064d40a6024137e7f3cda7 SHA512 0a76d8a1abed8db5502c2ece2c69cd41bc6e56377606e3970f169e849d307864a39d3a73db335fd79a746e00b5c8520d554b2b9a7830a3a6bb27ec98fcb7fa3e
EBUILD netbeans-java-9999_p20180129.ebuild 15702 BLAKE2B 91562c22503ba2fcdaef4436b124edf000dc9c4e6fc4bbc5a87411dcca2fb24153a36c463afd1c1a40f6e7a708b8fd66a08ae7db4a90e1753a6de878359126d3 SHA512 de41e03a1d5271abcf5070b0b58f7629a8caa6a499e5a252694e46ad42b49a3e7083faf7571aee6de3927de2b6c8e8e156b1be23a95a000bc3d6187599a7e531
EBUILD netbeans-java-9999_p20180130.ebuild 15702 BLAKE2B 4a0871634dd51e982467490aeba8d49cde7909b1f3b46c9276889a0bb3d2aea3ddec9ba26246915e7a97f215f8d16bfe2828511d40adf64570bb3d78d5ddc594 SHA512 a0e45bfd406c16211cec46a9c9e9f1a364700204e9c962708b2228b1ae2fefdbb8ff80a352e32996515afaabc5583ee4019e79312d7ff475097cf76512429173
@@ -64,4 +65,5 @@ EBUILD netbeans-java-9999_p20180220.ebuild 15702 BLAKE2B 8c23a5781c16ced3840eb3e
EBUILD netbeans-java-9999_p20180221.ebuild 15702 BLAKE2B 4f0c2bae3510723df5753311c7cb49b55d17836f0929ca5b89eee92b2e80c82cfcbfde934388bb6d63ddb9ff077a12829d2e53bb4d2365040765e917f06f36f9 SHA512 079fc77608baf52241f4ca8b1ea7bffc315d2af69105a2a033a4dfa393fe9392bb8a1566d4f5ae713e8c2b39347154e75ee2c7d0244a9ec3fd40735c60b2eb5b
EBUILD netbeans-java-9999_p20180222.ebuild 15702 BLAKE2B d9abf7670135fb8685b8ed34bb86e20ff76557ed7821322f49f9e4941de23ef7a23f1a8843122d1ef3f1b17a6790c13bb8f329fe8bbc939e75ec72559e560c5e SHA512 9bdcc4e1c62bcffc35adddd5cb58b8fc73ed681e798f561ef1b2e38c4698ba8b792be1367436b62b977af3ff177f0d7c16ef2ec4d0ca9c68ed0206ce8a8efd2d
EBUILD netbeans-java-9999_p20180223.ebuild 15702 BLAKE2B b35cd7e8e40ed9a4b2931689ffb87f53d98959163eda5b55a030329dbb007792eadf7a050b092281d6fac5fd8d9e6154264ccdf5b8fbc86fe067e078626a066a SHA512 998b0aee9fd11b18cb6d7d519ff5f1a28d799bd3ba0e10bc48e7c5bfcdbfe58a5a29baeef9cbbdb8d4da709a3343357b226db2ec62b1b23838e1c3573e6c920d
+EBUILD netbeans-java-9999_p20180226.ebuild 15702 BLAKE2B 7a5a311f532f349bfab7ae66bdf1de2a562b31b1e1fd795aff909e6e7a6cfa4897d00fbfbd10d56c29b96c3769f87809ba0e29095a814562ea139ad61d973c7e SHA512 b03a4894535e9c4ed052bd727a3540d7f23237b14affeb2af58cdf9d93054ec1a62eddc62df2416a4b638429f9edc0268c6072efd7527ba4985f2a24feba6e3e
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20180226.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20180226.ebuild
new file mode 100644
index 000000000..88a00f21c
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 95f2b4937..d09f99094 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-javacard-9999_p20180126.ebuild 4648 BLAKE2B c6326429a41ef12740ebe2ae09fb9f87640ed61081d75c8913d551a79934a4536115aabf26646cff28666ca0afb224190c19298ec0b4855a184a7279a4da5151 SHA512 5631a695c05b6c856011f1973a0eafeb0985f790a214649694f86332772c8450bff1d78feef0b8f32bfe18ca9e87a9cd120ad8ef59551e26a139d34426bea477
EBUILD netbeans-javacard-9999_p20180129.ebuild 4648 BLAKE2B 95474de7bb477ddfe146446d01bc888682210590df45b986a33cc0a4e99d6a419f22e7fde8c1807f5fe10822d6180b8d322b51c6036b035399e88a0c74d236f3 SHA512 4fa1f0c68a69dec834629f10888482495aa3a3494ae5136d8d23e2b131268b1e421ffdc5b441a070a1e762eee811f9a923b7d903a37744d40ce574430c09a2ca
EBUILD netbeans-javacard-9999_p20180130.ebuild 4648 BLAKE2B 9a83a65443b910aebfa8e18c0b80a9cde4d491ed3c79e500a23f3ff0669f44236dd0e4194eba8fdc58fdbedb7b2689b87bacdc089d53ac0e554d4797980b7e06 SHA512 865682d3da0d9983a002dedae599d026cd64e82b91c759b687e07242d092c68cbcc56ac58fdb8eeea489b5dc94648e76cb3158f6e252efcfedf38a20d9cbf920
@@ -42,4 +43,5 @@ EBUILD netbeans-javacard-9999_p20180220.ebuild 4648 BLAKE2B 83637f15c4e7cff9ebb6
EBUILD netbeans-javacard-9999_p20180221.ebuild 4648 BLAKE2B d78fc2bb483fa9882b483543fb4a51e091322c2a846d2a5481296e08bfbc9db3d12bfd3625a747bae441d54fcd1809ebda9c9ff9169dd2608a158ffe7aedbe33 SHA512 cceb78478685a735843dd204696682588b9e04f460bf51112c0d164c4417d505cbe2ea3bcfe9e0d7d4deffb9cab4bb6104df632d3a9d157d7b1f5385dca83e5e
EBUILD netbeans-javacard-9999_p20180222.ebuild 4648 BLAKE2B 9c72cae7e2df32156ca5a0d6bd710e1f63e4adf49f55398e90d7ba6d8acf423f51fc226e7f87fcaebc4f847773a05ddca7ea0dbb30c3167d2b0f5eff85206502 SHA512 eb6315d86fe5cc0d55a28ab42acd7975ec57e47a91cb5621a3813e45abdede7fdd644a84075118ffa0015a2d76830dcf5b6cbe0fd100d9f16c801bb97b707441
EBUILD netbeans-javacard-9999_p20180223.ebuild 4648 BLAKE2B 35c73929df7a00db06fbeeed48502638c12a95afa4b1661e3e4b419373cb4e13f95e6b7bb326df2c0d9923a87e23a563fd887abffe5e3f3f4800459095400794 SHA512 f76e21b714b8995788ee77f294d04498b3d4dc42fa6405efe6735b14039e79cb52f4c17ebf70cc482a1ec1c95e79dc7ac76dc1fb21b6d8628910325c19ace64d
+EBUILD netbeans-javacard-9999_p20180226.ebuild 4648 BLAKE2B 346c42b959dd0021573c25a34d543e6ae91f0cb20c65c069f37739c85dd2bb1c7c43328d438ce055dcab560aab85d9c10cb813634a9e23d67e9bbbc4648ea44f SHA512 15559ebb8a8237157a2e45111bce64a231503c23f25de77394da5bf0a3af2bbc44f10fb6534a698341c878502f519ff417c328a4d50f0aea7255ddb1f8834bb7
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180226.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180226.ebuild
new file mode 100644
index 000000000..a884aded3
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 d6ee362d0..e158adad3 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-javadoc-9999_p20180126.ebuild 5992 BLAKE2B dac53b7889ab34ff3602cccd7b83cae21ca1553d7b9e749196fbf8d9e07588f68ffd44302b20c8066b82df8df1226724dc33ae47b0c9460a36b2b3b50f679793 SHA512 dd219242f7ab3c529347a761cec3d8bf0fa04209c436bd72774193239a765397d41d2330ab93231788e9c7676f460207ea0f874ae4e66963b445d921f0ed6c68
EBUILD netbeans-javadoc-9999_p20180129.ebuild 5992 BLAKE2B e4d0362576a7b0c39abf05f75aef31a5702559dedc06ed720454a4552edab11fec4948cc89b9a992c269e1db4da4823902acffc9d20cce6c2995e5ab3277005c SHA512 6b43c8798b95f14542ad72bb7b4c0993ea83bb36821c707e6a557341438e1450fa580e45eb81641a99f29a7ba7259dbe6b7db6b4aa8aeb2aa8fd3277d92dcdbf
EBUILD netbeans-javadoc-9999_p20180130.ebuild 5992 BLAKE2B 3fa24af256f5bedc84473b172c710213021a8894ac43b19405bf22f159a37e5d24f9dd8c0c10b205a629d349aee360a68bf408bb11ea6293182bfd9b5ea43682 SHA512 51a1f69acac6cd94bd5b133bcd4a95558c39b5cf4ae062d84e15b2217d248362c17ea53482214608b3ca542df69e2bf6d5aa60600917674947afdd326dddfc2d
@@ -40,4 +41,5 @@ EBUILD netbeans-javadoc-9999_p20180220.ebuild 5992 BLAKE2B 3f6d033519cbcbd011be0
EBUILD netbeans-javadoc-9999_p20180221.ebuild 5992 BLAKE2B 04678843682a84513c1754f6721e58cd2a1c4409853b85117bce4b776eb2b68a67516ee7f03fbbac0385806e96a4ecdea257686a2ca4c348f4f77d9bd0daf564 SHA512 10ff7e7ad2cc10024883cfbc0e06b5f3d363122b8405383202362abdb9083f30e99e84bee873370338f4f99d4c7152341bc1fef150ad4f313197d7a649477262
EBUILD netbeans-javadoc-9999_p20180222.ebuild 5992 BLAKE2B 8761febb4ce171ae2f7081c3c9ac34ffe528f8c000129efc647e4f0d4c880d49046026966bee7e9494e410473dd21ee2902b3c6a1a3636783b241ff2f543202f SHA512 62e8833910072ac238c494c0c96dc815195beaf13f47035a781be5ce8f87a0bfa56778de7424f0f61497a3abaf2a8b5729114ee2e05c74ede64d1db4135f5833
EBUILD netbeans-javadoc-9999_p20180223.ebuild 5992 BLAKE2B 8cdac1062212b259f89bb908e2cb80bb551139e9e4d7ddf5aaf9015509c775ecee21928949fd1eff32eb9c4e174966d4b80185560c8a891ccff85d2a318e8dca SHA512 9c6b783128aed745898dffa9ffc3f60e0e61c22c28d6bfb82feb6662b2481f7d2860fdfcc41a415f78dc191309320cee2845b9363919f566a4cb74c8e168a320
+EBUILD netbeans-javadoc-9999_p20180226.ebuild 5992 BLAKE2B 02b5931c0cf97a1f099c6c136faef5799a6e1d128b5d2482678e559e80a1b36a9650a218d44dedd6ea601bc289363623ddbd2e4e50137ee3be2c0c601a0add9a SHA512 b3e53553f566fc511b176f85863f084b664b8acddfadf6cf0769618ed80894e76a6023865a702a429d77520558d46f4b3641f16fbfa6694ec014d7733cd593ae
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180226.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180226.ebuild
new file mode 100644
index 000000000..3e5415513
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 a1e724ef2..ee4c060ba 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -25,6 +25,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-javafx-9999_p20180126.ebuild 4397 BLAKE2B 8b115db179d01375cdb96c2c29e2df08250611ece13bd84f2b388348e729ce29e9b11136158d64cac27808aa1c6113eca15fa3af29f10863bdbcdb976c3179b8 SHA512 6d65768f83907bd9f2dcca324e2a7c28e81a335a43510b92739551f835748853417c49136ff14bf63cff03485ceab462e1d0a1f7e7456bebf8e8604c7fe488ff
EBUILD netbeans-javafx-9999_p20180129.ebuild 4397 BLAKE2B 156aa7899186e938336122ff664321248672aa2aeadb056520f1faeb6fdc55a6f7df1c5d13f0a712908dfa4369a9380bd0439a4db65811f0e531db2815b99566 SHA512 b56fa8ca35c3a6fffd505852e83ae239c6038438cc3aed6e460eeed8cfd5efd0060dfbea8f69c08cb3fd8edc78e18a627ddd9991d39e7f12dbff06948487cfab
EBUILD netbeans-javafx-9999_p20180130.ebuild 4397 BLAKE2B d024648950bdae4bdc9b7a889ec1c43e4070f51c29c8997de19cd683c0f25cf2ef3aac6185df4af5d98135dc72f0653aa2ba60d97706374a9adcb36caf1bc4f0 SHA512 29f9ff2e46fb9b869c66fe5765a2fc381cae63c6dd26c624a2615b9d85215965f6b0726c33bd0a7dd0e0f529d2eaae1be47a1e9a590eaf8d2871d76eb5ee190e
@@ -45,4 +46,5 @@ EBUILD netbeans-javafx-9999_p20180220.ebuild 4397 BLAKE2B c0174d5899182bd92fec41
EBUILD netbeans-javafx-9999_p20180221.ebuild 4397 BLAKE2B 998cf2fae58e8b30498476716d1ee6d6476ad09db74e5b94f52ba5b2e1e883591802dc1cc574bac3ec21fa48b3647b74eb3f92f798bb92f58899b11e41cc745d SHA512 c330d3db65c822973de1113c9a0164f4641f120d3bdc5fdbbf9478607b16459d32b243152e10c74e04aee307dec479c4b4841fd5142de6c6b9595d4a058e9055
EBUILD netbeans-javafx-9999_p20180222.ebuild 4397 BLAKE2B db7454ba393c76e0c8f127c75d0ad4f84f1cf65844661d910a5cc0195d35e3cfa91865d7b2f68694c1b61956020f049cc97073739f5b3f6e4d3cb93c1439bedd SHA512 faab558a9918f09e63feb6d3ca21cc943ad8f6c3d7c18201d04c7e78f5a04d99fd9d66d61c833864b6186c989e8255b32607a64d1ad0fc16111511cf23b82fbb
EBUILD netbeans-javafx-9999_p20180223.ebuild 4397 BLAKE2B 18ab76876b240aed7422e0ce657bb5164258c675577472b76d774442bfbebd3023254fb2e9e30d8840ad77a603a9accbdacbbf1cf6446f35c7666299599e6cd0 SHA512 8abc9a709ba5c52c743921a4d5fc0e3b338d92e68e05042e48c2a06197bcc0ce18cbbeaaec3f802f44f8434fe97b34122bf876634ad909dae13a09a94ac07cd0
+EBUILD netbeans-javafx-9999_p20180226.ebuild 4397 BLAKE2B f4cab011a557f55ff8ba9b6bfa4b67fa6854d1d5accd308174d52736e84006d985787260e846a5b08f722d60573918c2fee4b1587a5d1e0bb84d7ad5d7590e5d SHA512 494cfaac0abf444676903484a5eb4fd7985e2f4f4698582e8df93a1709e4045f4ff591d7cdb1c0101d129be4e1541dc19cda577178f588c2ed484dcba31df745
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180226.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180226.ebuild
new file mode 100644
index 000000000..e1f9ee8ed
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 a68453389..372b7bd73 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-mobility-9999_p20180126.ebuild 4086 BLAKE2B 305aeaaaeeec94ecc5d7c72cbd321804821860e900da1d62a8e155d68df487d6a92d487f2684c9d8e6e224fe71f9ddb7d2bf098ef77116ee6dc634ed70b9ee45 SHA512 d1cca1a8ac58e963e5ecadf8cabb7acd5f4734536d351b6a64c300562c0a6eb9cdc2681a53ab561db5fb51473599dbd314fddc9ca35151c5936629cceb71ce8b
EBUILD netbeans-mobility-9999_p20180129.ebuild 4086 BLAKE2B a87197c8446bb13421bba53c225fb2b0f424ce1274b317d4e504c89623fb03fead1a8f08915aa1ba461e2933f0ecfc49d76d826742fc16f6bb5e0bd2ffa1e03e SHA512 017bfbe9c668e4c542c836c4ac514e5c69edfb41c4e09d310fe652998d48f10a9ae3859e0ff7be74701faeab743f0100cc22cee0249b01a738841bea7ce7bdfd
EBUILD netbeans-mobility-9999_p20180130.ebuild 4086 BLAKE2B b598bb26deae642d53f2689845364f8afab12e57d43c36a0f84dcb7c111104e4c7fa7fa9db4dbb48699716903c95bce79d5c1845d2772eb8629fdb99a26a82e3 SHA512 68905b757fb574e54f27a0579fca7f75620783465e9a771f301ee8e86aaadfeb0d5fb1c8d4b7b1f3249592fdb940c2d6cf06293621ada5b842666f79766fdf5c
@@ -39,4 +40,5 @@ EBUILD netbeans-mobility-9999_p20180220.ebuild 4086 BLAKE2B 56aeeb029ea39692e153
EBUILD netbeans-mobility-9999_p20180221.ebuild 4086 BLAKE2B d46f1f0d72b7c89f681fd2fd6c25051058367af56240ef9ff2e93a947a9d8d09082aa11064d843dc32fe21d2e2cca0ab0b1c2a6d9ecbc92144395beb6f9d083d SHA512 ecf942ebd6343da0595a68adf4c60f0ef06f2ae81f606e0a49b4f63c282501f5a5b62e5243591b038ebb081c30f7d79168a347d3395caf5e5f55c5b077211b98
EBUILD netbeans-mobility-9999_p20180222.ebuild 4086 BLAKE2B 2f8ee4f7496f93296bb6c917d44d2eb55f7675d0965aeb0cd9fb624a0c197c313eae56a20406810ecdd7d2427b10b0132de06a5f2da41490d455aafac65c383d SHA512 ca496d70c945ced44a127129b6460b6e3b8f130b8940ea794413fde1c521c9f11e71faffc86cabe745dca92b22016d4ccddf2ff7533296108a8614c39c4d3ffc
EBUILD netbeans-mobility-9999_p20180223.ebuild 4086 BLAKE2B 96d43071cb1bdb86af7ff0c27187cd6b57ee928495fae2137f431dbe8a87e51dbafbf0bdce41f9976d9da02f692306ae99db68909ffdc963b9266e554e9de8c9 SHA512 e8b04065001787cc8bef7b3cef2c9bee72f3d3f35443804b4b5fc6804306e73e4be389c8413af5cc4eb4d2d9b14c810272c2e8169d79e00aad2b97295a2e0ade
+EBUILD netbeans-mobility-9999_p20180226.ebuild 4086 BLAKE2B c02b82d131fb58f3d96434f5bf3825f3c00c58ace0ead0c4f9c993357ebe10a1a4f18dd5c1aceaa1b7ce4e25275068ff115e674f24908e05d55f3c417b0ce0f3 SHA512 70e28027adcc0019027d1c2abf21b47611d3ae508ce307b3c2651eb7c8cf5221eb1bababfe2912703bbd23a2f0e4e37291cfc2dcebeb03646478cfb47193dd98
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180226.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180226.ebuild
new file mode 100644
index 000000000..b32476f32
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 6927dbe5d..183b3d629 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-nb-9999_p20180126.ebuild 3786 BLAKE2B 4ab968c310f1959318c75c8cc7338211aa4598ad2a8d3b4325345e2be6804a2271f26b2311a196da4251cc99874a07601324d651f07a26259016d867a54302ca SHA512 b092dbe42af1607dcf665afc50aaeb1dabfaf3df50c973384ac72769099592ceffd781c9616628708502a281de2b440b824224de305d4eb044bc969c897f3bd4
EBUILD netbeans-nb-9999_p20180129.ebuild 3786 BLAKE2B 75e6f67ea036c8d37fef5a5a2400bc409420526c32a41a9936af254e2116d050fa287b2ed49897e8f1382ddd34624018cc4c0245df0fb553d3c24f7d1f0a11a1 SHA512 552fac0216e48b8ff8e6886465d1814eac223a43fca7169be9a27169f9cf86d552e617eb9e61459a529e3f627f860d4c793e50703c33260840327adcb21c2d60
EBUILD netbeans-nb-9999_p20180130.ebuild 3786 BLAKE2B b2b609557d228b45f63393a86940d91914cdebb42f837fa550aad704f54ecc0a51fc1c5fbacad0b93f7cac511bba841d9576d7cbaf7031642dc545aaf974825c SHA512 b3680339b6d5c9f4362a831bc9ae0e7b13ea924858add6b54543b4b408d4c4cac7e418582bbd5da256dca259e3cc6d79c6f48e5377a387698eaa02a535d81149
@@ -42,4 +43,5 @@ EBUILD netbeans-nb-9999_p20180220.ebuild 3786 BLAKE2B a11fc78a897f70594808a405d9
EBUILD netbeans-nb-9999_p20180221.ebuild 3786 BLAKE2B 1d5ef51bfb31cf9988ef105cc88cd2eff8af047bb09e02f9f7ce80839663ec696e44cb7a5509386ce5d018797e457bee4427b704b884dc18820d1a9e07785786 SHA512 e4ff1e33099fa4b99a95eceb079762b183e582b18513ef19de5fc03d56ef4471ecb40157f27449d7a5c8f6b9090d1ccea2e29c2e4f8959bf4fc1178f2a64a12f
EBUILD netbeans-nb-9999_p20180222.ebuild 3786 BLAKE2B b3c266edab6598191fa8ad64739a1bf07dede561e77313d943527ac4bb510553a0254deb8215d5e660352ffeb09698459a53561d091b6e3853445f0cd619c2fa SHA512 5f41a2709adfa74050c183e3ac34a8f44aa6869459b283dfeed786cd43129bb77bcb81e46139778088861644f8342c6c7c94d05136b50d72e490f2d453dd854d
EBUILD netbeans-nb-9999_p20180223.ebuild 3786 BLAKE2B 5399fee0dbc8b893ef07b172bcd88fb582d2ac5fdfea7ee708c5e9e948281d5862477abfe7ec3b4eaefd7d7f17421830c6ab09a1c4949729d8a6fb6f2e66a0a6 SHA512 3f90bbf163ef5452873a0ba681f7bc24c446a83c18d2b5e9facf164fd412f5fe11a2041221239685f7869747f10ca6e4b282f739c0563055a3fa26e1b49484ba
+EBUILD netbeans-nb-9999_p20180226.ebuild 3786 BLAKE2B b69e9713f17b7742f9b2b5638c6201625d39fd81bdb4f828d0a247334037179ca968e999f2c7b85023f66acc1c57f727772278e661fbdde6e668732efa5f1c79 SHA512 cb4ba194bfd5075d4bf3fb1fb5f927b6d2aaa77a0766df557c6e094b7b0dd76cb2d55b8d54adc24ed0b3561d6e279061254c4ee314003d52ec567839518ef02c
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20180226.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20180226.ebuild
new file mode 100644
index 000000000..9382038c8
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 67b1acd02..90acac2da 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-php-9999_p20180126.ebuild 4095 BLAKE2B 82cf982f59b64cd5574bd51604b250dc6b27716008c7b1a3e44e922180d676b4a4fd553ab38fec1fc3940b21afb54de2d021514835f2a842124d9ebdd0b06c82 SHA512 459381afe6ac4a5bd9dcaf6b28c97ec8d89533de1d497174ac149699e9301083dcc6a627c912aba678d119516041a72b1672fd47ad3ab81e25df4fe16f7c155a
EBUILD netbeans-php-9999_p20180129.ebuild 4095 BLAKE2B ab3769e41294327c8156ddb56dfa1360653b33daa8e685466eed7aa34055a8fe7b9c484dd955b678d8da3468b4c9fbebe2ad827aafa7646bf8e71bf2f52a11bf SHA512 44074e6a98ab421998b23ec01547177245d31a8b201ab229ff68e8cb3abf94086618130133d8642efab9530e1402b7e98eefadef1c5645b3f75dc64532b16aa3
EBUILD netbeans-php-9999_p20180130.ebuild 4095 BLAKE2B 750388c1493053aa0ff1d66967ccbd5fefae41b8049ba560c6ff8191dd174b4b9a659b28d7d756a0cf70cb8422ec35c847bbda3ca92cbe0587b2a0d4dfc3602e SHA512 2e35205e723ee9dc1eea63b180723049b45fd2e546542f035eb6fe78ad8f3cffb7c9676e5965630212977c2323d1c1800a0a060767d7eb9c412c72a053d380a0
@@ -42,4 +43,5 @@ EBUILD netbeans-php-9999_p20180220.ebuild 4095 BLAKE2B 70ec54b3c60c1c10219eac313
EBUILD netbeans-php-9999_p20180221.ebuild 4095 BLAKE2B 608a01a561d088a60e7906159928aae875d29a2704d12d65a57d8f7e5d59a91c1069d28f4e22b41c049a6444109efbe084b17ea3b88930c1ea7a4ccbd4acd1bd SHA512 cd1b3d4c1cda44314c6fa950743b79d53141d18d868fdbf78d5aad72b546e8562032d590e9e56362e2fb1ff239356e597f708ae250bc5c8eeea99b68e8ab013c
EBUILD netbeans-php-9999_p20180222.ebuild 4095 BLAKE2B 5595d574897c8e3faea8e2b06721aa3d18224d6e24ffc0745ae6b77c70df04eb6cfaddf3163e005fcfb763e685287c81c9e5670750a7df1aed38124dd91c3ac5 SHA512 987ae6a1eac32c22eb186f47d58ba873fa715621f674080458878df33f5c46bd97b949f5bcb902167fb765f01809f6e0c0497e9e7cc441ad8e563b28ce8b78e0
EBUILD netbeans-php-9999_p20180223.ebuild 4095 BLAKE2B a289f66f709792ca2afeff120d7d2169308582a6826203e991918c4b52a68c9e82b51ad74690fa1fc52a1ca99b03a0f88908b7bed8e811ffd84eb70f5b8333a4 SHA512 6a588308a5e22e9cafbc7fcfee6dd2ac1da14202978c5a4f0abd2de269737af6b17269eb344f1fd4c72139c9c6e353819803585562cc62ab494178f1dec27c02
+EBUILD netbeans-php-9999_p20180226.ebuild 4095 BLAKE2B 5f871489a7510e4af8040e024912857f660c30ef24e1e31f65870a48808af40b8f546104d8cd8ad7eab2b910dc41eb399727035735d868c954f745662e68ed40 SHA512 d2cdb85b9e769d61a45407a4f30cbd1521ee28b92c5d0b9932e59e7591e93ec4aa443d188cdff328108563c4cdd2aecab2870cf7185696be94302eb01038d43a
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20180226.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20180226.ebuild
new file mode 100644
index 000000000..d9ce1b9f0
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 2156694ff..9f69540b0 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-platform-9999_p20180126.ebuild 9238 BLAKE2B 2cf769956639535a24238d339f48ee69236d6b588f514a998a07099eabb42b3e3f8c17b02913270c4c828e4a4bafd5e20f22dfeb9a5eae0e95b4f5ff06779d6a SHA512 830e3a77bfdc73d31dc2c78c0e96623e3242e12c3328950169728f5e1bd8d29340a7c115e6b7e1ef1910df7bc9207245356df06f45379f87b99c5c2647361344
EBUILD netbeans-platform-9999_p20180129.ebuild 9238 BLAKE2B 8ea9e0edc343652867e362ef511e3ab2ded1ed791d8e5dc17653e1f2f39574a537e2fb9daa4d83b2cf46fd55f736b6ffb3bd48a3d958649da8f9b77ce36dbd74 SHA512 2f6df34f1923d4aa1f08d9c781a16723deeb622d05c5819b63ee60e10c3a8c78b4eda83208ad24cccddc23babea885a0d906877c53dd894e7c33d1f1b7f6aec6
EBUILD netbeans-platform-9999_p20180130.ebuild 9238 BLAKE2B 8bb526352591a8a7ef5fff150b667b1d0b4110a6839324faada40b0f5abb57e77dd94d9c5b36ae63bdc829e2aa9f2ef32ddff413ad224198bdb598f2c6c09fd0 SHA512 96922a90523098d291bbe26f067689b0c753ada3521e50d7140e0f45a8edc9dbaaae99209738167aebaa6c902435cc6f8adeb82581887418dbc5eea9c5853534
@@ -54,4 +55,5 @@ EBUILD netbeans-platform-9999_p20180220.ebuild 9238 BLAKE2B 1b4f3b97aa884c358d1c
EBUILD netbeans-platform-9999_p20180221.ebuild 9238 BLAKE2B ef23e3c8e73dd7c054feddccd28b9adf1c44cfafc49533904940c23f78d9b4497a33ea08a2dbc305d519ad88cacb9edb9c6fc77bb800388778f344255b7aa875 SHA512 38027c85b936d03bf286321dd265892c5b813c38ea39c36b9b1ae2e8cc895f7681d97ab49e0bb13e6c8389a90cd2a5b69fba389e195c84eefb2a1792f9a7f762
EBUILD netbeans-platform-9999_p20180222.ebuild 9238 BLAKE2B 294be948a4d1306f7424384597dd98790d126ca98e89f3d72c79402c6d08c7313470012c6cea58207c65ac1822fb95676c92e9f3b4d4cf589df4d1c06a7f1fad SHA512 bf81b247aba27a2ebf1700511444c84ed46626a6889d009231843d6739a256157b475adcad5121b9e39f0bb16f81988a5864f51d8ca065b918bf4acf70ce9c41
EBUILD netbeans-platform-9999_p20180223.ebuild 9238 BLAKE2B 189ce651b5593f38b264ccebca5c777780ec54a2a2fd66f2af3311fef23dd9731cdc733ad4e122af0ffed9c4f8eb88cf9a4a642850452deeaeca40603a760ce0 SHA512 032aed0d07bf08337b5113a0ceddba85875bd8435f6fb9483526a207a0e011d428ec7f81c4b0d6928f784ff88ae0302fa787e898d778e97ae407be1b13e84293
+EBUILD netbeans-platform-9999_p20180226.ebuild 9238 BLAKE2B 51150e7ca4f64dbc1a63fa52d6f04b43c66100d9bd0a5153dd44162aa6dd92a47ae505f9b9e38bf954b2606ea658d5195fd24f5c57de5f2741e07ec9d574b8e1 SHA512 362c1f97bd6c33b004b8dc6bff7e5b1c91698d0ab372cf8d7aac887b5708f112f401ba96e122d38c63d123fc2d597c5262cdf01d028bb883bbaedeff62d5d0e7
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20180226.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20180226.ebuild
new file mode 100644
index 000000000..0cfc90e5d
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 23c72d352..2dbf2b4fb 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-profiler-9999_p20180126.ebuild 3146 BLAKE2B 470c3d5d71421c4b3cdc19dbc82e25f5984bd5c717230375666652086aa56f35b44e5055af4cd152b10695f8e713ee4c526323df574283fac399a031a41b2d78 SHA512 488776563bc89b240e6e2f7947216ebbf3635c492ba4076526db77885c182b3e3bf93ffd03a6bf6409f840eb3ef592690335d48d54986ecc1581f1d670a9689a
EBUILD netbeans-profiler-9999_p20180129.ebuild 3146 BLAKE2B e75d5e1e257bc0db203a6453aa7964a802341f199ee58925b6512867745748f88568ed1b06a82658183f86f9f5ae9c7974824c95764e995963d72036b91b201f SHA512 fb62091f8bf0d48f4f3cdca4e2981d32f7a106a012dd1912bf9ca89757aa8cdd068127e13daf2ca098a1f2573766bf2504d2d949f4fc77cb62f189776f420727
EBUILD netbeans-profiler-9999_p20180130.ebuild 3146 BLAKE2B 8a73cbaa9cb11cadadbbb004805e3453c5b471436221c423c68185d4199999f75cdababd9748ec71020e63ab5a41a739f36585f7495636a7e6177f05bbf7dde0 SHA512 2309807f8f81e0377ea6f354601789965fc42773ead839a754cb82790e2e2584185b2ab0e7ef4f5e6383c3cba66b4277713f8235005eb4e0ab938d9dda5b9cc7
@@ -39,4 +40,5 @@ EBUILD netbeans-profiler-9999_p20180220.ebuild 3146 BLAKE2B 6b61bd4a2cd1c7455dc1
EBUILD netbeans-profiler-9999_p20180221.ebuild 3146 BLAKE2B aa84c2782b31163f26785332be52e031387524e4a694801202dcc34637ad1cd9cbdce215d42cc47a950867c78e72d4ba4ef9a466f988f0aa73f52be2a89b8b80 SHA512 be372cac6a64b3fae670e82ab84f9c13a6c852a4ca596eea375594b214c2672e9bc19957d5d6cd008561c63d471e5494a8eec15003c13bd7e0e8e327fa5d78d6
EBUILD netbeans-profiler-9999_p20180222.ebuild 3146 BLAKE2B ef0b8346f6394056059074be9ef63bc3171f173aab73d431a8b528befac3e7bb10aa2cd81602af5ec3f520b082c1a5dc3e49fbd1d8f12835b0a9b640c0ae118b SHA512 f433c2fa92c6484479f6780af28f8756cb41e9fa63e3f8343f6c061b0384d13d315340e3112ee4ffe3f43540683000094059d1620abcc4acb1529467a9beab06
EBUILD netbeans-profiler-9999_p20180223.ebuild 3146 BLAKE2B 8ef7d763591fd23ba16fbca42581e31c951312a150714c3f91c538fabf4b2af978982cf55cc43a3ab3a78f3b1a8a57a0a71c623160fa0cd87f1eb8572dcf4b2e SHA512 1645af07d71522e696f4951f3abc137948594fcc29e1cdf05489f6689e626e8dad8f9604d19b903c76ebf7ef4f7585bdb9a61545c7164a0a4d47e80daa9ff450
+EBUILD netbeans-profiler-9999_p20180226.ebuild 3146 BLAKE2B 9326fd14613cfa1c9c05de34464b2eda213fdf0e0acc5ac4e5f8ed3f5dce7f1893c455e11949bcb9cd61239575bd81636423eed4190e7f17737fe98ad4c3ed0f SHA512 7e76df7e55e6289a960eb6ed5bd1bf128b76fb32776afeff331fc7699a03f25f08259299aabfa233d8ccd93804c44d3cef08c37ad60cb6cf862bf242375523a6
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180226.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180226.ebuild
new file mode 100644
index 000000000..135b925e2
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 026d253fb..6d7d47e3f 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -33,6 +33,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-webcommon-9999_p20180126.ebuild 5932 BLAKE2B ebd2355414a68cf5a2821fabf232f721a0ec3ca7caac156ee7726d7ca14b912b028f58e8d290f12ea24150e1a9f273c70e181600fdf175c1a0f75e414fc8e457 SHA512 74af07e76ecbdd21510be561d059f96a02f6c767cd60a1a6d40fa1d8f162af20d142d5193748006ca529109c3a88f4dfb5d245f65bb254153d80d431489be294
EBUILD netbeans-webcommon-9999_p20180129.ebuild 5932 BLAKE2B 4811df4e5c1777f1757fea03b0ebf0b26607857d08ab6f02afe2dd63fe109dbd9d9b4f4b60456f2955c09af8c9c719d97bf0350a5e67a78e3d2fae517b16fcff SHA512 96e5cfc31a2fbb2af8f7e20fc042e9297e3fbb31ae73fc550e6a1d5b616a669b9ec2c53872311fb6a7a83e96c1fcf47887bf4ee169b86d205409ce4911f221f8
EBUILD netbeans-webcommon-9999_p20180130.ebuild 5932 BLAKE2B 21551977be8fc64c50a1a5886292cc1d10bcb1a30f7e0e65269749872f0c18368c48c48f2711a115bd80b6dd3c29602f3a59223cf3a22fb2b24e6c4fa6dd35e1 SHA512 670497c65c1724a6570cc6cd0cd57a73b1eeeca1e1f173f81243f836b6a02068bac4d3e7d6cce5ff332b7d00ba09e82bef310a93d31874b0a505ae0cca13d942
@@ -53,4 +54,5 @@ EBUILD netbeans-webcommon-9999_p20180220.ebuild 5932 BLAKE2B 5905b181be84296362f
EBUILD netbeans-webcommon-9999_p20180221.ebuild 5932 BLAKE2B 83bdd24f156cc4af8b56ab8f260729a439979d27e742ef9f17990e7e157653af778d626e30ab7525440fc5ae60a37e2874d5114bbd6ec6d7b61e0750e10d8467 SHA512 ec643e867fb7e354c9620e4ce9372349be0860bb801683a5f50b13a17aefbc2ddd46ffea889af196b58c30a7cb8f7f98734e487f4ccac06035a3e20d06d7736e
EBUILD netbeans-webcommon-9999_p20180222.ebuild 5932 BLAKE2B 0c1da95f11d9cd19f7543579b8f6fa1709ff78aa21287d55809347449237fd9a3b6ee847e02596fc759ec9713009591a6fe244b6fbf70466b5fc6954ef29aad1 SHA512 b085c0efcaa9c3014c26a4fe2b8c0aec4e956be627059848a23ad2e690611ebf0824295b36c38a9170738800f3b20968de9c96d09f1fa3b7fee1962763ec3b56
EBUILD netbeans-webcommon-9999_p20180223.ebuild 5932 BLAKE2B 6932e23c170379e2be543cbef8de884c90ab6ce52bf7b45cc1b560e0ac7b6e05782ca4c7c5a29012faec2bde1fac55847f8c67b5ca7cc023c9ccc2ac66d74d7f SHA512 04362add8503254df0833601661fae79732ec9cb5e328dbf1c2fa79aae34645af298dd497d7d138a7b1a9c874604e3ad4886b7e87b1747005c639f51c4c751dd
+EBUILD netbeans-webcommon-9999_p20180226.ebuild 5932 BLAKE2B e597b15bb2352866c4f5cf486d56d85b196e073f83130fcd403e2ed89ca523600b564c09eb60f0c0f48bd29ccbc2d484a02e204edd30e3c10ed3f36655ab7643 SHA512 7cddf9c18fdbe734120960a882c4dd67d0d9d8bf9c21d3be91195e035684e46bd0af78b87b231384f6d089223fd8326302625c84be5a81b9d9acbec55913878e
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180226.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180226.ebuild
new file mode 100644
index 000000000..acf84dc76
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 7c061b972..6a4b50087 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-websvccommon-9999_p20180126.ebuild 2395 BLAKE2B 512aa0dc1b4bdbef669eb056bd8fba8dca3a6c41ac07c2d30138494449e4ca25669848c47a3a48bc01284121d73a32b39f4b7239f7c61243e57605c8d0002691 SHA512 58512ad77cc2c3031d91d5099df787493d0080b6bf5f9b40e7e6a9c36e6285035bd6cdddda44bae1eab82c97e5df2d6e0ab220c2cd9158d538aad53ade6e609d
EBUILD netbeans-websvccommon-9999_p20180129.ebuild 2395 BLAKE2B 7a1eff56a7649879db19e58109e97287242dd256f952d7ebf6676848dcf1ab4a7f0ad459f3637972fb29bf929f3746a7b986ddf16d795b3280f0ee597761d4ea SHA512 1627cdddf9872f06056a1fff8ed67f38a4262acce7414aabfc5a5ea78f5fa70192b2dee748780a528d13fffe0e2c5702dd063c9fb593d9076403c2e87283ac2d
EBUILD netbeans-websvccommon-9999_p20180130.ebuild 2395 BLAKE2B dbc1ca1e9aa0540115c933011440f93f6add03d40ccc77be1843860e4bd2e140adb292848f66721fca795a87d3773b0c7b413b0ad3e46070e32ee67b4461c31e SHA512 5e0a26df4ac82a1e94c661d1e20cd3d442bce5db738d3a0bd94c06fce23395fc99a28ddb81c074a87b251f8bfca15e431afa6d8c2d1110487014755361ec85b6
@@ -39,4 +40,5 @@ EBUILD netbeans-websvccommon-9999_p20180220.ebuild 2395 BLAKE2B 0e8dbf514b0186e0
EBUILD netbeans-websvccommon-9999_p20180221.ebuild 2395 BLAKE2B 6faeb417a9f990e9a4f4d9c64169b88db43fd5dd7b5a9fc88346dd2cccc498aaeb57c880e9a0bd25a0d07baa5857bf62f24c24fea1f3ce6fe9582300a824ffd7 SHA512 c090ba084f016fbb1ea2ca65003ae2c318df9819f625ffa785e5aaef4207c4be2f307b97f7aaa959aae2a69f6327d412bf049ddcf0fe50b352a8ab27dc44faaf
EBUILD netbeans-websvccommon-9999_p20180222.ebuild 2395 BLAKE2B 4699370c5507a33b1229017db6c349493a27fbd0c13ce77a1ec9413b97236e584e9cada598ed23019956a4dce6a417e5893d8b3e2cb77a9a437f0ac9790f44f0 SHA512 309c381537cbd60e6124cdc0069af7d8e593c4eabc54c0f7cc7f65076c5ad08a17dbc0bf4bfc33dab90fd9e9b7b2eb3833d82364f3f6985b23598da2f2e3f722
EBUILD netbeans-websvccommon-9999_p20180223.ebuild 2395 BLAKE2B 44375976d9ecfb916e34e8afcdf1370d8909e5824ab1e268479723d5638d2730a7910850e1599708080488c74ed812d9e7f3cef8804530a2b0dad03fbe30a348 SHA512 b8cfb452a8dade7d8c59da3b7a072514e29af79797909b7ed8ebce58e7908e5c2bf3eb2187d65c16aa43b7642bc4f9e39b762a4d2372d4be8d435b378512a269
+EBUILD netbeans-websvccommon-9999_p20180226.ebuild 2395 BLAKE2B d528456fc42f84c1826738cb75a83e8730ca75badf55569a97b2349efe20aca2ba574c1c83e74dc348f9983707b0bc271064f6a1f8b9b05f7d9b45fd25fb7941 SHA512 b25deb5220584a9e657d48d2af4160ecbce4ff912918a251e8e57b05202ae52e34a60f1643126b466e2f525d104d1045de5917cf2fa2235d17ab25e029291e26
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180226.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180226.ebuild
new file mode 100644
index 000000000..d89e0209b
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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 f97c32074..27f79c337 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-9999_p20180126.ebuild 6186 BLAKE2B 559dd47232ec9e197c00b3edd3889b185c000960fcc9674aa8390f71e974bd1be990f6a83fb4a7a792e34490337dd82589bfc0a3436bba5f6a79bcf369365010 SHA512 c8915d32859be20aefe4b455436767b2b0ef9f3f285cc7010f1c32acf29caa8feb2fb9500c6d7c258b35d12a3519ca0ba2dc03ed18309a9697e77da96fe8d4b1
EBUILD netbeans-9999_p20180129.ebuild 6186 BLAKE2B a20459360b4ea79f0e93cd57a0fbefd73b4a61488ac2e621278b54ed3c7b51f5373f9234196b1024ecee80167eb3a73f6036099a645048eae17c579cf32ccb7f SHA512 566e3f211fb007ef42ec445e497436192104f20bd4f6a3d6fb637bf9098326de56d07b15a66f91e67bd668c473baf14ad127fc5c715ce04d489da26bfe864170
EBUILD netbeans-9999_p20180130.ebuild 6186 BLAKE2B ba7c1918ff14b26be3b08cce295cfeb58c9c9586be492ec748331716d78f2e3ad55f83008f58a3ecab95294db3cfa347d6e4ddd4a39cda0426d8386cfd4ce39f SHA512 fd9e09041f7963db83ee68c236014f23b294dc7508eeff9c28ea3409746a0bec0178c2a7ecc5046324a81d0342fb0fb0bad4ecba6951963de95a2cdfc5e8fb33
@@ -40,4 +41,5 @@ EBUILD netbeans-9999_p20180220.ebuild 6186 BLAKE2B 1250c15d1fc9026b80e87f5dc3895
EBUILD netbeans-9999_p20180221.ebuild 6186 BLAKE2B 71026493ad46a86604f2b68373197e54fa9db8a63222cfac346582bf7d2881f857d637f94af643cdc9777e27b43f3565fa672a7edb0cb396b5fc44957c9777ef SHA512 e9eff42ac17139f58b1edcdf7e883a64038d08b83c9f548a974ceb68e7ee0c4a9f6101b084936865cded8fcb6479af158a052b499e2d15f3e6c0cb75cbf37d97
EBUILD netbeans-9999_p20180222.ebuild 6186 BLAKE2B 51f4ef1207b985a8bd904230acbcb305352e2153076266d78edcf737d45532f205a1c8800cab1776504c15c89ffd29aedc9fedf2051fca80f20c0159609577fc SHA512 1a054e257b3058b2770fe448d693552ea3fabcb6b8440a1ff4b126c67a935b690f5e147036f7fa98ee24e681d5e9e233666b7d3aeef9c586f905d0af39a519b6
EBUILD netbeans-9999_p20180223.ebuild 6186 BLAKE2B 734440263c410e74778f1d0fdc6ef1c309a2b29a5adc853a326567a2d62a5b12917e4f94b22fb72346678e98d8b4499cb8a1de8892728b56c746d3a74f89712e SHA512 9ed352417d8467ae7e1503ea63b53948a412128e7433241c199e69ebc88b8dd9f5235eb31a6e95a7f49b69a11768be12ccddde995da9159cda845443e16951cc
+EBUILD netbeans-9999_p20180226.ebuild 6186 BLAKE2B 231de4ac6771fc377fafe7720f8511ba3c1333b54e4e256eb2cf53cda46ea1ad3ac6054eae4b2a50f42cad9629543de066543fc00319c5bd0eba9c2bd69753c3 SHA512 d21bcf02f42365495fd239f0b390290e3ffbf097260c13eb5ae021c3221d9bea8c600817caffe6eefc34d5f1010156f6af684400ed87ab2a60ea1c53cc13366f
MISC metadata.xml 329 BLAKE2B 88f7b4966ca5fc8e18720ef5488809039344b15344c78cc4f016ab3fa95f76283805ef5d1c85b5c0b419462a0611ed6ceeecb0eee65b5b1b068a605c89efdf6b SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640
diff --git a/dev-util/netbeans/netbeans-9999_p20180226.ebuild b/dev-util/netbeans/netbeans-9999_p20180226.ebuild
new file mode 100644
index 000000000..96507770b
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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
+}