summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2012-04-26 21:46:21 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2012-04-26 21:46:21 +0000
commitdadb8b77b6f4ddc0e03e153b5c5018adc4261203 (patch)
tree510c6248158e135a51168580b291cebad64e693c /dev-java
parentdev-java/netbeans-cnd: version bump in 7.1 slot (diff)
downloadhistorical-dadb8b77b6f4ddc0e03e153b5c5018adc4261203.tar.gz
historical-dadb8b77b6f4ddc0e03e153b5c5018adc4261203.tar.bz2
historical-dadb8b77b6f4ddc0e03e153b5c5018adc4261203.zip
dev-java/netbeans-dlight: version bump in 7.1 slot
Package-Manager: portage-2.1.10.57/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/netbeans-dlight/ChangeLog8
-rw-r--r--dev-java/netbeans-dlight/netbeans-dlight-7.1.2.ebuild102
-rw-r--r--dev-java/netbeans-profiler/Manifest4
3 files changed, 112 insertions, 2 deletions
diff --git a/dev-java/netbeans-dlight/ChangeLog b/dev-java/netbeans-dlight/ChangeLog
index d56ec41c0dea..42b797143590 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-dlight/ChangeLog,v 1.9 2012/03/05 14:10:15 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-dlight/ChangeLog,v 1.10 2012/04/26 21:46:21 fordfrog Exp $
+
+*netbeans-dlight-7.1.2 (26 Apr 2012)
+
+ 26 Apr 2012; Miroslav Šulc <fordfrog@gentoo.org>
+ +netbeans-dlight-7.1.2.ebuild:
+ Version bump in 7.1 slot
*netbeans-dlight-7.1.1 (05 Mar 2012)
diff --git a/dev-java/netbeans-dlight/netbeans-dlight-7.1.2.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-7.1.2.ebuild
new file mode 100644
index 000000000000..40f449e418dc
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-7.1.2.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.2.ebuild,v 1.1 2012/04/26 21:46:21 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.2/final/zip/netbeans-7.1.2-201204101705-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
+}
diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index ab44b8d65cb3..aa02c5efdc7a 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -1,8 +1,10 @@
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.1-201203012225-src.zip 172146133 RMD160 2c8f5798bab20b2f219cbe07931776191470a5e0 SHA1 a2d1b0fa5550d0071cd45f79998851fdd4516f79 SHA256 a8ff48a5837f7952cf305d70b511c4abb77d6f1639fc7de1578aac75274450d4
+DIST netbeans-7.1.2-201204101705-src.zip 172346251 RMD160 483068b4dceff3a82abd6b183c6675bf21ce7f00 SHA1 5bfb0ef3cc8ef08c2b20bddfcff91f59417f7478 SHA256 95df26a2eafdc88887a835b3abcf930fd0e72c1639c3e0bfceb9489e44c5865c
DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e
EBUILD netbeans-profiler-7.0.1.ebuild 3234 RMD160 1bab3fda7565e8429f670c5da0d604ec7cfb28a2 SHA1 0184f5a27d50a95e3fbedab43b8e248cd999a7f4 SHA256 e6d283bf01225547790f843221a2bde5b66e3edce822e7c6adf7096658903d29
EBUILD netbeans-profiler-7.1.1.ebuild 3243 RMD160 e8214242d716e44ef716656a0fbe5346a1a932a3 SHA1 a9696a2a2bf2d3348a2e9d5d7f94094d313c2fa5 SHA256 987ff9e93c165ccb965999b36cc93e1920b220add058da5e9d3e7349671878a6
-MISC ChangeLog 1487 RMD160 ac77609a7dd1193d09734b1e741b4b3c234cf686 SHA1 932322cc1797a3278a05a2b8afe2d236d8be040e SHA256 b87c0d66d47325c89c1a188246ed9e1c396380ef041aeb223850f4401297c9c6
+EBUILD netbeans-profiler-7.1.2.ebuild 3243 RMD160 fb9f69a680b90a5794cd89411757a5b9ca379cdc SHA1 bec07bbe9e7e0f9944acb97fef015bccd1170fbf SHA256 9896c5e92d2d5d004c0573b7e7d60fe7ae9e39e20f2fa89e901e476b7e3d178b
+MISC ChangeLog 1642 RMD160 16139ed325fdd91741878c0f7744950f3f22428e SHA1 afa9e065b6151ee34193e77d14baa4c5200f9f61 SHA256 0b4c0e0fc7613e28ed200c8c5e7bd29e6c8e9f2c8175825351670dfb036eaedd
MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003