summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-02-09 11:58:46 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-02-09 11:58:46 +0100
commit850122a9872fc7db7722c95b15e19fc6ac1be7cb (patch)
treebac3774fcc14c4e02abe508306c51ca8c0243103
parentnetbeans: bumped to the latest nightly sources (diff)
downloadfordfrog-850122a9872fc7db7722c95b15e19fc6ac1be7cb.tar.gz
fordfrog-850122a9872fc7db7722c95b15e19fc6ac1be7cb.tar.bz2
fordfrog-850122a9872fc7db7722c95b15e19fc6ac1be7cb.zip
netbeans: bumped to the latest nightly sources
Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --force
-rw-r--r--dev-java/netbeans-apisupport/Manifest2
-rw-r--r--dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180209.ebuild97
-rw-r--r--dev-java/netbeans-cnd/Manifest2
-rw-r--r--dev-java/netbeans-cnd/netbeans-cnd-9999_p20180209.ebuild115
-rw-r--r--dev-java/netbeans-dlight/Manifest2
-rw-r--r--dev-java/netbeans-dlight/netbeans-dlight-9999_p20180209.ebuild87
-rw-r--r--dev-java/netbeans-enterprise/Manifest2
-rw-r--r--dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180209.ebuild252
-rw-r--r--dev-java/netbeans-ergonomics/Manifest2
-rw-r--r--dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180209.ebuild87
-rw-r--r--dev-java/netbeans-extide/Manifest2
-rw-r--r--dev-java/netbeans-extide/netbeans-extide-9999_p20180209.ebuild94
-rw-r--r--dev-java/netbeans-groovy/Manifest2
-rw-r--r--dev-java/netbeans-groovy/netbeans-groovy-9999_p20180209.ebuild97
-rw-r--r--dev-java/netbeans-harness/Manifest2
-rw-r--r--dev-java/netbeans-harness/netbeans-harness-9999_p20180209.ebuild100
-rw-r--r--dev-java/netbeans-ide/Manifest2
-rw-r--r--dev-java/netbeans-ide/netbeans-ide-9999_p20180209.ebuild359
-rw-r--r--dev-java/netbeans-java/Manifest2
-rw-r--r--dev-java/netbeans-java/netbeans-java-9999_p20180209.ebuild268
-rw-r--r--dev-java/netbeans-javacard/Manifest2
-rw-r--r--dev-java/netbeans-javacard/netbeans-javacard-9999_p20180209.ebuild120
-rw-r--r--dev-java/netbeans-javadoc/Manifest2
-rw-r--r--dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180209.ebuild155
-rw-r--r--dev-java/netbeans-javafx/Manifest2
-rw-r--r--dev-java/netbeans-javafx/netbeans-javafx-9999_p20180209.ebuild110
-rw-r--r--dev-java/netbeans-mobility/Manifest2
-rw-r--r--dev-java/netbeans-mobility/netbeans-mobility-9999_p20180209.ebuild112
-rw-r--r--dev-java/netbeans-nb/Manifest2
-rw-r--r--dev-java/netbeans-nb/netbeans-nb-9999_p20180209.ebuild114
-rw-r--r--dev-java/netbeans-php/Manifest2
-rw-r--r--dev-java/netbeans-php/netbeans-php-9999_p20180209.ebuild113
-rw-r--r--dev-java/netbeans-platform/Manifest2
-rw-r--r--dev-java/netbeans-platform/netbeans-platform-9999_p20180209.ebuild154
-rw-r--r--dev-java/netbeans-profiler/Manifest2
-rw-r--r--dev-java/netbeans-profiler/netbeans-profiler-9999_p20180209.ebuild107
-rw-r--r--dev-java/netbeans-webcommon/Manifest2
-rw-r--r--dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180209.ebuild118
-rw-r--r--dev-java/netbeans-websvccommon/Manifest2
-rw-r--r--dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180209.ebuild80
-rw-r--r--dev-util/netbeans/Manifest2
-rw-r--r--dev-util/netbeans/netbeans-9999_p20180209.ebuild235
42 files changed, 3016 insertions, 0 deletions
diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index f903f919a..f618498f0 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-apisupport-9999_p20180108.ebuild 3058 BLAKE2B 359aabdf857dcd18d988abff305dace360323ff05b9432af5e95f08193ccad6cc8eb9689d09b69766fdb59a0540d41f098cfd03d03acbdc2ec79ca005d016a1e SHA512 9e8dd9e7ede6fd27f2be04b4406753cf5917dc6abda794bba21200deb53dc487d01b4a6bac286eeb6153f2da1a92b1e360930d30404010481996551898c399dc
EBUILD netbeans-apisupport-9999_p20180109.ebuild 3058 BLAKE2B f3e71615e0be642eaeaf30386cf3dec945aa65f58a6142c33525eb9d011b299ce500c5f9c2b6ec04cb084021f17fda337759d0b1c636c7612f3c2bb0bcbe97ce SHA512 1824d3100ca8e9e031bcb449bfc7a75f9f81d85f108970c63ecd6f750d410584d0b48e33ab3cdcf40c4a58f974778a30ac85035ec7ebed6a1a486d51fb686a58
EBUILD netbeans-apisupport-9999_p20180110.ebuild 3058 BLAKE2B e24636a80912745ef2eb2afd7e731e6c0dcd669c94ea32bcc5f264691bd131e9a52d046c889b303eab9b9954ad267fa3a0677f634d8597dea6d91786f7b06a19 SHA512 317977dacdfc513b4b5463cb86a0d4e5097ec5081464cf4265248542e5fccc1fdab38854a1c224b380cdd1b9de968857bf72446bcb1241d7ca1b56d20fe7cace
@@ -41,4 +42,5 @@ EBUILD netbeans-apisupport-9999_p20180205.ebuild 3058 BLAKE2B 800fd904411710116c
EBUILD netbeans-apisupport-9999_p20180206.ebuild 3058 BLAKE2B d24fe63b126e2929769263867831985075fa42d0b6950be74e501dc6ac7ad185dbfbf0f307663e012d5e3f7539b7f47a3a63e34cad00da35d093cb5b5fbd76a3 SHA512 3c97f73c3983a20601cb9f51a8a5d0b12e41415266b3a10dfab96e79398e4eef094acb81a402cc384b9a92df3b52c2583f6192fb03e7fa8b44f2443d814d303b
EBUILD netbeans-apisupport-9999_p20180207.ebuild 3058 BLAKE2B ca6e802c7917e2b67f7f0a381513a0b210289de59e0dca4852224c5b32d2e7a2a17d02ea6b68188d03a86aad1531f909ae199be8443e6585aa6b2f990e0d32e9 SHA512 18648f2ebb23cddf8d94537c71894c09d03f481033a06e9b402fb4565675d465ff8a4fadbb29c269d02ad5577d945829f08cc52bd9058797342ae1a74a6815bc
EBUILD netbeans-apisupport-9999_p20180208.ebuild 3058 BLAKE2B 1716289de833c499a305632e25b09a0f57e519140bd50808fb4ad2b7209ac5cdc6e4107e8b9188e41eee172f5f4bf298daa50ef9da248c68aa62cc297d307479 SHA512 47ea1090b596317cb2cf0b69003511a1b2d9bcfe1de9859d009dd59eff8bf756c00eb5e51b4157712b6033a7f24d15fb118b9c8bbba8e03daf7ce3eb8d0fe31d
+EBUILD netbeans-apisupport-9999_p20180209.ebuild 3058 BLAKE2B 532d2943535d3a21ca6aa038143147d11d891caaa8ca1f06618da7565e52be4515429bc391f6855deba49c6295d081af9377f446881e03e73cd4825fc49ed140 SHA512 6029c76c40be692585dbcd4925c827fc44c294e1f3569d041a5e3ba7fb9fedc7cf2cdbc8262e7701851526c6aa33ab92711e2cd886bb1d6e7cacdddaa5f30f7a
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180209.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180209.ebuild
new file mode 100644
index 000000000..8cf475449
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 2c0ce8f5f..b1c92a723 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -27,6 +27,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-cnd-9999_p20180108.ebuild 4686 BLAKE2B e7233cc3ac34cee47d43fe76f57f0dbc1bb3fc571f55c265ced1ebb6b399859d31b66ef8f375db2e556c2770372a0412c3032b7a16ebe23d9d174525e7de4fd8 SHA512 d717b39a9796845d2db43c04e91abbe4395b3b4e8d3938a2cd745e7e959b4ef1ec48016bf811003159b53ebf3e955bb881e3fb94c637eb545c956cd7e3bc22ae
EBUILD netbeans-cnd-9999_p20180109.ebuild 4686 BLAKE2B d6bbc499cba0c254d1ac51e15dea503739a1b21f29d4f8c110a3f7657b9a8f04595a57af2a4d735032f128f02870dcf300b75f7cb28ed960db61197a9ec10cac SHA512 dc1223585952f9bf1535dcd925e8f8d6fa09c34225884aeb5f1f9bca7ed424f089021bdf74e1570a6499b3e1382fb849a83c892bb0043ea7d8bba6de2299de9b
EBUILD netbeans-cnd-9999_p20180110.ebuild 4686 BLAKE2B 51b39ea3cf6574bc42cea86f53d1043ec561b1d11547459ac5ce4bdb4470ce12cc270d2e8bb52d1726e6e0bc05cd620a1ddd96d94b717a7f7b1f1f010c85c65d SHA512 fcfcace4a0bedae537bb16156934745bad1de77a5b595d45fd616c73a330bf5ab47f875a89e7b41414022c0f9ac62050790b4fb7f6e71119fe31cbbfc58b193a
@@ -48,4 +49,5 @@ EBUILD netbeans-cnd-9999_p20180205.ebuild 4686 BLAKE2B 8e5eb87c228260e84b8942b53
EBUILD netbeans-cnd-9999_p20180206.ebuild 4686 BLAKE2B 6d6215693c992c7f4629aed86cceef9af52a74ad5424f61a82ebe9235ebc65fa1f6a1107706c8988d7a751d98e4cbc0f7f23e5d3b39dfebaf76519678ae6689f SHA512 b7644fc56719dd5d12dbc2c094941651af030161ee9b1555cc2a08010ab5b3fb0abc7bbb0593abd1fd6d1c75a8ec6c8a2773f6b5cc6ccc7c05776ec9872b0ec2
EBUILD netbeans-cnd-9999_p20180207.ebuild 4686 BLAKE2B 6f1ff74ed6d3ce70a58d608e32acc2b4c8730e285c611fbd8e6199c1ae410ade576669e24ddd4d209032cf6708b3aacea2109c8f83cdc9c6fd359e6e40be8e17 SHA512 97f32c3a21a8838e724c8f0bb6f3ee76b72371879cc0b0ea7ee3c48a2b0822d222a5af2257904ea9ae0889e1b5d016a4b00d076a2ec94b15b7b2e59a3026c284
EBUILD netbeans-cnd-9999_p20180208.ebuild 4686 BLAKE2B 0ca6268e4e209235e0aad1540efd2e19a4bc30b6bf8d8426e9e7c896d85508610c48438644e28e3c2ba4aca567756a526bbdfcade9021c2c243cd9f5e2e0b25f SHA512 f477ec5304058c778260bfe72fc1967d05c5d20c89be1b3c135f26c132e551ec9f4252b51b98bdb55ee7be8cadced1ed156b13365200839c37113580d0a1ef04
+EBUILD netbeans-cnd-9999_p20180209.ebuild 4686 BLAKE2B e592c7f9fba38913df1ade3d85e17ee07a308a3d35fd033bd25ba4a12a3ffa2680efbbaeab6d211d440d112cd875da8fca3c72ccf5149a80972713e1067373a4 SHA512 840c59cef1c52feeb84cc3bc64b9f605ea01f7373b16bf37cbd4688b0598a8706840bf83d3d8d416e458773d318b83f7c0c7adc2effcd16a31b34690d53eba61
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180209.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180209.ebuild
new file mode 100644
index 000000000..11f90001a
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 f639bc861..c6ec6d968 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-dlight-9999_p20180108.ebuild 2643 BLAKE2B 60bf6fe517375be192773854b4719246848803bb1b79ccfcad12437a9b98dcf539a250cb34243ca8db38d125f80b06d59642d24ea1ce874a8b704c4680131bed SHA512 26eb4ca0a16fffa736e24820c19cca8dfd75d092578db554f0b89523e5f3ad1df8fc9916b19edad328e8e99beb2cc951fb840b6387aefba692f6b868c768a578
EBUILD netbeans-dlight-9999_p20180109.ebuild 2643 BLAKE2B e0ff98556065f21fb36f55dee5c01b55a490a560e5a544d10058bcdcaf265258c4d4a3d546d37e7395726aa8fc41b7bab3abe01dc2e01be92d211dbbbcedca4e SHA512 cd161752ac1f6653db93d812457149c7605cb7dce3189fef7c0ca07a7bd63ff46b15df8cd5667b7d9ecd3a3532c9323390ad3a09f0d7c293706442ecbca95526
EBUILD netbeans-dlight-9999_p20180110.ebuild 2643 BLAKE2B 6c45b00f5f05649e04a1387b48ea30edd85085b4c56ae6df4a0e0ee3d0c218fcead272c8638f1d381070786b96db730db19c984bc8501908c659bbeb2da759ba SHA512 67ccbe8307cc981fc4f7f2348799f04c3ae7fa7e58fb1d62368421b3d36618992130a1b4524df37e1583d6bbe5648ef843bd9016d73264110503df14105d78e9
@@ -42,4 +43,5 @@ EBUILD netbeans-dlight-9999_p20180205.ebuild 2643 BLAKE2B 949a839301254c3c272504
EBUILD netbeans-dlight-9999_p20180206.ebuild 2643 BLAKE2B ccf4b1cc1e7625b7a63db17c6aca92722bcf7c04eee224d8f675b0d8bf78c9a87b9417a23678bae83ee6dd196bfb00478885ddc577e1f1b2334f635daa509cac SHA512 36381f291aee38f872f8d32bdb5a9ecc8b6767db99f1ae875b3d40a4479152f1200e5d34e86c72de9d949756513a3085dbf17fced0577b6b7df62a54c91a5598
EBUILD netbeans-dlight-9999_p20180207.ebuild 2643 BLAKE2B 47173fefdb001bdc51f1e84d5ab52789dc577f90fa96c1c5c5a7a2a28529e36e97dbc80963029bd57b22b6c3d79738a14ff37593d5df7ea6d6df66f783d9c785 SHA512 14b2cd2232151fc1699d6b291a184c311661fc791b39a30dc2fc4f2b2dde4b2ae5850ddf6a8b517f7f06dcb231cceaaa7bba86cf17abd36c4d9c306d7c49715c
EBUILD netbeans-dlight-9999_p20180208.ebuild 2643 BLAKE2B 554791c87f28f856829a18c5a8330bf5390dc6be1072c78a4d713a79cf692ee84459d62953f706f8be674b73f5eab385ce061741e21cb9edad2ebe98f4f86b4c SHA512 b2446b7e99620a20802205613ab4e7d15d13257f40bcc93f91b51d9ad6ded88f7c101ae30365ca0462c0bd1d358cb752bb17d32f77b4c743a56efe56b9b27539
+EBUILD netbeans-dlight-9999_p20180209.ebuild 2643 BLAKE2B 9c963965d8ad118053fa8e6a637b8e7dedbc072c1ddca98e8f381f2cbf2e5ea0904f0871953edfeefd1d7f165c1efa33e4e3bab941d6b3aea90f9a6e39914f2b SHA512 62773e1234df2006d715bd776e1e9287f864f9fa690b6a46af75f30fe957dc9a402820a3e352c0867ef2ab9069773798cacbe801a794221e14ea7c1b1eafb8b4
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180209.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180209.ebuild
new file mode 100644
index 000000000..31431e095
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 e312963af..24b30b512 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -51,6 +51,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-enterprise-9999_p20180108.ebuild 15530 BLAKE2B d6a5b29c3f886814383d14b4a35c0dcd65f41a3d9ec6155bd32aada01f418373fdf1aa37c1134bdc64c5ea8336ddfd055205bee911bb3d1d88919d2a57c33d08 SHA512 ec3a07bc4f8f9df24df621863bc756e26dafb54fb93bb339649f195910646d27837938f61c31afb77a4d98cd34941e360470eb9c4f3827067c000b4fc4088904
EBUILD netbeans-enterprise-9999_p20180109.ebuild 15530 BLAKE2B 40a725ecc756d0dea211f99fcbaca15e15fe148f003b54162345d47f79ba220a7c0ebd028c6f9d30b26dcad03728e910943501042312aee42da47f48a7b86a8e SHA512 100c0bca5dabd748ca37bc2c89d6c30b1c154b97615eb573bb5cd4080d4d0ce8c3eb49bbada7edd94f13ff566506a493c2ba9eff47133f778f7bf6f0ed8b0133
EBUILD netbeans-enterprise-9999_p20180110.ebuild 15530 BLAKE2B c298c5fcb3039a7dc7e0146c4c1152022983cbaf69f6fd220795b1d416b95569506d079cbfedd8ead1593a5b7dcf063d2329bdd976865041fa78c4a95cf33671 SHA512 97f2bad86d7e1446d92eecfcbbffe329283dec7d75d0c3ed24fb1380b0d314442362bfa26a8b1d6e4c660a3609bcca2127ef2f355666a7ffb9ce552fc8e0b3ca
@@ -72,4 +73,5 @@ EBUILD netbeans-enterprise-9999_p20180205.ebuild 15530 BLAKE2B bdfce0ceaa3225a7f
EBUILD netbeans-enterprise-9999_p20180206.ebuild 15530 BLAKE2B 609745aef43844faa78fb34d150df742d5bc910a7d0dcdd46f285f0f3d2f4c1495c5f8c17f53a8757b2fd009bc954594fe6578506fc5296d37e6ff2238aa1482 SHA512 2853cd20474d339817ec14dc3b5580e3ed28ef0ebbc16bfc60da24dbe3fdc0e38154be816f9aa043bf2a51de9f56186d2d182cf042b4213b59f3c1a54f195b3b
EBUILD netbeans-enterprise-9999_p20180207.ebuild 15530 BLAKE2B 4c47cc2576f9afee36a486935bf0855081b9d5187d5983d073243e9ad1a857e24067d855af070338ad19c20ba730e96176a61338609f6de82def7b780ce2c236 SHA512 fb92132a0868780c52fbbf799fd150b1e856fabb6e82726edff3a904c297e5907f3549d7fb0c8cdea4770991f8f123c7022a298288c009786966fb0c6cb454ab
EBUILD netbeans-enterprise-9999_p20180208.ebuild 15530 BLAKE2B 523e2c978bc5b8392711079c81be85365327ee635d43b71b40b2f7c1d1caf362cde82d4d515fea6a0d5fbe2e4e4d8db41f21a2cf514f4ed91b8ff6d475a8ca5d SHA512 6bbe0732fb7ec8905e23e48d7e961634d399039c38c237f315dd5a36047bc2eaa71421e7fadb86e7162437e834a36850a53675dc3d196ecd52d3a5e65909ebe1
+EBUILD netbeans-enterprise-9999_p20180209.ebuild 15530 BLAKE2B 272a31df2f58c03abf094dd87899c2bd81fa39fd9e0367bab45d314587e8e68c33f41e6f69d27cf6860dfbd8499cb368a8fe00425a5c0479f01ebc020af662af SHA512 12656070f039573ebb881c87fdc1cc11ff7238118afdf7ac6a450ad142bccc6828fbf6a1c70fc9828a6ba8053965c05fc98559c86076a77e851a2fe26d6945c0
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180209.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180209.ebuild
new file mode 100644
index 000000000..2b955ed3e
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 909aa3b38..058860a97 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-ergonomics-9999_p20180108.ebuild 2587 BLAKE2B 7f574b3e43419c4832841901442948aaa245de54f75972e02c8876012cf76e7cf6ed24736783ca5c2dc4a6dcb9b1ac37a017dd07de696e26fe20da95dc51c8aa SHA512 c8d68ef17bbd78c18e8fd2c9e44bbc8c178308e44d7b1189dc6457336ace6f0941bf46188b701dd75be844c5c7d4983e951ada22ff6a8f3778d060fb1a7d95db
EBUILD netbeans-ergonomics-9999_p20180109.ebuild 2587 BLAKE2B b22a6b1d8bc762299dea7912225a1bd23b3cf35bee5f2e2236f2af8391564517ff8bf1dbd4200dc80d2590891535d04bf60a78275a2e0671d04f0cfb6e54146b SHA512 6c47dc82ded0283a99e47234533fc1fbd4e6aa0ae2b9b0befb3e831833eb031ed8f8da4917bad4fb85997df36051a9605aa9fcab6a8c1399e2add1b688220e12
EBUILD netbeans-ergonomics-9999_p20180110.ebuild 2587 BLAKE2B 77150f0f22c42ae11ad8c262f964cf207a9b0557a9ff38789452873493d344ca5b3857f6db1651a8ca3b6ca36ad0092e2939b47885aef0a73f67f62f650e711e SHA512 72c603e2f5de51885a4ab7fd710a033b6f4b7e6b7f40eefc218a7dfecb8d7ac20051399128eeb3f938898df08286034fb639dfbd3309a23f14889d5524ea0ae4
@@ -41,4 +42,5 @@ EBUILD netbeans-ergonomics-9999_p20180205.ebuild 2587 BLAKE2B c0ee5553fa498f74c3
EBUILD netbeans-ergonomics-9999_p20180206.ebuild 2587 BLAKE2B 84e910fade8824c72655a4e324fac92ac43e9c1db03f4bfa79ad483c90da0585607c6c3e7b873b2ca186721653b5f0fe161e6404f3f8a4232445b0f277420acd SHA512 1bd5bcb36d3af2239bd7e9b4b15698cb276e829a51331fadccf3b3cb09bbb164f848ae6f356e8542afa7742b4d79af0b40fa001cf6df04ebe20ea327c8de3556
EBUILD netbeans-ergonomics-9999_p20180207.ebuild 2587 BLAKE2B 757f381fc2024b9e401fab15a0594bcf45bea92517d12020733528bd9655f9750838b8d8699fe11a31dc69c62761c7ae597c56e8fb4f25596fd478acb3bf3169 SHA512 8305c9f83683819e8120a12f0dc5aaee7f42f8d5a9053e69b32ead2d70688448393a6988f33cc9173025c08502488e8636d12ab651aaf8aab4461cce4242c7d8
EBUILD netbeans-ergonomics-9999_p20180208.ebuild 2587 BLAKE2B eff629abe2eef03b895d5c08f08f0a74631745729b57e0873b19934d70fb9b881a5e17f0a1633a78a8df36cf7a96941e0a779ba593d06db8d742595aba0dd7f1 SHA512 0c39f2b1e04ea91087ad6c4a2b1760973a1fa9bdbe6bf0d557eef38caafddef7e168b2780160bf6cafd7706cd21762bf28dcb9aeced926d86c72ada1626b666e
+EBUILD netbeans-ergonomics-9999_p20180209.ebuild 2587 BLAKE2B 68e4f544aab0b2ae7b4c878c03c08dd001075520c8ffc8d444775a0eb7ed0b222227e2318bde1a71cd9c3e62e8805f55cc25d02bada5cea24640574650e7fa5b SHA512 a55087f5ba0a7bc5443b9f4203b2e5a47c885c4b0527df06100fb431d285ac366a411c379a1087e1c1eda10e98231d6d2292a717c5bd1bc79220ebb013323182
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180209.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180209.ebuild
new file mode 100644
index 000000000..cc0c31172
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 8c06fbc56..091f8c222 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-extide-9999_p20180108.ebuild 3059 BLAKE2B 18b6797376cc8079cd981823323b20d78d68038471b1ea33633b63f1a2f482748523ec489d08ae805ba494f782fdd3df7042e87e5b37b412947a7cf75ae79bfc SHA512 9c9bd50dbbbac9e8577c438af6601daa1e2c680c8cf7aa898bddee6a8dd943a9104ca61e3a6e141264923364c2a2cdcaa0d0d00e877e1a680096b4db314947b5
EBUILD netbeans-extide-9999_p20180109.ebuild 3059 BLAKE2B a3499758dc70cf0df96832ea2c1ec524ca1030b325f8aac45bc77a7af4282277904940757952af0c8908e114b01748dc18c1266cb9e731ddc2fedbc3acce4ac8 SHA512 fb6be0e4ba9d5616ac1178e2160073cce58c79ff47667aef46b79322b69fbf23db0299a3ded1e943815e9ad6383a8ec836adb08bfb04a5fdf30b08fee799d662
EBUILD netbeans-extide-9999_p20180110.ebuild 3059 BLAKE2B f95a231ce6ef5a6bfa64db937496e39c64bdacc55d3d0f856d73dde92e76a260ded6ce8290a6b8c274aa92bb6d390972d50132bc0956d80fe026f308419f52e6 SHA512 1061865f3ea7d6ed6d3df570d4c59d5cd01dfc5be350fe59dabd2d00c3fd81783e05bb38e394ca20929fff291de7661fa268f9cf14e39564f4a2412c5a2afb75
@@ -43,4 +44,5 @@ EBUILD netbeans-extide-9999_p20180205.ebuild 3059 BLAKE2B c6d7978ba0846f262a0771
EBUILD netbeans-extide-9999_p20180206.ebuild 3059 BLAKE2B d0646ebfab420248bf54a31d00ce8be8a957c0176f5006bb50c244d29a63cbe0e978b0d831c57cb7e247d7c1d8ccd94b82603606234acb892a5fc44c50bb61d7 SHA512 d911eee6dd74df95b5a45be5bd63a5deff7538a9ea48bcaaf5ecb252a39c59b5242e47b68c80808fad20c3759117a7c58949b7b217c443706787631784e79ab0
EBUILD netbeans-extide-9999_p20180207.ebuild 3059 BLAKE2B 8360b80d679471f0827c8925c15a62c303b28b2fe86186b746c3393d5bc1f088f35ef84e1e3be706b79deef625bc948d225d3d3255b48853e7af1787b7116945 SHA512 3e4ce115c7d75646e7d3f94de602aaaa6e4d505f4c8747db310b89f4d287a3e0a85dfe373f79472eb01454473bdae50ae64518efd7945ad1df482a865b504ecd
EBUILD netbeans-extide-9999_p20180208.ebuild 3059 BLAKE2B 67a1c88ea142963a69513bf91531b9b35ed3e437edf19c089ccb7507d75012f112336e8afe409525886c74cf49af091d500e7a2695a41d4a5a36f69d58c840bb SHA512 4cd593ccc2d326585bfc146e3b28275fba68d4fa5562ee8f4f1bc5aa46df7492a6b412a696636e28459f42f3273d7949356ee61c0ac79e7379b0c92cb77057b2
+EBUILD netbeans-extide-9999_p20180209.ebuild 3059 BLAKE2B 43b1a33242c772324d0774a9f87b45dc42b8b11471d2900d45dadaebe869576e3561c4a4e9207d0466533b325fc11ba338dbbc2dd69f23468990ceb65259c282 SHA512 ae2ef579c7ff99708a911adf88199555fb3a23dcc4a386f4d8bb69215dd310ff372bdbe626b118597bf08dbb8be6cb3bfd7694e4e22a2a307cb8a05eee39db97
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20180209.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20180209.ebuild
new file mode 100644
index 000000000..d5fd76752
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 9d3f4f24c..16f1d603e 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-groovy-9999_p20180108.ebuild 3091 BLAKE2B 305b42dc2e2cd4f7f9fd92b41e133140bae8a4d3c83aa00880db5160610fac95d106ed7d40bec2cdf34f7a18bf6c23197b7b13253fa8aa1d759dd6166f31f234 SHA512 cd4e8c80d880907ffd3e2d40ac75124a9e96ccd1435284cb6f05c5757f1e524cdf6be45c7cad2419f60d13c87f94deee540e5b85f43bce63a0333c899d923aec
EBUILD netbeans-groovy-9999_p20180109.ebuild 3091 BLAKE2B 53c3fad1a7fbb2f3bff034c32e1a2371637420ad2f68ae9a8e8c821c5c9a848a76698c0436c12980eb9beb9728dc0d0e83f8be4f760962c27bf77cf804d867f0 SHA512 6304c4826a05a6e1ef2b379677c1b728b054235208836ad900498fc6e1196dab4bc237706194f2eeba7554b1e3fa0233ac2b0d9007d581be625fde5bf557bf07
EBUILD netbeans-groovy-9999_p20180110.ebuild 3091 BLAKE2B b07ee699f427eedaa57c297f89ae96fbf8146b5484dc331652b22373411a8ad085692cb0add664ee925501c2a6256c95f65c68c33bd8e1a9a9c5f68ae5362e8e SHA512 29c07f71cb2accac1ae8feb23ffdaabe393f6aa767dbf711f22c0bc686df3fa4f133e8fbaafb2343f535b75dd269cb2731ff37b94f87c299bb6ebf2f7cb66268
@@ -42,4 +43,5 @@ EBUILD netbeans-groovy-9999_p20180205.ebuild 3091 BLAKE2B 26a5838f7ad2609950b5c3
EBUILD netbeans-groovy-9999_p20180206.ebuild 3091 BLAKE2B 876c60bed01f2a99caf57a7dc867ec7804d459b7b2c0e45b1c9f375dd5df6ed8e668a193b193910b6d7b3ddbc8ed7b5c026b16451c5c034ae27677f6de7b237a SHA512 f0781aae3b45783dd0ef0ff91433482d3bd1fb6800ccaab58bfee2d55517028922a0767c1e8aea524aa43bd71f0b352c513658d721c3001958a98b931b6a84dc
EBUILD netbeans-groovy-9999_p20180207.ebuild 3091 BLAKE2B 69a1d6a9a5a9b174811e8a2f43c6872e7ae002f493e4dd0b97e22507418a014771bc14cc339e59c3c922a8a95cbc5cdb64e7ea2aba0f69b6d05acece7b1dd821 SHA512 51522d0c22b1c81e9a526afc2f6a7e50ecaac2c415363d05177b6b4335a9f81343913df778edb52de219297bf74379d94e8b53b0cb3aa60bea153b39788abb18
EBUILD netbeans-groovy-9999_p20180208.ebuild 3091 BLAKE2B 80abb2e61a38995a8486c3ffc3710c773b5b4dc2b3def787a4a437fec27809dcbb84a7bac59bd71c0bd471682a14ac8fe32e3411e8a086ec749f60513f42c0c0 SHA512 32c11c51832da3cea78d4e5992eabc10f657fa0b907d1abdecd94cb40829363eb1ef1256afbc8c4ac3c691b05b79224cdf49b41c8eb469be878a7e8e5db9cdfb
+EBUILD netbeans-groovy-9999_p20180209.ebuild 3091 BLAKE2B 0d28bb5910ae8a5a88688c7adf2e39b4913c6c7adac2c2d3eb7f9fbdd07399b9ef6a8f8496ad927e7e6816c0180d057bb19cf18952b16b2fc7848586e3f0d6f0 SHA512 7c15833b69f3ae85b06ee65e518ff981219251bc3fd083ec8e71de01fae572c0ff255fd172f734eaa7515a4dc9496528a4ed6f2ebfb241c5424bae74b866a76e
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180209.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180209.ebuild
new file mode 100644
index 000000000..851b88d37
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 ffc594ec7..4a204b895 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -25,6 +25,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-harness-9999_p20180108.ebuild 3805 BLAKE2B 0b0c16d14b23f8a5b3087fc42ee82450e51f1b1e132ace0389e3e35b76487279eade051c7ad9e7002b1d59ce2d39e9d3bb679410ff18a4229a6e4af23c771bd0 SHA512 60b2a712d42c7dcdf4509a1e6850df89a75336c0185a3a546e5b7ea1455a1e179db281f30a28daf24cdf38be30a0694123f7609d5675b2729e341b3857836dcb
EBUILD netbeans-harness-9999_p20180109.ebuild 3805 BLAKE2B 64186576a57990f020bb6f8b7219b2b2c0721aafd500b8299eb3dd45743e5ff3a115820c8a9c2f72617fba0146aae6a6ea1d31a14ad321e0d8a994fb8e614dbc SHA512 9e9b6211dc700c83eeb76599425016e4cee0c8248196b5a5d77920733606975f95d44c7d739c65b235bfae818f8fb229a5cbf305d38325e946d400849000b695
EBUILD netbeans-harness-9999_p20180110.ebuild 3805 BLAKE2B 61915e3cba6a2c008722ace32bdded88ed8b95b970ed6e99c4a9e4f731a27d38b346900ea0bb4108156f21c60dc2709fd1659eebbbfcff166345ba05e3b13a91 SHA512 cb53a0a6dc562e63bd0ca5b0c88e046cfa6ac36a1491ee6f22090496b77903610d31d380931c4a0e0cebbef9367e82c66dda7914cde59133775771f8b3d8f333
@@ -46,4 +47,5 @@ EBUILD netbeans-harness-9999_p20180205.ebuild 3805 BLAKE2B 54e35712f6f5a5762d8ca
EBUILD netbeans-harness-9999_p20180206.ebuild 3805 BLAKE2B 7e80ac393f24e5425689c6c2fc2589f7ae23a624facd4dd0bcce79121b1cc6c508cf5eddf79233adef541414a08aca04e999ef4322fb8fe3b50579bf251dd0de SHA512 59314689520856a655ea8851899967863be3277547b34f419817e9403e141e34e852806cf319987d6186e52f3d8d22bed9eea2e988d12f2dc3e3bb4ff32a5e87
EBUILD netbeans-harness-9999_p20180207.ebuild 3805 BLAKE2B 19212d3c9f149d3d8d260456a92f56f72997661dbdb139865e5e42ffa45f96a21381e48d66d6f287dff9ff9e8d0f5dd41f157e745fc88e5cd8a670c6b1d4bf91 SHA512 0105999d88cbfa406e753086fc6f12a8b212f3cb87f8ea27e1c1a4c19fabfab315f0103348fd29354edd115e37124e93801295b084be016a4b20fd2860a28a32
EBUILD netbeans-harness-9999_p20180208.ebuild 3805 BLAKE2B 02db2e199a1943876d29d6f127613bcabf757365d997e8f1662759cf4091e1d0abd03279197bb9210c3779fba68db12c2f5d191c4ee0db6afae1c5e490a9aa28 SHA512 33f5dadf8ec9646a75d88a32b6aeb4f6f8c85ca97c5f065ed9f99d4d298a03a851e59a4346cf7990be6fd2cba070e9cb01bf3b541047a908bc2f34eb2f38286f
+EBUILD netbeans-harness-9999_p20180209.ebuild 3805 BLAKE2B 17384fa658bcc0b1676a3454c350163ad8de198a9df1134a4f8dd8c52940ea34feaa7e148b152f8cc742d321f65db4e44901585c59a4f6deeb877b60b317aea3 SHA512 4cb4b0b4eab605520f6babdd2dfebfe827fd00dccec7c2077d3d0600d5aa209046092013dd517382f25ddce9cdf54e05c4c871a7d9775a93bdad4d19b28c81d0
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20180209.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20180209.ebuild
new file mode 100644
index 000000000..3f1ac0d21
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 ec5105856..4acac8bdb 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -92,6 +92,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-ide-9999_p20180108.ebuild 29593 BLAKE2B 0e05303b2fd3b97c1907c45932ca0633b257fbb5f13e7e620230909d9e72ae41507af48a236a0f4a96e192e451770f65e191a916a386b660d8ff192ded9e1b3d SHA512 162a3b010e24dfabf6a2bcb3aa0ff14f6298585b2c1ebf14d3c3fff83a274caaf2b0d9de25f95b40658c98587f507c21d690f7e6445e4895686e0db3c85f5912
EBUILD netbeans-ide-9999_p20180109.ebuild 29593 BLAKE2B 40501401113022148cf1327452c81999fffe721236d4ea222c4a7a751bf6dcc5a0d823eff02e147749e34efcab53db1d0c4a3e2f2aefc9af4865ef55702e0c80 SHA512 8276b249b5344a51e87e285f64f13ef6b21427541a47e525544beb2f7e13baa8b3984c9621ef0febd0db3983b747587861802c57a372791cdb39cc3ac2be86a3
EBUILD netbeans-ide-9999_p20180110.ebuild 29593 BLAKE2B bcd8bef2ff5e5e25634c424c096290f463f528e51b7ab1b2f6062bd85b00ba5707c5b8122539c38b3000c88a2495eb419ee50a38e1b33c78d79ecd6e73ac6039 SHA512 5e17153fab1cdaba6be6659191714f6469eb97ba47575d949b051dfd94441de09747acd636e74197764d3ed097e6cc4ea4514471dabe78ca54ce845c444f8375
@@ -113,4 +114,5 @@ EBUILD netbeans-ide-9999_p20180205.ebuild 29593 BLAKE2B 43f893881dd2386504ce03e3
EBUILD netbeans-ide-9999_p20180206.ebuild 29593 BLAKE2B 2c50afeb5669ff9ce2ec3099c99f784539ad88103098cd8aaa1875a65692804ec03386546833470e7197d73562370964992c045cae66b43ed472fbe92d7c7baf SHA512 1944ea1256acedd3224ea00e56dc74651c6456c283379e71a4097a00123201cd49745f1f38a96126b35a0c3da936aebb778e2d0650f3f62a619506fb9af09167
EBUILD netbeans-ide-9999_p20180207.ebuild 29593 BLAKE2B 2f706e98b76ec7e94180bd1205dce91a9e0f5006fbdef462b618a9c690560a15a5d197de8f8b07285444ca5dd8fc0b7ad0ae445c308f1615e7f8cf506e25dcb9 SHA512 c5fc2a2615538c1a03087d5eb1055f0710282b68c17d30b817db8bede85a0a98d1c63fbced2018b311a977f80012ee4b0aad114df25d650651643c6f62496d5a
EBUILD netbeans-ide-9999_p20180208.ebuild 29593 BLAKE2B 4745ca07b7e98fc4cbdd945c42fea7b8fb3344c7a42ec38194023234bbc4cec4e3b7dc0970a5f3def94b5ef8b415ecbdbc1772df635bcb905c0bfcd5f28b41b5 SHA512 dd4f2c37a96db02a06261f67ef19c45f65781953d697f64cca6f80d0a0835e321c8c289c3997c172775f15ebf429d121e7969e973ce3b982924d5b1b82f31a84
+EBUILD netbeans-ide-9999_p20180209.ebuild 29593 BLAKE2B c496ed1f922ba112c68a57827af86067bde0334f0c5f3aa1124ea124b88fcd39f644acfef0f238b9617ffa0b77f268c029c56e9e07705412e0d2e468ed4ebc95 SHA512 61ec99fad9ccf921550396facca0981af87ce1960ba209e9d3b2d127e2a99e953bb32eff046fc5fd14b19a974220dff35125d4f02775df9cfd40019c17662eaf
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20180209.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20180209.ebuild
new file mode 100644
index 000000000..3b13d5c00
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 8f01ec1ed..c87327652 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -45,6 +45,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-java-9999_p20180108.ebuild 15702 BLAKE2B c91d42f761a202e88e17dcfb5edc1a8786c81bea4511bf6c0ec7c79ee594536d253dce4a7b1ddf1b1a023c669b06ad0c52ffebd1793ab0b9f47616220c604b47 SHA512 011b25fc0e6a5ada2ffadcf52578d6f703a081493db579054777768886114380c7437b676f031263889f65663db0e79f3a77b85bd3af28d3db6b9fd9e218572d
EBUILD netbeans-java-9999_p20180109.ebuild 15702 BLAKE2B a1f76675955a3b43b96ba9cb677687c412e4b94ec79188ae4c34048c9d9809a6c0bda962397ad534512eb27e0debdd274a8b9159c786be1dc344585c90e9b948 SHA512 90c93eb70fa2cd0da13d3e804e309cf0b21f7535b7e299c1a9f6cf2f1efc7866cfaa84f0b63ed07c7b3d881572971b53745862f6cbce63b195ba94d9bf5a7533
EBUILD netbeans-java-9999_p20180110.ebuild 15702 BLAKE2B 1b1b70d929548b1524160e1a734537bfc6474fdcdf62a32b3b0e372d9f40bd8fb226bde6743d7dd49bdcb5417c36f110a8914297017b39527d742e5ee0d85341 SHA512 5785b2bde44f41d75120576ba388a5b5439ee5eabcffe311b2deec0cff18ae21d557f5a7f46d213a5265f812cec3756932e7fb22f469c9669dafaebd794dbcaf
@@ -66,4 +67,5 @@ EBUILD netbeans-java-9999_p20180205.ebuild 15702 BLAKE2B 7e0992fc6dcb2fd8cb442a4
EBUILD netbeans-java-9999_p20180206.ebuild 15702 BLAKE2B f0a27a061ea105f6ad0a8e93ccac5e701155e011f1367004a8a4602e11542f83d0c119eea6849735089adb923e2e9097e6866beee345acbac9a74e61e3ac7fe6 SHA512 50091a36a1b748ab1c0a81fd5bfbf9b384ba1935a2685afa91d0e95f4ba1a2678347a82248e90d74e2450f3eb530d4124b1585f6dc9884948a8dd5d39154cd9e
EBUILD netbeans-java-9999_p20180207.ebuild 15702 BLAKE2B c42c602166729add760e375854503c123a7b0e8b411e73daee7e729a98de727f94e5681357e2e377da28604c77d26b7a7ae2225459fd58ab50a788ac7b6fb57a SHA512 7c934010adf697311211885d553e14510a54c04ff2eaf2b5706870625ea5e01813dc7dfb7be8a0a75894497887f1fe3ee852f62b292d0b6bc1806ac0b28c031b
EBUILD netbeans-java-9999_p20180208.ebuild 15702 BLAKE2B 5af661d5d538cf2b7136c840a08ecb934301da7af07c56865e1eec5d575802b4ae47d25a73ee9ed3228d5f91b97882014ac2e06aa037052ffbc58b3b0c97ba26 SHA512 3315a003621ccf13b29e1ad467613261135925a0453aa8d96786be48067f6c33d5273e94879ddfa95b6327da6ef8a6fcd8d70bc35450ef316f2bd9f324e5b071
+EBUILD netbeans-java-9999_p20180209.ebuild 15702 BLAKE2B de4eccf955b516535d7ce96cacc53063edcc5f75bee1cd2103cb3742c956701141a52d59e074c1e32b36a178a8d1b1d132b6996993112b7bf618d958b1780637 SHA512 431dd9eba8c5d73ea8282da3c966760bfac5ac0757591fed0b8122cfc0b537ec4d54a96549008d79be022c0dcac6f527c23be2c0d29c7fe3b692f6a452b7da69
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20180209.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20180209.ebuild
new file mode 100644
index 000000000..de27d1671
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 e276bb280..78208de9b 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-javacard-9999_p20180108.ebuild 4648 BLAKE2B dfe2e96721c6a0d82c654c0a4789e1bb3ec925790a7fcc1bd07788eb90a47f823c0748fa5811290f084f5b24a12334aea8647f5b09ab55d14fe536343b73738f SHA512 9ada14a1e976f9607e1b038a26aeb4d2a5355b54296fdbe795d0ab11dab20cab4df200a5469448e6f53331f0f82a94d20c0919040feb6b290910a079634b1982
EBUILD netbeans-javacard-9999_p20180109.ebuild 4648 BLAKE2B bad2e4953bf8df318f14b9e5c75f78a3eaf656c18d1fc19a3b4ddbec743990f199b0d0b1c8f99239b5de761f1b63904d830b63b5580d0fd2ef20b253f2fb9a0a SHA512 1544899d282d1adce4e46c26be56108142f98149ba5acca5478a8f9e3b553da4f015d28cf221f81ffce23e2e1d1c5fd6bb14548177aa481da2a38083df459c48
EBUILD netbeans-javacard-9999_p20180110.ebuild 4648 BLAKE2B ba150cb6b2ccd7cce7bfaed3affc2829c104ab593f74acbd37137b3938fb2e779967d5c1d076ab9df5fa6aefcf07a600bb560a345bb9b094f87db01ec14d1d95 SHA512 c40325cccb0f194dcd1c40bf0b5719bdd29f686f0ffaa67fbec72fc6d7663b6e7fb6c17b415f00921e0e905a720ca89635900b9f5926862dbfa5556273408533
@@ -44,4 +45,5 @@ EBUILD netbeans-javacard-9999_p20180205.ebuild 4648 BLAKE2B 056f7ce9d09cc41a158c
EBUILD netbeans-javacard-9999_p20180206.ebuild 4648 BLAKE2B 80515e476b6743565138099ccfd0e759d1827b65c1f53ebe7cd5d8adb9e9def6a5bbcc51922b33d0b1855f33ff211a3eebfcfcd6305041d62dad71e849499788 SHA512 0d1302fc3314dfec96da23685b3a0e7774983968301d4bd5886ab2f44737ec32fa3079571615e39b6813bcc4ba738670763738688e92cf8996e997ac9e8847ad
EBUILD netbeans-javacard-9999_p20180207.ebuild 4648 BLAKE2B 76f879ff7218b5f97019d4ad6bdefc5ded0e3dff200e700b56e4be43c6a4de6e814534ef5bf7414b17c601d4872a24e997d1830e3c68021349c97e568c6b0db1 SHA512 9d11ba4145f8ac78d6ef58135bb45b31fc1147724baf69f8b4a3a5361a610220bfeb57a20f15bad409c3d942178e52ac947774c140c737fd8296cf8c525e7fbf
EBUILD netbeans-javacard-9999_p20180208.ebuild 4648 BLAKE2B 010cfd1d7420f7bc720ff01c4cb7911a91ce90230889e2e99615227c344905382d19c84ea13cb2df3a98895598f9dc15f35a849287959087677286c51d9b8078 SHA512 4562a95bb3e938621c2e26a2022c07d7485c17c9060fa5484063c1a92b11c8056d85c9d7eec2795c7212243f82517edd957fa3e86a2a0b7129acb7ae8ff6950b
+EBUILD netbeans-javacard-9999_p20180209.ebuild 4648 BLAKE2B b55ba3f6fe0be79053039202f147cef8e0e4251f6a0e53a6bdcfdc7a17b9dae497fa50caa7d5e505803386b6af43420cc75a6190b0368c927d7b230e35100a86 SHA512 3dff0f7f14c4a6da7f7dd48dc13d5f30147130d0d50554c6a40257cfa01d3a453c772a42188c80aed4dabb47428e29bcca1dc6015d8fb22dd9d4cb215ca52c25
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180209.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180209.ebuild
new file mode 100644
index 000000000..bab2ca174
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 d11453e70..7cd53be42 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-javadoc-9999_p20180108.ebuild 5992 BLAKE2B dd13b03f1c5e799029fce1e14c8de105aa806196982591926bbaa54d788e7a82181ec752f23279e75ebd628765b7a04095f64288c90cf22ba8d57d339238d221 SHA512 81d8dbd54d668a0d1689c42c174454f8220ef388b43df2ddc3de9dac7c5e8b3a91946b2b393c7de4d6f9c9b9e576489d3d68ba402add4af3bc3dcc3f65674508
EBUILD netbeans-javadoc-9999_p20180109.ebuild 5992 BLAKE2B 442e4dc22678ed0d4947fad7e1993d278721daab3c78d5d05a9869e87b822f81d6913615055115410b569a889550cb51f456945c4f67bd406b30abce3b620609 SHA512 3003b05395f90a9c835658ae3007d3c34a4bf73978cdcae56a309e0118b073b8d7fc6993f733bdad518fb2709d67b53414364db4726804742f7b6a97c863c235
EBUILD netbeans-javadoc-9999_p20180110.ebuild 5992 BLAKE2B 2fceb65ff3a8a95b06829359ca7a752a695102a0c463eb824a6e61d332d3d2351cf654c6b905167ea5aa3da082a2581ccc2c1f63fb4d4f9b05f4ec8dce825056 SHA512 892bf05b2b49a21e205cbcf18fdfafeb5ef75630a72db89ac14f706268de6156eff1ed4c99533e110d8b21976bdcd911da1197855e49f4b78d7c1ac42e0f6d40
@@ -42,4 +43,5 @@ EBUILD netbeans-javadoc-9999_p20180205.ebuild 5992 BLAKE2B 7600516ea0fbf682da336
EBUILD netbeans-javadoc-9999_p20180206.ebuild 5992 BLAKE2B 028bc3f8adef957ff0fd7fa28214adefafbf6d3255d0fb8364c6060720b7a4a6e55b5aa34a7de018017f4aa291f5b0f7c9ef390c7fb18b0262b7a36cf6edf6ed SHA512 73f59af63b907c5012371af3d6774fe04cb6a22fc235f996cabd55a794922107353aee77a392d461eff81d11bce9edaca8ddff738638350ce4abe574567ae47e
EBUILD netbeans-javadoc-9999_p20180207.ebuild 5992 BLAKE2B 985598d23243157c61bc9ee817afc0142deece21ab953347353ba625e7fd98bbe3a42a06f0bbcd4928cd0591ee8ddc1f90359f622693268bceddf0600109b321 SHA512 0670b7c778e1afd58bd0644b37c3eee3f1a4fe8ff005579942e5af519478f8f7dee725c877348dbf08bde6dd9142f187c9108e87c027f85dfbbc5a9795b82d98
EBUILD netbeans-javadoc-9999_p20180208.ebuild 5992 BLAKE2B b530c8526ab1afbb716273da03e9a6cd2ac190cb301b719ddc8d81eea6eb0252be2ae2870aaa9d4baa5f66d631550d64b9be882c8c54e3ef9468bf36bec73c46 SHA512 2bcb9a667b3eca77223ad39a86d231c7181de75e282c59b4825b53ffdc80138a0ff5f4b4d6f63ba1af704b8055dfcda11737dc6c4b6d8c1452875ea851739a34
+EBUILD netbeans-javadoc-9999_p20180209.ebuild 5992 BLAKE2B f35bd431abc8b3cdf6d7c6236f1b73d78e1e130d79ece5fbed9d864f66945de9eee56354928a455ab67ea9f9d33d5d2752dcf6b52194074a5f9c7051d2c4033b SHA512 b9b909c66a4bda13d9899766da276449fbcc8f4a61f10392e4eb3fe5ee81736f3ff953e4977cea1805b5e50124f086ff84770a211579641b83e85273af7cf233
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180209.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180209.ebuild
new file mode 100644
index 000000000..ee1547be3
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 bd122fa75..99d13a017 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-javafx-9999_p20180108.ebuild 4397 BLAKE2B bbf49d5f56de9c4a7fae8439c4a75a4bf30b2942a60ace8392f0a4f1fc3481d174055aa543c121f73214b17555e6034da77fd4e8289d3e7976f84e38fb50fbf2 SHA512 520bd4713b1d167563165eb89d728894f71005610f4ba989f03be1d5a2ac19c12b177e1a7bc07deea9105c83ab3b00ef955e6119c0c6484842117a96a5f9c6e0
EBUILD netbeans-javafx-9999_p20180109.ebuild 4397 BLAKE2B abc50085ad74a981c50166952d7654bc610d59b913e053bf555991a5519c08198c40b078e1aa1558ead2593419b67fc72dd8a882361cc670c4f8d707ae0983fd SHA512 335a85e0b0457ea6a71de1b8555ce028ba56468dadab393ac0ed48eb8469c7f959e340bef5dccb5fcff1746b572c3fa2750130be100be809349013210e70a112
EBUILD netbeans-javafx-9999_p20180110.ebuild 4397 BLAKE2B 6a517020477d8531e5a5c7bfde379d9544886651f2d228331179cff4f797b420ace05f4b5d86312db1b2f69abd740e5cbdce32a4ca41bf8853308f1778cc5601 SHA512 02bdc1f435706f8615a6ab77c1709afedab31a08edbf96026d6701e184ee5c61bcd1ffebcd2c0a94ffc859c9e38518a64679ac17b48082fa9455a5ff19595429
@@ -47,4 +48,5 @@ EBUILD netbeans-javafx-9999_p20180205.ebuild 4397 BLAKE2B 8e8530732e635ca1dd8645
EBUILD netbeans-javafx-9999_p20180206.ebuild 4397 BLAKE2B dc13bff26e5741ebbaf87dbde253f9419e5d862967e33533d4336de3f8397554a64660e8357195e10a03a708fe2d31ded714ecfc88e4780a56f086380fee7af2 SHA512 1f912e3d5299962483eb7b485d9338afca5a5da78aecfaf24361b5c5bc53782a0c86a2e6ddfa740eb24d3e8d72691ff9bf109af7bdc2b5d1979527e90962eaef
EBUILD netbeans-javafx-9999_p20180207.ebuild 4397 BLAKE2B 2ee87a38b2905f344205a6dfb77244478ab5c42bb5422aa604f6611d7ae63b10ffc55c8ddda6e0bf5b40c68b2d7a3f45a3988602a634f4b8a4fe777f3b4150bd SHA512 c91878d03a6a657abe84bf7d49e484a563b75cdb592c8ef05943628d553fb5c4d3e36f22c2193a9d99ec134c43066428a6b1bcba669dcd20839330cf941c92f3
EBUILD netbeans-javafx-9999_p20180208.ebuild 4397 BLAKE2B fc88758cb685c30ade56a15237f5118f1a3b13cfaa51c5569783f91b96685fafccd96ae0aeb823bd2637e4fb3c21f2320b5f793157d127a7f1cb197dca7f5992 SHA512 e4382efea86ff329699781a287ef91a2f3d80b0c8638ad963021f06e8f038458259565da829765c35133ebb3e64bb149b35f9013d66398429257fdfdb264ffce
+EBUILD netbeans-javafx-9999_p20180209.ebuild 4397 BLAKE2B a744231866f4092f9621ff347501abf339e8600b2e02a0440f9ed3ef0e1ea20ad64a8189d4d3f11afd0f1e6da725c0f6cbe7134909bc37c0698fa2cd3bdaef0a SHA512 bde954d62115bfa899e32523f072d0e6a20bdd7d6c6bd225e706f70a8f47d8b25b318cb5531dc74c7591e7c1557262c4a205430c0ad0c381a8abed21ff455c8d
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180209.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180209.ebuild
new file mode 100644
index 000000000..97c725226
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 538e640d9..c3b8f03fc 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-mobility-9999_p20180108.ebuild 4086 BLAKE2B ceece1a6a142ed42ff9c840e7feeb28350250a5e7a54a0b615a66d51316c1964405a3c390c1a72342a8af09f3d4239de9b41445d973106c26758faa7a75eff0b SHA512 cb20ad6e61b2bbf23862cde16534886ef5e1cb93eb7119bc52981cd0359b58dbb3e857b305eed0f566dcee3b209307485ed265f78ec169934d19a655177657a5
EBUILD netbeans-mobility-9999_p20180109.ebuild 4086 BLAKE2B 570eee8da960a7fda1f989047bf3e596cd00ccfb128a6ed356416962f8b9a993c8f82a2b4da06f3ae20b220b27777c9356bf9b7b57f424967117168010ee552e SHA512 be1eeb78b0c832cefe4190ac67c864001b047acfe8a47034e3b547efec54aca80f2b937b7f20f2d5c5f07b8cffaf67b18a4cdb6fb479ed0351f6c3483af1c863
EBUILD netbeans-mobility-9999_p20180110.ebuild 4086 BLAKE2B 84137f5cd35153a2be69ac2688bd52ad3e0744d4e5d48b3da53e493553d5201ccd632eb33bce8a1c38f14bd378b2edf7c68d31d2e7c3f0798965f84224246e01 SHA512 39ac5c88b57dc957efbdc39dfb6328f81ef66180d966d970707b1ce0b25180e7f9f1b5cf961cb5356b6808c4511d6b98754be759ad3235362cb871ca5fa297f3
@@ -41,4 +42,5 @@ EBUILD netbeans-mobility-9999_p20180205.ebuild 4086 BLAKE2B 43a5494bc671b8b07ec1
EBUILD netbeans-mobility-9999_p20180206.ebuild 4086 BLAKE2B 53680de862c1144f3f93749fb0858a2a72f3ea6c286f287fd301c30f7f31ac36b6846ae3bf4315165b8deafa0a9b020787714d484f804d3c6412fd2882299bdd SHA512 7d617eee1398a0a025a944590fffcb8a31e885995770cf855e2744f544155f5738362d9d2d5cad7825cd01ba5ae2b2d16514bf8c3d5e918df27bd6792b9395fb
EBUILD netbeans-mobility-9999_p20180207.ebuild 4086 BLAKE2B 6aed640d3e7b0d0528ddbe32264716cd2783f9788b480b2acd10bbad49f5c2844980013fc9dea986125397d9cebd2231f34a1de0d563aad674d69edf739fe7fc SHA512 71642d55d1777e1227ecfbc1ddf8b2a1e1c3d833a197749d5e8f482e4bd9b29ac573644875f333d341083910c6d2fae40d6835c576ccb49fa79923482c85bd7b
EBUILD netbeans-mobility-9999_p20180208.ebuild 4086 BLAKE2B f616c7b8ff7c3f6f6b387d02f3fcd28b2dfc8c1027cbd945e573ce58de168a9edfde9005dac9975dddb533451dcfde314849abbd2a70ba3fe49ad0c16b0130bf SHA512 c73bd0ba1a654e2f5f9e9528d346959986088c835cd5eaa7da348a2d8c2bd601da4085ff69c6d0086b13168cc151b3beb65f4cc931a2ce14b015581924cec7f2
+EBUILD netbeans-mobility-9999_p20180209.ebuild 4086 BLAKE2B 0d9d9645b0bf4fcdbb3105134fff95c32a45fea09e84808e6069dcfd0123326e6a3c041dc002e04185a088e89e72ae15fa4dfc718af85e373663cfd1122dcbcc SHA512 ecdf8e2575179f286bd6d245ed439f6045850666c25d9957b5b5baf81a5ded9e8b6276f3df7838d5ab55fe4e4164cf139676dd7db69ebacf96b2add9ab3913da
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180209.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180209.ebuild
new file mode 100644
index 000000000..6facc10cd
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 7e6974b26..4268fe260 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-nb-9999_p20180108.ebuild 3786 BLAKE2B f20ec013c180b84d290ad18471f839a8032f3f9710065084be08db9895bba17037b34380a2d8ecd29a7b99e1deceeae67e01396514e0f757cb3136ec05c74565 SHA512 62748051f10614f6ba8e1a8b4f8aab739f67e1e3a5f08dfe6d9b9f8727e73bcb919c8cb7b6dc517ecaafade88beeb4d2ae4a46571a5e13549427b2f30816d481
EBUILD netbeans-nb-9999_p20180109.ebuild 3786 BLAKE2B ccf1c9986b7a97b8cbbd3cb949a4bd38c7e55db6de228116c69fb285e748f63dbcf0ec3c09d7c0b3d9a7ab76d9b59b5f6f1eb088a2d78abd93856054bf3de633 SHA512 79836f95786736f39496038ff7a7c545475bb6698707193f2437c57d40fd0d19ddc622a5ac8b43c3b9380b9d6644fccc716a8f55abb05b8146c876ad02d8a401
EBUILD netbeans-nb-9999_p20180110.ebuild 3786 BLAKE2B 3d03b72896e9b4bd25983dfa9fd9910e9bd6f3b408222387c1952bfab2a8facb728b7b1abbb04ec1f189c69d81efd76c323ad999dafe9b1a3268457b368e9e63 SHA512 269629e52588f6393d66bf4d9ba2abc7b4cfeb884fb89aa9f902f26ae57aa2e531d52d3c7727842fb465b2abeb76bc006f113ece2d92c03cdf075d60bb5ef983
@@ -44,4 +45,5 @@ EBUILD netbeans-nb-9999_p20180205.ebuild 3786 BLAKE2B 0d72f8a2505a4b9f9af5345f85
EBUILD netbeans-nb-9999_p20180206.ebuild 3786 BLAKE2B e05231a2dd1975e6b57c4b855513e77ca75d518a129c24aa206ec8f1799caeca01a8b3fcf90a8ed9554968f23739ab951605f3fe765d311132f29bc9401379f4 SHA512 b9ca50365b29f693dbfb5e2759bd62dd67c6ac112936ef151b0c8431f0b98bdd61d6e99555f1e6a992eed13b237fafe3acbe95f62918b9b1994d35272e949454
EBUILD netbeans-nb-9999_p20180207.ebuild 3786 BLAKE2B 57cd6e7ec101af64293a876747fde385856c8d89ba596538cf6da456c57f85c26433489553eca0e765fb73791fde75e9ab0c96503cd0fa6d829bcf7773df9e37 SHA512 60781c3925a333659e83c8ab1226bb0fb7aafc2af067a7e91d177988d1ef7af3017d71ff70963fb4a66415f96d439fe5c5c3c212e21436ef11834b2e8f132220
EBUILD netbeans-nb-9999_p20180208.ebuild 3786 BLAKE2B e8c77742a00812bdea1b95c9fb0d0a68906ef34174de6d0c7ebb2f7ddbecdf170a40eec4a1e62a7fb1a35c079242d0d8dfe6ab5dcd1f0f73fa3c88502521b4d9 SHA512 94d19fdff071d44a767715b4e53d75a6ff36380a76ed739bc2f696660a43b4d89043a255417bdefee24be4b57549d952468fcabe0185621f92768ad21f18e8d0
+EBUILD netbeans-nb-9999_p20180209.ebuild 3786 BLAKE2B f510b36042e8704857bedc56a2e22b66e2c84ec192eaec7de2bf044495a087fa89616210e426f8e2eaff200c1a7d98643ecb60c8ffc22a9c71188c610a256ea2 SHA512 bbdfc4285279c45a08df362ef07079de3093c995923d69716dd86472984cfdb6c47f7504d58d32be720ba0c7d3dd5bc4ed177b56ea458b1e78155f4df6a10cbf
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20180209.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20180209.ebuild
new file mode 100644
index 000000000..137e23cca
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 e1ea75dc7..f2652bb36 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-php-9999_p20180108.ebuild 4095 BLAKE2B 38554907fdd2c772135b154b9b4160d9b1b9704a1c39d16949ada5209218f691e939a6613ec05bd39b23c32ac832cc02a42b4e00047c209fcb1088cf629b74bf SHA512 9d1e7ed1abab4a6f5b157149d3a15f85252168d98df459f9ad7cc9fb0a3ef5b1a00b890765b1a841af01d669c30522be5dc0ca05835707d87fd1bd50a5cf539f
EBUILD netbeans-php-9999_p20180109.ebuild 4095 BLAKE2B 1b6ca99b793629f307cad578040f0f87726d95d831a5946789d660bf5ba29277a195ae592c8efbede60da61d4dce63ffa9a34e0784bc6849ec6b0a71b08bafb7 SHA512 fb3c573aea4652dbaf9d1e926e80341c6a2bc14e3521608a5ad820603cd945d92b0d5294d4f6efa8cad472602d57bb44f15754bf4c2c187caa85357f19b491fa
EBUILD netbeans-php-9999_p20180110.ebuild 4095 BLAKE2B 8e6a73b91d9d3149d931cf5eaed9518d56269853f7f7f2b6273d5253b69374ee9627d03c96f5c9303127ee2e8484ded0c37c929114b36bad7ba91d7fd4226b81 SHA512 72ed2c80f5c16fd8f896c0adb0b83e546d5a1e2309031aa1ab59fcf7b3237d535bec7c1f313ad0d5ccd288a01687208fb4d069c145853f60cf4cfa1257ea8dac
@@ -44,4 +45,5 @@ EBUILD netbeans-php-9999_p20180205.ebuild 4095 BLAKE2B 10c1bc543e1c3999801f77d8a
EBUILD netbeans-php-9999_p20180206.ebuild 4095 BLAKE2B dfff6ba34523254ce2201c952b5aae9de7da64c252581608ef197652698483160b5f81753a98fe6ecb69a15a3b28f34c0278c3c44317b23347662fa0a71f22c0 SHA512 e151749dd3436c0d3d79f934a0c8c637adc1f8b1f037fb74626e61699a939e7f1b7b91251454abf0beb1c72c7e7563ee30b7ea18b827834817d9f0579a486df4
EBUILD netbeans-php-9999_p20180207.ebuild 4095 BLAKE2B b4c9e878ed19e0ca9ce4eb718ccd19a0650dee84a29135e6e90f82c8f36c74d959156f0f4e725d860e4510181156490bd6ebc121118aa2aff2906f0baeead466 SHA512 a76898911d73878b25541401ced6b4ce143150f3277157923ecd0ec89664f67e522aca6c3d22eec9dfca582b77a9ad10717abf813ee9bc756a4d7ad617fe815c
EBUILD netbeans-php-9999_p20180208.ebuild 4095 BLAKE2B 9f41c7bd9bdc3e4a9007e3cae2e0b61a83eb25aec54b21075de1011227226d88298cda92305ab255bcbf9b0eefd76ec3f2934115ed25572ec00eb95c6dfbb129 SHA512 3084ce1957ae66f9502320e6f8989bc45a876a876699cec06f8eeb124fc00199af01e1eddf3495c28f64e0894d9c86ebe858b21a99529938390e113e41e61560
+EBUILD netbeans-php-9999_p20180209.ebuild 4095 BLAKE2B f237998847b0ea243186dbc72586a42381ad0048bebf876253bd7bbdb69ed06e45aaff29a380fe0e6c830f236759c95739da49ab1c461d27f3ea4c7721c511eb SHA512 4d6a0e9fa00376e326903d02028f86a098d72e059fb6fb6c01bef1c34cc9cbeeda851fc8c8c8da789803a3c3743a5efa4e28ea6ddf70099c8bff37b37382a620
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20180209.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20180209.ebuild
new file mode 100644
index 000000000..5476fc34c
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 13f22fc56..4a7573870 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -35,6 +35,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-platform-9999_p20180108.ebuild 9238 BLAKE2B e19945bd3d9fa474339ebb3af5ae4dd5f35253575f3ba1a6ab5b3730d3c48aeecfa9201a68ed53d386eecd018bda489cae17b34046122144c0352cf9aa6a5357 SHA512 4a331ee311ba4db5ced5e45326234c7b100b27f3ee5a7488bd4695cca7fdaaab1cf482c3860b58d19cd72f0f333fb1215bc68d6689aeff16e4e2eb5d0fb54401
EBUILD netbeans-platform-9999_p20180109.ebuild 9238 BLAKE2B 527927b182741ef6de562251fc248905baa45e35ff2a0ccf2bc4054bab576c848b6f4ac79207b015c34f64367dce9ccac26793c6573906ae7f3bdf4da8ec5a28 SHA512 bf55d9ddd6e5d9b3e61db656f7a40b9673648c9f2b14b4d34c5c52e4defd860949c9fb3716be6eecb70f4df5137aa4aeb97b38349a1e290135bff59753a9a10c
EBUILD netbeans-platform-9999_p20180110.ebuild 9238 BLAKE2B c9a804b770d92a00d1681bcb069e304754c75782d533dfd896049b1b34c0be5d27a13145287e4fdab8dc362aeac1bb157bec0fb416f0568c2be816fb10666b3c SHA512 908b59681f1f44b41338e5343e5544d241a70df9192c5997641bef199b20777093cb47f0a1a83c3bb5a497678f5a584dd23fb5b9689dc0ab70be42b4cc3e79c8
@@ -56,4 +57,5 @@ EBUILD netbeans-platform-9999_p20180205.ebuild 9238 BLAKE2B 82e638472888c6cbe901
EBUILD netbeans-platform-9999_p20180206.ebuild 9238 BLAKE2B 3fc57597dc7912bc6b229dc75667920391517ead3cc33cacfb992665f5be5e8fccabc33f3e375edac46fe741c3eb55cde934c9e40c77fc7069c1fbfe192fb6eb SHA512 8ac5c31aaba479f66c5565dffc0bdd2adc0f39d7a4619c1d879393fd0e13a0a03076fee2b224df2b87732f2dafe3682100c7e833e3d9b5ebd4fe917093565a42
EBUILD netbeans-platform-9999_p20180207.ebuild 9238 BLAKE2B e49fbfd9b005ad27625c6a84f5fcc3482740dc907dc52d0f4aa9eb39031a72a001dafe73b4dd4dc177fbfcab7bee6ff085d47152143f736f46c1d70225ac36be SHA512 38480b45a6399781d9caab069de241ac969dc1ae01b185c0d1568e246aa12a73a91bb13ab9c68b48e16c59bf6e0ca85fd65ffd5e60c69dea86a0b0ea90e7e337
EBUILD netbeans-platform-9999_p20180208.ebuild 9238 BLAKE2B 20fca5100b14fd6b25c69ab0d5c21c19db26c03e4ab9abc6914bcc405555cbd26fc863e9aeae638f52a96deb9f3d4357f75dbe5376346684b2aab6353b8e3a4c SHA512 3eca22462003898e1d1c57db1d4f52a682fba9e75e228293c615106635d6ab48b7cdf0f4d9532fa3a77da79cbbd67f9c11ab0742acbe9ba06ac0e104974fe1b9
+EBUILD netbeans-platform-9999_p20180209.ebuild 9238 BLAKE2B 1c310c85e98318680819b5a5d8b8ee337d8af4efa861b951fb86abe8447b010709ff8681c5abc1a3992e4c04a24332062e4e5634945cdfcd3c44a5d08dace4e8 SHA512 a1a2302582c45a40cf460d8d4c2b80b56c5d9f65b77d80eb9ef48d4069c883d33948b4d92d4e9d44edcf1475f5a0b8adacfdf1a9101ce5a825139a9e76a5ca0e
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20180209.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20180209.ebuild
new file mode 100644
index 000000000..b2efd0a8e
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 a6a05fcac..37d876354 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-profiler-9999_p20180108.ebuild 3146 BLAKE2B 7ef2f394d6ccb5281d3cfb1adb34fb56f4c0e101071f62eb37b2a8da17bdd1e38b29e3260dbbffeb059bc272b4aada5a1fcd6317f9a5a119836a829d04d5c67f SHA512 e2a89048f65b794a5fa2cf8a6b1b4e114569ec2b4864b34727ac5d354b1c3f7cdc5ad147844a42f726f92b4f92c3f95d006b9acf77fd411f4a8b9c583e8eac67
EBUILD netbeans-profiler-9999_p20180109.ebuild 3146 BLAKE2B 70022ef572d49c73e82b3b05979ed87d3e94e825fd58facb2a844ecf8fc619dac4f3a585c7a26cfb81f1b19ea01149e18b0f99211e073162945502cda61b3a2c SHA512 2bf6d8cd63b905a701ed021436bd5f17d351bfb002108cce52761ec1e119a82d82510c4ad423d7636b3fb1246a11247f16cfbf9a8a33d3f5cabc3844312be3d0
EBUILD netbeans-profiler-9999_p20180110.ebuild 3146 BLAKE2B eb5d9234f827a8d86d1a3633fe0cbfa23f2317696c7eeb15e7dd21932c534bc70dae4ae516dedaf7b0c7f150497265b3e757b4856df7122061fcdee1f8bcb02e SHA512 ffa1ed0f70d6a2b18b8e88bf0132010fccb10001ad68c91cbe6bf1b9c2a7f72983d874e76e3a60fdcd242d0442dd8dd4420d1e2592e805f89ea1b325f523fff3
@@ -41,4 +42,5 @@ EBUILD netbeans-profiler-9999_p20180205.ebuild 3146 BLAKE2B 287814023f6faef2117c
EBUILD netbeans-profiler-9999_p20180206.ebuild 3146 BLAKE2B 785a839722d4c313e0364fd0e8713cdbeb51fa8d2fcf0f66c10e942569038b7c629a49a4b03f739a9f4ebb8031f20b9496bebaf9040357b78280df0d024d8ad2 SHA512 99cbb2dd8f227ad226f859faf1ae1380d7909bd45edee4ea16cee28629a60f559dd613cf589677a2cdd7d3dccd654b2e5c7600cc18207617048b47aa7fca8e4f
EBUILD netbeans-profiler-9999_p20180207.ebuild 3146 BLAKE2B c894297e3416d0f9981966939852fe204e48def27a4b32a1eb22970f2f3ad57d0281762fd678b1145b557d2cc90f3b666096af5143db046df297f7f31c8cb4fc SHA512 1e7a7fdb542507ef3e101bf7783bd538157b1e9458491348a69c93124f737fd6a8998276b48b224066a411786592a9c17afe9183f092fb9c4e785a4c5b9ea5e3
EBUILD netbeans-profiler-9999_p20180208.ebuild 3146 BLAKE2B deb52bc9be168883222a3c079360d4e209f8395f87b7320a0459048bb6f072b504234c09da5ee9111c182d6fdcc96e9d3234650b80e40f7d3e5b9438b38b4033 SHA512 aad4b391f8fd4fbca090bf85a2b48221c505b313265b6366c79cb9afedaac17424b53a1da5c7d4829e0e9be54fa352b5e6cd2196f4c63c046efbfe89e990fd6c
+EBUILD netbeans-profiler-9999_p20180209.ebuild 3146 BLAKE2B 89584263512d9ffa3d6a3df45e533dbc5469ffcdb5a981aca44d23adb911dde476b3e9062cc6c4560eb04e5bcbc993530eab55d7297627e8a8bad1e60cf038a0 SHA512 a29e52fe7da83b111209de698d02082c9c7db14401763cf59abf4824a18a26c2a16e4a07c1a3c3bf61a2c4677bc6cd111903f7cdc4c41c4146abfb0dae23fdca
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180209.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180209.ebuild
new file mode 100644
index 000000000..135afcfce
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 55245afd0..edec46761 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-webcommon-9999_p20180108.ebuild 5932 BLAKE2B 4c3699b5311a428352065ffd336e077fc715d7511c241cc0c06ae8bf52d59a6972275bc59a3485a1f2d291ca665bfc1775f01b73c616d02d0af3078ae8830c23 SHA512 66fd6e2ce70b4219fbf5cff9f60a7985f9b1f622f5e23a2b1b435fc4b034bef56c90732f010c98cbaa0dce3fb522ad6cdd0cf5db5dc26a24fe7fc8914abd1125
EBUILD netbeans-webcommon-9999_p20180109.ebuild 5932 BLAKE2B 6fc58f766d7fb0e3069367c116b7d9687519550935b8e338ea4a74703114c8d5a72ac11e49aaf1ccc07fe281bcdb7818599b2eb39d85a03fe979c0d71cfaf418 SHA512 6bbea4a398145c65130e355c31ee56d17947e74785b560822ff0b1e6e2bf24d2694855940acaf729c812f65dfe938d374d03798c33585bae8d4308b0eeff425e
EBUILD netbeans-webcommon-9999_p20180110.ebuild 5932 BLAKE2B 6396c7f7e47589ef4ffc75f81ddd27fe0056e13d6ab1c5e39c2dce0400dc89a2284eac0a376846a03dd657353a4d552cdb088281f1f08ce15c60fd708149c8af SHA512 1c82deb857f4b14c52b2a7c5f0724722cd1c38f6063c05a7af8d4269bb09427cc23bd4b2cd043b0207336430b231054f62d297acb0fdd9426ce02fc8a974e5e0
@@ -55,4 +56,5 @@ EBUILD netbeans-webcommon-9999_p20180205.ebuild 5932 BLAKE2B 050729798ab8ca0e2a0
EBUILD netbeans-webcommon-9999_p20180206.ebuild 5932 BLAKE2B b63ee0ab63d471a638d14b800b8dbc3168af11055ef34b2989b125f810f10e479151f4681608d6c128909696174b8f9616cf6c3a2e2dfd94e64f27c9f817ddcd SHA512 0464716e946a41e4d14ea5ca0fb752a4751b8cf3e92d9caa8f93cd18d1ab1292c03a0602a8b451a97db5c219249a6ec13ba4ff8ec6e692867d743b701e01d3a6
EBUILD netbeans-webcommon-9999_p20180207.ebuild 5932 BLAKE2B 83592539afabb2c9c17d87e5aef95409a0c9caeaa00831e018c0de31010d711ac171c3c17a5d478d953488fa16282945c5f7fd7be8e3ccaca47f09927a96d759 SHA512 da0219331d405eb05c779b2ec9a8573af891f2fa3c063ad294b6fb01b7ac35776dc709ba4d2cb6a004624eba2ede5048b22e8d36c967edb7330299c6adf1bfdb
EBUILD netbeans-webcommon-9999_p20180208.ebuild 5932 BLAKE2B 9740e47d14c1d4e2d58a25f4b9f8da61f7fce2b16702f607d8bc195c0100c0c587473897c32546df8de70bfb4d60ecbed645b18bfd1bc6e2162b6b6038ffb59d SHA512 5433337e49dd931e95cac52509298cb15df24b7bd351b4fb4c04891242e0e1fba0cf6f90bfaa9259ac963a0f69c99aa1321e499bd7910fe102f8a0c57735c04d
+EBUILD netbeans-webcommon-9999_p20180209.ebuild 5932 BLAKE2B 81f3b51d8c6e7358eccf9de3f09453d03b0ceb89b21353b99cae64db9966e19c720e6476cd79b9e1029f5d6dafc621e44627784c848776138cd1c5b22997a817 SHA512 9dd775bb47b93d262ccd276db24a768239cd1d0f6e6c15bdc3679a8bd7a69852b659e17ab2b84ef6b7bce6f105c1c0906cedd91f863c1867dae0972859390ff1
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180209.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180209.ebuild
new file mode 100644
index 000000000..de593ab5a
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 940e6fc24..81eb1ede9 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-websvccommon-9999_p20180108.ebuild 2395 BLAKE2B 0c7754c6f0a7db4571e9f133228a28b9c5fb3e95ffbea0528c51cfe24dfdc348eb6f830422f4f4ddde08e569864b6bea3791105a5ffe38b8f6574be95388317f SHA512 3ede0f48ed45ff1a3f7be15307894295ea015a8d30d4407985f433c3b220943d93f79443be118376b2f366a505eb8c4dfad0f78b6370fa31e47ce7f55c7b2840
EBUILD netbeans-websvccommon-9999_p20180109.ebuild 2395 BLAKE2B cb1e0f889be1e252999bad159d7b4a1c50b70f43031504f49cdf55457c29d1dec1d8ea6ab16e2728890f118bc230950edefd343773571527f68ba2fadc37960e SHA512 22ce19d6e90b44d4ee3b35ef2a9bbdfdcbbe45561c3255e723ac32d507eea6c787c6026410cfffe8512f099b61a3d2fda9dfd4fd17ab9b1f79a79b4f2ffacec2
EBUILD netbeans-websvccommon-9999_p20180110.ebuild 2395 BLAKE2B 84354bed2da386485ef0a7ee49c06dd72ca8fc011dcde7f60ef50254be7f5f37fc971b32654592025edd0eb7e8bcf7a81886864cd56b89825db768f1532a600d SHA512 1f89d30b99922c88c29c49d760e44725f85c89466c82d1b40cd66fb2f7a2f330a29226fd654c783ec7bd9a8a80d4e88caff56375c0e78651ed9b90cd00993986
@@ -41,4 +42,5 @@ EBUILD netbeans-websvccommon-9999_p20180205.ebuild 2395 BLAKE2B 4ebe56cd4cecb8d4
EBUILD netbeans-websvccommon-9999_p20180206.ebuild 2395 BLAKE2B d083ff57d676264b9211497fde1ac4fd5e60a038c3624db1f6676973c06762f61222360b54ce9e54fdf738a096a6ce87ff456df23f5afc15f8deec4d331a0756 SHA512 e470b256aa429d0ec7ba2e3b8ac68d487331a51c3d1315bff266ea6a92c831d06f3327e42055225fba7e03d61429ad32c4edd769a46d83dc3e846cb1f53e9121
EBUILD netbeans-websvccommon-9999_p20180207.ebuild 2395 BLAKE2B d7d229b09dcb0e106ebcff9f8236a6f204cbc1951b5a26a913c895e77fd28afd04191adeb2ab9ec9b3e3f96be332b107fe022b8f28fd22d55904173026c9d090 SHA512 782deed80e7eb4ddc94072f8f4c7265b349803c16132d86358be09cf6fad0fcbdd98be4e89e42a350729eb85341590b439e9de1cd64c895f5f4b24cbafddf3ba
EBUILD netbeans-websvccommon-9999_p20180208.ebuild 2395 BLAKE2B b940619758f7b53b79318d202c729b7f33bb3d88510584915061b6a1ecf77e2c7bbde4ccf3b89d7cf712d3c14242df9a1a4407c5c9155054760dc9ec4ebecbb6 SHA512 91ce18afe4d09af1459a6eb97467d09073d19c2a7106081426f88075580c4f891d6e0fa39e8dd0f061fa8e4005161b3b98f27710e8c886b35f8e662efed2e442
+EBUILD netbeans-websvccommon-9999_p20180209.ebuild 2395 BLAKE2B 7d06c0bc92956d7d78e72dad8649d375c51f3ffe10d8d4000910e8811fae76fc7c2d54396c6bd2c41a5a3fcd1687918c93cfbd62b47f27957508c269bcb2e7f2 SHA512 696c11b9f2c9510c5c13046a11145765bffc895e7f40b8cd82465a84346eaf7a82d1ed05eee9b6d736d59c70b460d44a352eb39f8e451411fc0eb650c8ed9ee2
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180209.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180209.ebuild
new file mode 100644
index 000000000..d5c41f373
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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 666987f4b..c65c646ef 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa
DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b
DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506
DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47
+DIST netbeans-trunk-nightly-201802090002-src.zip 221062529 BLAKE2B 824de86e2671267798aad33047a8e4549e4ce4b9515110c1bda8df07a1f2df404523a41e33e21d91a5d1c994a4277b6e073b81a71be478365a8b3bf885041ad3 SHA512 5a2bfb411c66e69290809726db62a2c217912620b74dc5e816501d6f393760c7414d7258de4ef247134108aa9e0540af2b5b2a6639b7530307642b3add6ea71f
EBUILD netbeans-9999_p20180108.ebuild 6186 BLAKE2B f506fa0578a94a7e37f9764379ed70f84b2d19c69dc3284770500db4a839231483f81ba5f5d9d2ecaf91be8534212738f40b43dd876eceba423f376391b8cb5e SHA512 4f78f6a70b82792a4f1049726218104aa316ac89619802fc0ac45ad84148d324dc89cd48c914d3b71e803881aaffa5a92faccd0d0d5bc8a00be6f6437b758524
EBUILD netbeans-9999_p20180109.ebuild 6186 BLAKE2B 03eb3639b7e4e5f633762256275e4ea857f486d3006c9f4f66c2d9e8ae22b663465eeb731b3ce9745a35d79619bc05243d0920d203a783c0e9ca73faaa7224d3 SHA512 efcb22fd8f98c8ca3e6e3e7f1b97d841fadd5093833a1e762eb4846cea3181f4b916f4f501e503dac04c7adf7f946791198d43a21bb57081b3bad96569105612
EBUILD netbeans-9999_p20180110.ebuild 6186 BLAKE2B bbc01b45b4b633a8c8b11a88c07192408d1cb707f85f0183e78af7bad838da0ac07e5257dbbcb8468b5a5d5687e847cae169f37fec396ee1bec6efa08a50c0e6 SHA512 accb572187e6b531b5234d16a673e7af3081f5ddbe18ea04a4656cc504b7bb1b4dff4bed5af4eef1257d25c278a2a93f62549143678d67cda5baa69a096aa804
@@ -42,4 +43,5 @@ EBUILD netbeans-9999_p20180205.ebuild 6186 BLAKE2B 0b35bf925eef88dc9e46352860b2a
EBUILD netbeans-9999_p20180206.ebuild 6186 BLAKE2B c896fd797734a6276333c4be992e85b070614fd2a71eb1086752ce2b6d4b66e598e493e3cb639956ccad2ead6be99d2bbf448228d314ea54a32277df7dec369d SHA512 61f908a68a24570f790d5137ca7ddb74caf4dfb57127439bea064d9fb616366c2d140bc2e05aac729a215f8946a2fd9e523ce46e499464d003981e6b0007f8e9
EBUILD netbeans-9999_p20180207.ebuild 6186 BLAKE2B 105f103ac318b5b1bccd8e6299f2190def0b6e09cf67ae064782659fade67d3fcc99343346d1d4cc40f41875a9b9c9d14ec0fcb590167961a61be7184823f6e2 SHA512 0e635bb653067c7627f53183faca61e72afc9c451b8e7fa3a00e83a49ec6fd1d20107ce8b476483d45664637c9d70e4f9abe6f94f69c65e99dcc1143b690392b
EBUILD netbeans-9999_p20180208.ebuild 6186 BLAKE2B 93380101b6f6e6345d30497c7f3e0e2911c8bfe845d1ac3d33993245b69f25451497d80bf8263c75289aa1ae9bdc56aed06780516c20b584389c32763bbc6d3a SHA512 202e771c476ea84ad79d6c04f808c1ca1802fd66a63bf9710e091e4ac20089a95c7de89c7ff13d60e68a20d9d173a43aee0f9a22fe59ed8ab4112e6b9c1da92b
+EBUILD netbeans-9999_p20180209.ebuild 6186 BLAKE2B 9efb3ca0fdfcebbada918b33d3ad0ddd292bd9552ce0afb49421126d276a93d1e2bede2b0de5f760f440ebfa91a91ac689f2c794248722b77750a90545f40c4c SHA512 208b114b64f0949d7124ac6b484c66ec6a4b33e04ad44dd83e3482b6b65b8b69b1e33c2ada0efaf59a0dbc983ee5320128f52a506183aa001b953dcb7bd783e0
MISC metadata.xml 329 BLAKE2B 88f7b4966ca5fc8e18720ef5488809039344b15344c78cc4f016ab3fa95f76283805ef5d1c85b5c0b419462a0611ed6ceeecb0eee65b5b1b068a605c89efdf6b SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640
diff --git a/dev-util/netbeans/netbeans-9999_p20180209.ebuild b/dev-util/netbeans/netbeans-9999_p20180209.ebuild
new file mode 100644
index 000000000..bf07e986b
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20180209.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-09_00-02-34/zip/netbeans-trunk-nightly-201802090002-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
+}