From dea9b47ce84f268dcd8004160961d815478ec906 Mon Sep 17 00:00:00 2001 From: Miroslav Ć ulc Date: Thu, 7 Dec 2017 10:02:26 +0100 Subject: netbeans: bumped to the latest nightly sources Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --force --- dev-java/netbeans-apisupport/Manifest | 2 + .../netbeans-apisupport-9999_p20171207.ebuild | 97 ++++++ dev-java/netbeans-cnd/Manifest | 2 + .../netbeans-cnd-9999_p20171207.ebuild | 115 +++++++ dev-java/netbeans-dlight/Manifest | 2 + .../netbeans-dlight-9999_p20171207.ebuild | 87 +++++ dev-java/netbeans-enterprise/Manifest | 2 + .../netbeans-enterprise-9999_p20171207.ebuild | 252 +++++++++++++++ dev-java/netbeans-ergonomics/Manifest | 2 + .../netbeans-ergonomics-9999_p20171207.ebuild | 87 +++++ dev-java/netbeans-extide/Manifest | 2 + .../netbeans-extide-9999_p20171207.ebuild | 94 ++++++ dev-java/netbeans-groovy/Manifest | 2 + .../netbeans-groovy-9999_p20171207.ebuild | 97 ++++++ dev-java/netbeans-harness/Manifest | 2 + .../netbeans-harness-9999_p20171207.ebuild | 100 ++++++ dev-java/netbeans-ide/Manifest | 2 + .../netbeans-ide-9999_p20171207.ebuild | 360 +++++++++++++++++++++ dev-java/netbeans-java/Manifest | 2 + .../netbeans-java-9999_p20171207.ebuild | 268 +++++++++++++++ dev-java/netbeans-javacard/Manifest | 2 + .../netbeans-javacard-9999_p20171207.ebuild | 120 +++++++ dev-java/netbeans-javadoc/Manifest | 2 + .../netbeans-javadoc-9999_p20171207.ebuild | 155 +++++++++ dev-java/netbeans-javafx/Manifest | 2 + .../netbeans-javafx-9999_p20171207.ebuild | 110 +++++++ dev-java/netbeans-mobility/Manifest | 2 + .../netbeans-mobility-9999_p20171207.ebuild | 112 +++++++ dev-java/netbeans-nb/Manifest | 2 + .../netbeans-nb/netbeans-nb-9999_p20171207.ebuild | 114 +++++++ dev-java/netbeans-php/Manifest | 2 + .../netbeans-php-9999_p20171207.ebuild | 113 +++++++ dev-java/netbeans-platform/Manifest | 2 + .../netbeans-platform-9999_p20171207.ebuild | 154 +++++++++ dev-java/netbeans-profiler/Manifest | 2 + .../netbeans-profiler-9999_p20171207.ebuild | 107 ++++++ dev-java/netbeans-webcommon/Manifest | 2 + .../netbeans-webcommon-9999_p20171207.ebuild | 118 +++++++ dev-java/netbeans-websvccommon/Manifest | 2 + .../netbeans-websvccommon-9999_p20171207.ebuild | 80 +++++ 40 files changed, 2780 insertions(+) create mode 100644 dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-cnd/netbeans-cnd-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-dlight/netbeans-dlight-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-extide/netbeans-extide-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-groovy/netbeans-groovy-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-harness/netbeans-harness-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-ide/netbeans-ide-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-java/netbeans-java-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-javacard/netbeans-javacard-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-javafx/netbeans-javafx-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-mobility/netbeans-mobility-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-nb/netbeans-nb-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-php/netbeans-php-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-platform/netbeans-platform-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-profiler/netbeans-profiler-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20171207.ebuild create mode 100644 dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20171207.ebuild (limited to 'dev-java') diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest index c824ab16c..a312b9321 100644 --- a/dev-java/netbeans-apisupport/Manifest +++ b/dev-java/netbeans-apisupport/Manifest @@ -17,6 +17,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-apisupport-9999_p20171106.ebuild 3058 SHA256 35ecfb5df122a3c82203ee8d9f9a61aa2a3eaafbca435a29c0a3b923b9eb66bb SHA512 a89534edf465a19f2023b5e195901557e8cd16ccb90e6f45746437c56759a837db81c2a69b7f1a76493106cf806cd894cbf3b49bcc213cc26e859d300e921e92 WHIRLPOOL 3dbf6214d41af72cc8d959c0914dadf0ba663ad5176c0adacc6f507d21d45b58b971ddebad3e5f7e05e0fe8a6cef1ca44b225c61941226ec56e022015b1b9750 EBUILD netbeans-apisupport-9999_p20171107.ebuild 3058 SHA256 e20c4178f91872ce33d37cfb0648ac3f78d3ff26fb6895cf4679fa9961627597 SHA512 568421a5caa15178293747dd87027ce1176dd2a7f4a86f13c813cf75ca7290a10627c226c6e0cef97c41a878c6f86b0602600a0b78ffcaeaa8b8ce5568dd18a1 WHIRLPOOL 52c9b9b6d439421447221aa02dbe5e28aee8ea0b0ec3e4ae56a13d6dabbe61d7be2c499dae45877d4f0d1d45349f1aa06192316a7fb48346db1413b32712ce6a EBUILD netbeans-apisupport-9999_p20171108.ebuild 3058 SHA256 bd4f1437f06106e76d5febc9b58edf4ba057df654809aff1873c00c316b0cdde SHA512 bfdf35d55567b084a1f17d66648b72b4fde0bb8bb500d4ef56f9451848df29cb0fb08fcd66ecce2401eee4b4389ea33292ad6ffd5c37cebe3ba69dd1261b74ec WHIRLPOOL 9ddb5b0893c803b933fbcd20c79e97608ec6cd89c9aeaf1de2eb64d459160eb4924f0f31cb3dbca0eca1c68adc712c603935ed6c5e6c2976977e75cf80aea841 @@ -35,4 +36,5 @@ EBUILD netbeans-apisupport-9999_p20171130.ebuild 3058 SHA256 26773b9390379a2de86 EBUILD netbeans-apisupport-9999_p20171201.ebuild 3058 SHA256 5027d8bd5c1ecb2935e4548fab1ea9c6b8467f6002b39e7bc7e84f373cd36dec SHA512 06cac1ead39d9f57428765ebf284ead772e79a50083fc99c92aba7f6684a436f5f1171ce78db67c193ae6311cb7cf855c56c54c055c28459e97fa1c21ea49889 WHIRLPOOL 9ab23ecb637a46993d435b09b9e4a9d387bb430868ae2aa0ad64e6fa8f81392574bf19ba5b01f7d20f25790b0fc53b04623f48c20d2b7ce5ef1d762d530d994f EBUILD netbeans-apisupport-9999_p20171204.ebuild 3058 SHA256 010e0809ef7b10a19d8bb1e119d3bcf4e62c6c42dd5ef8d51e55f61e6ed97e99 SHA512 f0c8d7215a6470d9495b3091f29f7067506ba07fe6e64ed5e7dff75f09f88f344a38fcac18428c90cabcc9fd85e774baa4138f803290cf63bf247da962aa445f WHIRLPOOL 5b68014d223cc110cead951be88d5bb1b624037822b308bbebf38c2895a65a7cc1986273c4831f5a436f22782df808c3963da8bfc77405e4c2ccb489fff98327 EBUILD netbeans-apisupport-9999_p20171206.ebuild 3058 SHA256 9d20ec4ff147949047a9d24a32ac30a790e85631f2c782b0cc524cef8bb23cea SHA512 f18c64160218d76764b6d42fb98ffb9f6e00cdb470e8e8d2c80efb0a19bf92d9f933747ad4c0416a3580281a996681518fc485d68c91469303d6526147441868 WHIRLPOOL a580edbe12ee925c673caeb3f21cf10a91059de4548863c6b9ae3aed8572705d0aa09588ca83ebd807fe0501aad38f3cce7dd4ae55df39dc03ab6e81c2695d8f +EBUILD netbeans-apisupport-9999_p20171207.ebuild 3058 SHA256 4e8ee382a1e93afcc95eabafe621e908c4b0c7334d62b0987479ecfb5b57ed43 SHA512 adbb48d4c37d4ca0932e85b96e1785b952950c69c74ed4e572d69d96951aa6d2924a0c04bb7956856c4d3e129950bcb3f40c81033feed5138630b247bd99a169 WHIRLPOOL 3e45dfaadd7669856d173af7d44b5d1d4de06135727c7d193a68cdfe7d48d5832df05a2666f6a24abdef34b77b4d0ae2d8ca6fcfa0478e58a1783826b6cf1f16 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20171207.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20171207.ebuild new file mode 100644 index 000000000..b5dc80821 --- /dev/null +++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20171207.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 0f8cb9f53..1f2816492 100644 --- a/dev-java/netbeans-cnd/Manifest +++ b/dev-java/netbeans-cnd/Manifest @@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-cnd-9999_p20171106.ebuild 4686 SHA256 8f50c7e74d1ae3eeff2bc91028254fa234083469eb330fafb1a510488aeb22ef SHA512 d9d4971c755c21020a15a00650811a26825cf95e81b7c3e22c94d5ed03913227e9561984e12e4bc6a7b09170954980acd3c559e250d0c56017bb63b6670e31cb WHIRLPOOL 5107e0248573d5cb2ae49a663fa37d0414fb6f11b66a7cb1e1fd79d9603d899b39799bb9d7d2819eb872a085b3a5c8b4b1f2a2ece0e5ac78994f8e86823dd151 EBUILD netbeans-cnd-9999_p20171107.ebuild 4686 SHA256 70dcfc4599cc98c1670221771c0060784d46470064460a1de739d934b321d7d4 SHA512 7c17248ef6280c0e05abbf8eeaf83d32439ead06d5e08d029db9c2ebe7d83a00b914b929f13ddd08239084196f07ad79c87c2b78e0211e47f632f151e31eaf59 WHIRLPOOL aaee499126100c9a968ad48791d2fbc8ca6236e2ab2cdc5aba74ea479b0a7d4f6a56cd4880d39767626e4909e8e182c781349b55e1b49291c1945068792e037b EBUILD netbeans-cnd-9999_p20171108.ebuild 4686 SHA256 a5177d921cfce26aea695c4628dae4d7a6eb8aae7049599d163610846a060293 SHA512 82fecc80569172ace2ccec5a21ab0f21a845fa40916238f8bfbdfc1621697e933c8b3b3d748f56c412b67c4b45879e00d2c033c657aa40a78527c07292043f87 WHIRLPOOL 9bc1e59c10b3c265ed5c5ffce08234c2b040174a5daf3344bac38dd389b3b0880efa8ea3a028a612d15d94228ba7484000bbc950d4204e30257d21f0c2ac1074 @@ -42,4 +43,5 @@ EBUILD netbeans-cnd-9999_p20171130.ebuild 4686 SHA256 137e88e58d4ad378edd2c11af2 EBUILD netbeans-cnd-9999_p20171201.ebuild 4686 SHA256 3bcfb99df1c30cc1da0747955a2d5e70903c0d20bdc5ffafd4f56bb184d47133 SHA512 066173505bbe4ded6814e8330dd50412b796109f1f5bec2da381535e91b4b0e181cffa88c383518794a4befb929ad31cf99cb8bcdbc11dd2bb6306b7eea8a2ff WHIRLPOOL bc03384b9d6f008c9ce83b9c674abd746ad025d650e69859139ea2a840f362fa536c66faed7b53ba416287cfef3fe2bbd858c852ec26fe83113dcac5b6b10427 EBUILD netbeans-cnd-9999_p20171204.ebuild 4686 SHA256 b2c43997d5ef6eca0b205c31c9d9a741f6c4bd9bfeb1431aa0f93ee6c2d45a7c SHA512 052a44427b9279eaf2f079cd8c6af233c2acce83e2bb676e438f076b20ba48288b6b2a37919f2ace2a4a125b4234dcda6780b2af869edf5aa0c082bebdf55a40 WHIRLPOOL 21ad8bda9fcfe8327d25b9a0ccb439e35113ec2d4c8880af8a012584c67021a7ce897810dfef8fa92d66051042dcd4f21898839b634664089f1941b865a681a2 EBUILD netbeans-cnd-9999_p20171206.ebuild 4686 SHA256 d2247bcb88f44184983ae2bd1b94a2d4aa1ac520886ca34ae8942dacd4f6ac2f SHA512 2258e2d746f8d163e4aa121325f46631974fbd23ee1eddad48de153ce229feebbd09bdea316b98546435c813c6050cf24889d366a89fe62355a7d58d5bc39d04 WHIRLPOOL df6353f262055dcc5f840600e9f7f59511b7458a81c69d93d6c36939fe2f339525a69f8a8c76a5ee933bc1ca7e0c0f86f8b23a2c5acf91bb0429227b07e6f5ff +EBUILD netbeans-cnd-9999_p20171207.ebuild 4686 SHA256 75204ee88c3c1e430f71553b9320bcff21994dba3ab5c701cd047dc3c97ad354 SHA512 8bf5e4eba67f9ae5097673b08a00c7d4089c3b3b7aeffc0357b00b35d8d87ad9aacbe5040eda8693e840b28fec8fda0bb423a8d5ccf36390f00d2513b3c86d09 WHIRLPOOL ad3a0b85d8d9d76568136ee2c1821e3366369be94fbbfb6cfa1d85bd04b6b126665df586c6f426fe4bd4cfcd04e10ea6d043bab62ecff4101fc78cd749506077 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20171207.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20171207.ebuild new file mode 100644 index 000000000..a98fb5f25 --- /dev/null +++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20171207.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 13ef67d1a..2fdf4b35a 100644 --- a/dev-java/netbeans-dlight/Manifest +++ b/dev-java/netbeans-dlight/Manifest @@ -18,6 +18,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-dlight-9999_p20171106.ebuild 2643 SHA256 e7f2206c56e17c72abc0f382ee395ccbb38da2e0e8b8b9fe3b13faa2ee84e5ae SHA512 c3dc21cb5ea739198c2eb990ea40360f6fb8596a47e3b1f02813269576ee0c1fa35498ca9c98ca0ca5a2f1b89f7acf2a71acbf7bc9890c9692aa133e624dd86c WHIRLPOOL a6ab1b68524a5d2c5345d4cdb8ebfa035b27139939e006aa7cbfdd27809b6b58977647f4bffcaa4b85623be34d46f21a39d7a948e50a5fda02ecc37321fd8c8f EBUILD netbeans-dlight-9999_p20171107.ebuild 2643 SHA256 91e6d14e52f97447b603b97a5cda85932d3927cf3bc4a9e988e114366934d96a SHA512 b3aeb3fa313396408ce592c449ca33b473eca56baf6352592969876eb294601d13f38473ee4505398a48f2d9fa98fcda997b0ff2e3845a94f2b1c2152d4ca289 WHIRLPOOL 16a22545f9e86658e8235f5581ac744d3724b1d9864f2bcdfe3c1fa8bfa11671a6366f366df80bd015427072e253ac869a2a50e6d8dd5a2bd29ba3cd3b91940a EBUILD netbeans-dlight-9999_p20171108.ebuild 2643 SHA256 d46ac068c2a3a747dd6af1817fd1dae3c809cc7a499a3d1edb089a43332a4b78 SHA512 b043eb9b6d0d149e3e40478ebfcf00efbd68b78902fd8ca4bf2f714412b98eb362ec749b9421be007eb23dfea7226f87f1f2c535aa5f4e44f9d470fc976a6fd3 WHIRLPOOL 9e8f5324c282915d6cde84d4cc65f55fd7e73629cf6166bbac4a4f82bdfaea98cdc29676407ed95eaba2b18bc881a6404a09802ca33d0efd75f030b428512a04 @@ -36,4 +37,5 @@ EBUILD netbeans-dlight-9999_p20171130.ebuild 2643 SHA256 8fa5ee21d18442ee96bf296 EBUILD netbeans-dlight-9999_p20171201.ebuild 2643 SHA256 5cc5b95fc0723561e097be826c39d347a43e75b5dd2c034daab81331aa11a9c8 SHA512 6942d749a6af2f8dbc33992e7d7a21c00c614af101c548ad7d372d3098a32ad55e0572cb78faf65d821a3cc90917a32eeecc5c4ef935a190700a7d53b2d6082f WHIRLPOOL 7cbad8a03da3ebf8b68f99a56bebb00331cd7526bbe133cb277778b55a2fb0a5f672f736cdf30492f945fd94ab10ff5210543e35a949b232867225e66443a98d EBUILD netbeans-dlight-9999_p20171204.ebuild 2643 SHA256 8e27d8aa99c87e17251caa13ec4d81a6c27037296d79913f6d3365a408fe280d SHA512 6f447b7d1fd3fb009ed03ad2dc65bbd94fe5b3c7e5c156e37c40c3f85ba938f753b23adb229875c152b853de5837f622d6582c4f2e1b96fa367eb587df11a539 WHIRLPOOL 3148ee3f85e626de87633eb8dde49190b0f25445516dd2b4351499431b9d900e9b06c89e61ac1adc51da71a0b6fda2aa5e7565aec804ae8c398c51c6b74cdeab EBUILD netbeans-dlight-9999_p20171206.ebuild 2643 SHA256 c027a21283340a089ae627fcc6789f31924503e7a016f1d38e022388ab77020a SHA512 1d6c13b989a6cc598896d624d4032efbc33bf4905fa7861c6bd88ce827c18ff739d290be2807bced03258546d16cfa4dab91b6a66229ef4391868518f40eaf37 WHIRLPOOL 2f478d55fad9f83793a6648ed049a9f1e7150ca36d3dea9e567c27f6153ef3d3c778b7e199a4f8bca5e98035c5758bdb0b1eca68db696ab29311b77ba75823d8 +EBUILD netbeans-dlight-9999_p20171207.ebuild 2643 SHA256 0e239bb097c55855c86c1b7974ac51795c212b9df7364731d25d36df7e9886b6 SHA512 130f9389c6c3bdc7b3fdab16d4f5ca35e9cbc13de42de943c33924fd7c0c01393f608b3472795fe0b22df20d2d2a43ac5636c0b7ee4108fae6c4b0c7ff36f7b5 WHIRLPOOL 77d61269e2d9cc7784b5fdc3954bda628aee92cbd2164197e43d609a72dd9d15a1e80ad0a1b05f3692d982239acc13bc7fa0316c77fb8f2eecc490fb279a82fb MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20171207.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20171207.ebuild new file mode 100644 index 000000000..ba4d16cb3 --- /dev/null +++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20171207.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 468d0fa74..2b81b5ff5 100644 --- a/dev-java/netbeans-enterprise/Manifest +++ b/dev-java/netbeans-enterprise/Manifest @@ -48,6 +48,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-enterprise-9999_p20171106.ebuild 15530 SHA256 774bbe11e698f00a45046557e8c47fe982a7ab32d732c56317994df7e3eb9529 SHA512 c6895f865d492e8344b3fd45b01a3fa907d7be746f175aba3712a2f6c51473790f953a96b9358b3cf89dd0baa0c10c49e6c7073071703e9192b43986b6a2cfd4 WHIRLPOOL 8f62a709bc1a47e12a01cdd5724c7dba6eb58eb5d6c7a7f68cfa4acdc5f63440c1ff2cf9ce358fedae13e82a9a7ffafd58189d3ff84d36ed16480071040de26c EBUILD netbeans-enterprise-9999_p20171107.ebuild 15530 SHA256 5cab8f72f7fcf4caf3481ab4acd6f614b8e08b8d79761986a411b4f5748a0d9a SHA512 444a17cccaeeaea3cfeb5f95b677f04265f6b882a27401180dc256dbe915414cdd0d0d4c65f4d30fa3c8b7286abe8a476f04480fd6c689ea3c495e56367540c6 WHIRLPOOL 8b42361f38f09729c90093ab81b8c5b0dec17ff48d5deeae321691111fae8995cf64b818136fccc47b31e259d0a4ee5a0a1ab0ca68f25ff927c4623582b65c80 EBUILD netbeans-enterprise-9999_p20171108.ebuild 15530 SHA256 a5a0f36f4b73560017fecc9b11ddc921aba68652658020ce9fa94244224a13eb SHA512 f9ae2080bd16d43aeb1b6ca9d6f531eefc422bdd625d1b1ddc05a5d4aacbc6846f3d963b2be3ff4182952d9b34e920fd4956ac1014716123d703beb974daf86c WHIRLPOOL ebd9db0662e80cc063018d99b9426edd0d098e3437990bc257dc2bd6a4075463163b1bb49a55e3a9f07c012ab6294317815af9f216d2fd33a6be66f1aa6b6108 @@ -66,4 +67,5 @@ EBUILD netbeans-enterprise-9999_p20171130.ebuild 15530 SHA256 a71ce7fbfb6b52be3e EBUILD netbeans-enterprise-9999_p20171201.ebuild 15530 SHA256 0b8075de7a47f60e9c8dd2aa2ec7ce60386020f4971fec1706257f065375d9fb SHA512 2fdf9d7e2b59d9418caa9960ad6f41cad30a06040b801c2d443be3d06b1ec095044767fa9d07654de596a955284cfb618ead8a385bd8fa8c3fe23b4dd1832f11 WHIRLPOOL 915d77fc89a952a3771dfa4e3ba030697273d69a52218893f13ff8074724f384e2cfe52db3f3a79cecad0b3b200eb01344294af2d1ca15027ea50303d758ff3f EBUILD netbeans-enterprise-9999_p20171204.ebuild 15530 SHA256 fd1f1ec94fd1d639316335a0f08d30a28ebd8c3aec30ff92dcbfa41c007c30f3 SHA512 f9fc0fea50e937f5bb579e34793bcd7a4ea66bf54378b23da4ba70bd7b265d833f04c0302511b075ded05c817d55c3fc3049920e41ddfc5e9983b900ad8f680e WHIRLPOOL 4b539077e3490da5338aeaa2bc966e223005422abcb524a6a5aaccf4f00547a622e3248ee36cdfa4c43a3001f55bc0c431c672abe471c0bcf8f2fc4c1ed28bbf EBUILD netbeans-enterprise-9999_p20171206.ebuild 15530 SHA256 96f0b52dead0a2892833fa71da8c7570128818ab0665a0fa09fb153784c41b93 SHA512 eccfda66a170d27041f24134b5e7b1abc6dd364e88f4d8961f9569cd82378c15b4428da1a2be219212b5e3bddb839d22982435dc89ee7307313a6107dc36722e WHIRLPOOL fdc2daa63d7f0cd6ff7ef80b150e3518f63aa7a0491db66265616235c1d6343d8d39f16b536e990407759455486929b57cf04b98bac2b0c785a4eb447af48b87 +EBUILD netbeans-enterprise-9999_p20171207.ebuild 15530 SHA256 f76f0861fb470ae0dbc77d47f69be1e8bd9dfeb745aacdee02d39f5fdb33bb4c SHA512 892464b1bca13d2bfb5e32a3bfeb81d8f1f2ad3e6ebf5be91df5b1a1c275f53ed93ab985d0806435e81884988691037795a10e42ffed3d603bfddf44d8742732 WHIRLPOOL 012f3ae351c71c54c1248cd94b3e009a8a45812a3ff520b8c691ecef5a68c6c3319a6b51cd43fa8aec5b3f1fa4a2d3838298e494a1a511fc79784c1cffa3a457 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20171207.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20171207.ebuild new file mode 100644 index 000000000..083c991bd --- /dev/null +++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20171207.ebuild @@ -0,0 +1,252 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 4db852082..ab9641245 100644 --- a/dev-java/netbeans-ergonomics/Manifest +++ b/dev-java/netbeans-ergonomics/Manifest @@ -17,6 +17,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-ergonomics-9999_p20171106.ebuild 2587 SHA256 5071a617b5bd7ee451821b41244aa5bf22fbc894a40e643267eaee48dd02ded1 SHA512 6dea2aae66b76c701e55baaddd51d345b94ffb052195d334595793cc97dd5619c0f1476905bf05d63d94fc5f58c03c0429e8ca704b1b3816a2ae9f866ba63dc8 WHIRLPOOL b030114be71d469eb451be0339e1c113ddebecd01c39fc7cdf7263e8d69b831bc24f939a09fd9e05e4d4fb139659ce33e506fe15df3e2e34c3506987d838d323 EBUILD netbeans-ergonomics-9999_p20171107.ebuild 2587 SHA256 c6ca6174b126a6ff1e910af1e1d13aab259affb27f99dfde259177a2a38cb5e1 SHA512 e9fd653c15d0bc42803bffbf05b465e3e367bda68d6554b3685d06628bf22415e2f4ae94281c9a6d0687809333bbd0abe91ede79084e7996a122fb05477c4fe3 WHIRLPOOL ee261822cd90987ede8a0fc34c562e6a7d9e87546f279883ca879e37c18dc3b8cf8db96c8b41fec1a99bb1afcf5a3e6d3924f092d398bf32a36ecb09a525615d EBUILD netbeans-ergonomics-9999_p20171108.ebuild 2587 SHA256 9b851fe075379ac5ea08424eb0807798600b14c36d7ee254a2b6cb95d71f098d SHA512 872e7dfd3af8a907c3db9598debbea04e9686d840c6bd2ebdb9e30fee3a1ed89207155b720dd49a2de4f38572f4ed8efc798e818ed45abca291a188e18039e69 WHIRLPOOL 7287c325949da574f423c64ac49c47435aa8311f373ae5cd7fa4e7410e7c7e4bd23bb84f73ef117fad5a89f6aca9e0380f16a51a155d7b657263074787479e1c @@ -35,4 +36,5 @@ EBUILD netbeans-ergonomics-9999_p20171130.ebuild 2587 SHA256 a749f2db7313ed28dce EBUILD netbeans-ergonomics-9999_p20171201.ebuild 2587 SHA256 21513bc9d568b463e37083d38ac5e6cc57faa2751d2d316c704f8f922f347c77 SHA512 ed48d92cc1af3b314a539dd65d52773e7adb2b4e95c5b6d67870d8054eb7c7a560e973360f2313c9f4f6d6e3b7db4b8ecb3c411814b6bd5893c711d8ed824888 WHIRLPOOL ca6380345e7ee2d53135aa02237969ec43b8bf6e9ccf704899adec507ea63aedf96569e99ec9c7be7f6c5ebe78df18667edbadeb301947899ed15e95c84c2482 EBUILD netbeans-ergonomics-9999_p20171204.ebuild 2587 SHA256 41c3c6002b34457c28c5107c0026bf8121ffd4df15f9c8112b32dd37809285de SHA512 2b56c393acf9e63917d2af15dc39ddb5c97016ead26552da933d9a87040042d0a69e21de61b518842eca25bfb3128045e49d2a166d44ba55577babfd66df3606 WHIRLPOOL a441543e142e36e06538698629871cc0d4f0243e6c55f2897b9facb556b87b9f28d133e280d779edc17b8d9a3af5779a1e5886f49302bfd3ff594d48019a71d1 EBUILD netbeans-ergonomics-9999_p20171206.ebuild 2587 SHA256 57b5e1fc5396710ed216709987afd968c7e39f7a822fa4e7d308979a73acbc4a SHA512 9ddb3b59825687e2004cbd12bf7c59eeb03e364027ef47401cb7f0f6e984de0ba4413d4cd0860912812493e567f53eb5109f7c02a51f33556e6efc5a3cbdf25d WHIRLPOOL 9b8c2de82acb00d157a472041ac00741be351995470048e3bcdb9ef4e757991dce33519a5e93ce22c97a9c0728e15598921face26794e11305f3e8691b86f092 +EBUILD netbeans-ergonomics-9999_p20171207.ebuild 2587 SHA256 f354273a8932d193996189106254208e83bb93391ab9eea35bad4a4b29f25151 SHA512 409e9c317da4bb7166139c10e4165a80e617f3aa9b745f6c2b93316bfc6bef37c994f32fb931dec4e3a732d02ca1f80122f19c14cbbd5a594efa05a78a84b2db WHIRLPOOL 392757f8acbc96bee8492d006f03845cd2bfbfcc3e250735a4b511914082464166167c51c695b936b5dcd10224ddfb2e879e509821e5138853001b3ab3c5a615 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20171207.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20171207.ebuild new file mode 100644 index 000000000..51ad27afc --- /dev/null +++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20171207.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 b17819a30..854a187eb 100644 --- a/dev-java/netbeans-extide/Manifest +++ b/dev-java/netbeans-extide/Manifest @@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-extide-9999_p20171106.ebuild 3059 SHA256 41ea5e654277562bf5a8ed6f79e314a396fda73bf3c8173621c4ef0270600734 SHA512 df97ef6b79ca07de3165d6d1fdfc4e32e7ee4bff58b2b871554a7641772a9c85c6fc55306e2348c349d6537ab61eba7fbacb5c007cc795e42b227837cd55f3a6 WHIRLPOOL 26f77e0791e7d50be7180855c5cdf587b65a3f7bf3c9dd9b6748c2612476acf7285942535e63ab8f977900e1093c1b0c9646fcd9458753ea6037efe40177861b EBUILD netbeans-extide-9999_p20171107.ebuild 3059 SHA256 ed27119fef439f15c26fcd6d687af7a89483bd14f2cefb460ae4e2e21113365d SHA512 2e01f9d0499652f579264d1451f702fa5b84d649bbee9ab5c7a7efa36c7dba2a95868bf542b602f357dfdfd883fa464bf64511dfe44854d0c4c54963cec94718 WHIRLPOOL 03a2f1a0dcf880e37b954a10188f620b17c42cac4c51ee6f2dc871a6d53cfeaa209830470135849611e3edad83c70d5e59e3ec1760c9d907a347620de5c0aa2e EBUILD netbeans-extide-9999_p20171108.ebuild 3059 SHA256 3e00c75e666113a765e0783fe8fd7afadd9e2b24cf5372db8d402cb1bfb35415 SHA512 d702c64e88309c4699dae7f74a2ffbbca781fef4f5ba100f8b1e038d0f074f8497cf88168584ee939064d25c4a1b4d99509d0a3bcd0bd9a0748741f86a78b179 WHIRLPOOL 459c6432ca82c0f4c59d43ba5ffa9610a78007b4a2d2dd1a76778db498f6638537da0efd41744b218665e2dbf822a912515fcd0687f051ff6e6386552da0c27d @@ -37,4 +38,5 @@ EBUILD netbeans-extide-9999_p20171130.ebuild 3059 SHA256 434b4e8e0d55e53921896fc EBUILD netbeans-extide-9999_p20171201.ebuild 3059 SHA256 4638fcb2455a04015dcf44ef73a967e1f2776b297a32ed5e0fea5fbf74aaf907 SHA512 2faf2dc91896f46dbd4dcb745fcd0c4550ff92839c180187b23cfdf9b6c1a4c22e2d23f7edfb77c9aa950628352e3d42a6cc374807479e88dde987b08ecfb116 WHIRLPOOL 5af05e36f279178dfd5a69dd6f7a38f0506f173e0f6547260f88de3951f45daa1b12da888ff4ab95ede4043a921f926c87b402b5747766ceca58bd47a18d8a5d EBUILD netbeans-extide-9999_p20171204.ebuild 3059 SHA256 9900dd1636483ab9e26f7b45f2d6ea62c6a5242ed35aabd85d7e4c98b279cf6d SHA512 fa0a019f43da4ec397fa033965a606fe81844b038c61743cf2f04f275fe33c0dd0c2d1cf2e2d0e1cecb51b2aa58209b020f74ff284a00f70deb054050f163b82 WHIRLPOOL 6431900f11bb347778d574ba4c5cdc04b5c9051db1362cda9267b58482550b3b366de84f1391f00c6ba3e9088ec1e9323c98448332131d023ad0cde22225458e EBUILD netbeans-extide-9999_p20171206.ebuild 3059 SHA256 83fcf99633dd615e2ed4179f35f2d43e43e0e703987c5b0d2b7451ab3bf722a0 SHA512 a692c08259b0ae52650f4cfdd64d49223ca8fa190ae5515b6f6a940bc2ae18454c962028b9fe17ff3732bab3359e69211e3f919c461221d9d52f34107b2e3882 WHIRLPOOL 3da7cdb4bb7014f7588ada5a08bb3d4a5fe1e60389044deb5a95b7a86d7236332e62c3246f68bdaa4b2ee05afe5e91a0f7cba7c0938dc486a5c6b50bf9bbbf27 +EBUILD netbeans-extide-9999_p20171207.ebuild 3059 SHA256 da68a33e225b571165a0c4f7e9ce45ba5b88e923c3fd47b09ff56cd9426770fd SHA512 161c08541155ee0c131484f58a83133d4f96698fed358d58ed83e3996c41b1c5b3157a0980337aef45c43aa834348c9d2c6fde7a019dddc69e5be884693eb854 WHIRLPOOL 4f0b2caf6191dfb123a848a9d496f4b3c894229de6d401f09447cb16131977fc56186fb08972124ef495953215f33a7c18a01e75036280caa49b28c4dbe64a2d MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20171207.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20171207.ebuild new file mode 100644 index 000000000..7200a864c --- /dev/null +++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20171207.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 c8886dc8d..1ed1ed376 100644 --- a/dev-java/netbeans-groovy/Manifest +++ b/dev-java/netbeans-groovy/Manifest @@ -18,6 +18,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-groovy-9999_p20171106.ebuild 3091 SHA256 caa4c0a1ddc3e1e04375c03883634853bd7fd150ca3cfe1a7cc9403851bf4b6f SHA512 0bf23d782ed3b88ea5a367953c5341c2a0d2800e4d7a74e8d9c586063fb0d2f877ec0063a3a82add8a2ae40b2f46b3b9ab4170772ed210ef9014386a8912e92f WHIRLPOOL ba1c83756c112801b3f764d6a43627341b22d3fc201c2ac75f566c578e9120466f13cc630bed81ed076bdf839c15a0963055c9495606b16ce8ca8fe743d87eed EBUILD netbeans-groovy-9999_p20171107.ebuild 3091 SHA256 4f2a9a459a7ba1981d5e25924512d164a26f3d0439e9d211dcc03b18f93dc7cd SHA512 baf43a77352523e6b52f38bd7af6f270e0c2687d6eff3ed259c3e6e059046feecfe62f5ad568b41416a0ad5333a926892d73ec193f968db65207c4df3e8b93da WHIRLPOOL aaa2541ef7c75fb960ebc45cafd8a6ac123fe5a4a734a66c6ec9062017a686ec414bcb7a7877ecf9c94b06971f644afd8aa0c5127ed2126edac3c2b87ea309c9 EBUILD netbeans-groovy-9999_p20171108.ebuild 3091 SHA256 4e453df2636d4b79a054ead1caee8ccc300a045c721c1ca78cc57295c761a35a SHA512 0328d070f0cdf773baff8026cd71f523e024667f28a5e04e10ad5ab5413d46e11853907e6781b92bdd8fb1e9ed27f258b5f5450a08f0b3fc056302411ef315de WHIRLPOOL f5b201e84afba1a1333c4960bdefdf4f07c012897755bf9e59e825a45100da3e0b4cf063885dbae61e8e133898ab95759eac8c66344e03dd5d544112f7dc514c @@ -36,4 +37,5 @@ EBUILD netbeans-groovy-9999_p20171130.ebuild 3091 SHA256 5a05e781027fffbe64ed427 EBUILD netbeans-groovy-9999_p20171201.ebuild 3091 SHA256 cf4f686f57d60b3ecec4c44ea1626dc4c9b863dc0a9186d6138df3de6e476d0c SHA512 d111042d59f3638a19a580cbdc99b1a7f21f76b3866282f7a595a714be84b1dea64cd6e8b2d119ff0d75ccb2646bd954b2e720b2f4292208d7080431fa7dac02 WHIRLPOOL 51ef503090dcc31ae64fe75906476c4ccededcbe92bb6f3894182d1565c754ad009d1f16cc547343ba40b57f33c3cd55a13fa1a89ce83e468c5ada8d43b3b495 EBUILD netbeans-groovy-9999_p20171204.ebuild 3091 SHA256 c55f0fa4c3704708d50c9bd4b27d77774f8b6a5f9cef23d1901ffd575b52e52b SHA512 ba15fd9d686c5f483007778f7003738cce72cce8a93c3e9e2c825a260bb14f8c115f30c62b636654c16be5d1e1c05c1f7e384eb0fcd4a28d75f244c1fa3a949f WHIRLPOOL 1789e58ed7ef346642014667344e26cfae3ec743c828c5e81add15e202e71dbb3c23b044304a8f1bff380760927ef2df6c43c48d55a38900eba9d98da9ad3e39 EBUILD netbeans-groovy-9999_p20171206.ebuild 3091 SHA256 850d4e9f99878e35b3cd1d0a94f9abd9d26027f3aa8817f7d8db14f47238c533 SHA512 499c819f248186822f1378607cdcab484898a22266f21e70d241b31da383f4316deba251abc917722b6f7b8e1c4654e08cb44f76d3c9edee222b095295692a84 WHIRLPOOL 04effb9623da0acf37b5fef63deeff07c9a8e57822952292e60245f7c499dac7dd8538e9aac1535e972856546605687e71b43dc237c20aff839f32e456296d3b +EBUILD netbeans-groovy-9999_p20171207.ebuild 3091 SHA256 945a86cf632f3ed744391448151102a4aefe5de3c2c9f271586edb762219c6ab SHA512 556b7279153645e99e50c30c6ace70e483ad963f15875042c015eacd121b6e155368a95afa384c3c2a59842d4345988af495f548dbe0ccfe048f47a6cc5246fb WHIRLPOOL f167bfd63a284e3a181334e9964b939cd6a820b8731d994b3800120e85325258087415e71c2944391c9337e5002c394c6536c7525e7c82186553712a670358d6 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20171207.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20171207.ebuild new file mode 100644 index 000000000..2740b451d --- /dev/null +++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20171207.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 65a2f3e8d..9059ad8c6 100644 --- a/dev-java/netbeans-harness/Manifest +++ b/dev-java/netbeans-harness/Manifest @@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-harness-9999_p20171106.ebuild 3805 SHA256 7e09130308ca2c64bfab0f0b88dc0848ef2cc10465bbf4529a9e969be435454d SHA512 c742663c5993bda3c72d325c2567593f122bde35a38e55e95c0cb4add953209b632ff545a99ae50c077357d94a929d404584c104ca07362ac856a4cc3959e40e WHIRLPOOL 1da06ced2b170fe4c095a8cc86f2b31ffcdc4a35d72029e61bd8c05fb8ef000edb6bb80b76f57a7ae9488ace8b1e43a2179e89c2d604c3e67ece3b05cc12a917 EBUILD netbeans-harness-9999_p20171107.ebuild 3805 SHA256 eb713cea96805c2ba471406f8bd1121439b91efd88e60cd61972a421bfd9e5dc SHA512 6cc91637db4388141c65648ea2e784f47d541643f87a4f9a23d0dd99a669ddb880b47b6da512e5f555038da72c7ab6a77b3b0f70ba8f1074fe1ad6e802d87fc6 WHIRLPOOL c81fc98a464a98f919d888a8aae196e36a3770eae734082a90824b7244f6414ba5adacb5899df59493ea665f26296c8c17685b10fecd20d57966c0d549822d76 EBUILD netbeans-harness-9999_p20171108.ebuild 3805 SHA256 73519ab4a1267742feb63cb975df33e7d9250dd71df5837861e79c2dc4216853 SHA512 52da43de0a7a0b824c0b25ec7d9f88f548ae1620a0c355506140e7a6168ed5577009e4c5e9f5c7a180599050d5267d8d54313c060ad3a6c8f007115af290e851 WHIRLPOOL fc09a73d6415db51133b8aefb32897a66803f5b923050d91d56205232588078abf900c5fe373cbc92f558aa9aaf654dadabc475278c73aca3996703817f3fe9b @@ -40,4 +41,5 @@ EBUILD netbeans-harness-9999_p20171130.ebuild 3805 SHA256 bdbf8475b560b05c546bf7 EBUILD netbeans-harness-9999_p20171201.ebuild 3805 SHA256 2c7c70dcb42af85c557c539a8f0b0e3bb0e9f2d3275681880a1da071be137438 SHA512 ca930de8683916be6d25dcd621c2eca0f1cabef2f11924271ac30dbf944106b58121e7928bd6d6b844f0c2dcf2e1cb9611f49d2b12d714b06478ea26a5835a9b WHIRLPOOL 3abc9a549f8cacb5334d2579d4397ae6065053e24f067f2c32e7772d1c0588d44122035f9a018a444d9b9520185602ece6996c5fe4a8f5e147b954124e69f36e EBUILD netbeans-harness-9999_p20171204.ebuild 3805 SHA256 445ea7be455472e7c8a46d71376a09fe72cd8f200b40673cd0556d0dec9ac4dc SHA512 316a3f88430a50a09271bb65ba343ba57274e72ba6316fbd8e42dd1bc03979b570885634d7056a634226e1555de1272cabbb41f399dc82b6815ee38cf0dae29f WHIRLPOOL 649cb4c6f99b023e39691018e2f1af7e6f8057e3532177be24afe09826de1c3b2d69acdbc02540cb5609e1809f0e27e36c009ec0074274e2a558d576951a925e EBUILD netbeans-harness-9999_p20171206.ebuild 3805 SHA256 b71260137d9be8c2cc5bfbe7b78f761acb0727b1a553275f1f1380f138860dc7 SHA512 4f8f2ec7b5778ed3f93a3ed127b7469d1eedf80b4b9a147ff5423fa749d2433d7e4b681e99d8dd5aa128dc5979159b925382c6c55f239bd0b3c4fb06d44440d7 WHIRLPOOL f30a3002356fc169766ab3bc3c2bdd5abfad8d9317f58ab4b96faa9f2864bbe3cfc03f2b937c444b90b5f2c870c4b61648707b43a1ae8b1266299cc17ffc652b +EBUILD netbeans-harness-9999_p20171207.ebuild 3805 SHA256 58ced6d5b8d221c2be82a8d653d4f2075d7d85e5343bf2af699c15a1957de447 SHA512 9ef1cdff7ea0a55a69d13474f9870183bfa09482028a5ff895b3acaa8f6c01bbaf6df43782e089da2f23032b0428a0025985747b44cc85fd86bb67d01814127a WHIRLPOOL ae1e7d7c76974fd7ab9aaab828c15246b7c9a76aeca7c4cabee1337c5e1ce51f2438941fcde16ca29af7ea5eb2afb10094d29086cc5b9c52b8e0b888103fc71b MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20171207.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20171207.ebuild new file mode 100644 index 000000000..9b05ecd04 --- /dev/null +++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20171207.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 5c56cec7c..5357314b0 100644 --- a/dev-java/netbeans-ide/Manifest +++ b/dev-java/netbeans-ide/Manifest @@ -88,6 +88,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-ide-9999_p20171106.ebuild 29596 SHA256 35053eebac50505fe90239be329b35c977c07535ec1429694172bd9a5609497c SHA512 30e5ad95e8400455fadafacd51c26f5dfc4cce296276a282f00c6eb0b7beda83af86526bdcf4006e43ec35e59a284a90630b7e662edd91573339585d0a86754a WHIRLPOOL c61ffaba900d18c498ea353807957cf3954e1f6067b353dd2f94581b79adb9d81c661d0b9d4168238432f3a3e76c3fc29f00b1a3bb094ded5e8a6b3f348d1667 EBUILD netbeans-ide-9999_p20171107.ebuild 29596 SHA256 7d8ac28eaffdda0c34e0fedcb5722a73b522986ff3108e2dc543b7223413bec3 SHA512 4b395991110e2aae10eed111064cb6be01575db98d42b4517f57f8a930bd8d1bd9fbeae28bea5805178edd329f738087583daf630f9e34c217e3ff504954b3e6 WHIRLPOOL 3e5316ffc19cb6b3d123012c8e8c36b01e2ff1582189589088a62925e85e974e315352a8580c32070fe87393491dfec694d5b416f05f96436a3ac68f9761be45 EBUILD netbeans-ide-9999_p20171108.ebuild 29596 SHA256 3be037eef6f701a51e40658ddc8a7135db864f17c23a75d610bf18f7cfa8eb0d SHA512 60bbe632e01476fcc75fc09aae082fc8976bce319c1441738a573abe970a25156a622093f7839fb1cf03f852bdd63116d9b6cccac158b13a9e0915c6148b8f7c WHIRLPOOL 1e0bb6626edabac2d443d9d03d06097166a72b6abe82f244c8ba206e26f076d6e99e67020a4d5005e163e318c71025fa984a02aa507df872e874b7dc0ff07483 @@ -106,4 +107,5 @@ EBUILD netbeans-ide-9999_p20171130.ebuild 29596 SHA256 542b91e1234fab07579869535 EBUILD netbeans-ide-9999_p20171201.ebuild 29596 SHA256 c0d5ac5a4700bbf3d3faff32772c260bab57f985ebd21c7db56f62d24b657ea6 SHA512 3152d4f263becd8b8ed1e3e58c59e95d96c3ff03b53a03ee04e987c6aa7e3f68f2a4193cc03d68aa16bf5fd92c9969c84555e4529bdde7468fba787306f782e8 WHIRLPOOL 5f9fcf57dbf5030f2368752f0666c44d963cbc6db65541f9a60a391135f035c9cec39fce80803c78f5cf93c56b96945534a1e679e8c16e14e26bcc065ecb7cb1 EBUILD netbeans-ide-9999_p20171204.ebuild 29596 SHA256 f520b40f6feffec0a67c10cc1b9acb6bb3bee8b4e35e0deb98bdb047a200c53b SHA512 28a316cd9653194d04e63d3d7edcf20605771cf741832f51e57fef70ce0f31c28024b9dab68e9dbd0266c98f54cb97ef4668bffc0eaa559fbe4bdc6027c09865 WHIRLPOOL 81957ac1e53e4232308821c66b7e12a8f0eb4171aef080d6e93e6a235604d9953bcc37f2f1763f6d4e742660ce853d60aa670155b91f3f84daad3bd0531089e4 EBUILD netbeans-ide-9999_p20171206.ebuild 29596 SHA256 dd4603765dace157dfd76703bab5821c2c299d1e1fd2b2e0fbfd73abccfae1a4 SHA512 cd4ef2cb98d76dc97fcf95af2d03f02d959f4de864096d39952fa52e41899a147ef99e47883ab61b4f5ffa79f8c8f5a3dcb619e5a7d9913890f40fe8c04217fd WHIRLPOOL 49f060f7424afadc910e9c6b05f10c263fd1ee162447c8acac2506dc3ce733eacd3bb6de06c6d0eb6e2cf2982f642f25630ac3ef0b6672b92da2715eeec610ee +EBUILD netbeans-ide-9999_p20171207.ebuild 29596 SHA256 80fd6dc87dc9970f3de74da409837f670ab954d3c81ad3ca4b503d83c9b7c5b4 SHA512 50827ab971ea6fd5dc10a3a215473118f280cf397f21ff1251313187547969985905a917f31bc148ed24492fd33079330d51c6f61ae0b3b544ed86581a0e97d3 WHIRLPOOL 9724a02a37ef1407c7275e443a9bcfc177cdfe7a73c29ceb34805f6bd44dd66c5d8bd6b7c8daf60041d81fe51be190eb3923b0fba60f9c7aebeddc0e8d58ddf4 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20171207.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20171207.ebuild new file mode 100644 index 000000000..def7fb8f2 --- /dev/null +++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20171207.ebuild @@ -0,0 +1,360 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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/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/lucene:3.5 + 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}"/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.lucene/external lucene-3.5 lucene-core.jar lucene-core-3.5.0.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 lucene-core-3.5.0.jar && java-pkg_jar-from --into "${instdir}" lucene-3.5 lucene-core.jar lucene-core-3.5.0.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 a131525bf..94452eadb 100644 --- a/dev-java/netbeans-java/Manifest +++ b/dev-java/netbeans-java/Manifest @@ -42,6 +42,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-java-9999_p20171106.ebuild 15702 SHA256 c0ccb1e16e5cb247cbf3c8da378b813fee369850af26f23d0d104a06501c8dcf SHA512 910909527d00c89e98cc6aa09b4cf33e9ae12c90ae8a513c3e9a3f55f0396d28289882cc125d152e2d9ffa326f6dcc87cfb2f4062b4f420f5d5273275a673c37 WHIRLPOOL 3c33123abd8afa2ca436eb7f31b8f39ab0859a6b1a307a27ed6def194efb3f7af519029edc34bc0af1aff2a5a38fcf6ce1e005172314465861e004dfe547dc7f EBUILD netbeans-java-9999_p20171107.ebuild 15702 SHA256 9a2dac05e22eb617a158c65ba1d4e37f7c3dffc06823928637356ded5a46103a SHA512 c6e29028abbbfd8190ba525b08f3c19b62401a662ac5aaaa001269db96c5f2b1ef0cf32656b9436828d5d63444c394407b45076786969656a5dadce2119be31a WHIRLPOOL 59fbfb3aef5aa46279a4c5c59c90f139af74475f02177d5203790a7be03eda7849bf331f02436c3a4f47859827bd314c0c6fd89fad639ead1fa66624523b4a09 EBUILD netbeans-java-9999_p20171108.ebuild 15702 SHA256 1f99bed7a00008277f4aab7b0232cec7a6f0f1956c4a70639d7b412b9e009a8c SHA512 164656c5abb27be67d22934fff78cb8adcd2eae63dd79d220ded79641a1e6da6c4e49b8cdc6f59843971103e98c14715989a2e13167877b12e1ef72c88ed5737 WHIRLPOOL a35f841748d546396ea7d0a67c8363ae4320f5408bf265cb17aa0138c0364c4f8539384f050a0228b08e04fb3901fb0a576d294df826887b96d280677defaf3a @@ -60,4 +61,5 @@ EBUILD netbeans-java-9999_p20171130.ebuild 15702 SHA256 783d85eedd87cbc3398c8fe6 EBUILD netbeans-java-9999_p20171201.ebuild 15702 SHA256 cc340ae9f30e5f10deead3d6c9aa6dde358c6fcd36315c0b4441fa480d0ff99b SHA512 4e9a877bdc03cacf55c7933e11480e52776c6eaa693fb8ee67ccf8bb55abe9ab4b0ef7082935c835cb16e77d75b87e1ecb39e42fd6b6a5ea0f6a22cccf7a7281 WHIRLPOOL cffc33218b23a1fa8679746099f2f8cee67ebfd650fa158af73359923481619c0ddcbe2187524cce55367b74c2f09c1564537794cdedde6ff47533d0fa3bd40c EBUILD netbeans-java-9999_p20171204.ebuild 15702 SHA256 9978fa35135f5818209ac560829a070115b4c530f90499da55e893bf158e5356 SHA512 ac635e6b6c676f20d53a7e4174e793df8250055081edebbaa94d826b0365568da71d1eefa4177500f88ca991b4fe07c18915fb9c636e9a73ca0b7de17bf7daf1 WHIRLPOOL 5c37145d6f996fb74174229c2fbf2194a2ff5462be12d5fface58ae89dc1333982ebc14c946d25c65644470b6a3cadaac5c920733e9ff0eb05070a41fb4e0442 EBUILD netbeans-java-9999_p20171206.ebuild 15702 SHA256 6f1dd84c70ea89ee647c37ce3e2997ee108c0b080e3f1db1182455f3f07ef4ca SHA512 89fee442fcc94d336b10924ed176c2febddf4651780319d872bf1964fc1d3704133e6af822bcb81439315276c4eee4b2380e7eb79c13e0c21f74f70b1960dd82 WHIRLPOOL 577b51a4abfbb7de8084729ef96563cf857a9645e1d871b1325019830ea3b0a493de8f1278e319aa64a4bd02afc964cde4d0ac17f1e81700497c89d7b72e7afb +EBUILD netbeans-java-9999_p20171207.ebuild 15702 SHA256 1485874635a2be8437a4bd1132c3ceb48d2ed4cc3dae6d62702b535c615892af SHA512 9bb8d1b5d806abea4dc5aeb47c05013c8b587cc4067b376e8b003ebb7cf9ae4bff8f3a99285c423218a02087891b6d0db56e4704d6907250f387bf6d901508fc WHIRLPOOL dd8bcacdaa881693d45f30ab86173f4b130fb801d14118460d7d09a7f3574d00026df60d3b682edd1c236ed79a6c5e6938f28830b7eda41e52be49527b745077 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20171207.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20171207.ebuild new file mode 100644 index 000000000..5d458c2e3 --- /dev/null +++ b/dev-java/netbeans-java/netbeans-java-9999_p20171207.ebuild @@ -0,0 +1,268 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 3c249acae..c8a7097df 100644 --- a/dev-java/netbeans-javacard/Manifest +++ b/dev-java/netbeans-javacard/Manifest @@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-javacard-9999_p20171106.ebuild 4648 SHA256 611171d1341a3bc4d7ebefe4243f93c16b8339c7368179cc0469bc3e27bcae48 SHA512 49fed4ae50443a026ccbc95b614d8617e0ad7dd7f6bbd1f361f82e1d3b5f0c245f052f3e4077d6a88e3e6880357cb1f5d41fe30dd9845515837fc501f1707a03 WHIRLPOOL 0d9b733f0bee601afdb7b9e54e3befe5d62075e833d77d4c6ec230a22b4a79a535ab4015c18ba079522b8613ed7f16287de6a7ccf44bad178201f57387208e2a EBUILD netbeans-javacard-9999_p20171107.ebuild 4648 SHA256 67b274933306fd6a930473a6bbdac4357e20226bebc2d91dda26263f7ae8269b SHA512 61f18d44db43b8803496ee22a04071b7100c051127679145edb1c2b4ce723e55e2afc0a4d2977cfdbee83e0502468778b7e7ec32a0f7a86b21de8a9719ad8b0c WHIRLPOOL b3f708b125f600499a639897ce7593194422017ea391c9fdeb945525cdb609f7f8171dd711e5b5dc878d2c7d8c939b85920af8007a581ce09876e40fdec27315 EBUILD netbeans-javacard-9999_p20171108.ebuild 4648 SHA256 99021043d47a2fd46f47be368f0569e595551242079bd14ee38d66246698f7a3 SHA512 8cec10697801c4185f7d7705a9677f08859d45a72322e853878c9291096b439695a0239c0d430e894abbe82472a78b6117b10c1c23c72b12bbc5a0f960ca1e62 WHIRLPOOL 84a48e07f4a5306caa98115261b5012120cd7f5154e7da335b458ffb1f19c8e8b8fc114077ab33968a912e61e66e00ca24880dfd3127f2ce1bae7bf6b65c5533 @@ -38,4 +39,5 @@ EBUILD netbeans-javacard-9999_p20171130.ebuild 4648 SHA256 6f366f5a560ff083dc554 EBUILD netbeans-javacard-9999_p20171201.ebuild 4648 SHA256 7dd5fe33da61909c1a6ed71a1c2c333426acd0cccaf2a46f836b632d3cea7dbe SHA512 6d7146cdcfc179ff3a10a67606decbfed8cef19002ac0a83ffe4c764b65080258d4c4800ebb22594c04f1defd21bca5cc55929152faff5d2e9b849b1c322115e WHIRLPOOL d3035e40dd74f549984e17c61233b690964eae0afa6b428a9e42baa8096f08fe16114efb5713fbf7c31e92dae6c74ae8790012516b379328cec9e66d62a3e43d EBUILD netbeans-javacard-9999_p20171204.ebuild 4648 SHA256 27618a6ba64caf9c1f3460423bce16ace842299a0aff953ed49370525e143c94 SHA512 0a9ebdca8c346e239ea5e998c9512a51b934679f45755b374b0af1537cd5fc5151e84138c22f32120a60dfe4163be3066b6ebc3dd82f39c5a4ff196bc8a13509 WHIRLPOOL 44145a519c40fb2cfd0446a3f1671964a3c72fd8e76a2422ac9d1b2346ab2f0611e0a85ea13919cdf19f4232884b679e5d1b79c8c54264c4656f746ffa07a290 EBUILD netbeans-javacard-9999_p20171206.ebuild 4648 SHA256 08d5c1006ca053777559ff4e4dc3ba6bfe6838fb17365f444ae4e6bd0a29ca1d SHA512 2f4d0f69bcd0798b08b38d129500ff8982a46358ca21aca2da4aa7e77d985bd6a2eeafa8c85b4e2678211b7e2f937c1c7abc0efe6133419731f2f1f5d117bdee WHIRLPOOL 564d40a75251742f2ffe8710c9f3f88c91a7aa69ee0b3569c602fe0033fca9821ef73078606f53d31bf3a400b7d58446d659b348e22ab93c87c2d05e276dd8ee +EBUILD netbeans-javacard-9999_p20171207.ebuild 4648 SHA256 eca58a7f345b0fcfa947f9a23ba113d1b101cac3efe739e652b509421e3f687c SHA512 d9918df424477030f95734e9d47485245435a6dc1bcb3a216b35b9630100eccdbcd512d1ac95be52d6f639e83a39226949cc58aaa5b5a87701f84d06cba2b5a3 WHIRLPOOL 8ca363fca7552108015beafcc6fe2c1506dfaea438d3eec2f99034c334585b2d1a343de5eb34e9ad209d3ba1e286a40182eae647d6a0429dc33cf9542cdfd119 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20171207.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20171207.ebuild new file mode 100644 index 000000000..85fda066f --- /dev/null +++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20171207.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 ff79770e1..ec59c02b1 100644 --- a/dev-java/netbeans-javadoc/Manifest +++ b/dev-java/netbeans-javadoc/Manifest @@ -18,6 +18,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-javadoc-9999_p20171106.ebuild 5992 SHA256 612b806e186665d33bd39be01c5ff3dadfd7ca7a1a5e346315750d4debbde18d SHA512 cc7017b27d9c7e75a2b1fe62ec6553ffb6be59d1dbc0b36d74d1b9ecc4db5755b870635b7ac9ba548b04e4b034deaf100862c27ca91d4c5e28500a77fb23cd82 WHIRLPOOL dfaceb2f4c1479616cdb9db6383b338b2af2583800b1654eb301f0a213c8f01bea7c5568ff6a3f070919d48719b8b16ef2bcdbaf54581c1e1fb03239d3a456ff EBUILD netbeans-javadoc-9999_p20171107.ebuild 5992 SHA256 1d7191794c4d8cc581e55e1521eb40b1a528243cd0fa83d94a3204c0a297e1a0 SHA512 502518d7525c50915c318d9de1e79016c3359321159a9a403ae7259ddcf5f56ac67027b775da7a6efd7fa872aef45f09b94f42d0e11a290f21b59b5fe1800917 WHIRLPOOL b4eebf54c1f93e37ffdfb21f2166e394cea5543bcc1846cb5cffcdd332ee96c066b4f31889169637719feceec69e41fe04782210c330790af17c0d753335b097 EBUILD netbeans-javadoc-9999_p20171108.ebuild 5992 SHA256 c885a97019cd06e8375435ca5cfb06944e462d30a619282840302fa5eb4e9b56 SHA512 2509d623fc77e25ee9189f7c6de1d92f7b287b21e6726bf10ed998ba006540fa29243ef260a9b8948d4c171fa2b9710a8eb8f76cd7b65678bd5d1f7a694393a7 WHIRLPOOL ccc70b73c2c2d97d2a5dad33f09cfefdbd1134a42f0b6d53c0324405f1d9980a078904079c7a6d4f7344fe3354482b7da8c23fe1aa3561b1d302bdf2b7e6a82d @@ -36,4 +37,5 @@ EBUILD netbeans-javadoc-9999_p20171130.ebuild 5992 SHA256 66d0700b7f5f64dca3d998 EBUILD netbeans-javadoc-9999_p20171201.ebuild 5992 SHA256 bc4a26e07f06604e15971d091a961d5333a61d6cd1b58c3e72b79389ead5f9a4 SHA512 3ecf3a4e278e20b251b1b10a5d10470797f8505ce168a189ab7d49b18eccf077f4dc4e7a4c6d48953a25fe36693f20d8bbe4ad18c27995cf8531a3f315dad378 WHIRLPOOL dc1cc13669a293547d67ab3a2218f4fe7e4702cda0a8f878e9f87f48ceb35c1f75f512fa599dc30db2a508185eb209dd740c61b7e55bae9b1fa23bd089752416 EBUILD netbeans-javadoc-9999_p20171204.ebuild 5992 SHA256 e024a57b1f0d1804650dc830dd8502deffe9952ac225ab9732d4d13c348097bc SHA512 78178b9c938cc7e773756257918343ad8a3404e721b9cf9d0c1e401db1a4d9354b4ae467ac9331dd1846fbb5dc229576a527d2c61808f0372a62e20cc1053b94 WHIRLPOOL 541c631c2d0e7b8608e6f4918d4e1c486aea86dd5d6d4f650dce952bacaa4c2b5496119afc1e353c4748e167b2f4e70aa09016d7ed03894571b2c4856a7cd938 EBUILD netbeans-javadoc-9999_p20171206.ebuild 5992 SHA256 fe87284ef2660c644d9936957c60cb47f167e2ed3a80ccff2939359258931926 SHA512 a98198fcd7fcf9b241a42acfef0856c01b8132946f1b5d99574cf9cae8f47c882def33e41b379d46b7539463a44069122803340cca7524135b027dd696a58400 WHIRLPOOL a067b808571e1cc8695174618f23b81501e9cbf71e24b450faf05c33708bb22c1a04c21202a897283050d670c8c1ad617d53b6352f450f6094c6d7c69fed1784 +EBUILD netbeans-javadoc-9999_p20171207.ebuild 5992 SHA256 729948b070f1d3dcc4ca5a2900f5de93fa249372d3f39e6765848b79dc52b9b4 SHA512 f7f23f454a00741a6edc427fc37e1abd479bb5dddade036981802032c171193c4fd3cd6cc1f723c0d2fd4ffa5284d0836c6f476a9456f6a4ae5c0daca2deaf06 WHIRLPOOL 9a7b980082c64764e94a169e7b59ecc45815457020fed37f01a001518f2c7eac249f7a27398c834f889a5aba6534e90520bccefefdd8c3e7afae15175de483ac MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20171207.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20171207.ebuild new file mode 100644 index 000000000..85b67bd53 --- /dev/null +++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20171207.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 ca478e763..18f5de86d 100644 --- a/dev-java/netbeans-javafx/Manifest +++ b/dev-java/netbeans-javafx/Manifest @@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-javafx-9999_p20171106.ebuild 4397 SHA256 6c426a27ded7145954687889190a85f24f65307adf90e9b350667125124e7cbd SHA512 1b43326dacffbabae7f7c0b1f47dc417fe876cf04fe12b88c62a433e01432d73cb09999ab429e251aa20f8803f37fed7d6908997dbfd28a4bf73236542d5a4bb WHIRLPOOL 60f02d1317c0770bbcd5ec4b0efa577d3efeda75f2c2344df29b9638cbbec7adffc294af8193ae8677a0658cb9c6df366178808fb56c968312bfc7d3b24956d4 EBUILD netbeans-javafx-9999_p20171107.ebuild 4397 SHA256 9ca69d784549ebac32ae7d015e03aedf582092a2b02001adb0d1952b0de48274 SHA512 10630afec78aa5d80bbd035cb789a10b2da4d4ec71f861a4bf9ce3ab9854ef73bbf54368bf6fa1357fc9908cd4298e9cc607fc87ded2ec347ae867a6c1addac9 WHIRLPOOL ef5115a2bbe17f196482838d3b08251f64b68844315f0f74ac39e4d81517d8565fd98220ad149e464046ffbf43767e78f6a9a4572df009fee9d13842f548e5b7 EBUILD netbeans-javafx-9999_p20171108.ebuild 4397 SHA256 2cd17355ed4a85c6bea2089ffed5f56ceb6d93afd701c6955680a3162eb88504 SHA512 71d6a34ae638bd2501948b8b8b736156d6b7dcd89d14d588b721a5908ffa4e37a8bbb67b3cc4d4d33d1112acd4d65652fd35114fbc8ec6eefa15279db6fdc815 WHIRLPOOL ab8a0661aef9d17378bf645a2e7a32bfaf5f51a7870be634b098593896ecb1c9e1b59752779d3aedc9350502fe01567453a11e13ad5bb3d46b143cb07539b7bc @@ -41,4 +42,5 @@ EBUILD netbeans-javafx-9999_p20171130.ebuild 4397 SHA256 ed2f91ef209d4cf87cec05b EBUILD netbeans-javafx-9999_p20171201.ebuild 4397 SHA256 72a6e460b4533fbcce5e6243f463d7d53e10bc6fd25a24802f323cd8665ec598 SHA512 32b7051257c18af373d4290b944f3fb7cc64a7879a9af5c436d80b10b70f073eca73a47ddb8c5fdb423af8120e65aecf5cd95bf1de151223b669abf1b3f7aa36 WHIRLPOOL dc107270239c8c0eb8044d1a9976bac3ff96f8e2ac5fa7174f23299be13f3e871c279db2e97e90587ebc1b4e524d2e2291a3d6e71a9f9cc1e3004d3d51749007 EBUILD netbeans-javafx-9999_p20171204.ebuild 4397 SHA256 0c98ffe97d7e60e699c3da22ccc8e46d32f01c796434f351f595b5316ea732c2 SHA512 e82f79680d6d303eef4c5d91a5db1627e27eea78af819ad33bbbbd6f5aa4d67fd3e82adff65c6b33618f29c7d73a0014495767178a140a38ed91b7a38de3d163 WHIRLPOOL 18add992d6862e0642d07ac3f94f65dd17185bfe6f6b6fa6acc2d56d731ffa5ad00b66cd5896fcccc8b4c3c9f7c878418735af5d80ea2cfbb8ce30ee7d6b04b8 EBUILD netbeans-javafx-9999_p20171206.ebuild 4397 SHA256 308dc701ecfb37bc2d4804b43629cf976adc404f682b7165c7662db56d4a34e6 SHA512 2953ce6e5a80f5fd06e3f205a38d28343872b360124dd3d9e3ad4a1906c09b72a6752e177519e1a8df5090521f379760a4524be332d20e749897b4914ec88ada WHIRLPOOL 11857a68655adf293deee121faf377ff4b116f039a3fe229b9fd9100b44f21bc8127e7145c8fc2d0ad3d3acabe60c2acda2b2bb77cc3f4fda39d43993b8fcd85 +EBUILD netbeans-javafx-9999_p20171207.ebuild 4397 SHA256 30d51127450f95430c3fb8d83fb8ebe6205c672353a8de2039d397d88e3ed410 SHA512 617f489c0f7551f3ffe032106b3e0afd4bc6ee7a3f7dc84500f4886cb4805f92203c0242fecacc707eba60e9a1243511f6cd832b9534e46f50551b4287566ab1 WHIRLPOOL 22fc21b1d3150e2cb36d2304a20be22afda5f4b808ae9205da98ea4257ee168be4b6905236ae359a93d8c78d25f3fe1bd02294d1ed8be8e912518cba239ce478 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20171207.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20171207.ebuild new file mode 100644 index 000000000..292036aa8 --- /dev/null +++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20171207.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 918d267a5..c71bbc9a2 100644 --- a/dev-java/netbeans-mobility/Manifest +++ b/dev-java/netbeans-mobility/Manifest @@ -17,6 +17,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-mobility-9999_p20171106.ebuild 4086 SHA256 57c02b2af96cf312bc25f8436eb6f4382addfaa1a22f83df6f14ab13667bff08 SHA512 ac1abdb90e8075d3d6a1f981d445bf0f87ebfc53ccd48779c2495f679251e0e737d1403ea2a4f3aa71f7c36d7cd9910299c9546131f022431e868a9e6ced8c3f WHIRLPOOL 968a7a070703cd3dc45a57332fcdf354774e1717750e8a073b17a73789a8109c6c354a8f43a72d3b2d0615b45d6be90b403e5971d8b43ece143d696a0c8a5f4e EBUILD netbeans-mobility-9999_p20171107.ebuild 4086 SHA256 584f29987576bb042462d1feaa82a171864b6d99e1fd0e946ba264d2b76287d4 SHA512 83b28fc0bb0a83d2bdb89ddc5c6639c5babc0643f851069e3020e4745acba4957296f68d004019a5e490506d4c5fd59a09df74d98c527a32af711ee071eb3553 WHIRLPOOL 808d7e02afda545bc79542900b7d5027a0edcc93ddcedcb38fcc64b4861505ff001ed018904426b807d16dc3cd2fdcb004df0186ccad47d1ed960c24882dc8a2 EBUILD netbeans-mobility-9999_p20171108.ebuild 4086 SHA256 a753df359aa5bb1dc91af6fc6acb00ae86dff27cb2a84f3e8577c2c67d8b6b9f SHA512 2b05ea0dc0ebc97da44b5747bf8e5fd58bba5107eaeae0a36ebbb5a686cbb27efa71d2a0267bbca3ba3633970dc334a61526b21492eff1bbd04ca6801455da42 WHIRLPOOL 29df093d93e6c384cf99d39bfe6542fbe1e5f49649666f2d9e23bb2d211a5aa4d582769b95283b2e2ee66ccc5fb93c74fe3ffd256bf451f2bf360089e7bfb536 @@ -35,4 +36,5 @@ EBUILD netbeans-mobility-9999_p20171130.ebuild 4086 SHA256 187af4f9948c9229aeff6 EBUILD netbeans-mobility-9999_p20171201.ebuild 4086 SHA256 959b99b9c631187d409df420a8bcde0d54330986e84ace1e8bbf9361a08e5327 SHA512 0234f4a3746f7c35fdb1386018f2eb7c61601deab01f7009ce6d8c8b8e9640e4089eda81788e24f1c7c1b597a0a2bf0648d3094d532bfbeada6952c514c3c7c7 WHIRLPOOL 1bd8a3722ec432bf6bbf6ef8a83741030c601275ed9e3cea1304e8f7b7ee5cb3d5817f0cd3b70fe9040cbd3bef21d23eaee4c1736f7e0c1d500517716195a958 EBUILD netbeans-mobility-9999_p20171204.ebuild 4086 SHA256 7654ed1944b373fdfb7f2d28ce4f2f07f22cc47c3a61d01f3462e037fc822243 SHA512 9c53b8bd7335c102dce625996607e4c125fcc73abed53e0238dc2df4f4b277841799593919aee5a87edd9cf9612895f8213a630f9eec5883ff6a8da19d58c295 WHIRLPOOL 94110c0d0a7200a78197a82023329a3bcd165553819695d8dfe15e8300559dc857d1447aa42df1b18e57bf97ae6dc5fc9d37f7bc14110782b8d3bdadd0b73b28 EBUILD netbeans-mobility-9999_p20171206.ebuild 4086 SHA256 2ce698818b3ccf14b57feef1e1580e9bfe20da79e904fa20f110e37a1f5a5621 SHA512 913d8438fa95e5034d1b5ecc6104f62111e6b9498a84676c7a5576c49da4347c3ed599fbae89b3e72babc2e2236aab2b173ca2ddcb9fd410306983b24b9d6ed0 WHIRLPOOL bdb23b4155386effee51ec4ac8b15f939a9a936bc340f9ca278a17346580739135a01b7a8657eefc9493f45f1967906d829cb94e755b74abb5e5523a604b14aa +EBUILD netbeans-mobility-9999_p20171207.ebuild 4086 SHA256 aac5890068bb860bd88fae578170da640b7093e2e6bf2dfbe29102a5210baac0 SHA512 3d8f8ac998039ef9b5fccbcb0cebb67b7fe76c483ed7700bce8494fb9c22ca97396a3e4f53beb0945debdc6bf799ec196028521718ab58a8356d04269fd0218e WHIRLPOOL e22284e2004874b5c5fce8ef63d15939a8794ce15613e21fd516ccd6cfe2a43ea57f1bb39bf8bc4799f4e30507e62722faf4fab9a50dda5119b76dc2d8448e47 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20171207.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20171207.ebuild new file mode 100644 index 000000000..b6fb33a55 --- /dev/null +++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20171207.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 1650f5655..ae023f424 100644 --- a/dev-java/netbeans-nb/Manifest +++ b/dev-java/netbeans-nb/Manifest @@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-nb-9999_p20171106.ebuild 3786 SHA256 d815d5e06baaa2e3fc01bd1c4af45bdcf3ab82fb81ecf2d7c71f030bd4edf396 SHA512 6973f698c460a8a694d9fa0a1e4fbbe525840e69edef348389436849e5c70890f4fc6ecc972d139f703a67c7c9c9f9d004102ab925522e59d00144c0626995cb WHIRLPOOL 523de4459094a08add5fa4845e414707a1556f67da7678220d3a2fe77d315b2fdbeb47f4ae9271cdf97eda6270db0d44d012bb93f53d43b8c9535001796b079b EBUILD netbeans-nb-9999_p20171107.ebuild 3786 SHA256 eebcea81289b2d6bc533176ea5ce62eb85c3aae047167760ed9e6eb3323f2555 SHA512 547c18fbdc2684343f6486c205c2664219518405fcf9b98291f4adede01a5c95d3aa2b2f21d7abad7cb9d2f351fbe4b6b629ef02b5e57948af4a4ba5bf6ab2db WHIRLPOOL 270723ed479ae47cd113574d937115adca8cc64869dbcd78cfa8889effa7d5e9c8dd7d5f906d7de11bc0d193a83a0548d0dd200907868bd8f4417b01a27f5a12 EBUILD netbeans-nb-9999_p20171108.ebuild 3786 SHA256 d4e8109445f8b2005b88b800062cd001846acad11e052a7660436719897ceab7 SHA512 5ed5c01c3012e575a110852ba16447c09558e4a27db2a49d43d14fa9ade6c0d493901c38381694c88df70a1797926ce8811de4d3a4ee9b42b010eb5b0341e83e WHIRLPOOL e5a27ecdddedaee322b8098406420a97d644f746ab536a0dcdd48d4218e54cd08c1440134877732695f6b95603c317eff42e5f5bb04fb42a52d74a355af56ed8 @@ -38,4 +39,5 @@ EBUILD netbeans-nb-9999_p20171130.ebuild 3786 SHA256 e7fb3fe3643faf20bf63d3fba6e EBUILD netbeans-nb-9999_p20171201.ebuild 3786 SHA256 a9dccfd98ca64d9d625c6f83056e130326966be4dcb77b395fe5350ce674d307 SHA512 ad14859c410266cdb6740fb95781059acd07f25910f50aecc1082fdc226d2bee203f4a4a0a30915174f2662c0e6aa51856ae6d62e199923be300b685df7cd36f WHIRLPOOL 5f0b051af25b69b3a7a0a29c9fc2a140b37fa44595c2f30c9949c6f6e1a7d2aa2e984bd7ff52077b4ba8df774294e02b969429e4eb9bab03286f75abc0335ced EBUILD netbeans-nb-9999_p20171204.ebuild 3786 SHA256 a72670b0a00d6ec156a3b1e5b079fec2588ab35fbc6ac1834ce71668d69afc7c SHA512 240a7d1412c837d447053e00535561680b356db934bdd27c10a85eb3da6946344708e9cb3e70c74513db56f48518bedc626500b7d3ba4aedc4d7be07aa283500 WHIRLPOOL c30c775f5d192297b7e594f2726c616dd2fa15947eecf85876dd57bce6532924620647f26200372029ca0453603960fa32d5ba940bd145eaacebbe790c58a291 EBUILD netbeans-nb-9999_p20171206.ebuild 3786 SHA256 4948a79431c0e301980d9b120e5af9f48a47ee1e9a288961f53f4c5c9f1cc666 SHA512 9902f62342e904d10cf8410378fa6f1d1525f78358ca84104644406917246f99f7eb98b3aba7bb8da663f25c0ea79586fd8b6360e9a60acd27fe6653ec3c0243 WHIRLPOOL 0b37e9f8269b38a0315af0fd96b6f7f497962c14169c96e1f0f401c1b947875c2fb4bbb33b89b53ad83b3799ade7d0e90720d99fe88e3e427322c076d3a1fbdc +EBUILD netbeans-nb-9999_p20171207.ebuild 3786 SHA256 b0701851b012cdb49654e66ea7b94f36bdd00df18a69d19481d8e37b478008b5 SHA512 4c51341d25b610148db6ce08fbeae044433c00513ff1245bc63bfdc76bb9af2a4f356574ac16dd788cc799c0f5b62fecd2f4959775b50ca90177d2d1a89d72c3 WHIRLPOOL d7f589169bb2f9b09ab25c91ee247ba6d40d30e488a6d184be91eea99792f1f03596a0cdb6c8b53701fb6f210cd2e7ec3fc59e62bb8d47f8a83f0c49253cf33d MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20171207.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20171207.ebuild new file mode 100644 index 000000000..b603a9546 --- /dev/null +++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20171207.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 52123e657..e8e1567dd 100644 --- a/dev-java/netbeans-php/Manifest +++ b/dev-java/netbeans-php/Manifest @@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-php-9999_p20171106.ebuild 4095 SHA256 ab53964ec77941864f84d7fdec188371bc73c1bd468b10b7e299ab00595e2a1f SHA512 1f4ce269bf1baf5a299e42eaa136acafc9f1ffae1a8ba29bbaf71f052fe953702465c275cc2f184a8e493fecc9595dd74881ede5d55071d8e80a835027aec8bd WHIRLPOOL be3f50dda47c6f428d0265858b8fec7fa881eb58d26abfd2f83a86bad24d98ef167c47f5de70b50b41db8f114e6965b3ef9502ab5ca65e224f76bfdf8cefbd4b EBUILD netbeans-php-9999_p20171107.ebuild 4095 SHA256 ecad77d7e43a8aa31b6155ebdf1443524cb116eea5f66eb49a92e740cb01d9bb SHA512 a944c4c67f355f9dcb43b6780b86991c4a1321ebc14ad53fea95c2431b27337ef9e770823de97d39bf51077a4c1c01f382860654add1173720ad6db4a2f5d61c WHIRLPOOL c1d29eb89385d3da89d90079cc27ce867c344f9d8d07e65bdf8bc889111861810ce35ce5fc7dd6a9f3f1fb972cc32f7d861b1765450bbfec213d1378de3eaf2e EBUILD netbeans-php-9999_p20171108.ebuild 4095 SHA256 55deacde430adc60ce58925adc973ef7df911a2816b580793a5a798506c3fec4 SHA512 89511829939d83f090084f7db9c915f7448c4e08877fa78ea6ce48351914a671fd6d242b890cde5153775972b002ce39da42abe856709fea7d2c866430961f46 WHIRLPOOL 88d4cea703e0fb97bfda2391b23b4882a6b65797158b440a10375c43ae1b3b145225599feb17be754224201068f2eed7ef7bac7ee8bdaff9bd9840b49e697807 @@ -38,4 +39,5 @@ EBUILD netbeans-php-9999_p20171130.ebuild 4095 SHA256 1987888099399b447ae500c7b7 EBUILD netbeans-php-9999_p20171201.ebuild 4095 SHA256 b4a099cda7d44cffba49cdfb0354aa71f7db44395fd1f80cea5db26f80c60cfb SHA512 2dc94657cdb94169dd51ed379e4b0b9e68ed7e8a8be78cb7982ca7d4242d09010446bd2cba8f50c54c2be80e1adbf80d3a479bf056a2cbb6d98b94e94771906c WHIRLPOOL 0f7ebb0923ef738c99051cc25694589b8ce3a7f66cd94281779205d504c676a2ef322ab925c36bbbf45c8f58bf8b5759bb46a3f0dd80dde8f631717d5ae7fd69 EBUILD netbeans-php-9999_p20171204.ebuild 4095 SHA256 723b465f8ad56daea9eb08b0904815ab848dfa8a85b57732e7a1d689795aa908 SHA512 1cc7f438149227c7561d3637cbbda9596481e3298890ab816e4a9d64e7fa96819d8b67868308a7e065708d6cecc23a5338435f34a32b80240dff01553920f4b1 WHIRLPOOL efeeffb2d6dc15ab688a2a63cc8187775006c40814b2dd5498b0d952fbaf2f15dce6a72222f15df75178b8b05778535b18503c93782c658b4123315d8e8142d8 EBUILD netbeans-php-9999_p20171206.ebuild 4095 SHA256 52bb830f6bc605d2f535a658f46d3fe194746e64add314878d4a41c321f7c643 SHA512 150f5eb347d89c9bcc4aca11616342d4f1043455eb48395a4d9cf97759327899543fddf1cb1d06517bad61c6c15befe06f77f05551a33c8171fc898b000dd49b WHIRLPOOL c0a0e8c18156881f5137c8518a1d211029c820f56a17800a97dc8923a5d5807b6e0d904282d6b26399470951ef1bf0487df6827ecda422d04d673483e5f07f0e +EBUILD netbeans-php-9999_p20171207.ebuild 4095 SHA256 ffbaabb4399769a1706c41bc2556292e39b9d3b9399ef8e34c3d356629956d9e SHA512 0ebb30a8c9cc91cf8b7a84e38aee625f4cfac773422374704c9a061602a5771f589c38c57b979f02cc689466650f7c21e27cee7af3d67754484d301667967eae WHIRLPOOL 33c8b063f7144b19adb985e4d4f9314c43232bb2f5201a8d9c536e8f859d4d1d2d886753c5bf45b3495bb64d02cd1921a2feee4920126ae5af219aa44feea37c MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20171207.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20171207.ebuild new file mode 100644 index 000000000..9673d9814 --- /dev/null +++ b/dev-java/netbeans-php/netbeans-php-9999_p20171207.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 b00bb4147..53fe17bec 100644 --- a/dev-java/netbeans-platform/Manifest +++ b/dev-java/netbeans-platform/Manifest @@ -32,6 +32,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-platform-9999_p20171106.ebuild 9238 SHA256 b2ff9e6cab67af39f082676ceda2dc3dee597c54aecce74ef9f2270b20131a81 SHA512 7cfeefc0b831d43b1bad41c491f13975dbd56f3338be6e5934772b9096b8c301a7c97fac5a0f7cd048a61b49df4b1ef0a8d431721d32d05abf3807f0a9e7793f WHIRLPOOL 3702a44ec6b0b941b98b19f61aba4d67cf5b51c61954a6bffeb2705bb46af27f38c9f834241b5e1c7c242bca01e813fd46757fcde248fd66b81d814b115cdafa EBUILD netbeans-platform-9999_p20171107.ebuild 9238 SHA256 77e1e44975761e75bec549549dfdc84ea8f1b44b5b16410cdea85e39fa964990 SHA512 db6a93c2cb259412b7563e54ccdf25a8963ca649cdfb606dd3fff18ca7efdd72730f3d8bc6f25c953e5707e1c03ca17dcbea2f692a1b495c3ef6618234f2b604 WHIRLPOOL 600dc87454e7977aa1703f7edca4ba7b067bd39080eef94fb3a5cb21857544eae2aafce1b34e741bf7eecd96ad579e3f84185ebb9d7de012c273b65242638064 EBUILD netbeans-platform-9999_p20171108.ebuild 9238 SHA256 3ba0876b879670f1bfecd2d996f4bff2008fa1d44f979cdce884fb0994e7327e SHA512 065d04894f878182e804ee66c0ee769a7b7a72e9503540795c1ffedebf7db589a5ddf0cf21f9cea9adc6eef16347e01e56cf05a16b43e653fa9165b2006bce31 WHIRLPOOL b39dc09cba622ae57745fc8c08bc6a5043533829a9be4380af3e2388622c77382462d6aea2ef445d26ba47791b972c97ef3c463540abaae99e3cb782de53d7b9 @@ -50,4 +51,5 @@ EBUILD netbeans-platform-9999_p20171130.ebuild 9238 SHA256 cce873dd7e5d3cc779c2c EBUILD netbeans-platform-9999_p20171201.ebuild 9238 SHA256 4174df32d40e4e36ccd97113070b5826ff8f51093e6e574aaff9013b198b9ffd SHA512 ba95251cce129eb34ca14f41963688e067fe50a7c1f145d38ea824fca5f688040f8b3959d8638a82b8b1dc2892d581b26096eeab82cfb7fed0ad43ae5a5032a8 WHIRLPOOL 4242a22107e9b2185dae192eaeed95be4a16e535cfc8bb0d0a70f6830729837723c960a5c6dba2606cab3692e5bbcba1390eafa4ae3bfd0c05e86db38483dbc7 EBUILD netbeans-platform-9999_p20171204.ebuild 9238 SHA256 14c96fef385541a2e063d14186d9213173e3009ca690a267471192a6bd79ae31 SHA512 c8911ae9a0baaa9b6f7260df1d7597611fe27d4df8824235f3e3eb5b41b3d4d437920178af37a12e06e676aad6143e0774f6153582a0a9b3d40fbeb47d0aae57 WHIRLPOOL 2d85b09c627fd182ec100b4c8527dec2ba07d507a91dedf4756c77387eb7709c8cb8df9e8b479e0fbea7551cb592eed818c3607abd1b4fdb6c6f6a4272567421 EBUILD netbeans-platform-9999_p20171206.ebuild 9238 SHA256 92a99c88172b759e03c6f285a154d929998b22ee8e89b236b619d90fbe740d64 SHA512 111447899975fa79f26c796945245d922dd20524cdb7d6c5c43ce91f91651e2b7ea9832513cfff8a5cf960c1e70d89a5f615e7a4db571a28649074f4fd970ec7 WHIRLPOOL d6eac7609e7391c559c57879eef08d22d06ee699ceab463d87cbc724e175da3d646e2980ce928a9355e79df1d257860befb3dd341e529af085f5e9f9d5aa589e +EBUILD netbeans-platform-9999_p20171207.ebuild 9238 SHA256 48fef08cae7ad902e0127ac19982f90efcfca1fe700815e4a3e69842c6033a1d SHA512 3672f24b33fc4fd55f05485e3e442a1623dfba09bb75e6cb923ed4a57ee005ab4f364374da20f3b36db6823ef42cb9bcf4c7336ddb19e8d8269accbf39167685 WHIRLPOOL f3d75de2309093736e672fa6afecb71e9d997ada23ee5d58eac51d354fe63a09baa96b64194a7246a29aa613a1fffcf4c94878d8c1d4fa9a656757e6de9d94ff MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20171207.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20171207.ebuild new file mode 100644 index 000000000..f54ff18b6 --- /dev/null +++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20171207.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 c679a2552..bbc087de6 100644 --- a/dev-java/netbeans-profiler/Manifest +++ b/dev-java/netbeans-profiler/Manifest @@ -17,6 +17,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-profiler-9999_p20171106.ebuild 3146 SHA256 45eb9d34a476061ed0db97197362387bc079eadd7356d78289d15017e31715c8 SHA512 57e8d816b1e538dffb69340f463ad13cae090d46ba6503fed3cce471239c1a8892378d7a34862f60fb7da445353a66d901df0de751bb5e92892d8b3b2519d8f2 WHIRLPOOL ee61847a620caaf591e0bfb7c5c8d5b19d27272ee8ca8584df95954f7e5493ee1d65a3bd356d5f54e8d25da64b8d572ca90db003cad6b8423016ae96f1a82240 EBUILD netbeans-profiler-9999_p20171107.ebuild 3146 SHA256 b8d2aefde34496f79022d33dfdc42536250d3b26176c3c3b4359604b906bca0e SHA512 a9c3082a52b3a45716c1428d37440f8d39cd2b2b68e70274208895ebebdf32fa826622e3f773cb8ac39e8147b6a3cb8a254acb39015d51053b2fbca3411bb724 WHIRLPOOL 398c3ed3e57b418869d41ef4641c78f65379402ff604a8e652c84a245f2419f21513e491724002dbf8a379a6c366e48d9345ebe42b9052ecf9325fdc8566e2c2 EBUILD netbeans-profiler-9999_p20171108.ebuild 3146 SHA256 217a6de3ddb4d5f4140a7cb6fb55065168e71dfcb0e23c3afac9b886bbe2be76 SHA512 f3e39a68b47fc7a60e21163025e07427748f6849daaf3e241086dc8e8fcc787e165d2a6978dbb31312fec847b42a3eb1fd8415c55cfa00163b299bf5ab25977c WHIRLPOOL 2cebe6e63e25a7daf6cf546ae78038faebe3684393648144db1a2d9f6e858998073721479d2a04afc03a7a1ec5a0ea3332d707c7dc33f5323eff1fb6eb26146c @@ -35,4 +36,5 @@ EBUILD netbeans-profiler-9999_p20171130.ebuild 3146 SHA256 58a214ef858ffbcfda3e7 EBUILD netbeans-profiler-9999_p20171201.ebuild 3146 SHA256 1dac8b4ba58235fc36fdbc9dea30dedba4446ba99b546a27ff5a12fd3b0bf249 SHA512 e0ee5bd0ba752abc316b8f05362d3738d176b44800bb673da2289fb43e706c9a341f938c96596d1ce0f64e879540c0f29eeaddf4d4ea8dbddc4d746a977354f8 WHIRLPOOL 0052cf944dba88fba03042ea37efc6838944da65e8534789ac0a635a11b0a069162ebce1a397d10af889e8104568b5431fb862914ad0e66cd7c2f95bc2842169 EBUILD netbeans-profiler-9999_p20171204.ebuild 3146 SHA256 cb4ab3683c27c63c65f41d155307138c9aa43581ded08bdddf621239eb25457a SHA512 52da7344b671d16007a258347d99171fd393ff0527ef23d69f233b34dd52b50b6ffda5f6ab84df830c123fc1d2dd5f805691bef299c2d0227780a56726db2d93 WHIRLPOOL 31e26078c33fe4a56631d3d0a351d7a2afa1a0514685a1c964aea6e141925d766593b7da3deadb6956b6e1454c0c939cbd1e29e0f71f02b5442f51a5a3d719a9 EBUILD netbeans-profiler-9999_p20171206.ebuild 3146 SHA256 4f3b7a72b9823205295fe4b5e8374dd907ba28b0694432fd50102dd4c4742b1e SHA512 49ab51e2d3d19f67c730a7d69a0ea83ce5dbd29cb956df07f44ab598ff0bfe7f110480ab499f5ca80992d973672614a386df36045158b3bbb1ff1e1b0818b685 WHIRLPOOL f3c9e82c388eeed625d77c7193ca39a0143bb3c8c3fa674c3964cbffc89114feb6b6c7546db93fac854c37aee2db900d9980484e9a9cf4c86b731afd310bc5af +EBUILD netbeans-profiler-9999_p20171207.ebuild 3146 SHA256 d35d0e965c57e0b28ae1fef1eea9e70e7ad882195c5fa006251c850e4cac2d6a SHA512 98da0bdaaf3cbbd6d1d48dd9f4c774e63b45200a139e24a9c7a78c148512cf4ad3cea8a528c39bacde1d4c700e6e9b8aea56deae3eb2b05562b6309fc0fdd2d2 WHIRLPOOL 847bfe2deb9ee5b23991ff039c54d22a47650978b4a610986fb7391f4f51e3c8b935e12ed8e590b06eda4aecff28004feceb87b5a36a68e3cc55331eadd8a6c3 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20171207.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20171207.ebuild new file mode 100644 index 000000000..271a296bf --- /dev/null +++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20171207.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 925009052..46db19ba9 100644 --- a/dev-java/netbeans-webcommon/Manifest +++ b/dev-java/netbeans-webcommon/Manifest @@ -31,6 +31,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-webcommon-9999_p20171106.ebuild 5932 SHA256 b78994e37b8f47882235434a4cbaef76abf3adefad3556e2ddb3638239a3d9d3 SHA512 7afe9b3cd9d70ce542165cf729737d96a4249b4991c4f06b32177cb878229e2815a6df4c407b2cbf842249716729a77afb4d7afb21766c812542572997cf4b65 WHIRLPOOL fa151f2bb3dac9430deb83d2ad7f4eb002f2765c116a48406fc4c05538ee7c8f4f39bbf91ead3fc02bbc762a3c4d0211f557b4168b0df49082eb49a1ca68980c EBUILD netbeans-webcommon-9999_p20171107.ebuild 5932 SHA256 17210a3aedd54f1e73d515e0f79c1a1d6d33e3f4a2a2875091078f514ab87ddb SHA512 99b06b8f56f146c539cc6d52884c663709ffc50de8c1826349cfe89b0e7b2f89d93034a44c7dbebd92f852355cd9d98bebed19883fc23bc091c3d702806f3253 WHIRLPOOL 5471d91ffa0f597ff7895fa6cddcd35c91f9a906621d0b5a45f06151a0a71daf99017e88aebde58170c6d11582ccfb0c9830a91d63dca883192aa68e8b767932 EBUILD netbeans-webcommon-9999_p20171108.ebuild 5932 SHA256 25d7d0b2e586aa1854b1b2f4658af5c596d1898b9a09ce4ac440a96537361a37 SHA512 1ac0f72e46fdaa62988ce6eb0c8c763172016777375d00955eb7be2e1f94db49954befbe892893f6d52e09d3c9a637e9706a4995feb1788a60ea128e64dc9464 WHIRLPOOL 2768c070c71904f0c8674a990890d697f2f36c52aca73e9b59b90ed739a537e290957c948f2f755415e49a43471d776b7ca171db74dc02437d5fb555ecc9747d @@ -49,4 +50,5 @@ EBUILD netbeans-webcommon-9999_p20171130.ebuild 5932 SHA256 ab8f9c6479e225ce50a6 EBUILD netbeans-webcommon-9999_p20171201.ebuild 5932 SHA256 0a37cb825ac2b9ddda12f4045abe659d4c7e09e797ff54ca7f125fb182fd92f3 SHA512 657d6c799dd051c34b98ac9cf6c8f1ebb55b9a56721c7121b1d747ff6ee15b2c587bbf3a496430cc986bd8619764283e5608b919a292ab61397045a7446b154d WHIRLPOOL a519a1650f6f8b74e2e17662df7f319dcdbff48c21897db693c3823f92b9e4e303fc3b2be2cb6d0bacb7a1ccff4bbbcaf44c7ebcd28f7dc4f18b0ff4de1e3285 EBUILD netbeans-webcommon-9999_p20171204.ebuild 5932 SHA256 eb7e38c578d661699501ed5a6ce62cfd5185e252de56fb18cc0da0a3a07c2557 SHA512 64204c05a4d28b0991ea3fb3e45e430398b6d76577b1efd9077c39f26289c1685ef6b58c3a08da729e806cbeee3f95fcef450458e69740179ea0d5a205c55ca0 WHIRLPOOL 8134cd9470b0dd68259f6c774a677c3c05932977e9d15e46eae8fd6705a0df8cfb694fe7137fa70d5efc9a4d49522711599223debade125988dbcf4493699fa3 EBUILD netbeans-webcommon-9999_p20171206.ebuild 5932 SHA256 46c83f1de6dab432d022ea243acaa61f5bfa5fc15ac0d94f7ca769c25d7e06ec SHA512 159e85389ab6913c3b327959da7004a7662d2c0615e446d74971af2bea811c82b88f59370b1fc096d951bcb5690589078a0b299a1399043add421081fc8c79a6 WHIRLPOOL 39b3de2ec370d262f5a466431e647e444780fc75d9d3ef4c514643c0e67f179e634703bdb7a1ede52541a3f97c21637d57de7dac0adaaee1384f973039d56e91 +EBUILD netbeans-webcommon-9999_p20171207.ebuild 5932 SHA256 593cb3ec38d6985458b33ece8e301b39fcbf4b34484eadb2d63c62c88e2023bb SHA512 4ea903f9456120f9073ce111fdfa3088bb4683aeccda1f2fc919bc0bc10c0dc8e8f9064d2515a0cfd0580bfc1d58b127c3f9a2437db6404cf18ed272e851e1b8 WHIRLPOOL d187a488eb977eafa3e5019771c0a1f628f2e246959a9f12d788cee3d2e4efac8a9b84ab41dd81fa02ebd77aca0c18349dc9a9b202f8eb88b84e8cafb3bc6933 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20171207.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20171207.ebuild new file mode 100644 index 000000000..db5a124dc --- /dev/null +++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20171207.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 5ebfcadd5..2578ce147 100644 --- a/dev-java/netbeans-websvccommon/Manifest +++ b/dev-java/netbeans-websvccommon/Manifest @@ -17,6 +17,7 @@ DIST netbeans-trunk-nightly-201711300002-src.zip 221062529 SHA256 2fe224120f4f73 DIST netbeans-trunk-nightly-201712010002-src.zip 221062529 SHA256 584995cb148e39249ff5f886a1b7822c8b9c0d7428b8c843b2e70deb7448794c SHA512 6c3a402f38829cfe19e511d842653a831d9b997082e0682b34fa37bbb61cbbecc45a2ca1d1baaf575a93b82406b16a5eb3e68be7d50d032e209e336a5729c17d WHIRLPOOL 81250b9e0c724e9b07acf4539a4fc1db9bf5ad2017ff4241bc629264e4fcefdaa4fe4eb26a00dbfad78e0182492c75ed35df44a1426419046e2a18d49b14191d DIST netbeans-trunk-nightly-201712040002-src.zip 221062529 SHA256 48a1f216a820adb5d7ba0ad933c6ceffb475812a112eb7a6908cb2bd531b93f9 SHA512 b11e496e962dfd3e4a16d9216e5dcaa711f3481e849612c4aab4dbf4c43eda09c2528a76fa2adf1446f763e334a8b7a162ad487e1fbf32b3e42715de6ab97604 WHIRLPOOL c9429635137b4650a987d768d0886d44bda63e4d3f4b6e0598172759474fe078dad0fdd86e11995fa8b75856f71367faf29cc456a1e38ffbc098dbcb60942172 DIST netbeans-trunk-nightly-201712060002-src.zip 221062529 SHA256 84052796c635561a202e88bc5b5d10efc3e568d2df6a40bb9f12372bed5c4027 SHA512 82db272ee7c83f9e7293eaf5f02d45926879e29c656f84b15b76bd0a6c6feacf39fb1c48545b8ef00a8de814b291ffa4d01531ec573ff0ad27ff09f76619aadc WHIRLPOOL 1f5cafdc4376f1922f390e775a2783b7d16f9723b9f08c88203a7143898fc847ad99840d7d1066fc899a09e14b4b70d9b9048cf9bed781386ae0a4bae43c2408 +DIST netbeans-trunk-nightly-201712070002-src.zip 221062529 SHA256 3c5d82b663047a11be9aaf9d58e7284afb684c9b8329fc43056a5098ac198f00 SHA512 07ce12c5cc563b5f6a85acb8f81c5e84697e66b4c6f221f717857be2a1e2719a8bdde94bb374eea8bf4c6956b3cefbedc12dba35658f0b083e454d1c299f67c3 WHIRLPOOL 1e11b9a3476053da5bfdcaf63004aae1b6f19d9b42b543993396c534ccdf4e6f5887d74b0c72fe33a1632804fc54852987253e319629674cd6ba9432a65f09b1 EBUILD netbeans-websvccommon-9999_p20171106.ebuild 2395 SHA256 a59de2ec75f3a41dd452c963ddf007b9e9ad36af328b7b1691a6bcea87676ba2 SHA512 29cc705f512904d9e482882340988c32dea1ad7abdec4b367fdc560a9ca56b0b3e11d696102c293ec8a83dc79f10f99988384233a443c22fa0c3f924ccdc7431 WHIRLPOOL f74f1c437e3db0059a625fda3685d670c9f426ff4ed36d8b818423d3b4cb9ce9eea79b680b0a4453c57580c6df2411106e2b310999602655f50490b7ff09f158 EBUILD netbeans-websvccommon-9999_p20171107.ebuild 2395 SHA256 796d3b5d2451f92e4551abe19d75b215ab00f7b807747a6612763e9539d32cf8 SHA512 618ffc6cbe9957a4335be61ec8f7ac98ae2b5ef7b96039831ec02629741b5e116790f5ed91f7ddb185c9e55cfc9cdcbc4e897fe3773a7427e4a21bdf22942af7 WHIRLPOOL 36cb7db3d427fb58902ad3b9f3f429fbd1076fa293836e6df1d98c8749b90c51aa6125a0316f2df84ad6225fc2f4992e6248d86ed274d13a68749d7765b6809a EBUILD netbeans-websvccommon-9999_p20171108.ebuild 2395 SHA256 d7f8013d3796112e59d26b2313deccc7f806f898a63288e0c67d4144b6f32e2c SHA512 3e8d560d7e5a96fe391f8784121b2d381317312bb002723fd72d5c62b80225bb83943e85182362febee8e38107ba209589eaffc45c500d75f3ce26600e4c9229 WHIRLPOOL b0e21cfcb058cb0c8a6c988aa30f8c0883f46417b665ec27e5b9b5a116122acaed14214fc41b353967a7e9c7640fadc178ab9f662fc8370adf88af3d830fa7b6 @@ -35,4 +36,5 @@ EBUILD netbeans-websvccommon-9999_p20171130.ebuild 2395 SHA256 8c7ca72f2e1e0a4b9 EBUILD netbeans-websvccommon-9999_p20171201.ebuild 2395 SHA256 ddb9dff0e066db75d9801968a4e4c81860f11f38a7eafb6db81f786f6f59a366 SHA512 b3b6a3c8590aa50c35d369e01689f00af4b4e54396534b635115b1a8597f9867686613994937035432b986ddefed571c1f70bcfcb8db02f728fd0bfc1ac2712d WHIRLPOOL b8260154f5217ff36ea1a628329ffbf74f1a860449a12a2a0e64f85f338ca02cc318e30bdf1332aad552d45bb3009b7c2bea7dc826bac1c89428b5fcd61c6c8a EBUILD netbeans-websvccommon-9999_p20171204.ebuild 2395 SHA256 ab04648b479c216a33af8fba2b1879b0595b6782f46ce4a495ada74e833aa5d4 SHA512 1ee592daf9d0e7c512575613574d2a71f5262ab47513d12278087fcb33a11bba9ad8d694fd2e25627ca1ec8a31b502f3c2fc3f9ce40e58ef5fffc17d9ce7271c WHIRLPOOL 36770bde621100a07a24a7ec173228a2a66f56cfe0bb5a1b6f94c1e16f209180a614f6fb871daa1883e86d380b4735f39ee444e0df1fde4bea66cde4a28a848c EBUILD netbeans-websvccommon-9999_p20171206.ebuild 2395 SHA256 e596515865f65e71f0052aa12382785b394f2d6db9f781f62b267adac3505657 SHA512 b3d596e5f3d8442cb385350404a3b59fd7c8dc50490cfcc1b8c3c287803054870c30716a518ec6bf8b8367cad83cc1bd4ea85327bd85a46a5a67610387718c0b WHIRLPOOL 3e14a0a821df32de3cacc0bec3fde96f12142d05eb6eb82a002350ddcd1864f98b9ae61afcc51293fa97c89f666fefe49f77f935674c44b0d745a60aca3451f8 +EBUILD netbeans-websvccommon-9999_p20171207.ebuild 2395 SHA256 b6d9c82e7c62d4c6d749d77d5d2ad21173098a2586cce488c1bc08fcaa68834a SHA512 b2d3c6d5a3d02549bc1018fd2dded5fd3417529b464bf64ad2094a248c58d43bb6958ec06f9391ed5afc053c8e798d708683c6b64136f41cc49a57f088da3905 WHIRLPOOL 9b0b85d5d08a3cebab099faa824ee107752a3b30157f3b7eeb1e99103ae7fcbff5b7c93c69ff7c5f25ed3a71f892671e2504b3ba6124e27abf808adfbacd5f77 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20171207.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20171207.ebuild new file mode 100644 index 000000000..fb183f768 --- /dev/null +++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20171207.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2017 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/2017-12-07_00-02-15/zip/netbeans-trunk-nightly-201712070002-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 +} -- cgit v1.2.3-65-gdbad