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

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

index b798d2437057a61be66e737cbb47c7370b99db2f..de71385a384e79db0e409d3c709421dda662b5c4 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/netbeans-apisupport
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-apisupport/ChangeLog,v 1.7 2011/10/24 23:52:11 fordfrog Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-apisupport/ChangeLog,v 1.8 2012/01/06 11:12:41 fordfrog Exp $
+
+*netbeans-apisupport-7.1 (06 Jan 2012)
+
+  06 Jan 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-apisupport-7.1.ebuild:
+  Version bump
 
   24 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org>
   netbeans-apisupport-7.0.1.ebuild:
diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-7.1.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-7.1.ebuild
new file mode 100644 (file)
index 0000000..44868a7
--- /dev/null
@@ -0,0 +1,107 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-apisupport/netbeans-apisupport-7.1.ebuild,v 1.1 2012/01/06 11:12:41 fordfrog Exp $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans API Support Cluster"
+HOMEPAGE="http://netbeans.org/projects/apisupport"
+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-harness-${PV}
+       ~dev-java/netbeans-ide-${PV}
+       ~dev-java/netbeans-java-${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.apisupport -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-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
+}
index 6bbddc9d0096abca88c6f1eb2c64539bd2ee6ab0..b37f49743a003db85cc432696026772f49e3fa5c 100644 (file)
@@ -3,6 +3,9 @@ DIST F1AF5929CD612475CCF186F69E268F0CAAA2A90E-dtracectrl-0.1.zip 8834 RMD160 79b
 DIST F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar 2276020 RMD160 ea3e733fd709c6c6b6776d05d3e3d08a0f00f166 SHA1 f787c9b484cd7526f866c21d8925c4dace467f8a SHA256 fc563bf30d51408ee092a59cc6abe381172040954ab1654061efb8eaf67fd2ba
 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-dlight-7.0.1.ebuild 3741 RMD160 08bf10410e741519e6c5f4c7f1e3c37cdff374cd SHA1 5d0f2e3a5cb8e4f0cd105aa2ca0470aa50c097ca SHA256 7b876553512d9bac76a286d0b2dbe04694978fa4e249a10770548e62471e59df
-MISC ChangeLog 1282 RMD160 1ace3df6a2e9882fec39ae2126c8699386cf8783 SHA1 cb82829cbcb8ac5c5f3655bbbcb1e5fa206071fe SHA256 b2ce313b518d7cf6cce5f56b1ecd76ceb176b1e996bea8ff1ea8801f81630585
+EBUILD netbeans-dlight-7.1.ebuild 3046 RMD160 ec332ec3c2b505297515568f5ccb2fea76a67385 SHA1 d7bf2874943db5878f7bf87e5a97b78246bdd9ca SHA256 f553ad855e00205c7e8ce6faefc15ee49fc59f679c3a5fb34638895586fe7b4a
+MISC ChangeLog 1417 RMD160 459f1444599384b91e62d3218efdfa0c7f33df69 SHA1 a6a3a3e61c8bc5b5e907f2b9cdbd215e85ee4575 SHA256 0785aabb70ebe279c402c845b933b113b2162595b3950fc64f3e45e40bdeac07
 MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003