diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2018-02-22 09:38:58 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2018-02-22 09:38:58 +0100 |
commit | 79007a15e34e73790e58c85f5d3423a50871dcc0 (patch) | |
tree | 035b81f7e644f290c2517a8c78ff915d5337675c | |
parent | netbeans: bumped to the latest nightly sources (diff) | |
download | fordfrog-79007a15e34e73790e58c85f5d3423a50871dcc0.tar.gz fordfrog-79007a15e34e73790e58c85f5d3423a50871dcc0.tar.bz2 fordfrog-79007a15e34e73790e58c85f5d3423a50871dcc0.zip |
netbeans: bumped to the latest nightly sources
Package-Manager: Portage-2.3.24, Repoman-2.3.6
42 files changed, 3016 insertions, 0 deletions
diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest index 9e1fd4e88..36e7d57fa 100644 --- a/dev-java/netbeans-apisupport/Manifest +++ b/dev-java/netbeans-apisupport/Manifest @@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-apisupport-9999_p20180122.ebuild 3058 BLAKE2B 8a3b7d05dccbcf92e5a2cb1b15f6cd6664cb2dd31d60620a79c5acc9c1f9d98f0c76990b4c57951f27e5ac4a883bddc119d44c38fc029ab0b4dcfc4fcb0d3673 SHA512 ed7d3a741d745d3777c66773fe8c98a3644bd88e8880999ef11da5481b97e7ed989fbb06cb03fb5784bc00da285a54e07145e670204e034a02d686bf43599495 EBUILD netbeans-apisupport-9999_p20180123.ebuild 3058 BLAKE2B 03e0854464f8020b0a17bb3db27b92774f21f6d7a007e113165d0bbafcd3faafbc1dcf02928c715e298b05ebdbffaaf285ebe1d7f253687b4c1caac6a3d0f2e0 SHA512 2e33a15fce632f355c8e3feab2e315b4a35a342044b5831f30c78c3cb56cf1b831ecbc201aae09de0c0f47e2d8a02385ee10a328b69d4636790dd9126beffa0a EBUILD netbeans-apisupport-9999_p20180124.ebuild 3058 BLAKE2B a67fc320d6dc239b1960edd725975d3823b44d1dc9ca051c3f456818c8865854a07519e9316a5422041a6b647cc305ffce6fbc24c8d4fb02d499b942f48d1859 SHA512 a280f7059443557b325f20262a2972f4f219e1374cf7c2f998fc1653fe1a4620219486603634af151fb1ee1feb0b83d003f77fbbabaa77551b2888b21da2cec3 @@ -43,4 +44,5 @@ EBUILD netbeans-apisupport-9999_p20180215.ebuild 3058 BLAKE2B 792ac53ceab897b50b EBUILD netbeans-apisupport-9999_p20180219.ebuild 3058 BLAKE2B b41cb707d3367529e11fa7bdd260c5c10d4de986b785cf2b5775b9236075ac295c3801db277244650df3076efca75a6c0a94e94c0f092e53969e38df75870d2d SHA512 5dfbca0f281fb0b1015eeab7eba5b8f44544ce956110956abfeade9f20c6d555a035c13b8fac1675c4492d479e0be5f2d9b38478d674eb24c2e86cac0b836d08 EBUILD netbeans-apisupport-9999_p20180220.ebuild 3058 BLAKE2B f5e254556bdc82837188f2e83e666ef16ef574a8e6d559b7c8396e86f03879ad64092720f85daf3ff9f13b375f65cc7c6311f66c7cfba7b1ed303ad6bda04b2d SHA512 62b8ecfef5da9b35ad7002fda991e4234898cf1704b3f8483e948815fbf9f40285817a35e33541aeacad0cf0302056e8d4129b3c970274a923dd75191de3cd66 EBUILD netbeans-apisupport-9999_p20180221.ebuild 3058 BLAKE2B 01c1d3a6b9807f7f5f27bba89892c412d509dec02ad40936e9c4ea8a2d90edeb564728aecc77da2c61ccf5075368b5d46553d2f3fafef550479abef1357bb430 SHA512 e4f93b708fc7c38a8e2dd35b2225186fbc4e41f50064259fae2b3c5acdbf2282ef855886e5cafe6e9801be4648c389495c9f7f51e5dede57c1de6a88bbfc6cf0 +EBUILD netbeans-apisupport-9999_p20180222.ebuild 3058 BLAKE2B eb7cded98c059e3751dbcf18317decc0e32eb4f54a6c637e48d16d960affc0ead5e4f3b27c15b06ee094a64524067706628720de4cb5d30623f681d5874d9130 SHA512 d8e9474d801ffaa95f522a269f2af1234674529a08c086787ed2edf0b86f25ab9a155e189424706e5d5821f7edb5956b9912008d195ea22bca1a6c7854680ff0 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180222.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180222.ebuild new file mode 100644 index 000000000..d5aeb7cdd --- /dev/null +++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 8c060e13c..036d56d75 100644 --- a/dev-java/netbeans-cnd/Manifest +++ b/dev-java/netbeans-cnd/Manifest @@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-cnd-9999_p20180122.ebuild 4686 BLAKE2B e15b8a4e61be08ff08c7f50d1440147ff0864ffca9885bfbbd699373b1405a7e9d788abb1c7b99d2c72279c6fbab4aaf0e31bead26bc5625b2710061b204133b SHA512 8eccb09b357dd2515f734211a8be394fa19d23a276d345e9fbf82f604a2d0b59c5080048527ebc5618d77b105382681065a5557fcff42d3aaf7d6d0156aab364 EBUILD netbeans-cnd-9999_p20180123.ebuild 4686 BLAKE2B d29365cd9fcb2e09fd671a306e48655c436152f819e44e7e6dcdd6187981b3148d8fdf978ee58afd221c66157462366c41c10da92a40f2606186d2e8287d427f SHA512 76b36d42a03ab51b9be6cb07bda1680b41dc5c0101920f60ac8fae2e41a4657ccd8f91bbef8b4dee79091d4fbd7827e5ceede408b7ac3aa5c5e68e7af64b3c1a EBUILD netbeans-cnd-9999_p20180124.ebuild 4686 BLAKE2B b80baa2fcc74921149e8d59d6ffe0f44cba9c30b89c925fcd1978b58ad442b0d6ca009316409931a2593697111022b7439ca75d444f646b144a5acfffd75f95a SHA512 07817bec14f1a0d1e153f76801f910ef3a382700be29c314523ae779a448d99f536316c5711416d544a0a117130e3cff00325570e3eea0a3cca4b4c5a95f5e23 @@ -50,4 +51,5 @@ EBUILD netbeans-cnd-9999_p20180215.ebuild 4686 BLAKE2B 5143d59e76833cd88e9f960e9 EBUILD netbeans-cnd-9999_p20180219.ebuild 4686 BLAKE2B 1c028bd844c91bcee9f5b7dcfe2d3438a9d6d1037741deab816501e2b89b1d8f2f2383fcb52f179d7fe99ced8e7705a47b7b40887b6654e022413ba0f6c704aa SHA512 3c45cad7b154c844097c6ecdc64a05e676e9c103765c0057ea2246f29089c2f5784404ac4d5d49b556c9abf8094367cf80d98d976e9360d57e544231094d8457 EBUILD netbeans-cnd-9999_p20180220.ebuild 4686 BLAKE2B bb509617cb1a50e1957a71fb05361b3e371f8a8c6ad5b0db91266b8bfc7cbd76da4394e7a93ecf45a7f8e0cea028884175c235abc09553b836e7abd74b150f48 SHA512 b12f5c833206b18e180416e8c66adb154e5c2dcf77045713bca2fb385f855cb1dc73ee2aec40acb3b6145626239cb5a056b7698d513e57be782fabb68e087296 EBUILD netbeans-cnd-9999_p20180221.ebuild 4686 BLAKE2B 91b9c6c905f87e4bc261c6f507ffed7efb8c0954122a91d4780e4c021578c9a1d659499ad860e1c698c06180a9fff54e13ae55cf55335dbdfcad5ade76df539c SHA512 ec25d8d912ed9d0a401fcacb9f1bd30561b7eee3da998a0c081f160c3c183aae44f10bd08386255a9df8441aec7b2f2a72056ccc098bc4414347c161e9fe277a +EBUILD netbeans-cnd-9999_p20180222.ebuild 4686 BLAKE2B 1e2dee0f54ce0a2860085b754cb74aa89639ca5ba05804ad407a73fa68c7361c62f4e2f4b588b5c5ae13878113c32ff00a23061cb03906824e1e01d4ab9c26bf SHA512 977e05fe8a5effbbed80bef9304c27227d0530b4dd87a58662dd6c5df86432d7f89f02e41ff5e7ab4b606d4f84b075defbed7946cfa869307c0321bf1dca885a MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180222.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180222.ebuild new file mode 100644 index 000000000..26b6228ca --- /dev/null +++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 10b95c833..d2bc9df71 100644 --- a/dev-java/netbeans-dlight/Manifest +++ b/dev-java/netbeans-dlight/Manifest @@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-dlight-9999_p20180122.ebuild 2643 BLAKE2B 6c0606557e7aacda21d82ce554fecc368201a61b711d6652d7533af150953ef98c8515b73fae36d4f8e0b5341fdcdde0bde4e3aeeeafd266d342a9f8bfc93280 SHA512 4c208f9448e148bcafce37d3780f4e3a52117260dbb23d7335a9bf10b11ba46a00cc040b946cff7ece18737baf5736f88086a4b5c109137ad76b27ab65418c93 EBUILD netbeans-dlight-9999_p20180123.ebuild 2643 BLAKE2B 59b928aed21a8cc810a30346a6e5798fd2ee8df297613ab2033b6b944b5e65853375791575e964b100d55adebd8442badf71ef9e33f6a8f91ff8115ac94c600c SHA512 d26d6ee1a69f1bcb288bfd01248a1255faea6addb97ecfdebc418193d8083e66d88ff68d670686090d2816c6b4a12016a8a13e3a2ef6f73b75868f9a8e3e57a1 EBUILD netbeans-dlight-9999_p20180124.ebuild 2643 BLAKE2B ad63443bd15a16e1f6983cc3b4996bb07b47257e8aa12d4d510e457f85a4e0322548c38b7d58e6d562c572ddb160b6758b9ae6b85a1691e7cb406c7b8b0ff7c0 SHA512 d2fa9651e4a33c2df8702af8c4e573c052bd893e8c2d7060aca31b83ce69e66bbc981a5797d8ab3e1e1abf8d4b440abdd7a49123fead7fdd584cf4600056352d @@ -44,4 +45,5 @@ EBUILD netbeans-dlight-9999_p20180215.ebuild 2643 BLAKE2B 53354a76b63f0b563a4ccf EBUILD netbeans-dlight-9999_p20180219.ebuild 2643 BLAKE2B 157b1f260a5218d6929814a3aeff404b67232d92301dc46de9b6d4cb7be4c753e628ccd0d86f38a438d8cc053f379822fcda7b2204fb03507ff9cdd4136c6f03 SHA512 e4d3d95b247623d38d2c8d73fc24bd92672ea17cef2cad49958b61085d935de5bf54a812a7cd2525ce1290cdb2cfb2b010986548f61f4eac50c3249b69411649 EBUILD netbeans-dlight-9999_p20180220.ebuild 2643 BLAKE2B cb3279d9357f1cd0b2291b2a706728373d85e8d70b23642ac686908197e8599bfa36e953dce4bfbba24d95eb1480d9f35f027b7601b93ab8e39c83a670bc5618 SHA512 2b69f20f5ed0e6f5749d99c94bee16858ada7740648e982105cddb51d6a4989c9d21fda5c1dd5e7ccc110752a9259a92d6a8a0e4dea0b51ee7a20a4e2a8c9f2c EBUILD netbeans-dlight-9999_p20180221.ebuild 2643 BLAKE2B abc6421927d6c28f64d67c27b58577c0b09498f1e652d77e8d4204ed71ac7b7abdfc4689262391c5679696d3ca83e373ce3eda9c8a0c84f0197f8cacf9cda6bc SHA512 0e261a03027e82b40fb94969898c1c5178f90858300651e2ec52a240cc8559ef01daf0c2df2128d1ebb3bc3a602b495a38cf9ca47c43811ba01740b2fbb0330d +EBUILD netbeans-dlight-9999_p20180222.ebuild 2643 BLAKE2B 672c8e867be027214263e3436dcda02fb86341e5a1a53cac5ad20c8092cf2ab9b8753fd71b709419930e127c9808d49b65e733b94c507a1a76664bb70d73e48a SHA512 4720a476e4855b1460e7fb2c5df0bdd3b568956e8ee353d86f6a7bfeeb17383187285ad3dca37490b331640e8ffddde800ff9196dacac460383546e28eb4d392 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180222.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180222.ebuild new file mode 100644 index 000000000..65ee07879 --- /dev/null +++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 f8e316d3b..df1884920 100644 --- a/dev-java/netbeans-enterprise/Manifest +++ b/dev-java/netbeans-enterprise/Manifest @@ -52,6 +52,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-enterprise-9999_p20180122.ebuild 15530 BLAKE2B 21c64a2ae90a89c6f64e225d8a6314b0edd8c362e4ff8785581aceb91133575a2508d11ed741e73b740b4dd72ac0424e4da352ff6a8bb1e808355633bc2e3949 SHA512 7b9a599943a41044fe180de7c4a724530462d807428021ea24edf4cd4893b5e190e1f7d799ac65c82d7e2c67e17a3f7b888464abb514472c0e8f703614ade062 EBUILD netbeans-enterprise-9999_p20180123.ebuild 15530 BLAKE2B a7779d9fb6a1c94e81aae0afe81c73ab062eff5267f6bbfcd8db7113be309b5da3c9e8c57a43436af2ac2f0b7ccf8406478b86fa644e504b6ecd9426241d6f66 SHA512 d348419dd1503705217f570953c2f43831e859bc429583f9d5e5bb0b6feff90b94b6088ec1a31293f040b67da3869e2c650ab2937ed0cb5b4d84d69fb272cad6 EBUILD netbeans-enterprise-9999_p20180124.ebuild 15530 BLAKE2B 1b1a382bd9f7ad0891c8bf115b4f9a586d49e9833fc03c8903853b7cefb6ee5a307994891eb410208811774e551e5546a1a6b7898d30bf7e540d1bbb2e74239d SHA512 8ff79020f112b517fc73221071d53e2ce2d1bdd4f66a6e4a61e5f8ea1420c2cf27233fc9ba8dfa27b4e9bee7b2a46539859cf731980f100ba708c5b983ff23ca @@ -74,4 +75,5 @@ EBUILD netbeans-enterprise-9999_p20180215.ebuild 15530 BLAKE2B efa38253baba17898 EBUILD netbeans-enterprise-9999_p20180219.ebuild 15530 BLAKE2B 4bf2b8072a1a2999f3e095d1e14ea14b083d8c34b79134c2dd94ce9d1a384468eb2a3a9f3891e36fbbf4078bbc7e5cbfa79ebcd4296b5a1da6ed4ced44dd75a5 SHA512 e03410834e3ed3e1d599598fb4538576881585bdca167f879c970dd5965d4ea55cc3e33718809eab2c60831e8747fd693b39acb549abe1186b59942b932a511e EBUILD netbeans-enterprise-9999_p20180220.ebuild 15530 BLAKE2B aae98db410b8a0432a00667f521bff194fbdfb1707220177c1a8e25078fe938517ff97c6883505c2d1201a1ab8261f29e418f8ab5c9ab6e7feddfb3601b47519 SHA512 9a55d70fc1d4a55345327cda30dfafaf13237d37eff675e4ef877329190a7dbde6bf98f9c19f86300cdd113d413fe0f3f07f524bd180418163b93806d3823f9b EBUILD netbeans-enterprise-9999_p20180221.ebuild 15530 BLAKE2B a78492eaf71d1123ab67b17a15dea30f73cd8986526f302b579f672198d7ece8a8f6e1f76d9e6509ad51e8cdb3e8f6519401d74b9060f613446f3b44ec83748c SHA512 0f487927ddad797965114cf9ef18cc663f4d6050780d9883837f4f42ca0176a48f16cf309bb0e9a2786035631d0c9f4bdf128cbcbb9454859e9dd62520a78c6c +EBUILD netbeans-enterprise-9999_p20180222.ebuild 15530 BLAKE2B f3973199601f56c9fa9e89764775ff790d1d5c48212677065c123ad94261a38f85c0713cbd4c5e7ebd6b0a920acb11338e567061232e515dbc4102d2e476f2b0 SHA512 bd4f012fe213315792be2a115c4989066220abb6fa6f380c509da2ec3d52aa4db81c861225ef78780cdb2c53d20b26364dd233117b24dea3ae57a9f3fca1a392 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180222.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180222.ebuild new file mode 100644 index 000000000..98dc91c1a --- /dev/null +++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 98676f562..fa01ae7c1 100644 --- a/dev-java/netbeans-ergonomics/Manifest +++ b/dev-java/netbeans-ergonomics/Manifest @@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-ergonomics-9999_p20180122.ebuild 2587 BLAKE2B 8f952dba656eeaf445a4e033f5fd9e3964c3b1e56536df91a46cb23abdeda5914e03faa42706d22ae594d922fc7c2de54d4aa244e5546a2bdcd34eaa9b66811a SHA512 f74d24cc87f037396d2537deeb67ce96ff2e82fede6f8b9f564c63920c30c90af0bd4fc86630865b880b72ec1032a7f6905d71cef49e01dedf16b76d12f9a66f EBUILD netbeans-ergonomics-9999_p20180123.ebuild 2587 BLAKE2B b1e1c1c1dd892396254572b3b5414c384c3bc530f27266d605cc57cf78335ead4ae324aa1fcb86747af9da70054c31f1e1cfee68cc633d4e9a4bc56c221b9de6 SHA512 48fa1902647e204b225e08b338e7a810ce633ba3a38fee31c3b7ae967dbe96bfda5edfce24b7019ff40583d695bdc0028976a2b157970d1a1bbfbaaee74a4cdc EBUILD netbeans-ergonomics-9999_p20180124.ebuild 2587 BLAKE2B 87d05ec3a49e96135a7d4c1d9ea6bde2daf21cb82ac021448419c2de869771ffd1e6c1efed994e506efddb821b176b579539d594387bc925b3a1e75ffa860c0a SHA512 0abd095ba1da1703fd37bc5db9ac5317fbaab689f4413a5113c3c939b1e5d3115f78eaeaaf9aa5613c938027e6b711551ec42416348b2183ba92620205e034e2 @@ -43,4 +44,5 @@ EBUILD netbeans-ergonomics-9999_p20180215.ebuild 2587 BLAKE2B 56c8c94b992b15026e EBUILD netbeans-ergonomics-9999_p20180219.ebuild 2587 BLAKE2B 2a26170ef8a8fe912419c4c89803b62fccf3ccdb2d873aaa14032f4c3fc331e88c37f4c727e76c96a2869072551393f982450683c4fccba73aab48eb3e9c18b6 SHA512 0d8da38b1a71a0c26c025ddc01e9917e1adc5c2504fa01c17237b0cb7ae287093bf43404df18f722ce8af9188e8d7df6b468ee301b52df46f0589d3a655bccb9 EBUILD netbeans-ergonomics-9999_p20180220.ebuild 2587 BLAKE2B ccab88ab79e3343fda9889f83d0d3da37d223cdd17ca23b89f1a8d3187987a445f024e9334b43d5745e9142652845ae35fd6de88c3f8717b3c3b02c166059af4 SHA512 7ec737ed42f668e3449bd1576025ec2851e669ad6a7ae91f523d213e05d70b07c307b44b33945d2ab4c1eb2e6008b8919e60bb5a43147dff4f061114c4ac6c53 EBUILD netbeans-ergonomics-9999_p20180221.ebuild 2587 BLAKE2B 0ab03ebe1c1cfd3fd632476cace226b3c78754547673bdca98a6c995d39314083a3969e57b9198d0aab01904d3e1df31fada4436a83828f896d0f079f8fd4ec5 SHA512 f4699e1803b71002f3f70b8e3387aeb654f71a6bc2abc473eeb508a48575cc5c32ec41c9459a56878ec67ed6fb37275049e89622b2f9a801ca94120978edf523 +EBUILD netbeans-ergonomics-9999_p20180222.ebuild 2587 BLAKE2B c5d4aad26b709f7547de8c4a129aa165829e5c8358fe43484dc22cd9d81b32f4630203952a247ee8ad8aa5f72d0f44101e7eedfeed826551ba71a581b4fb3ac9 SHA512 1dcdcdbb5cc97445ccbc5e2c1ad923e5cdac1b4ba65fcbb7dd02e9c162eb5a08a5c2f74428585c90efaf0548348300a6bd1fae6d8c1eb4b1d210b05aeb2b7e0c MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180222.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180222.ebuild new file mode 100644 index 000000000..d55b9ef18 --- /dev/null +++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 4fd3ace29..eab35bf8d 100644 --- a/dev-java/netbeans-extide/Manifest +++ b/dev-java/netbeans-extide/Manifest @@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-extide-9999_p20180122.ebuild 3059 BLAKE2B 7f4918af066f8acb0a7beab351e133edfec15113eec906f294731adf5972147de00c6b577c20a4038184bec0e1b9ef77aa9a6f9598974e75d7928314b82b033f SHA512 e7d3439c1a3ae18bacc83506ce41f06ecd51b78a5e4272db42c4666a6a7e167ecf296e294e99ddc30ff0a76af4db8e9c0fe784aa0823ce2ca4c967264f1b487c EBUILD netbeans-extide-9999_p20180123.ebuild 3059 BLAKE2B 08447e0e4d98da0dcbc570bf264a1d956a43112848100de1f5185e99078b1638433b849f8634b57eb669b341a618677dbb50b95a102ebe955327623b1b5f3990 SHA512 822b07e583620129c77b634cfe34ff2c3ffd89cd0ead22dc71e5c178d5d1af13faff0216abe8cb245fd14bbdcb7f0a6cf0799a13e3090aefd97118cc204393f8 EBUILD netbeans-extide-9999_p20180124.ebuild 3059 BLAKE2B 93e2a19e3f74a2ca79514ee2ffaa5926bed74f5171d8570159d1743f46b03b176de22778fd3b92f9bcec4c5b7f5ba0230383d25b3ab2f8aa472b660a2eaf06f1 SHA512 0e55f754a743f980b6fdd00310a9879020c798158d65fe447bfa6a1fd6b5f9235c1589dc6d79e3889e3d4061e8b0a6860d707f432c22ad081e37eb4d6e4e5337 @@ -45,4 +46,5 @@ EBUILD netbeans-extide-9999_p20180215.ebuild 3059 BLAKE2B 335bf72b35eafd059c393a EBUILD netbeans-extide-9999_p20180219.ebuild 3059 BLAKE2B 87373c62218c9f7681aef0a0a3408c8db998db12dbf53434229e66f2b53fe7d8796dafaeb1c5e854c99d5338941398d52cde2b63eea0c36cf90ae2b2eeb4829e SHA512 038a0c0b11b7b5c2b49ac84bd1ec8e9325d4c34952b99cdf20693356f809b39208d98658deded0f0620b66b3597c8b3cda073b90cbe2b9ef668926d0e45633c3 EBUILD netbeans-extide-9999_p20180220.ebuild 3059 BLAKE2B ba3e4ad05a5715799e0330457fccc68c841b4398229f30a4adf3958b9351a247a0c155e0cf4ea5f111d41d0d93f03beed40d2c31b18f05496a789f5cbf7f1a51 SHA512 853566132cfdfcc3cb3e6b076f00875592220912fe95244d5d7c9ef414f21a81e329ee471eb4b90e645952fd91f6c7c7f7812bd734a646e7f6e8c265bbec7d96 EBUILD netbeans-extide-9999_p20180221.ebuild 3059 BLAKE2B 7efaa6315cfb4630eb6af64708d4d66ba0c3e79f3cbbdf39102c479f7d81d93b07c8b76f015c2c0622302cc0ca516ff70b758f9b5a22568863d92fd7b3f6d06a SHA512 5f06a1eb54de385a5c3798ecd8517ddea567751f0eb3dea1a951e56de637e24650c95080e708153d11eab86fb1657b791920ad5b0b10f1bc49a6dbc835023631 +EBUILD netbeans-extide-9999_p20180222.ebuild 3059 BLAKE2B 526ff20bb4c99a94bc435cfe390a70670e37b2eb95f7767a0c2bde7387ff453838e2c06820d8b4615fe6aee11bb9bda77aa1cb0c5e4751a647a3068fda7ff826 SHA512 233d43105efeaae7046e1072dbea363ad1cd8a8befd18a2a81f3aa84c9a92fd6c02fa9da87bbb8d36d287dc40735a9b12ea8696ea13a1404f52b9213cabc798a MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20180222.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20180222.ebuild new file mode 100644 index 000000000..0263a3c98 --- /dev/null +++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 aaa2d26d5..c7760b340 100644 --- a/dev-java/netbeans-groovy/Manifest +++ b/dev-java/netbeans-groovy/Manifest @@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-groovy-9999_p20180122.ebuild 3091 BLAKE2B cb54fe5ec133380d48218c1b645dd0eec4c2eb264578cc2dfdd62d02847382391478bd742e6fd2235523416203dff3d8602745314c91168a5e8c975d00646f8b SHA512 87c760b40591c6cc27fa88c4bbbcdaf09c3e6b270462e950c392d6b0a8c06ed3088269e6aa76a72e5bcb789f393fb2d64d0f6f924dee443829989d745c2b9077 EBUILD netbeans-groovy-9999_p20180123.ebuild 3091 BLAKE2B d10a37aad20505a05b0e2b5f6af5c06967671861738388f589f3838165ec5791a6ee626550da238705ac7967b908d2e2fd362029c6d506a936ddcfa9209ec4da SHA512 fae41006fe9367e451aa6765f81834b2b50271120091a61135226ba968177e3cc8b113e5ebeddc4e6488bd608fa774c27332b4f5599767db99e3b93f4995aafd EBUILD netbeans-groovy-9999_p20180124.ebuild 3091 BLAKE2B aa03a807ed84ee4d200b3bceffcb46cb22f2d3eb9c871f90c3c8d04d3343faa1308be11be26b6353c7c723fcc4ccfbd7b53681ce7f2b4373482df4ca76a75447 SHA512 512e7070c565808c4255e6c5c62dcc5fc35dbc6a6dc4f4b4816b9f8ab3d84b12255463cf73074cece0b73c7d67f9e3f800f33744aea510fc7a1302a6b10a519d @@ -44,4 +45,5 @@ EBUILD netbeans-groovy-9999_p20180215.ebuild 3091 BLAKE2B 8a96a43c0745216624d0b3 EBUILD netbeans-groovy-9999_p20180219.ebuild 3091 BLAKE2B 943d2b248a9823547ba2dd42f24e24cfe8e338483805aa2b56c29cccee7f7158b7bea7f2e361222f54653d30e6c2c4125be5a9f5914ca7b188604bef58b2523a SHA512 4018cdfe843b24c6ace51c66d4fc482cec2ce40840068bb7037dd6326ac1f13f302790e9cd87deb49b2fa21bfed5d7e40053f66a09c470fb4e65428c18791d4e EBUILD netbeans-groovy-9999_p20180220.ebuild 3091 BLAKE2B f39abe643ff279a02597f900663a07cc8fb294f8fc0812b60a4ba3a1afcdb5b043ee179169be791f36edc7da455901eb3bbed9d8d9d84f456557d8cbd764650c SHA512 46f89e9f0d0c99c66c9370b0a8d91df12c290b89e10086220d8aae4dbb19dae53b74000ecea83c6cbd651c3a221aa35083bfed6e426b7bb14052af62479462fa EBUILD netbeans-groovy-9999_p20180221.ebuild 3091 BLAKE2B c4247af20405e7101c55b64d92318d22cd4fa10ddf64ba8016832b787e3635e9bc3b2794a0316c876834aa1763fedc265e087e336eaa8ed8d8467176ee1846c1 SHA512 0fa17b83385fdc8b3482065d4fada7d4ac4e557143aac18698407613f92c9c161517da44c68af5cb2524ac95b24399bc08371fd8c902ab885b1d7a522841d66e +EBUILD netbeans-groovy-9999_p20180222.ebuild 3091 BLAKE2B af8ccab522b598fe317faa1b7c0e361c78bcd9ef7770ebc7b951f564963b17174dc8526a62767b7f0f25c543015dd60cb00fc5c44e34d93b687b8837a199c644 SHA512 5813793b0fc83c1620a86f88e51f2d1c4b29256fc3ca57bc6c96aac357e7358c53e3639ebccecdcb9405cb054b65a66e6029e342e977a5e3a20e6c08bd11ff82 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180222.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180222.ebuild new file mode 100644 index 000000000..908b86ae1 --- /dev/null +++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 c3a9adb7b..72e788f6b 100644 --- a/dev-java/netbeans-harness/Manifest +++ b/dev-java/netbeans-harness/Manifest @@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-harness-9999_p20180122.ebuild 3805 BLAKE2B f64d948d35a7ddc1632d3d3fa770d702b2564afeca2e8ec699bf6312ba41086ae18a2dfd9466b5e174d33adfd2d1429dfae34a2cddaaacd7fc4b4f6cb882b290 SHA512 6715be574860a9b73be02050714cd88ebfcb368a032fa625f3b2139bbaf6e345b06455877201b8111867591f8be1bd345c858bfedb1325475ec58431398576a8 EBUILD netbeans-harness-9999_p20180123.ebuild 3805 BLAKE2B e0a4fb9fc649e461fe1098460aeebd1a9f22f40a114980b038731b6d83b9674acbc4c3b7af5fe305ace36ee7b8598fcf19a8f6182f50786462501b1f1c09ad48 SHA512 4d9c83894782d01d612028ffb2e74e36b4a5263a47d54b3c77e18cf20e54db8813f76493034a14124858fdbc49a9ad8bb71752461627c117465dc5d67b0b6f49 EBUILD netbeans-harness-9999_p20180124.ebuild 3805 BLAKE2B e33efc3cb9b066bddec4bfaa7c46302df27c5c824fb5dfbe1c9b7912e2b28267886b62c881febe008f71f222dd0bc27452b7b32b4a551896963442ce6247fa9b SHA512 46f966917d1c8ea5451efb9ecb05e12b575d2dcfcda1c119d65a2696bf0cca3aca73eb2ac86293e6eeed7f73b43a702c13ef143dfda67d61d9c560bcb164dc90 @@ -48,4 +49,5 @@ EBUILD netbeans-harness-9999_p20180215.ebuild 3805 BLAKE2B c7c67ede8308006a44be9 EBUILD netbeans-harness-9999_p20180219.ebuild 3805 BLAKE2B 9d0230fdc93554b5ba79a8730c6f79f33adf05f4323496810059e7754e465aed8973ebd2905b7f4d4b0a3e0c4e6fd1c33c01b552e66a38437b378d2363253823 SHA512 62171916f02b696740088a64843f5bd139f139825e13b69c51aa39f66bbb157ac4d644b76086710daf61b5a2b76efaa32996f093660dd8cee15b7892207e2826 EBUILD netbeans-harness-9999_p20180220.ebuild 3805 BLAKE2B 7c7f3907a951ec7fd723feff3232c69ff9be05ae57bf2b9770f892f6c2c3cb5ea06f8a97b28f1a3fabf725334660c71634d0d0c73d3920f0534b4c6459d07aa7 SHA512 135584b7d44bdca166de45a91e8aab51bd42c7d61ab852f6908a0efd27d40dc0f3be82e2e536071faf56cf2ef45cd283b045afe0b19197c21666de9829c10187 EBUILD netbeans-harness-9999_p20180221.ebuild 3805 BLAKE2B b6d5e2f7135562ebe06ebad875443e56ebb8392fe28e126c843de12f5bf7f80402762f982e1eabc39809a6237ad13dc2a9115a86c1e4df59831ed007c508983f SHA512 715426c13edc4e97fbace7ea9c3cc00a6980954d92cc6af97e9d7f294b7195e4f5e097dbb6998ebb98af278d9bace92d255c895eb5e5fd04a3d29d45ff0e7ab4 +EBUILD netbeans-harness-9999_p20180222.ebuild 3805 BLAKE2B d58db3dc19ea35d3b163b24fd88b77a648409c25dd32ec0a2388fe6a72673e00a3f633b9b98404e3cac17127710ca85ee89980b25b7836335a18571610167d41 SHA512 1428f72cf41c038b5275d46111fee6575ee60f0e15c198c5cc9db5cd09229ad808d66c300afed78cc6c9a0ba091bad772f5f600e0faed4c5323869b0c9803cc2 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20180222.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20180222.ebuild new file mode 100644 index 000000000..382ac414e --- /dev/null +++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 e05f843be..f1d0cbc73 100644 --- a/dev-java/netbeans-ide/Manifest +++ b/dev-java/netbeans-ide/Manifest @@ -93,6 +93,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-ide-9999_p20180122.ebuild 29593 BLAKE2B 4d9b508db0614ec2a055cf76e164e9dbda8663b8cf0ad2b858bff4fe7246a851eea4c6bce86efdc5a0d161294c1402309a849d06045f4ed3773887341ef73201 SHA512 7164f3024a507277e9ac63e49d65d9bff50ccb7cb9571f29f861d1676aa65dd15f56a95d8741dc929cd343e94c818af310f4e09214572e9074bc9b9b15851ca7 EBUILD netbeans-ide-9999_p20180123.ebuild 29593 BLAKE2B 3078087819c84cbbc6aedb9367a32095828cf1bcf2669ea31c62673f82c8399438c0405469a40407201a5705019ca1b8e09fe9690cc08d775c62d3b8fc9de7e8 SHA512 c45b60edf848bad3d1c8163b4b22fa4aae2ec179fa4d9b9a000640a62053fd596cc4ba5827ca75a04d469d8d7e585ef4c7f85e60f543d808f8fc1bf6eabf46ab EBUILD netbeans-ide-9999_p20180124.ebuild 29593 BLAKE2B cb0d9b5f43638e442d884255a66ce671024bb8473f21d47a7d924c08dc8693da6f94b2a480ef8100575b2877ff3cb2022e4b2249afccdfe7a78826723ffc4c6a SHA512 81cab2753c52da51eee1f3aa02c09b3b4f920e78420c92f7148cd7c19e33a36513bea95c76f63524b48e9851169fa2bd9dbdd0884b5a623ae6715852a3e0f46e @@ -115,4 +116,5 @@ EBUILD netbeans-ide-9999_p20180215.ebuild 29593 BLAKE2B 41f9a8467c1ad1089efe0dfe EBUILD netbeans-ide-9999_p20180219.ebuild 29593 BLAKE2B 0e28722c1632f309ecc624e76dc32ac7b3f3bda119277404b94a38fb5dc1e1c5084afe4040a5ffefffa069e88dbc966e5f7ddf8796fde961d85a5d139df0de16 SHA512 9e775783ef65367040200b415df9f785aea2c1a1f642f8a639db538659af4c3d0d896a1b1bf0deae940940c04cf35d076744152083fe2ed04f2838ae382d2094 EBUILD netbeans-ide-9999_p20180220.ebuild 29593 BLAKE2B ddf47d5bf13489c2a10d2bfa1a5bc021daf2975099de8389a0c9d8b5438d5674f7b5375c480717bc9e37587f3d779fd9a9e037fb8711fa2c4a45be7dbffea41a SHA512 39e19c776bf323b715bb5c5a04d0cbc46289d48fb9668dc3b84aa0ab52232bc85498a261fb0beb084c469e125f34f77516f6339ac2c5590fdc44adcd1fedd7f9 EBUILD netbeans-ide-9999_p20180221.ebuild 29593 BLAKE2B e69064a5f1ea89397ee3cad0b9c3035a334fe4c82a9308b84fba257a26c6df5e212cbf46341c9b2aead1344a1299b85ef999a8818836c7aa9d1f60ac5159b0dc SHA512 c52ba19b818f3657db68ad6dd9fd6196e8f9eb3459fe351c756a80106b74098a8a5861d4c95cc8d42d8ab76ba31a66384c95d0d9f294aed8cfd5a3c26042b308 +EBUILD netbeans-ide-9999_p20180222.ebuild 29593 BLAKE2B c6ee29bf363fe5a85c355df103c518f8afa377267c2a88dec7ef0b11d80bbcd4890e213cdd268e93c4fa929f9c97c9b07c94b271f0ef2331aee93ea3a1645a56 SHA512 fb8be005c28f6fc00a4cbda724bae76d69b9a32c90c3f23d218770af71c58c61b115d548df4b8d94d150e807bb9ace455741cd7f1a6f3ffff321f273fe896bfc MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20180222.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20180222.ebuild new file mode 100644 index 000000000..504cca07d --- /dev/null +++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 efdc4e43c..fd4a4e040 100644 --- a/dev-java/netbeans-java/Manifest +++ b/dev-java/netbeans-java/Manifest @@ -46,6 +46,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-java-9999_p20180122.ebuild 15702 BLAKE2B 629ac211626e6065e1d4f621b50c2175280a0068a83890659e9b6a386b4a7d58f4b13760385e29704941939b74b9f5d28e19d483b97971f1f063c73685088e89 SHA512 6bb26292ee60ebb40b947f87963d826a00b4d10b3823af5a98984198fe82efe92a826329e5b31b22dfc1b195d31e9149a56dcf2b7a4520276d959f3107afec20 EBUILD netbeans-java-9999_p20180123.ebuild 15702 BLAKE2B 2f3245b860283cb8477d8f419880af68c68200c45065dea18324d78efdc506e734bb3cb33b2dc711e74db6735a08b8af92bad8427e3bf9078450cca5e6bccbad SHA512 5119e48543365ffbeefb07cae4ae891edc08a331dd55edf3c7bbda4dc68d0b870b4646556e78094de538dad8682e59a737c272b8f95f5090267ec89d0c885529 EBUILD netbeans-java-9999_p20180124.ebuild 15702 BLAKE2B e02da50ab85f82b15a095b5d6bf7e1be9d2c930dd29174a6f6b29acf6970b6bf940e71db3918f9c6ca74cdd954bed9a45ece7afc1a2a6027cb38168f7a7c6119 SHA512 0d395145792d8235acb7755f44f10ffdf44111b9fddd5108eb71cc142abf7c944530f899149eaa1a5ffc8929cf865858fe935746f4ce289ec24aa75e607f6e4d @@ -68,4 +69,5 @@ EBUILD netbeans-java-9999_p20180215.ebuild 15702 BLAKE2B 25fa3fedca5577aedc89772 EBUILD netbeans-java-9999_p20180219.ebuild 15702 BLAKE2B 0e4b0a7398f6eae0c18074405432e5cf62a11271e37e24b8e19955677e80f4c1cf71a2265b1fb4b8971ffc10a1da6e06e555cb802e9ce62a0a0ba87442944f5f SHA512 849c27f8c12a863a3f6c1a63a608d97cf8752c7e70c70c060c0dee16f13303b38b45ed6a4bcfdd2ba8eb3a0b070af4b64692867fda55c5582cac8f5a2faa6ce2 EBUILD netbeans-java-9999_p20180220.ebuild 15702 BLAKE2B 8c23a5781c16ced3840eb3edb30961ce779c3786fe2bf7c1c1cdfddcb999ad587d25d2ce268b58907eb0fdbd659e61f2342682ef9bdc9d9ca1469c61ebc36575 SHA512 b45d20fb778c635618ffc61b4f97574ca9ff117cdbb80c685cccae4feca3868f00fdc0b1dda120de3313d95e13576ee944682009c2224acaaf4ab10b7506280f EBUILD netbeans-java-9999_p20180221.ebuild 15702 BLAKE2B 4f0c2bae3510723df5753311c7cb49b55d17836f0929ca5b89eee92b2e80c82cfcbfde934388bb6d63ddb9ff077a12829d2e53bb4d2365040765e917f06f36f9 SHA512 079fc77608baf52241f4ca8b1ea7bffc315d2af69105a2a033a4dfa393fe9392bb8a1566d4f5ae713e8c2b39347154e75ee2c7d0244a9ec3fd40735c60b2eb5b +EBUILD netbeans-java-9999_p20180222.ebuild 15702 BLAKE2B d9abf7670135fb8685b8ed34bb86e20ff76557ed7821322f49f9e4941de23ef7a23f1a8843122d1ef3f1b17a6790c13bb8f329fe8bbc939e75ec72559e560c5e SHA512 9bdcc4e1c62bcffc35adddd5cb58b8fc73ed681e798f561ef1b2e38c4698ba8b792be1367436b62b977af3ff177f0d7c16ef2ec4d0ca9c68ed0206ce8a8efd2d MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20180222.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20180222.ebuild new file mode 100644 index 000000000..b84e6c0bf --- /dev/null +++ b/dev-java/netbeans-java/netbeans-java-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 f4fa1f816..7786405ba 100644 --- a/dev-java/netbeans-javacard/Manifest +++ b/dev-java/netbeans-javacard/Manifest @@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-javacard-9999_p20180122.ebuild 4648 BLAKE2B ed0d18e75f7ed915a168f6738be117e86e1eee99b02ee86876c7bade97c058d415d08534eec42ec8986d5f5c5b80426af7dfbaa6f91052d434785541af06e61d SHA512 2b99ad60c7c96484ce128b6be4a167d69607c77e36a1e40b770000aa71f627163425ca2320fda13148f96e33b554bdf9d1668faf725532850205ac2a9c10d2e9 EBUILD netbeans-javacard-9999_p20180123.ebuild 4648 BLAKE2B 1df04214c72a5a19f864944cd8a202f625fcbb1b97cc69a2b11703c5c74390517b2b2556364c8631a5972aa1d7fb1793486aa30f7ca7405865f5c9c4012c4ece SHA512 b4b1c3b3502d1f6a0dfd7a889d59cd81441511947dff69c8e39d812c815a6766689566e544d4bd42d690a90dd70ff7efe4011f40ce0b8160201c9a313cecb05c EBUILD netbeans-javacard-9999_p20180124.ebuild 4648 BLAKE2B 6df10a8de859bd8de0d9642da960416f395a170c527333e8adaa13e3ef93b3b81d38e96356f142258e18a919c3ef1716755c9e19279db9892145708ffabc9cd0 SHA512 5b6f292e6c5b8230f0a2a1471cd20ffc782167a2daf750c9b7ea2493c732a388a145508d279a69d4aac9bd604b3daacee6427388345e863f9ebf62c4d03e5c52 @@ -46,4 +47,5 @@ EBUILD netbeans-javacard-9999_p20180215.ebuild 4648 BLAKE2B 170aacd7e97e7fc4e19d EBUILD netbeans-javacard-9999_p20180219.ebuild 4648 BLAKE2B f74ac3a936f59165faab32f8451b70fe6b89e870776ade3ed8c61736d22506015cbc9785dfbd19e6fd59dad56dc1b58d56ac75ee718e280fb603699bad654648 SHA512 7dc95ec061dc49a121ad46d52d84719146c75ebbca3c4024340cd065df753fd925b2c7e6b7caee53d2b7c1f4774e2b1c220f0251c913983dd84a2ce189d0e303 EBUILD netbeans-javacard-9999_p20180220.ebuild 4648 BLAKE2B 83637f15c4e7cff9ebb642f045bf12dd6b7776b4f61f6fcc7a9b4bfee6227f9f3827b943cd7d57016a9cddcb6a3ff34b7d2b045865c7a9b9de715a81bc177af3 SHA512 58ff2c55509efec774f19deba8c0f7f8e13ee05e245f47ed9701b79d82460cf548bed85270f7702c30ca2ae246fec3e2b395707c812ebddb28d1c769a2e57364 EBUILD netbeans-javacard-9999_p20180221.ebuild 4648 BLAKE2B d78fc2bb483fa9882b483543fb4a51e091322c2a846d2a5481296e08bfbc9db3d12bfd3625a747bae441d54fcd1809ebda9c9ff9169dd2608a158ffe7aedbe33 SHA512 cceb78478685a735843dd204696682588b9e04f460bf51112c0d164c4417d505cbe2ea3bcfe9e0d7d4deffb9cab4bb6104df632d3a9d157d7b1f5385dca83e5e +EBUILD netbeans-javacard-9999_p20180222.ebuild 4648 BLAKE2B 9c72cae7e2df32156ca5a0d6bd710e1f63e4adf49f55398e90d7ba6d8acf423f51fc226e7f87fcaebc4f847773a05ddca7ea0dbb30c3167d2b0f5eff85206502 SHA512 eb6315d86fe5cc0d55a28ab42acd7975ec57e47a91cb5621a3813e45abdede7fdd644a84075118ffa0015a2d76830dcf5b6cbe0fd100d9f16c801bb97b707441 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180222.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180222.ebuild new file mode 100644 index 000000000..6f4c87836 --- /dev/null +++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 d3258b327..6e09f7ef7 100644 --- a/dev-java/netbeans-javadoc/Manifest +++ b/dev-java/netbeans-javadoc/Manifest @@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-javadoc-9999_p20180122.ebuild 5992 BLAKE2B 004d37ff4dd95639cc0e5842bf9c4e32cca51b8e425ddf33c23a17515f4136fd3e4817c3a5183f301c44fe5a4cf322d63900bfb2526281af1ddfd35c7c5aad9a SHA512 6792d9111a4731f44768d5fc08c2f43dd9a920eae72c6990f4fc4c6dfa1b11323fbebfa2405b4b1f8a88eeb9b65513b8e906bf57c640c5a4e956e1d061f59e9f EBUILD netbeans-javadoc-9999_p20180123.ebuild 5992 BLAKE2B 4bb63a3f0c36c6da7d864c3d64c89b4b2bbe319b2c28f5530f85493d8095bb8e75c248979d6ff7d3a962adf786282e47313cc859d8c96c7c6810c668cf22b44b SHA512 30ed726d8e94a7436ee7365e9abb26d343dd0984e3e8fc7468704801c7d5b920203ae6419ab41bd1e8cb49c2d6b2d77f99cfc31c9b87cd9aa20aed21669313c3 EBUILD netbeans-javadoc-9999_p20180124.ebuild 5992 BLAKE2B a266820cb2426febac00a42b4b6633ba112b2b7d558018f65635a72a9ac2bf6cf1c9e236e62be952152b85e7144291b9d7c6e640fc2429ba820380d7f4612a82 SHA512 3a805e93d435455cdf0d58020201e5be8228c3244de4671cdb46d622c65875ab5b842deacf52bcbbb63f98c12412ec91c78c92eac7b0bf4f26d816a8f64bfc4c @@ -44,4 +45,5 @@ EBUILD netbeans-javadoc-9999_p20180215.ebuild 5992 BLAKE2B 1dcdc0759dcc7ee30b928 EBUILD netbeans-javadoc-9999_p20180219.ebuild 5992 BLAKE2B 4b0e5dc99463c3e3e12f3644f904d163396ec76376676bd2e280e138bd8ba5e6b0285edd342b76a04d0db424336dbc5338b877476f622bc656bb747c1d283468 SHA512 71ca04b4e5305743728af28c1d0909309cfc3182d5c164cd8b51b12f724b20f4c8e759374cf4efeac35a95f0b8fe19382a1721a4974888e93355e18785cf2ed9 EBUILD netbeans-javadoc-9999_p20180220.ebuild 5992 BLAKE2B 3f6d033519cbcbd011be0021cdeac1d65e7f8e6640ab6f048f6eeae949321d165693a6da2d1818da6b2c6f1ffae8c9a7f036fb40c242635880ee72ead48a61f6 SHA512 1f2cbe528a736610a8eb8dd5c8455ed07cb98e498d545caa2e15c649cd4ea95356a0942b41f644eb35015048470607725ec12c6a2680d7d9e4513e65e11cce2b EBUILD netbeans-javadoc-9999_p20180221.ebuild 5992 BLAKE2B 04678843682a84513c1754f6721e58cd2a1c4409853b85117bce4b776eb2b68a67516ee7f03fbbac0385806e96a4ecdea257686a2ca4c348f4f77d9bd0daf564 SHA512 10ff7e7ad2cc10024883cfbc0e06b5f3d363122b8405383202362abdb9083f30e99e84bee873370338f4f99d4c7152341bc1fef150ad4f313197d7a649477262 +EBUILD netbeans-javadoc-9999_p20180222.ebuild 5992 BLAKE2B 8761febb4ce171ae2f7081c3c9ac34ffe528f8c000129efc647e4f0d4c880d49046026966bee7e9494e410473dd21ee2902b3c6a1a3636783b241ff2f543202f SHA512 62e8833910072ac238c494c0c96dc815195beaf13f47035a781be5ce8f87a0bfa56778de7424f0f61497a3abaf2a8b5729114ee2e05c74ede64d1db4135f5833 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180222.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180222.ebuild new file mode 100644 index 000000000..7aa6f37ce --- /dev/null +++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 8ed90c18e..4fce09d38 100644 --- a/dev-java/netbeans-javafx/Manifest +++ b/dev-java/netbeans-javafx/Manifest @@ -27,6 +27,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-javafx-9999_p20180122.ebuild 4397 BLAKE2B 8de06d5fac15794bc292335b5d39e63a82366985943fb665b319bf02a5894ccbf395781d94c95e6fffff25ebbfd2d2d8c145dab5d538e325439b3a7813ab8aed SHA512 a2e0f9d6682eadc7943431e8d7fd675110dba319907db5c4da37ff1d98cd17a1b340154b40a27e9f30d5ce07bcd670db6f69fab8094484d14a2b6ccea6caf74a EBUILD netbeans-javafx-9999_p20180123.ebuild 4397 BLAKE2B 186d3788dcaf14681599ad0acd18e366cdf49c636a7bbdb7d776e95f3d24dc17f90b60300a542862c59a07275a952ff90a3f98e0333a5150373cf210536a6198 SHA512 51e01d6a3b152c4d0115ca6ce77fc18fd551cfa160f4a6c065865e89cef1f63592e39f461df3f5fe2d1705bcd16ed4cac2998c5775f63eb8851f4612fc3ad32a EBUILD netbeans-javafx-9999_p20180124.ebuild 4397 BLAKE2B c66a882cc68a9ff0b808d385c1a54f7cc0de252e060424cfd49651c680b9e2a79ee70164c4906fe90b15c35b39726f852006eca8de21479be4925fd8a16107e4 SHA512 b51e063a68912b4fbc3727390d0605260a75c9975950e7661c73f61d75ad86c69dc48ee2a15726444a15266e10629da22ea8a3ba8c3de02d3fbe8a3490116570 @@ -49,4 +50,5 @@ EBUILD netbeans-javafx-9999_p20180215.ebuild 4397 BLAKE2B 4f492f20179f06162f0280 EBUILD netbeans-javafx-9999_p20180219.ebuild 4397 BLAKE2B 92e945c71f899bd85ede0c6703ab465e829b5f95979cf73615b83182f712fccfb19738455594e1c50ade6064cbf8e769b295a8917c4b0eed96000bbb6826400a SHA512 7d0e7959deb74d9cec4fa7bf3eecbe36d509e7033c730e5525d95580a2b94e7388f6f2fa825ab9cc5caeaea06ba568e25d60ba9f9cd8c8448d12a78ea992ce3c EBUILD netbeans-javafx-9999_p20180220.ebuild 4397 BLAKE2B c0174d5899182bd92fec413c46fb40000e996250572f5b48897a6bbe06934187f78b784c8ace592f285794b4151c8d0e889f4ff09a8b65a4bd6aa7f38cad2189 SHA512 c3be84907f2ca9a19a50d1e4f6048087c1b01df921576d1c4c8773d3d1102fcc3541cf9ed96829a30feac2110e0ccd874ebd8fa263eceed206c264d289396212 EBUILD netbeans-javafx-9999_p20180221.ebuild 4397 BLAKE2B 998cf2fae58e8b30498476716d1ee6d6476ad09db74e5b94f52ba5b2e1e883591802dc1cc574bac3ec21fa48b3647b74eb3f92f798bb92f58899b11e41cc745d SHA512 c330d3db65c822973de1113c9a0164f4641f120d3bdc5fdbbf9478607b16459d32b243152e10c74e04aee307dec479c4b4841fd5142de6c6b9595d4a058e9055 +EBUILD netbeans-javafx-9999_p20180222.ebuild 4397 BLAKE2B db7454ba393c76e0c8f127c75d0ad4f84f1cf65844661d910a5cc0195d35e3cfa91865d7b2f68694c1b61956020f049cc97073739f5b3f6e4d3cb93c1439bedd SHA512 faab558a9918f09e63feb6d3ca21cc943ad8f6c3d7c18201d04c7e78f5a04d99fd9d66d61c833864b6186c989e8255b32607a64d1ad0fc16111511cf23b82fbb MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180222.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180222.ebuild new file mode 100644 index 000000000..8dc79b9a2 --- /dev/null +++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 77316512f..a6d646c6b 100644 --- a/dev-java/netbeans-mobility/Manifest +++ b/dev-java/netbeans-mobility/Manifest @@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-mobility-9999_p20180122.ebuild 4086 BLAKE2B e26c6e835e81c5ec41a426445489a4221d4dd71fd7d5187f878aa73d39bed4ff6cd72cae2988b4c7b1054268856ef6c9ebd9493aa7d2a24bf1fa00500d21db18 SHA512 55c2d49e4dcfe63713455cb30d6453a096949632ee9f9d7ec165e66e328ee4ac4d0ba41c33726ae027594c69fc2020a747eee50139dc91b1e46447f3b4f6ce6c EBUILD netbeans-mobility-9999_p20180123.ebuild 4086 BLAKE2B 055973da46da65aab6dd1bd03f49988569f15f4d5bd0e6168a48a4422b010fa3c8def6aabc743d0fc476de9018f381a0e120e66c4543d2b8de601862a0e25f2d SHA512 d49c09f3778c4db864026eed148f3fbcc9667b898eb1c65f4e4c5458efa3e891520104668f7c889c0167c7974384d30206c458ce4e25d1e950856842dd784fd0 EBUILD netbeans-mobility-9999_p20180124.ebuild 4086 BLAKE2B cb9351bb9cfecb6a7824b53bd256da9df3e023984048cf7a6c9e2103f448ca517ef23bbe730656b720872ac28ebe3653c6769536e4387944ff5dc184054b41a3 SHA512 38083057d7eb56c1c92efecd2263ded0111ab5ed616c5616dfc5504dda63dd74cd3d32b4d9224c46b3bf413d9b76fec937d45962d0a92a95c461ea7cd18703f5 @@ -43,4 +44,5 @@ EBUILD netbeans-mobility-9999_p20180215.ebuild 4086 BLAKE2B 16be8bb70caccc2de7ed EBUILD netbeans-mobility-9999_p20180219.ebuild 4086 BLAKE2B e3b4a3e55036401868e22a7015ca214536b0d666333af3ca89fc1b79034e17dff998a3ee167fc39492cd4c0b6e6a54ee9c638d212a81ff27c7606a2250d38c31 SHA512 eefd259ee068b28261e5d7e884f378707883012c173f6fcf8f458ac432bd0ca37ba5b6ee3130950f7b7659d7112fa714345bbf8289dc261a907df57e8105e677 EBUILD netbeans-mobility-9999_p20180220.ebuild 4086 BLAKE2B 56aeeb029ea39692e153c743d1b28ea07b24aacb65637cfb5a5a405365d8246f6250d14b42573855505e9681ea43866927d9e2308d93dae931d2c18fdb58e098 SHA512 f4c198073a1b79af655258f613d70ddeea2db0be22c600c87ac72c9bbfd21d4fdf03574b4e5ba2c03fa0abf8221a16f9adebc508d9a80b293c65e0db0ebec19b EBUILD netbeans-mobility-9999_p20180221.ebuild 4086 BLAKE2B d46f1f0d72b7c89f681fd2fd6c25051058367af56240ef9ff2e93a947a9d8d09082aa11064d843dc32fe21d2e2cca0ab0b1c2a6d9ecbc92144395beb6f9d083d SHA512 ecf942ebd6343da0595a68adf4c60f0ef06f2ae81f606e0a49b4f63c282501f5a5b62e5243591b038ebb081c30f7d79168a347d3395caf5e5f55c5b077211b98 +EBUILD netbeans-mobility-9999_p20180222.ebuild 4086 BLAKE2B 2f8ee4f7496f93296bb6c917d44d2eb55f7675d0965aeb0cd9fb624a0c197c313eae56a20406810ecdd7d2427b10b0132de06a5f2da41490d455aafac65c383d SHA512 ca496d70c945ced44a127129b6460b6e3b8f130b8940ea794413fde1c521c9f11e71faffc86cabe745dca92b22016d4ccddf2ff7533296108a8614c39c4d3ffc MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180222.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180222.ebuild new file mode 100644 index 000000000..f49d4741a --- /dev/null +++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 e2d26618c..1dbf821a4 100644 --- a/dev-java/netbeans-nb/Manifest +++ b/dev-java/netbeans-nb/Manifest @@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-nb-9999_p20180122.ebuild 3786 BLAKE2B 3ddf5774913f068acc478258f448538a064faba8fae2ed397df46ddf59726ae32cccca7ce8013f26aee85cb21addd72ec81e0309e31dc9270dbf32cfc8c78727 SHA512 b9f2ea8dd98328886c1c88735c9d18bd1c6b49c7ba2b74f3efaac73ffd7a4e6952189e94f4d69078be212f3888d22b4835bf3b57f142feb7d07d270f2c5216b8 EBUILD netbeans-nb-9999_p20180123.ebuild 3786 BLAKE2B e50102252f9e42bb9bb1a2fa860b3d26c6ae002a4ce9eae9e50cb23478295533ab7be62c580298abdbfd40b939d3398c873431fffbf8fa1c08739c7bd4746e3d SHA512 13cc63dfc058033254b930d9afe3fc2c90f6fc4ef513c88172c96ab25fd17710a7d7eeceb44b60c817eeb43d349cde0124c332c052102e6e57516923f34347b3 EBUILD netbeans-nb-9999_p20180124.ebuild 3786 BLAKE2B 7e88c90fd73e631eb7ca1a5759f5dfd37a2f6683564fd37b22416e67a34ab13ea507f7a7ebfdf03ae2913cb464f972972973be2fb92b03577c317c2e3a089484 SHA512 44b738a68f91b43b281264c45fb06ba0462a5b5c608dcff6ba0754bbc44d44733c8bb3732a5a3c4dc4cfd94a909065229087cbc8730f907e7993cd5b95492211 @@ -46,4 +47,5 @@ EBUILD netbeans-nb-9999_p20180215.ebuild 3786 BLAKE2B 5338d18f72589ab9bd800ec0f6 EBUILD netbeans-nb-9999_p20180219.ebuild 3786 BLAKE2B 8d4a28c876a0d4511f12609f59c41110b340aa7289839f1e48b61301c7cbbfe87d1dfa4469d0cbb7d49285943f8519b650ce91fdbe7281eb1feeadfccd7f757c SHA512 5f849824354e02762cca07b2889662b37dd9bb1e034d614825db337f9adb8011324708daa3894f2fcff34533eb22c084aeda892e132af54323fa91a4565612b4 EBUILD netbeans-nb-9999_p20180220.ebuild 3786 BLAKE2B a11fc78a897f70594808a405d9774fbf3e008500519ce83c3e998f41e7b863b4b5a8c37822a9415bc8cf56d5fa82043efd546ce2656149ab7c51b324e582edf8 SHA512 81ddb5ec3537ad43ba4435091122ab9c11bd595debcef93f1c232a0757739013c489b867fd28a6f64996be5a091987e4ac5e6df2e4a06458332e866d037becf0 EBUILD netbeans-nb-9999_p20180221.ebuild 3786 BLAKE2B 1d5ef51bfb31cf9988ef105cc88cd2eff8af047bb09e02f9f7ce80839663ec696e44cb7a5509386ce5d018797e457bee4427b704b884dc18820d1a9e07785786 SHA512 e4ff1e33099fa4b99a95eceb079762b183e582b18513ef19de5fc03d56ef4471ecb40157f27449d7a5c8f6b9090d1ccea2e29c2e4f8959bf4fc1178f2a64a12f +EBUILD netbeans-nb-9999_p20180222.ebuild 3786 BLAKE2B b3c266edab6598191fa8ad64739a1bf07dede561e77313d943527ac4bb510553a0254deb8215d5e660352ffeb09698459a53561d091b6e3853445f0cd619c2fa SHA512 5f41a2709adfa74050c183e3ac34a8f44aa6869459b283dfeed786cd43129bb77bcb81e46139778088861644f8342c6c7c94d05136b50d72e490f2d453dd854d MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20180222.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20180222.ebuild new file mode 100644 index 000000000..4fc26cef3 --- /dev/null +++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 698f236f1..57ef3c9b8 100644 --- a/dev-java/netbeans-php/Manifest +++ b/dev-java/netbeans-php/Manifest @@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-php-9999_p20180122.ebuild 4095 BLAKE2B c634dac23ea0cc68f4c7182a459529f215d6edd20e017c07c6546c04361b58e83890134207623a187df5dec0b4cef385a36905de41954f4ccc8a7b176932be09 SHA512 f1554889a43bd5bbbe6af040cd2474d25508a7862dba49273f48af5a5a90b3d701aa775fcbfca12004e1806ea47d6ed79d1ac15cf78583697eac9a8e18280ad2 EBUILD netbeans-php-9999_p20180123.ebuild 4095 BLAKE2B 681cef04d26478e66f253885e6e357ffbc3d5e137a8b1d9de82d457819b14ba6c32be2cf3f6c5c57ca63074ecf274f784cf0a4eab716691ee23f4df7453879c2 SHA512 1fa95038252487a9a6d8817c6fb2aa180c66117ffb4373fa365149324059b1a1fd8bc760032c471ae0a2ce52c97295da6fa6e843551dc6285ab90d36dc37e213 EBUILD netbeans-php-9999_p20180124.ebuild 4095 BLAKE2B 79f9b3fa777aadeb63681b5d7b81acbcac9f15e89dc0c7ef2dbdf7ea54fd2ab19e2db768d891e6f6af58ae499cf8668bbd8ba4e05bc6f272aa806f9e1822f519 SHA512 720e95c3003b3c2521eaad6914fac89b57b625ff51636fe6045c34ef8269a1060111af2ecfe02fd6046678e0460154dc8852300d26e9e555324791b8e904e043 @@ -46,4 +47,5 @@ EBUILD netbeans-php-9999_p20180215.ebuild 4095 BLAKE2B b6d31652d5155a1cfd3261383 EBUILD netbeans-php-9999_p20180219.ebuild 4095 BLAKE2B 7c49f0a28c8231db8e4049267d2e2087fc292e0ba0d77564819a9b32633f60c2737214b97d0dfb3367f9a429dae6e8bc4fc8691d3101eb76c8d804c80a3eef3a SHA512 4aa1939acbae361d1210d0a19d76b9a06a742888ca38b547c5d76ecd926d1ffb3add19324f0d556765ea82f089fa071303859ec777dd45dc1b775e2ba2259e2d EBUILD netbeans-php-9999_p20180220.ebuild 4095 BLAKE2B 70ec54b3c60c1c10219eac313458a07a86e752a8de836556647280cad2d2935b8896223d4c7928bccca1be618a52f0ed4342c3d135899d634a4c3f6a3a484d4a SHA512 55226a47c733aa4440b228978a6c5cb1e4d8ecb2a5b41d0a026171eb5534749b416fd936c417ffe46a384af7b4ceb69a88b065c4c329ce0a6aedc5f8eafce763 EBUILD netbeans-php-9999_p20180221.ebuild 4095 BLAKE2B 608a01a561d088a60e7906159928aae875d29a2704d12d65a57d8f7e5d59a91c1069d28f4e22b41c049a6444109efbe084b17ea3b88930c1ea7a4ccbd4acd1bd SHA512 cd1b3d4c1cda44314c6fa950743b79d53141d18d868fdbf78d5aad72b546e8562032d590e9e56362e2fb1ff239356e597f708ae250bc5c8eeea99b68e8ab013c +EBUILD netbeans-php-9999_p20180222.ebuild 4095 BLAKE2B 5595d574897c8e3faea8e2b06721aa3d18224d6e24ffc0745ae6b77c70df04eb6cfaddf3163e005fcfb763e685287c81c9e5670750a7df1aed38124dd91c3ac5 SHA512 987ae6a1eac32c22eb186f47d58ba873fa715621f674080458878df33f5c46bd97b949f5bcb902167fb765f01809f6e0c0497e9e7cc441ad8e563b28ce8b78e0 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20180222.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20180222.ebuild new file mode 100644 index 000000000..ea06973a4 --- /dev/null +++ b/dev-java/netbeans-php/netbeans-php-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 3cd519d7c..b62c75a27 100644 --- a/dev-java/netbeans-platform/Manifest +++ b/dev-java/netbeans-platform/Manifest @@ -36,6 +36,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-platform-9999_p20180122.ebuild 9238 BLAKE2B 381d2a3f2ad10b90510763874459b77d48d96d438e889761721dc5cd5857fdb70099e82c785e8b117f15f47675ce91433a854d282af1740d6fe0168f7374a74f SHA512 b00d6081ad4186f4b499ae1f4b005e536a97074a087643a2fc644c8712d29711d5fecbc0c9c5f8e2a0557d97a719ceb4808e2bd88fce2c792e3222d54fa38e7c EBUILD netbeans-platform-9999_p20180123.ebuild 9238 BLAKE2B 21f7ad4d8b98296bdcbdc91e4cb913d608767821493c7f3e9eda1d060ca982d955ac3d256f7ca30ee2d61b2b39fb101714fb0124407f0b585a30f094548f3b78 SHA512 c70224301d914abf28db5fa5ab9198d263e9bde3effef274185fb076e747bde903eec93d26388217da58c14bfa63b42494e8332af8fe97bc4976256b534e5df9 EBUILD netbeans-platform-9999_p20180124.ebuild 9238 BLAKE2B 67be2e8cc51b1a22dfd6904a3f60349fe912a955eb0df2c35ffb43904f6f8c38a9bb81d08d2706f453781d170e5a3c6f5071a47129602d6448540a3ed4049d22 SHA512 d11dc9650ac737c65fc68383e4936a075c0f583fcff749c7a153a07be3fe94f0ae60d514e84e18bca08373ad4a707c2840d5201fec5ca45093630740e9829ead @@ -58,4 +59,5 @@ EBUILD netbeans-platform-9999_p20180215.ebuild 9238 BLAKE2B 4a7ce24cc2f5c30bb3be EBUILD netbeans-platform-9999_p20180219.ebuild 9238 BLAKE2B 5f4c37adf25faf2c810a2f745acb2451b275ddae9106173896d6be9fbaf80cc8e5a3f8d09a7e7ba8fb3ae8b9bd13b0aa07c8f9728888cbc3c8ba77394765ab68 SHA512 bb883ace542ff460cf24a13cc2ec95e02574b678532cd1dba0b39e49e0fa62c19311a175394629afe6d695a8809e79b413ddac14bc7013e6b184dd0c22c17f7d EBUILD netbeans-platform-9999_p20180220.ebuild 9238 BLAKE2B 1b4f3b97aa884c358d1ceacb65fb9941546db833a5def577fb913dd28c0978d092fe2884d3311bca884354921dbf10e65f24339f02a037ab618f0fad4e3c94a6 SHA512 8ab15c88a923371454e05ccafacaf23b0506d6e9d90c0333db6c4fe3b9afdda7fb154baa2bb6d98bffbc2012b2b134e44534880ffaa8f6df3c4ab9a3ade58ffb EBUILD netbeans-platform-9999_p20180221.ebuild 9238 BLAKE2B ef23e3c8e73dd7c054feddccd28b9adf1c44cfafc49533904940c23f78d9b4497a33ea08a2dbc305d519ad88cacb9edb9c6fc77bb800388778f344255b7aa875 SHA512 38027c85b936d03bf286321dd265892c5b813c38ea39c36b9b1ae2e8cc895f7681d97ab49e0bb13e6c8389a90cd2a5b69fba389e195c84eefb2a1792f9a7f762 +EBUILD netbeans-platform-9999_p20180222.ebuild 9238 BLAKE2B 294be948a4d1306f7424384597dd98790d126ca98e89f3d72c79402c6d08c7313470012c6cea58207c65ac1822fb95676c92e9f3b4d4cf589df4d1c06a7f1fad SHA512 bf81b247aba27a2ebf1700511444c84ed46626a6889d009231843d6739a256157b475adcad5121b9e39f0bb16f81988a5864f51d8ca065b918bf4acf70ce9c41 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20180222.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20180222.ebuild new file mode 100644 index 000000000..09b908f67 --- /dev/null +++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 7965c2687..5ec898b42 100644 --- a/dev-java/netbeans-profiler/Manifest +++ b/dev-java/netbeans-profiler/Manifest @@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-profiler-9999_p20180122.ebuild 3146 BLAKE2B ee5ee2a70cc94de25f72b839086ac58c25b8eff28fe11ab44301c0df19881c23512ec22f6826729ce8768cabdc620ad090e014ac3dc40b2c913de8b798925272 SHA512 0bd437ae1dcd891b79b51ce7e521369665ea50c2338deb1275fb0142b51a676390aae882784cf4b780bff1c5a81bfbff6af620bbdcc5dfdbc703aa3884391dcf EBUILD netbeans-profiler-9999_p20180123.ebuild 3146 BLAKE2B 4cba44d844641e6d3f5174cea24bf6df2242a4a902fc531b3968e7740d33c6da4f497d90e036ba8604f90aeba3a2b7fb14e30cd99d1a81e21a62459fe93ddab6 SHA512 31b282070e9210e12df35556e43b5f9889f8ac9e38f050ffbdc7a652dc0498ed07c2c8c2421c72992cd241f4ec2dda5c27c488139105cd5358de9791c8edb630 EBUILD netbeans-profiler-9999_p20180124.ebuild 3146 BLAKE2B f217e103b8eba614ecb983cba31f7990063e0cb689b5d6ce4ca01ddde55ab7cb3c9411d2c3784084dc7a47c270535ae81e7a1ed2d2cc18876296d8d01d762725 SHA512 8868f4fbfef80a527ed94eb0c10240afb4993c4e3163b33e4a465611f7b5da2778c086bacab1d1c3dbe02a7361e70faa03df0e30f8df243181aaf5cab2f39a21 @@ -43,4 +44,5 @@ EBUILD netbeans-profiler-9999_p20180215.ebuild 3146 BLAKE2B 31dc1d1fdace2710783c EBUILD netbeans-profiler-9999_p20180219.ebuild 3146 BLAKE2B a05749cd6ad2d0848cfb50b3ea34ee34f26bd709e9834f07bf759ac6a7db43bf2c255a14dffb59d215b0652cd8121b175ee14e4013031bcdc8825d30cabe0b43 SHA512 696747d12058eb0ca860f09ca00319c925514ffffb602216d093fe92755fb9d6ce5ab40de1a62a7022ca2400d9832f3260dee5cca03eef93b4ab9e3e9f030c13 EBUILD netbeans-profiler-9999_p20180220.ebuild 3146 BLAKE2B 6b61bd4a2cd1c7455dc15781bc3b8b9e12cbed08cdbf7d985e8fe8a8c992925f2261e99eeeb0384995ab3f167715a6daf507300c6fc8b8e9c4fce95e2132f186 SHA512 cbf0e4667d3bfc723cc7cb82e7d19408135d4e62f8c5c4864ed228ba3cdb1391b9d7ec380b118cce6ab77bd8d607d0c88d0e5f9412c2b7f8d9a1351b54b62d97 EBUILD netbeans-profiler-9999_p20180221.ebuild 3146 BLAKE2B aa84c2782b31163f26785332be52e031387524e4a694801202dcc34637ad1cd9cbdce215d42cc47a950867c78e72d4ba4ef9a466f988f0aa73f52be2a89b8b80 SHA512 be372cac6a64b3fae670e82ab84f9c13a6c852a4ca596eea375594b214c2672e9bc19957d5d6cd008561c63d471e5494a8eec15003c13bd7e0e8e327fa5d78d6 +EBUILD netbeans-profiler-9999_p20180222.ebuild 3146 BLAKE2B ef0b8346f6394056059074be9ef63bc3171f173aab73d431a8b528befac3e7bb10aa2cd81602af5ec3f520b082c1a5dc3e49fbd1d8f12835b0a9b640c0ae118b SHA512 f433c2fa92c6484479f6780af28f8756cb41e9fa63e3f8343f6c061b0384d13d315340e3112ee4ffe3f43540683000094059d1620abcc4acb1529467a9beab06 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180222.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180222.ebuild new file mode 100644 index 000000000..fc8e810e3 --- /dev/null +++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 ca262e78e..ff4e0784e 100644 --- a/dev-java/netbeans-webcommon/Manifest +++ b/dev-java/netbeans-webcommon/Manifest @@ -35,6 +35,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-webcommon-9999_p20180122.ebuild 5932 BLAKE2B 1a2f5971acf3b8244b937147e7f8744641032f497d12e18cf5d8a40e86a66d9dd88d6f6a1885235fd472ba472eb41cd19e2a50973fe0354e4267551b14d940db SHA512 662c2d0f1f73f971354cbbe4e9bbd466e3b76ae3cda87444f73972cf9400b427dee7ad75e5cbda7a117c6db6b37c7cc7f407b6d61976d2e5de4314fdb3c60755 EBUILD netbeans-webcommon-9999_p20180123.ebuild 5932 BLAKE2B 98c3cdaaa6c8af56362624ad9359ac32da441879fb9b36d6e668316c18ab62d3c45b775925a0f82d24df4a398a194bc0b7073b193bddc5736762234312e80508 SHA512 196d94ed4082de46cf3d7700ea8c690878a2209a24d3418eb6d4b683e613a5223392d07edaf67f1a96b40c47066d13807f70c07893eecc1989acdddf0763e641 EBUILD netbeans-webcommon-9999_p20180124.ebuild 5932 BLAKE2B 0389370aeab87ae1f5eedeb478bdca3fc38b38683926718d42acf181d573232f27a629388011d97f2258541f194d87ebacb22b13cc545748c44be524e8d3511d SHA512 423b62c022235b0fc2c4b0ba0f6cab110b744d6e3cae5ad9104972b73edc77749d608d877126261d9dd2961cc1f25443932825e95ebf4b2bb0796cd44b1cf6e9 @@ -57,4 +58,5 @@ EBUILD netbeans-webcommon-9999_p20180215.ebuild 5932 BLAKE2B c5998b492ecdb7326a7 EBUILD netbeans-webcommon-9999_p20180219.ebuild 5932 BLAKE2B 1202b86f25a2d477e8cfb6080727c63bc92096f44b24da56043e61f83f6660a3580507a7e652365174827b7cb12756d2fc6160dba61d0928c60c293f8c2e7e71 SHA512 a9119449e45074914202b9438b9bc122957f6fb7802270c96b275897ca137b2de5d6902013bf4a155316d41d38037257c82193404bf1937a999b0d91cc44143c EBUILD netbeans-webcommon-9999_p20180220.ebuild 5932 BLAKE2B 5905b181be84296362f47adaaf79d914f8137428198d7be74a38fc674fe92e88b91da61ba03c17b06a9fc8f1dcdd277978ce6b0c1558cea3cc8a76cc1f3ab99a SHA512 d4af225c1b891023f9cc981a6cfa6343a4b7465941a376b5ff97d4692514f482da283ac47432267250692dbfda4fa9ac8f78d9c63c22c3382e80ef5ed0ad9394 EBUILD netbeans-webcommon-9999_p20180221.ebuild 5932 BLAKE2B 83bdd24f156cc4af8b56ab8f260729a439979d27e742ef9f17990e7e157653af778d626e30ab7525440fc5ae60a37e2874d5114bbd6ec6d7b61e0750e10d8467 SHA512 ec643e867fb7e354c9620e4ce9372349be0860bb801683a5f50b13a17aefbc2ddd46ffea889af196b58c30a7cb8f7f98734e487f4ccac06035a3e20d06d7736e +EBUILD netbeans-webcommon-9999_p20180222.ebuild 5932 BLAKE2B 0c1da95f11d9cd19f7543579b8f6fa1709ff78aa21287d55809347449237fd9a3b6ee847e02596fc759ec9713009591a6fe244b6fbf70466b5fc6954ef29aad1 SHA512 b085c0efcaa9c3014c26a4fe2b8c0aec4e956be627059848a23ad2e690611ebf0824295b36c38a9170738800f3b20968de9c96d09f1fa3b7fee1962763ec3b56 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180222.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180222.ebuild new file mode 100644 index 000000000..21eba5fcb --- /dev/null +++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 ba74826f3..8df5964d8 100644 --- a/dev-java/netbeans-websvccommon/Manifest +++ b/dev-java/netbeans-websvccommon/Manifest @@ -21,6 +21,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-websvccommon-9999_p20180122.ebuild 2395 BLAKE2B 7fc5fa5536b8e7f9bd3790d767a597eee8ec4a833c3ed98ed8ca452645fd7fa984b4e87d7fdd89e92d7422d4f55fd79e68563f62de557e55d078b65376498b34 SHA512 ab8561b5972eb2cb1498ad880d8c8f7fa02c3cf373293d2df758cc6dac64d8ae0d7054a01dae2999e206f5d324fe11826bf1145d5cd99a9972c380bed3568efe EBUILD netbeans-websvccommon-9999_p20180123.ebuild 2395 BLAKE2B b96c9615765f36bd78716203995fe1c70a0d46bdb3b024367e2ff2ee2524d727dc68e4919fa38450caf943e4c65c9afe8cf7d84d822a2e0cbb7491ef43d08f25 SHA512 253aea64c034e13b00080811e451dbf1429dcd7339496e36fac395f6eded2dc3459ab7cd5253755c59e2674c22dd180f5b8e6024e9f03eff54ab09d3f76ac297 EBUILD netbeans-websvccommon-9999_p20180124.ebuild 2395 BLAKE2B 1ed7bb8e53b4de8557f4dcd06f6d12b19f4becd6c8a01b8c6486841d20ec7e8511f14a3d6ce10ef5b95eda047c7e0e85d44aa61dd3fa955ea2f599a1edbf4996 SHA512 b374f5522a23ab50fa03487ed8a905ee6a906db6b50db3d75cff90436c5195697dfce64d34484fc35746865bddd1f9215d636431477c72b64462020d926e2888 @@ -43,4 +44,5 @@ EBUILD netbeans-websvccommon-9999_p20180215.ebuild 2395 BLAKE2B 01efa905c804e212 EBUILD netbeans-websvccommon-9999_p20180219.ebuild 2395 BLAKE2B 802b834e19b5889fc532bc32c10c7b6ef1e057be4438acdc5fed0dfd656be7422b51a1e1cd1210f399019f6f1ba2868adb4f1d01519b1ec355acc24503e92918 SHA512 ce2053c44cb4c8a7034f374513b24413f14cbe242409bdd884f42fc33160ad10e93aa2efc6f202377bcfb187a6a0bc1a0d90598f19bcf4144fba99de6fb9812e EBUILD netbeans-websvccommon-9999_p20180220.ebuild 2395 BLAKE2B 0e8dbf514b0186e0e08ef19d468aa5fc10731e57b65747c9c092a418ebbb7ac670ffab9688a82327456d339b018e7b401e67bbb98a6a91457243cb53e2584baf SHA512 b08f7dfba21bd34ab27ca7f9d6ced444f8bbf065a163cb7372a55feea839a7bd650c4ef397c6d17fb0471bd31dd8c6d76ee1c61ea8534eef15dfd1e9f768c48e EBUILD netbeans-websvccommon-9999_p20180221.ebuild 2395 BLAKE2B 6faeb417a9f990e9a4f4d9c64169b88db43fd5dd7b5a9fc88346dd2cccc498aaeb57c880e9a0bd25a0d07baa5857bf62f24c24fea1f3ce6fe9582300a824ffd7 SHA512 c090ba084f016fbb1ea2ca65003ae2c318df9819f625ffa785e5aaef4207c4be2f307b97f7aaa959aae2a69f6327d412bf049ddcf0fe50b352a8ab27dc44faaf +EBUILD netbeans-websvccommon-9999_p20180222.ebuild 2395 BLAKE2B 4699370c5507a33b1229017db6c349493a27fbd0c13ce77a1ec9413b97236e584e9cada598ed23019956a4dce6a417e5893d8b3e2cb77a9a437f0ac9790f44f0 SHA512 309c381537cbd60e6124cdc0069af7d8e593c4eabc54c0f7cc7f65076c5ad08a17dbc0bf4bfc33dab90fd9e9b7b2eb3833d82364f3f6985b23598da2f2e3f722 MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180222.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180222.ebuild new file mode 100644 index 000000000..637e0bc76 --- /dev/null +++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 f27ff275f..b96240458 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191 DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf +DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 EBUILD netbeans-9999_p20180122.ebuild 6186 BLAKE2B 455db3fc8d5ece3d27208485142f84ccdbdd87817a77c38eb0c2ebca371587884a904ec800efa66773a7ae006649ce6be4e0393a1d799e829fb713f6436e430c SHA512 4684c739f48e39312b48768368e89f59a0581dcf27c06fb3707b5f89a5630918f0ae8391d3e2c54490ecc5c8d41f120eddcc2d0df847293b1438ed9e3e63b7f3 EBUILD netbeans-9999_p20180123.ebuild 6186 BLAKE2B 9c6ab5e0f8af16dec2476230a82a419ad66303990d5d16866b475b497f3f4c0595a02de4b814bcfd5ae0692f2c749286b07f50e7d2cc49c26570beb08a6469b1 SHA512 b21d0f30d43c6e49d0f5dfe8f30ad11576fd33ed7a2c9d9f65b24325ee2c642c99d8f73fc3a05770ff9ebe710c7180e7d261db145371663b901d53b372452bc0 EBUILD netbeans-9999_p20180124.ebuild 6186 BLAKE2B 0f6ad062b82d72586a4096589d8c14fd7922882e457c8602aeb687ea37a49cd3f95ed04be44d985c3d85a0a68b5f8a9d78a6b66c831b9ad73769a4a20532b634 SHA512 2a5fb8bfec44f82e60ad3bfda9156c1b1ea2d69728225282ad82f7f19552941074396bd685f63ede990ed1994ee90d6850399c84c014d373df2c98a4069ec2de @@ -44,4 +45,5 @@ EBUILD netbeans-9999_p20180215.ebuild 6186 BLAKE2B a7c4d3b33b50b244f70f79755a884 EBUILD netbeans-9999_p20180219.ebuild 6186 BLAKE2B 12f0d37fc3172acb68fb965d0a06e607d3840f1712e4bb70093444b25aa09a5335435226d006e159c58bb448608cc543c6c88fb114264e933207b1751f9cee8e SHA512 1b2f1d82cd4b822eb6527703a407e66d6f8ecf509abf608c195aa68544f4953eb20d636b2bd69f5303fa12d1c2474b65710ad9a58bf032ee522c1099bfc9e1e4 EBUILD netbeans-9999_p20180220.ebuild 6186 BLAKE2B 1250c15d1fc9026b80e87f5dc38950b503ae4c85087f57d5a4b74298a3da08b69a79eb6195bbce2cfcbe77d7ba1aa099c46993e32d1263c6180ffe65f85741e0 SHA512 4bcb02b5bbe909db8a156672ca18d2f9e49d096cf1a29901c8e2a1f4b51c9d6cca76d4aaebee1a986a0e5f5ccbae8b16578b4bad433bfa64e50624ca265e8624 EBUILD netbeans-9999_p20180221.ebuild 6186 BLAKE2B 71026493ad46a86604f2b68373197e54fa9db8a63222cfac346582bf7d2881f857d637f94af643cdc9777e27b43f3565fa672a7edb0cb396b5fc44957c9777ef SHA512 e9eff42ac17139f58b1edcdf7e883a64038d08b83c9f548a974ceb68e7ee0c4a9f6101b084936865cded8fcb6479af158a052b499e2d15f3e6c0cb75cbf37d97 +EBUILD netbeans-9999_p20180222.ebuild 6186 BLAKE2B 51f4ef1207b985a8bd904230acbcb305352e2153076266d78edcf737d45532f205a1c8800cab1776504c15c89ffd29aedc9fedf2051fca80f20c0159609577fc SHA512 1a054e257b3058b2770fe448d693552ea3fabcb6b8440a1ff4b126c67a935b690f5e147036f7fa98ee24e681d5e9e233666b7d3aeef9c586f905d0af39a519b6 MISC metadata.xml 329 BLAKE2B 88f7b4966ca5fc8e18720ef5488809039344b15344c78cc4f016ab3fa95f76283805ef5d1c85b5c0b419462a0611ed6ceeecb0eee65b5b1b068a605c89efdf6b SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640 diff --git a/dev-util/netbeans/netbeans-9999_p20180222.ebuild b/dev-util/netbeans/netbeans-9999_p20180222.ebuild new file mode 100644 index 000000000..7b0908f7d --- /dev/null +++ b/dev-util/netbeans/netbeans-9999_p20180222.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-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-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 +} |