From 4b83bf9a1d9a3cd14fdd00d58ade28b94498dffe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miroslav=20=C5=A0ulc?= Date: Fri, 6 Jan 2012 11:15:14 +0000 Subject: [PATCH] dev-java/netbeans-dlight: version bump Package-Manager: portage-2.1.10.44/cvs/Linux x86_64 --- dev-java/netbeans-cnd/Manifest | 8 +- dev-java/netbeans-dlight/ChangeLog | 10 +- .../netbeans-dlight-7.1.ebuild | 102 ++++++++++++++++++ 3 files changed, 117 insertions(+), 3 deletions(-) create mode 100644 dev-java/netbeans-dlight/netbeans-dlight-7.1.ebuild diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest index 0f5fbee74c62..37bef7871d2c 100644 --- a/dev-java/netbeans-cnd/Manifest +++ b/dev-java/netbeans-cnd/Manifest @@ -1,8 +1,14 @@ +DIST 11B1CFD9AB9B7BB572F272CD1972693D1E9721E9-antlr-3.3.jar 1940955 RMD160 606a4238df41019ca1013a08134db41202c4c944 SHA1 11b1cfd9ab9b7bb572f272cd1972693d1e9721e9 SHA256 7cb0fc0c46b960e49cd22a7d84879e9e5033b26bcd20ac9c668bd96c40914b88 DIST 296C195B720404C2683BA2F65E2A423DD0611B8B-open-fortran-parser-0.7.1.2.zip 86627 RMD160 3b9b848a4ebaaac9faa76874626104f4eee81d3a SHA1 296c195b720404c2683ba2f65e2a423dd0611b8b SHA256 de7cf8ce10a3d50eefa5e493953404be7db138007aa9fb53b894e307ea033195 DIST 5C917BCC015510DC6C7E3B511DB85B2978C0774C-cnd-build-trace-1.0.zip 19708 RMD160 e89629f5ac9704cf65863b95eea228f283d64183 SHA1 5c917bcc015510dc6c7e3b511db85b2978c0774c SHA256 e2c7a9e2ae6488e1c7cddfb969f42ac19335077bfe8b39fdb57ad3202648bac3 +DIST 61CC1E7181A8B26E9B3E1357C06B63F8F0077FA5-open-fortran-parser-0.7.1.2.zip 94483 RMD160 a97f1baa0f4cc4a730d0e692145ea3cf5f1f8218 SHA1 61cc1e7181a8b26e9b3e1357c06b63f8f0077fa5 SHA256 11fa943df02788767f4c3439f142a4d1d9937818e9c0b2812dc824230d890a7c DIST 84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip 146651 RMD160 b8cdca7f3a024c57f1fe84c6ac35eab04b33c9e1 SHA1 84f10beaa967e2896f0b43b0bbd08d834841f554 SHA256 4921fdeeb7dcf6b7c8677000a75e36894757cf78ba87cc744fb7239480d3ad17 +DIST C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip 27300 RMD160 9136e6a2b4b9c07e96ff6404667445862ea1825f SHA1 c4cf9314a530e51b891d46db65806a5a0ed240af SHA256 8bcfad100ee9664b7fb2b6b8f20b14b3790121b06487e790214c571c9ec1f21e 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-cnd-7.0.1.ebuild 4606 RMD160 ddac5deddef317980f754df540a8875b1a0b3c42 SHA1 147a59768ce473b9afb2b3ca9dd0d73415a66145 SHA256 3987eaa9d2a7ac662fbbce949a43b46263ec16666f7ab4cee52fe6c6571eb8eb -MISC ChangeLog 1229 RMD160 19a62cc530d0cdf867dc6d4d422ba1e489d0352f SHA1 9c1278e33395f2b26f239a5c467d743022a56547 SHA256 f111df3d275da5f627aafafd9a521fbf69aad15bd0f934097cb7cf645c4a57b5 +EBUILD netbeans-cnd-7.1.ebuild 4216 RMD160 f805db52bf9df742ae444ec91acd8862b8ce45ca SHA1 a843aa9154625d362cda5c4761772ac0ea1f0d52 SHA256 05a5998cbe7a174b3a9d1e5b0970ac3cc896a6aaf7bb4b9ed94f8c1eb1835ac1 +MISC ChangeLog 1356 RMD160 1d39b5d88ae01dcb863273f0fd1256c7aba6399b SHA1 b56af10655fe70b040a7a58e97c6db1a9e35aa4c SHA256 bb339182eabc401558d472d5483bdfd316b314212364bc14e5f2011ce207a8cd MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 diff --git a/dev-java/netbeans-dlight/ChangeLog b/dev-java/netbeans-dlight/ChangeLog index 774f77a0751c..c1952a4aa062 100644 --- a/dev-java/netbeans-dlight/ChangeLog +++ b/dev-java/netbeans-dlight/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/netbeans-dlight -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-dlight/ChangeLog,v 1.7 2011/10/24 23:54:34 fordfrog Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-dlight/ChangeLog,v 1.8 2012/01/06 11:15:14 fordfrog Exp $ + +*netbeans-dlight-7.1 (06 Jan 2012) + + 06 Jan 2012; Miroslav Å ulc + +netbeans-dlight-7.1.ebuild: + Version bump 24 Oct 2011; Miroslav Å ulc netbeans-dlight-7.0.1.ebuild: diff --git a/dev-java/netbeans-dlight/netbeans-dlight-7.1.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-7.1.ebuild new file mode 100644 index 000000000000..15891325c6dc --- /dev/null +++ b/dev-java/netbeans-dlight/netbeans-dlight-7.1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-dlight/netbeans-dlight-7.1.ebuild,v 1.1 2012/01/06 11:15:14 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans D-Light Cluster" +HOMEPAGE="http://netbeans.org/" +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/F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar" +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.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.dlight -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}"/F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar db/external/derby-10.2.2.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-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-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 +} -- 2.26.2