dev-java/netbeans-ergonomics: version bump
authorMiroslav Šulc <fordfrog@gentoo.org>
Fri, 6 Jan 2012 11:20:28 +0000 (11:20 +0000)
committerMiroslav Šulc <fordfrog@gentoo.org>
Fri, 6 Jan 2012 11:20:28 +0000 (11:20 +0000)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64

dev-java/netbeans-ergonomics/ChangeLog
dev-java/netbeans-ergonomics/netbeans-ergonomics-7.1.ebuild [new file with mode: 0644]
dev-java/netbeans-groovy/Manifest

index 9dbd8ba8055ffba76701a8f743bbd971810f3991..8a86819771d132694079bc905a7e79c97f11ff44 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/netbeans-ergonomics
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-ergonomics/ChangeLog,v 1.7 2011/10/24 23:57:15 fordfrog Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-ergonomics/ChangeLog,v 1.8 2012/01/06 11:20:28 fordfrog Exp $
+
+*netbeans-ergonomics-7.1 (06 Jan 2012)
+
+  06 Jan 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ergonomics-7.1.ebuild:
+  Version bump
 
   24 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org>
   netbeans-ergonomics-7.0.1.ebuild:
diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-7.1.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-7.1.ebuild
new file mode 100644 (file)
index 0000000..1810928
--- /dev/null
@@ -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-ergonomics/netbeans-ergonomics-7.1.ebuild,v 1.1 2012/01/06 11:20:28 fordfrog Exp $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Ergonomics 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"
+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.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.ergonomics -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
+}
+
+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-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
+}
index a260eac670e0656b4bebceed8020f94019aec54d..0bee8898614a2f2d1c8a959a85eed1f7c163a46b 100644 (file)
@@ -1,6 +1,9 @@
 DIST 559C961A6CE793FAC94C8040253EA1FBD32B668B-groovy-all-1.6.4.jar 4503584 RMD160 0886cf2b601464a436613854925c5be74b86ec83 SHA1 559c961a6ce793fac94c8040253ea1fbd32b668b SHA256 4e1c36766e9af21519c6f6ee1a6ea21cfc020b253c27aa6d12d58f09c78602f9
 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-groovy-7.0.1.ebuild 3413 RMD160 3b943f5b536ab64bfa8b76355f916ffa4f9c9c0e SHA1 8de3c1c265e3c86fed9945c956f9befc43a813fb SHA256 4adcac24e62fbd53812b876a7d46dec3b6aec49dc8434fd9ab1b0d22862e033f
-MISC ChangeLog 1282 RMD160 5cd1a55fc01a2826ab6575d723b3d57cb2f60cc6 SHA1 61f8abb136648a15d3305946adf5e6e2cb52a4b1 SHA256 39bbb095196368e73d08c6e5bd2d1c3ba2b88f22cf66c169078388cfdbca97a8
+EBUILD netbeans-groovy-7.1.ebuild 3416 RMD160 2fdee7c194d7eb4be421cca941e3024e309d386d SHA1 a764d026da454127a2ce386076f02705f267a849 SHA256 c77ef361fec9ee0f759dccbd03a5dd521b53a2975f5ed12db29120b5a7028068
+MISC ChangeLog 1417 RMD160 c2dd13e9836fdfa6931044f4cd25955d67490861 SHA1 323ba59d5cb276331ff8d27940b88d3a043909ba SHA256 1136a8e54e93e9fe36450aaecaa4f59686b0ddde1baae156b1b4a6be8699a2ac
 MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003