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 7F92313888F for ; Wed, 14 Oct 2015 09:57:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 324A9E0801; Wed, 14 Oct 2015 09:57:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 920B4E0801 for ; Wed, 14 Oct 2015 09:57:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BEEC34094F for ; Wed, 14 Oct 2015 09:57:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB07F922 for ; Wed, 14 Oct 2015 09:56:59 +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: <1444815259.853b9fbd24692c99ca402a433fcc65533d5b39b1.fordfrog@gentoo> Subject: [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-extide/, dev-java/netbeans-nb/, dev-java/netbeans-php/, ... X-VCS-Repository: dev/fordfrog X-VCS-Files: dev-java/netbeans-apisupport/Manifest dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20151014.ebuild dev-java/netbeans-cnd/Manifest dev-java/netbeans-cnd/netbeans-cnd-9999_p20151014.ebuild dev-java/netbeans-dlight/Manifest dev-java/netbeans-dlight/netbeans-dlight-9999_p20151014.ebuild dev-java/netbeans-enterprise/Manifest dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20151014.ebuild dev-java/netbeans-ergonomics/Manifest dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20151014.ebuild dev-java/netbeans-extide/Manifest dev-java/netbeans-extide/netbeans-extide-9999_p20151014.ebuild dev-java/netbeans-groovy/Manifest dev-java/netbeans-groovy/netbeans-groovy-9999_p20151014.ebuild dev-java/netbeans-harness/Manifest dev-java/netbeans-harness/netbeans-harness-9999_p20151014.ebuild dev-java/netbeans-ide/Manifest dev-java/netbeans-ide/netbeans-ide-9999_p20151014.ebuild dev-java/netbeans-java/Manifest dev-java/netbeans-java/netbeans-java-9999_p20151014.ebuild dev-java/netbeans-javacard/Manifest dev-java/netbeans-javacard/netbeans-javacard-9999_p20151014.ebuild dev-java/netbeans-javadoc/Manifest dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151014.ebuild dev-java/netbeans-javafx/Manifest dev-java/netbeans-javafx/netbeans-javafx-9999_p20151014.ebuild dev-java/netbeans-mobility/Manifest dev-java/netbeans-mobility/netbeans-mobility-9999_p20151014.ebuild dev-java/netbeans-nb/Manifest dev-java/netbeans-nb/netbeans-nb-9999_p20151014.ebuild dev-java/netbeans-php/Manifest dev-java/netbeans-php/netbeans-php-9999_p20151014.ebuild dev-java/netbeans-platform/Manifest dev-java/netbeans-platform/netbeans-platform-9999_p20151014.ebuild dev-java/netbeans-profiler/Manifest dev-java/netbeans-profiler/netbeans-profiler-9999_p20151014.ebuild dev-java/netbeans-webcommon/Manifest dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151014.ebuild dev-java/netbeans-websvccommon/Manifest dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20151014.e build dev-util/netbeans/Manifest dev-util/netbeans/netbeans-9999_p20151014.ebuild X-VCS-Directories: dev-java/netbeans-javacard/ dev-util/netbeans/ dev-java/netbeans-enterprise/ dev-java/netbeans-dlight/ dev-java/netbeans-java/ dev-java/netbeans-mobility/ dev-java/netbeans-nb/ dev-java/netbeans-harness/ dev-java/netbeans-php/ dev-java/netbeans-extide/ dev-java/netbeans-groovy/ dev-java/netbeans-javafx/ dev-java/netbeans-platform/ dev-java/netbeans-websvccommon/ dev-java/netbeans-webcommon/ dev-java/netbeans-profiler/ dev-java/netbeans-cnd/ dev-java/netbeans-ergonomics/ dev-java/netbeans-javadoc/ dev-java/netbeans-ide/ dev-java/netbeans-apisupport/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 853b9fbd24692c99ca402a433fcc65533d5b39b1 X-VCS-Branch: master Date: Wed, 14 Oct 2015 09:56:59 +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: 56177db2-36ac-473c-97ac-5e3f690408d9 X-Archives-Hash: c188b3b77d30b8089eabe7c78db78954 commit: 853b9fbd24692c99ca402a433fcc65533d5b39b1 Author: Miroslav Šulc gentoo org> AuthorDate: Wed Oct 14 09:34:19 2015 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed Oct 14 09:34:19 2015 +0000 URL: https://gitweb.gentoo.org/dev/fordfrog.git/commit/?id=853b9fbd netbeans: bumped to new nightly sources Package-Manager: portage-2.2.23 dev-java/netbeans-apisupport/Manifest | 2 + .../netbeans-apisupport-9999_p20151014.ebuild | 111 ++++++ dev-java/netbeans-cnd/Manifest | 3 + .../netbeans-cnd-9999_p20151014.ebuild | 127 +++++++ dev-java/netbeans-dlight/Manifest | 2 + .../netbeans-dlight-9999_p20151014.ebuild | 101 ++++++ dev-java/netbeans-enterprise/Manifest | 2 + .../netbeans-enterprise-9999_p20151014.ebuild | 266 +++++++++++++++ dev-java/netbeans-ergonomics/Manifest | 2 + .../netbeans-ergonomics-9999_p20151014.ebuild | 101 ++++++ dev-java/netbeans-extide/Manifest | 2 + .../netbeans-extide-9999_p20151014.ebuild | 108 ++++++ dev-java/netbeans-groovy/Manifest | 2 + .../netbeans-groovy-9999_p20151014.ebuild | 111 ++++++ dev-java/netbeans-harness/Manifest | 2 + .../netbeans-harness-9999_p20151014.ebuild | 114 +++++++ dev-java/netbeans-ide/Manifest | 2 + .../netbeans-ide-9999_p20151014.ebuild | 377 +++++++++++++++++++++ dev-java/netbeans-java/Manifest | 2 + .../netbeans-java-9999_p20151014.ebuild | 273 +++++++++++++++ dev-java/netbeans-javacard/Manifest | 2 + .../netbeans-javacard-9999_p20151014.ebuild | 134 ++++++++ dev-java/netbeans-javadoc/Manifest | 2 + .../netbeans-javadoc-9999_p20151014.ebuild | 168 +++++++++ dev-java/netbeans-javafx/Manifest | 2 + .../netbeans-javafx-9999_p20151014.ebuild | 124 +++++++ dev-java/netbeans-mobility/Manifest | 2 + .../netbeans-mobility-9999_p20151014.ebuild | 126 +++++++ dev-java/netbeans-nb/Manifest | 2 + .../netbeans-nb/netbeans-nb-9999_p20151014.ebuild | 148 ++++++++ dev-java/netbeans-php/Manifest | 2 + .../netbeans-php-9999_p20151014.ebuild | 127 +++++++ dev-java/netbeans-platform/Manifest | 2 + .../netbeans-platform-9999_p20151014.ebuild | 166 +++++++++ dev-java/netbeans-profiler/Manifest | 2 + .../netbeans-profiler-9999_p20151014.ebuild | 121 +++++++ dev-java/netbeans-webcommon/Manifest | 2 + .../netbeans-webcommon-9999_p20151014.ebuild | 123 +++++++ dev-java/netbeans-websvccommon/Manifest | 2 + .../netbeans-websvccommon-9999_p20151014.ebuild | 94 +++++ dev-util/netbeans/Manifest | 2 + dev-util/netbeans/netbeans-9999_p20151014.ebuild | 264 +++++++++++++++ 42 files changed, 3327 insertions(+) diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest index bee61e0..a110844 100644 --- a/dev-java/netbeans-apisupport/Manifest +++ b/dev-java/netbeans-apisupport/Manifest @@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-apisupport-8.0.2.ebuild 3314 SHA256 b68fe791f275fe4fcc8b00888688949b8927cb39db2cf9ad7860017c6d20adee SHA512 35c4bbcd34ec0eaef8a2de86c13333d2bf092db61af48558c3e173bb17dbf8fcd15001307bd7c498f4ccdbaa4277e1ee42ff0909af6170039165b547f646c383 WHIRLPOOL 206fe8d5f64e76827d3eb958a629ba087e8a16c2797752f5d9e62dff4166653677587a81be19e0a2c6adcf49292255d532e1f542c02550b1cf6ffd51467bde3c EBUILD netbeans-apisupport-9999_p20150901.ebuild 3384 SHA256 187e107dda837afe5fdc0b321a4bba2e5fc6f18dff1eb359c64c122ad04b9e86 SHA512 ea07d62ef5f4ee8d68f17f69fb3b10924e37ff38a6c15147f432232f354d3475f4fc768a535503cd12da6a3d6b2ad303abec714e362506bd723ff23cbef4b36c WHIRLPOOL 9fc6fb1c7f4bbbf79d15eef81c9c440c3a98a2ed8ff4f04e73ba4a0e36b9c54cad45e50ea89e04e5a8b175a3d9d56c9f3e3af47fbe9dd21b9d8c367bb3623ea2 EBUILD netbeans-apisupport-9999_p20150903.ebuild 3384 SHA256 13a7a16b6a12ed08e9ad7234bec1ad5e5fe209e4f13e4587bfcf4d28a8869b22 SHA512 cbd2dbb4d8c01b1f6c70ca8a7835a58c2ecf94a0ec084ef2b2c73b675734ec61497925791bc2045fe7b36d372676309057a520a669828d604d93dd279306e9db WHIRLPOOL 08fc78eac704d29500bec5772b64ed2b159130e3414c9f7beeddb786ad3233afa0b74086d7de80d66ca335af56b22eafe254513a847839cc1ecf7584cbad832d @@ -52,4 +53,5 @@ EBUILD netbeans-apisupport-9999_p20151007.ebuild 3384 SHA256 83743358e195c847da5 EBUILD netbeans-apisupport-9999_p20151008.ebuild 3384 SHA256 9f682afd65e085bfa67fc236c470972420a6e66d767ec2fcb0850006e017f644 SHA512 7864a41c32f83f1792106fb7ad879c6b6df38dadccefa8c8049a0d35a0e62d34db9c35eaa33cbed57878b0f25b8be2d0d45a2e6066fa8254b370c3894b1714af WHIRLPOOL dd5f5311be9ed9b990a2c79c9830d521cf0b49de85e9bb10d78552ffa82f1ef42cfb2787a2eb093d20a87970e24ccbb9c2cec25904f3f480214bea0f1f1b0a68 EBUILD netbeans-apisupport-9999_p20151009.ebuild 3384 SHA256 488bc80df59bf986c9cbcaaf7ea448ef7b93e389f09611674d4638aabd650686 SHA512 6567375e4adfd8299b00caaf26cbf93268e63bd54e1c283220be6904e8c14eb702472714945a805e4923096d317733eb638d932570245f7a3407265f294328da WHIRLPOOL 6725d8e4c1b142927a8fcac6484a6e514265431346275be69e06ed387d0c1400498658c911b05b775730f63381b232b805ce9d0747f7fa5bc77ca14061dd7d0e EBUILD netbeans-apisupport-9999_p20151012.ebuild 3384 SHA256 9ead1f6f4135b68d31e7581fdaa7c729ccaf17e45acec8ef1da5eb46600a7e64 SHA512 457131c024339d1dd7dd2bbd379dd96781feb0b4fffc9ed140e1742bc551f84e2b3f69d1b3aac51216cc826abb78fd3b1731454dcb8d98e79fb0d8d40f7b486f WHIRLPOOL 9c73131e6b96a28b692c61fcdf31a656ee0ffc82ad50c4c90fc48e20da1f4296716b8798fcff04f3f90c48ea09f49da74815b97feaadc384455516a4fa820350 +EBUILD netbeans-apisupport-9999_p20151014.ebuild 3384 SHA256 d895212abdeda6ed0690b68b542407e99ca8b1064f97119693148ca0d11a454d SHA512 9428a412a0d2a0336450e9f1dce68b41e007a78a56d6091dabf4b4957d10d64b47b093b8c58c2f44d52918e7345430b873e613018a757007362c3e2a0882822f WHIRLPOOL 94e2ad01ae80da4fa92acf5605e7db23c6c5ab42075640a2d5a783c4582f02430e1801fe468f45e6b1801514623a3739e684f13f27999b6c29c18ccb96605bdb MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20151014.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20151014.ebuild new file mode 100644 index 0000000..9cfba00 --- /dev/null +++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20151014.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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-r14-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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 c9bdbdf..5f951fd 100644 --- a/dev-java/netbeans-cnd/Manifest +++ b/dev-java/netbeans-cnd/Manifest @@ -14,6 +14,7 @@ DIST 5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar 2388361 SHA256 9d3e8 DIST 6579F6C3D1F5919A96522788A5BB4F0B17027DC7-clank_0.3.6.zip 7506472 SHA256 9be771787ce11220cc5d641e387637cfad82fe11e3597fb9a941f2334847d7aa SHA512 fc8c993dd29160423d142c0cbdb07cdfca81bc350a517af36f958f19e67d2cd0be2cc55e44c81934f240fe7c2251e4c31451db127824de92d669ddadcce0f4fb WHIRLPOOL 34aa693596c4273af200fe2869d9b6bc30137422ac126c43da4a15fe46b956c14b6b34b984a8bc30587239b48cd83780741f262626a25ec8cb9f8f507c2257f7 DIST 6E655079DAB13EED7E53AD961F24664274646299-clank_0.3.6.zip 7723898 SHA256 c0f2b52bb3badea9fb74071ead110722b1a6e716b37eb2dc59067c7a2dd3a1f0 SHA512 8a76ffe58a101ddf351c0d13afc15c720d2b9718695ad2c51f4910ec90585b6a546ee267e33bf3f7266b80ddda2732fae53b00382f5b5b662c9fa5b3b2f0d261 WHIRLPOOL 86a1df3f152fa0e3287963a91cc64ab6c35d34e60591ee23f635433835d016b9e8e812ab0d950c681247f1a18cf83ad61b6d75a6d061ec70010cbf010bf590fa DIST 765AEE3D86807079B0FE630F0802E6A7EC86B2DF-clank_0.3.6.zip 8496056 SHA256 a369d68819db42141efd419744944822650f4dd792d35dcbb22b8c523f1f5635 SHA512 f4d68eabd8b3711f86ff54858a3e715ff5af715a93f0c1349d38db16158ea866c94b64a663b32ae6983d3afa674963bfe25774573113b414fd198ae2027b7391 WHIRLPOOL 21176e8901713158774cfffa3631a0b3edb5b8f46215f6e3edf8d661aeb1f4ee6e4fc9b47ae8d320c65d9ddcc624f888637c3fd38b39e15fded780d17363ef6c +DIST 83D26AEF1BD40E89B6C61273F28AC4EB6AC11EDD-clank_0.3.6.zip 8525958 SHA256 fd2e84cd60aee6e07d022aef6953c92487b48c3b9e8405f35a4b2dae1bcc28f4 SHA512 ac626166c5b9c1c7bb18e7a91045dbb362072c0086b15fb94de161e98c84cb74e7d34340422d13b1edb46853809c3d2640042b9488faae56b2cd03556085bf2b WHIRLPOOL 1e8efe4a8c6f56f287fcf2a52b34bd16154bebb9305041f4da9d778aa4affe61bb610250cfeb0bdd3fe752b4be1deb7603d4b4b260408e5d049bcc577a222b53 DIST 91F81ED36683E7DA584C97FACA3DA8E21F6EBAE4-clank_0.3.6.zip 7290324 SHA256 b6e274a8da5889c0206f342d7e9549ea3b1563d70fff2029e3ad1add0b35b43e SHA512 e826bc72cb839f6f7725d2fff70b45c594645410f2ebab0131c5942648cfaaed67d407ea2dcbe9a1fe060b35fd981ffc9e8fc1bff3e486acb782d073d55d37fd WHIRLPOOL e3a910243d6519b66c45f197f918ef0146250f58967fb37cec8e6a9fb2271cfe9c3b548d58f953d81f2c333cc5b3440b5dd6a156c20903bd119ab6ab7df707e8 DIST 998FF5E89B7386A5FF0474097C64E2D2D89879E3-clank_0.3.6.zip 7495324 SHA256 ae5588c113577c023ecac708d5836b31414bda68b375e18ad91ce7a04a3805ac SHA512 fbfc9e56c7539dc8c04d6fd89895d2808af4e933c52786c8b62bad2a932b62ffc82080e93cebc977337a2b5a9343a6dd773c8850d1a09c320f3e619bcb29a416 WHIRLPOOL 5773bd9f133336bee513896488cdc5a097b3ea30ed9c7587f3e39a83423e6cc7f619b333558327fbd062f445dd6ddc5bcc932be18c0d4157b3142db9d2f20a59 DIST A8C1DD1ECB47D9424506C3BB0B40D7148278006E-clank_0.3.6.zip 8275014 SHA256 5ff9d23973dc3ad09d777d2baf9aec58f07c119d14ab168a98006bde20ddfda8 SHA512 b2c58cb116312e8ff06f8c842c0924b8a5db5fba3010e333924318ca5b5963025bcc3a2d048a2333a5f666eca8571c8a59dfb3d8ded6ba3cf99c07a46420f0b8 WHIRLPOOL 5bd5ce58a35403f516591f43b9a18d68be0a4dbe0e0910d3702df390fb7ceee98271cf0c08d92dd1f8627dbb1f1a09459c631c293169aff6639a62c7b3ec00fc @@ -53,6 +54,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-cnd-8.0.2.ebuild 4510 SHA256 0a9a4e58e28f395b5bcb017016b6ddb1b77afe393d0e5bd81cc05e3a32076c71 SHA512 2b1fedfe292fa140920fd11829e77127f9535e08b8307886accfa37e6d11195a1204e6b71b2640937da0711c3ce0bbf80c0eaa3c248a64fd61b6a3d99d5de14e WHIRLPOOL 10b1518360ade5d6f1f27c79a10f630b94a2ec5062e18df11f9828d4b374e6cbdea0b9f770e01c117ca90fa194dff9bd3be6a468075c2d35167fb78a7bb32794 EBUILD netbeans-cnd-9999_p20150901.ebuild 4790 SHA256 0be3c11a9af46d2d8aba83d0e15c09b935bd598464f43d5030887464d3f96f9b SHA512 f3b2e7de31f3434d6390bec0382fd6d77d2075470543cb9052572c91483ccfd026822a5db6f10932cb86b5974a0d2c5f390551873dac6cbd1f463b62560ab196 WHIRLPOOL f158e99c020c4e0f67c3ceec7a59d5f2cc455c52db4a9301bce821a123b7c8f3e570467aabe9281ac440d067dac36525b864dabd0c06b88ad86a2464d4e5140a EBUILD netbeans-cnd-9999_p20150903.ebuild 4790 SHA256 57a5694dab810fdf15990d575c3270fb7338837550ba4598e21703e4d904e85c SHA512 b5073782475520ba9126954d5341c0977a73f4b838ea4484835558b821baab49cbb52e3e07705f611e879b3eefedccb1e9a0817bbf9b98d80d17018e5888ad1d WHIRLPOOL 408c5a25c4877204b5e3a9ae8c4b7b23464a68527a8bd37e37df89a5fddf71fd23cc4e80610981dd72325d9289cfe2c5b3172986e3aff240be9911354b7d8946 @@ -79,4 +81,5 @@ EBUILD netbeans-cnd-9999_p20151007.ebuild 4790 SHA256 548d7b5faad518b3814711ac9f EBUILD netbeans-cnd-9999_p20151008.ebuild 4790 SHA256 4f8c0a25da5e121b58491cc7f5a94ca88e910cbbf75006081bac82fa810e30af SHA512 690e788e280b9f44ae35d654c839128ba30d2b5dca7f940f7246b964818f46f7fd7b2124b47e1684058cf305f21ce5e2c045f90eafb2603bcd2a9050add5a5a9 WHIRLPOOL b56e7cc0d10d65ddade0931504a8e7260a74f3767c8bf9245f482f0b1c6c0a534f5a3d5557fce1bea1c87220dd396bb9f469a59b3d2542b649a7ae1617a64864 EBUILD netbeans-cnd-9999_p20151009.ebuild 4790 SHA256 7e23d07a94400e5b69175a651da68182744d9e32ce3b77fb22386f28b8e2db5d SHA512 3de9a1a09f3abadfc025f390e6fa167b60eff0ac78837a3058ae9fc755583f15b234af6224d8851ac69fdd2513f6d7edaa0fc02063f5b8a3610ace344a02780a WHIRLPOOL 5954092d642a51d04a90f7e3d8b0cadab4bdcbb0f57ce2f5dd1b8117ae4c718f5c00527b6d5dd2a8f8ea5851769bd29cf9566ba3e7beda1a6048abf6de4241e6 EBUILD netbeans-cnd-9999_p20151012.ebuild 4790 SHA256 c85d61c99c956ea519a86fd10acae12515dd61bed0fac444bf49ac9140c05669 SHA512 da27a27c94a8b6943d8a447f43f4b87e14971d642aa19296fc10451f6279128264994412108b8e046aa5fddcc2d9d17ee002fafaa6199f085abd6b026cbaf163 WHIRLPOOL 10e2c6790a5e2f22380cfaff627f08134e6e54383978a38017c4a6688c9f477a3dd7acf842e6944c70deebecc9793aa6d4b94b4e85c114152518767a50ad35f5 +EBUILD netbeans-cnd-9999_p20151014.ebuild 4790 SHA256 dbabbb0b8619ad85c0ad188ef3a237d09b21d51e49b4c6d54685964add2b8e24 SHA512 acbf232792c4d817c6251c58bff89e244a999f36baabd7db0679bec3506a7b3470779fe006fe60e957712e88ebbd8e3c6aac448e65c52c9056b59564edeb34ec WHIRLPOOL 8d163b71433db872187ba4c69d9a4286464804e0b7aff9e85f71106a732ce1ef580622706cfc9c2c8750013a19131d0320a50931a2f44355c0ee81fe6aeda6db MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20151014.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20151014.ebuild new file mode 100644 index 0000000..bbd1b0b --- /dev/null +++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20151014.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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/83D26AEF1BD40E89B6C61273F28AC4EB6AC11EDD-clank_0.3.6.zip + http://hg.netbeans.org/binaries/BF2C234985CF9BD6CDE18114406C67EC7C32B84A-cnd-build-trace-1.0.zip + http://hg.netbeans.org/binaries/BB83D4F8047D608858154CB041054F5CAE35B903-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-r14-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}"/83D26AEF1BD40E89B6C61273F28AC4EB6AC11EDD-clank_0.3.6.zip libs.clank/external/clank_0.3.6.zip || die + ln -s "${DISTDIR}"/BF2C234985CF9BD6CDE18114406C67EC7C32B84A-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die + ln -s "${DISTDIR}"/BB83D4F8047D608858154CB041054F5CAE35B903-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-r14-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.1.0.jar + + einfo "Linking in other clusters..." + mkdir "${S}"/nbbuild/netbeans || die + pushd "${S}"/nbbuild/netbeans >/dev/null || die + + ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die + cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.dlight.built + + ln -s /usr/share/netbeans-harness-${SLOT} harness || die + cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.harness.built + + ln -s /usr/share/netbeans-ide-${SLOT} ide || die + cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.ide.built + + ln -s /usr/share/netbeans-platform-${SLOT} platform || die + cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.platform.built + + popd >/dev/null || die + + java-pkg-2_src_prepare +} + +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 8bbdb05..b9db9c5 100644 --- a/dev-java/netbeans-dlight/Manifest +++ b/dev-java/netbeans-dlight/Manifest @@ -29,6 +29,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-dlight-8.0.2.ebuild 2898 SHA256 08402481b573b90396431be03bda45904b2dd29f0086e09a111fe362e310c3f7 SHA512 3f6d6c9ea0043382562fbe47ad16e3273032407a74cb44ec7ff26736f96483835af4be8674361e910912a550b9fe592cc5a28c2b93b6b993076553195c35eac5 WHIRLPOOL 9d8706ccbc0d97b0f5d64ebf22c36316b08d8fbccd57408119ca5f5faef08c7f82677bf67488ff611eabeaa730e4c9a730c50966d94d738cfe79330ac147863d EBUILD netbeans-dlight-9999_p20150901.ebuild 2968 SHA256 f24ed1a628b18c080f9e06c1b488b101ebc2cf6cf0aa44c5b86f168fe52f912a SHA512 0fa494a731edd4f27e36d537e0a57ab868b8a04db394777b191d8352c452f75d06900ec23b0e25e4d08b18cfe9a8d9245890b01e24e510e52b2b218ebb91d2e8 WHIRLPOOL 439d07e76a1cb3967a1ef46540bfde542e11ffd7e4fbeb6fde5f198fa5f203703b6df26c4ba764d11d6299849fc8d4c5b7eb9f2133de02ccc586deee4cc34c34 EBUILD netbeans-dlight-9999_p20150903.ebuild 2968 SHA256 e798582769fa118385293ad20cfcdeb51a4e10be437941396b37a71faf72bf3a SHA512 3080e3c87c9668b8c1646a61f2106ae937e1b8c9049e9d08aa933458b8e4dc4721c1caf84e12c37c397c4982cecfd53e39f2516c05617a59905182aa4e4190c1 WHIRLPOOL 5ea9f447ee4cd7a398db727ce0e3dd2944c58979d8af5f5a9c686732fd6dabf2403c2357c2e5d4d088ee36655b403dc6d574e2676d032e639b9cab3faf00bf70 @@ -55,4 +56,5 @@ EBUILD netbeans-dlight-9999_p20151007.ebuild 2968 SHA256 087cc28793b4ab9a15df90f EBUILD netbeans-dlight-9999_p20151008.ebuild 2968 SHA256 82a3603d574766b53dc8295ccb32fb5569b81de7f2ca69e6978270732169a478 SHA512 8ec42a78a922e849370e32dcdf9f6badb2712c588ae379076b6596426b458283a33e6e057dc57a3754fad0274949f3363e8f2ecb2d20ec792db2192232c6b46d WHIRLPOOL 94db73e4e36a975b35f4fa8c81b2294e740894164101c62e7434f332b7f9ad26cb8c0c1862ec589d053033a95f168aaca51cace4b565fc9d76e0423a393e0153 EBUILD netbeans-dlight-9999_p20151009.ebuild 2968 SHA256 1501194b3ce181c484e4ab414bd70d129f1c8eed8f058ee27e7efa70aaf9beab SHA512 683f0b12ca61eb7e56b180215686d43744eedc78c7126baadaf7d690aba7b9ba018c3562dfabb89b0ef89ba7ce9b4febc33ca7dfb482e3dd74bbba2a1c8fd09c WHIRLPOOL f97a32f699d6c126f87c000975524234c8f1e78d5a096be7e93294b0113a4efd6dd7304bf35ba49122c4889653282c43b049f5f01d4d59a4b2de8ed392081f68 EBUILD netbeans-dlight-9999_p20151012.ebuild 2968 SHA256 7bc24384abf5b64ba35cd2e03f2be477ad0d01c817b43395146e63b7519edf3e SHA512 c710f43a0807216a5bf19815fe16486a070e60855671627680cb6e5f5e1f02d032a3eda56d8d0bd4ce4bdc5432f76f34bfd3943636e0ee554dd84df95249ac3e WHIRLPOOL fb00e29a1c1ea39cdc09c56b610085d557173f991e315433d71a8f4a9c0ef3ed7626bdc4747b7453469dff68a951acc960746bdea4233079174ff5e5201e2bf3 +EBUILD netbeans-dlight-9999_p20151014.ebuild 2968 SHA256 4acdfbe07f4a0c7ad888f8b79f408e4485b7be2f0b1ce6094932f740de74cb90 SHA512 721e371626f8e0f0c6c8c792f49db8e6908e1b98f8cec3c478e14a553ebab68db75ce0914ef7115fd3714e04d1ba836ff3ea1e1b896ef35f57793ad2380845e1 WHIRLPOOL 88f53c2f51c75298be50e4d61cd1c1264ba323dd5f5d62165457acf6a4c6ad28a4a2d8998fc3999cbf806ef347f5427d571fecbd605a66b1120d3ca489f20bda MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20151014.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20151014.ebuild new file mode 100644 index 0000000..10883c3 --- /dev/null +++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20151014.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/51AC4960C19CF4C2CCA636765BFBC09A5029BFC5-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-r14-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/51AC4960C19CF4C2CCA636765BFBC09A5029BFC5-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-r14-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 e1f193d..d2a715d 100644 --- a/dev-java/netbeans-enterprise/Manifest +++ b/dev-java/netbeans-enterprise/Manifest @@ -58,6 +58,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-enterprise-8.0.2.ebuild 15071 SHA256 84621e3bb946cfa254bb70ca3c3f61202882a7e6d631769ad2f0f4639b0de875 SHA512 6ad38e840764661e6bc5b89b5925e9665871009ba0b640c0a78c555ec104214dbee1200a93cb48e655bc620e07bb6e4d8932b23a00fe458f8a5e9e5c3200d79d WHIRLPOOL b2c2bbf2ff72f8cd9b4cdbe039fdbf7cd074b0fdc20f634aa0b6f79f5c639be358c61fab30854a6e3ab9714a285d9461ac4e39e94e10c14c5068422d6c873c56 EBUILD netbeans-enterprise-9999_p20150901.ebuild 15931 SHA256 44c06fa71678bc9434d41c8f580375f0e56c4756da1ad14de658574360a4ca8a SHA512 0e0800cd6259f4e4524d328a593ad4d1a40cb0b129ef53088403c0fe90b732f15eb897686485f629501cdaf4efbbaa69c60ce648e655a016abf4d24588a9191a WHIRLPOOL ee6d2a407a2d6e124f21912a7a0b1c6dfc8155cf228f9f451554c1c40ab63d497070d0264360aded0de23e7c03a52825593fde03dc4ed092b65789cbe083d47a EBUILD netbeans-enterprise-9999_p20150903.ebuild 15931 SHA256 2d15c63f7b1c6b590dfbda9cc26aa44ee36c043a695ad4ae06bac98b17f9f73a SHA512 6ca976ec3cb4b96d4d9794abaaadaa7e42dc0d4537e02a6cd0a65b0df7c2789a5eeeaabdb33b42df134271d4f8f0b5d54ddbeffb18a704e36c6e8a25f6d5245b WHIRLPOOL b0927d3c4aedd46698cba83fb07e35d5d0796ec9a50b65cc828534da1c45ab9b75701c58003583af3f999a2d4fa69a6b4a62abc3225d7591444dfca0353e3bf8 @@ -84,4 +85,5 @@ EBUILD netbeans-enterprise-9999_p20151007.ebuild 15931 SHA256 519dea4a28684c5ae5 EBUILD netbeans-enterprise-9999_p20151008.ebuild 15931 SHA256 36796b01942bc0a0169edd954a4bfbb0460edad28a04d418cbc7f5ded4dbe46d SHA512 e3e614d0b5c895b5333e95951db345fc19146bebf0b903b910ebe02ec0c25d5ffe106478c7131c8eee029b69ae7f9b1c9753dfcc65dbbadcf0f84e01736dc770 WHIRLPOOL b62762366001c4ca94e886a9932ea4249d99419f846ee826775d5ec79d4abdd5242fe98375a0279e69b63c8582dfd379fc7f080bcf8341f34cfff8c787b261e7 EBUILD netbeans-enterprise-9999_p20151009.ebuild 15931 SHA256 91285184de85913fb8dae0e82972d130bf7fc9fdeec2e2b4a546c12e8e651f4e SHA512 5ff91b6d703e538d52933a4975515b4e701b87ad00eb2ceb833881baebbd18b35e8fd13f5b8f8b9af983b2a20a5991b5be9aecc2e2ac26e3e18e2a774502f3db WHIRLPOOL 74294db3a76153492e9f32becbcad2ee3fd354434b6b54330bf951c896b4c6f5882fcecedf1f4031296299becfbc20e3d42270eb411f51f14c8fc39cacdd6d0d EBUILD netbeans-enterprise-9999_p20151012.ebuild 15931 SHA256 2a6a36b3973810ee9418d00d0b5dcb4603d6f7c87d8c7fce69a11d410048773d SHA512 91fe210620ae2dc874974e67056a610834b57ae5a17152803c8b68c512960a512a8757ada4c1842c804d6673b6b3a809b6d072bd465f42a54cfe786a9f6c0a8b WHIRLPOOL ef077b30afbd59ae4ffa117fa4689827aca7450f83809f38d41abe3a2b4ac4b808458f9721629daf0e3bb3431c3c45369e91f706cb246d9a8b701051160de787 +EBUILD netbeans-enterprise-9999_p20151014.ebuild 15931 SHA256 b90559bb22f7fbf454db61de85fc662f10de67ad27876405d4a959bd7fe982b2 SHA512 78b55a75293626f3eb45953b9765b9825b6e3c8cd06d08b15caa0a1565534db84c24202642086c3d5870ee0549615685a060cf04d2fe57f4ac50d459eeab268a WHIRLPOOL 50d23f429a4a0c101f3285bdb40e37301a274ff4a3324b4fef52214fc23435534658335edb30022f063550664c771245e2e3aa310f55e9128ab17746f6d8ff71 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20151014.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20151014.ebuild new file mode 100644 index 0000000..5e50988 --- /dev/null +++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20151014.ebuild @@ -0,0 +1,266 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0 + dev-java/jsr181:0 + >=dev-java/junit-4.4:4 + dev-java/tomcat-servlet-api:2.3" +RDEPEND=">=virtual/jdk-1.7 + ${CDEPEND} + dev-java/antlr:0[java] + 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-r14-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-r14-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 --build-only --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=${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm commons-fileupload-1.3.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.3.jar || die + rm jsr88javax.jar && dosym /usr/share/glassfish-deployment-api-1.2/lib/glassfish-deployment-api.jar ${instdir}/jsr88javax.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/aws-sdk + pushd "${D}"/${instdir} >/dev/null || die + rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die + rm commons-logging-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.1.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/javaee7-endorsed + pushd "${D}"/${instdir} >/dev/null || die + rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/jersey2/ext + pushd "${D}"/${instdir} >/dev/null || die + rm cglib-2.2.0-b21.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.0-b21.jar || die + rm guava-14.0.1.jar && dosym /usr/share/guava-14/lib/guava.jar ${instdir}/guava-14.0.1.jar || die + rm org.osgi.core-4.2.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/org.osgi.core-4.2.0.jar || die + rm persistence-api-1.0.jar && dosym /usr/share/glassfish-persistence/lib/glassfish-persistence.jar ${instdir}/persistence-api-1.0.jar || die + rm validation-api-1.1.0.Final.jar && dosym /usr/share/validation-api-1.0/lib/validation-api.jar ${instdir}/validation-api-1.1.0.Final.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/jsf-1_2 + pushd "${D}"/${instdir} >/dev/null || die + rm commons-beanutils.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils.jar || die + rm commons-collections.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections.jar || die + rm commons-digester.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester.jar || die + rm commons-logging.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/struts + pushd "${D}"/${instdir} >/dev/null || die + rm antlr-2.7.2.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.2.jar || die + rm bsf-2.3.0.jar && dosym /usr/share/bsf-2.3/lib/bsf.jar ${instdir}/bsf-2.3.0.jar || die + rm commons-beanutils-1.8.0.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils-1.8.0.jar || die + rm commons-digester-1.8.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester-1.8.jar || die + rm commons-fileupload-1.1.1.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.1.1.jar || die + rm commons-io-1.1.jar && dosym /usr/share/commons-io-1/lib/commons-io.jar ${instdir}/commons-io-1.1.jar || die + rm commons-logging-1.0.4.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.0.4.jar || die + rm commons-validator-1.3.1.jar && dosym /usr/share/commons-validator/lib/commons-validator.jar ${instdir}/commons-validator-1.3.1.jar || die + rm oro-2.0.8.jar && dosym /usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar ${instdir}/oro-2.0.8.jar || die + 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 6b976c6..3670ebd 100644 --- a/dev-java/netbeans-ergonomics/Manifest +++ b/dev-java/netbeans-ergonomics/Manifest @@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-ergonomics-8.0.2.ebuild 2843 SHA256 f9262f6ee7f2aed1fab9bf4cf756f565272e9894afa50b349735e39961e7acc3 SHA512 f158c27640541f7aef31da050e0811c07a251ae4797cc663b95a074a47eaf9d6bb7a9aa11ba38ea55e75c185f7dba74629ba6716a819e8ad68eb3db9ada71451 WHIRLPOOL 4fe9634fb673fb05dbba25996efc3a212ef3bb23ab6e7c732cb75de076feb930735e3901806fd9c801abc7ee8aa8eb800718065325d415371255a886474061d4 EBUILD netbeans-ergonomics-9999_p20150901.ebuild 2913 SHA256 5c3c619373ecaa4361d21b0686e634abd8e4f94f1d73aedbdc57307d50c64ba3 SHA512 d83f039014436f6e26b1f6fab2391ad2ecc33c184847574ea9c646a1b028f22ce3b566e4976a28d5b6bb00fd671043ff81bc718be76304077caa016613ef1edc WHIRLPOOL d0dbd357622f050e0b18a5c1262057050b740ce60069bdf6450cbdab0cdc4a78c81fc28e3837bd1fa1ab571666d3c2885fb975f5e26d50550b7c30ddbe17f547 EBUILD netbeans-ergonomics-9999_p20150903.ebuild 2913 SHA256 08d2510fcb31a4ff36c702493e7a028659225e1678b6ad519c625b11220286c9 SHA512 5c5917f2498717d6d404145d13f2e1e75e1e93b08baaa451fbfa4c8e9b518f6207ec1eb86d7f6d57cc96ebaf55c0926f14b8601d7c2ea036c6566e95b2c5deb0 WHIRLPOOL 0e82e1fc32f080535e2b621f69111f0b5f453e08613b916c6fa1eb741cd9dfdb72651b31ac8f5c7bcf31b0b968aed41c3c6d9de6fa272b6d06851853beb1d57b @@ -52,4 +53,5 @@ EBUILD netbeans-ergonomics-9999_p20151007.ebuild 2913 SHA256 ebd6a5c9d49c5c5f96f EBUILD netbeans-ergonomics-9999_p20151008.ebuild 2913 SHA256 27d638c1e3af434d0ca38517d01c357490abf052dda864adcb7a55276dc4c3d3 SHA512 78d647b7d39162ed47fabc0356affda4a69ebbe0a867f00d67234d81bbf1b95ae994069a2ce21834c0cfd30cac497d728ab0fcc99433d5197b4189973d3cacf1 WHIRLPOOL cbecf4ea2548b056b4280f48a986a9ae8ee4ad53b6c14ede58bdbcd1290ff1622c42eb517903885a7fb60f6b6e929f33fb4910f48eab170df2092b2d29067581 EBUILD netbeans-ergonomics-9999_p20151009.ebuild 2913 SHA256 74d8160699fc071c2249200bb4647176d91122267f123c5d6a33a54b2f5c1dda SHA512 cad8f54ebf7c7010936aed3fe953d35f8503cb9379835363a74de52900b3aa0895de8c225e60ce4d741d0860575b009087dc99b7cc8a2e256d6e7a6ac24b570b WHIRLPOOL 76a75e7f0651ba51c4f0c7a44d2360d4f85776eb8833437bd5b0513fa58a9e873664c860858fa03e0abd0c17f0e592a38b458cef23d3925e6f2f6cafc23bedcb EBUILD netbeans-ergonomics-9999_p20151012.ebuild 2913 SHA256 553b35c1b7e382a4b2995f4cc559efd563f4ffd85f813864b50257dc8d2013bc SHA512 0eb5a4ec88eca62cf2afa89ad882b0461aa224c35767b368719f50bff55152c2fdb788990f9b412aac5f9816bcbcfec2a0208aec584af87097defb030c5c1bd1 WHIRLPOOL f208a7c49e2d9df9e7c4786d45e045c0ef2999f521365a65a79327d8285e9cfbcda1b814b1bdf95b994e6f2ac39eff3bafd2614e17a2dc479a004261859c86f3 +EBUILD netbeans-ergonomics-9999_p20151014.ebuild 2913 SHA256 6132b32acc49a8dd397eea7ed9c785a5fc07698b5ff9e41ee540228f123aab45 SHA512 ddc9b3cf02e1480bf23ecafe5262c04d88e8fc240b71278b8fddb6b8234c0335cb9a8d17caf0074b1d7ce42e27929dd8dcfc9881a3a3ffb97ebae1311b0a3d0d WHIRLPOOL 1ab424fcf28190952d584e16fa5a222aaddacf7c17a30f22073386302d96ca6d312562456ad06861b7087b9fdd4300d3e87d1ed27effda145010285cc0672f02 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20151014.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20151014.ebuild new file mode 100644 index 0000000..1437ecb --- /dev/null +++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20151014.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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-r14-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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 fd13797..45c1910 100644 --- a/dev-java/netbeans-extide/Manifest +++ b/dev-java/netbeans-extide/Manifest @@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-extide-8.0.2.ebuild 3307 SHA256 084e952eae1708b0fab785fd34313985e864dbc74a8531a0d5cdcf906e88f85a SHA512 ade8dc37aa932d7ec20966199e521311716061c23df08d02635f78efd2776f1d7bf040b0f9c9488b947bbbdfb3e33fa764723e3dfffa2214892bc6d685428f6f WHIRLPOOL ad2c26b005675ebca7d902ff1e6caa28552f3fda6795e327cc3584cf109f0ad6efad6516e15af5e70d689be236298b0948003e09a3da4991b3e29a1c85607b2f EBUILD netbeans-extide-9999_p20150901.ebuild 3377 SHA256 a459e45e713807b3565add526bbbca698d49b86ec31dfdb90dde5de79a98bf4f SHA512 7221a46804530530304a4cb1a36d58a82c19717e9d6a61c4e5c35a28ad3cb58d108fb11341a5ef9005557b1c7e891478e64f38aa12efffc652ddb684ba94c0d3 WHIRLPOOL 8b4d65a5d5c72f544ea83b43681136ba08678b20a71a15d336e9f8cf235331e01d6ba21bb7bf8147deb638d9e857006eb1ead0a0016e47c3c21262012c03e8ff EBUILD netbeans-extide-9999_p20150903.ebuild 3377 SHA256 e0a7a1f3704f2521ff54dbaa7eb9672a10bb8b866026d359c6fd4ae287937afa SHA512 c0f77e05c7a78608804126a10738d46e337f38b0124e30f50d14fedb24e984bca9a94bf31ee8ff6cc3931ca8b74527d521a27384dba09f555f7d59bafc366642 WHIRLPOOL 73fe4c7dc37d7b1ab2794cc55864dad1a5c1408a14c028df00c9f26c5049f08ccb5b8d2a88d3b0f2ad72d5fc927513692157e38b943db69fce602f6256638ab8 @@ -54,4 +55,5 @@ EBUILD netbeans-extide-9999_p20151007.ebuild 3377 SHA256 30606ed9feda8be36f4a39a EBUILD netbeans-extide-9999_p20151008.ebuild 3377 SHA256 9675a2bc363e560b293a931991097674765ad5040c040a6e4a3252e231225d4c SHA512 4b0802c7900b97e0a48dd6418ec9a0290c949bb845a91d5df92a41e4917d40e932441ad64f0e605924c6acc0d3ae952a88d55e39499aa948aa53c45631534bf5 WHIRLPOOL f0bab9b0c9ca4426529f21a863b58fecaaaf1478e20994aacf38bd89add4ef55e4de10412a5bd026718a955cc1555dfd7bbc39ec4cb066ff3d70b84f2af2884d EBUILD netbeans-extide-9999_p20151009.ebuild 3377 SHA256 f6b6f924223013691f26d73e228425652cbcbc2662727eef6630df14671e205e SHA512 7180f16c6bb607f5aa97b4468bcce5c4292673fe254a6b93c03a3d704464f06b8a9d013e770d5006035e65f2db2bd7d72a77dc76d02bc823abee8e1059fda46c WHIRLPOOL 9b0b1ad8a92536fefd548441b4d68742250c276d514a162416e36d473af2515eedfc8da63bae5649f44a2049d79beaba76ea230ca6516903b5a906272061499d EBUILD netbeans-extide-9999_p20151012.ebuild 3377 SHA256 9945ab6cdd2753ea4bfa000a6ed16ae80d32374a5a28386488268a04ba4fa94a SHA512 96b42190cff141d0d46524ab0ffeddd96e00c0ea40ea15be9bf384e555a876a2e8ead4e1cd1e5a971cd43ff78ff33b130ab18eb30ac2cf73a6761b2b7e8c71bf WHIRLPOOL 700a16ca37f090e83797aaeff2febc163e818a01ba09a65abe14d5a552f684956312220fa6ce9ca5c9e1c121060b2eb45a677621b183050358432bd1527d195d +EBUILD netbeans-extide-9999_p20151014.ebuild 3377 SHA256 cb37d6ecade983ca7cc8e75c06b7e063bfd73fa52ced143b2ecbd7b3f608d032 SHA512 fdffaa33d40ed322f95e5570bf5e058fdaae3bfaaf094e202b5978616378c9e5cc556ee675f89794675f09886eefd3b8fa429f4d363d3109c3cedfbaec92b562 WHIRLPOOL 7a423564b6875244574613d00b1a3ebe0e3e1582759f8ff66df0324c9020c1e28478d19120dcb0fe819347a0fa407fc1b8c82206cd51bf9c5a533983ad5a9197 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20151014.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20151014.ebuild new file mode 100644 index 0000000..a08200d --- /dev/null +++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20151014.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip + http://hg.netbeans.org/binaries/95CCE237B1E9390FBED0440B601822813DB220E6-ant-misc-1.9.4.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-r14-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip o.apache.tools.ant.module/external/ant-libs-1.9.4.zip || die + ln -s "${DISTDIR}"/95CCE237B1E9390FBED0440B601822813DB220E6-ant-misc-1.9.4.zip o.apache.tools.ant.module/external/ant-misc-1.9.4.zip || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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 68e3f0b..943424b 100644 --- a/dev-java/netbeans-groovy/Manifest +++ b/dev-java/netbeans-groovy/Manifest @@ -27,6 +27,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-groovy-8.0.2.ebuild 3346 SHA256 907e6cd11c222f15c826494b44929483803f0e4249de0d54db51e6855b574148 SHA512 8bb37121e7e32621959318d109b1d982e2c705a9deb7171f5fef1dcaed55fc5718b0bc9e6bbb2592cdaa5e96d874bb6e6bfa96d06fe09f14d5250c1485eb1da5 WHIRLPOOL d5e09fa1e975835f05c6132c091fee4ae9fc9dd671af9f5f88a9195d5cd4a93804f96687ed3f2bd741117fa65773f2c464b3cfd6697425039cc51a940efa2a31 EBUILD netbeans-groovy-9999_p20150901.ebuild 3416 SHA256 bd899df99a2dfaf3081354ae331ad0494b5f2cdda81dc9039cef398ff8fcb10d SHA512 5753e9033ecb74072aae302ac814e5e8f3c264b159f4d82f7d41467f552b8089ad4a02141a277f154d8f48145a925b4214898e188d69f38d50dbb28af5b45b60 WHIRLPOOL ff875fab2e82d6fe6dcbabcccf334ff8056939ea7502773191ba622ecf597acbb49ac0a685ddca883bee01a890c220d9d531b6daa01189dc9b4a58cf41144c80 EBUILD netbeans-groovy-9999_p20150903.ebuild 3416 SHA256 52900724587824fe2970ef01a4f6e2478d2b43f8068473edce228ae26f295f11 SHA512 15387a879c00dc1262cfe45c5d4d4bed353a15606531a1942a4921eaa7e947d89624bf81ed25a75bc9d76c1f8d7d729478e31f5dff416f08ba5c81280d1b88ab WHIRLPOOL fe65f7e8120c3586e0e35c49008c85296237f69eeac8f6f383a0bf47c86407e66c6f17c3ff01dbdb921ecd9bb4c71e57e106a1f779b276239b9fa3ccefa8d2ab @@ -53,4 +54,5 @@ EBUILD netbeans-groovy-9999_p20151007.ebuild 3416 SHA256 094083eabe842a46b4050cb EBUILD netbeans-groovy-9999_p20151008.ebuild 3416 SHA256 ebf7684cfea2e07507348c3e99a40093af60b9ad17985dcbb15f363c2667360f SHA512 fcc68092370de72f42a205d993c389b1425d14fbf18348d4cdb4e644b024aa7e3cb87eb57ab9953b17a81e0797be7aabe8e54606d91df38eea207e241ab63f39 WHIRLPOOL 106e32680c51d3939809fd27367fd06e7b8403ea42648786d85660cdba70f0cc5f9dfcc2d376f0b679a066bf6277d202728a250e1c45dd790af3dc4b86060319 EBUILD netbeans-groovy-9999_p20151009.ebuild 3416 SHA256 d5903fd0c18302ceeed56717ab6738a31d78049def6405de28762caf3c220126 SHA512 924ece91c7e3b8a6d3e54026752914cd3d2f96e280d3ee6d36b5e819973f2fbdfd8dcbc2fa00e31cfa9c90bb7aec46c583cfae46699fe68085fe60f4c3338924 WHIRLPOOL 04290748b3edbe9d5c581c820c12eb56f26e875d349e108c7b318c863f9065d5413e6d069c5ee8a59714d6e99ec4680f7459e496708b0d9cca207daae3015036 EBUILD netbeans-groovy-9999_p20151012.ebuild 3416 SHA256 d6591730f31aa44648fca3df6e2468b2d15d68bb2799d6e31d1a310376e0a130 SHA512 01581e75a374747d63c00282272fa76d4f0ebe810c398f89d2d377944cca2a7a55dc88c299eb753b525d13f9a05e4651b78b3dd72751ff2c7a0668690e8f92b3 WHIRLPOOL 13dbc93c0aedf020fcac39259f64387b29223fe1b615bea532cdd3b0c1d111d3c0c9fac60f86f144aa1b4c0f027bdf47a80faf0ea21a13b979f0bd0cf3f383e3 +EBUILD netbeans-groovy-9999_p20151014.ebuild 3416 SHA256 903cd89e84389b5dbe269bbb35541d2f39134ed6b2afb060f5a9a6514485b7ff SHA512 17e8660a662bc46667a7779aebc29ba6a2d31d7deba846056d97b25b97bf6d3ba33ec9509e124d742530ae8019aefbc43e1d3fb18518059dcfb2fb6ab6315849 WHIRLPOOL 7bf7faa6bb0669f730008fec9862299071a23dc67d98a34bf02f4fa48e9c67b6405f897d9c232ce43c24667becd7338a798187f5975ff67ac8e97f030820cdc4 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20151014.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20151014.ebuild new file mode 100644 index 0000000..52191de --- /dev/null +++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20151014.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/C136AE67C3C40740AE986582BAF65BA5C5CE69A0-groovy-all-2.1.7.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-r14-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/C136AE67C3C40740AE986582BAF65BA5C5CE69A0-groovy-all-2.1.7.jar libs.groovy/external/groovy-all-2.1.7.jar || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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 e804eec..bf560e4 100644 --- a/dev-java/netbeans-harness/Manifest +++ b/dev-java/netbeans-harness/Manifest @@ -31,6 +31,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-harness-8.0.2.ebuild 4055 SHA256 2674d562adc57648c82cac9f714f74f9d29dd7b7ff7fa7f0ef37c43ef0975489 SHA512 7d72bed5b955b2365a4c11fcd97a2d6f2372ab939fb9a03b3ff7915053f24d695373c1aa154f6e6916d37ef3ace7b38864d575419460382760500576dae52e49 WHIRLPOOL 72f54a6cb83f282a75f0abb073109414a7b8bcd4e9263466281e68ff34148a7343ed3bd78ebdc8afd109b6b9f5b9f15bfd0e250f418fcaa4986a7c886b57b9f6 EBUILD netbeans-harness-9999_p20150901.ebuild 4125 SHA256 c9189bd6d9b770dcc22627aedb7041e6dd80a0464b4b3649a6cebf1352fd7dea SHA512 154f820f3b07192e4d8b35fd473cdedd3dcee70d81f8484e95a33846fd6c3e8474acbad1ee99ca2ee29574da125521ca695bed8a471e5fd10ab7724ef9d8f7d4 WHIRLPOOL 8b4a9ff80f36f06108df4508abd091b99e5ed96c6b297c1efe5b18b3f798890f6f23313c02d543d89fcde5169631bf3cdca15cc54a086747f8f52eda303d8f09 EBUILD netbeans-harness-9999_p20150903.ebuild 4125 SHA256 68de6c9e0f914b0db958bcb0a48f9e74170cef31e65dcea5e8996f8796df32d1 SHA512 93a557e04df4f9fc4bc068b087e3b91d5fb409c30e8c16b625f2973b28e3f5f36474fa7d36ca9fc72c154bb2a2bd84b696a95241cd02ec14cf7ae4800291d545 WHIRLPOOL 4bbdb9c03f2b21ce25eba8f4ac8abe8144c4f315dc2a608d2ec4cb3a6adcd7020f4bae313924024eaba580e245d1e8e3e3cd19f3d1e6f90db4c6ca6f7c90ad3c @@ -57,4 +58,5 @@ EBUILD netbeans-harness-9999_p20151007.ebuild 4125 SHA256 ffb5daddea93dd7f4dbd6b EBUILD netbeans-harness-9999_p20151008.ebuild 4125 SHA256 ec1cf41aad6dd67971ba36cd2bef47c7f052cde9336b1db1febf44115bf904e1 SHA512 a18be7c72c7d05a933c3e1c4276786f7fe01a7bd23fde32a3160baff1e0229e30c9cbb4b32e372a95e2202fb4c9d72344331d69b0d12146e185f148ea3b2f8b4 WHIRLPOOL e5730f8323ba7d9f1562d32c2d0a8582781cd7b91b1b4c0cdc41258eb0fb9d13de4a87017ed824e9f2162b998f7c0ee9de40558ed9a4a577d7f8aef4374d5e44 EBUILD netbeans-harness-9999_p20151009.ebuild 4125 SHA256 a73a8ac40c4ab936314406dc73e858037e0d0c1b9f2e8279360bf6594fdb1736 SHA512 f7338c468245b962500993f6ef2ef236bfc5d915d13539e080e819320d0d4a055678cae3b93172152b9dfab1e964f2a15ff263765ed77ca420659784d9c6a46c WHIRLPOOL 025e47a6b46be24947dc922cabee4eb956f9d032464363b8465a8fcb467a70a6ce320b7273d237a9068ab84ed1d81ae4cd789af739f78257a50255370cf382b5 EBUILD netbeans-harness-9999_p20151012.ebuild 4125 SHA256 f381108f87470f476dbace762936088ef6f7a21b95765ac68e4646c01a058a29 SHA512 15e0f3f2ae8bfad65da467a8bb2c1d7e8c1889083c4ad9fadd6e7a9549fbae73e9827db82a2f95542d6aec9fed43affc3d37335290cac5b5be2f1d7802ad4112 WHIRLPOOL 9c9471ab6c774fbd79e05eb3680fbed830c02b0685e99e25092ea36da8da8db3790837bbd777cac80360c09c218fd002f3c3fc845af2c0ab908e8b7b9d91989a +EBUILD netbeans-harness-9999_p20151014.ebuild 4125 SHA256 c19624482e4368d386a19bf0b2961e6abaa3d9ec1bc6d2fc7bf867b8240df6cd SHA512 217996d89232888fb24fe841f4264c9fed6293e34537eff9b79ef779dfb8b52c3d1b05da15aded094c2f3b9710df661d9bdbfc486ba0967b3e5a9276e7055176 WHIRLPOOL 2576066a7d9a4d11d4bd7704e375eb4507c6b9653ce4125191a4fbf03afdc384cde11717b090c77bcaca7de4c4fc19ecaf64df3d319c32fcd5cc541942da13dc MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20151014.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20151014.ebuild new file mode 100644 index 0000000..215a19f --- /dev/null +++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20151014.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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-r14-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-r14-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=${INSTALL_DIR}/antlib + pushd "${D}"/${instdir} >/dev/null || die + rm jsearch-2.0_05.jar && dosym /usr/share/javahelp/lib/jsearch.jar ${instdir}/jsearch-2.0_05.jar || die + 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 0168d06..e508907 100644 --- a/dev-java/netbeans-ide/Manifest +++ b/dev-java/netbeans-ide/Manifest @@ -132,6 +132,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-ide-8.0.2.ebuild 29317 SHA256 42218788ab0fc7c7cd1bb42a8b0c72a66543a3260b752aa55365833c355bcc63 SHA512 c712b66b6bee654390a45e5c616479df2be624bb770f3838d4fcce875f71a8d165703dffd55c4fd7d30e19c392784203e5fe01e2404907d88c935d439efaf578 WHIRLPOOL 67763e4a36215ac002fd321556ce2269affc15ba48ad5069d7ccc746d918179994f174e09305a9d9ddadddbea690778c2769e0ea1993eafc09e01580485e2292 EBUILD netbeans-ide-9999_p20150901.ebuild 30334 SHA256 a2430eba1da126a548c390a52701aa5a9ff7f3c5afcf591492704f6270f49ee2 SHA512 ee3b7c4d773f16ae78341f8393397d6090055d11b2b45a579afc23e020cda5bf0f86b1348d47b99fe94280885db4869b3f54a15e5f70aafb62c2ead0e63bc9f6 WHIRLPOOL dae179c3bed6fdbfa5527a31d3b15a9e8f1eb7a805ce872b9fa512be27b1ee4e3393a0713bec6e461fdaf7d09c04857c68cca5b497f772559491a4f32f2ef4cc EBUILD netbeans-ide-9999_p20150903.ebuild 30334 SHA256 ae41f1ecbbaf9cfc10fa655a7ac439d418a40d7cd2ae2cf8e40009035c839f22 SHA512 c8d03b4c44ed1855b06f861347078aadbbaed51e42eced7f35f02c438440a269b055042aa44666ebd2c0d1fb16c626f07a70c751025bce97735393e4faf9c387 WHIRLPOOL 45c00d9dcc84161a15412652088d25e5f220b7d499da453ef2f482960c7e51cef8d6ac3e6b343e9a9b5b78f6cc8f68ba7aaab15c557c2734c0335bf27e48a531 @@ -158,4 +159,5 @@ EBUILD netbeans-ide-9999_p20151007.ebuild 30334 SHA256 ceedb21f9b2547effa4148b05 EBUILD netbeans-ide-9999_p20151008.ebuild 30334 SHA256 dac2b26ff98afd19dfce02ffdbd6b489bc5861353707205f5079405ebb9a7f6c SHA512 176fd81af02f29aed93222c04c6c62d2197536022bd0a3dc72690999d6b4624d846de8951a658bb6414fc3265a4a6de7d98861b15564bc8cc72cdc1faaa9b4db WHIRLPOOL 545955ae9084578053a7af5e80bd5d83e12a2516d01b6e365d19b2dfed00d54ee9713e47195a79e1ead40088c80993dad370a01b2f08306b36eb0ad11f579f0c EBUILD netbeans-ide-9999_p20151009.ebuild 30334 SHA256 273323563051f39385d81eae5ff4458a59b05638f42423ca04f527293fcb4782 SHA512 45d821718353b908ff79f954e52094ce1422f5ba2cf3259d1c3efed600adcf23a167a01d186ba24b8ccb9bfb6a65ccc9a5ad2437425b5e6f7b84e76826a79eed WHIRLPOOL 78c02e7d201fc9a335fd523bc3ebfc95c165033e61f03f8094f59e8f2780dd5d1e78b14b3f25e8c3484e1941d5cc82b2f6a0f11c67efb6e4dcac6e1bce94a7d9 EBUILD netbeans-ide-9999_p20151012.ebuild 30334 SHA256 e8c6339a9bfc777a6fcedfde07666bc42f1c2b01e6b780b2e1fff60da0c93a5d SHA512 1174c10b035189e705bbc7ace3c21c9167a4a8787377d5805f9a83b5e57fda649de8e0e3b32a827c4cbfa85d0b759d78994304d7d18dc5c7cd65c36dfbc154f9 WHIRLPOOL c3582b90cb809971bd34e1d3368e4cb21a652c2464e12bc0b32eb587d57ea6ad62fa6a35787ba243074e0d8eadbd01fa43c9ade4a26f56f95adf193eb02cb6a8 +EBUILD netbeans-ide-9999_p20151014.ebuild 30334 SHA256 3e0c1170b505a5dd83da3562185a21d155585151356eb007eeddd96290926c60 SHA512 cacb088c9e087c1179e20bfa0e44919f051d8fc8e481600278d2c1d4ecd3e9477d536756d3de16304ad9772e2f1462ed385f4fdb531fb63ab4c2e61e68371c86 WHIRLPOOL 8ab7b54d017ca90be98af707395993151693078b5d81fbe9d1eda050ff37bb8f3c826609042cfaec522653d458f4fc49d696fa8b7b2b3fb9f9e816e78cf79850 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20151014.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20151014.ebuild new file mode 100644 index 0000000..564f72b --- /dev/null +++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20151014.ebuild @@ -0,0 +1,377 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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/ACAB7C860DF78C4A528FD8A64F2C62A0A96639E5-com.trilead.ssh2_1.0.0.build219_t20150519_2322.jar + http://hg.netbeans.org/binaries/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.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/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip + http://hg.netbeans.org/binaries/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar + 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/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.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/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar + http://hg.netbeans.org/binaries/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar + http://hg.netbeans.org/binaries/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar + http://hg.netbeans.org/binaries/F27BF427BE72709F3094BF76ECA8C5A2B9AC6DA9-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar + http://hg.netbeans.org/binaries/9BC512C5BB9A9F5276B9E8672F6B30AD0BD97D88-org.eclipse.core.jobs-3.5.101_nosignature.jar + http://hg.netbeans.org/binaries/105DC9A1A93E6EA9A6CD368AD12897B1F247D6AE-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar + http://hg.netbeans.org/binaries/E99C3C29A90F8AB29078A38CF8EBC3860249640C-org.eclipse.core.runtime-3.7.0_nosignature.jar + http://hg.netbeans.org/binaries/84FC6D443CD0816FA87093B6B7AD6876ADFC4207-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar + http://hg.netbeans.org/binaries/74069BFD03B2C66A9EBB4370C0B8064E3F5B6594-org.eclipse.equinox.app-1.3.100_nosignature.jar + http://hg.netbeans.org/binaries/A7953EEE9D4D7CD896C7D0AD6D21902E6259979B-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar + http://hg.netbeans.org/binaries/3FB169C95F095B70F05B96BE9496DA63FAE7F707-org.eclipse.equinox.preferences-3.4.2_nosignature.jar + http://hg.netbeans.org/binaries/CD5919A707EB6B5C1FC29964C8EF5E2CF3F5A3D4-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar + http://hg.netbeans.org/binaries/A4634373DC60650C49CC98AEA2090889F7ADC68F-org.eclipse.equinox.security-1.1.1_nosignature.jar + http://hg.netbeans.org/binaries/278049664FFA5447191BD5FE96B0B62B0CFD15D1-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar + http://hg.netbeans.org/binaries/9039A0C1FA0E56CB56A1A192908814478FA747C5-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar + http://hg.netbeans.org/binaries/DAA45A7EE529A7532F5DC08625A5A3E81DB2D4CB-org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar + http://hg.netbeans.org/binaries/F5AC8FBA216A8C52F319EC2CB455B44FFD734B38-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar + http://hg.netbeans.org/binaries/B43E7CE55F0DECA3BE1A6E695A3E3ABC6D62567F-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar + http://hg.netbeans.org/binaries/1B9CBEC0FCB47C279519E52D360199C24EC99B01-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar + http://hg.netbeans.org/binaries/6B0A6E9F9179E314944E4ADB831A9D6FCADED3DC-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar + http://hg.netbeans.org/binaries/B28B8EE777232102471EA5334FD70E20851845DD-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar + http://hg.netbeans.org/binaries/24A15BD37950663933CC4975EE6E518BEB2C28A3-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar + http://hg.netbeans.org/binaries/01CD242F06F6F7E4E61C9E05ABBE07318E501D51-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar + http://hg.netbeans.org/binaries/75928E4368CA748131A6767BA1A97D9DA643C306-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar + http://hg.netbeans.org/binaries/8307A44D3F150F1BB317532097A0C7D125C00F2D-org.tmatesoft.svnkit_1.8.10.r10446_v20150526_1454.jar + http://hg.netbeans.org/binaries/E90EF50215FFD23928B3308DC76A17B7DADE5F33-processtreekiller-1.0.5.jar + http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar + http://hg.netbeans.org/binaries/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar + http://hg.netbeans.org/binaries/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar + http://hg.netbeans.org/binaries/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar + http://hg.netbeans.org/binaries/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.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/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-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-httpclient:3 + dev-java/commons-lang:2.1 + dev-java/commons-logging:0 + dev-java/icu4j:4.4 + 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/jzlib: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/freemarker:2.3 +# 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/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" +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-r14-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}"/ACAB7C860DF78C4A528FD8A64F2C62A0A96639E5-com.trilead.ssh2_1.0.0.build219_t20150519_2322.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build219_t20150519_2322.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}"/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}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die + ln -s "${DISTDIR}"/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar html.validation/external/html5-datatypes.jar || 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}"/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar html.validation/external/io-xml-util.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}"/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}"/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar html.validation/external/non-schema.jar || die + ln -s "${DISTDIR}"/F27BF427BE72709F3094BF76ECA8C5A2B9AC6DA9-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}"/9BC512C5BB9A9F5276B9E8672F6B30AD0BD97D88-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}"/105DC9A1A93E6EA9A6CD368AD12897B1F247D6AE-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}"/E99C3C29A90F8AB29078A38CF8EBC3860249640C-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}"/84FC6D443CD0816FA87093B6B7AD6876ADFC4207-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}"/74069BFD03B2C66A9EBB4370C0B8064E3F5B6594-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}"/A7953EEE9D4D7CD896C7D0AD6D21902E6259979B-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}"/3FB169C95F095B70F05B96BE9496DA63FAE7F707-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}"/CD5919A707EB6B5C1FC29964C8EF5E2CF3F5A3D4-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}"/A4634373DC60650C49CC98AEA2090889F7ADC68F-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}"/278049664FFA5447191BD5FE96B0B62B0CFD15D1-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}"/9039A0C1FA0E56CB56A1A192908814478FA747C5-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}"/DAA45A7EE529A7532F5DC08625A5A3E81DB2D4CB-org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar || die + ln -s "${DISTDIR}"/F5AC8FBA216A8C52F319EC2CB455B44FFD734B38-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar || die + ln -s "${DISTDIR}"/B43E7CE55F0DECA3BE1A6E695A3E3ABC6D62567F-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar || die + ln -s "${DISTDIR}"/1B9CBEC0FCB47C279519E52D360199C24EC99B01-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar || die + ln -s "${DISTDIR}"/6B0A6E9F9179E314944E4ADB831A9D6FCADED3DC-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar || die + ln -s "${DISTDIR}"/B28B8EE777232102471EA5334FD70E20851845DD-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar || die + ln -s "${DISTDIR}"/24A15BD37950663933CC4975EE6E518BEB2C28A3-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar || die + ln -s "${DISTDIR}"/01CD242F06F6F7E4E61C9E05ABBE07318E501D51-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar || die + ln -s "${DISTDIR}"/75928E4368CA748131A6767BA1A97D9DA643C306-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar || die + ln -s "${DISTDIR}"/8307A44D3F150F1BB317532097A0C7D125C00F2D-org.tmatesoft.svnkit_1.8.10.r10446_v20150526_1454.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.8.10.r10446_v20150526_1454.jar || die + ln -s "${DISTDIR}"/E90EF50215FFD23928B3308DC76A17B7DADE5F33-processtreekiller-1.0.5.jar extexecution.process/external/processtreekiller-1.0.5.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}"/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.10.3.jar || die + ln -s "${DISTDIR}"/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.10.3.jar || die + ln -s "${DISTDIR}"/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.10.3.jar || die + ln -s "${DISTDIR}"/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar libs.svnClientAdapter.javahl/external/svnjavahl-1.8.4.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}"/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-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-r14-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 c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.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-4.4 icu4j.jar icu4j-4_4_2.jar + java-pkg_jar-from --into html.validation/external iso-relax isorelax.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.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.19.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.lang/external commons-lang-2.1 commons-lang.jar commons-lang-2.4.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=${INSTALL_DIR}/modules + pushd "${D}"/${instdir} >/dev/null || die + rm com-jcraft-jsch.jar && dosym /usr/share/jsch/lib/jsch.jar ${instdir}/com-jcraft-jsch.jar || die + rm com-jcraft-jzlib.jar && dosym /usr/share/jzlib/lib/jzlib.jar ${instdir}/com-jcraft-jzlib.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + # 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 && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_4_2.jar || die + rm isorelax.jar && dosym /usr/share/iso-relax/lib/isorelax.jar ${instdir}/isorelax.jar || die + rm json-simple-1.1.1.jar && dosym /usr/share/json-simple/lib/json-simple.jar ${instdir}/json-simple-1.1.1.jar || die + rm jvyamlb-0.2.7.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.7.jar || die + rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die + rm lucene-core-3.5.0.jar && dosym /usr/share/lucene-3.5/lib/lucene-core.jar ${instdir}/lucene-core-3.5.0.jar || die + rm mysql-connector-java-5.1.23-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.23-bin.jar || die + rm postgresql-9.2-1002.jdbc4.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-9.2-1002.jdbc4.jar || die + rm saxon9B.jar && dosym /usr/share/saxon-9/lib/saxon.jar ${instdir}/saxon9B.jar || die + rm servlet-2.2.jar && dosym /usr/share/tomcat-servlet-api-2.2/lib/servlet.jar ${instdir}/servlet-2.2.jar || die + rm smack.jar && dosym /usr/share/smack-2.2/lib/smack.jar ${instdir}/smack.jar || die + rm smackx.jar && dosym /usr/share/smack-2.2/lib/smackx.jar ${instdir}/smackx.jar || die + # rm svnjavahl.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl.jar || die + rm xerces-2.8.0.jar && dosym /usr/share/xerces-2/lib/xercesImpl.jar ${instdir}/xerces-2.8.0.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/jaxb + pushd "${D}"/${instdir} >/dev/null || die + rm activation.jar && dosym /usr/share/sun-jaf/lib/activation.jar ${instdir}/activation.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/jaxb/api + pushd "${D}"/${instdir} >/dev/null || die + rm jsr173_1.0_api.jar && dosym /usr/share/jsr173/lib/jsr173.jar ${instdir}/jsr173_1.0_api.jar || die + 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 180d07b..e9c661d 100644 --- a/dev-java/netbeans-java/Manifest +++ b/dev-java/netbeans-java/Manifest @@ -55,6 +55,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-java-8.0.2-r3.ebuild 13294 SHA256 4abac657cff75400e92b1f2b19bca696113cdc37611c8c0f49dfa8c82fec4296 SHA512 32e41d7acc3aca026993e5edc791f1314f2bfda47413538af655b0335973c4fe50d998c67f129307b164075c3e0503280b4c1729d700431644ca6610d7f0f635 WHIRLPOOL d7f99c13421d08529b54085138fcffd2959a3c3f97d94a1dbe6e726a6dbc2cded69ec0bf97e1458b56847ac121954e8f173c1adde0703fd2969defa53ac37c51 EBUILD netbeans-java-9999_p20150901.ebuild 14818 SHA256 2e650037a388a620e743e8212f0099878e8908fe4dc1680b36f6ae8e9a72fa54 SHA512 b7d8475055812c78ee45ceec123fc103641b4070972f0f7e3572a0b07efee2ca2cbcd16600fcfc7f30dff461fc235ccbbc1fde941f528e27f4a2f742f3ee5cdd WHIRLPOOL bb23d595159c481696ba4fefba3e398797db9cea44e4c2f00eef7929fbe1f442362c470163bc460d349da5cb18f627a3892c6d63b17439112becf538352785e2 EBUILD netbeans-java-9999_p20150903.ebuild 14818 SHA256 f34ba8d98927651ec621ec445d4760fc596073f6857194bfceb5688b2910089b SHA512 ce7c86a52990ec26660a9eee1bc7588a2e069e80e42eb5b521699a9784e1da41411d5e9965c4f77bd4771b7046e9bd99e6563511336744404dd716e54c11faae WHIRLPOOL 5477f4bda878bfa48ba3851b740e5d9f06f594fa953f5ea0fab0a37917c7462b7356f96aaeca5847e85623c37e4bb46df81217451aace87cbcde7c50c38146a6 @@ -81,4 +82,5 @@ EBUILD netbeans-java-9999_p20151007.ebuild 14818 SHA256 359981407c2c092db40c84ca EBUILD netbeans-java-9999_p20151008.ebuild 14818 SHA256 971353378a9e329dd490cc48278a8e5387a8bdb50f3fad1c1df60e8b33e27d95 SHA512 8fed409fa1d720150928623ebb2f3382d5dd428cfe5e3d8f0298a507f4779aa8a8d06f6cb9c41c0ef9f7c9d5bbe4b59657df4c6e612c571ee7bdd871f0d2e7b4 WHIRLPOOL e2fab6584ccc7e1ceff0b3bce6a6f01e02d622177e48662972871b23e7b35e092bcf803d353734b3cdc675f0fcf0a9b0bdcd52e5201aac8775076a76b06d7675 EBUILD netbeans-java-9999_p20151009.ebuild 14818 SHA256 30525bf272973140fb843b72beb39f1878af7aec9c301a083bac6402ca178249 SHA512 7a84f9fd8efe26a12a3368f80b76129b65dcfc0371b072889afd9a9436914919253b6407fb59b4f314bca82ec9130f9d0922ba2fa1dfc57f71c163df1cc03e1a WHIRLPOOL 7912fac7f7d2f75cd67b4cdffd37d74c546c18fefb8b707edc03d5465ae680588df370916576a70524b99af778842e46972ffea8f9e97bac37399cf088135d7c EBUILD netbeans-java-9999_p20151012.ebuild 14818 SHA256 79070a1feb49f0603e83ed6df20ee53b0ece47cdf2eec706ccb5ce7b7a273c42 SHA512 04a347805ab4a4e48f612bdb25978d0d94095fd12988c0ba3cf31e225e4fd1f6cdaf9456c53e936f30150e28cb57ff53de9e0c96a561263ab6b33de2cd1854aa WHIRLPOOL 6a7b286fe9f1bb96cce310e30f0ea87e4793c99091a8c8e7ed9f4fd8a28af8b25b48dc78f343b4f58b9abc5570965f130f40212cec154c5c5d598bfa1a3f2b9d +EBUILD netbeans-java-9999_p20151014.ebuild 14818 SHA256 776fbf1d317e960fc799fd97a799ebbdd59a1e537d9690256c26079f9edfdfc4 SHA512 aa26fac614e98463d1f361258ebc9e9ee62b7e317d8304cd488fa269573f47da470d37cdeae3a6f6c0043c885d054718abfbc437932d438737c810e26f5a6153 WHIRLPOOL 27b1f9891b245d818704745a3ef240cd3ccbfd7fe40eaeebc54fb5e7faf23a964fbdbd2cb07c87e39131a5c05b273d57808eb289c485157d353f0d51a9b8319e MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20151014.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20151014.ebuild new file mode 100644 index 0000000..eb20160 --- /dev/null +++ b/dev-java/netbeans-java/netbeans-java-9999_p20151014.ebuild @@ -0,0 +1,273 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +# jarjar-1.4 contains also asm libraries +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2 + 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/B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar + http://hg.netbeans.org/binaries/7B98BEC9E6D1A447C9C3DDC61EF6658BA000008C-nb-javac-impl.jar + http://hg.netbeans.org/binaries/CA4F4DB7B6C140E36B0001873BEEA7C26489D2A1-netbeans-cos.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/B572007A07023ADF7ECBDB7FC2D572BF1BDED20D-wagon-http-2.8-shaded.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:0[java] + 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: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-r14-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || 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}"/B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die + ln -s "${DISTDIR}"/7B98BEC9E6D1A447C9C3DDC61EF6658BA000008C-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}"/B572007A07023ADF7ECBDB7FC2D572BF1BDED20D-wagon-http-2.8-shaded.jar maven.embedder/external/wagon-http-2.8-shaded.jar || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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=/${INSTALL_DIR}/maven/lib + pushd "${D}"/${instdir} >/dev/null || die + rm commons-cli-1.2.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.2.jar || die + popd >/dev/null || die + + local instdir=/${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm AbsoluteLayout.jar && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die + rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die + rm cglib-2.2.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/hibernate4 + pushd "${D}"/${instdir} >/dev/null || die + rm antlr-2.7.7.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.7.jar || die + rm c3p0-0.9.2.1.jar && dosym /usr/share/c3p0/lib/c3p0.jar ${instdir}/c3p0-0.9.2.1.jar || die + rm cglib-2.2.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.jar || die + rm commons-collections-3.2.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-3.2.1.jar || die + rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die + rm javassist-3.18.1-GA.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist-3.18.1-GA.jar || die + rm jboss-logging-3.1.3.GA.jar && dosym /usr/share/jboss-logging/lib/jboss-logging.jar ${instdir}/jboss-logging-3.1.3.GA.jar || die + rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jboss-transaction-api_1.2_spec-1.0.0.Final.jar || die + rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die + rm log4j-1.2.12.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.12.jar || die + rm slf4j-api-1.6.1.jar && dosym /usr/share/slf4j-api/lib/slf4j-api.jar ${instdir}/slf4j-api-1.6.1.jar || die + rm slf4j-log4j12-1.6.1.jar && dosym /usr/share/slf4j-log4j12/lib/slf4j-log4j12.jar ${instdir}/slf4j-log4j12-1.6.1.jar || die + rm slf4j-simple-1.6.1.jar && dosym /usr/share/slf4j-simple/lib/slf4j-simple.jar ${instdir}/slf4j-simple-1.6.1.jar || die + popd >/dev/null || die + + local instdir=/${INSTALL_DIR}/modules/ext/jaxws22 + pushd "${D}"/${instdir} >/dev/null || die + rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die + rm javax.mail_1.4.jar && dosym /usr/share/oracle-javamail/lib/mail.jar ${instdir}/javax.mail_1.4.jar || die + rm mimepull.jar && dosym /usr/share/mimepull/lib/mimepull.jar ${instdir}/mimepull.jar || die + rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die + rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die + rm stax2-api.jar && dosym /usr/share/stax2-api/lib/stax2-api.jar ${instdir}/stax2-api.jar || die + rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/xmlstreambuffer.jar ${instdir}/streambuffer.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api + pushd "${D}"/${instdir} >/dev/null || die + rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die + rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/maven + pushd "${D}"/${instdir} >/dev/null || die + rm jdom-1.0.jar && dosym /usr/share/jdom/lib/jdom.jar ${instdir}/jdom-1.0.jar || die + 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 180e8c0..7d9dedf 100644 --- a/dev-java/netbeans-javacard/Manifest +++ b/dev-java/netbeans-javacard/Manifest @@ -29,6 +29,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-javacard-8.0.2.ebuild 4906 SHA256 944fee40d693c2c287e748f70ba565f3cd84bb7c19110f8be716134ec20694a7 SHA512 1f66cd2756effbfde7d43f9da7d8d93cb6252c58a02ee3d821f6faeaf63bf3c63e28f80c6eb44689e3aa954452a2f3893c65e75de84158dff1da0d94cafea14a WHIRLPOOL 88197e03008b8acb1ce62f72783bb096d9a3fc2a289b83367841a8adbee2bf822031f9bd6051831515ee44b1d5d2a109c5646f98ca723506f27c874301fb4189 EBUILD netbeans-javacard-9999_p20150901.ebuild 4976 SHA256 f8bbd7f2419ccc07c17b05c295359dc07c55f3cfca78d7760105b82903fa2b79 SHA512 53bb2b9edbe87daecc4feb6b063579517ccea53b52168fc4a6ed03d8351d3f254a819125937aec58f551aa926b4b5a567b5bde3850fc390fad437f45194add80 WHIRLPOOL 9403f1dc9c3042fb5981d340b02d3615db9aefde73f1b2ade96b9010bdd6a37f610387aa303625ae0c979f20ccffd57ca87115321bd42ff9b6dcb39bcff03580 EBUILD netbeans-javacard-9999_p20150903.ebuild 4976 SHA256 20835b1551b3382cd7a6b3f97fcf7725597e77317e8a5ede489954f99f0eb4e4 SHA512 93dc8f950ec2d8d8ad83eba39699436121729915ceca17ab3a4593ea2ec0a9cbeb81263f52cde443fb2ebe43658620c438664cd112b30774290a8cc03f2dfdb6 WHIRLPOOL 69670cab1e9e12e074a2874ade1cec66b08313763f7380b1839395becdab4bbd617172987d0ddb021dfa29241654119fa2d6d61cb34d507584c3c8e7670f6b83 @@ -55,4 +56,5 @@ EBUILD netbeans-javacard-9999_p20151007.ebuild 4976 SHA256 221ec26bf763e4087db3b EBUILD netbeans-javacard-9999_p20151008.ebuild 4976 SHA256 33329a73fad87ce90305c7e89206b357d3df5a98461958f0bd84feb5f0c2d168 SHA512 27aea70c94c96c4408e2e301d374b18120ae6eb3f47a78e0b6e47e2db8f153d88293a5b0714b10259b71b4ded8713f92e3cbb934720a1071e46f5b69f903aafa WHIRLPOOL c6893fecfc91a66b9314ea352cd478017efff1739bbc579328544d1ae05bb16ebf0d90c85967a535a68998a88a0ccb6ae5ab76c58d4a695df5f154c821171033 EBUILD netbeans-javacard-9999_p20151009.ebuild 4976 SHA256 76064c273b1c5219408338380ac7e7c2d5cf3eeefecd366fde960c9fe59c923f SHA512 4caec333800ce17a592e77b34d95170f1099a5d558c813b1d73f1d2025b8964e3509d3a87127a295cee49e3f440b69abe3aa005dff570ee3ce938dbc1bccd93b WHIRLPOOL 093a74da7ae35811d10d3a8a321f3664b4d9f9b5403f8ecb6c7ea841a3e1cca2fb4fe071ab056211662a217ef5acd3b58c955fac54ff1775df3e2841988513c0 EBUILD netbeans-javacard-9999_p20151012.ebuild 4976 SHA256 ba509d64878ed36bb76259e91bfe2aa2a6929e7e106b4af08fa7865f355446ee SHA512 7e000883bee6bfb76ca4bd853c020af3dedfb64842c542b5bc616553328a8ae0c6bdbd5936f907c741a8ea79dca4e85ae53fa2e64c6ac36fad0c005ee0f00234 WHIRLPOOL b9e01adcddf84a0dbc6cc6393ee31d5bee2099b00ae4b88c47339f05cf5753ef7e2e6078b07075e850faa51139074d457973337aa92a8de33047fad705d32aea +EBUILD netbeans-javacard-9999_p20151014.ebuild 4976 SHA256 b81198093253a1d64c1e3851d99c943a5d17db5b68f98d943d42a26963865f5c SHA512 0a171fb2bfecd587910737fb8b080a93b49b6758a80d97082a202b57bb2dbc76583c1476d0276297e3e09a10efc6d28d1f03900075ed352ae8e93ae302d443e3 WHIRLPOOL 765255dbd9f70089e3274bb25fdca30c49f6ee032150e377ba02c6112be1850eb4b006a4bbdb9c92f34daa9a499544b33f0ca1ace29134be54d487abc428a15e MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20151014.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20151014.ebuild new file mode 100644 index 0000000..3b7cdc1 --- /dev/null +++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20151014.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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-r14-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-r14-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=${INSTALL_DIR}/JCDK3.0.2_ConnectedEdition/lib + pushd "${D}"/${instdir} >/dev/null || die + rm ant-contrib-1.0b3.jar && dosym /usr/share/ant-contrib/lib/ant-contrib.jar ${instdir}/ant-contrib-1.0b3.jar || die + rm asm-all-3.1.jar && dosym /usr/share/asm-3/lib/asm.jar ${instdir}/asm-all-3.1.jar || die + rm bcel-5.2.jar && dosym /usr/share/bcel/lib/bcel.jar ${instdir}/bcel-5.2.jar || die + rm commons-cli-1.0.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.0.jar || die + rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die + rm commons-httpclient-3.0.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.jar || die + rm commons-logging-1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.jar || die + 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 7f79498..0316af1 100644 --- a/dev-java/netbeans-javadoc/Manifest +++ b/dev-java/netbeans-javadoc/Manifest @@ -27,6 +27,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-javadoc-8.0.2.ebuild 5993 SHA256 baf9da38d87b86eb8ed10ef46017361f36ca8583dd90885c9d1667a51851bc52 SHA512 892bc25b30dc26e3ee7c8be9aaf8542c00a7fa1d1d8f883d82bebb816edfa93e1ee9abeac1b0c47ecc8b4169bcaded56c5c71f18151fdc22fe241fcee0fd4521 WHIRLPOOL 2012f28f3ba5074b4d262b20e9a1c8ddf590ce444339ec1a404c890867c1271e38f9f9e09717d0648fae061553f5c8da3d97a70c35c8e853fe4894fb6fd4ec96 EBUILD netbeans-javadoc-9999_p20150901.ebuild 6228 SHA256 70adb18643384a52dbe2b88467c14663a755609b1a5098cf816c5c0b88994e9e SHA512 529fa63d125fe04aa06c4f444924b0e1390680092ff4a474810b6ede97925cdf907b14283016f9000f54bc9cc1a1d0e89835ca681940152a029eee0f370c2fba WHIRLPOOL e117f345fd2dde9298afd3f8b2f7ac1a699936336a68dee80c50cc33193aba40b069ed8867a1af84efe3a4621fea35daf8b0835bf89f7ca7f35278b60ddaa56a EBUILD netbeans-javadoc-9999_p20150903.ebuild 6228 SHA256 9f0dd0e792cbe63c9dad51f0b445a2245ac2931123c3de1fc8079631e3dd4b77 SHA512 76e8762c17b07fdbe1ab65cef9b6b6c0e26355deb5f1827b7d864cf582d1aeecac57c579d439a49f19cbadd6db7f92e626e0c97ef5ddf0b1b883cfdd6282ee6b WHIRLPOOL 0efef7d57f10a275fda7f97c209ae41fc61f8f9961de19325e34c117378d97e7d1b362ffab93e1ac71ce38b13881823937fb8ef10fb014c84e1cd61ae42b3d2c @@ -53,4 +54,5 @@ EBUILD netbeans-javadoc-9999_p20151007.ebuild 6228 SHA256 a784e775a856e7cf6d684f EBUILD netbeans-javadoc-9999_p20151008.ebuild 6228 SHA256 7c023570df8ac544a4ea6629b1f57c04df3ccd46152ec4f699eedddd68c5047b SHA512 db1b9c6ab7b1d0a94836e5bb6fbc6a9a2555f4b12540952a0d6c39cc10aaad3a54ac75dbc469e24c727e6426666ad2791a58d3480356fe5012b59e0226151487 WHIRLPOOL 16ffaa78becd931954f44163c45f68eaec7861d2a1fdd0fb28238d8a7fe2784f71ef35d804d6a3241bd25342fee0655acf8b8f34e333a8c5c395e2ced53aa828 EBUILD netbeans-javadoc-9999_p20151009.ebuild 6228 SHA256 8daf46903e3b818d43228139a5d452f32abe05cea03021b06a264af3d4eb84d4 SHA512 ade31820bb2ba53411981f0be81175c86499acaf46b97dea79f97a5cb64fca20755aed6bbfc5e2ce47707153de27fc0e1cbe70ea41fe31cde3cf4386327b62bb WHIRLPOOL a1998eebeaad93bf60e34c305dadba7ef8b8ae0229c8a70a1dbf9d593e21143b277bd5f8739e37bfb29f7136df8937b9582e65717964b1c3bce28e20c307e5a6 EBUILD netbeans-javadoc-9999_p20151012.ebuild 6228 SHA256 4a054db115d6acd4081cb5abf5dd13be027d0df305a61660a5ff998cd98f5f8c SHA512 41278bc29e63f791ff4ff2c4649a17c4e5797d8309b887921ed829ccf29c0310b8fa5c7aaebfb057f989c913524babeb22fb3f8f0203f5858749b8c29a5e4d1b WHIRLPOOL d072a3800cc901aa9039af77f1b87fb5cabfc6c2cb8aa613267670cdc90459e1da0d8a9b983bfdf0fcebd251dd1388b9ca551941ec3ef982ad4f05881374d9fc +EBUILD netbeans-javadoc-9999_p20151014.ebuild 6228 SHA256 3e56e67e30927b185a43089c874ed18f6d79684e4da595983ec4b3bdb5e83186 SHA512 18b73ab15fa667119d60d499d0aa70a6340395ae81ad4c007e9ba50f1ec2c0d884dcbd8b04a44e9bacaa8e2256bd2392ba6a11dedf24d8e5bb5e68d5f4ff79f7 WHIRLPOOL e830363acd975ebe5c4ed80ef907807b3bed49ab17b097f67ac2c3613b140c003442b7b9ab90548398f5dde5b3e0ca662f74ed2cfce8af2925c2de36fcbe1cb9 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151014.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151014.ebuild new file mode 100644 index 0000000..e49775d --- /dev/null +++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151014.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +# oracle-jdk-bin is needed because other jdks do not contain jre/lib/ext/jfxrt.jar +DEPEND="dev-java/oracle-jdk-bin:1.7 + 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.7" +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-r14-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip o.apache.tools.ant.module/external/ant-libs-1.9.4.zip || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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 -f nbbuild/build.xml bootstrap || die + ANT_OPTS="-Xmx1536m" eant -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 a143bb5..7b859b4 100644 --- a/dev-java/netbeans-javafx/Manifest +++ b/dev-java/netbeans-javafx/Manifest @@ -33,6 +33,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-javafx-8.0.2.ebuild 4647 SHA256 15e5e0b1c4729852dd55e5bfb2dcb520ba7c959bd9927d315c0abcb3f94e4ecc SHA512 520c60264fee67b0ccfd50ced0cc8586d5653d5186fa75c6b7cd8b400aae834de446b7e6145ad38df7e68207391fb360ef4834140e096d48add568fed387ac98 WHIRLPOOL 416a56ceb2ba85e3923ada0c8ef485cdd6fa16b3423b8fd0de523fa54dd082cbaedee5da4f1a92b50e440195f9256376f50e99a850d70ccdcb8c0ff370007f7c EBUILD netbeans-javafx-9999_p20150901.ebuild 4717 SHA256 e95804f3d997f20e45ff63e57182227513494d00f034115bfea0fb80f7b06f86 SHA512 20431b8026fbcca039f412ab076e9aeea22745f964858dee0cebb070c08113cdabe35edefdb998efd0d146b0a9d055de441b21620e1beadfeb9970009e479eab WHIRLPOOL 1352d5de66acd787070011681f7800e37f7bc9f9420b7e957a16c490b7b0419d88408c13ce930f2e2507ff8a84308a93ed50434ed80c9f26b21e28356b73a716 EBUILD netbeans-javafx-9999_p20150903.ebuild 4717 SHA256 f8dcd19435adff0ba1a386857b8a0d2624ba16b64e36bfd40f58a2da8616be5f SHA512 776aa675ae3ee669bff503e9ac240e801dd080c34a18f46a53ee9308044152eb4dd067b0ce9b3d89708a56f533426c2010e06d63d2c7465bd3e461193a71c082 WHIRLPOOL 12f7d33492850172e803a4c2fac724d0b6e196bc7d64746fb51f1382cc1d82df5714511dadc1167e5921d6a492e47d5e879f8f5fdcd1bb2d2501e14e2425407c @@ -59,4 +60,5 @@ EBUILD netbeans-javafx-9999_p20151007.ebuild 4717 SHA256 3480876113ce24a43ce0f76 EBUILD netbeans-javafx-9999_p20151008.ebuild 4717 SHA256 4bddefe08a88adcec2b455a478e2daa1faf3670c15e69bc17a3fe51b6837c054 SHA512 b819bb8c50b6a71e27cd4cc81c7a937526781b88975ce433fec8210434a33650054fee2c88024f42bbc162e98c562f919a7bd77cd20d0affd39f14cec7d1ffad WHIRLPOOL 0f0b72a6e91eb62ee514fdc2c62a10b6ecfc7c4bd9bf4e5f519e58199ef676332b99926f95fe6c22bf3702fae92c4e016e5ef48ef143c7f3a90b471372f67a28 EBUILD netbeans-javafx-9999_p20151009.ebuild 4717 SHA256 ea34461a5d6d5dcc22af8750be5153e3dddcf5be12f3b873e42a81ca25805015 SHA512 cd36838e63ffd87ddf3905bc5794facf4b7942bbf3179f6b99f1e403936c1f8500241856f0ed10e76017529bbcdaf3f2528c2e5d23a3368038d29987b62b3bcc WHIRLPOOL 6fdc33bc1c13d0ff94dcb3e25b9940cc097d87ba08e21c4e37c116fcc03859a8fabb1a9f792f815fb5ee5edc55222296cf26121c601d0912465c27dcfeaf53a7 EBUILD netbeans-javafx-9999_p20151012.ebuild 4717 SHA256 ad051f69d2290298602b60a85f21ae8dbb8c79ad312293719b95d36bb84932f5 SHA512 365ba0b6d8458a2b81a24792f7291d2971a27c97aa401565b713f417289a9bfc863fd28a960e624d4df5543574be6c168123044b6e2833a3d05dbb51c89c43af WHIRLPOOL a8cf5205bb85a303ac0d97c8efd85b21fb9a8cb6de8ec24766e2b8fbea7bbd6985037c1ae468e33bdbeffe8bd1f7e184c359d9fe1f5d96828acfd54420e5e9c0 +EBUILD netbeans-javafx-9999_p20151014.ebuild 4717 SHA256 aad31ad8879efafc33f66de03e7b708e3c21637b383f5b2585069432e7a4a98b SHA512 6c5eef111b691725c9624e742132b099f03360e676a3d2a32f4e8472694ba18095f3dfc06c937172e7b0be9e0bc7377c8faf65cd3999796e98bdfeb441902952 WHIRLPOOL 2cf14df45c0084156f6fe096ad4d61da2d79670719fc78589fcb22c4c5f1873653f3657d8e20450f2a56ed0ee93321e66475bbbd2870b7e3d8af75db3ba8025d MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20151014.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20151014.ebuild new file mode 100644 index 0000000..ff9cff2 --- /dev/null +++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20151014.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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/B2EB2006BCDB022420BDB4C2D596564539C65699-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-r14-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}"/B2EB2006BCDB022420BDB4C2D596564539C65699-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-r14-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 5fb02b9..89fe864 100644 --- a/dev-java/netbeans-mobility/Manifest +++ b/dev-java/netbeans-mobility/Manifest @@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-mobility-8.0.2.ebuild 4342 SHA256 e9b4ff8fe38904346bc21a82219696e97322bf9df4e9d4cad2259b6f08bbe7f9 SHA512 338711fe61c469cee80e499ddf8c3ad70a3a38e6658311afcd1d24edd1a99b87566fafcbd392bb958b589796e0913d2574b07570870c8d3382a91a324227082f WHIRLPOOL 855b2817c36bea67c8fb368a0740be18b71dbebb2b98a154552f002a56eaff34f54eee2698379d7200a6042c1de699df23e7717b5b6c532776852d8757b74cb0 EBUILD netbeans-mobility-9999_p20150901.ebuild 4412 SHA256 24385dc623efa0f82a8ac6b377c867cc43863d1ef24a67cf0a55840d22d24fc8 SHA512 cef8f1359a5a8607376cf3db54b737a637a2efb7e08a3ec34ef911403c3cbe7c3f6201674522554875d96e8870a6a53b9fa54f9bb4d920575b7fd870d00f4448 WHIRLPOOL 7ab52bd93e70de0c6b3c184bce62b22086e81d736224ce66a157c40a052a57d9963030916f96fa54c5be7abfbec33536fe6be968696eff0461d1900366c0acb1 EBUILD netbeans-mobility-9999_p20150903.ebuild 4412 SHA256 7ba27bee1e24a5cae28b92bd03db76751ef9815e6b9ca1f48e93302e33753edd SHA512 90aa1332c367f89d6fd7cd562376baac469928b71d878f6974bd0435eac1238c49a8215a53286092331fe2b87dff24357928e4811b093bcef8307bbe90d6eb87 WHIRLPOOL cf8378b155e8661bc366ea56ae4078e2e5c0209f9eb1363202b3daa3a9ab531ad21ecee420ac96e62a6ecd006f4e80ef9da8095cce60e9a293c644923e432656 @@ -52,4 +53,5 @@ EBUILD netbeans-mobility-9999_p20151007.ebuild 4412 SHA256 6a4fc6fc75764bd05a29f EBUILD netbeans-mobility-9999_p20151008.ebuild 4412 SHA256 6174467cb97dc3cba2b6a134a70b416840c047f32d20ce5d2f89479533a22d35 SHA512 5d3b1ed532ff60a45dbd954957559d1d89c409d15d19146318660eed57072a1040a27c625f174c7e51fc3be60dd42583b05bb84f0f76a2d6c583943dc96f2e33 WHIRLPOOL 7529d45899040e25f60469ccf73af40ace22cc8b36b012446a7525bbdc84bd64f1cb27c5ec09f38d9d4f6c82631d4c215f8bcb5f1e17380d134321f23e1c53aa EBUILD netbeans-mobility-9999_p20151009.ebuild 4412 SHA256 081771a3a298ac16ad00244273aa541382e7e81931d65ceaebad9818a585c28d SHA512 03448a9d9bfc7e8224565f49b9f5910fcb7a6a6795f762035a20d0371d78a328893a92d3be45a6ea0cdbff3623690dbb4a3af5cf7f7e075b081f28fc3b884b92 WHIRLPOOL 0b807b9bef2ee47283f1e86cb5e062e0878b80df51d31f7a67a743191c0e968e7cca7d7172f66f2a49db875c85c8089742ec66cf582dde1a6a4ef4eef5db6830 EBUILD netbeans-mobility-9999_p20151012.ebuild 4412 SHA256 39b34d320fe71cd6e2fb753491c844929552deeedee3bbb90a758f9f39fcdda9 SHA512 15ce7e5db20d729153b1ba89722d166f52695bfd8de971b7554576a70ee1fe98caea1eb65eacab5469fad464827f5c9585773990189b094fab9e2d7b956c5efd WHIRLPOOL a5f935ed47a1c5fe857a0c29c36356ed516136c80f67c8cbcd3457eea12b170747e72046071a2240ceaae357161865022527eb21a75161d17d2b137e1a8fc7ee +EBUILD netbeans-mobility-9999_p20151014.ebuild 4412 SHA256 007d88247942bde57082fdbf433650555e079b6d7bea9aa4b38ef92c605880d2 SHA512 d1a69dca152dc14e40a192511f041e4c5757d93f7dc7dbf7a89b6140d1730f070c7a2313797da82fc8c18fb368a24ef26fb38f56903e04c57c85300db8a45454 WHIRLPOOL 6bfc0116c50da7f007864de6d549581c5613f4634f85199770709563909fdda0bfdedf0393d51efbb6accfbf36d8c0b92552b939369a7f26551f8d970ebc77a1 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20151014.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20151014.ebuild new file mode 100644 index 0000000..9b9e5b5 --- /dev/null +++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20151014.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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-r14-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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 5457d1d..d388a40 100644 --- a/dev-java/netbeans-nb/Manifest +++ b/dev-java/netbeans-nb/Manifest @@ -29,6 +29,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-nb-8.0.2.ebuild 4927 SHA256 7531e50c4d76608bf925efdba4f54f522de3a8ceeef4d48807fb4ee48bfabdf6 SHA512 925734f331cf228066c5c9e614f48b756af31cac8b559cfe756347b6a2cb0ce362c7c41489a25084f2ed3f2e415baefd148a54f39fc00269fb14179efe056cb9 WHIRLPOOL e3224c5f22bb8e4792a5f98bbe819e071ff18c99533ce05a3fc1c5898ddcca1e3ce34487ba78159bb4d60155acdf15ae4fe81189ff2d5b1bc77ffd9ee4e20aca EBUILD netbeans-nb-9999_p20150901.ebuild 4997 SHA256 4bc20abbd79e622dae684777ea3942b19cdb96e94d76cae254b9bae919055997 SHA512 9eac2a9adbcb86bde4662b9edbb874ba820db2e622a0f4e436a570081cb49e664958e3e8fe6900dbfcfd44a0e1b33047fc25a536e93781b8e9b303ae9738bc83 WHIRLPOOL b83b659bbbd93f830039465b737c190e5031e88a634523f3e2647715e4a5b953d3469ac1c760db9613f3d6987157d89b14f0e740da228c0436950fd339d53ab9 EBUILD netbeans-nb-9999_p20150903.ebuild 4997 SHA256 f2cbf0e344be20488551d7ad04e8c1f2452c03bc7f6f1e3db68527924c3a9b4f SHA512 f7eb44514e61a0e30d546d43caf3e2239da9faa0e59d6c224df6a102fd194589079833b980fcc719982faa9a35c2fb60dec1cf77f327926955e984e633fafba1 WHIRLPOOL 4995f7d9e24ca16d1d7d5a863692fa221b252f2185beac1c6ca908b3ea731a94f7f150affd8cfd03d16f2f7eb620be60833286d37a8d4b71a1e6b8eadbb32f50 @@ -55,4 +56,5 @@ EBUILD netbeans-nb-9999_p20151007.ebuild 4997 SHA256 ff1ad37092fe16991f87739c7e7 EBUILD netbeans-nb-9999_p20151008.ebuild 4997 SHA256 cf9351c5f26f700b8349d1b38434dd0b2e40eddc82dc2df3d801b76fdd6ac5c1 SHA512 95e1ac576ba1ac0a8cfe9e53147dde787cad907a75003f7d515f2a6637b3c20123ae7ca8d21a16b779e23015eb82a73f64b8608daf93dbd4c77968e7c0fb99b6 WHIRLPOOL 8cf03fd3dce100ce3e51a99037e6b4dc216d65ca4680a5a3836539144a056c04294e61887b53157e4396cd090e9cf2e3952ed9a6acb180e74907a121d913165a EBUILD netbeans-nb-9999_p20151009.ebuild 4997 SHA256 46bcd558eaa7247d86547a1ca2aea2840d6f277f052bf99e7487d5a436402fe0 SHA512 2a16dfdeb647d1be019afc5f0658c3144c7461ddc5f3d82407616d33a2b1aa5cc304a38b2fb60ab32482540c776688b0f9823c4028aa8b5c329c2f1ddbee2cc5 WHIRLPOOL db256d95c8b40a1ad3dbe22bcd128eef2833c113724bc3c25484b604a33c1511d476d7a2b54d12d7397beba0ee602bf49de8dc39b2e4d4d8223f1678a6d0ae78 EBUILD netbeans-nb-9999_p20151012.ebuild 4997 SHA256 4083b6eee0af033ed900e5a2760df21feb41e2aade1881e895a9ebbd879b1067 SHA512 214066c135344c3979601c1d0900d33faa9333e4e1888a6069d823ad5b58544adb667d68f242d7f8784cb4096cc90b40b2bea9d3f9f3f52792fb2e2b78ab2de4 WHIRLPOOL 92377f156608d4a7717540fd80e59cdfb9b08564dfc3eca4ae4571dd04397331efa623e324db4fe743d1db46899677f3c671d4a2b230e3d5e398ac45151420a8 +EBUILD netbeans-nb-9999_p20151014.ebuild 4997 SHA256 db1c281199491975455d25067c149af568cccd056432f0f1e3702f019cf38254 SHA512 831587af37f6026f554d6bb7a7e6beac862f865f8e12de52d908305e9d56581217df75029b70b386852f14631724cef9f9be05bbef7260ecac6b65b216bf16b4 WHIRLPOOL d260864e8fa0683b9b98c40e8bb8c743bf11cb41d6b681eb04e53c02bd61b7f33e92438b7eb4f5760ab19781fb9661cef198479e7ff9e5c9bcf4bfc23e9a66c8 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7 diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20151014.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20151014.ebuild new file mode 100644 index 0000000..bc8bddd --- /dev/null +++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20151014.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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="keychain" +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} + keychain? ( + net-misc/keychain:0 + net-misc/x11-ssh-askpass:0 + )" + +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-r14-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-build.xml.patch + use keychain && epatch "${FILESDIR}"/${SLOT}/keychain-support.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 +} + +pkg_postinst() { + if use keychain ; then + einfo "You enabled keychain support, that means NetBeans will use keychain for managing" + einfo "your keys while connecting to ssh protected repositories. If you want to load some" + einfo "keys on NetBeans startup, create file keychain-keys.txt in your userdir" + einfo "(~/.netbeans/${SLOT}/keychain-keys.txt) and put names of your keys in the file," + einfo "each key on single line, for example:" + einfo "id_dsa" + einfo "id_dsa_gentoo" + einfo "If on NetBeans startup key will not be handled by keychain yet, you will be asked" + einfo "for key password (only this time and never again). You can find more information" + einfo "about keychain at https://wiki.gentoo.org/wiki/Keychain" + fi +} diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest index f51d5c1..a870346 100644 --- a/dev-java/netbeans-php/Manifest +++ b/dev-java/netbeans-php/Manifest @@ -31,6 +31,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-php-8.0.2.ebuild 4347 SHA256 585b2488d748f3d0f87c17c951870e167aac7bf10847428add786e4a8a446583 SHA512 1431305d4f340cb0a2c7c896c54d45f6f02ef82a4201f82053278b98511a5a4a68210317530e9cdf5cf1f495996d3a3f9c4b2c3c479aa407abd375072ab3182f WHIRLPOOL af8476f2ff2d119f2657e6be03cfea1160f86e41bd791f40609f1bc8a8aada46ba1081e4f2417b0fddde931fa4e43d20956c0fe1d4fdf3617b78d01afd23f9b4 EBUILD netbeans-php-9999_p20150901.ebuild 4417 SHA256 b6f52a63053c7f6d74829800396e15d463a7316c2de194bb0e243385eb8cc95b SHA512 b783d245589b2f43d616f3e3af5ab8bb0d9c5097974c640f8d22996b8185eb921edb851c174bd02a17ef0d29c50f0db03c595b5f23bc717dd3b2c4944c7fbf73 WHIRLPOOL 00d18b2b7f6bff0fcf8852a6137df8eebaa99885091a6363628b7ae18dd9c4ec18e3dfb75f214092be4cde7fe7c1150889ee8c173751089af52e8710f67446b7 EBUILD netbeans-php-9999_p20150903.ebuild 4417 SHA256 e7c715d04d186e6e62d408485f33ee6c94ec5a76969d95de552d10e590b94940 SHA512 44abb97abf1ae49840e20575bd05374f301870892bde53213df37d5a0b21bd6d9691bfc9f36120225d357572ba6df840cd4ef5f5f5492c24e5ef25f57f64624a WHIRLPOOL 35a1dcede6c295345409ac71f20c53c41b772a523d91d91bcd9b20369bc203e5f7f79e1ce7e2a72bb3cbb50ad693dfd8ad77a4ba22eea72000d70dfa593dfc00 @@ -57,4 +58,5 @@ EBUILD netbeans-php-9999_p20151007.ebuild 4417 SHA256 62e79f7b6c57b747132080eca2 EBUILD netbeans-php-9999_p20151008.ebuild 4417 SHA256 35e71bccf8f07d3f2dca81b66268614cee6ad16595fd04b6f03760b7f8ff368e SHA512 3836d521fe49a54e4306a89cb15456bb4569233e85d3541ed0389aefd523dc1aac6feda84ff6626780a289698e75f09280cffd4b47a1a58050517072571371bc WHIRLPOOL 1e31583ba183ee7f8261a91958194274b986d14b64bd04a444235e266854b02f13ddc4fa87d76890b0a148d2c46ea0193a27dc5d7551f36d0c9f64e1e93c2915 EBUILD netbeans-php-9999_p20151009.ebuild 4417 SHA256 5a5a72a32a4135c721cd5e87dc0586fc64bb60dda18d205a2dd5c7a9dd1936eb SHA512 fc5c54b2544c62afd13cd043d750514fb9761750f66ea4ae61c4e5e062ad575ada948d42f9322a03dfc1e2c6610c3bf70bbee0412702cf8d08ec2ce8c41dfd0e WHIRLPOOL bbe24187680a0fd787a5342c0ef6e33bb311da9c53c75279b9dbdf9983517964d24949f02be5bb7c2ae9731af30ce191503647e4395c27585bdcdbceb068f8ab EBUILD netbeans-php-9999_p20151012.ebuild 4417 SHA256 87be267f2a5eb4e2d173db1cdcd6ab26d8d93de553f54d74235f07be0241e551 SHA512 602aebcb2abed36c303c7eed206bfefbff71bf64db79d146ecf567cd1e4dfd40a5489a9d136ff8eba0f43e1db81af1951357844e24ecd48ee8fbaba623290ad1 WHIRLPOOL 98f5330b9a84e41eafa745310589a2af7dfb9d33ca70c95bbf3381fb28d5b0381e217334b4530682b2e3df049cbde2568f615251db3d01b3ed1574eeefb766ee +EBUILD netbeans-php-9999_p20151014.ebuild 4417 SHA256 850be8c9942028f13c7f7faf527571e1b3dcee460d45ea1268f372651da731f8 SHA512 70250dbf9fbd7922ca6cf8db9564713130700f279081a87646a10e93e982c98a2d8ea7a10324979f2f15fc02343e78d5b631e2a1cfb5b696f7cafc47fc88d98e WHIRLPOOL b9e5bc0485526ae7f065ec0006518eb06898f436a0ce158f501d6b01a7c69ecf46287c2d3b017653600ee419a26af763eb194c89fa5ef3ffc985bc9eb087c20d MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20151014.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20151014.ebuild new file mode 100644 index 0000000..251874f --- /dev/null +++ b/dev-java/netbeans-php/netbeans-php-9999_p20151014.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip + http://hg.netbeans.org/binaries/73E9BC8A7AF36E0C95210F61A85AFEF212AEE1A9-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-r14-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}"/73E9BC8A7AF36E0C95210F61A85AFEF212AEE1A9-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-r14-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=${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm java-cup-11a.jar && dosym /usr/share/javacup/lib/javacup.jar ${instdir}/java-cup-11a.jar || die + 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 2579043..02c6722 100644 --- a/dev-java/netbeans-platform/Manifest +++ b/dev-java/netbeans-platform/Manifest @@ -66,6 +66,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-platform-8.0.2.ebuild 5406 SHA256 98e9861da45ead0d2d975a0527315df5282870b2d7e71a089724d91c18852e81 SHA512 cadbe66132d3ad81f6d149e20731b558c11c529e2ec15b1fe47ff97d99a3f4b4612fa5c98c435c4ff979eaefab6702721db009a03162202c96b4b411cf9f872a WHIRLPOOL 9552948e8bbad308f4379eaae69d8c214da9fbfab87d75226949b69ddca3e68c2d36c4d05738196073e5b959ab0b764064c9186d421198937122aa4bdc4988dc EBUILD netbeans-platform-9999_p20150901.ebuild 9238 SHA256 85c58de49e8cf1c2202b5f892c9d9283587f255c58c4835f2169dce8b767967a SHA512 5d90e804870b94de49cf76db7e99bd2564f2fcd9984e9dc0b1f0ba02c5a66a2b97e0e59ad0b986d8ef055fb1184ab35998248379b76a456f576df5f87b90f81e WHIRLPOOL 4a74b24b3e8a975f1eff66d95406c629bf860b1956937a44f33eb2d92291d2dd95fb91dd8c34f730a35d6daafa9d16a67f2ed2a300c691d5dcacfd8f435b5185 EBUILD netbeans-platform-9999_p20150903.ebuild 9334 SHA256 2e3f4bc8579db348c5b81fb1460caec924efd1c59ee4e980f0606673944d0efe SHA512 21e7cd36c60d7ac8d6ac919203d9d0fe800bf02c5d44d7f450f2005a6da86c1ec3ce50cc8a3577af144618964e0d2b9a9183f2957fdfbe087e2e5eefc4ff4186 WHIRLPOOL 1989aeedda0e97d37a5e99ec99899862d057fae52eafa789ef100c80f5ef30339a01f9155c9fb3be7fd3d91a693136eaad259b8706723a7fda51ee2949378eb2 @@ -92,4 +93,5 @@ EBUILD netbeans-platform-9999_p20151007.ebuild 9382 SHA256 b16023ad06f2d0d218d60 EBUILD netbeans-platform-9999_p20151008.ebuild 9382 SHA256 6f804912a81f2fc5666a74c73879b7e5dd4e5c0af7508f6d0e0f096ef694b522 SHA512 fb5137f9848d6aea81fe962571aac475e8d65cccd84ba56a0a3c3066f784f486d54fb02cf49857dcf2a936d7c5e303c75fcb13744550ce6da6951bf7a562a0b2 WHIRLPOOL 595cfed28ea8d5a1538216056307d79f02ed0f85f6d2775d9454e3770440a51caa8b9cca574ea94c31aa0a49d2344f9cc04d34127d16610e39949e692ea54b32 EBUILD netbeans-platform-9999_p20151009.ebuild 9382 SHA256 2b17b14cf575820d6bc62ff44c5a062a6c7c4cfc2952b626d7c448bd109be816 SHA512 01ae44296dea60889d9f7fe356cb8934e89e0a91997b195163befa94f6bfd483cf1e28129085767724488017f896c664a4607708f4aa2501c4fac86a98c2bbd9 WHIRLPOOL 6f0c9fd84f5e0797cc1b06492901ab94854fc4769e33acbc300ad47dd3374dd7d9dbce068a76903e53ca74249034476c939cc6daa43db96e815f1553c2607bd6 EBUILD netbeans-platform-9999_p20151012.ebuild 9382 SHA256 90231f4def8670365d111a45ee05d6dd3e2f1bfa64804a5993b5aa4acfd4e00e SHA512 f5ab98a7633761bcba8abc709c30f58dfe5e57e6314a8461cc9eb8241279dcc5e897372131141380e731494bbc3db87c3e5e48dbdfee251dcfb02dcc6260669b WHIRLPOOL 637af216dcade3dfc52bb9874e644d67c679913f1467dbba03de17af67e6407052d71755570d56be355d450d74ebae4cb8a621fd40e17bbcd2101c655f2fce22 +EBUILD netbeans-platform-9999_p20151014.ebuild 9382 SHA256 40c2cc850a8f185b141e61e33d65db96da85141a6ca732187dee784dad608e25 SHA512 2bc028cb3d74ba2cbc807a7239a5e206b9bd42753e30335f060b930e3d345be9400f3d668213eba6dea5ed17f9247d6c65db1445f36b0eadfffeba2652de4f16 WHIRLPOOL 275ad4998afb89cea3047223c700b06dc0bd6e0c20e8178706a59b6d53a9ccd537364dfa35795e2efc9840c8247a421326bf73b98cfb7e29d0282af0b7757e85 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20151014.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20151014.ebuild new file mode 100644 index 0000000..69f194e --- /dev/null +++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20151014.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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/A3432F57D9B3B4AD62CB0B294EEC43D12FCF3F62-ko4j-1.2.3.jar + http://hg.netbeans.org/binaries/78DD1C0B4EDC348FF4DCD0616597BB809AAE248D-net.java.html-1.2.3.jar + http://hg.netbeans.org/binaries/7BA1E1C450BCD0AD9D0D2F6797A2EB50A4822E0E-net.java.html.boot-1.2.3.jar + http://hg.netbeans.org/binaries/068B9902E65F2292C9EA30E5423E41FB6B30D8AA-net.java.html.boot.fx-1.2.3.jar + http://hg.netbeans.org/binaries/8621531E83EC4850DA61AA2266FE41105C304F40-net.java.html.boot.script-1.2.3.jar + http://hg.netbeans.org/binaries/24824B1E8C2A2D3A5C471F5875BF61F27E8916DB-net.java.html.geo-1.2.3.jar + http://hg.netbeans.org/binaries/F41518385DA4B5682C864F19B82C3BA4AF65AE83-net.java.html.json-1.2.3.jar + http://hg.netbeans.org/binaries/989A81454D4FA962EB1C158FE794D2EB060AB9F6-net.java.html.sound-1.2.3.jar + http://hg.netbeans.org/binaries/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-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" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +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" +# oracle-jdk-bin is needed because other jdks do not contain file jre/lib/ext/jfxrt.jar +# the error: +# [parseprojectxml] Distilling /var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/build/public-package-jars/org-netbeans-libs-javafx.jar from [/var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar] +# [parseprojectxml] Classpath entry /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar does not exist; skipping +# [nbmerge] Failed to build target: all-api.html4j + +DEPEND="dev-java/oracle-jdk-bin:1.7 + 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.7" +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-r14-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}"/A3432F57D9B3B4AD62CB0B294EEC43D12FCF3F62-ko4j-1.2.3.jar o.n.html.ko4j/external/ko4j-1.2.3.jar || die + ln -s "${DISTDIR}"/78DD1C0B4EDC348FF4DCD0616597BB809AAE248D-net.java.html-1.2.3.jar net.java.html/external/net.java.html-1.2.3.jar || die + ln -s "${DISTDIR}"/7BA1E1C450BCD0AD9D0D2F6797A2EB50A4822E0E-net.java.html.boot-1.2.3.jar net.java.html.boot/external/net.java.html.boot-1.2.3.jar || die + ln -s "${DISTDIR}"/068B9902E65F2292C9EA30E5423E41FB6B30D8AA-net.java.html.boot.fx-1.2.3.jar net.java.html.boot.fx/external/net.java.html.boot.fx-1.2.3.jar || die + ln -s "${DISTDIR}"/8621531E83EC4850DA61AA2266FE41105C304F40-net.java.html.boot.script-1.2.3.jar net.java.html.boot.script/external/net.java.html.boot.script-1.2.3.jar || die + ln -s "${DISTDIR}"/24824B1E8C2A2D3A5C471F5875BF61F27E8916DB-net.java.html.geo-1.2.3.jar net.java.html.geo/external/net.java.html.geo-1.2.3.jar || die + ln -s "${DISTDIR}"/F41518385DA4B5682C864F19B82C3BA4AF65AE83-net.java.html.json-1.2.3.jar net.java.html.json/external/net.java.html.json-1.2.3.jar || die + ln -s "${DISTDIR}"/989A81454D4FA962EB1C158FE794D2EB060AB9F6-net.java.html.sound-1.2.3.jar net.java.html.sound/external/net.java.html.sound-1.2.3.jar || die + ln -s "${DISTDIR}"/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-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 + 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-r14-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 libs.jna.platform/external jna platform.jar jna-platform-4.1.0.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.1.0.jar + java-pkg_jar-from --into libs.junit4/external junit-4 junit.jar junit-4.12.jar + ln -s /usr/share/junit-4/sources/junit-src.zip junitlib/external/junit-4.12-sources.jar || die + java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar + java-pkg_jar-from --into libs.osgi/external osgi-compendium osgi-compendium.jar osgi.cmpn-4.2.jar + java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar + ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die + java-pkg_jar-from --into libs.testng/external testng testng.jar testng-6.8.1-dist.jar + + java-pkg-2_src_prepare +} + +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=${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm hamcrest-core-1.3.jar && dosym /usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar ${instdir}/hamcrest-core-1.3.jar || die + rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die + rm jna-4.1.0.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-4.1.0.jar || die + rm jna-platform-4.1.0.jar && dosym /usr/share/jna/lib/platform.jar ${instdir}/jna-platform-4.1.0.jar || die + rm junit-4.12.jar && dosym /usr/share/junit-4/lib/junit.jar ${instdir}/junit-4.12.jar || die + rm osgi.cmpn-4.2.jar && dosym /usr/share/osgi-compendium/lib/osgi-compendium.jar ${instdir}/osgi.cmpn-4.2.jar || die + rm osgi.core-5.0.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/osgi.core-5.0.0.jar || die + rm swing-layout-1.0.4.jar && dosym /usr/share/swing-layout-1/lib/swing-layout.jar ${instdir}/swing-layout-1.0.4.jar || die + rm testng-6.8.1-dist.jar && dosym /usr/share/testng/lib/testng.jar ${instdir}/testng-6.8.1-dist.jar || die + 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 fc411ee..3e3e67f 100644 --- a/dev-java/netbeans-profiler/Manifest +++ b/dev-java/netbeans-profiler/Manifest @@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-profiler-8.0.2.ebuild 3402 SHA256 8021dea620d1bc26214ff0ec285f8061c24693dd28a62a97a48ac3223707e920 SHA512 2660390337a973256b1aac3a02b14e16782c230fa2714ae695213b0cabc0eb60621c6a1ae234f9e57259a19de22a87447f9a89ab846bd59bcedd2be313c35072 WHIRLPOOL 5d1053ded03143b2de05b64cfbe59b515cb786d60bfa65566be795567bfaf5feb88a2f8e7161a05da512fafd523f871778d5ddeb3c6b89fc95885096e379f65d EBUILD netbeans-profiler-9999_p20150901.ebuild 3472 SHA256 2463f091c9f090fd538ea9a18cb2fc00819c7e8d8b3780e0bbdff4a426fb361d SHA512 40e7d264ee795e18ea90278e8e1d792abbe6ad4c4339d76ffbf63dd1126b0c5bedcd259741dff47c624a415aa7e8c57c3d8ef192d74b69373b6bf3ec574d6691 WHIRLPOOL 1d33cc1f24c6b8e3dca00668fa152b5956490d4eabc60bcae55adcee1c45950c02c0ab19daadb7b3691fc0bc908be618f56af9119243770298307a398b181442 EBUILD netbeans-profiler-9999_p20150903.ebuild 3472 SHA256 9c439061ab5f353d42cd066cc5793626222b9e9e9b40b4217427498e7036ac4b SHA512 0c0cf3b94565f9dbad4cca20fb9abc672655e8a032c4d53794d9db03cde7b400d41126d3eeca82304952f488d232f041675fea7ad417b4f2faa9c5e24bead22a WHIRLPOOL 97d96c8613ed98c787251b8a0d4a556ffb47cd477449044c9dd8b535c9b632650870b70ee6816604701884a83c19f869db0256cb7c1ff83c6af986a22d21a5fa @@ -52,4 +53,5 @@ EBUILD netbeans-profiler-9999_p20151007.ebuild 3472 SHA256 500c75ffdb7eb20857224 EBUILD netbeans-profiler-9999_p20151008.ebuild 3472 SHA256 97b58d8cf278a303b38c3e054741910112b022932106e181b534685d8306965c SHA512 f6bad546d020273fad5e736fb96bf11cbe240471138922b07613e1173ef283a35e115aeaafd6b30f68cd651c06862aa9c472f161f3b6094089097b9ece68f05c WHIRLPOOL 46cb4dd2d3e08220df67cf06b1281a990c7d9414ab9b363d5b9c9b364801375eba36f328ff5134fa53096cebaefcbdfc2886a380255f6ebf8e78c73585e2b1e1 EBUILD netbeans-profiler-9999_p20151009.ebuild 3472 SHA256 c357462a203a039c823040b12c7db8b34d01fa7efc5d08e2a2c18a82030f7ddf SHA512 8f655bfdba64a8cde98f47e8fac05555dad0d09589010dd85fbac885e619b3363fec2611048371f63c9a2a6621e717aff6b6cf0e2be04848b173f358549c46b4 WHIRLPOOL ddfcf38e890eb7e298bfa053dee6ed9802a7d0837f45ed886d32ba27a1f4f1aed5f2b4687d8c6c284ed03a009922f0bc61a9c3bef10de5568a563f12f631cda7 EBUILD netbeans-profiler-9999_p20151012.ebuild 3472 SHA256 bfd4ce3aa0d215ca7505c90243e10a0fd0854b93bb0b3f898051f3ca1a19c4f2 SHA512 b61262a99efca801f926453d522c602baefc3ccf31d3f00b8ab9d634c1614ac87f9e2de9df542762d9bb0d6b51f60cbbfbdf712a89212c52732d49e9237518fe WHIRLPOOL 79e6c5f8f909c8876bde34711f2ba78a6fbcea48cdfbb194e53cd630635ea619129f45f278fc8d45e4d4ba5f9668b5ae27a0261e00cde6c167092ee3c9d09eeb +EBUILD netbeans-profiler-9999_p20151014.ebuild 3472 SHA256 5bd1759c4d512cd8f680b0fc4b6477b09847b0f4891e8af93719b8c51c5bb076 SHA512 91fb4ed9dccf8bd241901d3044229310e66b4471ccca716f40d865a4e13bf6c5858d9a36ac4ed0aed4e9f95e1def4789b936bce34a4193fd487427868658927b WHIRLPOOL 3086790d31c2d7fd7db57a2ae49d575b2ca18bfa6627fadd1cc78d457839a8b9e08228020663903ea67553cb7e7beec1327cad1318b27b02ac91bd90e4a9668b MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20151014.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20151014.ebuild new file mode 100644 index 0000000..3240fc2 --- /dev/null +++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20151014.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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-r14-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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 2901837..96c26e3 100644 --- a/dev-java/netbeans-webcommon/Manifest +++ b/dev-java/netbeans-webcommon/Manifest @@ -35,6 +35,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-webcommon-8.0.2.ebuild 4723 SHA256 e2ba39cb6f22c990acf9a492eac5707f130382d56f9bc1e3636e82cbe4d61938 SHA512 61955d38f829b3ed54bc5cb9a71da07f05676a2bf7219fa8073aeee0f0e2d0e73f7aa6ec1636be39fb071d3d2b9de7ceb813a247a61961874f4cc78697d4e568 WHIRLPOOL 1a272650fc2394716a790b79cb85a9322929c7cc96ea4776cc639fb869c5b536140dbdc632b1a8aa9cb1fc8e740050125c2ebe9390de7a8f4207e88e24924206 EBUILD netbeans-webcommon-9999_p20150901.ebuild 4991 SHA256 6a58d046976202f9630b42e133fac192593354c8620dfca0bc5f6d5eefb41b63 SHA512 c7d0da7bf9bacf40c8afc1ee6543749b0f30969abd398bddc9109f18e29f93416496d0e31c837358412f1de192953972b3a4ed7f709789dd6abcff9f63b871c6 WHIRLPOOL eb9eefc3b2fa66241f1035309856f3b68c3373cd355d3d275b5dae7bef26d53a93628863b081e4cbde480371dd72a037ce275af31947069fce424c563866e267 EBUILD netbeans-webcommon-9999_p20150903.ebuild 4991 SHA256 b12f68d20eb276d5787e83ba650885835308517e4de0553dc4bf16487ef5d974 SHA512 5f4fb009a589c9bc36a2908d16009b6d72f476e5fcbea52fd21385448a58335a033ad3e58a410173c0ac029e892db0d2ca2081ae8bd16bed98b62d121690d237 WHIRLPOOL 1deef8a500b05468cf6f3c2623cc38eec880bcaab1dae9ab51ff4424018465db71ed37c7146b289451558d54d858f4246ec3cfb80feecea0e1f42306c105b4a4 @@ -61,4 +62,5 @@ EBUILD netbeans-webcommon-9999_p20151007.ebuild 4991 SHA256 ad0ca31465964f86356d EBUILD netbeans-webcommon-9999_p20151008.ebuild 4991 SHA256 d997296cdf7c3671c661aabb4629e6e50eb46048995094a9c4b826153fd3b477 SHA512 e4fbb35af3e775966cc983d30bac496d16fa8a9cf9a6b823e035aba1bb2046f597da37faafa3e7c81d78c448311d3f223eb1b46bd3737be14b5d806c9587cfd5 WHIRLPOOL 5ff2e30443fe700f1ace53e9184c959259016c07d21514bbd0420e273a3e25af6e19e8e70e5b7fb137b6026f34a8bc81d40a86e73668e99f39ef057838729f86 EBUILD netbeans-webcommon-9999_p20151009.ebuild 4991 SHA256 ae2edbe56e17e97c629d519617d89eb20e139c635951a1506f15e8c2e61275f7 SHA512 8ec2a87b9c48732952cc6e0e6f1c2c06f7356abf76aa564a2e9f7c4293659ca0c09ea40bc41d45d560d1476c9fc32696de5c5adeb547d69403954f567c440aa6 WHIRLPOOL 33340274f46c6951a00053c22e1d3e7a73f1d600afde1f472b02826b24b40fd7d8777c527e162800879361e6d821b7940d0f27abd6ecf5f08e6614f2b6fc9c08 EBUILD netbeans-webcommon-9999_p20151012.ebuild 4991 SHA256 c4ccb1942974abe0dd9ef9553bd7ea9c0cf0c47df6369ba6b67e7b42047c9ce4 SHA512 48f65de75c7a314681fa7c41b73564d5652f7cde6a09209373e76b7bbbde8210b710193cb485c24b49fea518c9d4ad86b050173278e1cdf364fa4e55dc5c7c23 WHIRLPOOL 6b5826e16262dbfef991e63d7d8a85dede6ebe93cdce5b25abeda04a4b74dd295f7d81c43bc03685a3393ad2893ace9d2c5aff08fe53f7c006165a75c1bfb230 +EBUILD netbeans-webcommon-9999_p20151014.ebuild 4991 SHA256 24f23cb320d08b4d52bd77350497c3ede18627ef962bb0d244f7fc121c168cd4 SHA512 5989052c5a774ae61dec3d3c9ff63a57b9534ab1d74ee55098988690c34b314f8ae2a2353f1999b103ec6fce55d53fda3b302c5b12f2d60f57a0e5f273915153 WHIRLPOOL b59de70ea986df692c06e808b76af1c67218f9ca5df4de0c6f303993a68f9998e582d41224c7fa08fffeca66b9192f4ff7fa7464b96c03d2ee3a1ba1c6563011 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151014.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151014.ebuild new file mode 100644 index 0000000..96491a7 --- /dev/null +++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151014.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib + http://hg.netbeans.org/binaries/9F0D0D95F57E73C0110FA023813A4F9756D543B1-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/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib" +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} + dev-java/commons-compress: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.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-r14-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}"/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib cordova.platforms.ios/external/libiDeviceNativeBinding.dylib || die + ln -s "${DISTDIR}"/9F0D0D95F57E73C0110FA023813A4F9756D543B1-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}"/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib cordova.platforms.ios/external/libusbmuxd.2.dylib || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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.commons_compress/external commons-compress commons-compress.jar commons-compress-1.8.1.jar + 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-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 + + local instdir=/${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm commons-compress-1.8.1.jar && dosym /usr/share/commons-compress/lib/commons-compress.jar ${instdir}/commons-compress-1.8.1.jar || die + 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 0d82495..95a2e15 100644 --- a/dev-java/netbeans-websvccommon/Manifest +++ b/dev-java/netbeans-websvccommon/Manifest @@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-websvccommon-8.0.2.ebuild 2651 SHA256 a195b307847c466dbb5f46eb04240358ce3c92cadeecb8fda1562304de46820f SHA512 933626bd2073f58e3508180c042e237b9e61ba6f3c992cf37ea43978ac2fc972d2dcc3ef0b5c390b3867296e197ed2605c43452c98e36acf0982e7338b6d1eb7 WHIRLPOOL c3db8f0b50116d0129f50778e1961166e76601d8c165e20e73d75c91b02c8a095067e0f13e18178d849dd29adcedaeee7d3e0e62f99be592d7ce159fd6af632e EBUILD netbeans-websvccommon-9999_p20150901.ebuild 2721 SHA256 1b1853b108ea504ea98052027c51e2ab8e55853bc016e1b288f7d5fdfa937ba9 SHA512 f914e9d3d8060c6740ab305233379a6c5cda835a09d1ad9c2d5e4a37fe7154f560899b4dc4e375b4a1d8b724102b522eb02529d65ce562afb914cdabbeebceff WHIRLPOOL 2eb7a4627b93b6bb8bbc033a6e941a64452a5c6377e28b86abcaca6b6be76ddec7df0950e7ef5234f5e3d6addb3dd191cfa00f6fc18b4442a2d7c1e6b27fa19b EBUILD netbeans-websvccommon-9999_p20150903.ebuild 2721 SHA256 5b548eaf95bd714f2b32bdbf189f8a5967ebb9ff9f4472b7dec07165540a4bf2 SHA512 d4e19899b1df32711eb649b10bb66ee7daeb463ce87bf330f3405e02788e7acea6a8573aacd2f17c5e09c93762e627dfc88b1f331c40280761cd0bd1d2b0339c WHIRLPOOL e6914d11ecf33f57de66f4bba5f8689f0ffc0ff40df29ec98cc6a0b731cf7c73096124e67433205a3fafaf744cc8b9c0a0361c905be1823b0dbde7e85bd52a66 @@ -52,4 +53,5 @@ EBUILD netbeans-websvccommon-9999_p20151007.ebuild 2721 SHA256 30377832042c86292 EBUILD netbeans-websvccommon-9999_p20151008.ebuild 2721 SHA256 6d2de7a926fc7fd5e4e83401e9882156a99fe2753d189cfb163d017f063ad908 SHA512 89cf3a25ad1335acd902e1cee001ecef6795b882b4c0c5462bd575ed30e89227e65945172dbd7dfe385ac3412815fe68c5f723140457d08488bb813e73a2f009 WHIRLPOOL 075c7248fab1d612eac5e0c27f267a2c287d01b229805acc799c19e9b8f824ba57606c3a09cc175625703e435d3d7cd913658ac53becb810a2efec9c47dc5d3c EBUILD netbeans-websvccommon-9999_p20151009.ebuild 2721 SHA256 2cc6b03a981afbddbfa2c1db467d710fe4cbc62742bdcb6b666b5af1fd55bf45 SHA512 582ebe32cdcc3b042bb39c18dc28b8a48622eb9cd51ed2337dd2ea8030fadffb09329618f11e45671a6694a902038b461f25d1104a3ce79ced7961391b8d859e WHIRLPOOL ec9522344eb2bf7e066aa64803fe75c4b49e21d86278d918418f07f5eae2339bab2cbe560ac8d117b5c777092a60790c970c707f65d8aaa828788ecf51d122b6 EBUILD netbeans-websvccommon-9999_p20151012.ebuild 2721 SHA256 e6a812bf57bbc0977aeee94c21c168e5ce5e372045ebe0a52039c080445cca59 SHA512 2e26f0b4c90cf3870d08369656f8e77a13a570931e99771179f6abba88c40116cc30fc4439eeddcaf0cecd1ef12f9856d3a88c0127e14eb63934eba62f903f09 WHIRLPOOL 1a9ac3f25ff07768f1bcfda3345514922de3ad11c54498053b3ebebc38fe5f34462bdb9a00b43325f7f9ff7181b871d46f739282e330990430fcfe9b21b72ab4 +EBUILD netbeans-websvccommon-9999_p20151014.ebuild 2721 SHA256 82f9d4940410cb78c8d9220a496bf6cc836ba657897195221226e4a68a887af3 SHA512 12627c1ecfe9a98dbfc150467052226699407ab348e1e001ee31391cdc05fc770888f91dd5cc2a56b64ca5c91cb3884b4ac75fa2403df816c0b88c859c7b3a2e WHIRLPOOL 8bc506d15efb4bc9aa2dd6ba450379b71da5d9c2e8d1d2f8d1c892d16a787015681b1e93e451978b80e9f6ca5182c698a5088863947e7f45dc9ad10898b76a4d MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20151014.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20151014.ebuild new file mode 100644 index 0000000..001807b --- /dev/null +++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20151014.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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-r14-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r14-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 6ec472e..0c00139 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201510070002-src.zip 208683419 SHA256 ee083747dc95a5 DIST netbeans-trunk-nightly-201510080002-src.zip 208630573 SHA256 13b844c0743e0abd7235ffa4c49168b20b28f01696712741ae9272ee0d8d332b SHA512 a491e089cfc7fdf1cc3ac5288581876176b55c77b8cf427ac287975d22a30f5ae9667ea9bb7b6b2d0abe3bec8427660aacec6266e0801d9d631133ce73945e03 WHIRLPOOL 3de80c105d05d5e18bdd66246cdaed07c00599259c1263a040426a4a91c32d8eea1ae5f92a58363add45d9d019e597d80f08365caabe613524ed58b89d667cea DIST netbeans-trunk-nightly-201510090002-src.zip 208636938 SHA256 4aca1251fe6aa43ef371fe1ad0bc40b3eaa5c6992f17a9244defa7a87e550886 SHA512 36bc6babad039b5794a462714135f6a535bd274b048648c89319dcbce1399d514fb0fe51ffecac1f38fae9efa87e2428d695e748a6472a8ac770a4d84cfc96b3 WHIRLPOOL b09e02fe9f4dc4ea90af60336eb05c9cd25ee771cad5ddee65760a96ba0861b01bab791c160e6adf58875c6efb679da4bf6134fd2827cca6e5120e1c79e1d550 DIST netbeans-trunk-nightly-201510120002-src.zip 208620253 SHA256 27fba7e135412fccea434d6c3682ec0d8103855f58e8f21038255e1c413d02d3 SHA512 b6cb66f87186220d50785fd57aa311e22982cf531246501620182a08e61de058da8584b45ea0ebb6651f877509492c74f98de5ccd64b5ea6bd2c80ac42d0aa34 WHIRLPOOL 4906908eb51d2d0d0c0c20a0f73433f2cbb76d4243335381c388882901756f26f460395990fd3a4a4316b4496a8330a792e9f1c8b5b20d3f1d542d1b31f99163 +DIST netbeans-trunk-nightly-201510140002-src.zip 208620278 SHA256 ec207e7f0ca45db66859688f6b23b44082e324f196f08ea4aec1d5aae467e0db SHA512 77aecf6fbfcc4b176b92b239217e333b0132f6274243779948394a33a78907a35e7e64454679129480167bb1b28910429eccdd9c7cba6aafcd7a823e84810518 WHIRLPOOL fd89d1fe5b98ad04ba306c0cf7d7918cb4f8f4a545e3ce2c1c14260ca143326db43d1298c94b206f7d8601c57c454debcad9858c20951229d1d41777923ebe0e EBUILD netbeans-8.0.2.ebuild 7167 SHA256 80e31382a0ceb680c2a055dc5c78c1dce8edf32c50bbae6a1c14a2c568492519 SHA512 0ab466ca247ec953896ef0ab3b01b43ffea3a9f37e9bcdacecfc0476226d45cef35e4ddf27f2b85628d9512ed304e6cc6cfe963a5e547217d08cad400eefc4b9 WHIRLPOOL d09668e669f4f8d7987ab02cf26104fc6e54ba29b8b497fe0013cc8816a2d7560c99e6e1b02db77ead872d5240b84c09e3fabbc3465587d1d1ca7d6fcae114c1 EBUILD netbeans-9999_p20150901.ebuild 7210 SHA256 aa601ee01f6fb1485234688933becffe18ee2d30af5045951a2bffc2f24f849a SHA512 98f00da7d90c3425cd718c34d65aa46980a9c10f50dd34a01a1776d1a1488e92b9e657210f61e45724b6c9358a36a44a2fbf8ac5b7012012d163c6c91f7ec421 WHIRLPOOL 008820f5bbb9077bc739629262c1e24bbece9c55b50c270c76c3900424ea77e0dca4a33bdf32535b506d61dacd951f65d669485321837dd83234404ad9143594 EBUILD netbeans-9999_p20150903.ebuild 7210 SHA256 73a22280e3cd8d717bb224ba8c243faa59493011739522863e3e93b83def156d SHA512 87214a421b60dbe51dd45b0124ba463585096fe7f7820fa48e0cbf7d55b3d3080645ecd9dbd4679d7968a9b90d1ed60b88bbc3e50109a00e3c2a7ea8192ef0b2 WHIRLPOOL b820124da7676168df3529566db7b2ca095972189a1ba848da238caae7a93947c0c664af310edc722146d2daaa9fdab9bbcc5b3477207664a5193c003f289c09 @@ -54,4 +55,5 @@ EBUILD netbeans-9999_p20151007.ebuild 7210 SHA256 936174ce50d71d629c2b4a15519f17 EBUILD netbeans-9999_p20151008.ebuild 7210 SHA256 f163274e3551e9ac9d26df9e9e8f8ff606a2afce2b15710832534320aed85d58 SHA512 0789d5658425df9ec26e3d4afa83f822774249e7d98317117ae21ad62bf40e7fb7c78b4983d7fa4574147dce1614faf7cb6d877df3d8f9b36e081a89518a33d8 WHIRLPOOL 4222a0c1d5fe9bc80f6eb6fdc150914172767028f1967d1256b504d6e22f9a37edc9bf29c31e9de96161e6c85b6f38c634ad734bffeb0bca3b9939f2e2039356 EBUILD netbeans-9999_p20151009.ebuild 7210 SHA256 00edfb10156e1c9b78344a8c464e5cd14b50abab111699b7383f95203da6bd0c SHA512 134b0a4aa46e956f96b70114a113995f9e4def8956a6ec51fa4fb869c2b1637e934ca9cafb9e8c45c98eb0956640f4c20bcc3294df237aa5defcd5fc7da40271 WHIRLPOOL 0d019b7ad761bf6298da5d6ccdbe1e2dce04ddfc5df9dd6e250657f8ee2eb5094694afca1c096d332deb2c917d200725ade185a41bef1bb8f8dd37963912554b EBUILD netbeans-9999_p20151012.ebuild 7210 SHA256 20c5306816f8efe37c01d9a81e15a6ce370e13c16c432868602e5c306c320ee7 SHA512 056626c8165f98285cd979a19d841829d41afbae8a9d25c6a6b44b69e659325f43f312ae672950261c44eb50613ab497e16d1cdd329ce6c3e5eb2d0910f9c7fa WHIRLPOOL 2e62379f61835aa0398ef6b07b90b4ef513d6d663cab440e3b03da628a2cb8e854a7a6d92460247becf39d449e637dfa8b14669762763f459c7034b441e6f419 +EBUILD netbeans-9999_p20151014.ebuild 7210 SHA256 a95b5ddc386ff86e89234cf69dd1a76b12516dc14af272e2b75a65251c8c1975 SHA512 944348e2a11707c9bbdd151609805c77df34f43d79fe13d279058558b8ee49c6cf6e921970a20549e20979593584a7ac5c366037d1e06f275e2398adbe22c3d5 WHIRLPOOL 3657a2a35558a090269e47355442524cdb397e7fe233ffb613ed7ab45fbf8bf647b16c7af1d748901680805f52439945aa39707cadbda20d14308d4437c025c2 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2 diff --git a/dev-util/netbeans/netbeans-9999_p20151014.ebuild b/dev-util/netbeans/netbeans-9999_p20151014.ebuild new file mode 100644 index 0000000..224c533 --- /dev/null +++ b/dev-util/netbeans/netbeans-9999_p20151014.ebuild @@ -0,0 +1,264 @@ +# Copyright 1999-2015 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/2015-10-14_00-02-28/zip/netbeans-trunk-nightly-201510140002-src.zip" +PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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_bg? ( ${ALL_URLS} ) + linguas_ca? ( ${ALL_URLS} ) + linguas_cs? ( ${ALL_URLS} ) + linguas_de? ( ${ALL_URLS} ) + linguas_el? ( ${ALL_URLS} ) + linguas_es? ( ${ALL_URLS} ) + linguas_fr? ( ${ALL_URLS} ) + linguas_gl? ( ${ALL_URLS} ) + linguas_hi_IN? ( ${ALL_URLS} ) + linguas_id? ( ${ALL_URLS} ) + linguas_it? ( ${ALL_URLS} ) + linguas_ja? ( ${ALL_URLS} ) + linguas_ko? ( ${ALL_URLS} ) + linguas_lt? ( ${ALL_URLS} ) + linguas_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_tl? ( ${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_bg + linguas_ca + linguas_cs + linguas_de + linguas_el + linguas_es + linguas_fr + linguas_gl + linguas_hi_IN + linguas_id + linguas_it + linguas_ja + linguas_ko + linguas_lt + linguas_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_tl + 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}" = "gl" ]] ; then + lang="gl_ES" + elif [[ "${lang}" = "id" ]] ; then + lang="in_ID" + elif [[ "${lang}" = "nl" ]] ; then + lang="nl_BE,nl_NL" + elif [[ "${lang}" = "tl" ]] ; then + lang="fil_PH" + 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-r14-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-r14-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_gl ; then + einfo + einfo "You selected Galician locale which has locale code gl:ES in Netbeans." + fi + + if use linguas_id ; then + einfo + einfo "You selected Indonesian locale which has locale code in:ID in Netbeans." + fi + + if use linguas_nl ; then + einfo + einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant." + fi + + if use linguas_tl ; then + einfo + einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans." + fi +}