summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-02-20 08:09:51 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-02-20 08:09:51 +0100
commit5e53925e01a3af53d44c871c6f6d2bafc96d5aa7 (patch)
tree1389ed0f866c454d3774ec2bb9b847edfe09d5e9
parentnetbeans: bumped to the latest nightly sources (diff)
downloadfordfrog-5e53925e01a3af53d44c871c6f6d2bafc96d5aa7.tar.gz
fordfrog-5e53925e01a3af53d44c871c6f6d2bafc96d5aa7.tar.bz2
fordfrog-5e53925e01a3af53d44c871c6f6d2bafc96d5aa7.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_p20180220.ebuild97
-rw-r--r--dev-java/netbeans-cnd/Manifest2
-rw-r--r--dev-java/netbeans-cnd/netbeans-cnd-9999_p20180220.ebuild115
-rw-r--r--dev-java/netbeans-dlight/Manifest2
-rw-r--r--dev-java/netbeans-dlight/netbeans-dlight-9999_p20180220.ebuild87
-rw-r--r--dev-java/netbeans-enterprise/Manifest2
-rw-r--r--dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180220.ebuild252
-rw-r--r--dev-java/netbeans-ergonomics/Manifest2
-rw-r--r--dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180220.ebuild87
-rw-r--r--dev-java/netbeans-extide/Manifest2
-rw-r--r--dev-java/netbeans-extide/netbeans-extide-9999_p20180220.ebuild94
-rw-r--r--dev-java/netbeans-groovy/Manifest2
-rw-r--r--dev-java/netbeans-groovy/netbeans-groovy-9999_p20180220.ebuild97
-rw-r--r--dev-java/netbeans-harness/Manifest2
-rw-r--r--dev-java/netbeans-harness/netbeans-harness-9999_p20180220.ebuild100
-rw-r--r--dev-java/netbeans-ide/Manifest2
-rw-r--r--dev-java/netbeans-ide/netbeans-ide-9999_p20180220.ebuild359
-rw-r--r--dev-java/netbeans-java/Manifest2
-rw-r--r--dev-java/netbeans-java/netbeans-java-9999_p20180220.ebuild268
-rw-r--r--dev-java/netbeans-javacard/Manifest2
-rw-r--r--dev-java/netbeans-javacard/netbeans-javacard-9999_p20180220.ebuild120
-rw-r--r--dev-java/netbeans-javadoc/Manifest2
-rw-r--r--dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180220.ebuild155
-rw-r--r--dev-java/netbeans-javafx/Manifest2
-rw-r--r--dev-java/netbeans-javafx/netbeans-javafx-9999_p20180220.ebuild110
-rw-r--r--dev-java/netbeans-mobility/Manifest2
-rw-r--r--dev-java/netbeans-mobility/netbeans-mobility-9999_p20180220.ebuild112
-rw-r--r--dev-java/netbeans-nb/Manifest2
-rw-r--r--dev-java/netbeans-nb/netbeans-nb-9999_p20180220.ebuild114
-rw-r--r--dev-java/netbeans-php/Manifest2
-rw-r--r--dev-java/netbeans-php/netbeans-php-9999_p20180220.ebuild113
-rw-r--r--dev-java/netbeans-platform/Manifest2
-rw-r--r--dev-java/netbeans-platform/netbeans-platform-9999_p20180220.ebuild154
-rw-r--r--dev-java/netbeans-profiler/Manifest2
-rw-r--r--dev-java/netbeans-profiler/netbeans-profiler-9999_p20180220.ebuild107
-rw-r--r--dev-java/netbeans-webcommon/Manifest2
-rw-r--r--dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180220.ebuild118
-rw-r--r--dev-java/netbeans-websvccommon/Manifest2
-rw-r--r--dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180220.ebuild80
-rw-r--r--dev-util/netbeans/Manifest2
-rw-r--r--dev-util/netbeans/netbeans-9999_p20180220.ebuild235
42 files changed, 3016 insertions, 0 deletions
diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index f2ae27439..e60195751 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-apisupport-9999_p20180122.ebuild 3058 BLAKE2B 8a3b7d05dccbcf92e5a2cb1b15f6cd6664cb2dd31d60620a79c5acc9c1f9d98f0c76990b4c57951f27e5ac4a883bddc119d44c38fc029ab0b4dcfc4fcb0d3673 SHA512 ed7d3a741d745d3777c66773fe8c98a3644bd88e8880999ef11da5481b97e7ed989fbb06cb03fb5784bc00da285a54e07145e670204e034a02d686bf43599495
EBUILD netbeans-apisupport-9999_p20180123.ebuild 3058 BLAKE2B 03e0854464f8020b0a17bb3db27b92774f21f6d7a007e113165d0bbafcd3faafbc1dcf02928c715e298b05ebdbffaaf285ebe1d7f253687b4c1caac6a3d0f2e0 SHA512 2e33a15fce632f355c8e3feab2e315b4a35a342044b5831f30c78c3cb56cf1b831ecbc201aae09de0c0f47e2d8a02385ee10a328b69d4636790dd9126beffa0a
EBUILD netbeans-apisupport-9999_p20180124.ebuild 3058 BLAKE2B a67fc320d6dc239b1960edd725975d3823b44d1dc9ca051c3f456818c8865854a07519e9316a5422041a6b647cc305ffce6fbc24c8d4fb02d499b942f48d1859 SHA512 a280f7059443557b325f20262a2972f4f219e1374cf7c2f998fc1653fe1a4620219486603634af151fb1ee1feb0b83d003f77fbbabaa77551b2888b21da2cec3
@@ -39,4 +40,5 @@ EBUILD netbeans-apisupport-9999_p20180213.ebuild 3058 BLAKE2B d15d696f4358d61343
EBUILD netbeans-apisupport-9999_p20180214.ebuild 3058 BLAKE2B c14486a1287c2350079bb7922f8e17dbf8e21e7668974e002abed1de5b5287771bf81a2eea596053ea2b8a07fc6294eb5dd69ecc57120dfd8ccaeadfc5005022 SHA512 a17e268bf12bc48b78445c9c14bef5bd4e940eefc04c32edb3f6c30db07070f6dc2d3dcf3118bb3e9f41d3f37ea51cf4d68718495ef2146c9dde19df1647e092
EBUILD netbeans-apisupport-9999_p20180215.ebuild 3058 BLAKE2B 792ac53ceab897b50b2900ba95ce295627f833989d9125e017eb75fd4c3b3ba443a9526254c6551709fb46160685426d9b59a796c6b0722fe2fe6ce8103fa559 SHA512 3fd06f641a439d87c051fa1365ad4a5fb848d11972e5d587d74da6b7a62c264a3dc02a0808d429d20417826176bcc8d492810ba957da5fca72e260dad67b0c78
EBUILD netbeans-apisupport-9999_p20180219.ebuild 3058 BLAKE2B b41cb707d3367529e11fa7bdd260c5c10d4de986b785cf2b5775b9236075ac295c3801db277244650df3076efca75a6c0a94e94c0f092e53969e38df75870d2d SHA512 5dfbca0f281fb0b1015eeab7eba5b8f44544ce956110956abfeade9f20c6d555a035c13b8fac1675c4492d479e0be5f2d9b38478d674eb24c2e86cac0b836d08
+EBUILD netbeans-apisupport-9999_p20180220.ebuild 3058 BLAKE2B f5e254556bdc82837188f2e83e666ef16ef574a8e6d559b7c8396e86f03879ad64092720f85daf3ff9f13b375f65cc7c6311f66c7cfba7b1ed303ad6bda04b2d SHA512 62b8ecfef5da9b35ad7002fda991e4234898cf1704b3f8483e948815fbf9f40285817a35e33541aeacad0cf0302056e8d4129b3c970274a923dd75191de3cd66
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180220.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180220.ebuild
new file mode 100644
index 000000000..f88956416
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 3dd37d3e8..b6a0fd9c7 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-cnd-9999_p20180122.ebuild 4686 BLAKE2B e15b8a4e61be08ff08c7f50d1440147ff0864ffca9885bfbbd699373b1405a7e9d788abb1c7b99d2c72279c6fbab4aaf0e31bead26bc5625b2710061b204133b SHA512 8eccb09b357dd2515f734211a8be394fa19d23a276d345e9fbf82f604a2d0b59c5080048527ebc5618d77b105382681065a5557fcff42d3aaf7d6d0156aab364
EBUILD netbeans-cnd-9999_p20180123.ebuild 4686 BLAKE2B d29365cd9fcb2e09fd671a306e48655c436152f819e44e7e6dcdd6187981b3148d8fdf978ee58afd221c66157462366c41c10da92a40f2606186d2e8287d427f SHA512 76b36d42a03ab51b9be6cb07bda1680b41dc5c0101920f60ac8fae2e41a4657ccd8f91bbef8b4dee79091d4fbd7827e5ceede408b7ac3aa5c5e68e7af64b3c1a
EBUILD netbeans-cnd-9999_p20180124.ebuild 4686 BLAKE2B b80baa2fcc74921149e8d59d6ffe0f44cba9c30b89c925fcd1978b58ad442b0d6ca009316409931a2593697111022b7439ca75d444f646b144a5acfffd75f95a SHA512 07817bec14f1a0d1e153f76801f910ef3a382700be29c314523ae779a448d99f536316c5711416d544a0a117130e3cff00325570e3eea0a3cca4b4c5a95f5e23
@@ -46,4 +47,5 @@ EBUILD netbeans-cnd-9999_p20180213.ebuild 4686 BLAKE2B 9fbe08366aeaa8bdfd48666ab
EBUILD netbeans-cnd-9999_p20180214.ebuild 4686 BLAKE2B 59d3d4bd36c096c4fb48272b6fa8f2131b5e3a76c0c2a24d211febedf6ce23f4869a9c373aa6e2e9865675db9824b44da1736b833749c34ecf89b8156a4b4b1c SHA512 02a2481ec6bf6cf10d738b34a0225922b9886d4f95ae964154b53b62b89a58a4db1da56e41200ba270f0e42610365bdcfeeb1ab4de0055ab15aef23d0d951e61
EBUILD netbeans-cnd-9999_p20180215.ebuild 4686 BLAKE2B 5143d59e76833cd88e9f960e9af269464c5f5eb505a0503e14052177be139597341b4a8171c0070767758d86ed7a36cc7a6dd38296c6e43df37fc1474162c751 SHA512 3aa92d6aaa232b33db55b4ca203f2fbad34022fd46c109a2d0467cde3b087db34158bc4e26e1f400a03e324a2b4e4d03b061781fb68fa2aa966d1c83e2799f83
EBUILD netbeans-cnd-9999_p20180219.ebuild 4686 BLAKE2B 1c028bd844c91bcee9f5b7dcfe2d3438a9d6d1037741deab816501e2b89b1d8f2f2383fcb52f179d7fe99ced8e7705a47b7b40887b6654e022413ba0f6c704aa SHA512 3c45cad7b154c844097c6ecdc64a05e676e9c103765c0057ea2246f29089c2f5784404ac4d5d49b556c9abf8094367cf80d98d976e9360d57e544231094d8457
+EBUILD netbeans-cnd-9999_p20180220.ebuild 4686 BLAKE2B bb509617cb1a50e1957a71fb05361b3e371f8a8c6ad5b0db91266b8bfc7cbd76da4394e7a93ecf45a7f8e0cea028884175c235abc09553b836e7abd74b150f48 SHA512 b12f5c833206b18e180416e8c66adb154e5c2dcf77045713bca2fb385f855cb1dc73ee2aec40acb3b6145626239cb5a056b7698d513e57be782fabb68e087296
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180220.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180220.ebuild
new file mode 100644
index 000000000..b85983353
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 d50414779..232c8059a 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-dlight-9999_p20180122.ebuild 2643 BLAKE2B 6c0606557e7aacda21d82ce554fecc368201a61b711d6652d7533af150953ef98c8515b73fae36d4f8e0b5341fdcdde0bde4e3aeeeafd266d342a9f8bfc93280 SHA512 4c208f9448e148bcafce37d3780f4e3a52117260dbb23d7335a9bf10b11ba46a00cc040b946cff7ece18737baf5736f88086a4b5c109137ad76b27ab65418c93
EBUILD netbeans-dlight-9999_p20180123.ebuild 2643 BLAKE2B 59b928aed21a8cc810a30346a6e5798fd2ee8df297613ab2033b6b944b5e65853375791575e964b100d55adebd8442badf71ef9e33f6a8f91ff8115ac94c600c SHA512 d26d6ee1a69f1bcb288bfd01248a1255faea6addb97ecfdebc418193d8083e66d88ff68d670686090d2816c6b4a12016a8a13e3a2ef6f73b75868f9a8e3e57a1
EBUILD netbeans-dlight-9999_p20180124.ebuild 2643 BLAKE2B ad63443bd15a16e1f6983cc3b4996bb07b47257e8aa12d4d510e457f85a4e0322548c38b7d58e6d562c572ddb160b6758b9ae6b85a1691e7cb406c7b8b0ff7c0 SHA512 d2fa9651e4a33c2df8702af8c4e573c052bd893e8c2d7060aca31b83ce69e66bbc981a5797d8ab3e1e1abf8d4b440abdd7a49123fead7fdd584cf4600056352d
@@ -40,4 +41,5 @@ EBUILD netbeans-dlight-9999_p20180213.ebuild 2643 BLAKE2B b226051b51f8d59173e139
EBUILD netbeans-dlight-9999_p20180214.ebuild 2643 BLAKE2B fd4b1c1aba6709c69a110f3a613dafc322ddd280e5aad00ec0ffc33c7f59fa77850d9cad619dfd4d96d753c635cc58ca0dd4d325a5f042d0a6c3220dbb5df390 SHA512 063b87bfa4752db63b5d88f7d8d0b5d64de5a387aea01ed6320c4746365c5129409a80641daf55439bea0fb1471420c266fbcadfe275e8f6b1c2e75f9253c2a5
EBUILD netbeans-dlight-9999_p20180215.ebuild 2643 BLAKE2B 53354a76b63f0b563a4ccf33a3aa3b8c46f5bc9ba51cccffb64e8361d99549b1f22f39e1bb6a93371bc308741e4309312b39fe50446288456d5560f8c325c4d5 SHA512 e5874d9f54259e3e951932bbcc861f49f5f5f4c09ab661e042d24b0cab2c50bda11b9922eddc3283350a3d517887d29c57973443c4c961c1158bf7950a3a865d
EBUILD netbeans-dlight-9999_p20180219.ebuild 2643 BLAKE2B 157b1f260a5218d6929814a3aeff404b67232d92301dc46de9b6d4cb7be4c753e628ccd0d86f38a438d8cc053f379822fcda7b2204fb03507ff9cdd4136c6f03 SHA512 e4d3d95b247623d38d2c8d73fc24bd92672ea17cef2cad49958b61085d935de5bf54a812a7cd2525ce1290cdb2cfb2b010986548f61f4eac50c3249b69411649
+EBUILD netbeans-dlight-9999_p20180220.ebuild 2643 BLAKE2B cb3279d9357f1cd0b2291b2a706728373d85e8d70b23642ac686908197e8599bfa36e953dce4bfbba24d95eb1480d9f35f027b7601b93ab8e39c83a670bc5618 SHA512 2b69f20f5ed0e6f5749d99c94bee16858ada7740648e982105cddb51d6a4989c9d21fda5c1dd5e7ccc110752a9259a92d6a8a0e4dea0b51ee7a20a4e2a8c9f2c
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180220.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180220.ebuild
new file mode 100644
index 000000000..ec4c11a83
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 a7284364f..5e62df996 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -50,6 +50,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-enterprise-9999_p20180122.ebuild 15530 BLAKE2B 21c64a2ae90a89c6f64e225d8a6314b0edd8c362e4ff8785581aceb91133575a2508d11ed741e73b740b4dd72ac0424e4da352ff6a8bb1e808355633bc2e3949 SHA512 7b9a599943a41044fe180de7c4a724530462d807428021ea24edf4cd4893b5e190e1f7d799ac65c82d7e2c67e17a3f7b888464abb514472c0e8f703614ade062
EBUILD netbeans-enterprise-9999_p20180123.ebuild 15530 BLAKE2B a7779d9fb6a1c94e81aae0afe81c73ab062eff5267f6bbfcd8db7113be309b5da3c9e8c57a43436af2ac2f0b7ccf8406478b86fa644e504b6ecd9426241d6f66 SHA512 d348419dd1503705217f570953c2f43831e859bc429583f9d5e5bb0b6feff90b94b6088ec1a31293f040b67da3869e2c650ab2937ed0cb5b4d84d69fb272cad6
EBUILD netbeans-enterprise-9999_p20180124.ebuild 15530 BLAKE2B 1b1a382bd9f7ad0891c8bf115b4f9a586d49e9833fc03c8903853b7cefb6ee5a307994891eb410208811774e551e5546a1a6b7898d30bf7e540d1bbb2e74239d SHA512 8ff79020f112b517fc73221071d53e2ce2d1bdd4f66a6e4a61e5f8ea1420c2cf27233fc9ba8dfa27b4e9bee7b2a46539859cf731980f100ba708c5b983ff23ca
@@ -70,4 +71,5 @@ EBUILD netbeans-enterprise-9999_p20180213.ebuild 15530 BLAKE2B aabd160c51eed38d1
EBUILD netbeans-enterprise-9999_p20180214.ebuild 15530 BLAKE2B 2b8e3c24201e903627460eabcf1aad3553adf49eb425a57a3a955e98ee77d6575daccbd832e2c22b631367a2bf9479bf6586b8f69926cd4362e7082787b98f46 SHA512 c3ccfc514c10569502e10061730838a90a36d2648b349b54fec8c6a4043664266d29d61b7c06970cdeb3bb0a1840f8354c0372861f47812e3f9fa206c83be94f
EBUILD netbeans-enterprise-9999_p20180215.ebuild 15530 BLAKE2B efa38253baba1789844810a2abe795cae572de727496b3dc65af9c08649007290f9847933c3dfc20d22ebd8f60b4c6f8b0e0cd8bf83eebd7f3687da92f258a51 SHA512 c7dce32d05cabd72406c5540f31e0baf1f6cd0edbd13383ab0b775ac120d3c333ae9b700cd846eb52ac658673cce242155080d3582cc9e7ff657b5d45799c4db
EBUILD netbeans-enterprise-9999_p20180219.ebuild 15530 BLAKE2B 4bf2b8072a1a2999f3e095d1e14ea14b083d8c34b79134c2dd94ce9d1a384468eb2a3a9f3891e36fbbf4078bbc7e5cbfa79ebcd4296b5a1da6ed4ced44dd75a5 SHA512 e03410834e3ed3e1d599598fb4538576881585bdca167f879c970dd5965d4ea55cc3e33718809eab2c60831e8747fd693b39acb549abe1186b59942b932a511e
+EBUILD netbeans-enterprise-9999_p20180220.ebuild 15530 BLAKE2B aae98db410b8a0432a00667f521bff194fbdfb1707220177c1a8e25078fe938517ff97c6883505c2d1201a1ab8261f29e418f8ab5c9ab6e7feddfb3601b47519 SHA512 9a55d70fc1d4a55345327cda30dfafaf13237d37eff675e4ef877329190a7dbde6bf98f9c19f86300cdd113d413fe0f3f07f524bd180418163b93806d3823f9b
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180220.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180220.ebuild
new file mode 100644
index 000000000..2a97b2b12
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 bd308f676..76d1d7e27 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-ergonomics-9999_p20180122.ebuild 2587 BLAKE2B 8f952dba656eeaf445a4e033f5fd9e3964c3b1e56536df91a46cb23abdeda5914e03faa42706d22ae594d922fc7c2de54d4aa244e5546a2bdcd34eaa9b66811a SHA512 f74d24cc87f037396d2537deeb67ce96ff2e82fede6f8b9f564c63920c30c90af0bd4fc86630865b880b72ec1032a7f6905d71cef49e01dedf16b76d12f9a66f
EBUILD netbeans-ergonomics-9999_p20180123.ebuild 2587 BLAKE2B b1e1c1c1dd892396254572b3b5414c384c3bc530f27266d605cc57cf78335ead4ae324aa1fcb86747af9da70054c31f1e1cfee68cc633d4e9a4bc56c221b9de6 SHA512 48fa1902647e204b225e08b338e7a810ce633ba3a38fee31c3b7ae967dbe96bfda5edfce24b7019ff40583d695bdc0028976a2b157970d1a1bbfbaaee74a4cdc
EBUILD netbeans-ergonomics-9999_p20180124.ebuild 2587 BLAKE2B 87d05ec3a49e96135a7d4c1d9ea6bde2daf21cb82ac021448419c2de869771ffd1e6c1efed994e506efddb821b176b579539d594387bc925b3a1e75ffa860c0a SHA512 0abd095ba1da1703fd37bc5db9ac5317fbaab689f4413a5113c3c939b1e5d3115f78eaeaaf9aa5613c938027e6b711551ec42416348b2183ba92620205e034e2
@@ -39,4 +40,5 @@ EBUILD netbeans-ergonomics-9999_p20180213.ebuild 2587 BLAKE2B c9b7de98d7ea2f12ce
EBUILD netbeans-ergonomics-9999_p20180214.ebuild 2587 BLAKE2B 1d714d4888cda1238017197b7511aa31cf736992caecb7eaeb9775a4a48e4b26c41b0fa8a9af8276b1e96214a0842bd6e06de59952293a49a4ddfe437b05fd89 SHA512 dc7c4456120c76cdcd12ed7c1c0cb255b56ba5d6938c8cfe9ce63df908c606ae1958b78e4e6ba40294a190545763ee4003c79c1778636c012d394a6e26d83f67
EBUILD netbeans-ergonomics-9999_p20180215.ebuild 2587 BLAKE2B 56c8c94b992b15026e3517d62c33f491870f3c41c54a65f33113022f811d4c5226d76d97c80fa82f6dfbcf8a5e0cd75f887faf5b20e1644c7eea670b39ee6f7c SHA512 100e2a952a4082763c68c25a5a22f3f1992077211cbf0c27ddd4f4a7790222840a121edf96f49318ddc6de8aff825c1ec1778a94abf961ec3efb1ba554570a5e
EBUILD netbeans-ergonomics-9999_p20180219.ebuild 2587 BLAKE2B 2a26170ef8a8fe912419c4c89803b62fccf3ccdb2d873aaa14032f4c3fc331e88c37f4c727e76c96a2869072551393f982450683c4fccba73aab48eb3e9c18b6 SHA512 0d8da38b1a71a0c26c025ddc01e9917e1adc5c2504fa01c17237b0cb7ae287093bf43404df18f722ce8af9188e8d7df6b468ee301b52df46f0589d3a655bccb9
+EBUILD netbeans-ergonomics-9999_p20180220.ebuild 2587 BLAKE2B ccab88ab79e3343fda9889f83d0d3da37d223cdd17ca23b89f1a8d3187987a445f024e9334b43d5745e9142652845ae35fd6de88c3f8717b3c3b02c166059af4 SHA512 7ec737ed42f668e3449bd1576025ec2851e669ad6a7ae91f523d213e05d70b07c307b44b33945d2ab4c1eb2e6008b8919e60bb5a43147dff4f061114c4ac6c53
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180220.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180220.ebuild
new file mode 100644
index 000000000..d75013a39
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 a5b76e903..a1d529304 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-extide-9999_p20180122.ebuild 3059 BLAKE2B 7f4918af066f8acb0a7beab351e133edfec15113eec906f294731adf5972147de00c6b577c20a4038184bec0e1b9ef77aa9a6f9598974e75d7928314b82b033f SHA512 e7d3439c1a3ae18bacc83506ce41f06ecd51b78a5e4272db42c4666a6a7e167ecf296e294e99ddc30ff0a76af4db8e9c0fe784aa0823ce2ca4c967264f1b487c
EBUILD netbeans-extide-9999_p20180123.ebuild 3059 BLAKE2B 08447e0e4d98da0dcbc570bf264a1d956a43112848100de1f5185e99078b1638433b849f8634b57eb669b341a618677dbb50b95a102ebe955327623b1b5f3990 SHA512 822b07e583620129c77b634cfe34ff2c3ffd89cd0ead22dc71e5c178d5d1af13faff0216abe8cb245fd14bbdcb7f0a6cf0799a13e3090aefd97118cc204393f8
EBUILD netbeans-extide-9999_p20180124.ebuild 3059 BLAKE2B 93e2a19e3f74a2ca79514ee2ffaa5926bed74f5171d8570159d1743f46b03b176de22778fd3b92f9bcec4c5b7f5ba0230383d25b3ab2f8aa472b660a2eaf06f1 SHA512 0e55f754a743f980b6fdd00310a9879020c798158d65fe447bfa6a1fd6b5f9235c1589dc6d79e3889e3d4061e8b0a6860d707f432c22ad081e37eb4d6e4e5337
@@ -41,4 +42,5 @@ EBUILD netbeans-extide-9999_p20180213.ebuild 3059 BLAKE2B 122cf2daa27bdc38766408
EBUILD netbeans-extide-9999_p20180214.ebuild 3059 BLAKE2B 50eb2131362c31e9af7d180f254a0033f28a44a2b5ceb12ec3297d896bfb50a510fc407998debd03895011c6c09f36e51d593f12b276a11438cf451cd5db12ad SHA512 25f0d9211124a5612bb1cbc009dd21863f144cd20da94548399ee86b01073cbbea062937a7ed66a4d67380d75cd16ffea188fddd25f84339a25133a0f9af6ca0
EBUILD netbeans-extide-9999_p20180215.ebuild 3059 BLAKE2B 335bf72b35eafd059c393af0f3f890d05ff116441b100a483eb84882ea2ecb0a8875ab05286428b8219ae46b0113863379a1f3c746895c81bf346c98f15b9268 SHA512 b7a5eb1659578b6abbd8e2daf78f997fa007609dd5fa09513fe166d4a4ccbdc12bf719680cf088365a3a279edcbd6995992faa47665cfbd1029de8d2739c0df1
EBUILD netbeans-extide-9999_p20180219.ebuild 3059 BLAKE2B 87373c62218c9f7681aef0a0a3408c8db998db12dbf53434229e66f2b53fe7d8796dafaeb1c5e854c99d5338941398d52cde2b63eea0c36cf90ae2b2eeb4829e SHA512 038a0c0b11b7b5c2b49ac84bd1ec8e9325d4c34952b99cdf20693356f809b39208d98658deded0f0620b66b3597c8b3cda073b90cbe2b9ef668926d0e45633c3
+EBUILD netbeans-extide-9999_p20180220.ebuild 3059 BLAKE2B ba3e4ad05a5715799e0330457fccc68c841b4398229f30a4adf3958b9351a247a0c155e0cf4ea5f111d41d0d93f03beed40d2c31b18f05496a789f5cbf7f1a51 SHA512 853566132cfdfcc3cb3e6b076f00875592220912fe95244d5d7c9ef414f21a81e329ee471eb4b90e645952fd91f6c7c7f7812bd734a646e7f6e8c265bbec7d96
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20180220.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20180220.ebuild
new file mode 100644
index 000000000..cfda47d95
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 e48a1225f..68ac7cd8d 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-groovy-9999_p20180122.ebuild 3091 BLAKE2B cb54fe5ec133380d48218c1b645dd0eec4c2eb264578cc2dfdd62d02847382391478bd742e6fd2235523416203dff3d8602745314c91168a5e8c975d00646f8b SHA512 87c760b40591c6cc27fa88c4bbbcdaf09c3e6b270462e950c392d6b0a8c06ed3088269e6aa76a72e5bcb789f393fb2d64d0f6f924dee443829989d745c2b9077
EBUILD netbeans-groovy-9999_p20180123.ebuild 3091 BLAKE2B d10a37aad20505a05b0e2b5f6af5c06967671861738388f589f3838165ec5791a6ee626550da238705ac7967b908d2e2fd362029c6d506a936ddcfa9209ec4da SHA512 fae41006fe9367e451aa6765f81834b2b50271120091a61135226ba968177e3cc8b113e5ebeddc4e6488bd608fa774c27332b4f5599767db99e3b93f4995aafd
EBUILD netbeans-groovy-9999_p20180124.ebuild 3091 BLAKE2B aa03a807ed84ee4d200b3bceffcb46cb22f2d3eb9c871f90c3c8d04d3343faa1308be11be26b6353c7c723fcc4ccfbd7b53681ce7f2b4373482df4ca76a75447 SHA512 512e7070c565808c4255e6c5c62dcc5fc35dbc6a6dc4f4b4816b9f8ab3d84b12255463cf73074cece0b73c7d67f9e3f800f33744aea510fc7a1302a6b10a519d
@@ -40,4 +41,5 @@ EBUILD netbeans-groovy-9999_p20180213.ebuild 3091 BLAKE2B 31162713cd13ba9468005b
EBUILD netbeans-groovy-9999_p20180214.ebuild 3091 BLAKE2B 09c9c053c4952b59c8ee0c7bc1a9ab81fab9bd5158eea1cd1e8e011f14657ec33b9201107fad70265bba3c04fa1cd72579909322d43387f18b608ad122fc919a SHA512 ddbbb07665905702c8620c96cad78b53e469e838f7a95326815b43c8984e0dbe4cc9650fc68de82acaba33f4b37be23265941d9d017c2124c3d8d8b526987c06
EBUILD netbeans-groovy-9999_p20180215.ebuild 3091 BLAKE2B 8a96a43c0745216624d0b309cd6b4e5e874f36bd7a0a0a77ac8f9836ced9e710925feb404c8a257cf0b859b9dc912c3419256b72e26d3906d6b337e19cc32d36 SHA512 da329f359d41d95331d430538d0b804be76271a61a182a3288584d78d540fda8a38919f8560bc5aa652ab10bd796d5134e78f69efb054d439e62899c3d463450
EBUILD netbeans-groovy-9999_p20180219.ebuild 3091 BLAKE2B 943d2b248a9823547ba2dd42f24e24cfe8e338483805aa2b56c29cccee7f7158b7bea7f2e361222f54653d30e6c2c4125be5a9f5914ca7b188604bef58b2523a SHA512 4018cdfe843b24c6ace51c66d4fc482cec2ce40840068bb7037dd6326ac1f13f302790e9cd87deb49b2fa21bfed5d7e40053f66a09c470fb4e65428c18791d4e
+EBUILD netbeans-groovy-9999_p20180220.ebuild 3091 BLAKE2B f39abe643ff279a02597f900663a07cc8fb294f8fc0812b60a4ba3a1afcdb5b043ee179169be791f36edc7da455901eb3bbed9d8d9d84f456557d8cbd764650c SHA512 46f89e9f0d0c99c66c9370b0a8d91df12c290b89e10086220d8aae4dbb19dae53b74000ecea83c6cbd651c3a221aa35083bfed6e426b7bb14052af62479462fa
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180220.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180220.ebuild
new file mode 100644
index 000000000..28f872bbe
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 3151d5d2e..6e6508fe5 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-harness-9999_p20180122.ebuild 3805 BLAKE2B f64d948d35a7ddc1632d3d3fa770d702b2564afeca2e8ec699bf6312ba41086ae18a2dfd9466b5e174d33adfd2d1429dfae34a2cddaaacd7fc4b4f6cb882b290 SHA512 6715be574860a9b73be02050714cd88ebfcb368a032fa625f3b2139bbaf6e345b06455877201b8111867591f8be1bd345c858bfedb1325475ec58431398576a8
EBUILD netbeans-harness-9999_p20180123.ebuild 3805 BLAKE2B e0a4fb9fc649e461fe1098460aeebd1a9f22f40a114980b038731b6d83b9674acbc4c3b7af5fe305ace36ee7b8598fcf19a8f6182f50786462501b1f1c09ad48 SHA512 4d9c83894782d01d612028ffb2e74e36b4a5263a47d54b3c77e18cf20e54db8813f76493034a14124858fdbc49a9ad8bb71752461627c117465dc5d67b0b6f49
EBUILD netbeans-harness-9999_p20180124.ebuild 3805 BLAKE2B e33efc3cb9b066bddec4bfaa7c46302df27c5c824fb5dfbe1c9b7912e2b28267886b62c881febe008f71f222dd0bc27452b7b32b4a551896963442ce6247fa9b SHA512 46f966917d1c8ea5451efb9ecb05e12b575d2dcfcda1c119d65a2696bf0cca3aca73eb2ac86293e6eeed7f73b43a702c13ef143dfda67d61d9c560bcb164dc90
@@ -44,4 +45,5 @@ EBUILD netbeans-harness-9999_p20180213.ebuild 3805 BLAKE2B d4c8b05c2d64e8d91d9bd
EBUILD netbeans-harness-9999_p20180214.ebuild 3805 BLAKE2B 806a54bbb9e1ffeb2aa2dd8d99b132a14b5ddf8622ba380d6848a2e99bd7cd90958e267532c49eaa51d1ea8dde5cbf506978e41b7e5d2ebcca4aedd1d7881fca SHA512 f4b1312171fe1b8f4c8ef1dde87e6bc94bd5e0a3d6b1583a5ec928cc176bfd6ba81a7dfa99d18e6866c5ad7944eab6e25e6a95347179737e683b8fdae22693d6
EBUILD netbeans-harness-9999_p20180215.ebuild 3805 BLAKE2B c7c67ede8308006a44be9d86e5fc8ea2372f37b10dafe10c5c71bf0445afac8dfb5279f7afb591817aa9d82b5964ef228dabbe2f342d9e46640311047eecbe14 SHA512 61fe0645c959c680a444bc0d38967730cddccb1a14c1bcabea5730d09103603f508c0ff1d11da606b84beabc6cd67ebe8fb832549426703931bfd46a0e05cf72
EBUILD netbeans-harness-9999_p20180219.ebuild 3805 BLAKE2B 9d0230fdc93554b5ba79a8730c6f79f33adf05f4323496810059e7754e465aed8973ebd2905b7f4d4b0a3e0c4e6fd1c33c01b552e66a38437b378d2363253823 SHA512 62171916f02b696740088a64843f5bd139f139825e13b69c51aa39f66bbb157ac4d644b76086710daf61b5a2b76efaa32996f093660dd8cee15b7892207e2826
+EBUILD netbeans-harness-9999_p20180220.ebuild 3805 BLAKE2B 7c7f3907a951ec7fd723feff3232c69ff9be05ae57bf2b9770f892f6c2c3cb5ea06f8a97b28f1a3fabf725334660c71634d0d0c73d3920f0534b4c6459d07aa7 SHA512 135584b7d44bdca166de45a91e8aab51bd42c7d61ab852f6908a0efd27d40dc0f3be82e2e536071faf56cf2ef45cd283b045afe0b19197c21666de9829c10187
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20180220.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20180220.ebuild
new file mode 100644
index 000000000..934ad0f19
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 be8e5e715..2ed09b877 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -91,6 +91,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-ide-9999_p20180122.ebuild 29593 BLAKE2B 4d9b508db0614ec2a055cf76e164e9dbda8663b8cf0ad2b858bff4fe7246a851eea4c6bce86efdc5a0d161294c1402309a849d06045f4ed3773887341ef73201 SHA512 7164f3024a507277e9ac63e49d65d9bff50ccb7cb9571f29f861d1676aa65dd15f56a95d8741dc929cd343e94c818af310f4e09214572e9074bc9b9b15851ca7
EBUILD netbeans-ide-9999_p20180123.ebuild 29593 BLAKE2B 3078087819c84cbbc6aedb9367a32095828cf1bcf2669ea31c62673f82c8399438c0405469a40407201a5705019ca1b8e09fe9690cc08d775c62d3b8fc9de7e8 SHA512 c45b60edf848bad3d1c8163b4b22fa4aae2ec179fa4d9b9a000640a62053fd596cc4ba5827ca75a04d469d8d7e585ef4c7f85e60f543d808f8fc1bf6eabf46ab
EBUILD netbeans-ide-9999_p20180124.ebuild 29593 BLAKE2B cb0d9b5f43638e442d884255a66ce671024bb8473f21d47a7d924c08dc8693da6f94b2a480ef8100575b2877ff3cb2022e4b2249afccdfe7a78826723ffc4c6a SHA512 81cab2753c52da51eee1f3aa02c09b3b4f920e78420c92f7148cd7c19e33a36513bea95c76f63524b48e9851169fa2bd9dbdd0884b5a623ae6715852a3e0f46e
@@ -111,4 +112,5 @@ EBUILD netbeans-ide-9999_p20180213.ebuild 29593 BLAKE2B cc309be7aa1d61e79725598a
EBUILD netbeans-ide-9999_p20180214.ebuild 29593 BLAKE2B 99c92c30799ca7eba34c0586158d492b81e0c22eb99d4a0d06041056401bdaded504b7571651aef064d5dff57a5f3bee4b1f9aa6e9b56a31714ca74159b96d17 SHA512 1a69d5e369d65b4d96a799c7bf881feaf6357c900db33451a51b746a8b8552c47a2a61f319e35ae87fc026e6168a930e3bf81544148ad99256d9ebfd40818b66
EBUILD netbeans-ide-9999_p20180215.ebuild 29593 BLAKE2B 41f9a8467c1ad1089efe0dfe8d399e506e98d0e1e3e2fef02fa17182bf52917cebddc31abe6d1dd4ff12bd28aad57e00eb120da12da3e155c030e95d4ccb2660 SHA512 9ac35dfae5bf3e187bd8401811b9ccd31c1af837ac664c0fd75c5fe91f5a01420c494277890ccf2fe70e40574d6e7d958431ee94951adf559d4cec97a3d9c876
EBUILD netbeans-ide-9999_p20180219.ebuild 29593 BLAKE2B 0e28722c1632f309ecc624e76dc32ac7b3f3bda119277404b94a38fb5dc1e1c5084afe4040a5ffefffa069e88dbc966e5f7ddf8796fde961d85a5d139df0de16 SHA512 9e775783ef65367040200b415df9f785aea2c1a1f642f8a639db538659af4c3d0d896a1b1bf0deae940940c04cf35d076744152083fe2ed04f2838ae382d2094
+EBUILD netbeans-ide-9999_p20180220.ebuild 29593 BLAKE2B ddf47d5bf13489c2a10d2bfa1a5bc021daf2975099de8389a0c9d8b5438d5674f7b5375c480717bc9e37587f3d779fd9a9e037fb8711fa2c4a45be7dbffea41a SHA512 39e19c776bf323b715bb5c5a04d0cbc46289d48fb9668dc3b84aa0ab52232bc85498a261fb0beb084c469e125f34f77516f6339ac2c5590fdc44adcd1fedd7f9
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20180220.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20180220.ebuild
new file mode 100644
index 000000000..584118fbd
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 05b675431..13e312483 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -44,6 +44,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-java-9999_p20180122.ebuild 15702 BLAKE2B 629ac211626e6065e1d4f621b50c2175280a0068a83890659e9b6a386b4a7d58f4b13760385e29704941939b74b9f5d28e19d483b97971f1f063c73685088e89 SHA512 6bb26292ee60ebb40b947f87963d826a00b4d10b3823af5a98984198fe82efe92a826329e5b31b22dfc1b195d31e9149a56dcf2b7a4520276d959f3107afec20
EBUILD netbeans-java-9999_p20180123.ebuild 15702 BLAKE2B 2f3245b860283cb8477d8f419880af68c68200c45065dea18324d78efdc506e734bb3cb33b2dc711e74db6735a08b8af92bad8427e3bf9078450cca5e6bccbad SHA512 5119e48543365ffbeefb07cae4ae891edc08a331dd55edf3c7bbda4dc68d0b870b4646556e78094de538dad8682e59a737c272b8f95f5090267ec89d0c885529
EBUILD netbeans-java-9999_p20180124.ebuild 15702 BLAKE2B e02da50ab85f82b15a095b5d6bf7e1be9d2c930dd29174a6f6b29acf6970b6bf940e71db3918f9c6ca74cdd954bed9a45ece7afc1a2a6027cb38168f7a7c6119 SHA512 0d395145792d8235acb7755f44f10ffdf44111b9fddd5108eb71cc142abf7c944530f899149eaa1a5ffc8929cf865858fe935746f4ce289ec24aa75e607f6e4d
@@ -64,4 +65,5 @@ EBUILD netbeans-java-9999_p20180213.ebuild 15702 BLAKE2B 4159be412fff07f140f440a
EBUILD netbeans-java-9999_p20180214.ebuild 15702 BLAKE2B 345b36c9944ee05ab1d329d7c6c9ebb2d04f2bde92e47b4e8411f37fc856fadaa5b88125eebb3cd66dfb52f1acdf7d5072e24d926d491160924d26588054cffe SHA512 197badf16a23737a3e941645dc50e5ca480317923c9f423bd83f55e326bf7cb6f128b9bb23e0a18c6c75c4ec5affebfef0721334f86d41b038f33963070e5871
EBUILD netbeans-java-9999_p20180215.ebuild 15702 BLAKE2B 25fa3fedca5577aedc8977287f754281bf76bfcb94c1841e7c7351d516d2a632d872fd555f00c3c0055355a5ddf4afb017d7677d4d10953f70685cdb51c49884 SHA512 395c5ab8465fd4d575b9080cfecb933f54b156c8b37168baf395ff66e2d524e24ef65bfba1ea23657a3e9c4cf5c75941886bd47918364b031d42ebce5df117c0
EBUILD netbeans-java-9999_p20180219.ebuild 15702 BLAKE2B 0e4b0a7398f6eae0c18074405432e5cf62a11271e37e24b8e19955677e80f4c1cf71a2265b1fb4b8971ffc10a1da6e06e555cb802e9ce62a0a0ba87442944f5f SHA512 849c27f8c12a863a3f6c1a63a608d97cf8752c7e70c70c060c0dee16f13303b38b45ed6a4bcfdd2ba8eb3a0b070af4b64692867fda55c5582cac8f5a2faa6ce2
+EBUILD netbeans-java-9999_p20180220.ebuild 15702 BLAKE2B 8c23a5781c16ced3840eb3edb30961ce779c3786fe2bf7c1c1cdfddcb999ad587d25d2ce268b58907eb0fdbd659e61f2342682ef9bdc9d9ca1469c61ebc36575 SHA512 b45d20fb778c635618ffc61b4f97574ca9ff117cdbb80c685cccae4feca3868f00fdc0b1dda120de3313d95e13576ee944682009c2224acaaf4ab10b7506280f
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20180220.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20180220.ebuild
new file mode 100644
index 000000000..5f2312cec
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 6c241354a..9e17501b8 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-javacard-9999_p20180122.ebuild 4648 BLAKE2B ed0d18e75f7ed915a168f6738be117e86e1eee99b02ee86876c7bade97c058d415d08534eec42ec8986d5f5c5b80426af7dfbaa6f91052d434785541af06e61d SHA512 2b99ad60c7c96484ce128b6be4a167d69607c77e36a1e40b770000aa71f627163425ca2320fda13148f96e33b554bdf9d1668faf725532850205ac2a9c10d2e9
EBUILD netbeans-javacard-9999_p20180123.ebuild 4648 BLAKE2B 1df04214c72a5a19f864944cd8a202f625fcbb1b97cc69a2b11703c5c74390517b2b2556364c8631a5972aa1d7fb1793486aa30f7ca7405865f5c9c4012c4ece SHA512 b4b1c3b3502d1f6a0dfd7a889d59cd81441511947dff69c8e39d812c815a6766689566e544d4bd42d690a90dd70ff7efe4011f40ce0b8160201c9a313cecb05c
EBUILD netbeans-javacard-9999_p20180124.ebuild 4648 BLAKE2B 6df10a8de859bd8de0d9642da960416f395a170c527333e8adaa13e3ef93b3b81d38e96356f142258e18a919c3ef1716755c9e19279db9892145708ffabc9cd0 SHA512 5b6f292e6c5b8230f0a2a1471cd20ffc782167a2daf750c9b7ea2493c732a388a145508d279a69d4aac9bd604b3daacee6427388345e863f9ebf62c4d03e5c52
@@ -42,4 +43,5 @@ EBUILD netbeans-javacard-9999_p20180213.ebuild 4648 BLAKE2B 5bb49d4e7ee3a865b360
EBUILD netbeans-javacard-9999_p20180214.ebuild 4648 BLAKE2B 093903d57f17a1fe00ffb92738af03acaf84642447e4d58b171d06419754fb233245c9bb349678700d7f3abd4b186dcf6f48fb3a6523630125d4d9290cb3a54d SHA512 cec6b43d1385c88e887098138a4e3a0631550cf27b3b5d85d695183a80f90c78ff661f632f1ff289da8be7929f4d5a494d19141efd112726ea5866e616f0eec4
EBUILD netbeans-javacard-9999_p20180215.ebuild 4648 BLAKE2B 170aacd7e97e7fc4e19dacd0317dba70ace789f2ac9c53f0d831ab43aff2ecb1ddf875d452aa454d03acbfa0bb7674f025c9524beeb20488de223882e4b8e6fa SHA512 43e48f870fe5767a0828edb035c4a4d1823d83b3fecfbc38b3ca31f66ec4872ee4da195488691e8c0479115391fc03ae19b16f7937c7bb227f3c1e7207b869ae
EBUILD netbeans-javacard-9999_p20180219.ebuild 4648 BLAKE2B f74ac3a936f59165faab32f8451b70fe6b89e870776ade3ed8c61736d22506015cbc9785dfbd19e6fd59dad56dc1b58d56ac75ee718e280fb603699bad654648 SHA512 7dc95ec061dc49a121ad46d52d84719146c75ebbca3c4024340cd065df753fd925b2c7e6b7caee53d2b7c1f4774e2b1c220f0251c913983dd84a2ce189d0e303
+EBUILD netbeans-javacard-9999_p20180220.ebuild 4648 BLAKE2B 83637f15c4e7cff9ebb642f045bf12dd6b7776b4f61f6fcc7a9b4bfee6227f9f3827b943cd7d57016a9cddcb6a3ff34b7d2b045865c7a9b9de715a81bc177af3 SHA512 58ff2c55509efec774f19deba8c0f7f8e13ee05e245f47ed9701b79d82460cf548bed85270f7702c30ca2ae246fec3e2b395707c812ebddb28d1c769a2e57364
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180220.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180220.ebuild
new file mode 100644
index 000000000..1c145dc3d
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 4cd896b87..158b75314 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-javadoc-9999_p20180122.ebuild 5992 BLAKE2B 004d37ff4dd95639cc0e5842bf9c4e32cca51b8e425ddf33c23a17515f4136fd3e4817c3a5183f301c44fe5a4cf322d63900bfb2526281af1ddfd35c7c5aad9a SHA512 6792d9111a4731f44768d5fc08c2f43dd9a920eae72c6990f4fc4c6dfa1b11323fbebfa2405b4b1f8a88eeb9b65513b8e906bf57c640c5a4e956e1d061f59e9f
EBUILD netbeans-javadoc-9999_p20180123.ebuild 5992 BLAKE2B 4bb63a3f0c36c6da7d864c3d64c89b4b2bbe319b2c28f5530f85493d8095bb8e75c248979d6ff7d3a962adf786282e47313cc859d8c96c7c6810c668cf22b44b SHA512 30ed726d8e94a7436ee7365e9abb26d343dd0984e3e8fc7468704801c7d5b920203ae6419ab41bd1e8cb49c2d6b2d77f99cfc31c9b87cd9aa20aed21669313c3
EBUILD netbeans-javadoc-9999_p20180124.ebuild 5992 BLAKE2B a266820cb2426febac00a42b4b6633ba112b2b7d558018f65635a72a9ac2bf6cf1c9e236e62be952152b85e7144291b9d7c6e640fc2429ba820380d7f4612a82 SHA512 3a805e93d435455cdf0d58020201e5be8228c3244de4671cdb46d622c65875ab5b842deacf52bcbbb63f98c12412ec91c78c92eac7b0bf4f26d816a8f64bfc4c
@@ -40,4 +41,5 @@ EBUILD netbeans-javadoc-9999_p20180213.ebuild 5992 BLAKE2B 5b6da0b848fa8c2dc3312
EBUILD netbeans-javadoc-9999_p20180214.ebuild 5992 BLAKE2B a40cd0dac5547e87b0a93f5f3fe073d9c566b6280bc486a245b815e40bc5f35579f412469cb45de52b5a5454225d5ce2d313cd600d2eb7d0c884e6d51863b6b5 SHA512 eb51d4a7a342326078e05c93b1f1f03c3701c50cf1330030d968213a63e7ad9a6958b6a9770347f1065f54f4ab1c4cfc5c296244a31dd21b88f3cf664166a393
EBUILD netbeans-javadoc-9999_p20180215.ebuild 5992 BLAKE2B 1dcdc0759dcc7ee30b9288e85ebc5617964da38aeaee98410c87a22086a9f9dafbb90a05fc182d8d3528e7bff6a1c0f20e19ab5bab03a1dd9db877c72b8d275b SHA512 150a0c1fe02207e51f805c375d97c91c161b1a68bbe8f9b897dae8ff80f15d3723dbe9afe659091b8ee2f0c4486e78027cce62cfff0ab9784cf7dba6d9376be5
EBUILD netbeans-javadoc-9999_p20180219.ebuild 5992 BLAKE2B 4b0e5dc99463c3e3e12f3644f904d163396ec76376676bd2e280e138bd8ba5e6b0285edd342b76a04d0db424336dbc5338b877476f622bc656bb747c1d283468 SHA512 71ca04b4e5305743728af28c1d0909309cfc3182d5c164cd8b51b12f724b20f4c8e759374cf4efeac35a95f0b8fe19382a1721a4974888e93355e18785cf2ed9
+EBUILD netbeans-javadoc-9999_p20180220.ebuild 5992 BLAKE2B 3f6d033519cbcbd011be0021cdeac1d65e7f8e6640ab6f048f6eeae949321d165693a6da2d1818da6b2c6f1ffae8c9a7f036fb40c242635880ee72ead48a61f6 SHA512 1f2cbe528a736610a8eb8dd5c8455ed07cb98e498d545caa2e15c649cd4ea95356a0942b41f644eb35015048470607725ec12c6a2680d7d9e4513e65e11cce2b
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180220.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180220.ebuild
new file mode 100644
index 000000000..000ae3cc1
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 fd8828eca..afb46901c 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -25,6 +25,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-javafx-9999_p20180122.ebuild 4397 BLAKE2B 8de06d5fac15794bc292335b5d39e63a82366985943fb665b319bf02a5894ccbf395781d94c95e6fffff25ebbfd2d2d8c145dab5d538e325439b3a7813ab8aed SHA512 a2e0f9d6682eadc7943431e8d7fd675110dba319907db5c4da37ff1d98cd17a1b340154b40a27e9f30d5ce07bcd670db6f69fab8094484d14a2b6ccea6caf74a
EBUILD netbeans-javafx-9999_p20180123.ebuild 4397 BLAKE2B 186d3788dcaf14681599ad0acd18e366cdf49c636a7bbdb7d776e95f3d24dc17f90b60300a542862c59a07275a952ff90a3f98e0333a5150373cf210536a6198 SHA512 51e01d6a3b152c4d0115ca6ce77fc18fd551cfa160f4a6c065865e89cef1f63592e39f461df3f5fe2d1705bcd16ed4cac2998c5775f63eb8851f4612fc3ad32a
EBUILD netbeans-javafx-9999_p20180124.ebuild 4397 BLAKE2B c66a882cc68a9ff0b808d385c1a54f7cc0de252e060424cfd49651c680b9e2a79ee70164c4906fe90b15c35b39726f852006eca8de21479be4925fd8a16107e4 SHA512 b51e063a68912b4fbc3727390d0605260a75c9975950e7661c73f61d75ad86c69dc48ee2a15726444a15266e10629da22ea8a3ba8c3de02d3fbe8a3490116570
@@ -45,4 +46,5 @@ EBUILD netbeans-javafx-9999_p20180213.ebuild 4397 BLAKE2B f5fa5f35248968bf18e19b
EBUILD netbeans-javafx-9999_p20180214.ebuild 4397 BLAKE2B 79d528ef049f9b40c32a838624ad290aeeb90a48c61d00a8f53c94287980aa951b00fc19c81d9061df707835147fdd99c5fa92f63557e967dac5cfc3569cc4d1 SHA512 a04dacdafe4351d48abc259743b44d6c51e591df432d0673fb767db9f6321d86b17ac1219cc5f8499cacf9bb12b96d28db58c117bb6d92d8ff29c760ebd83425
EBUILD netbeans-javafx-9999_p20180215.ebuild 4397 BLAKE2B 4f492f20179f06162f0280f03fa78384358207174cba79e7bad51d46af0141219cecf7d1a913b0ed3329c47329b60134776ac43e0da40e8b1e119e236c26598e SHA512 e5bec265bba596fbfbe90bfdd657244d480cd856a5af9f7a047299a32fa1c23f2a7f3578748e975060445617d5b9905c6c6c6295e30fc869d3f627dd603f9731
EBUILD netbeans-javafx-9999_p20180219.ebuild 4397 BLAKE2B 92e945c71f899bd85ede0c6703ab465e829b5f95979cf73615b83182f712fccfb19738455594e1c50ade6064cbf8e769b295a8917c4b0eed96000bbb6826400a SHA512 7d0e7959deb74d9cec4fa7bf3eecbe36d509e7033c730e5525d95580a2b94e7388f6f2fa825ab9cc5caeaea06ba568e25d60ba9f9cd8c8448d12a78ea992ce3c
+EBUILD netbeans-javafx-9999_p20180220.ebuild 4397 BLAKE2B c0174d5899182bd92fec413c46fb40000e996250572f5b48897a6bbe06934187f78b784c8ace592f285794b4151c8d0e889f4ff09a8b65a4bd6aa7f38cad2189 SHA512 c3be84907f2ca9a19a50d1e4f6048087c1b01df921576d1c4c8773d3d1102fcc3541cf9ed96829a30feac2110e0ccd874ebd8fa263eceed206c264d289396212
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180220.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180220.ebuild
new file mode 100644
index 000000000..4e2bb32d7
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 f1241bd4d..33f5ea578 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-mobility-9999_p20180122.ebuild 4086 BLAKE2B e26c6e835e81c5ec41a426445489a4221d4dd71fd7d5187f878aa73d39bed4ff6cd72cae2988b4c7b1054268856ef6c9ebd9493aa7d2a24bf1fa00500d21db18 SHA512 55c2d49e4dcfe63713455cb30d6453a096949632ee9f9d7ec165e66e328ee4ac4d0ba41c33726ae027594c69fc2020a747eee50139dc91b1e46447f3b4f6ce6c
EBUILD netbeans-mobility-9999_p20180123.ebuild 4086 BLAKE2B 055973da46da65aab6dd1bd03f49988569f15f4d5bd0e6168a48a4422b010fa3c8def6aabc743d0fc476de9018f381a0e120e66c4543d2b8de601862a0e25f2d SHA512 d49c09f3778c4db864026eed148f3fbcc9667b898eb1c65f4e4c5458efa3e891520104668f7c889c0167c7974384d30206c458ce4e25d1e950856842dd784fd0
EBUILD netbeans-mobility-9999_p20180124.ebuild 4086 BLAKE2B cb9351bb9cfecb6a7824b53bd256da9df3e023984048cf7a6c9e2103f448ca517ef23bbe730656b720872ac28ebe3653c6769536e4387944ff5dc184054b41a3 SHA512 38083057d7eb56c1c92efecd2263ded0111ab5ed616c5616dfc5504dda63dd74cd3d32b4d9224c46b3bf413d9b76fec937d45962d0a92a95c461ea7cd18703f5
@@ -39,4 +40,5 @@ EBUILD netbeans-mobility-9999_p20180213.ebuild 4086 BLAKE2B 0beaefa75a17cdd733d2
EBUILD netbeans-mobility-9999_p20180214.ebuild 4086 BLAKE2B c50be766a88952fcb9f57f3f1a033d0bc3c831fc3e8f2387abdaef9e1f70aaba9ee2050e01bb328c99b4b07f50f1d91e2b2980c3ede087d5199501a345c36a66 SHA512 e3c6f7fbd970c84f3dcc1f4f78fe72602716413d8bed6a5a080811efd999618ab5af6821a89f39c7940084a5fecb6bef2b3c3427dcc4d592ffe2fda61b94721b
EBUILD netbeans-mobility-9999_p20180215.ebuild 4086 BLAKE2B 16be8bb70caccc2de7edfc529a108c8ff4e6aba459ad2f207f9c96e944c7028d52c3c2f7e235104b045a59849e514f92354fe44f54f4fe998116d7822cef382a SHA512 2fa818f0ea92242a3114ff66e8fde3fed8bfc26c1820fa42be129711dcb43228a9d2254141e1f4406eaf2015e8e10398d524c061463d222797dfe9d4c94fa8d1
EBUILD netbeans-mobility-9999_p20180219.ebuild 4086 BLAKE2B e3b4a3e55036401868e22a7015ca214536b0d666333af3ca89fc1b79034e17dff998a3ee167fc39492cd4c0b6e6a54ee9c638d212a81ff27c7606a2250d38c31 SHA512 eefd259ee068b28261e5d7e884f378707883012c173f6fcf8f458ac432bd0ca37ba5b6ee3130950f7b7659d7112fa714345bbf8289dc261a907df57e8105e677
+EBUILD netbeans-mobility-9999_p20180220.ebuild 4086 BLAKE2B 56aeeb029ea39692e153c743d1b28ea07b24aacb65637cfb5a5a405365d8246f6250d14b42573855505e9681ea43866927d9e2308d93dae931d2c18fdb58e098 SHA512 f4c198073a1b79af655258f613d70ddeea2db0be22c600c87ac72c9bbfd21d4fdf03574b4e5ba2c03fa0abf8221a16f9adebc508d9a80b293c65e0db0ebec19b
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180220.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180220.ebuild
new file mode 100644
index 000000000..835ce6b94
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 a896112e5..994431e07 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-nb-9999_p20180122.ebuild 3786 BLAKE2B 3ddf5774913f068acc478258f448538a064faba8fae2ed397df46ddf59726ae32cccca7ce8013f26aee85cb21addd72ec81e0309e31dc9270dbf32cfc8c78727 SHA512 b9f2ea8dd98328886c1c88735c9d18bd1c6b49c7ba2b74f3efaac73ffd7a4e6952189e94f4d69078be212f3888d22b4835bf3b57f142feb7d07d270f2c5216b8
EBUILD netbeans-nb-9999_p20180123.ebuild 3786 BLAKE2B e50102252f9e42bb9bb1a2fa860b3d26c6ae002a4ce9eae9e50cb23478295533ab7be62c580298abdbfd40b939d3398c873431fffbf8fa1c08739c7bd4746e3d SHA512 13cc63dfc058033254b930d9afe3fc2c90f6fc4ef513c88172c96ab25fd17710a7d7eeceb44b60c817eeb43d349cde0124c332c052102e6e57516923f34347b3
EBUILD netbeans-nb-9999_p20180124.ebuild 3786 BLAKE2B 7e88c90fd73e631eb7ca1a5759f5dfd37a2f6683564fd37b22416e67a34ab13ea507f7a7ebfdf03ae2913cb464f972972973be2fb92b03577c317c2e3a089484 SHA512 44b738a68f91b43b281264c45fb06ba0462a5b5c608dcff6ba0754bbc44d44733c8bb3732a5a3c4dc4cfd94a909065229087cbc8730f907e7993cd5b95492211
@@ -42,4 +43,5 @@ EBUILD netbeans-nb-9999_p20180213.ebuild 3786 BLAKE2B 1f49dbddf4e1cc0e63f8ee9ac2
EBUILD netbeans-nb-9999_p20180214.ebuild 3786 BLAKE2B 9a4acde861933a243e899d5e52b627cad062d4bfac91a296a21189f5f8fbde0f07b02aa87921ca883749eccd71ecc60cff017d533de558460debe557193fc41a SHA512 799c35ef34544de3b3460fa62c18d62f51a9aa511daff4f8f76ab94882cf7bcccd8995d3e83e2c2bccf2615834f40394f8eaec4aa83980b3e7b267e9d017fa58
EBUILD netbeans-nb-9999_p20180215.ebuild 3786 BLAKE2B 5338d18f72589ab9bd800ec0f6f7f5bb37ed9488e48c2475b124de5a66548dd2223150831369475d429a2a0ee9b48270f82687eb7bafbfcf07c57a42000e2337 SHA512 7979b42d37565c5bb86a39280e30996f8d23e38e3b6debcb29daa2bbb6150cb749804497c0a07d96490818599dd538dfd428fe70c97e2ac90410124050c739ed
EBUILD netbeans-nb-9999_p20180219.ebuild 3786 BLAKE2B 8d4a28c876a0d4511f12609f59c41110b340aa7289839f1e48b61301c7cbbfe87d1dfa4469d0cbb7d49285943f8519b650ce91fdbe7281eb1feeadfccd7f757c SHA512 5f849824354e02762cca07b2889662b37dd9bb1e034d614825db337f9adb8011324708daa3894f2fcff34533eb22c084aeda892e132af54323fa91a4565612b4
+EBUILD netbeans-nb-9999_p20180220.ebuild 3786 BLAKE2B a11fc78a897f70594808a405d9774fbf3e008500519ce83c3e998f41e7b863b4b5a8c37822a9415bc8cf56d5fa82043efd546ce2656149ab7c51b324e582edf8 SHA512 81ddb5ec3537ad43ba4435091122ab9c11bd595debcef93f1c232a0757739013c489b867fd28a6f64996be5a091987e4ac5e6df2e4a06458332e866d037becf0
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20180220.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20180220.ebuild
new file mode 100644
index 000000000..798de76be
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 6db67334b..29d0db5ad 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-php-9999_p20180122.ebuild 4095 BLAKE2B c634dac23ea0cc68f4c7182a459529f215d6edd20e017c07c6546c04361b58e83890134207623a187df5dec0b4cef385a36905de41954f4ccc8a7b176932be09 SHA512 f1554889a43bd5bbbe6af040cd2474d25508a7862dba49273f48af5a5a90b3d701aa775fcbfca12004e1806ea47d6ed79d1ac15cf78583697eac9a8e18280ad2
EBUILD netbeans-php-9999_p20180123.ebuild 4095 BLAKE2B 681cef04d26478e66f253885e6e357ffbc3d5e137a8b1d9de82d457819b14ba6c32be2cf3f6c5c57ca63074ecf274f784cf0a4eab716691ee23f4df7453879c2 SHA512 1fa95038252487a9a6d8817c6fb2aa180c66117ffb4373fa365149324059b1a1fd8bc760032c471ae0a2ce52c97295da6fa6e843551dc6285ab90d36dc37e213
EBUILD netbeans-php-9999_p20180124.ebuild 4095 BLAKE2B 79f9b3fa777aadeb63681b5d7b81acbcac9f15e89dc0c7ef2dbdf7ea54fd2ab19e2db768d891e6f6af58ae499cf8668bbd8ba4e05bc6f272aa806f9e1822f519 SHA512 720e95c3003b3c2521eaad6914fac89b57b625ff51636fe6045c34ef8269a1060111af2ecfe02fd6046678e0460154dc8852300d26e9e555324791b8e904e043
@@ -42,4 +43,5 @@ EBUILD netbeans-php-9999_p20180213.ebuild 4095 BLAKE2B 3c46d3322d1a053c4d2b8d9df
EBUILD netbeans-php-9999_p20180214.ebuild 4095 BLAKE2B 9daa86db04325f7562bfe976c7408ad976f82357ae5e1ebe70de71c12898187ad6781d5db2064bbb2729d81fb073683eb126f601a512a1017e7d6af1e1f3c090 SHA512 ca66dd879d87971abe2aa6d9cc39376a915d923bc7b4c8af8f0829da87de5eeec524061c9b4c94aa9dad0712ec892f21a121eec39a10469c180d0310d13c135e
EBUILD netbeans-php-9999_p20180215.ebuild 4095 BLAKE2B b6d31652d5155a1cfd326138320699007105c94ac4e7d90c8a38db75e8ac0fa1d42fe8ca39992ab1b59322769e8ed4988da828cd457291c93a2254d434e8edbd SHA512 b00cdf7db4b3f3791b63511852c2fdfdecebb3f38379c6ae4f892c191d1f4f8589a9bdd920fcfe107e9a0eb4cab76b0957d57131ba2d9990d1bc58f50630077a
EBUILD netbeans-php-9999_p20180219.ebuild 4095 BLAKE2B 7c49f0a28c8231db8e4049267d2e2087fc292e0ba0d77564819a9b32633f60c2737214b97d0dfb3367f9a429dae6e8bc4fc8691d3101eb76c8d804c80a3eef3a SHA512 4aa1939acbae361d1210d0a19d76b9a06a742888ca38b547c5d76ecd926d1ffb3add19324f0d556765ea82f089fa071303859ec777dd45dc1b775e2ba2259e2d
+EBUILD netbeans-php-9999_p20180220.ebuild 4095 BLAKE2B 70ec54b3c60c1c10219eac313458a07a86e752a8de836556647280cad2d2935b8896223d4c7928bccca1be618a52f0ed4342c3d135899d634a4c3f6a3a484d4a SHA512 55226a47c733aa4440b228978a6c5cb1e4d8ecb2a5b41d0a026171eb5534749b416fd936c417ffe46a384af7b4ceb69a88b065c4c329ce0a6aedc5f8eafce763
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20180220.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20180220.ebuild
new file mode 100644
index 000000000..81f0bf161
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 dc782941f..b71098681 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-platform-9999_p20180122.ebuild 9238 BLAKE2B 381d2a3f2ad10b90510763874459b77d48d96d438e889761721dc5cd5857fdb70099e82c785e8b117f15f47675ce91433a854d282af1740d6fe0168f7374a74f SHA512 b00d6081ad4186f4b499ae1f4b005e536a97074a087643a2fc644c8712d29711d5fecbc0c9c5f8e2a0557d97a719ceb4808e2bd88fce2c792e3222d54fa38e7c
EBUILD netbeans-platform-9999_p20180123.ebuild 9238 BLAKE2B 21f7ad4d8b98296bdcbdc91e4cb913d608767821493c7f3e9eda1d060ca982d955ac3d256f7ca30ee2d61b2b39fb101714fb0124407f0b585a30f094548f3b78 SHA512 c70224301d914abf28db5fa5ab9198d263e9bde3effef274185fb076e747bde903eec93d26388217da58c14bfa63b42494e8332af8fe97bc4976256b534e5df9
EBUILD netbeans-platform-9999_p20180124.ebuild 9238 BLAKE2B 67be2e8cc51b1a22dfd6904a3f60349fe912a955eb0df2c35ffb43904f6f8c38a9bb81d08d2706f453781d170e5a3c6f5071a47129602d6448540a3ed4049d22 SHA512 d11dc9650ac737c65fc68383e4936a075c0f583fcff749c7a153a07be3fe94f0ae60d514e84e18bca08373ad4a707c2840d5201fec5ca45093630740e9829ead
@@ -54,4 +55,5 @@ EBUILD netbeans-platform-9999_p20180213.ebuild 9238 BLAKE2B 631795a3bc9654c63c46
EBUILD netbeans-platform-9999_p20180214.ebuild 9238 BLAKE2B fcc7aa52bba9bc8dc99971fcf327ae3ca38450067b9cce5eade7dcf7a0e6000c25e2cf417046ce1ff804779ee6940eedeb092a7b7f225afc15ca05cbc3fe6d9c SHA512 a75f7ea3b57a8000ca4a94286d13414b4d4b531f8404d736d78b38622a8d3fc116550ecf5ee00b7229a833bb0a28c23d4a3d0cb4c96a973b99d3949ee13e2b4a
EBUILD netbeans-platform-9999_p20180215.ebuild 9238 BLAKE2B 4a7ce24cc2f5c30bb3be389c43ee6a7c82bbe00a23f6d121279fbafc0f97ff3e27555e7845b8252f3d68c8e958e5d13b921373a71ef4273d058e369d898b120c SHA512 5b9c04e86db91df2492e16ff053a6a3793070252874cde1535877acd4bb54701b193cdfb65ec3fc02877c1b781de57d176ee7c6c440e99fa18d97a28b4a6c113
EBUILD netbeans-platform-9999_p20180219.ebuild 9238 BLAKE2B 5f4c37adf25faf2c810a2f745acb2451b275ddae9106173896d6be9fbaf80cc8e5a3f8d09a7e7ba8fb3ae8b9bd13b0aa07c8f9728888cbc3c8ba77394765ab68 SHA512 bb883ace542ff460cf24a13cc2ec95e02574b678532cd1dba0b39e49e0fa62c19311a175394629afe6d695a8809e79b413ddac14bc7013e6b184dd0c22c17f7d
+EBUILD netbeans-platform-9999_p20180220.ebuild 9238 BLAKE2B 1b4f3b97aa884c358d1ceacb65fb9941546db833a5def577fb913dd28c0978d092fe2884d3311bca884354921dbf10e65f24339f02a037ab618f0fad4e3c94a6 SHA512 8ab15c88a923371454e05ccafacaf23b0506d6e9d90c0333db6c4fe3b9afdda7fb154baa2bb6d98bffbc2012b2b134e44534880ffaa8f6df3c4ab9a3ade58ffb
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20180220.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20180220.ebuild
new file mode 100644
index 000000000..bf61f6e86
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 8275f8ce4..966027c7b 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-profiler-9999_p20180122.ebuild 3146 BLAKE2B ee5ee2a70cc94de25f72b839086ac58c25b8eff28fe11ab44301c0df19881c23512ec22f6826729ce8768cabdc620ad090e014ac3dc40b2c913de8b798925272 SHA512 0bd437ae1dcd891b79b51ce7e521369665ea50c2338deb1275fb0142b51a676390aae882784cf4b780bff1c5a81bfbff6af620bbdcc5dfdbc703aa3884391dcf
EBUILD netbeans-profiler-9999_p20180123.ebuild 3146 BLAKE2B 4cba44d844641e6d3f5174cea24bf6df2242a4a902fc531b3968e7740d33c6da4f497d90e036ba8604f90aeba3a2b7fb14e30cd99d1a81e21a62459fe93ddab6 SHA512 31b282070e9210e12df35556e43b5f9889f8ac9e38f050ffbdc7a652dc0498ed07c2c8c2421c72992cd241f4ec2dda5c27c488139105cd5358de9791c8edb630
EBUILD netbeans-profiler-9999_p20180124.ebuild 3146 BLAKE2B f217e103b8eba614ecb983cba31f7990063e0cb689b5d6ce4ca01ddde55ab7cb3c9411d2c3784084dc7a47c270535ae81e7a1ed2d2cc18876296d8d01d762725 SHA512 8868f4fbfef80a527ed94eb0c10240afb4993c4e3163b33e4a465611f7b5da2778c086bacab1d1c3dbe02a7361e70faa03df0e30f8df243181aaf5cab2f39a21
@@ -39,4 +40,5 @@ EBUILD netbeans-profiler-9999_p20180213.ebuild 3146 BLAKE2B 66239231131042478a67
EBUILD netbeans-profiler-9999_p20180214.ebuild 3146 BLAKE2B 9fedeaef5f85d8215b131189baaafe4d639fac887efd77a795ddb49919c464dc5b88f96d546db6b4df8d1301a3d3deaa2d29a9858d633adb646680552d70f095 SHA512 cfe4a32c5cd3565fcff51154ec6c65b2f028c4f03a30243aa0d0f8eb7b1e315c49609d4639f56ea5ac62ac364288d133340f64944bd56bf95ec167fc38ddd022
EBUILD netbeans-profiler-9999_p20180215.ebuild 3146 BLAKE2B 31dc1d1fdace2710783c8e3f89ea1182be9ddbba83e7ec2617a195499385a6c9ab44ca48d1740f9741f1b961427f9897e39b137c2deb05e0106a9c10a6792615 SHA512 e1159bb387efa2b0146e9c4fb2c9b1309bea2ec634adf4b3f55d69109b0fce0861a6de6df308a21e79ba63cbfbd643a5b0ce65c5ea6499751c7b21d115217fb9
EBUILD netbeans-profiler-9999_p20180219.ebuild 3146 BLAKE2B a05749cd6ad2d0848cfb50b3ea34ee34f26bd709e9834f07bf759ac6a7db43bf2c255a14dffb59d215b0652cd8121b175ee14e4013031bcdc8825d30cabe0b43 SHA512 696747d12058eb0ca860f09ca00319c925514ffffb602216d093fe92755fb9d6ce5ab40de1a62a7022ca2400d9832f3260dee5cca03eef93b4ab9e3e9f030c13
+EBUILD netbeans-profiler-9999_p20180220.ebuild 3146 BLAKE2B 6b61bd4a2cd1c7455dc15781bc3b8b9e12cbed08cdbf7d985e8fe8a8c992925f2261e99eeeb0384995ab3f167715a6daf507300c6fc8b8e9c4fce95e2132f186 SHA512 cbf0e4667d3bfc723cc7cb82e7d19408135d4e62f8c5c4864ed228ba3cdb1391b9d7ec380b118cce6ab77bd8d607d0c88d0e5f9412c2b7f8d9a1351b54b62d97
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180220.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180220.ebuild
new file mode 100644
index 000000000..06b289070
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 8dce05a21..91b1cf18b 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -33,6 +33,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-webcommon-9999_p20180122.ebuild 5932 BLAKE2B 1a2f5971acf3b8244b937147e7f8744641032f497d12e18cf5d8a40e86a66d9dd88d6f6a1885235fd472ba472eb41cd19e2a50973fe0354e4267551b14d940db SHA512 662c2d0f1f73f971354cbbe4e9bbd466e3b76ae3cda87444f73972cf9400b427dee7ad75e5cbda7a117c6db6b37c7cc7f407b6d61976d2e5de4314fdb3c60755
EBUILD netbeans-webcommon-9999_p20180123.ebuild 5932 BLAKE2B 98c3cdaaa6c8af56362624ad9359ac32da441879fb9b36d6e668316c18ab62d3c45b775925a0f82d24df4a398a194bc0b7073b193bddc5736762234312e80508 SHA512 196d94ed4082de46cf3d7700ea8c690878a2209a24d3418eb6d4b683e613a5223392d07edaf67f1a96b40c47066d13807f70c07893eecc1989acdddf0763e641
EBUILD netbeans-webcommon-9999_p20180124.ebuild 5932 BLAKE2B 0389370aeab87ae1f5eedeb478bdca3fc38b38683926718d42acf181d573232f27a629388011d97f2258541f194d87ebacb22b13cc545748c44be524e8d3511d SHA512 423b62c022235b0fc2c4b0ba0f6cab110b744d6e3cae5ad9104972b73edc77749d608d877126261d9dd2961cc1f25443932825e95ebf4b2bb0796cd44b1cf6e9
@@ -53,4 +54,5 @@ EBUILD netbeans-webcommon-9999_p20180213.ebuild 5932 BLAKE2B 52fef751c15837625d0
EBUILD netbeans-webcommon-9999_p20180214.ebuild 5932 BLAKE2B 04536b42a32947b56743ce208038ced8d01ff117a1f1698ca92b6a523f6c7d9a1303e62c90ca0014be369a7231a5dceb08d58ebf7bc18c6ef0432c0c613e4cf5 SHA512 a718e210b466d427948815d48a9ecc12dace465ad9166632e6d31c02029e40c2c4597b5a2a777110a022727ada7b4312c41cbadc159df64fa804ac5d72c7f0c6
EBUILD netbeans-webcommon-9999_p20180215.ebuild 5932 BLAKE2B c5998b492ecdb7326a784c175482af0c3f63f0a9f9b37750d213f4799229da8ccf338ad30537914036dc807fb4bba7a64b110a0b97e3cfe8e1a5ce48adfbafc3 SHA512 78376a8ff93edef367f5c47860cae82cff2ce5f3f834fec21c643da5142a4ea897a357e23b765f085b8d43669e8cf1c8731967768c426ef3f7689b26f573d25b
EBUILD netbeans-webcommon-9999_p20180219.ebuild 5932 BLAKE2B 1202b86f25a2d477e8cfb6080727c63bc92096f44b24da56043e61f83f6660a3580507a7e652365174827b7cb12756d2fc6160dba61d0928c60c293f8c2e7e71 SHA512 a9119449e45074914202b9438b9bc122957f6fb7802270c96b275897ca137b2de5d6902013bf4a155316d41d38037257c82193404bf1937a999b0d91cc44143c
+EBUILD netbeans-webcommon-9999_p20180220.ebuild 5932 BLAKE2B 5905b181be84296362f47adaaf79d914f8137428198d7be74a38fc674fe92e88b91da61ba03c17b06a9fc8f1dcdd277978ce6b0c1558cea3cc8a76cc1f3ab99a SHA512 d4af225c1b891023f9cc981a6cfa6343a4b7465941a376b5ff97d4692514f482da283ac47432267250692dbfda4fa9ac8f78d9c63c22c3382e80ef5ed0ad9394
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180220.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180220.ebuild
new file mode 100644
index 000000000..61038ad2a
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 2f518c3ef..bb333fd6e 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-websvccommon-9999_p20180122.ebuild 2395 BLAKE2B 7fc5fa5536b8e7f9bd3790d767a597eee8ec4a833c3ed98ed8ca452645fd7fa984b4e87d7fdd89e92d7422d4f55fd79e68563f62de557e55d078b65376498b34 SHA512 ab8561b5972eb2cb1498ad880d8c8f7fa02c3cf373293d2df758cc6dac64d8ae0d7054a01dae2999e206f5d324fe11826bf1145d5cd99a9972c380bed3568efe
EBUILD netbeans-websvccommon-9999_p20180123.ebuild 2395 BLAKE2B b96c9615765f36bd78716203995fe1c70a0d46bdb3b024367e2ff2ee2524d727dc68e4919fa38450caf943e4c65c9afe8cf7d84d822a2e0cbb7491ef43d08f25 SHA512 253aea64c034e13b00080811e451dbf1429dcd7339496e36fac395f6eded2dc3459ab7cd5253755c59e2674c22dd180f5b8e6024e9f03eff54ab09d3f76ac297
EBUILD netbeans-websvccommon-9999_p20180124.ebuild 2395 BLAKE2B 1ed7bb8e53b4de8557f4dcd06f6d12b19f4becd6c8a01b8c6486841d20ec7e8511f14a3d6ce10ef5b95eda047c7e0e85d44aa61dd3fa955ea2f599a1edbf4996 SHA512 b374f5522a23ab50fa03487ed8a905ee6a906db6b50db3d75cff90436c5195697dfce64d34484fc35746865bddd1f9215d636431477c72b64462020d926e2888
@@ -39,4 +40,5 @@ EBUILD netbeans-websvccommon-9999_p20180213.ebuild 2395 BLAKE2B ae5b3c0f54062d1a
EBUILD netbeans-websvccommon-9999_p20180214.ebuild 2395 BLAKE2B c7ebaf2315fc941350db689734f4e4b535f40d5ef4cf19828f5c2bf926fdf76d4229b191c34da1ae42cd5d2f0d6e180dce600b3a7bf4248daad9716c019ad351 SHA512 ce1d296ed5b6c89571714709facde0db7ab14003ebcf1911dd751898d8bf8f7b309d82ea5c3efb40f7f405af4988717099ed7c85968bd48146d4220410830474
EBUILD netbeans-websvccommon-9999_p20180215.ebuild 2395 BLAKE2B 01efa905c804e212f7d522239bcd2b803e043dc78f00e17e82946d791d337ddeeaf01eadc6de668951d091c09ea4f49e15611e272778a9f2f3b5a9ebee6c4fe9 SHA512 ba7cef9faa4c412d6af65f6d82a3c0a0b6efb526587a5b6a5b26e6907ce491355fe23919563bd70fb75875720144dc4a90ef9f569e20208475b25b65c4d8ba30
EBUILD netbeans-websvccommon-9999_p20180219.ebuild 2395 BLAKE2B 802b834e19b5889fc532bc32c10c7b6ef1e057be4438acdc5fed0dfd656be7422b51a1e1cd1210f399019f6f1ba2868adb4f1d01519b1ec355acc24503e92918 SHA512 ce2053c44cb4c8a7034f374513b24413f14cbe242409bdd884f42fc33160ad10e93aa2efc6f202377bcfb187a6a0bc1a0d90598f19bcf4144fba99de6fb9812e
+EBUILD netbeans-websvccommon-9999_p20180220.ebuild 2395 BLAKE2B 0e8dbf514b0186e0e08ef19d468aa5fc10731e57b65747c9c092a418ebbb7ac670ffab9688a82327456d339b018e7b401e67bbb98a6a91457243cb53e2584baf SHA512 b08f7dfba21bd34ab27ca7f9d6ced444f8bbf065a163cb7372a55feea839a7bd650c4ef397c6d17fb0471bd31dd8c6d76ee1c61ea8534eef15dfd1e9f768c48e
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180220.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180220.ebuild
new file mode 100644
index 000000000..e19916056
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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 459330fed..a2ea96828 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db
DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
+DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
EBUILD netbeans-9999_p20180122.ebuild 6186 BLAKE2B 455db3fc8d5ece3d27208485142f84ccdbdd87817a77c38eb0c2ebca371587884a904ec800efa66773a7ae006649ce6be4e0393a1d799e829fb713f6436e430c SHA512 4684c739f48e39312b48768368e89f59a0581dcf27c06fb3707b5f89a5630918f0ae8391d3e2c54490ecc5c8d41f120eddcc2d0df847293b1438ed9e3e63b7f3
EBUILD netbeans-9999_p20180123.ebuild 6186 BLAKE2B 9c6ab5e0f8af16dec2476230a82a419ad66303990d5d16866b475b497f3f4c0595a02de4b814bcfd5ae0692f2c749286b07f50e7d2cc49c26570beb08a6469b1 SHA512 b21d0f30d43c6e49d0f5dfe8f30ad11576fd33ed7a2c9d9f65b24325ee2c642c99d8f73fc3a05770ff9ebe710c7180e7d261db145371663b901d53b372452bc0
EBUILD netbeans-9999_p20180124.ebuild 6186 BLAKE2B 0f6ad062b82d72586a4096589d8c14fd7922882e457c8602aeb687ea37a49cd3f95ed04be44d985c3d85a0a68b5f8a9d78a6b66c831b9ad73769a4a20532b634 SHA512 2a5fb8bfec44f82e60ad3bfda9156c1b1ea2d69728225282ad82f7f19552941074396bd685f63ede990ed1994ee90d6850399c84c014d373df2c98a4069ec2de
@@ -40,4 +41,5 @@ EBUILD netbeans-9999_p20180213.ebuild 6186 BLAKE2B dd664b2e7bc89c4d56c611ca504e7
EBUILD netbeans-9999_p20180214.ebuild 6186 BLAKE2B 312f52a1db8d1439e59ac22bfd611c50865d54632dce9ac4c081a34072823db0025df925f682de95048038622fe30e69cdbf42d3db064a4ce58070dd777a1787 SHA512 8557ba78446b32b4b26f289215b8999ab7655392fa47485856c09f7c338ca345b42b66707412b83946ba015bd256543b83d13f2c6f3497c6553065464bb40dc5
EBUILD netbeans-9999_p20180215.ebuild 6186 BLAKE2B a7c4d3b33b50b244f70f79755a8843c1b13de882df02b06cd94e7bd0e983b61e38a682dd8c8011ed70e43ce5207e64543489d0cd866c14f661ac2aff36d68b18 SHA512 46341688f3f85f646f792fcbb4eabc9b253c0aea02e5f5ae3883208cbf765c25cf7430f83747b3c3608a76d7d8e0ba16d2c2e3b16cbdc9221e0cde0f7e40d0ea
EBUILD netbeans-9999_p20180219.ebuild 6186 BLAKE2B 12f0d37fc3172acb68fb965d0a06e607d3840f1712e4bb70093444b25aa09a5335435226d006e159c58bb448608cc543c6c88fb114264e933207b1751f9cee8e SHA512 1b2f1d82cd4b822eb6527703a407e66d6f8ecf509abf608c195aa68544f4953eb20d636b2bd69f5303fa12d1c2474b65710ad9a58bf032ee522c1099bfc9e1e4
+EBUILD netbeans-9999_p20180220.ebuild 6186 BLAKE2B 1250c15d1fc9026b80e87f5dc38950b503ae4c85087f57d5a4b74298a3da08b69a79eb6195bbce2cfcbe77d7ba1aa099c46993e32d1263c6180ffe65f85741e0 SHA512 4bcb02b5bbe909db8a156672ca18d2f9e49d096cf1a29901c8e2a1f4b51c9d6cca76d4aaebee1a986a0e5f5ccbae8b16578b4bad433bfa64e50624ca265e8624
MISC metadata.xml 329 BLAKE2B 88f7b4966ca5fc8e18720ef5488809039344b15344c78cc4f016ab3fa95f76283805ef5d1c85b5c0b419462a0611ed6ceeecb0eee65b5b1b068a605c89efdf6b SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640
diff --git a/dev-util/netbeans/netbeans-9999_p20180220.ebuild b/dev-util/netbeans/netbeans-9999_p20180220.ebuild
new file mode 100644
index 000000000..14c3d9568
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20180220.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-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-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
+}