diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2011-08-05 10:12:20 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2011-08-05 10:12:20 +0000 |
commit | d8b2b87e7c15b210809b6977814cb1eff569140e (patch) | |
tree | e46f8d653b7d76d9617bcfc591170e69147324c6 /dev-java/netbeans-profiler | |
parent | Version bump, thanks basti in bug #372289 (diff) | |
download | historical-d8b2b87e7c15b210809b6977814cb1eff569140e.tar.gz historical-d8b2b87e7c15b210809b6977814cb1eff569140e.tar.bz2 historical-d8b2b87e7c15b210809b6977814cb1eff569140e.zip |
dev-java/netbeans-profiler: version bump
Package-Manager: portage-2.1.10.10/cvs/Linux x86_64
Diffstat (limited to 'dev-java/netbeans-profiler')
-rw-r--r-- | dev-java/netbeans-profiler/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/netbeans-profiler/Manifest | 4 | ||||
-rw-r--r-- | dev-java/netbeans-profiler/netbeans-profiler-7.0.1.ebuild | 113 |
3 files changed, 123 insertions, 2 deletions
diff --git a/dev-java/netbeans-profiler/ChangeLog b/dev-java/netbeans-profiler/ChangeLog index 6df5510948b4..f4cdcbd586f4 100644 --- a/dev-java/netbeans-profiler/ChangeLog +++ b/dev-java/netbeans-profiler/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/netbeans-profiler # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-profiler/ChangeLog,v 1.3 2011/04/21 10:35:31 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-profiler/ChangeLog,v 1.4 2011/08/05 10:12:20 fordfrog Exp $ + +*netbeans-profiler-7.0.1 (05 Aug 2011) + + 05 Aug 2011; Miroslav Šulc <fordfrog@gentoo.org> + +netbeans-profiler-7.0.1.ebuild: + Version bump *netbeans-profiler-7.0 (21 Apr 2011) diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest index aab2843a8a1d..ad6735bed93f 100644 --- a/dev-java/netbeans-profiler/Manifest +++ b/dev-java/netbeans-profiler/Manifest @@ -1,5 +1,7 @@ DIST netbeans-7.0-201104080000-src.zip 175465212 RMD160 78a98cb97447e29d5867f79e25a481c2bc3c9a58 SHA1 9d22f61b5fa38be0fe9ab8d355d03effd1ba6ff1 SHA256 e2b3a52ac56806446ed3d15b025648d186bd2410e44c36bd2851e39d7f1a9dc5 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 +EBUILD netbeans-profiler-7.0.1.ebuild 3173 RMD160 d0809667e8816d6635571835d4f09ea9c9038723 SHA1 cdef65b1481c55bf13e369851bda18893c35ed8b SHA256 1fc28f7dcac9567063c6656011260828f5ac6f91a17b58a8803c9091700069a6 EBUILD netbeans-profiler-7.0.ebuild 3167 RMD160 44306104f25e02ba4579474d6363d194e4f27c23 SHA1 6223ad9027fd5916b3f9f65b5ec2ca11d144fecd SHA256 5f9a6b91be07863fe54b8a3812c5882d5f3708905ed1c81685d7b56fd85bc69f -MISC ChangeLog 762 RMD160 ae065c13701c0688e883d566e853c002d2aeef99 SHA1 c54b8b5335123e10e621a508d55317e49678f52d SHA256 5ffdcd9672de5808291ccf0dac3671ea2a74c56238df380e81c4eedcbdc25f4b +MISC ChangeLog 905 RMD160 93d2624824f4b67ec3e8d8d5ae3917a6e12e1de3 SHA1 831a5a81e7c8512ac2d1aa915d68da56b7110121 SHA256 9676a3e9b8de0c035f43ee17fc28f967a8eb8b95306b3eb4bdbec0ca1a08b9f3 MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 diff --git a/dev-java/netbeans-profiler/netbeans-profiler-7.0.1.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-7.0.1.ebuild new file mode 100644 index 000000000000..bed71f978390 --- /dev/null +++ b/dev-java/netbeans-profiler/netbeans-profiler-7.0.1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-profiler/netbeans-profiler-7.0.1.ebuild,v 1.1 2011/08/05 10:12:20 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Profiler Cluster" +HOMEPAGE="http://netbeans.org/projects/profiler" +SLOT="7.0" +SOURCE_URL="http://download.netbeans.org/netbeans/7.0.1/final/zip/netbeans-7.0.1-201107282000-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml-r1.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~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.profiler -Dext.binaries.downloaded=true" +JAVA_PKG_BSFIX="off" + +src_unpack() { + unpack $(basename ${SOURCE_URL}) + + einfo "Deleting bundled jars..." + find -name "*.jar" -type f -delete + + unpack netbeans-7.0-build.xml-r1.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-7.0-build.xml-r1.patch + + # Support for custom patches + if [ -n "${NETBEANS70_PATCHES_DIR}" -a -d "${NETBEANS70_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS70_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-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/profiler >/dev/null || die + + insinto ${INSTALL_DIR} + + grep -E "/profiler$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + + for file in lib/deployed/cvm/linux/*.so ; do + fperms 755 ${file} + done + + for file in lib/deployed/jdk*/linux*/*.so ; do + fperms 755 ${file} + done + + for file in remote-pack-defs/*.sh ; do + fperms 755 ${file} + done + + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/profiler +} |