summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2012-01-06 17:36:02 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2012-01-06 17:36:02 +0000
commit160fd0875e87b6940a10508efc6027db59c617b0 (patch)
tree3b5f4dc06800ab1b4527aa0c9fa71b291507ddf8
parentStable for ppc/ppc64; bug #382455 (diff)
downloadhistorical-160fd0875e87b6940a10508efc6027db59c617b0.tar.gz
historical-160fd0875e87b6940a10508efc6027db59c617b0.tar.bz2
historical-160fd0875e87b6940a10508efc6027db59c617b0.zip
dev-java/netbeans-mobility: version bump
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
-rw-r--r--dev-java/netbeans-mobility/ChangeLog10
-rw-r--r--dev-java/netbeans-mobility/Manifest6
-rw-r--r--dev-java/netbeans-mobility/netbeans-mobility-7.1.ebuild175
3 files changed, 188 insertions, 3 deletions
diff --git a/dev-java/netbeans-mobility/ChangeLog b/dev-java/netbeans-mobility/ChangeLog
index b0aea893ab56..de603aa998c3 100644
--- a/dev-java/netbeans-mobility/ChangeLog
+++ b/dev-java/netbeans-mobility/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/netbeans-mobility
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-mobility/ChangeLog,v 1.7 2011/10/25 00:16:18 fordfrog Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-mobility/ChangeLog,v 1.8 2012/01/06 17:36:02 fordfrog Exp $
+
+*netbeans-mobility-7.1 (06 Jan 2012)
+
+ 06 Jan 2012; Miroslav Šulc <fordfrog@gentoo.org>
+ +netbeans-mobility-7.1.ebuild:
+ Version bump
25 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org>
netbeans-mobility-7.0.1.ebuild:
diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 0c1ced5b5015..ce695d37492c 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -5,9 +5,13 @@ DIST 793B8D020D81284E0B67FB635C17026121F06433-RicohAntTasks-2.0.jar 34879 RMD160
DIST BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar 17955 RMD160 b9c067e93c28f9517accd051d5adaa59a5a449ec SHA1 bd84f1a4c0789070cc62a8d2dba75121a57c069c SHA256 1f29e07f6693ed09484fe4f95ace3adf40b41982bbbc2c0dd31c72c1b1e61c7b
DIST CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar 49538 RMD160 4e201cb8eeb62cd530afbf68c6944ff630653ef5 SHA1 cef99941e945d543df0711f2c6aef765b50f8501 SHA256 e70e5ceb94c1885f8c99af0c9930394d3724e4dc6ece0bb1783ba9a09712a20c
DIST D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar 172713 RMD160 1214a5f9e3439af251a5c8be6493c2bc862a7ab7 SHA1 d1b5ba3bfe8dcfaf08a0468f8879ef1d0e998038 SHA256 1924535a4a240581e5d6ccc38b95aefc168ca92e70198edb46bac67fba996242
+DIST D63B2CB355170F1BC8E126E43021047F94243B70-perseus-nb-1.0.1.jar 1791104 RMD160 1d5b2e78f2403819ffd605bab6dbbe229a91ef5d SHA1 d63b2cb355170f1bc8e126e43021047f94243b70 SHA256 5e770679dc895ec3c1c7c5879dbecd3bb25b47b28270e11f5aa34cfe8c9f0c8f
DIST D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar 18043 RMD160 856f168f2cb3996ba7769eb543cc4995985aef2b SHA1 d76b8334dcbdbe93297aa5c02b17d9a856e72246 SHA256 f12eb81605e0d6f5c52515545cc6899baac1fc5f6ed069408a5eb5ede8a88c88
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-mobility-7.0.1.ebuild 8776 RMD160 38391f451a41ece22d672589b3a649fb06e27be0 SHA1 0ecc56d2a92e3ee47aa909d07a5d605064654100 SHA256 a44ff4795261bea5235e42903f9a62deab549d260144132f0ca120b9155f6391
-MISC ChangeLog 1312 RMD160 0ac0287bf98a3261edb82c07640ca37b8c553ec2 SHA1 fcb85a0643e175ed594ea65b57afbf37ccf511bd SHA256 10bff4410a524edf35f85ce4324dee24ea084edef96cd09116f0db585d968407
+EBUILD netbeans-mobility-7.1.ebuild 7658 RMD160 ce686cad66da94be0822542124a8119f6176d09d SHA1 d061905ee354e5cc315edd75e6ef21958622e808 SHA256 f8272757ea0df8c40a9779b866ff67a22cf83a2f372a901bb46fc659f729e7a2
+MISC ChangeLog 1451 RMD160 aa2c6ed7b9f817d4796d33c9aa5ccc3f28cf3cd9 SHA1 a0e94538fbc13da72d038c3a4569e96814067551 SHA256 f5e73fab60a917e8fbf723c9f755bd240c72f42ba2730890ef95c774461fb13e
MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003
diff --git a/dev-java/netbeans-mobility/netbeans-mobility-7.1.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-7.1.ebuild
new file mode 100644
index 000000000000..997061d3478c
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-7.1.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-mobility/netbeans-mobility-7.1.ebuild,v 1.1 2012/01/06 17:36:02 fordfrog Exp $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Mobility Cluster"
+HOMEPAGE="http://netbeans.org/features/platform/"
+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/CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar
+ http://hg.netbeans.org/binaries/D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar
+ http://hg.netbeans.org/binaries/2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip
+ http://hg.netbeans.org/binaries/BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar
+ http://hg.netbeans.org/binaries/D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar
+ http://hg.netbeans.org/binaries/D63B2CB355170F1BC8E126E43021047F94243B70-perseus-nb-1.0.1.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-apisupport-${PV}
+ ~dev-java/netbeans-enterprise-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/ant-contrib:0
+ dev-java/commons-httpclient:3
+ dev-java/jdom:1.0"
+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.mobility -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 | grep -vE "mobility.databindingme/lib/netbeans_databindingme.*\.jar" \
+ | grep -v "vmd.components.midp/netbeans_midp_components_basic/dist/netbeans_midp_components_basic.jar" \
+ | grep -v "vmd.components.midp.pda/netbeans_midp_components_pda/dist/netbeans_midp_components_pda.jar" \
+ | grep -v "vmd.components.midp.wma/netbeans_midp_components_wma/dist/netbeans_midp_components_wma.jar" \
+ | grep -v "vmd.components.svg/nb_svg_midp_components/dist/nb_svg_midp_components.jar" | xargs rm
+
+ unpack netbeans-9999-r1-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar mobility.deployment.webdav/external/jakarta-slide-ant-webdav-2.1.jar || die
+ ln -s "${DISTDIR}"/D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar mobility.deployment.webdav/external/jakarta-slide-webdavlib-2.1.jar || die
+ ln -s "${DISTDIR}"/2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip mobility.j2meunit/external/jmunit-1.2.1-api.zip || die
+ ln -s "${DISTDIR}"/BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar mobility.j2meunit/external/jmunit4cldc10-1.2.1.jar || die
+ ln -s "${DISTDIR}"/D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar mobility.j2meunit/external/jmunit4cldc11-1.2.1.jar || die
+ ln -s "${DISTDIR}"/D63B2CB355170F1BC8E126E43021047F94243B70-perseus-nb-1.0.1.jar svg.perseus/external/perseus-nb-1.0.1.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
+ java-pkg_jar-from --into mobility.antext/external ant-contrib ant-contrib.jar ant-contrib-1.0b3.jar
+ java-pkg_jar-from --into mobility.deployment.webdav/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.0.1.jar
+ java-pkg_jar-from --into mobility.deployment.webdav/external jdom-1.0 jdom.jar jdom-1.0.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+ cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.apisupport.built
+
+ ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+ cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.enterprise.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
+
+ ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+ cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.websvccommon.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/mobility >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/mobility$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ rm -rf "${D}"/${INSTALL_DIR}/modules/lib || die
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm ant-contrib-1.0b3.jar && dosym /usr/share/ant-contrib/lib/ant-contrib.jar ${instdir}/ant-contrib-1.0b3.jar || die
+ # cdc-agui-swing-layout.jar
+ # cdc-pp-awt-layout.jar
+ rm commons-httpclient-3.0.1.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.1.jar || die
+ # jakarta-slide-ant-webdav-2.1.jar
+ # jakarta-slide-webdavlib-2.1.jar
+ rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+ # jmunit4cldc10-1.2.1.jar
+ # jmunit4cldc11-1.2.1.jar
+ # nbactivesync-5.0.jar
+ # nb_svg_midp_components.jar
+ # netbeans_databindingme.jar
+ # netbeans_databindingme_pim.jar
+ # netbeans_databindingme_svg.jar
+ # netbeans_midp_components_basic.jar
+ # netbeans_midp_components_pda.jar
+ # netbeans_midp_components_wma.jar
+ # org-netbeans-modules-deployment-deviceanywhere.jar
+ # org-netbeans-modules-j2me-cdc-platform-nsicom-probe.jar
+ # org-netbeans-modules-j2me-cdc-project.jar
+ # org-netbeans-modules-j2me-cdc-project-nokiaS80.jar
+ # org-netbeans-modules-j2me-cdc-project-ojec.jar
+ # org-netbeans-modules-j2me-cdc-project-ricoh.jar
+ # org-netbeans-modules-j2me-cdc-project-savaje.jar
+ # org-netbeans-modules-j2me-cdc-project-semc.jar
+ # org-netbeans-modules-j2me-cdc-project-sjmc.jar
+ # perseus-nb-1.0.1.jar
+ # RicohAntTasks-2.0.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/mobility
+}