diff options
-rw-r--r-- | dev-java/netbeans-cnd/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/netbeans-cnd/netbeans-cnd-7.1.ebuild | 119 | ||||
-rw-r--r-- | dev-java/netbeans-ergonomics/Manifest | 5 |
3 files changed, 130 insertions, 3 deletions
diff --git a/dev-java/netbeans-cnd/ChangeLog b/dev-java/netbeans-cnd/ChangeLog index 32e49238d79c..dab3ece665a4 100644 --- a/dev-java/netbeans-cnd/ChangeLog +++ b/dev-java/netbeans-cnd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/netbeans-cnd -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-cnd/ChangeLog,v 1.7 2011/10/24 23:53:25 fordfrog Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-cnd/ChangeLog,v 1.8 2012/01/06 11:17:47 fordfrog Exp $ + +*netbeans-cnd-7.1 (06 Jan 2012) + + 06 Jan 2012; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-cnd-7.1.ebuild: + Version bump 24 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org> netbeans-cnd-7.0.1.ebuild: Filtering ecj compilers as the package does not compile using them diff --git a/dev-java/netbeans-cnd/netbeans-cnd-7.1.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-7.1.ebuild new file mode 100644 index 000000000000..cfc48b570bdd --- /dev/null +++ b/dev-java/netbeans-cnd/netbeans-cnd-7.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-cnd/netbeans-cnd-7.1.ebuild,v 1.1 2012/01/06 11:17:47 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans CND Cluster" +HOMEPAGE="http://netbeans.org/projects/cnd" +SLOT="7.1" +SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1/final/zip/netbeans-7.1-201112071828-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/11B1CFD9AB9B7BB572F272CD1972693D1E9721E9-antlr-3.3.jar + http://hg.netbeans.org/binaries/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip + http://hg.netbeans.org/binaries/84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip + http://hg.netbeans.org/binaries/61CC1E7181A8B26E9B3E1357C06B63F8F0077FA5-open-fortran-parser-0.7.1.2.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +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.6 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.6 + ${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" +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-r1-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/11B1CFD9AB9B7BB572F272CD1972693D1E9721E9-antlr-3.3.jar libs.antlr3.devel/external/antlr-3.3.jar || die + ln -s "${DISTDIR}"/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die + ln -s "${DISTDIR}"/84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die + ln -s "${DISTDIR}"/61CC1E7181A8B26E9B3E1357C06B63F8F0077FA5-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-r1-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-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-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest index 56d5fc8efe20..3e7bcb8c543e 100644 --- a/dev-java/netbeans-ergonomics/Manifest +++ b/dev-java/netbeans-ergonomics/Manifest @@ -1,5 +1,8 @@ DIST netbeans-7.0-build.xml-r1.patch.bz2 1344 RMD160 f8f092c93c1197ce759afbd8674ff1216d504d2d SHA1 6324909cc2dfae583f38e3544a38d1058c73a7ec SHA256 f323cb4694f6351fe47b76fa8b8b3e3f8e456e7d45ca76f9b88c5c6b90cc103f DIST netbeans-7.0.1-201107282000-src.zip 175987235 RMD160 0104cfeb656f76a7e8041e725c98cff3cc0734cf SHA1 3c5c47b60a4265a8a89d5ab688f6609a613ab1ec SHA256 8bf4dd2375bc9fd02adf64ca9066118e0392a33428232ccf3f9091b96557b9aa +DIST netbeans-7.1-201112071828-src.zip 171732619 RMD160 8dcfac6a6f19edded24526c327e77b17d0a4bf0a SHA1 7438ff91225683f47bc4c0a3faee437989f03e5b SHA256 245c95fc9d78a1b38dd60fb52d256ca933efd043e2a96f26089f8a80d043d53c +DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e EBUILD netbeans-ergonomics-7.0.1.ebuild 3009 RMD160 12603ee70764da434055b160f695d2fbc0b59881 SHA1 d53f65c845bf87cc3ad7534e83adbf9b6f76f05a SHA256 457bce5fe37a80a49926bfd3cc96b7c7d24692fe631b71c648fa2aa922a39ccf -MISC ChangeLog 1342 RMD160 97734d8cf8fab13f090d6c73c6c8182ad2c65b57 SHA1 f5e9e5a299345ecb3831a74309b1e09d166d332d SHA256 0f8cbe6ae02f59fc88c489514667c4e0ab2062346e2571fa5a8c4c32ecb20e48 +EBUILD netbeans-ergonomics-7.1.ebuild 3012 RMD160 e1835539292a5e76f91c7cf6d0000c9f9b5cb1cf SHA1 e08a0a2370ad32178075c6bff577113606451bba SHA256 d2b876c823533d714473624571fb059375f0e1fa5e92d29ae82f33e61bf3de93 +MISC ChangeLog 1485 RMD160 4ad6e099b0edb75f1a0fd5d1827923f5fe547e75 SHA1 d120a260c1e76b04f91c0e1da2375d300d167ad4 SHA256 6116b6eaa193dedba44a3ed44ea52608fa5a4773a7bbff773c700571be481a4a MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 |