From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7337B13823A for ; Sat, 7 May 2016 08:31:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CFC0DE07ED; Sat, 7 May 2016 08:31:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D75F8E07ED for ; Sat, 7 May 2016 08:31:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A6793406C0 for ; Sat, 7 May 2016 08:31:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A68D9188 for ; Sat, 7 May 2016 08:31:00 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1462609858.09be2562d09b830d557b10c6ab829cba4640807c.fordfrog@gentoo> Subject: [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-extide/, dev-java/netbeans-platform/, ... X-VCS-Repository: dev/fordfrog X-VCS-Files: dev-java/netbeans-apisupport/Manifest dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20160507.ebuild dev-java/netbeans-cnd/Manifest dev-java/netbeans-cnd/netbeans-cnd-9999_p20160507.ebuild dev-java/netbeans-dlight/Manifest dev-java/netbeans-dlight/netbeans-dlight-9999_p20160507.ebuild dev-java/netbeans-enterprise/Manifest dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20160507.ebuild dev-java/netbeans-ergonomics/Manifest dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20160507.ebuild dev-java/netbeans-extide/Manifest dev-java/netbeans-extide/netbeans-extide-9999_p20160507.ebuild dev-java/netbeans-groovy/Manifest dev-java/netbeans-groovy/netbeans-groovy-9999_p20160507.ebuild dev-java/netbeans-harness/Manifest dev-java/netbeans-harness/netbeans-harness-9999_p20160507.ebuild dev-java/netbeans-ide/Manifest dev-java/netbeans-ide/netbeans-ide-9999_p20160507.ebuild dev-java/netbeans-java/Manifest dev-java/netbeans-java/netbeans-java-9999_p20160507.ebuild dev-java/netbeans-javacard/Manifest dev-java/netbeans-javacard/netbeans-javacard-9999_p20160507.ebuild dev-java/netbeans-javadoc/Manifest dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20160507.ebuild dev-java/netbeans-javafx/Manifest dev-java/netbeans-javafx/netbeans-javafx-9999_p20160507.ebuild dev-java/netbeans-mobility/Manifest dev-java/netbeans-mobility/netbeans-mobility-9999_p20160507.ebuild dev-java/netbeans-nb/Manifest dev-java/netbeans-nb/netbeans-nb-9999_p20160507.ebuild dev-java/netbeans-php/Manifest dev-java/netbeans-php/netbeans-php-9999_p20160507.ebuild dev-java/netbeans-platform/Manifest dev-java/netbeans-platform/netbeans-platform-9999_p20160507.ebuild dev-java/netbeans-profiler/Manifest dev-java/netbeans-profiler/netbeans-profiler-9999_p20160507.ebuild dev-java/netbeans-webcommon/Manifest dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20160507.ebuild dev-java/netbeans-websvccommon/Manifest dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20160507.e build dev-util/netbeans/Manifest dev-util/netbeans/netbeans-9999_p20160507.ebuild X-VCS-Directories: dev-java/netbeans-php/ dev-java/netbeans-javacard/ dev-java/netbeans-apisupport/ dev-java/netbeans-nb/ dev-java/netbeans-mobility/ dev-java/netbeans-java/ dev-java/netbeans-webcommon/ dev-java/netbeans-websvccommon/ dev-java/netbeans-profiler/ dev-java/netbeans-platform/ dev-java/netbeans-javafx/ dev-java/netbeans-enterprise/ dev-java/netbeans-groovy/ dev-util/netbeans/ dev-java/netbeans-harness/ dev-java/netbeans-javadoc/ dev-java/netbeans-cnd/ dev-java/netbeans-ide/ dev-java/netbeans-dlight/ dev-java/netbeans-ergonomics/ dev-java/netbeans-extide/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 09be2562d09b830d557b10c6ab829cba4640807c X-VCS-Branch: master Date: Sat, 7 May 2016 08:31:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1a33dc75-cbb1-4527-9674-acc18d984842 X-Archives-Hash: ddf8c66d58500f3a8921a01c1af3f7a7 commit: 09be2562d09b830d557b10c6ab829cba4640807c Author: Miroslav Šulc gentoo org> AuthorDate: Sat May 7 08:30:58 2016 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sat May 7 08:30:58 2016 +0000 URL: https://gitweb.gentoo.org/dev/fordfrog.git/commit/?id=09be2562 netbeans: bumped to the latest nightly sources Package-Manager: portage-2.2.28 dev-java/netbeans-apisupport/Manifest | 2 + .../netbeans-apisupport-9999_p20160507.ebuild | 111 ++++++ dev-java/netbeans-cnd/Manifest | 3 + .../netbeans-cnd-9999_p20160507.ebuild | 127 +++++++ dev-java/netbeans-dlight/Manifest | 2 + .../netbeans-dlight-9999_p20160507.ebuild | 101 ++++++ dev-java/netbeans-enterprise/Manifest | 2 + .../netbeans-enterprise-9999_p20160507.ebuild | 266 ++++++++++++++ dev-java/netbeans-ergonomics/Manifest | 2 + .../netbeans-ergonomics-9999_p20160507.ebuild | 101 ++++++ dev-java/netbeans-extide/Manifest | 2 + .../netbeans-extide-9999_p20160507.ebuild | 108 ++++++ dev-java/netbeans-groovy/Manifest | 2 + .../netbeans-groovy-9999_p20160507.ebuild | 111 ++++++ dev-java/netbeans-harness/Manifest | 2 + .../netbeans-harness-9999_p20160507.ebuild | 114 ++++++ dev-java/netbeans-ide/Manifest | 2 + .../netbeans-ide-9999_p20160507.ebuild | 382 +++++++++++++++++++++ dev-java/netbeans-java/Manifest | 2 + .../netbeans-java-9999_p20160507.ebuild | 280 +++++++++++++++ dev-java/netbeans-javacard/Manifest | 2 + .../netbeans-javacard-9999_p20160507.ebuild | 134 ++++++++ dev-java/netbeans-javadoc/Manifest | 2 + .../netbeans-javadoc-9999_p20160507.ebuild | 168 +++++++++ dev-java/netbeans-javafx/Manifest | 2 + .../netbeans-javafx-9999_p20160507.ebuild | 124 +++++++ dev-java/netbeans-mobility/Manifest | 2 + .../netbeans-mobility-9999_p20160507.ebuild | 126 +++++++ dev-java/netbeans-nb/Manifest | 2 + .../netbeans-nb/netbeans-nb-9999_p20160507.ebuild | 128 +++++++ dev-java/netbeans-php/Manifest | 2 + .../netbeans-php-9999_p20160507.ebuild | 127 +++++++ dev-java/netbeans-platform/Manifest | 2 + .../netbeans-platform-9999_p20160507.ebuild | 167 +++++++++ dev-java/netbeans-profiler/Manifest | 2 + .../netbeans-profiler-9999_p20160507.ebuild | 121 +++++++ dev-java/netbeans-webcommon/Manifest | 2 + .../netbeans-webcommon-9999_p20160507.ebuild | 124 +++++++ dev-java/netbeans-websvccommon/Manifest | 2 + .../netbeans-websvccommon-9999_p20160507.ebuild | 94 +++++ dev-util/netbeans/Manifest | 2 + dev-util/netbeans/netbeans-9999_p20160507.ebuild | 254 ++++++++++++++ 42 files changed, 3311 insertions(+) diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest index b1cf67f..b26f9e0 100644 --- a/dev-java/netbeans-apisupport/Manifest +++ b/dev-java/netbeans-apisupport/Manifest @@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-apisupport-8.0.2.ebuild 3314 SHA256 b68fe791f275fe4fcc8b00888688949b8927cb39db2cf9ad7860017c6d20adee SHA512 35c4bbcd34ec0eaef8a2de86c13333d2bf092db61af48558c3e173bb17dbf8fcd15001307bd7c498f4ccdbaa4277e1ee42ff0909af6170039165b547f646c383 WHIRLPOOL 206fe8d5f64e76827d3eb958a629ba087e8a16c2797752f5d9e62dff4166653677587a81be19e0a2c6adcf49292255d532e1f542c02550b1cf6ffd51467bde3c EBUILD netbeans-apisupport-8.1.ebuild 3338 SHA256 d249a09cd1a527bfc4f0dc87b1768aad9f05fc7fe7079fad0094c27d416d030c SHA512 47e5db58581625b23157ef7a7b6e340fce1327db85e015369ac32791178a0836af3348397ac6ff4439ab246170d3318c2062994c81019ff361084f00d432c9c8 WHIRLPOOL 8e379c9219b7730a15c10216bed00c3ec104f84b252d32da629f066095897398a4d8818e07cda5afdf94b115b97ead8de6a9529f38c81c1c41144067f119e54e EBUILD netbeans-apisupport-9999_p20160428.ebuild 3384 SHA256 e866d9fd43d85c959d598d6111e061a3138aea2a9133f516f547a15370086e3a SHA512 cdf600716d69e7b50162f7556e2f70c6cfe9c998c94529be32305cb6bcf732ff568cdb7a3529478c12c72693a8aaa3edd10b2e752f875f6a40ef9599daff9bc1 WHIRLPOOL 5571ecd51924a63326a4759bdd584da6e7c2e5f9b33b7eeea01e4afbd58d6bdf6360e964896112aab5dde57c7b52d136e37e35f35883f3762543afb28a84cd42 @@ -23,4 +24,5 @@ EBUILD netbeans-apisupport-9999_p20160503.ebuild 3384 SHA256 6b76bfffc6277e2ebe8 EBUILD netbeans-apisupport-9999_p20160504.ebuild 3384 SHA256 b538e26b62174ce9bd4ea5ce4cb0b7d9303456db2e80692e8872e428b1c2c23b SHA512 2c5e18afe91dbedf684b349f9529e0595fdda97d0cf9cde80ce7435f1794bd984ac4d8f415a23b37fef1e5acf9ec5c818c854a2f8c5c19dd8ce7807ed220ef72 WHIRLPOOL d31ad9bdd382927e791f42b8c9694a4f56cae2d8eb77bdd19864411c7b628ae18d20537ba95efa793b7072973025a6a83967d186e2738129ccb747a58b5c31f8 EBUILD netbeans-apisupport-9999_p20160505.ebuild 3384 SHA256 8fd3400eeea06b1cad395d647633856e003360cd220a4610b1ed7b002513ad41 SHA512 80bcde442c49a64d8bc853ee89a87ffb4296a20a2232b032f5f6f4f7c8d6f556148b99b4a3b8af5e6e6f77d9265842b02dad481bada861c2a2186b932a91c36b WHIRLPOOL a9aea3e22e8649126e250ee111d75335d50ca8df0ae3c3c18a1f21a944ab6d4f01e68ab43d20802011334bfb0350bec072719eaeb5684d665a9fc391afe93e69 EBUILD netbeans-apisupport-9999_p20160506.ebuild 3384 SHA256 4f78c8aa5383f64832da15491e388b8b803060f97ca21ef73a1cac1de91349c6 SHA512 c8e796157279ccadc99507f566e2d52aac850046385ffe426483704b10eb6fcb1c26b38716f02195dea7122d6c8df5474c5b21ce1a2edc39c8638706f4047732 WHIRLPOOL a41a8ecd221e43532bff16d2edf156becccbf3b4254eba029c7d3f0151600bd91ec99e4fab193d756250baba7c4d7ba1b356c207503f7f0d81501c28c8c9b1b6 +EBUILD netbeans-apisupport-9999_p20160507.ebuild 3384 SHA256 ae79acb7c64cebe92ccd65514b6437077d296f8facbb2930dfac71a259119fa0 SHA512 8a17e730f3b40f0cff89eb8c6c57d71c1da7bfeea8afb96ceabcc5b72760f04626ca9de629091ada9e360403b5a5d6feed811f6569798f362c591260d9d62484 WHIRLPOOL 162a119c6ac1226a66f8cfecf0ecb63f159690bec4bdf23e45d583d845c05d607624cf9afb2a1efed2c58d8348cdf5f11737fcbc2c887d85eec3b0b1204fcf69 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20160507.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20160507.ebuild new file mode 100644 index 0000000..3ea7749 --- /dev/null +++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20160507.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans API Support Cluster" +HOMEPAGE="http://netbeans.org/projects/apisupport" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~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=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 46ad3b8..2951846 100644 --- a/dev-java/netbeans-cnd/Manifest +++ b/dev-java/netbeans-cnd/Manifest @@ -2,6 +2,7 @@ DIST 01540CBF4A1E5CE41E049A350A4A6A8309B8A4C3-cnd-build-trace-1.0.zip 46129 SHA2 DIST 24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip 28980 SHA256 205a14a41fb7232c2a20779278ee1e303e6d3dedb3c84496b370ae397a7767b5 SHA512 0e570745cfb163cb54ac8b6b0f6feb6c76e3c414f03eab213f93637dc84471c0bb5b786af096acdd6265383474bf26db763ebda066add398efe601e5749a51b9 WHIRLPOOL 2d0042e180eba66269d4ccdf6279dcd166b4a34947406b5f7279b0017ebed27b2ea95f1565e57908e3567b303fb69d2cb5ca6504653126611ced84f103650a0c DIST 2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip 152701 SHA256 ee454c52dab7af01a0c292bbbd9bd5fa62e07480d4284a34e38746aba4bb501b SHA512 222ae7d6fc8a1f5610a107264fd249180a7a865094979dd5426fb266b94e1d24ef421199cdcb923ab58577c292a183863c45a1434b4dcb35bd67dbdcde945e54 WHIRLPOOL 821c0e5e9534955ee9b4200476fa1fe65b453520551cb71a71a225bb96ac69ba6c408e9d59b5df7008ec1b8d173035e76358172cf3ebafbbd50d0971db3a8983 DIST 4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar 164365 SHA256 8633aa79a2566f51a089195e09a4581af3ee71bfc13eb234af5e0cf6383078b4 SHA512 f1300e2d1e47659f6113a0a3dcc953766b5a8ab32f13bedf4d6ac652ffcf828c17474d47edec08d7ad9039d7abb8570770b48fa53b8ff6b47a028836490777bc WHIRLPOOL 765c87803d9cf622ae7936cb922ad9bff8823a09baf01a6c8b4a81df8ba5fd7cd17b513b36da9910b75349de45185f4641680f35be8335e08b9c30283b6d3345 +DIST 4E984D00D9ABA25E7C9F65B2CD3BBA56DE82B648-cnd-build-trace-1.0.zip 39863 SHA256 76d5717ea20dea1d687a84106136e4b49899b70ca666a2948e03a6a6c6775c02 SHA512 dd70923129e4fd36e1ffbbfcf3cad162571ab6c78854a334c144207fef720c1c3264c09cb127cee8f2d42cda9c9a9900ad2297a5f38e7c22b987d085c7ce959b WHIRLPOOL b0de802a38a85b6bad6db381c75f23c998245bca38483df7f8528f8f058fcb2f8cbc9b7ff0d09401273e5a6bdc4b92634c806a8daadeafc5d876c780b83b1eb2 DIST 5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar 2388361 SHA256 9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7 SHA512 04be4dfba3a21f3ab9d9e439a64958bd8e844a9f151b798383bd9e0dd6ebc416783ae7cb1d1dbb27fb7288ab9756b13b8338cdb8ceb41a10949c852ad45ab1f2 WHIRLPOOL 488b7b9af1d1d06cca163d43e7be190730e2f0421796c21a26ace11196ee37a16b1bdeea78a1e2e64f8ca0e87f67a2aecd066af21505f3dd92dd76de40a94fa0 DIST 85FD13415B0553D6421F4BBA5FE0F587B9748B20-clank_0.3.6.zip 7439612 SHA256 d1ebb1be55c99870ad6af7f7b40bcea67442bf7b6277e9f41ce4233db1dab965 SHA512 02c93cf30be32afd8dc1f8303f26fbf787957a851db0ebd992fa34325f097e8a9dda923c540a203c5d5dc00787ba818c8dbc17aea9cf354de0a9f48dbf09962f WHIRLPOOL cc04fd4205c4e554d5c6ac537a4867c73e70b9a3c51ae9d0e4e2357bd3eab94d86a45287202bc32caef242d37b057a34b13237c5c9bb05170967c19f8f760a15 DIST 99529DC0E1426A102A98EF5494B6F6AA6E497F62-clank_0.3.6.zip 7930942 SHA256 ad9a64303fc4db833d2789a7d5b0be537ea7db55090189411e5778efff54a8a6 SHA512 46d91f0cbe86af186b87e6b972ecc9391f5b2a670eaf7238b60bb5399c0da40382c729338d1e2cf8ab94eb4ac64bfe9253da1cfad2ec900a87d56df4d299d707 WHIRLPOOL 52ab6b35eaa04d0e375bc4aaad43c4390021309da1956e81db6ba4fc8730da147f35eeceb8a02fa7e42e315296e8be3eb03d88d7d8987fdce30ec433ac5c407b @@ -23,6 +24,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-cnd-8.0.2.ebuild 4510 SHA256 0a9a4e58e28f395b5bcb017016b6ddb1b77afe393d0e5bd81cc05e3a32076c71 SHA512 2b1fedfe292fa140920fd11829e77127f9535e08b8307886accfa37e6d11195a1204e6b71b2640937da0711c3ce0bbf80c0eaa3c248a64fd61b6a3d99d5de14e WHIRLPOOL 10b1518360ade5d6f1f27c79a10f630b94a2ec5062e18df11f9828d4b374e6cbdea0b9f770e01c117ca90fa194dff9bd3be6a468075c2d35167fb78a7bb32794 EBUILD netbeans-cnd-8.1.ebuild 4744 SHA256 e008e92761489558e039a07d4858b5a9745aa38c38c57668cba8b5f6a28dbd9b SHA512 724af3f292851fa1a04ccc95fe0a4f9d0fab5503ce31d2ff11be73779d67bd0f38835b334684f628f8eea2dde44543e6b872611b2bd6c01191ccfe26e69f4ec2 WHIRLPOOL 59ddd65a105dafeb8b783f457ec7a8c67a5a3aceb78ca60ac7c4f45f330b28b429ba6236a643ca0023189a9ebdb1ca0182ec0546943ec2494693859aa8f95515 EBUILD netbeans-cnd-9999_p20160428.ebuild 4790 SHA256 af153a0e0435678331a5a5a43c3f393786a0f804dedbc7fbccc3b539cea583bf SHA512 cae08e9b98753c358da559fdf3387c860fd8ba8a4dd5d787f843b4cfe8f1aacf9bb1d57be5b7e52849abcfcc219262b8bcc338a6ff05451aefd2e434a4d86eee WHIRLPOOL bfaf9faa4bbed952d542ec45d51daa200bb307a922889ad6b586fec4f3386ca995ca1dac974e789a072abb4d69b58ae7c0056086966329af07244a23c0924370 @@ -34,4 +36,5 @@ EBUILD netbeans-cnd-9999_p20160503.ebuild 4790 SHA256 5e5631ed381fcdbf1f7aaec7cd EBUILD netbeans-cnd-9999_p20160504.ebuild 4790 SHA256 0534dc35f278f625fad58f0da70325ba219f9339307b844e61908f1b1d6faaf4 SHA512 a44b7f1e4f36e68a58a9b2e0223ea98cf696f9ce21eb7a9ef06f7a399d2f8b145ccdf77fb2a364eadc9dcc0660f5f51094731b20e4c544bb2035fd9d01cc1064 WHIRLPOOL dc38b435de15d5a6c833d20cbf5c1ee71266721701a6da6e2b09578f366cfe7a72c2da191ba896c99c49096549d4aca54e5558f741e44c3c61d169a5e542602a EBUILD netbeans-cnd-9999_p20160505.ebuild 4790 SHA256 173cca31f0e271ff6cd1944af0cc34f57624eef724facaf96df6f6ab6942fd68 SHA512 79eb381578f98852716e40c7f379c13928cc795c2475ecdfa02b16e2b01d429e395c545411ae32009680664f62ded63faaebd02c9a16126fa7b20503421c6258 WHIRLPOOL 2322422b2ce3b8b0d477d58558374b79f57ff58c1fb8fea610be7184c2fdb629c3c634f755c30bc6059bcab610267c794f8536fd3af0e246a8270b53066b7910 EBUILD netbeans-cnd-9999_p20160506.ebuild 4790 SHA256 8cfb057e63732f9dd06b1bf1682fc6468986fa37d7fe67d85c5de1f014a2cb50 SHA512 c7bbccc2813f96379000fc8189c393eb79b22951d069efaad606ae34892519f024056f279e37c9744a4a6f2017d1a60a0bd25ea28b17ca3f18c9f0814f277f4f WHIRLPOOL a792feed58ff245a4e99d31ec94f995e2ee0fa9b9e96fac7bf7bfb9c661b8788f67a6d5bfa291739d7c1e5a0cd283384c2ebaf4f894c62de3779aab7e6b35198 +EBUILD netbeans-cnd-9999_p20160507.ebuild 4790 SHA256 b757a262243b08e47ee3adb9d7a9903966abbed2b8d3a17f5fabd960ec76f66c SHA512 b673e91a1e6af4f11369f9a8d67e3cb8f16acc0d6415d589fb89b4c5d696e22111064b3345f4a70279b18a7c3096ab1d7099a7c3a3d43e2fa9bd7057dcedc347 WHIRLPOOL fda9bdc1843e8abf24b9c672f69d98c93c9246ca926a6e301f20aa15dc30a506f4f8e9f9e113d692c2974bcf3cc2bb0f295c560ed81b1402303ce73cfe5a4fa0 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20160507.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20160507.ebuild new file mode 100644 index 0000000..02f2110 --- /dev/null +++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20160507.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans CND Cluster" +HOMEPAGE="http://netbeans.org/projects/cnd" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar + http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar + http://hg.netbeans.org/binaries/85FD13415B0553D6421F4BBA5FE0F587B9748B20-clank_0.3.6.zip + http://hg.netbeans.org/binaries/4E984D00D9ABA25E7C9F65B2CD3BBA56DE82B648-cnd-build-trace-1.0.zip + http://hg.netbeans.org/binaries/E59851B0E49C05D728D5C653E52750FA5B6A8F0E-cnd-rfs-1.0.zip + http://hg.netbeans.org/binaries/C51780D99464CBF45B0495C7646B442AB3C7B463-open-fortran-parser-0.7.1.2.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="~dev-java/netbeans-dlight-${PV} + ~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + >=dev-java/jna-3.4.0 + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-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}"/85FD13415B0553D6421F4BBA5FE0F587B9748B20-clank_0.3.6.zip libs.clank/external/clank_0.3.6.zip || die + ln -s "${DISTDIR}"/4E984D00D9ABA25E7C9F65B2CD3BBA56DE82B648-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 + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 jna.jar jna-4.2.2.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 +} + +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 a438ae9..e6bf991 100644 --- a/dev-java/netbeans-dlight/Manifest +++ b/dev-java/netbeans-dlight/Manifest @@ -15,6 +15,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-dlight-8.0.2.ebuild 2898 SHA256 08402481b573b90396431be03bda45904b2dd29f0086e09a111fe362e310c3f7 SHA512 3f6d6c9ea0043382562fbe47ad16e3273032407a74cb44ec7ff26736f96483835af4be8674361e910912a550b9fe592cc5a28c2b93b6b993076553195c35eac5 WHIRLPOOL 9d8706ccbc0d97b0f5d64ebf22c36316b08d8fbccd57408119ca5f5faef08c7f82677bf67488ff611eabeaa730e4c9a730c50966d94d738cfe79330ac147863d EBUILD netbeans-dlight-8.1.ebuild 2922 SHA256 f003a099e3f82f5ab53dcc56d86c00a662c98f47480feacac2a77ffea90ccd0f SHA512 94706ac4d8570deb8860236300cfeddfb2c3cbfd385ecb438a039991deeb018f292f6dbb2267d7c701b7f1b5b88d200f2c25696fb3204fcf205c15155b26d1fc WHIRLPOOL 1e44f40c8e2c03b7aa7385ef20a3247ea15a4d4705ce4b5f860bffe236eb578ab3d912f2cc2457e5906158ae747edc3b6b92463336c69af9cd58eca3fccb223d EBUILD netbeans-dlight-9999_p20160428.ebuild 2968 SHA256 a78d9fe846d94ed422c84a3dd06ff9b4eba872d64ffd217817f93f3bface22ba SHA512 c8ba6923704e00c0da015c99217c078e2eb3b548fa80f0a17d6189e94e7781ae57cb5c9a67e3921fb1c4dbba717b73cb0b56542ad247c0ec740578cf981ed78d WHIRLPOOL 6828cb5cd0d0669bf1114d12f86dbc386cb3f49df002501b61bfc518c507882f961ebc63cce7e9d3382961189be71e51ca4acedcbc93c9d7547bcd93b9f36750 @@ -26,4 +27,5 @@ EBUILD netbeans-dlight-9999_p20160503.ebuild 2968 SHA256 9758edb2ba54853ec7f8e52 EBUILD netbeans-dlight-9999_p20160504.ebuild 2968 SHA256 c31dcca14083b07d621e3a5eba0412aa766ce0ff8010ce91fc820f2679fb7760 SHA512 5b1abe7da9acabef64b3cf44ceb12a8140beb89ec17cde9c9fa2d3646ccd4716e573d544ddd024c49a39dd28ee634e8c8fd2bcd945c53178f0be864135c8b277 WHIRLPOOL d69d37215a78016e8a5af3db3c2a30945bec93c9ce19c46ddf3ce4c545b36b160fa86511d3f1e63144beefd1c789bd95d49c37b31e06b809544569c407a912e3 EBUILD netbeans-dlight-9999_p20160505.ebuild 2968 SHA256 df406609c6dea46a11bb1f9518e09df7bdfcec545723e1af334b73b947041be4 SHA512 78af4ac0fe2af4b45d5d92654471bbee098490c9467bffa4b0027735767e68a259d6ce367efaff515a754b49ef0d6c0d7639b45a63d84275e70755ecc3cf7b69 WHIRLPOOL 3eedf9771b5dd62438e73c6b2970edbccc36310ae53c4af9061caaabae1777eeb3ae5d16a3335a2446073ca643866028c847450fe466fafff28d80f91f68edce EBUILD netbeans-dlight-9999_p20160506.ebuild 2968 SHA256 f071a634b1c0c1ccc5e519d61c9a15b8b2243ad7d7052d1e681e3407d2e6d46a SHA512 954dfd1a8fb88d212b686bf16f70e94fbad1f1b90abbc6301adefff742ead2003f447fcff628ded4352d3bfa6b35347c13ba2e78475ae8f4af480423fe95ce52 WHIRLPOOL 4bba51bedc361c2cea5d61243c6222c1f2f695d2232aad42da4d4a493f2601d94fecb76a0ea47d555ddf07e82fd3c5a68bb98420d081de0c341971f1b848da9c +EBUILD netbeans-dlight-9999_p20160507.ebuild 2968 SHA256 8a863ea0e2ea87cd29f49b20a9e7bc65fffb94ef42b7046faa9283f591efe440 SHA512 ad259516b255f559005c4bc5c732a4c8be87180f1bfde76575be672605de880293a3a07c1879631c3b1d6e3d022fd0da2af2313792a037b72bf537b7ae9989e7 WHIRLPOOL db5bdf4f463605981126e4b0392a79f97dd87a7986dec84c93aaac823effcdaf060de5db92c24611ed0548a8ac846141bd075ecdc3407427afbbaab39cbf470a MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20160507.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20160507.ebuild new file mode 100644 index 0000000..043de48 --- /dev/null +++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20160507.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans D-Light Cluster" +HOMEPAGE="http://netbeans.org/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/0F89C62CA701D20BA9A9A526D4D017888C3B5A65-fs_server-1.0.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/0F89C62CA701D20BA9A9A526D4D017888C3B5A65-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 984b526..a7e5961 100644 --- a/dev-java/netbeans-enterprise/Manifest +++ b/dev-java/netbeans-enterprise/Manifest @@ -44,6 +44,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-enterprise-8.0.2-r1.ebuild 15075 SHA256 41d376117ad1d8d59c8194debfd29dc42f5fd4de70aee12a2134ec143a604dda SHA512 4cd9de88e9a401cc0be88e3e2605abc411c47307818376b2bcc00f9ae570b21324f2bf00fd83e819bfa076da0fb07811fa1f0f9362a6cd0ee05b63221a199000 WHIRLPOOL 73f4518c14430fe7aa3614ebf1b11a06ba0e9bce7479af2770db3a114f149d575a16a655218f757ed416b5149228ac56dac700f5a8d5e034cc838bfa4092e636 EBUILD netbeans-enterprise-8.1-r1.ebuild 15888 SHA256 d4c04ccfee01a46819020cb7cf8fd8297618f3c0431ae2d9dd7eec8131f988ab SHA512 6c7c39c378cb79d3f382cb80d07710a8c5233aaf0df8fb58889ee6aa6bde73624efa6aa49b43f84105685094a7aff89e4b6367ffd1fd113da27b42d50d07e983 WHIRLPOOL e678e2a6957e428c1b6e51469c0e7cc6a08da2c797f1575b6bb660a7f3281c00f071179de459e27c983304915b005baaf94ad4fae0a4c08162f218bf53b7d821 EBUILD netbeans-enterprise-9999_p20160428.ebuild 15825 SHA256 d36265c231f1f56c998acc0e6268f1c61be91492a9243785066dbbfc6ff3053f SHA512 c7c3a2ab27a93d457f5f95341b6e740e66ee57dca0998cadb6f97842084a2450669fefb0bf3611c52df23b266bef5004b916e769e2fd6886915705729d79e91f WHIRLPOOL 8e461fad4f405bda6a70b1024fd9ef18b8070deda66b328838cd1eb6b0665727553075222d489c2f657eb286da8c33b48f1de347efd514f28860c8aa397c076c @@ -55,4 +56,5 @@ EBUILD netbeans-enterprise-9999_p20160503.ebuild 15825 SHA256 9e947b3056a704cec3 EBUILD netbeans-enterprise-9999_p20160504.ebuild 15825 SHA256 294c324135d41c8ffa76019433da273988ed0c9e0122739c117176adce67334b SHA512 656ac83dabb963be3cb3a8be36a203b70bfc81041bc6ac1b0b112b7427d7f5a6a03ea60b35025fe718fb8d55e2472c7390e36f1abb9842d21e204558e423cba6 WHIRLPOOL d683b7eac0e6b47abd28ae662265fc7c566941f8c9269ac3aeb2039759e221a4881cdb845cc013e7c89cecd6983cd213a24f4c514da1e7445ade9b920a847ee4 EBUILD netbeans-enterprise-9999_p20160505.ebuild 15825 SHA256 8da1648c9f26e48e55ff58fdc9eed9d9cd9820949d85eacdbca52c27bf57e0fe SHA512 28808fae58b3eaa0a4128f29d4fdead96eab5f51a640c61c4fa9a3ccefa0e8604cdcf16014fd9895478999f85760604db0e8ef59b21df4d80be42651076b8348 WHIRLPOOL b37551986ffc10ed84be7eca623674490e85e4443cf91efd75709db2d6cd92d072b541707fc069447dbf438876d4987c53b7865e9be24fc529b967721f8c8aab EBUILD netbeans-enterprise-9999_p20160506.ebuild 15825 SHA256 72a954557f27b6451a9b6b9dda47e15dcf8978babf72cb04af8a7dfc89cdeb04 SHA512 08680acc34681c1ba50aa806c0bb0c6b1ba42b7efd5c2cf4cabf1057d823ca82baba6e9cdaa764374013a7bbe3f5474155e5d3179e74b44f5d7891a55812dbc6 WHIRLPOOL d5538887358557a55bd8dc0ff18f3c272d26ebd2662869f5b21d2eab825b87919b0139ee9d55e4be13e34d33fd2be38b953574910cc0048f3651d42dabb8819d +EBUILD netbeans-enterprise-9999_p20160507.ebuild 15825 SHA256 cd489fd2fe291118ea7c0e354aa83ccd671216de7ae82d0711464636d22b1e76 SHA512 e2123f67def93ada7c404723e4dffd805b760783a91c1593351d734f86b8073f425d730157903a9623f13590b660458ca418fedf2246120902eabd959b443afe WHIRLPOOL c75ebdccf46bc9dbab0b7afad83d8176ad2458d1e867124e388eb21d2cfbb31dd73b1f3b53a221e8526c05e44b100a934a4dfb82c160cb3d35b3ff3e4463f3c3 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20160507.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20160507.ebuild new file mode 100644 index 0000000..57a3d03 --- /dev/null +++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20160507.ebuild @@ -0,0 +1,266 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Enterprise cluster" +HOMEPAGE="http://netbeans.org/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar + http://hg.netbeans.org/binaries/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar + http://hg.netbeans.org/binaries/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar + http://hg.netbeans.org/binaries/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar + http://hg.netbeans.org/binaries/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar + http://hg.netbeans.org/binaries/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar + http://hg.netbeans.org/binaries/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar + http://hg.netbeans.org/binaries/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar + http://hg.netbeans.org/binaries/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar + http://hg.netbeans.org/binaries/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar + http://hg.netbeans.org/binaries/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar + http://hg.netbeans.org/binaries/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar + http://hg.netbeans.org/binaries/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar + http://hg.netbeans.org/binaries/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar + http://hg.netbeans.org/binaries/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar + http://hg.netbeans.org/binaries/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar + http://hg.netbeans.org/binaries/C614ECF62381F88208D66D96146A8307781058DB-jaxrs-ri-2.5.1.zip + http://hg.netbeans.org/binaries/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar + http://hg.netbeans.org/binaries/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip + http://hg.netbeans.org/binaries/99277566601C4D5C2598B0206B5DC071932F3641-jsf-2.2.zip + http://hg.netbeans.org/binaries/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip + http://hg.netbeans.org/binaries/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar + http://hg.netbeans.org/binaries/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar + http://hg.netbeans.org/binaries/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip + http://hg.netbeans.org/binaries/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip + http://hg.netbeans.org/binaries/065BDCE80509320280B3B5210FCDDAE9B7D50338-primefaces-5.0.jar + http://hg.netbeans.org/binaries/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-api.jar + http://hg.netbeans.org/binaries/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip + http://hg.netbeans.org/binaries/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-lib.zip + http://hg.netbeans.org/binaries/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip + http://hg.netbeans.org/binaries/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~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=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0 + >=dev-java/junit-4.4:4 + dev-java/tomcat-servlet-api:2.3" +RDEPEND=">=virtual/jdk-1.7 + ${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:14 + 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-r16-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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-14 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 684b511..8b8cf78 100644 --- a/dev-java/netbeans-ergonomics/Manifest +++ b/dev-java/netbeans-ergonomics/Manifest @@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-ergonomics-8.0.2.ebuild 2843 SHA256 f9262f6ee7f2aed1fab9bf4cf756f565272e9894afa50b349735e39961e7acc3 SHA512 f158c27640541f7aef31da050e0811c07a251ae4797cc663b95a074a47eaf9d6bb7a9aa11ba38ea55e75c185f7dba74629ba6716a819e8ad68eb3db9ada71451 WHIRLPOOL 4fe9634fb673fb05dbba25996efc3a212ef3bb23ab6e7c732cb75de076feb930735e3901806fd9c801abc7ee8aa8eb800718065325d415371255a886474061d4 EBUILD netbeans-ergonomics-8.1.ebuild 2867 SHA256 6d2c0b7221d47b64c77b243c8c5232c6d8c24d3199eae5799adafeac609b2e2a SHA512 6302c8c13d43ec51048e8b0439916746a01bb67f14e7cd21be95b4179df6106dcff1d3973b9191f7a36cf6f29d53b1d2308864f5f64d9f87f980ea264b1a97c0 WHIRLPOOL 63ceaad04323d9085dfb90d1e5075ad13f6e14e8991b13aafaf3fc174440152054f32498ac8d03f57917744887db3bc1efdfc30b473b8d1a33b514ec4960ea6f EBUILD netbeans-ergonomics-9999_p20160428.ebuild 2913 SHA256 03be7f911ef9e0cc84ae0c302552ce8755cfb31022c087e620b214d4becdef0a SHA512 4961338b8b363a36000ab2ee47d567bf8bf7fdd7e10d63c046f9b1d00ea415390e1cfeae5d02d6090afaa5ab45f7c05b1aa3fc071f1c073eaacb288eddad4832 WHIRLPOOL 110c80e66dfd1e0f880f50fbbc8795445dfb62f6c6b7424b0791067b9b28c58979bd7e56f4df31d3da8f86aa33df43529c3d3f1c795ff14424e8530176c7db46 @@ -23,4 +24,5 @@ EBUILD netbeans-ergonomics-9999_p20160503.ebuild 2913 SHA256 69290214e30a39963b1 EBUILD netbeans-ergonomics-9999_p20160504.ebuild 2913 SHA256 f50cee0830f21b75cf6825ea57b6f3cedd4d28a5e531de8053ba4d28e6a8f8e1 SHA512 e8d15f0cb0fc668a92ae69975d3f9eb15cf8bee1379909e5fa63f9f037c868321a30e6ff81e52c23b75444697ac9f01ea82fd97c46c992c1c58218421d423572 WHIRLPOOL eb2218645f5146707077ee84464a61355c191b11c1849ebc07324859eabad5d53023629f83bfeaabfd63408c7fa05c9b11560a7037ddfcacb41cda65a7ab965e EBUILD netbeans-ergonomics-9999_p20160505.ebuild 2913 SHA256 dba5325a46925e55f1dd0157d15126c1098443eb6468ba152ac862feffda15e3 SHA512 4318a2362d21d33d5371eddbefcc3fae64641d1652990f477a3c271dadfcae70367da60d9070b3ba205874766927a5a1b0edeb6b4b04260c207b7bf7d2f88b7b WHIRLPOOL 8a8ad0ddb94beef6ecd90204a3309b46a4881db3d454ddc32fb74e8bccff555dd2099fa3aea8f9645097d168b82a40e147a0d7502a42d28ffa83a4827e069a1f EBUILD netbeans-ergonomics-9999_p20160506.ebuild 2913 SHA256 173e2ae37e01edcf3820068b00c762184fe28f9c2963e37c2c5a63bb0b85414a SHA512 eaa7133a0198026803331cfe911ed46b1f5effc74939381799b051db9ea24aae97803e18b43581c8b1f180a23bf9f214767392b0b4989e88dc96af44457bb824 WHIRLPOOL 53db449a8dd4e6c9dd2aa291613e3e05aa6d1b3f02bf731cf7fd54a1f513f9a5e3976861054fe013b30c48c8c081e5b441f45b7a9297f903e4c4324a0a35e597 +EBUILD netbeans-ergonomics-9999_p20160507.ebuild 2913 SHA256 559f3095401160088d42c1f1b035a0112cde0e2ad040f9ad8af1e16f5122d5a7 SHA512 323c85f7cbcfee0debde160d4bd280fd89aeb4a03faf52169a43582a629294f9abe9791e8d523651c3b199a73321b2d3e56f23a56d44852ad190217a2830b833 WHIRLPOOL 8520d1c31b3d37c7ed4d0705719764435e4415883227c496a81401fc0294519cfc215819bf4ddaae850161d22ee161aee072b8f22da27791ab19c728799ab1bc MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20160507.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20160507.ebuild new file mode 100644 index 0000000..b3beaf5 --- /dev/null +++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20160507.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Ergonomics Cluster" +HOMEPAGE="http://netbeans.org/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-nb-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 ea858b5..02872f8 100644 --- a/dev-java/netbeans-extide/Manifest +++ b/dev-java/netbeans-extide/Manifest @@ -16,6 +16,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-extide-8.0.2.ebuild 3307 SHA256 084e952eae1708b0fab785fd34313985e864dbc74a8531a0d5cdcf906e88f85a SHA512 ade8dc37aa932d7ec20966199e521311716061c23df08d02635f78efd2776f1d7bf040b0f9c9488b947bbbdfb3e33fa764723e3dfffa2214892bc6d685428f6f WHIRLPOOL ad2c26b005675ebca7d902ff1e6caa28552f3fda6795e327cc3584cf109f0ad6efad6516e15af5e70d689be236298b0948003e09a3da4991b3e29a1c85607b2f EBUILD netbeans-extide-8.1.ebuild 3331 SHA256 7d81adb3cba102e13678052bfe288e8417753ebceb69f69ce528ede3fedcef04 SHA512 ae445552036799069f31b40c145879ac55cf0964e168f328ac84f2d434171de8c4848e3416ad7425563e8565c09f798c9520bb3cb7511348f5d6a7522b878e40 WHIRLPOOL 44142233d4d3047ebb5c152992b484e5fef1fddd04cf274cc370f00beece5a75a986e5fadedd4bc18a01559c4f6cb58289cefbfc24d8d098d70056707e8b8f57 EBUILD netbeans-extide-9999_p20160428.ebuild 3377 SHA256 b69e4995f884a7524e29274702b2eb3851dca8a7c74a618d98725fe26f951332 SHA512 c8fc3c04d1fc7b2586bcaa5972b1f40ac94b09097f4ad0333d50e9c494f2b2e131dd504c5a274d0b130b1887e2ace51eecca46f20fab32198a123591e6fde228 WHIRLPOOL d921c10e7a80ac065dea04ff546b5635eb8d251a37cc0d8b7533097cc4fc28683d3a60b1b9bb8459b1abc4878fdb306f07db6d80ca65e92dba9543b32866f412 @@ -27,4 +28,5 @@ EBUILD netbeans-extide-9999_p20160503.ebuild 3377 SHA256 30985f7b9499a01b8156ba1 EBUILD netbeans-extide-9999_p20160504.ebuild 3377 SHA256 edc6470cecbbde6d464589d6381dd3a54645ad91b42cdbdc8294238c222dbe3d SHA512 6fb9c657a8678b8a1925496af5cdafa7d32603fcc5293edc902e14cbca29eb866bc62620f29d37deb6ae8ce43cbb3200f8bed04a2233641f2752db9289bd1a6a WHIRLPOOL d0416bb308650f184436b3e66a46b67a18f73b5c158395d269eeffec2c0d4d94a1bc810e33d485673356dc920ea010a2a3780b8990925a919f8b7513add81fb2 EBUILD netbeans-extide-9999_p20160505.ebuild 3377 SHA256 a098e5af48ff5b8f0dac8ff42e34e866d4ba3c9d5eca0a505e874863dd4d48f6 SHA512 2cbdf74d125cf11164a2cc777e6672fee39d759b5b6e60287b8a3c10de428ad43d89922a1ee838f7f4b644bd961c57cf2dbde66db8d96b4f365bef5796dd127c WHIRLPOOL fe12217acf1fe7e0fc3005f5e823530a2d1fe611c9be070fe5ce1b0220770d88a18fd7acbeedcdfee54cef0cfb3bb2d0fa365ff85b760fd1c421bdfb7bcd68c6 EBUILD netbeans-extide-9999_p20160506.ebuild 3377 SHA256 b00deda1ff1ccd14e4419c98c9118a25441229cb60b4fae3106faefd05749670 SHA512 fc82f4aa14b502a40ee164f37046b090a4084effcb1a04af8f20b6699ce6f716ef7b737372cee8a6e53c873b3e5382199ff8c84853dfe4f2036d968b4d8e340a WHIRLPOOL aeab15f612f43f2694e53cc0c80d577a7c4ca32b9741392db33784e93126363880ec1948bdc64a14f3bdb062129e4c36bd3b7eef5a2738b9594e0778d198b377 +EBUILD netbeans-extide-9999_p20160507.ebuild 3377 SHA256 48629a8cc108c70ddda71209b0d42a82c5e88edbb554a3a66de1aa213c73e6ee SHA512 28005a104d299e8ab4241443334b536b385e500dfaee56a3a5adddf1e78da4682cd3160d5d1f246fe82b6d6dc8ff2bd8c404eaecf1dead7a8b8b5da6154cd9fa WHIRLPOOL cfa9fb1a80c69f839a1e96e6080692deab587096d55e076d0d89bb61370212e35490dea80ebe3a9bfa57219086d958c26120773db97358e134e23ddf3bfbe301 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20160507.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20160507.ebuild new file mode 100644 index 0000000..9cd895a --- /dev/null +++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20160507.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans ExtIDE Cluster" +HOMEPAGE="http://netbeans.org/projects/ide" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/BEA15848D713D491C6EBA1307E0564A5BC3965E7-ant-libs-1.9.7.zip + http://hg.netbeans.org/binaries/545E2B7AB1BD579CC76E3836055877982C5CD0C6-ant-misc-1.9.7.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + dev-java/javahelp:0 + ${CDEPEND}" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/BEA15848D713D491C6EBA1307E0564A5BC3965E7-ant-libs-1.9.7.zip o.apache.tools.ant.module/external/ant-libs-1.9.7.zip || die + ln -s "${DISTDIR}"/545E2B7AB1BD579CC76E3836055877982C5CD0C6-ant-misc-1.9.7.zip o.apache.tools.ant.module/external/ant-misc-1.9.7.zip || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 3f97d06..e9bfbb0 100644 --- a/dev-java/netbeans-groovy/Manifest +++ b/dev-java/netbeans-groovy/Manifest @@ -14,6 +14,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-groovy-8.0.2.ebuild 3346 SHA256 907e6cd11c222f15c826494b44929483803f0e4249de0d54db51e6855b574148 SHA512 8bb37121e7e32621959318d109b1d982e2c705a9deb7171f5fef1dcaed55fc5718b0bc9e6bbb2592cdaa5e96d874bb6e6bfa96d06fe09f14d5250c1485eb1da5 WHIRLPOOL d5e09fa1e975835f05c6132c091fee4ae9fc9dd671af9f5f88a9195d5cd4a93804f96687ed3f2bd741117fa65773f2c464b3cfd6697425039cc51a940efa2a31 EBUILD netbeans-groovy-8.1.ebuild 3370 SHA256 ca32569d438060704e4d5d5e46be2ebf20bffdb0ae2471d8718ada8676f32082 SHA512 40555d2ffa0ddab1e55ca514eddbd98c6e721caa230cd174050fb56f144def46f389b0ac018068c9f509936c83235b2d3423cae8676db7c96e8782b0da73e4ad WHIRLPOOL 7b2b021581db21aa8ff90ea188ddeea0974ec84fdb064cf367a56a6fa53487affe89edb1880a83934a2cf0c586060a9192838687ffebf33b55e79d9ddc7ac986 EBUILD netbeans-groovy-9999_p20160428.ebuild 3416 SHA256 e79a68a525a8e7b9929f6099fcd1e18066daf75b72d06556c2fa24ad49c5b998 SHA512 3d2b217ce426091f0f3cbc1f3ea8881fa21c5bb482da2830349d1283ab9192354100b994b1a3ce4cb86265356035b417e1855d3a50e88e13cd41154bfc00c83d WHIRLPOOL 72d71a968c86d7f7033c35b624852e32dfce945c6711a74b30ef71f3f017a6fc9ff1dfce9c57e1c4ccb273f60c7263dc221fcd7a26a0ffd2acaa4b5f44c05450 @@ -25,4 +26,5 @@ EBUILD netbeans-groovy-9999_p20160503.ebuild 3416 SHA256 fbfc03ccef3cc3d57a5a857 EBUILD netbeans-groovy-9999_p20160504.ebuild 3416 SHA256 b67581ce3ecd67505cd4a92eef79a6c21f4270228af03fa9da428b4eda43eaa6 SHA512 f1d7499541006f431e8053b9021794d3bc502c0b2fd09b6d91f6187253c4597abc529a3eee0dc5ec98ba80a14acc8ed083fff2022d205a8896fbd0dcd8fa5dc3 WHIRLPOOL 48196e6fa39302eff0e8c8ee561b85efd701e25e28e504f1630451a322f9fec634ac3c321dc751c6b8abad7f4c15b851d8dbb24eccf22d94dec608fb499db221 EBUILD netbeans-groovy-9999_p20160505.ebuild 3416 SHA256 001f06e585484fb1049e6f116b3ab096f45a6f06b740fd712137422b890a6e52 SHA512 b7fd494521fe2ce3b626a836f7a8abcd7898939ad7b613f3616bae921826a915ab1eaca7b19dfdec7cc2a919b59cf640fbec29e9ad715663e56165a11d2a864d WHIRLPOOL a0b6e32b790b6cab41db99d0ee7eaebc3b55b8649707fe500ad49fc927398a58ae36b82ec78ec7ec6377cac473b0b63c0a11b697bd205ab5959b7280a496d797 EBUILD netbeans-groovy-9999_p20160506.ebuild 3416 SHA256 5dcb25c339a01ca6dad90913d6f68cfae90ee1a217180fa1f24dc286832d220b SHA512 c5fbdde03b1d6cef6b5b96ed8fd78c3051de3aefac6a253a15b48b76c9046a38593173fa69e40fdf68fd242a2fac98d44b5a311086c011aafe44e1ceae9a8186 WHIRLPOOL e4653bf5b64444ba061fd8077257da7d704864e8cab3d6ab9c9d8d59e64fa4b7b391af47088276a388cb98f4dbca7ddf198fefb0c622d039c05e7d6a408ff52a +EBUILD netbeans-groovy-9999_p20160507.ebuild 3416 SHA256 48dc2fb9af109a0dfe29803b5485b3253ac8dc77219705abd631e552e50cf7a7 SHA512 a75bbe432f5369654d6f776841656023ace0f56c6d477eb1c77333eb7833f5294e14deefc71d35182e36d9b7e649886f35a999abd1b1e971bcdcd2db61fa3571 WHIRLPOOL 241cbe090d0d4ca85300732299cd58fedefece517b00791e770053ea716e50b5c6f34bed7e9ce91d43e4bf46ec988d2d0f07b72502c290465dc74e80dd4a6744 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20160507.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20160507.ebuild new file mode 100644 index 0000000..b2a02e6 --- /dev/null +++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20160507.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Groovy Cluster" +HOMEPAGE="http://netbeans.org/projects/groovy" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://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="~dev-java/netbeans-extide-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-java-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 57bd274..1dabec3 100644 --- a/dev-java/netbeans-harness/Manifest +++ b/dev-java/netbeans-harness/Manifest @@ -17,6 +17,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-harness-8.0.2.ebuild 4055 SHA256 2674d562adc57648c82cac9f714f74f9d29dd7b7ff7fa7f0ef37c43ef0975489 SHA512 7d72bed5b955b2365a4c11fcd97a2d6f2372ab939fb9a03b3ff7915053f24d695373c1aa154f6e6916d37ef3ace7b38864d575419460382760500576dae52e49 WHIRLPOOL 72f54a6cb83f282a75f0abb073109414a7b8bcd4e9263466281e68ff34148a7343ed3bd78ebdc8afd109b6b9f5b9f15bfd0e250f418fcaa4986a7c886b57b9f6 EBUILD netbeans-harness-8.1.ebuild 4079 SHA256 116b90d6e6fd1b1ad8ce99c81104262a416a485b3a3110beed70e9381333cec2 SHA512 77ca4bbaf078adf6e13c0fea0a8e673262aaed60dd799ec161584589fb4c791d9bd758c87f4272297d863d3992b54a66b77b7bf05135cada530d111e1c428e68 WHIRLPOOL d385cd6292f31a5817a2c096f960330186a68242b51ed26e4272f33a690a98175e0b622a5d5309e1e6a72ff824662964785b7d235cf3a73ba4d715cd19e89dbb EBUILD netbeans-harness-9999_p20160428.ebuild 4126 SHA256 6fa78ddd6b86962f5c5ddadd1493edf1f6545863f195b3bf390c970a07cb0b30 SHA512 6a9dc57df3f90fc79d5d372454fbabfa86ae4fbe951896018dfc6682663617721e3cbff4e68c051bf22c5d0764840ab2abf993f3754f7d6c27c44fe20125bc2e WHIRLPOOL 81e8cbac2a7fb4b976bdf5c6764f619f3b9130cf3c1d0f9ea80eebf3c58bba95aa61a8e5c10c2d52122a138c58fc51f5ce63fb36a1462e98577e64bed9e8637a @@ -28,4 +29,5 @@ EBUILD netbeans-harness-9999_p20160503.ebuild 4126 SHA256 75b892c6486ae549d11ea6 EBUILD netbeans-harness-9999_p20160504.ebuild 4126 SHA256 f2d05ecbc1a506855bbbabd16956e88410ce07ece2c50cee7501ea6df44400e4 SHA512 b7ce335eb0c4eab6863238135fdd347aea931c871cc99c681fa4405000c177e2234844dded10cad8f855ef2c9e3c992f7212ff6031542a9518df10e1aa577f27 WHIRLPOOL 0580ee1ee3126c7a2d5428a1729f1c4af30041740ce378a01f12f98c58764cdc242bfaf18d5dcc4232b8293fef5db6bacbce48fcdd9cdedeb103a2950c3595a2 EBUILD netbeans-harness-9999_p20160505.ebuild 4126 SHA256 dbf3bf5320b9677387bd5323c15c25681f5b03770814b1413c1ebb0751209d57 SHA512 d0f6f477047c9b1129f82d9191ff91bb5e87defedae0a6f7a521066a8e8383d29c41500786447861650280473ab7d251498c8e71e70a54d58b6519c026532e9a WHIRLPOOL 17b174155875fdbf9048094502d770d9ca3961b0335773d98889fdc35ff7d8cd2890f2746863705967088b0c19a6a97607367bff71dfe73fbff4d060f31a1e40 EBUILD netbeans-harness-9999_p20160506.ebuild 4126 SHA256 ede7879514c710883f84ba1575897a7f2babded7a25ae27f5ba85dda1f419df1 SHA512 96ec703c9349ac2dc263514050a54e9a7faf2ebacb9250e33dcd240f0d817670007a1d9d466b4cf5e4d2ddb3482dbcca70d66d9e8451320cc571de65a2d1ced0 WHIRLPOOL b392878a09217e5140c28c63abbb32ee1be495ae8841a990940d701f186bff84c75de958fb817e3dd1d30dbe16af6af97735e8a5fb3230518ca354b74d094c42 +EBUILD netbeans-harness-9999_p20160507.ebuild 4126 SHA256 cdfeb4da090e8f479fc8b3f5ea2d352128ad199bd62f625fbe1dea65a77d5897 SHA512 871d836753893c36e2683f9d5d3c261f6c7ff97e3cbbc8318c18da756308b854392ad14524faba2b1f2c5b6221d442ef313b402a09f5573b50c42d492830904e WHIRLPOOL 7ebfb01ffe6c6acfb3a40837d23fa9da00bbc100c3b366867cfe1ee038617044807c3df7b23d08dbb9b52d785e6ea92b7168ff83d99b90238ae34d95219f244e MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20160507.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20160507.ebuild new file mode 100644 index 0000000..80ef1d6 --- /dev/null +++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20160507.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Harness" +HOMEPAGE="http://netbeans.org/features/platform/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar + http://hg.netbeans.org/binaries/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar + http://hg.netbeans.org/binaries/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip + http://hg.netbeans.org/binaries/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip + http://hg.netbeans.org/binaries/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-platform-${PV} + dev-java/javahelp:0" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + >=dev-java/junit-4.4:4" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 7ac15bf..5c0e0f0 100644 --- a/dev-java/netbeans-ide/Manifest +++ b/dev-java/netbeans-ide/Manifest @@ -151,6 +151,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-ide-8.0.2-r2.ebuild 29330 SHA256 4822cbe26fc19685164c35d69e75bc20578ca8a5ce3394fe97bde6acc721fd2d SHA512 552f35cb1aa5429beb70c72a0cd2a3aa3a006f5870ec4084e88632a39e2ccdc05d0b2b15a87f26c72cdffb3c9a6fa0a124a8d501edeef9aa9580396922071e8d WHIRLPOOL 4c9bce3ca21d5ae61ef9392b9282c2dff9de7f82f2e83d2944a2906ca2180ef0ffab59489bdbb6afc7ba88d5143d77b47a0cf6b219a5a4d385b68afcacd3fe6d EBUILD netbeans-ide-8.1-r2.ebuild 30301 SHA256 892f20531352d85b5b72b1c85352eefa444917b515b0b564f04c4f91d1e654f9 SHA512 50af4873fd3ea7755b0d33b086be7e07766b6c009a46ec3954a67a1da9930378bcf9da6d18b7e60078b31af4b36ccf060f22378a8ef26b3829ccf30a529dd023 WHIRLPOOL 1024af16e7cae7f4728dd37f88031be33253b7c62548a095d3e827abeccb6c183d34ce312bd1a0f808f0d107aff217e4b81b7a17eecc6842e1d914d7061df2c9 EBUILD netbeans-ide-9999_p20160428.ebuild 30761 SHA256 d6735e6e8cf412cbfb9dd4a2f0f68f8296b74e03fe87b12150506f7c063f281d SHA512 d3c49f4a00823801049688170c461ebcc5de106f30fa11e232d953a56cf196c946610cbda0216f393c28923efd5017a28d8fc5870d90e98c6a5fd347a400711d WHIRLPOOL ba3d111337fd5e21e3a4e97457c1f00f2b53b0af20991833203c6f68301520853731f63b291d6adc55d6a96b42d52e13e6d65bd6dcf529c39bc40f30d334155a @@ -162,4 +163,5 @@ EBUILD netbeans-ide-9999_p20160503.ebuild 30761 SHA256 21fa636c0499aad3637016566 EBUILD netbeans-ide-9999_p20160504.ebuild 30761 SHA256 289783fb0f91bf72c6ed454502c83b3d873c84ee30233511424b51f728c27815 SHA512 1c3069b700f250180cdd28c81eeabe8a6cf2a5212770f8bdd09ce51152a05d02c61f158b443948f98da9b5f97baf1ab6a303a101ae05527ee0902017fbb2bb53 WHIRLPOOL 1af62258953ac0521bc4fb6edb0fb88d863abe8e79b9a3b1140a1cb1686c9de611fe162c9b2488a29f0133859ec0deb6865d2d60642853c3b364747d2190c944 EBUILD netbeans-ide-9999_p20160505.ebuild 30761 SHA256 dbe5adcbd6a617c9da1fddd7b0d0d04098c2f48c00c5960c0302d2451b80d435 SHA512 faf4b282fb63c98fee24c1f87d8b6dcd87c3285e5735a1c0ef72f2c1d38705e45207aec10f2a251fbbe1275887c33c59b967fe1e5234e5289146450db10413c0 WHIRLPOOL a67239bdd9695007a52daa779c230e4b662c8f63bb932f8601e3eb82e1597033e16f8b8b1b68884e6868b8505e7da41949d074f558a6635e6002f14399f3ca2c EBUILD netbeans-ide-9999_p20160506.ebuild 30761 SHA256 f0b1b022043a5f04c6951fa71889f58deca378ec07074866d849b83bf1fc39cb SHA512 7edda08f34b7b113d0692061394f5ab02e837ecc8f67d5867ad67b0c0af3e4425805eacb92dd769922dfbed74012ad98a404b9b85bdaa2be3f7948cf3310eaa3 WHIRLPOOL d69c2768783970cd18aefafca408f67cc91dd430feed74b6f95dced5767930627e6a4a728ce7ea21cfba719ef89bdc96861ad9c7ebc182c42ffd043d446fbe01 +EBUILD netbeans-ide-9999_p20160507.ebuild 30761 SHA256 fe5d92a8e420dcc61f1f3ea6108c57d60c4dd16ee65aede15b0d0f06933d7cd9 SHA512 b5511eebf0b552085dd1ad6e00de54dbb509131ef1f5d41ea6629a755d925208c5626fc933e4cba53b0abad3bb17b64c6aef6214eebcf5267cb55d5746dde6f0 WHIRLPOOL 579c27eae140f5b308ccfa9e7bc34350bafdcaf60986e0d73a00abca68bd4c9202053047f439ab75d2a6a0af20abff1792e07e6605db242daaad96ce2841c580 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20160507.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20160507.ebuild new file mode 100644 index 0000000..1a8eed3 --- /dev/null +++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20160507.ebuild @@ -0,0 +1,382 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans IDE Cluster" +HOMEPAGE="http://netbeans.org/projects/ide" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar + http://hg.netbeans.org/binaries/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar + http://hg.netbeans.org/binaries/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar + http://hg.netbeans.org/binaries/DCDA3604865C8E80789B4F8E8EECC3D4D15D00F8-com.trilead.ssh2_1.0.0.build220_r167_v20150618_1733.jar + http://hg.netbeans.org/binaries/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar + http://hg.netbeans.org/binaries/0CE1EDB914C94EBC388F086C6827E8BDEEC71AC2-commons-lang-2.6.jar + http://hg.netbeans.org/binaries/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar + http://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip + http://hg.netbeans.org/binaries/83E794DFF9A39401AC65252C8E10157761584224-css3-spec.zip + http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip + http://hg.netbeans.org/binaries/3502EB7D4A72C2C684D23AFC241CCF50797079D1-exechlp-1.0.zip + http://hg.netbeans.org/binaries/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar + http://hg.netbeans.org/binaries/ED727A8D9F247E2050281CB083F1C77B09DCB5CD-guava-15.0.jar + http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip + http://hg.netbeans.org/binaries/2541D025F428A361110C4D656CDD99B5C5C5DFCE-html5doc.zip + http://hg.netbeans.org/binaries/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar + http://hg.netbeans.org/binaries/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar + http://hg.netbeans.org/binaries/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar + http://hg.netbeans.org/binaries/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip + http://hg.netbeans.org/binaries/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar + http://hg.netbeans.org/binaries/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar + http://hg.netbeans.org/binaries/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip + http://hg.netbeans.org/binaries/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar + http://hg.netbeans.org/binaries/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar + http://hg.netbeans.org/binaries/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar + http://hg.netbeans.org/binaries/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar + http://hg.netbeans.org/binaries/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar + http://hg.netbeans.org/binaries/3699DFFE17089F9B9C73857EDA9B8669AAD657D3-js-corestubs.zip + http://hg.netbeans.org/binaries/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip + http://hg.netbeans.org/binaries/7C0C3CFD989EE775198337C11715C1ACD6C84F41-js-reststubs.zip + http://hg.netbeans.org/binaries/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar + http://hg.netbeans.org/binaries/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar + http://hg.netbeans.org/binaries/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar + http://hg.netbeans.org/binaries/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar + http://hg.netbeans.org/binaries/F406B7784A0DA5C4670B038BF55A4DCD4AF30AEB-jzlib-1.0.7.jar + http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar + http://hg.netbeans.org/binaries/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar + http://hg.netbeans.org/binaries/AA2671239EBB762FEEE8B908E9F35473A72AFE1B-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar + http://hg.netbeans.org/binaries/1605B38BB28EAE32C11EAB8F9E238A497754A5B8-org.eclipse.core.jobs-3.5.101_nosignature.jar + http://hg.netbeans.org/binaries/20800206EB8B490F3CE5BB8AC8A7C3B9E8004A30-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar + http://hg.netbeans.org/binaries/D2D2105B1E3C9E2FA6240AD088237A57590DDA8D-org.eclipse.core.runtime-3.7.0_nosignature.jar + http://hg.netbeans.org/binaries/16507EAFDC2B95121AA718895BDB54D616EE4B0F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar + http://hg.netbeans.org/binaries/BD55836AABD558DC643A7844B78866AD990544BC-org.eclipse.equinox.app-1.3.100_nosignature.jar + http://hg.netbeans.org/binaries/4EE275AE73A140A403903D7E4DBA68C8FBB07001-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar + http://hg.netbeans.org/binaries/B7001D9CC2E2AC4E167D22A13063F0350C71AAA9-org.eclipse.equinox.preferences-3.4.2_nosignature.jar + http://hg.netbeans.org/binaries/C647079E36A4EB7A24AED2C545E4F0F94194C4D1-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar + http://hg.netbeans.org/binaries/9267CF311F979078211A70C1B19AF8A8EE71DC8E-org.eclipse.equinox.security-1.1.1_nosignature.jar + http://hg.netbeans.org/binaries/B580E446B543A8DD2F5AA368B07F9C4C9C2E7029-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar + http://hg.netbeans.org/binaries/244560B99152F3F9BC75DF2D6FAFA8A5216B06B6-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar + http://hg.netbeans.org/binaries/8E2776DE17446EC7450285F19F2C6366117748A8-org.eclipse.mylyn.bugzilla.core_3.17.0.v20150828-2026.jar + http://hg.netbeans.org/binaries/D4F2BE52B5C048158B5C046C0ACAC3965027FE12-org.eclipse.mylyn.commons.core_3.17.0.v20150625-2042.jar + http://hg.netbeans.org/binaries/4C753A9D8AB768A55EC99A377A0D22EDA67BAE25-org.eclipse.mylyn.commons.net_3.17.0.v20150706-2057.jar + http://hg.netbeans.org/binaries/8E52A783A3700FE2F3AED720CBEF6D895C0D5DBC-org.eclipse.mylyn.commons.repositories.core_1.9.0.v20150625-2042.jar + http://hg.netbeans.org/binaries/50F0A49BDF7C5610E3E602609926065D47A16C6E-org.eclipse.mylyn.commons.xmlrpc_3.17.0.v20150625-2042.jar + http://hg.netbeans.org/binaries/4F2E28BDB091E2DD215FB9B16C8708513288F16A-org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar + http://hg.netbeans.org/binaries/11D1982BE23B06B2721240F424DBEF9F5FDE7F45-org.eclipse.mylyn.wikitext.confluence.core_2.6.0.v20150901-2143.jar + http://hg.netbeans.org/binaries/A3FEF6144ED1622E4CDD506B9D745527CC675D8D-org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143-patched-nosignature.jar + http://hg.netbeans.org/binaries/825DC870D1D423E347F4F8229A211A2C297BB15D-org.eclipse.mylyn.wikitext.markdown.core_2.6.0.v20150901-2143.jar + http://hg.netbeans.org/binaries/C3024631DD14008D2FF35A576C3D82AC6FCB2E10-org.eclipse.mylyn.wikitext.textile.core_2.6.0.v20150901-2143.jar + http://hg.netbeans.org/binaries/17C0C8D6DEBF5EBE734881C131888D8088BD9E7D-org.tmatesoft.svnkit_1.8.12.r10533_v20160129_0158.jar + http://hg.netbeans.org/binaries/6819C79348FCF4F5125C834E7D3B742582DCA34D-processtreekiller-1.0.7.jar + http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar + http://hg.netbeans.org/binaries/DAAEFA7A5F3AF75FE4CDC86A1B5904C9F3B5BBF8-svnClientAdapter-javahl-1.10.12.jar + http://hg.netbeans.org/binaries/C47ED3BCD8CEAECDE3BDEEB7D8D14B577B26F9C8-svnClientAdapter-main-1.10.12.jar + http://hg.netbeans.org/binaries/AD4A88D99AB7C5B64C8893CA2FF2CBCFCEFC51C8-svnClientAdapter-svnkit-1.10.12.jar + http://hg.netbeans.org/binaries/5C47A97F05F761F190D87ED5FCBB08D1E05A7FB5-svnjavahl-1.9.3.jar + http://hg.netbeans.org/binaries/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar + http://hg.netbeans.org/binaries/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar + http://hg.netbeans.org/binaries/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar + http://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar + http://hg.netbeans.org/binaries/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar + http://hg.netbeans.org/binaries/5C322A10E13FADE0451263035B7AA26B63AAFA47-validator.jar + http://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar + http://hg.netbeans.org/binaries/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar + http://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar + http://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-platform-${PV} + 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.1.46: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=">=virtual/jdk-1.7 + app-arch/unzip + dev-java/commons-codec:0 + ${CDEPEND} + dev-java/javacc:0 + dev-java/javahelp:0 + dev-java/jna:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-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}"/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar libs.nashorn/external/asm-all-4.0.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}"/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar libs.commons_net/external/commons-net-3.3.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}"/3502EB7D4A72C2C684D23AFC241CCF50797079D1-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}"/3699DFFE17089F9B9C73857EDA9B8669AAD657D3-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}"/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}"/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar libs.nashorn/external/nashorn-02f810c26ff9-patched.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}"/5C322A10E13FADE0451263035B7AA26B63AAFA47-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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.json_simple/external json-simple json-simple.jar json-simple-1.1.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-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_jar-from --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.53.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.2-1002.jdbc4.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 --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 jna.jar jna-4.2.2.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 activation.jar activation.jar + java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_1.0_api.jar + + java-pkg-2_src_prepare +} + +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 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.2-1002.jdbc4.jar && java-pkg_jar-from --into "${instdir}" jdbc-postgresql jdbc-postgresql.jar postgresql-9.2-1002.jdbc4.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 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 6f151d3..c7003b2 100644 --- a/dev-java/netbeans-java/Manifest +++ b/dev-java/netbeans-java/Manifest @@ -45,6 +45,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-java-8.0.2-r4.ebuild 13298 SHA256 d4172dfdec5afecb1cd099e18a21aa872c7822bff40b192b5f4ec4d35e6e0ef8 SHA512 48ae6f7141117fbf58123ded750d76f2e7311211a6be3b62bd491349817460da11f781ec5694da91584315547c32008f568fac3bfb406dbdb5ed7fd825ff694e WHIRLPOOL 73fb68aec003707c14b2b390c2de80f24e1e5413cf7e16cf7e661af47c908e2d559214580379e45e21d316767987ac906b5a119a61ae39f03c3d01dafad49b7c EBUILD netbeans-java-8.1-r2.ebuild 14814 SHA256 1f49212c90fcaa9a6483f19bb60c963520f20aa08c2a509aa19cc7fda12e4564 SHA512 2d6b225f5d32f0ce1801124808b0cc2101f16a703540877c4818be06694742cfa262c3a2e7018761254f9244a7992eb7fe9bc15cdb20f6f4cb83958789c0ef42 WHIRLPOOL 8557163a46ea91a47efec3c272b8a8a0f2acbf9eaa8f6c280d0ddaac6dd8b2185f06716ab12ebf76fb87fe6c05ab1a14bfd281875ebef586f1304d2162e5f2dc EBUILD netbeans-java-9999_p20160428.ebuild 15656 SHA256 197082a052d63c9aea66f8595e7a2cdc28ef3a0c3e662f4dbf215d794e2b8129 SHA512 5658fd47bd0582945b333a666e47eab9d358fe92277725edfdedde5ae5572b51aed6a63808e13c5d27bb788738fcd263baf36c6b1ff8740153fd89605a5aa9f4 WHIRLPOOL ac7ecbd6bea378255961f986f2998bc6bfdd6bff3343df76ad4f3445bf2d8a0815437cf547dd50a9b4ed4c80b57c027e77b9c39b22ed3d9769dce35672ec02fa @@ -56,4 +57,5 @@ EBUILD netbeans-java-9999_p20160503.ebuild 15656 SHA256 6f01ff849afc9b4f7816e7e7 EBUILD netbeans-java-9999_p20160504.ebuild 15656 SHA256 3a8bd1c525bac4af14417dc38211fd01cb5b52df8b6945de3d5b906ed170bbd6 SHA512 e8bc680ce33f01f1949abdb0805d204d44e24d7f364ebfb7c1eeb0e7b1de7f6b0bb34542cefada2edec9d6e2f835cd8fa8f3ae346a8ae478f8b133e098b8b487 WHIRLPOOL 505ae90dc7579010d431e9e40e70e4eb548d57882f82381ba31ea34fcb8b27e80fd61be128fb1270084f63f4db6d518459d60a84f1e5edbe8f377f7800f21fef EBUILD netbeans-java-9999_p20160505.ebuild 15656 SHA256 d24aa8e1ce996aa5621b951f14ea16425218256d6d45f4903f3d70a289a30636 SHA512 e666f80301f729088ca5ea4fb8ce4282de63cb183d409d269f4e65b9df6114caa49ef76ff570b9379d3d0fb6f0b940ce046e3ce77837b6986d10f442d6e5eecf WHIRLPOOL 9f7d0bbf68869cf8f45eb451e52c1ceca35e71f70bd95214282aaf8a3b2bacb7f3ff6908ed0756ac59e23ddb314da7b215f3d13d7790e48ec57e89a0ea5a29b9 EBUILD netbeans-java-9999_p20160506.ebuild 15656 SHA256 47531285bfd1edf428352196116ab41134bc3efa111231c752101d1b91c4de07 SHA512 23aa52b93e751d5a4c8a4119742f41d9828e047b7cecf134f99fc372cc12ffd5d15293e0cd5f7440d59492e7456632a3d2a86ce9881c141c4706fea0022f023b WHIRLPOOL a212b4d6206fa983bd0b10fc54c719ba87fdcb8e2228c4adea81f485ad89b171da1b51f2e260623628a566c9732116840977c80bb67c3f55461a0c93df454b93 +EBUILD netbeans-java-9999_p20160507.ebuild 15656 SHA256 058bdb033b7b74421329564311f9025801cd4818403d8970c7f45065f5e55b93 SHA512 4d0802d21498f96eabe025d477cc869db2443f3df9deff105d834fc2a42c32aa0046115d20f02f8e1f88e87c8dddc2aa12749cfd2aa0736ff8af71945e5599fe WHIRLPOOL 376918e3d87b9ea9a363e7d9e7f8c140742d6d42a35f1cedfd51ee920fa5e7f52e5477af749041480468f6d791701adfd1347dd59fb12ba52396aec148719f63 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20160507.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20160507.ebuild new file mode 100644 index 0000000..e1fb70e --- /dev/null +++ b/dev-java/netbeans-java/netbeans-java-9999_p20160507.ebuild @@ -0,0 +1,280 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +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="http://netbeans.org/projects/java" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +# jarjar-1.4 contains also asm libraries +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/839F93A5213FB3E233B09BFD6D6B95669F7043C0-aether-api-1.0.2.v20150114.jar + http://hg.netbeans.org/binaries/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip + http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip + http://hg.netbeans.org/binaries/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar + http://hg.netbeans.org/binaries/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip + http://hg.netbeans.org/binaries/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar + http://hg.netbeans.org/binaries/E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.jar + http://hg.netbeans.org/binaries/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar + http://hg.netbeans.org/binaries/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar + http://hg.netbeans.org/binaries/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip + http://hg.netbeans.org/binaries/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip + http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip + http://hg.netbeans.org/binaries/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip + http://hg.netbeans.org/binaries/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar + http://hg.netbeans.org/binaries/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar + http://hg.netbeans.org/binaries/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar + http://hg.netbeans.org/binaries/5D007C6037A8501E73A3D3FB98A1F6AE5768C3DD-nb-javac-api.jar + http://hg.netbeans.org/binaries/E3764E0AB4F9F9ED16AEB6A68B8E3F2442DDCCB6-nb-javac-impl.jar + http://hg.netbeans.org/binaries/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar + http://hg.netbeans.org/binaries/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar + http://hg.netbeans.org/binaries/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip + http://hg.netbeans.org/binaries/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip + http://hg.netbeans.org/binaries/BFCC4C322190D6E3DD2FA9F191C0359D380D87C5-wagon-file-2.10.jar + http://hg.netbeans.org/binaries/4EF309C09ABB5F8B2D0C6A4010205DB185729CDC-wagon-http-2.10-shaded.jar + http://hg.netbeans.org/binaries/3B96251214DF697E902C849EB0B4A0EFA2CD1A53-wagon-http-shared-2.10.jar + http://hg.netbeans.org/binaries/0CD9CDDE3F56BB5250D87C54592F04CBC24F03BF-wagon-provider-api-2.10.jar" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~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=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0 + dev-java/json-simple:0 + dev-java/junit:4" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/839F93A5213FB3E233B09BFD6D6B95669F7043C0-aether-api-1.0.2.v20150114.jar maven/external/aether-api-1.0.2.v20150114.jar || die + ln -s "${DISTDIR}"/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip maven.embedder/external/apache-maven-3.0.5-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}"/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar maven.indexer/external/indexer-artifact-5.1.1.jar || die + ln -s "${DISTDIR}"/E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.jar maven.indexer/external/indexer-core-5.1.1-patched.jar || die + ln -s "${DISTDIR}"/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar maven/external/jarjar-1.4.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}"/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar maven.indexer/external/lucene-core-3.6.2.jar || die + ln -s "${DISTDIR}"/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar maven.indexer/external/lucene-highlighter-3.6.2.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}"/5D007C6037A8501E73A3D3FB98A1F6AE5768C3DD-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die + ln -s "${DISTDIR}"/E3764E0AB4F9F9ED16AEB6A68B8E3F2442DDCCB6-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 jta.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 c847977..eed4004 100644 --- a/dev-java/netbeans-javacard/Manifest +++ b/dev-java/netbeans-javacard/Manifest @@ -15,6 +15,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-javacard-8.0.2.ebuild 4906 SHA256 944fee40d693c2c287e748f70ba565f3cd84bb7c19110f8be716134ec20694a7 SHA512 1f66cd2756effbfde7d43f9da7d8d93cb6252c58a02ee3d821f6faeaf63bf3c63e28f80c6eb44689e3aa954452a2f3893c65e75de84158dff1da0d94cafea14a WHIRLPOOL 88197e03008b8acb1ce62f72783bb096d9a3fc2a289b83367841a8adbee2bf822031f9bd6051831515ee44b1d5d2a109c5646f98ca723506f27c874301fb4189 EBUILD netbeans-javacard-8.1.ebuild 4930 SHA256 5342d0d3f4207da3d36eb19f0fa78015f33b4a6e6435fcf43b7f568afabb9d02 SHA512 5275ae0fd617e26cd8580f6256a766bdd9cc0299f5a488be5a97744ec6abddf262e5fb1db358b9ac00203bbedfe7ac152828b174856d9cf6fa06e1e2128e219b WHIRLPOOL 427bfed5b61a421340acf7ec0cfb5e88a8b4a68cb546b9d0546b7c69ab0e29700d03e2bf58641bde63a2a43579b0521c028cf57dbf25af280fb0732565a30617 EBUILD netbeans-javacard-9999_p20160428.ebuild 4971 SHA256 953faa9ef469c397ce24d47c608926a014b50202ec5197261f4d7118a5a2be0c SHA512 a14dc4090bef622fd3b13dcf19d2f692996d541b54ee156c2bd7cc87da5a5273c955fa829026f88e3d04be09f4275e41be797eee29a64c0b5af13eb7955b9527 WHIRLPOOL fed09a4d12a7adb2ac2de781f5452df9764cd56ae26e8396d516c06e739af88f34b44135f1a7a136d972ff545fb807d69fd6ed2fb82370eb09020a4f822e8a8e @@ -26,4 +27,5 @@ EBUILD netbeans-javacard-9999_p20160503.ebuild 4971 SHA256 f3bc609cb166322b8b586 EBUILD netbeans-javacard-9999_p20160504.ebuild 4971 SHA256 98273508f1245cbc3ff5f62168907ef1c19a44dc02dac2ee02ead909b80da237 SHA512 fa8e305896ffb5fcc4d85a0af45ada636160a0c98222699a1696a25757bc278817180002817f8efa35fabff4871d6339f890ffb60438f66f3cac14a2f7d6fe6b WHIRLPOOL e2ec096db9bfe78dd28bd52bd87d187587d01845457885585f4f9f6b05720e160d1b3d3162a9e0511b4a680f3cb1b373eaa5400e224e32ae0d56d5dee1d40583 EBUILD netbeans-javacard-9999_p20160505.ebuild 4971 SHA256 821151cb3b172b6a322f5f47955b04f4331015ef985741a197ad762673ce9693 SHA512 ab526bdbd3c3a04eaae35045b59ec1db95d595d3bd42d6c5c7f2a3c7052e118ddeb4d7951dccb2a91efd6a4ce814e01c881464e5be88fe72ad75099b79b53eef WHIRLPOOL 591634cdf178c3e843089cba36662e38ebda6e12d4669b2ecf68ceff84fef132c00d47a5b434647119d8027b33b367a38527f06f2cff68333e0863a0b69bf59f EBUILD netbeans-javacard-9999_p20160506.ebuild 4971 SHA256 3994936ed99bf6869b44340e65ec9057d6da109221e5a7a06f3da179d3b2e772 SHA512 ea4957a6f76bdc3013aa152e11659af204c783a2c4fd41b133077cef516793cffe9cdda267eb185b6e6fee56469ebc5d3717a32251ac463457daec9043052f8a WHIRLPOOL 9a38cb15f7ff0770d500b9cf73ac7e2b49b209ab458e1d6728b9f3e00496fd38af9457b245f0cb85f6971b2ae5ce648e57358796d249da325dce5cc3e569cf30 +EBUILD netbeans-javacard-9999_p20160507.ebuild 4971 SHA256 4db71464037647eb5949fe66664256cd768dee1dd8e612f038d43f71ce776e7e SHA512 b555b0b0be3e480e65378d3c4f3d0cd4ba5c9ac3f747d683ba6ccaf4b5e33f3b4aa540f432ffb7846b6a94a4b7b1e60d0bfa994403a43578c19b40f1a5bd4d02 WHIRLPOOL 7371517dd386ad0139dc0715732ec1996b04866365d523a88951f6c3af1253bfb9ed1825eab73b044230d7c56fece09204e7d2792934925db2df7f781f73353d MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20160507.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20160507.ebuild new file mode 100644 index 0000000..b258c50 --- /dev/null +++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20160507.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans JavaCard Cluster" +HOMEPAGE="http://netbeans.org/projects/javacard" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar + http://hg.netbeans.org/binaries/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar + http://hg.netbeans.org/binaries/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-extide-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-java-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 df46b5e..e08e9d1 100644 --- a/dev-java/netbeans-javadoc/Manifest +++ b/dev-java/netbeans-javadoc/Manifest @@ -14,6 +14,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-javadoc-8.0.2.ebuild 5993 SHA256 baf9da38d87b86eb8ed10ef46017361f36ca8583dd90885c9d1667a51851bc52 SHA512 892bc25b30dc26e3ee7c8be9aaf8542c00a7fa1d1d8f883d82bebb816edfa93e1ee9abeac1b0c47ecc8b4169bcaded56c5c71f18151fdc22fe241fcee0fd4521 WHIRLPOOL 2012f28f3ba5074b4d262b20e9a1c8ddf590ce444339ec1a404c890867c1271e38f9f9e09717d0648fae061553f5c8da3d97a70c35c8e853fe4894fb6fd4ec96 EBUILD netbeans-javadoc-8.1.ebuild 6247 SHA256 5f0ab01cbea85353ac471a46e341750785f4889732c9da111d77b87bbd1bcc2d SHA512 4a4636f4f58a9baba9d9f5bac4ee7d4f57c0e07d6790902d34974383660f2926c4c4b16a27bacc2a3a7a0a6d5b7699caae90bb2ac513ac8e0535e46d11ec345e WHIRLPOOL 9cbac0234b9f1a8122df116512d5154b7e85561fd9541e0a77dc5c2b5863cf3238400ac17d05499e950705309faa97caace6da00c912ea07d6a74b0076f683ed EBUILD netbeans-javadoc-9999_p20160428.ebuild 6293 SHA256 a45afe043254c2596f50568a88fe8e61738ee230c369fdc09e583b1898af2b35 SHA512 4a06b6abae4513a4fc810f735546777ff7f68f63f49def5a210dad83e09a75c44b59c80afb5bb6a22f6bcaa28ff97021ac2b987cbb2d4f4715abf7e3ac5d090b WHIRLPOOL a8a400e470bcab256c606583faa300745e3fc8f604c0788e3a37d6015c7f1e6781d4444472dfa6359a1b6001d2769ab175da299c783c5e5f6e8261890c41f407 @@ -25,4 +26,5 @@ EBUILD netbeans-javadoc-9999_p20160503.ebuild 6293 SHA256 c8dbe927c4ef271466c10f EBUILD netbeans-javadoc-9999_p20160504.ebuild 6293 SHA256 770899b7b69f99b7788378b46aaf348a1ee11165e321163df3914fbfddd40e07 SHA512 9103411121d8578aeaf55f4e6bd2e42c9085091ee50cf8746206e992c74b1dde18ce6a2180481aa701dede757c6a729b1ec95f53ef65fcb21372075d492f02d6 WHIRLPOOL 9efed21e05bcedc9f1111776278ec86b7fec14660056fd6730f67620d405a2de73dece8be2b4291cf908ef6613fba3fd548b33ba8fa2fed90fd76c6a9ec4e55a EBUILD netbeans-javadoc-9999_p20160505.ebuild 6293 SHA256 abf79f24be83a540435ede5db7f25c5b2cee47c94f5b82d0ab3fb60dcb1ed334 SHA512 a3e24c99ce6011437f6120c6e24c7fad11b6ae64a115cd67cc02bf2ed7781710133ba88b3fed02ce3141a9e23318a3a5540c5863efed688e95629683edc13f41 WHIRLPOOL 20704cff9161448ac319032a16303c4eafc267c0bdb5b6fd3b8d2f64169851801e184275c24cd1a3caeff0cc5e5378023fbe0b270784ff6b64506cbacd22a704 EBUILD netbeans-javadoc-9999_p20160506.ebuild 6293 SHA256 cab2313a3c978064507478ca214af8f8817d076dcff5330952dd7a802d812b86 SHA512 8940849846512f798d173a49cddf65fa8629fb8c063227aa9a3d876622b51ca814126bb2f2119c53f168bf491a3aff7a9cb8a4faa4226508c8dc8d8ab60dd23c WHIRLPOOL e2a7dfbcb244f51adb9e4d085eb54df09591863166e6168959603200ba44cf5b2d4633eb9c7f3324175249545501965f397803ff2287fc795dd7f1172d84fc7c +EBUILD netbeans-javadoc-9999_p20160507.ebuild 6293 SHA256 ada56bc2a7f2b96c0dbc17d4bd9019451edebc2a604bdf94213779ba278d762f SHA512 5e0291f8fadcb1205aac746b9231c93b4c78e63f93dd6302c6d8056bb7150a9ebd5dfb110ef03bfab211917f58c50c7b4a91fd4891f0fe9009f79bb81ea98c98 WHIRLPOOL 4641206ad191d09a98b5d1bb9291b8e2508a3928e038d9b8adaf60b10e4c8f2c12366222dd88e158da09d76d1c5538b031878bf411022c8f91b6eeb1aa6183f8 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20160507.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20160507.ebuild new file mode 100644 index 0000000..152928f --- /dev/null +++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20160507.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans JavaDocs" +HOMEPAGE="http://netbeans.org/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/BEA15848D713D491C6EBA1307E0564A5BC3965E7-ant-libs-1.9.7.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-r16-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/BEA15848D713D491C6EBA1307E0564A5BC3965E7-ant-libs-1.9.7.zip o.apache.tools.ant.module/external/ant-libs-1.9.7.zip || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 dc330cf..c28c6cc 100644 --- a/dev-java/netbeans-javafx/Manifest +++ b/dev-java/netbeans-javafx/Manifest @@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-javafx-8.0.2.ebuild 4647 SHA256 15e5e0b1c4729852dd55e5bfb2dcb520ba7c959bd9927d315c0abcb3f94e4ecc SHA512 520c60264fee67b0ccfd50ced0cc8586d5653d5186fa75c6b7cd8b400aae834de446b7e6145ad38df7e68207391fb360ef4834140e096d48add568fed387ac98 WHIRLPOOL 416a56ceb2ba85e3923ada0c8ef485cdd6fa16b3423b8fd0de523fa54dd082cbaedee5da4f1a92b50e440195f9256376f50e99a850d70ccdcb8c0ff370007f7c EBUILD netbeans-javafx-8.1.ebuild 4671 SHA256 2a12bebaca0ddbb03b84c33de7f5933f76a8381db3c40013fc4014687ded6cd4 SHA512 ff410f96e808c414e3e9485461866239080098e46e843ee771a78a0afffddc1c776697dccb276daf7f87dadf915a212bfe9c2a07b3a8a9057cb3ea19b77163fb WHIRLPOOL 51729142255a16d4cd949d4bf5f3b681d36bc83f30dad39aad9d1dd56f7dcec0dae4377817350e7947d518129a74eec7f227c3cb1600ac168ea90d056b87d195 EBUILD netbeans-javafx-9999_p20160428.ebuild 4717 SHA256 d66d24fd69cf70db58c771a8022cbd16fe687b8fa04fad227460c9c4c16a282f SHA512 a8eadadc1e636c9a3907909fdc8f39af3c3f789dadd440f3717f183e28489b6f6d07e82ef1665b06dba6f2d7d750482c7f22b55ee8a38356d8208ba3e5c27ff5 WHIRLPOOL 2a938d9fde09ab500cb042026520f13f99c6d74452a230f146bf6d69930a6d4e1e3d108fa7e1d459712e6c6893b758d4f42025e0d5e32dc24db26b97b980194b @@ -31,4 +32,5 @@ EBUILD netbeans-javafx-9999_p20160503.ebuild 4717 SHA256 1497caa7198e289752e62e5 EBUILD netbeans-javafx-9999_p20160504.ebuild 4717 SHA256 3894459832bf08e92e080547141bcb2da3644d9974b253893010098c1652b359 SHA512 64c6ae542d2f2666b6ddc574f0629e6e9c6926d03dd123ca29af0c8564947f87f3590f067245ea11912cb821312968cbcf174fa05c832914f80465bd3303b6c0 WHIRLPOOL 021ac25942d4c82aab28a24914f8e4b0ce24476675dcea19f54b2328a421df05815beec354461f6faca99828c3ccb8e0808cd9aa12f2fbf8a7d4d8bb2335dcd4 EBUILD netbeans-javafx-9999_p20160505.ebuild 4717 SHA256 1c857a478100292ea345a4efb5fc266abd4b5a4af1d6ff3d6fe4c26aee8feb1b SHA512 b61721a6274e2d280436b4c8ad3cc1fdda4530c4bfc4c764be086e91bfa594e26a19738278199b5b69db49c63c003186eb6a9ab6940cb9e693553c806425d922 WHIRLPOOL fbfbf70a0fcb08914b9ab36db0a0e681be6c126884bbbe489998388125d011d8874f58b4805386696125b6d306c82359bdac8ee0a184785010324e0be4fddc97 EBUILD netbeans-javafx-9999_p20160506.ebuild 4717 SHA256 f6a0f8d5c863557611eae4850e8a732a60d73a7800339b3c2201ad94513e3c72 SHA512 ca9cc8f55ec85c4d2787115348ba8204bde9a8b3331b38e05896229fc9f66a18903a823383ea45c5655fd00d704dac0212d578b05364e9e198071beff2f9c845 WHIRLPOOL 5262a41467113b375ba2ca8d6fb36524948e4647ddd6719617b47957455436311a3d766deaa6f30aa436bd2282d41c9f98323c7f7fc6948e3ba9945a3ac72829 +EBUILD netbeans-javafx-9999_p20160507.ebuild 4717 SHA256 3afb6a822cb9b2a6f0d2ee4eb07fb43581a660d3d6e90ec08f62a5f17d8fb125 SHA512 e59a3488b654724803ef0b6f256caf3e78b63989c81c3b2d736c742c37d3dabe4c284a7e8eeb3fcbc51583e4214e94a7ea989b38a010b7688d5998b2b268d5aa WHIRLPOOL b4dfea197b03f34a190010c52b6625f5203d97f0ff9fc14a4cac71700d876787f41eed9a4683505d132a538d60c4a73a8336b9e916fbe2eefbe9e582f61584ca MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20160507.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20160507.ebuild new file mode 100644 index 0000000..80794ed --- /dev/null +++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20160507.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans JavaFX Cluster" +HOMEPAGE="http://netbeans.org/projects/javafx" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar + http://hg.netbeans.org/binaries/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar + http://hg.netbeans.org/binaries/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip + http://hg.netbeans.org/binaries/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip + http://hg.netbeans.org/binaries/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar + http://hg.netbeans.org/binaries/5D007C6037A8501E73A3D3FB98A1F6AE5768C3DD-nb-javac-api.jar" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-extide-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-java-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0 + dev-java/junit:4" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-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}"/5D007C6037A8501E73A3D3FB98A1F6AE5768C3DD-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 cd147fd..82d1fe0 100644 --- a/dev-java/netbeans-mobility/Manifest +++ b/dev-java/netbeans-mobility/Manifest @@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-mobility-8.0.2.ebuild 4342 SHA256 e9b4ff8fe38904346bc21a82219696e97322bf9df4e9d4cad2259b6f08bbe7f9 SHA512 338711fe61c469cee80e499ddf8c3ad70a3a38e6658311afcd1d24edd1a99b87566fafcbd392bb958b589796e0913d2574b07570870c8d3382a91a324227082f WHIRLPOOL 855b2817c36bea67c8fb368a0740be18b71dbebb2b98a154552f002a56eaff34f54eee2698379d7200a6042c1de699df23e7717b5b6c532776852d8757b74cb0 EBUILD netbeans-mobility-8.1.ebuild 4366 SHA256 fe10d103a284b8f82b67179ea52d51d57b43cfc4a4084b97e3f9650526621497 SHA512 36bdf0948b41bfe4f9c66fe093030d5f27b90f5a89be94dfbd176e3887b249d5aa3eb9b0924df142291f0d693f274eef840ed3a7f658106847327befd0374710 WHIRLPOOL f9dd44e6401367b2df73c5f1428bff53547ac012068297667666d0241c29310aed4413a368e5350a996af37ad026e875325467b1a165cba6953d99a5da3a0d76 EBUILD netbeans-mobility-9999_p20160428.ebuild 4412 SHA256 92ec38e61718089a7a0f048629e2390b138113cfd286ba1e8168edd9ac86aae1 SHA512 0b0b3e80376fecf0af36478252595774af197c427a8162cd2394e43d3e1772a730434cf07de1680be0bd7c3777d826c822334ce4f36c42d7a05e8aae306c4a3e WHIRLPOOL 2b317f045489273543ccd76df12009bf2b9230912a5ba4814ad5e1dab25dbe92cd0b317d4458835ed64d6386bb5216b328e1afc53d60fb9b07848397581c6bdf @@ -23,4 +24,5 @@ EBUILD netbeans-mobility-9999_p20160503.ebuild 4412 SHA256 db16b9cafbbe1ea448c41 EBUILD netbeans-mobility-9999_p20160504.ebuild 4412 SHA256 f7988d1e68fe142d6f5cdc907d482dcb99c01476a09be0300c595b5bd3182077 SHA512 746da96d0b6eefc0f1edb31c90f35afd746b0e58d931c55f0dcd927b2c40a10233f401995413163d38665efe091648b1ef0b6811cddec50ca92206e4ef7ef8cc WHIRLPOOL 223bb579a3c350bce903419abe394c8222d6db2bf6559ee116a8fcda295c079d2a73bc541b1e813ec1b48e6e43b61f330e64c38a71941a41d1d6488a365e6243 EBUILD netbeans-mobility-9999_p20160505.ebuild 4412 SHA256 7e49b0c0d96acbc466dd131e766816e43ada38582b5d38cdace450e34581bb16 SHA512 94cc54e7484e0db776e1409c94976c23a7e2fbd4a42758301ec16e60334a9b8e9d40fede14a2136cfa704bf15c058fbf18e156b7685c8587a16598a09ac0fa7d WHIRLPOOL 7ef48583a0dfa52567d3c1955f8329a6e75ba99f7788833b4fc39b10469e725af2534d1d3bb1b63d792cd936d7a84e1ea55ea26933e7a9df68d18eff7647c178 EBUILD netbeans-mobility-9999_p20160506.ebuild 4412 SHA256 5709c1d7c984152e354486798dbbaae73473852cb558e215690e04129eb498a4 SHA512 a81d7d177ea3a52fb12119491d79dde92f2870ca738c5d2bf682aef0ec0fbd4fe8487427c553c11ff5e3e262309f90869dd4feb8e1e2176f04aa749a90c21af9 WHIRLPOOL 403d1093946da10f6c2a57a8f14723355ab1375544f8b463e998977b84cd9a19c85a9c2199aa91a1d4f7af47f7903fc2c113101c5746397c291486d142e33972 +EBUILD netbeans-mobility-9999_p20160507.ebuild 4412 SHA256 4ade3fc523c138d3c50cae68ad31587d5d84646ecf448fd71256eaf4d90d58c6 SHA512 0b3feb338d32b5f590b9cd9985fac77ab2fde4d7b1fd773809b084abd631956ebe7c321b9e6e5703891bd84f1cc2914932f08713b995e28edf4e68aab7452079 WHIRLPOOL 08ae87ebe6a9280d00faff4f748e9efda1b3df371546687a9d49e074832bbef747e0cb59e9f8ab95a0ee19121faadfb7ff106e9ab29d58ce600467b0ab47c008 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20160507.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20160507.ebuild new file mode 100644 index 0000000..68c0013 --- /dev/null +++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20160507.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Mobility Cluster" +HOMEPAGE="http://netbeans.org/features/platform/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~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=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 83dec11..50d6557 100644 --- a/dev-java/netbeans-nb/Manifest +++ b/dev-java/netbeans-nb/Manifest @@ -15,6 +15,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-nb-8.0.2.ebuild 4927 SHA256 7531e50c4d76608bf925efdba4f54f522de3a8ceeef4d48807fb4ee48bfabdf6 SHA512 925734f331cf228066c5c9e614f48b756af31cac8b559cfe756347b6a2cb0ce362c7c41489a25084f2ed3f2e415baefd148a54f39fc00269fb14179efe056cb9 WHIRLPOOL e3224c5f22bb8e4792a5f98bbe819e071ff18c99533ce05a3fc1c5898ddcca1e3ce34487ba78159bb4d60155acdf15ae4fe81189ff2d5b1bc77ffd9ee4e20aca EBUILD netbeans-nb-8.1.ebuild 4065 SHA256 c1bfd704ecaa1fd62b149114b7391b4633a90a8a1d87645b833731920aa6efbb SHA512 56bda99c3d05522d5becb032177e4b4411d862d18a069e2d4343ddc8b08d05ed6c3199588e28aece7e583ccc9f95517621780a246bdd65c7d3edf072a61ef1cb WHIRLPOOL b9a43e6b4ada929bcf2aaed0bffe9cdfe0b9dbbf001e8ee4f2ab3cf8a08e27d318ea435d0580c80fd23cf921d261ca9b54d54a2b2e7a53173f955bde03aa0a12 EBUILD netbeans-nb-9999_p20160428.ebuild 4111 SHA256 8e968459df586e6fc8b27eb683e2b0936dba423cccdb334af64c3918d2749843 SHA512 9ca5684d63d1efe7b5158014375752449fbce3a3fb86acfcd12a14f7c9195fefca83d11379906cbd707a48a60ae24a5312c9823acf337811e1d00e9711dbe126 WHIRLPOOL 8ddbc652a3ef6a2fa079498f3d59900f7a507d4494a2aa514cfaae3a1b67fba2880d80a9d285a9513fb9e00e6c3c842b3e8faf6060d1b545706cb2c871443f2d @@ -26,4 +27,5 @@ EBUILD netbeans-nb-9999_p20160503.ebuild 4111 SHA256 488f1d22725b25ce6a25eabfc76 EBUILD netbeans-nb-9999_p20160504.ebuild 4111 SHA256 d63657e534e89717ce6210fc9ed515fa14d7bf9111aea2ed5527be63cb371960 SHA512 f0d127a55947f276d51d7ded38a4c7408ecc7ddfdb500f1c1a910060ea1eaff92a43aaa9fa0ef6c67458b4cb7581288ddb0dc688affd5a20629afae7c1415fb3 WHIRLPOOL 49caa2aae9a378d6dc206bbf46d04284c3e42cde501ec1af5af860c755bd434b687da20b398b174af517713e9692d3c843a2b94e05d7dff9008478203a1a8315 EBUILD netbeans-nb-9999_p20160505.ebuild 4111 SHA256 8c91c3a3a72c04d0701e053bbf217e3eebd9da7810cf8386b8011ae64b9e2b16 SHA512 ee8f93cb619071f002faaa89031c03ca715f7b39ea91df5b0d277d9ebfbc5e0c13c27265fa97a8a64697ab823f2b5cf05f9977e548ebfe76eb1d360aaa28f00e WHIRLPOOL ef3ce3abcc82ed62a848627ae1266c64b4f66875a375f151dfc9969a12a574cc6219501dc9126bc1e0c0d3745816dde211c30964fe654acfa8299e529bd38de9 EBUILD netbeans-nb-9999_p20160506.ebuild 4111 SHA256 070b1ed7e4708ffc7fc0632f09f52f5bdde3efa7fd14d81f5116f7f34cefdb35 SHA512 be89609851992395c05177024829b8164a056a78eb9ee95642f0e8de0e37b430c02b669e044c9b047b53b0a970b4a91c529719bae6c2a544b606f2006713c6a9 WHIRLPOOL 13429b1feeed588563f7ad030525bb49e6aef32927a735649ed08ffb35ed729fe204f63bf5e2b8458f0168581ea0f96a933ac0cc5b50fb822baa4855b7cb2673 +EBUILD netbeans-nb-9999_p20160507.ebuild 4111 SHA256 aa4417282a4c7f96f1e5f4482e9fe65634e33c8bc73e7c027be52538178176e0 SHA512 abf6c86453275cd20fc7bb22927bb0b3ef728eb00f5e43406c383faefae0f25d51a9e00d6f58dcd7859a5c0d94abb1054534d7c8c869c6f7eb0b28a8068f78a5 WHIRLPOOL 4c8c462e2f420e5f56f57c2b70a374ebffcf8ff23a845af1e904dceedca03318ccc13fa64e5e7c9e6f0262978139ed8e0c3d9c110daeae7c9f73a4e38b6d3271 MISC metadata.xml 392 SHA256 01cdbcc83099b97486bd7b8e813e5b19c1138eb0d8d3e8a5683aafd579820435 SHA512 4d2f9160baa022d6a48b61d5f42e71cfd411d244e7a36436629bc5ee4036e4ce19079134d9a6c704ebe942306c2e0199d0591c1e54f92f8f3c8835147e639246 WHIRLPOOL c1131764e1cec66c56b977ebe36014b29e5a68e35ccc326c0cbadd050a6c625cf191c85c212e0a733661c008dab0d99f9a4cdc4c4ae0cc9d775ba1de554795a9 diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20160507.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20160507.ebuild new file mode 100644 index 0000000..9cdf096 --- /dev/null +++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20160507.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans IDE Branding" +HOMEPAGE="http://netbeans.org/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.0.png" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-platform-${PV} + ~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-ide-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 b3526f5..6452984 100644 --- a/dev-java/netbeans-php/Manifest +++ b/dev-java/netbeans-php/Manifest @@ -17,6 +17,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-php-8.0.2.ebuild 4347 SHA256 585b2488d748f3d0f87c17c951870e167aac7bf10847428add786e4a8a446583 SHA512 1431305d4f340cb0a2c7c896c54d45f6f02ef82a4201f82053278b98511a5a4a68210317530e9cdf5cf1f495996d3a3f9c4b2c3c479aa407abd375072ab3182f WHIRLPOOL af8476f2ff2d119f2657e6be03cfea1160f86e41bd791f40609f1bc8a8aada46ba1081e4f2417b0fddde931fa4e43d20956c0fe1d4fdf3617b78d01afd23f9b4 EBUILD netbeans-php-8.1.ebuild 4371 SHA256 a9e7565a8cbcc5dfca4d9449f43b959911c47ad8da59648e383ecce55c4b0064 SHA512 67d43532ea43abf007adce73e7da2345d9cc42229189ba90d254d7764e19e3fd3c86b990ea2fe08cf52e49422def481046fe6e0e447fdc1de1680ac59f51d9d3 WHIRLPOOL 433275570fd81db477180e58909ebd50b83cde03bd5df807cc9ee213e2f3a44f65f3ec4877851aa6322e7752969aa72313ee7b35b8ee07446e8c22be4321d536 EBUILD netbeans-php-9999_p20160428.ebuild 4418 SHA256 ff39622b2f582fb73f069ddea76fcb846f2fdbdce6559af061a13ead577d4a47 SHA512 3f71b975e8316433510e89914be7a1ffe7837a39d42a4c8f25a033b82d54bee62cafe0a28d45cada322594dfc328f43c2a1a05abbec1e43e207f73fcb225e128 WHIRLPOOL 696cf1a13fe113a7156da0fa4db41802052c5885a1cde7eb5eac17431ca31792576d22d4cecc6b2bd5ead506abb0e3a3d0dee62183b346aed1aa146234c7df8a @@ -28,4 +29,5 @@ EBUILD netbeans-php-9999_p20160503.ebuild 4418 SHA256 ad09c924f69bad6800d9c3a728 EBUILD netbeans-php-9999_p20160504.ebuild 4418 SHA256 b094c476e852d45c2dd8cbc2d18073efc5eed074739012b7a491b097b76a6b6f SHA512 f0c8c072b965db70ee275224c9b079ebc8fde531b0924c40e981f0461bb2d77902c81817420e885610d73c80d48683bd7ac9e14170eae66c18f7f0a2011ad9c3 WHIRLPOOL 27e8d60216c3d27716fd095288040e389207a0da7ee006a031312195a870e82024ccca26181d0470f7e450d1a980e860cbc159bab1ef3f4c66bed8a894bf61da EBUILD netbeans-php-9999_p20160505.ebuild 4418 SHA256 67cc7582c55bb4b06ebdbcaf9e0f5ff01fa2aa5cac46dfb552d296b04a2b29d5 SHA512 25ac0540d8524eb0d2ab30080c8b822b83bf1ad6f054b79da1d51b2fc9ceb9799c09d8a630a13d65580ce763c32fe46b9d1d25bfd0799ad6f1929624d8f08b70 WHIRLPOOL af3b6f6bad1836c8ec52de2cae2a0576e076d344da56f32d7d89f78e0acc026ae478ad2725b6e6c8d461cdabf1003740abb7554e2b7833853943a065c22e329b EBUILD netbeans-php-9999_p20160506.ebuild 4418 SHA256 76c6a950bdb0c1811c27c88327fa98c9d86c94fa08dd0dbe69f058fba4151c88 SHA512 818438033d666347275c09255b095a22d49955cc86b83bebb2c6a8dbd76354b8c5e6942bbb66651fb22590b63da08ae02a36cb3af2f45f7cb7d51899888f294a WHIRLPOOL 18b475fb85b5bad8543c611cc7c54e16b4a04e535e79ba1bc8aa71ba0210b8c6d79e9bd7d32634ddc60d46b1209367b3e48580b63a1c24053b04015f4d3d4a03 +EBUILD netbeans-php-9999_p20160507.ebuild 4418 SHA256 f83ac8bf9041f6fa0c4941a26040a6621b82a4a5e3809a210f415e300116aaa1 SHA512 850edbc73c7c632c6241cb7f099885a5ab92db279f6c927ef20d94ee88b4156199449e413306ae7eea8bb7557c9f1387b8b780912c67d287746d0c87481926fd WHIRLPOOL 99969ade1856324acd5549cc3575b29d84b66ba5a25385ab5f63b38c09a02d645581b96a34a6326155841ca10c626c2d7fe52331574a9e46d5ae7729cdeb4371 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20160507.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20160507.ebuild new file mode 100644 index 0000000..e11f628 --- /dev/null +++ b/dev-java/netbeans-php/netbeans-php-9999_p20160507.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans PHP Cluster" +HOMEPAGE="http://netbeans.org/projects/php" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip + http://hg.netbeans.org/binaries/472A52636BE09823B4E5F707071B31FB990A7375-phpsigfiles.zip + http://hg.netbeans.org/binaries/3D6AF75EA20D715887DAF47A3F063864EF0814C1-predefined_vars.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~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=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-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}"/472A52636BE09823B4E5F707071B31FB990A7375-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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 74c84ad..112854a 100644 --- a/dev-java/netbeans-platform/Manifest +++ b/dev-java/netbeans-platform/Manifest @@ -38,6 +38,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-platform-8.0.2.ebuild 5406 SHA256 98e9861da45ead0d2d975a0527315df5282870b2d7e71a089724d91c18852e81 SHA512 cadbe66132d3ad81f6d149e20731b558c11c529e2ec15b1fe47ff97d99a3f4b4612fa5c98c435c4ff979eaefab6702721db009a03162202c96b4b411cf9f872a WHIRLPOOL 9552948e8bbad308f4379eaae69d8c214da9fbfab87d75226949b69ddca3e68c2d36c4d05738196073e5b959ab0b764064c9186d421198937122aa4bdc4988dc EBUILD netbeans-platform-8.1.ebuild 9320 SHA256 4a03fc6a399aaab949edb3df7c629da5bc7ce6288d44dbc848097352c2b4ae3a SHA512 7015cb042dd4e371cdcad49838eb2e4109d1ec505ac618f3a6f98d4dce328ab34be90a3cb0820896bd75337a180a1bd9c91c842a143fdffdf033696d5f496402 WHIRLPOOL 8c5311df396a374bf9d8c994b37c5c9fe6aa3c82a9e9e0824a5caefb0006fd9b44f4fdddd387ee12da48592929d5c4dd7e7fb2d866c9ddaf76acf5b3adbe310e EBUILD netbeans-platform-9999_p20160428.ebuild 9520 SHA256 43ab2d84807ce29e75b611c4aee4269e1cd2ab9bcd41220e572d68f2095280a1 SHA512 698447f4e5a9dbe05337a59966f05fe7f4bc8517dd463571b65d6ab777239191ee341fb56b1c9c1b479b3fad247c5284c3712f3b142839d930214f36d75e194b WHIRLPOOL b38abccc36b868f0f07607a2d487335d134554c44e085418dd4e15b6dbdbca18337fd1dc50729bc92e2e076210fb6be7caf1502c76e3100d4e0fdd8d56e3fe1f @@ -49,4 +50,5 @@ EBUILD netbeans-platform-9999_p20160503.ebuild 9520 SHA256 903c426a635c7ddd29a79 EBUILD netbeans-platform-9999_p20160504.ebuild 9520 SHA256 320af491ea11228284b5b0136022cf38410e21896161e954890346a6e7e84b80 SHA512 c51e39c09a321535d67d7d02ac8c8f137f195a684a43707addd56122cccf4c5417c2d1f5019c720a96509d8d1d422cb81816c4efc51aa141f4a6d17ffa96dca4 WHIRLPOOL ddccabae29674a78d9980693dc6706c447216fdb53952288f890f58c4424a1e6f37852880b75405dad60f40c05a5f756fa3e8a16953d4d3ac99bf67ba5b3341f EBUILD netbeans-platform-9999_p20160505.ebuild 9520 SHA256 452f7f2fde7936219dd37ab1069a122820458f5abd468cd33ebe8eedf2e21a07 SHA512 20a618a805c2bff4da38418315223bd2602e308d0ec2793536919f1b4daedc037c1cfdafa029113bdd5df23baa1611f6f37fd86c436db1a66dadaddd2c10e555 WHIRLPOOL c26494016c6ffcfa1cc7272d541c2de1e249279478e4ac2d6fb81eaed64025ec55a7e321608179ef7f5bcc34fb0fe8e677d4af3ebe865f61438432b32049d408 EBUILD netbeans-platform-9999_p20160506.ebuild 9520 SHA256 7d97bf35db26ca7e946c52bd32e5771de73fb91451e1cbcb9f1f6a17cb7c5cbe SHA512 94d944872f586eccf9cb512694b84d2dd1c25784048b96202266d5e0a57cb2372bab7c7d5aff0bbbba73adc75e476604b2b3cb408d595671e697547c4af546c4 WHIRLPOOL c571f6f655053bec8e863a6b319059eddb8fb13424199f8bcf794dfa6ecf4caf8c31196d80b7d856622612bb5723caaccc4c2d5b3c6d3172ab46ee51a5ae7ba2 +EBUILD netbeans-platform-9999_p20160507.ebuild 9520 SHA256 fcfc478007eaaa9c120f6fd2378feba08d87a133835ed60f36283ec786fd1596 SHA512 551e8230eb6820130f2c69b684db17ea6e56b12b693fcf0467763167a3ebbb0a684f3d81408ef7aa933ce66e960b3b273f43dfe709c366867d23330e819dd18f WHIRLPOOL 49800980152785301af1ea5d3de7a8a515cdf8a59309b80851f654db857b699c85c40e227750813a4ddda5b6e7e6fbbe08909e879e123bc2349c33c141718bd6 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20160507.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20160507.ebuild new file mode 100644 index 0000000..1954e86 --- /dev/null +++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20160507.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Platform" +HOMEPAGE="http://netbeans.org/features/platform/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar + http://hg.netbeans.org/binaries/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar + http://hg.netbeans.org/binaries/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar + http://hg.netbeans.org/binaries/771CDCA0A3F2F3CE818E20CC2D707A3592422485-ko4j-1.3.jar + http://hg.netbeans.org/binaries/A3085BAA78C8EE7F55081E70C79ABE04CA38CE93-net.java.html-1.3.jar + http://hg.netbeans.org/binaries/7FC91530F4395FA0D58F9539F3B40858E766BFA3-net.java.html.boot-1.3.jar + http://hg.netbeans.org/binaries/5C992BAEC0111EE293BD44173140A9D8EC860765-net.java.html.boot.fx-1.3.jar + http://hg.netbeans.org/binaries/BF6C9BB0FFB78A6B846ECAEB880C460D883B4F72-net.java.html.boot.script-1.3.jar + http://hg.netbeans.org/binaries/10E4214A89082C70FCF9F721953001C0932037BA-net.java.html.geo-1.3.jar + http://hg.netbeans.org/binaries/D97314CE1869DD3B8B8942256A70673E2991C9DD-net.java.html.json-1.3.jar + http://hg.netbeans.org/binaries/6BDCE8349F83CD02F2942D4FBFA86A81A129F42A-net.java.html.sound-1.3.jar + http://hg.netbeans.org/binaries/E5DDC5E827D3D62E7BE9F7E32927CA01F2839971-org.eclipse.osgi_3.9.1.v20140110-1610.jar + http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip + http://hg.netbeans.org/binaries/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip + http://hg.netbeans.org/binaries/CEC2829EC391CB404AD32EB2D08F879C418B745B-xhr4j-1.3.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-3.4:0 + 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="dev-java/oracle-jdk-bin:1.8[javafx] + app-arch/unzip + ${CDEPEND}" +RDEPEND=">=virtual/jdk-1.7 + ${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.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-r16-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}"/771CDCA0A3F2F3CE818E20CC2D707A3592422485-ko4j-1.3.jar o.n.html.ko4j/external/ko4j-1.3.jar || die + ln -s "${DISTDIR}"/A3085BAA78C8EE7F55081E70C79ABE04CA38CE93-net.java.html-1.3.jar net.java.html/external/net.java.html-1.3.jar || die + ln -s "${DISTDIR}"/7FC91530F4395FA0D58F9539F3B40858E766BFA3-net.java.html.boot-1.3.jar net.java.html.boot/external/net.java.html.boot-1.3.jar || die + ln -s "${DISTDIR}"/5C992BAEC0111EE293BD44173140A9D8EC860765-net.java.html.boot.fx-1.3.jar net.java.html.boot.fx/external/net.java.html.boot.fx-1.3.jar || die + ln -s "${DISTDIR}"/BF6C9BB0FFB78A6B846ECAEB880C460D883B4F72-net.java.html.boot.script-1.3.jar net.java.html.boot.script/external/net.java.html.boot.script-1.3.jar || die + ln -s "${DISTDIR}"/10E4214A89082C70FCF9F721953001C0932037BA-net.java.html.geo-1.3.jar net.java.html.geo/external/net.java.html.geo-1.3.jar || die + ln -s "${DISTDIR}"/D97314CE1869DD3B8B8942256A70673E2991C9DD-net.java.html.json-1.3.jar net.java.html.json/external/net.java.html.json-1.3.jar || die + ln -s "${DISTDIR}"/6BDCE8349F83CD02F2942D4FBFA86A81A129F42A-net.java.html.sound-1.3.jar net.java.html.sound/external/net.java.html.sound-1.3.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}"/CEC2829EC391CB404AD32EB2D08F879C418B745B-xhr4j-1.3.jar o.n.html.xhr4j/external/xhr4j-1.3.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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 jna.jar jna-4.2.2.jar + java-pkg_jar-from --into libs.jna.platform/external jna platform.jar jna-platform-4.2.2.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 +} + +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.2.2.jar && java-pkg_jar-from --into "${instdir}" jna jna.jar jna-4.2.2.jar + rm jna-platform-4.2.2.jar && java-pkg_jar-from --into "${instdir}" jna platform.jar jna-platform-4.2.2.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 55e7b42..9e75847 100644 --- a/dev-java/netbeans-profiler/Manifest +++ b/dev-java/netbeans-profiler/Manifest @@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-profiler-8.0.2.ebuild 3402 SHA256 8021dea620d1bc26214ff0ec285f8061c24693dd28a62a97a48ac3223707e920 SHA512 2660390337a973256b1aac3a02b14e16782c230fa2714ae695213b0cabc0eb60621c6a1ae234f9e57259a19de22a87447f9a89ab846bd59bcedd2be313c35072 WHIRLPOOL 5d1053ded03143b2de05b64cfbe59b515cb786d60bfa65566be795567bfaf5feb88a2f8e7161a05da512fafd523f871778d5ddeb3c6b89fc95885096e379f65d EBUILD netbeans-profiler-8.1.ebuild 3426 SHA256 81f8b3b135f021a2dbe7b5ccb53fc7fcf79908ab83ef14ca0e912732b7fb4b53 SHA512 210bc0c5214aa8f79f559cccf69f1ed885dd2d14dc55cd17bd89c8a7f04f1a76de5b414426337b2ba6e99576850f0753f13e41e0f424b3f0adc58001dffc217a WHIRLPOOL 293d12a03294532dc9ce10503b030282cb636f08af6300ea796885eb6a3fe36c9d37c2a07138d03e9c4d45b31352ce160901a96f659f26d50a0fe5caee3bf0fa EBUILD netbeans-profiler-9999_p20160428.ebuild 3472 SHA256 c01c6eaecbc72dff72adbdd14940ae8935b207096293026b94bc2e3f620e934d SHA512 9a0cfbe6a0e5b27611f4817889d3b102ecbf07c05987b558e17013711c3f40a2239a07c340effe846d54b14bd4f4987adef4c290563bfa461e56762d99f8c2bf WHIRLPOOL 4c47981cf634b924f82b4c9b8cd2fac84006454beb9d7923757b0eb5d82512b58090245fa068f66b6760ac83681106ab659ca036907d40faf9709274a99dccaf @@ -23,4 +24,5 @@ EBUILD netbeans-profiler-9999_p20160503.ebuild 3472 SHA256 45d6b2f6df23c0ca47594 EBUILD netbeans-profiler-9999_p20160504.ebuild 3472 SHA256 4697a61068993189cb57243e3b58064ff2dadcafa4f837d183796ca3ecda725b SHA512 062fc04edeebbfe6a15609f3a5e35b69d1a38476ba970f8f502188e8e6e581cf6cf3bdb06026290a13c781a4c0ee75b88e081f308c3e191c5ee3c3409304e347 WHIRLPOOL 0dc2c8f418946e3c94b6f7b07c3bcbd571495f60a30475a13f11d7a77452a876b38b79012fbe558f9f67e28d9ae9af74e898c405619d6f04747a9451b35cb6fe EBUILD netbeans-profiler-9999_p20160505.ebuild 3472 SHA256 08eb954db1fd0efae70a781ed277ab88dc7aeae5c6a77a4103962e4d8ee6ab69 SHA512 2a4c26ee818964947c4c318937ce477ec1c30ea2161afb77aef355bfbc8354a3d8a13323bb4a5732c887a96d830d399c4fd46b3997fffc41d2ea65d32ff218b2 WHIRLPOOL 26cf8df9097d0064a95192e066dd530537def49d7be53399685eff2d8222081dae104efe04a42cbca7dbf30b024643304b67e9f7232e8da322e5b66e5397f721 EBUILD netbeans-profiler-9999_p20160506.ebuild 3472 SHA256 f007acfb99a24159a6935e6bfc4bc0ba9ca5bdbf04ae88cd4f41c049737d9019 SHA512 e90cdec1330f3ba601599357af467760502316f0e28233c623ea8776a9bc2efd4728f8d56961b200d6d39da4bf27814bab5446768842cfba4eb20d6f608d02ea WHIRLPOOL e4327eba4215843c01d8d3b5f0819baba5caf83e3b889160061d9ba16102d69a59c3e398e5ed6689b72dacac7e6219eaf9d379d2893d7b79815deed3f6d47af5 +EBUILD netbeans-profiler-9999_p20160507.ebuild 3472 SHA256 1d67a170f04bbcd6e74c648f7f8dabeb2f77e5677b6cea3b11aa7c59ba2f19d7 SHA512 1f3f55d9cc8110ea034035df1cf26b57a0b53093e4d31fef4db708b24ef926b5067d26022779d4c330fb9fe9f95c178112c8b63d251f4dae2bd6373ad4c46586 WHIRLPOOL e5b8757f46ce6c5c00c70b2a998e7951de03ae74f8e229a91340a243baf2e029d3e585a6372665f2273521a6c07cb0b78ec28fed9ed3444a0dd657f184f90213 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20160507.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20160507.ebuild new file mode 100644 index 0000000..b7bb799 --- /dev/null +++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20160507.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Profiler Cluster" +HOMEPAGE="http://netbeans.org/projects/profiler" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-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="~dev-java/netbeans-extide-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-java-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 f7f1647..dff0493 100644 --- a/dev-java/netbeans-webcommon/Manifest +++ b/dev-java/netbeans-webcommon/Manifest @@ -27,6 +27,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-webcommon-8.0.2.ebuild 4723 SHA256 e2ba39cb6f22c990acf9a492eac5707f130382d56f9bc1e3636e82cbe4d61938 SHA512 61955d38f829b3ed54bc5cb9a71da07f05676a2bf7219fa8073aeee0f0e2d0e73f7aa6ec1636be39fb071d3d2b9de7ceb813a247a61961874f4cc78697d4e568 WHIRLPOOL 1a272650fc2394716a790b79cb85a9322929c7cc96ea4776cc639fb869c5b536140dbdc632b1a8aa9cb1fc8e740050125c2ebe9390de7a8f4207e88e24924206 EBUILD netbeans-webcommon-8.1.ebuild 4945 SHA256 55c57b638481134d659763154a7820467a9866707112cba0e60dbd9ba8cd2840 SHA512 a98987535f60b533bf0df701f83693a58584dfa9a10d5c8646186165d884fb7e8a3348ec77cbf25d1a8cc8cfd947bf54cdb30d251ae1a3fffb74947070d76579 WHIRLPOOL 36fe1b7b9b34a02fcda227aaeebed8a33562e6fe4a014c78e9a464d709bf5120322a35bd54a0ffa15c4dd4f3ae605cf6fc2d35c5652f7162ae646c61ad69210a EBUILD netbeans-webcommon-9999_p20160428.ebuild 5343 SHA256 3b6415155ed76a64dbed48af896dcb00fde8f49f53248bd544305bd6bbe01577 SHA512 d3a549390972da7e210c839116f2a9f0607b6bef416d3169493b00b525fb7280b5fbd9d633ca23d21168303ddb16e51af92272e9296d1dd9d6ca7437dfe7e4fe WHIRLPOOL b4d34bf8241733789c989859edb61d235868465a3362488b4a28dc66c7a4b866f97cf8a1178bf92c90078514d8b102a41bfcb2d6addd44b389277e7fb1436b2d @@ -38,4 +39,5 @@ EBUILD netbeans-webcommon-9999_p20160503.ebuild 5343 SHA256 b66720c2d5d69bd45597 EBUILD netbeans-webcommon-9999_p20160504.ebuild 5343 SHA256 2d468847b7d3f115b58a6e563a8d29e95d5ef7fcf41481ceef85399efa65efc3 SHA512 9c25c38711702eee5ffdc102368960a9316b50f96d351e4ffa6ca90527a41e1e292c02f88e0f3c57840598c2f3828e24fe00436b745aa5b47ba26f5149dd0e09 WHIRLPOOL 71bfcd16afa5a5a9f9bb28847f00ee51acdae1788aeb70f5f3eeee7d8067d677e1d25950359735c8c401a5956d5494da4cd714e7e28eaab07d6839851ced93a1 EBUILD netbeans-webcommon-9999_p20160505.ebuild 5343 SHA256 f78f536535fd78bd5a07d46b4e57c48f3a415a9a1d9603f779cbece3ee360779 SHA512 624ab5a5b287ab76efc5ecb9c4b92e3faeb7a6aa59d1adee401d3c7a898eb3ab2b56e8735c63edbf793cbeea8bc60334f3cff0e0ad346beb7a6e8d84c501bc55 WHIRLPOOL d6e2ade17b3c9edc0fca27e3cfc91ce648125c381c87ef4205cfd61e0c7500630ca78067974c5598b12b6b6ef5dad2192fcf587c664ce3dc8510968b787aa4af EBUILD netbeans-webcommon-9999_p20160506.ebuild 5343 SHA256 ec578fef005605e740b38ce239465a1c393a59e965cf34c45caa232b56543234 SHA512 b95543b31995cfb7ccec5eef51e229d5e8a5c86013abcd116a503d52f1521028331fbe198c70ca9877e50147c74398a7a60971d8ceb765d366527d9751c32f95 WHIRLPOOL eaf68f934302d3f53a9ec50367a8c94f8c8e309dcc98bac7c3f939fd044afb24cfc9d9959982b52005bf61770897f36a56d68c77bd8500bc2a6503a45462c09e +EBUILD netbeans-webcommon-9999_p20160507.ebuild 5343 SHA256 f030bedab10f8cff97e9f85b2dc44d1f6b76c6531a2e2a033cb61321ff10f8e1 SHA512 2aac325f9b99d05a41fa408a9b8f181ea93f7b30af32bfdd2cb1086bc5fcf1acc5ea02e1530f8709cccebf32ff1994bda253064cea520ea74dcbd8a19af107b2 WHIRLPOOL c6a3a69c3ee99b449a2795bb877c009305902cc8653836f85dc3ecfc8eceb055ae521ab4206aa6101faf35bbaab9da427528e4e55317c855b2530f7bafa7681b MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20160507.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20160507.ebuild new file mode 100644 index 0000000..d6ea7b1 --- /dev/null +++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20160507.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Web Services Cluster" +HOMEPAGE="http://netbeans.org/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar + http://hg.netbeans.org/binaries/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim + http://hg.netbeans.org/binaries/0929AC5F40B5A8667021408748D64F30F77B3165-libiDeviceNativeBinding.dylib + http://hg.netbeans.org/binaries/2A38DA3DB5D36DBBDC0B03990B46810F72430D5E-libimobiledevice.4.dylib + http://hg.netbeans.org/binaries/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib + http://hg.netbeans.org/binaries/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar + http://hg.netbeans.org/binaries/C1BB9FF4232248B0054E5A26A33474A251EA19CB-libusbmuxd.2.dylib + http://hg.netbeans.org/binaries/D4BD3F62EADB61216A47EF96B3152EDD35A56005-ojetdocs-1_0_0.zip + http://hg.netbeans.org/binaries/1EFED55F8C442E4DB1C2338A5C35D494364F9ECD-ojetdocs-1_1_2.zip + http://hg.netbeans.org/binaries/CA8F6968FED0BE20E786C70CF9B603F4D7B66C68-ojetdocs-2_0_0.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-platform-${PV} + ~dev-java/netbeans-extide-${PV} + ~dev-java/netbeans-ide-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0 + dev-java/jna:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || 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}"/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-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 jna.jar jna-4.2.2.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 +} + +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 4b8e207..7e4f969 100644 --- a/dev-java/netbeans-websvccommon/Manifest +++ b/dev-java/netbeans-websvccommon/Manifest @@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-websvccommon-8.0.2.ebuild 2651 SHA256 a195b307847c466dbb5f46eb04240358ce3c92cadeecb8fda1562304de46820f SHA512 933626bd2073f58e3508180c042e237b9e61ba6f3c992cf37ea43978ac2fc972d2dcc3ef0b5c390b3867296e197ed2605c43452c98e36acf0982e7338b6d1eb7 WHIRLPOOL c3db8f0b50116d0129f50778e1961166e76601d8c165e20e73d75c91b02c8a095067e0f13e18178d849dd29adcedaeee7d3e0e62f99be592d7ce159fd6af632e EBUILD netbeans-websvccommon-8.1.ebuild 2675 SHA256 c9ff3d598c5f76c2b69dd5488a80c63025acc3cd0cc99321a0e84a493502df36 SHA512 89daec44b860aa8011d9e5533230f89dad7bcc50a119664122d2718db3e53501d1319ae4b27eac1d71596671e9a7c21315a641346e6cbab22edb3c7232bf5ce3 WHIRLPOOL 521521094b396c98687e2054742e4c019023045f19b01a6cc3a5f826f4cabe9448254db8b834448f3b33368c76dd667942554e1bae459c55de2c571bb5cfb4f5 EBUILD netbeans-websvccommon-9999_p20160428.ebuild 2721 SHA256 e06e7fe1eeda962aff7fbc12e4c46d0d1b20c20c2c312ae0ce8958a832ad6055 SHA512 00b42a7ffa32ea8488086b9ab2ca09610d920ff325e640077159ad4c08418e43855aacc741d094304a891e665c46be785997cd857c0607de49955e8475369404 WHIRLPOOL 5b30492d9257888e1ca4b45e092e2c7fe7548b4160939ac8f1f32dbe625b9534a669d62727abcd80be9809071973d27ea403fb1a765665a09c21dcd112485443 @@ -23,4 +24,5 @@ EBUILD netbeans-websvccommon-9999_p20160503.ebuild 2721 SHA256 39777018dc7833852 EBUILD netbeans-websvccommon-9999_p20160504.ebuild 2721 SHA256 d58def77d55ba6634020de8c5e911d345f57be1158751c1ae4fff48af779b80d SHA512 331b1da4785b102ce530f46d92a4639d1ef8e80cfa9cdd8c9a9d16bd577858617c0ee13d45f1754e84930a979bacaf8234a181f8657b32ee50e4db01894f1065 WHIRLPOOL 8ae70e56197a4ea5f8b967d230db11d7b817589b750e92814eb8fbe9915cb31c050f2e16e8b3a74638fb06f962166d435014892a84471bd1150bf3bed3503601 EBUILD netbeans-websvccommon-9999_p20160505.ebuild 2721 SHA256 693b442aa50ad6725e4353f5b2bf44aec4b61e3056638a9be53a53feaa9ce7a7 SHA512 3276d85bccc6bdf610de5d65549aff3640cd1339a06463115c30849f8002bbe60f038736424f32f5c9c1e467072d439336cc6abbe5280b434e2749601c7906da WHIRLPOOL 4974dbbce9cef6419c42cf7e04babb6a140a3ee4c3947dc47dfa32719245489a2cf17e27dc6d502c18f5e35d7f46f9d00be46510a52bdd4a35244dd1bb10ed7e EBUILD netbeans-websvccommon-9999_p20160506.ebuild 2721 SHA256 4bfc3859090fe7b1992d2f5a3cd177cbb90e51b35ce1087fc920ce24b9c469c9 SHA512 7dc63bed190f983a9d92d3ccc457b2fa0724592a2a9c7263f2d44bf7ebdf6cf097119af90c21e5e2acc49d319da7473cbf52f032d768480ef17b97ce5cd9f99f WHIRLPOOL d931308d5dcf09806b3565ac2e5ca3af392fd0e24b4d23120eaf6a8771efb7658ed1968827fab9f88c0e499200930339758b82979cbef60d69ccabab81748b24 +EBUILD netbeans-websvccommon-9999_p20160507.ebuild 2721 SHA256 c91a2d660f20c92ff7ba50b0783ab60d482f3a959df56fad4d33c0ff5a9fa999 SHA512 0af23840089f592bc3dea2ebdea87a508efdfe3873c0e6a126101cb0f04886cc04066c42f632c28e772bceca3f34b4d9d77711df8ed303a6493de27df08a5902 WHIRLPOOL 6b129b6115604f7a05960024073d47f31269216132d59330fea81f4ec524ea5450b0db8741b5ae1d315a5ba633e7730068d8f55a245b6a322e8df9bcbdabde45 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20160507.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20160507.ebuild new file mode 100644 index 0000000..3a2c4fa --- /dev/null +++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20160507.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Web Services Common Cluster" +HOMEPAGE="http://netbeans.org/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-platform-${PV} + ~dev-java/netbeans-ide-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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-r16-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +src_install() { + pushd nbbuild/netbeans/websvccommon >/dev/null || die + + insinto ${INSTALL_DIR} + grep -E "/websvccommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + doins -r * + + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/websvccommon +} diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index 5a1f0cd..c2f10d7 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -15,6 +15,7 @@ DIST netbeans-trunk-nightly-201605030002-src.zip 213470987 SHA256 8b9ab96283609f DIST netbeans-trunk-nightly-201605040002-src.zip 213470987 SHA256 432c7c5f60ad6fc195670d1f5aa4e901bde3538ea8d39fd0f66adf0a08fb4ecb SHA512 da79460085abe594e24f5b6a38507c3e73d8d94efd864701aba78747e54e5cdb9ed7a8a2e685c1a8ff2083cde142029e23bc36732dcc841128bf367d945ee906 WHIRLPOOL 994721d231ae5258710349c5f463d538ba345a23cfc22da4b15079277a8cf4103dd6a0bcf8f008aa0a47377ebadac7c74271ea10a2274f1f74a85ad4ab0a9e78 DIST netbeans-trunk-nightly-201605050002-src.zip 213471902 SHA256 808e9bbc57afb9470a01ffb85b645005db1dd98c035b45296d9356f1d5f4c793 SHA512 ea4d5572fb790e50fd1d62724ac1a15caad9e01c8c9309ef8995f8e92091ba29b8fda1ee8ca14574fd5c1a07f92868216cea70f908e1ed1f734ee6ce65da9286 WHIRLPOOL 6bb173180d5b788091651ff0194ad5136d2048faf006324eb9040243897da622f2c363135b727ba12de2c4895a38fb98d28c0df6520599751582b3f94aa6d948 DIST netbeans-trunk-nightly-201605060002-src.zip 213515050 SHA256 cc8ff54e7ae990f944e127d51b2bae614a7a5a117e3093342cf8f0a55ac320c5 SHA512 e460aa9dc8713c154400cacffd3b3c999ef9d3df8703ec8b74f597c54bba2172b7225e6a8adc22ad0a43762f4a4a887d57f517608b79af8db4d37a1d3371c80e WHIRLPOOL f6e80814ee3a79e03703cc3c3eab7194ea6f306fc6666409eb980a21e11a6b57250ea23138a61790edc81f8cf0083cd7ea1af7aa9f743e0db16857e41b761fd3 +DIST netbeans-trunk-nightly-201605070002-src.zip 213540102 SHA256 6a040f33a06dc6f57384b7d17a354cbffd3f5f78cdded520022e4ac8d48214e7 SHA512 3210979db5446f32df0fed36c091473116b2cbfec3f5fffd675e8e81357cd3f94e2edd0d06f903f5d4a32ccc48e2c0d914102a6eefcb4273712943f029ce9619 WHIRLPOOL b507b5b2ab4dd90b540595636904bb3328ffc4c7ff3a7e0d7a69422bd18145658b6f4bf115270677d7a68d5525234359a60b506096b94385a60e7979227a2fca EBUILD netbeans-8.0.2.ebuild 7167 SHA256 80e31382a0ceb680c2a055dc5c78c1dce8edf32c50bbae6a1c14a2c568492519 SHA512 0ab466ca247ec953896ef0ab3b01b43ffea3a9f37e9bcdacecfc0476226d45cef35e4ddf27f2b85628d9512ed304e6cc6cfe963a5e547217d08cad400eefc4b9 WHIRLPOOL d09668e669f4f8d7987ab02cf26104fc6e54ba29b8b497fe0013cc8816a2d7560c99e6e1b02db77ead872d5240b84c09e3fabbc3465587d1d1ca7d6fcae114c1 EBUILD netbeans-8.1.ebuild 6891 SHA256 22a19f05bdcea85475c0451df867367b69363bfbc6280f78b087248d9f8e9513 SHA512 812b6cdae3e5feaf37db5ca8b5efa1b374d5492f11cfa1df2adbd3617986cdca6a79d2d4dffd024c8c48492fc8a21704190242f5741c5699b12070620cea2c87 WHIRLPOOL baf5f750574c01effa0d02c72194139fb2757be932054f4900ceb0534607064af10f2b5b38063ff2cca34e75ab5be23d00c7e5d90d1c724339666d20f1bb10d3 EBUILD netbeans-9999_p20160428.ebuild 6939 SHA256 1b8ffc29323b7fe1c2308f75240c295e475626a7232fe70c6a6d096adce971fa SHA512 232be1939cb9767558f9befc29f085962d978b508940a093850602dd10a4ad49e801cb526d1ced56da3654bdf31f447619ac1bab2ae4c712fe858a475baffcc7 WHIRLPOOL 2e4d5265c0870bda91523777b9ddc9383e83a81befa8a86beb9c3f99990fa3ff6a22770d621a4120f8e891e607b61300308f5f3c433446e6bd59944fad8617c7 @@ -26,4 +27,5 @@ EBUILD netbeans-9999_p20160503.ebuild 6939 SHA256 a8b4b8aac0ea7f87d2cc2dda3c9d8d EBUILD netbeans-9999_p20160504.ebuild 6939 SHA256 fb4ecf8ad8f283ba5f1e6f50d92ed5ff13af9a8ddb8585a1991d0494146e3a32 SHA512 b87ee9e8cca27e61cc565807d286b944883c9fb87cd093418dc39e8d0c1d10c91d503a651e863a277208f6bdae878f9d5e1b2463bf0612119e4f29ce899f06aa WHIRLPOOL 1d75ac0ebe89c386fb1a714b8dded9e3a36bded586f76f2559eebb332419f291267bd25289e11eb3ab61bb7baae1ceb5849877bf6847783eb6dd848b8b6dd95b EBUILD netbeans-9999_p20160505.ebuild 6939 SHA256 86c0f1b8d778816065a8b513e11f4225b13b66681c3376eea9d5df9197d52c94 SHA512 32d263b4c76f0d2b82361ccde4f564f2805e2af308610769cbb4cba5b682b8cfbd5f00f740402c40c819f2558fa583ba322417ddce2a9e8a79f2413affaf47bc WHIRLPOOL 5e6950ab404d3af1d82bb0221f3179455bcc00eb0c481b3034e85e5a0b8e218aa0f72dcc208a3710acf3b382c5e27f293fa90dd61c840e859b65b7f5d88f6e3b EBUILD netbeans-9999_p20160506.ebuild 6939 SHA256 d30cb0bf1c36d5c6b7759ca2fbb96cee31e4fe636169fdd3c0e4ce09363005ea SHA512 93ee46659661ca40ae5681d61e62bfea0771b20c484dd3819c584e506b0159c42e521d1058739639bcee1a98e4599ac4ceda329983356fef90a404855f746979 WHIRLPOOL 5df396eeb332aa8740144ee1f8dff829380889b5680f01400a41930f39e96444e226ce8caee23280f0b66cf0c58ce6a808495321c834acf2150592afe4b9472c +EBUILD netbeans-9999_p20160507.ebuild 6939 SHA256 31c569e6224f070ad110658828c58f00a35425f60b045f25f40e48ae3b1fa4d6 SHA512 92d939520464b998e9b8d49fa3c066f59803a1ce6b2200a51ecdb1a3a6b8ea8ab89edbcf85aedeec0f58faa9abd4bbff9217ffba94e0c68e4b5c726a607bf369 WHIRLPOOL a82baf2a7926c186bed865fb0c05d97582993e360320db4c467955b5b4619f879bf33b0f329c4baafe23e10acfcde7d51fe3a9cffc5232fe470c063a807f7c7c MISC metadata.xml 329 SHA256 8aeaf2a0228f15c2e4140f401b30f083509bd99d0a578873069f3595cd8555f3 SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640 WHIRLPOOL 799a9b79b1b447bda9631f67e2dfaf722376740e1d2037796528a05f9745eeed00d9990a74a65ce09f74bc5e1d60a887abde540c3c62487d7dd49b8377c15834 diff --git a/dev-util/netbeans/netbeans-9999_p20160507.ebuild b/dev-util/netbeans/netbeans-9999_p20160507.ebuild new file mode 100644 index 0000000..25cf14c --- /dev/null +++ b/dev-util/netbeans/netbeans-9999_p20160507.ebuild @@ -0,0 +1,254 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans IDE" +HOMEPAGE="http://netbeans.org/" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2016-05-07_00-02-33/zip/netbeans-trunk-nightly-201605070002-src.zip" +PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r16-build.xml.patch.bz2" +L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20131010.tar.bz2" +ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" +SRC_URI="linguas_af? ( ${ALL_URLS} ) + linguas_ar? ( ${ALL_URLS} ) + linguas_ar_SA? ( ${ALL_URLS} ) + linguas_bg? ( ${ALL_URLS} ) + linguas_ca? ( ${ALL_URLS} ) + linguas_cs? ( ${ALL_URLS} ) + linguas_de? ( ${ALL_URLS} ) + linguas_el? ( ${ALL_URLS} ) + linguas_es? ( ${ALL_URLS} ) + linguas_es_CO? ( ${ALL_URLS} ) + linguas_fil? ( ${ALL_URLS} ) + linguas_fr? ( ${ALL_URLS} ) + linguas_gl? ( ${ALL_URLS} ) + linguas_hi_IN? ( ${ALL_URLS} ) + linguas_id_ID? ( ${ALL_URLS} ) + linguas_it? ( ${ALL_URLS} ) + linguas_ja? ( ${ALL_URLS} ) + linguas_ko? ( ${ALL_URLS} ) + linguas_lt? ( ${ALL_URLS} ) + linguas_nl_BE? ( ${ALL_URLS} ) + linguas_nl_NL? ( ${ALL_URLS} ) + linguas_pl? ( ${ALL_URLS} ) + linguas_pt_BR? ( ${ALL_URLS} ) + linguas_pt_PT? ( ${ALL_URLS} ) + linguas_ro? ( ${ALL_URLS} ) + linguas_ru? ( ${ALL_URLS} ) + linguas_si? ( ${ALL_URLS} ) + linguas_sq? ( ${ALL_URLS} ) + linguas_sr? ( ${ALL_URLS} ) + linguas_sv? ( ${ALL_URLS} ) + linguas_ta_IN? ( ${ALL_URLS} ) + linguas_tr? ( ${ALL_URLS} ) + linguas_vi? ( ${ALL_URLS} ) + linguas_zh_CN? ( ${ALL_URLS} ) + linguas_zh_TW? ( ${ALL_URLS} ) +" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE_NETBEANS_MODULES=" + +netbeans_modules_apisupport + netbeans_modules_cnd + netbeans_modules_dlight + netbeans_modules_enterprise + netbeans_modules_ergonomics + netbeans_modules_extide + netbeans_modules_groovy + +netbeans_modules_java + netbeans_modules_javacard + +netbeans_modules_javafx + netbeans_modules_mobility + netbeans_modules_php + +netbeans_modules_profiler + netbeans_modules_webcommon + +netbeans_modules_websvccommon" +IUSE_LINGUAS=" + linguas_af + linguas_ar + linguas_ar_SA + linguas_bg + linguas_ca + linguas_cs + linguas_de + linguas_el + linguas_es + linguas_es_CO + linguas_fil + linguas_fr + linguas_gl + linguas_hi_IN + linguas_id_ID + linguas_it + linguas_ja + linguas_ko + linguas_lt + linguas_nl_BE + linguas_nl_NL + linguas_pl + linguas_pt_BR + linguas_pt_PT + linguas_ro + linguas_ru + linguas_si + linguas_sq + linguas_sr + linguas_sv + linguas_ta_IN + linguas_tr + linguas_vi + linguas_zh_CN + linguas_zh_TW" +IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_LINGUAS}" +S="${WORKDIR}" + +DEPEND=">=virtual/jdk-1.7 + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-nb-${PV} + ~dev-java/netbeans-platform-${PV} + netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) + netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) + netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) + netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) + netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) + netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) + netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) + netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) + netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) + netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) + netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) + netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) + netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) + netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) + netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) + doc? ( ~dev-java/netbeans-javadoc-${PV} )" + +JAVA_PKG_BSFIX="off" +NBLOCALES="" + +pkg_setup() { + for lingua in ${IUSE_LINGUAS} ; do + local lang=${lingua/linguas_/} + + if [[ "${lang}" = "ar" ]] ; then + lang="ar_EG,ar_SA" + elif [[ "${lang}" = "es" ]] ; then + lang="es,es_CO" + elif [[ "${lang}" = "fil" ]] ; then + lang="fil_PH" + elif [[ "${lang}" = "gl" ]] ; then + lang="gl_ES" + elif [[ "${lang}" = "id_ID" ]] ; then + lang="in_ID" + fi + + if use ${lingua} ; then + if [ -z "${NBLOCALES}" ] ; then + NBLOCALES="${lang}" + else + NBLOCALES="${NBLOCALES},${lang}" + fi + fi + done + + java-pkg-2_pkg_setup +} + +src_unpack() { + if [ -n "${NBLOCALES}" ] ; then + unpack $(basename ${SOURCE_URL}) + unpack $(basename ${L10N_URL}) + + einfo "Deleting bundled jars..." + find -name "*.jar" -type f -delete + + unpack netbeans-9999-r16-build.xml.patch.bz2 + fi +} + +src_prepare() { + if [ -n "${NBLOCALES}" ] ; then + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r16-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + einfo "Symlinking external libraries..." + java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar + fi + + java-pkg-2_src_prepare +} + +src_compile() { + if [ -n "${NBLOCALES}" ] ; then + einfo "Compiling support for locales: ${NBLOCALES}" + eant -f nbbuild/build.xml bootstrap || die + eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ + -Dpermit.jdk7.builds=true -f l10n/build.xml build || die + fi +} + +src_install() { + if [ -n "${NBLOCALES}" ] ; then + pushd "${S}"/nbbuild/netbeans >/dev/null || die + + for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do + if [ -d "${cluster}" ] ; then + insinto /usr/share/netbeans-${cluster}-${SLOT} + doins -r ${cluster}/* + fi + done + + if [ -d nb ] ; then + insinto /usr/share/netbeans-nb-${SLOT}/nb + doins -r nb/* + fi + + popd >/dev/null || die + fi +} + +pkg_postinst() { + if [ -n "${NBLOCALES}" ] ; then + einfo "Netbeans automatically starts with the locale you have set in your user profile, if" + einfo "the locale is built for Netbeans." + einfo "If you want to force specific locale, use --locale argument, for example:" + einfo "${PN}-${SLOT} --locale de" + einfo "${PN}-${SLOT} --locale pt:BR" + fi + + if use linguas_ar ; then + einfo + einfo "You selected Arabic locale so you can choose either ar:EG or ar:SA variant." + fi + + if use linguas_es ; then + einfo + einfo "You selected Spanish locale so you can choose either es or es:CO variant." + fi + + if use linguas_id_ID ; then + einfo + einfo "You selected Indonesian locale which has locale code in:ID in Netbeans." + fi +}