summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-03-30 09:54:40 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-03-30 09:54:40 +0000
commit22bf9545544385bde26df9034994839923cdf948 (patch)
tree84d202041fc2bbac99b819c91632595ce7886446 /dev-java
parentdev-java/netbeans-platform: added new ebuild (diff)
downloadhistorical-22bf9545544385bde26df9034994839923cdf948.tar.gz
historical-22bf9545544385bde26df9034994839923cdf948.tar.bz2
historical-22bf9545544385bde26df9034994839923cdf948.zip
dev-java/netbeans-harness: new ebuild
Package-Manager: portage-2.1.9.45/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/netbeans-harness/ChangeLog10
-rw-r--r--dev-java/netbeans-harness/metadata.xml9
-rw-r--r--dev-java/netbeans-harness/netbeans-harness-7.0_rc1.ebuild114
-rw-r--r--dev-java/netbeans-java/Manifest25
4 files changed, 158 insertions, 0 deletions
diff --git a/dev-java/netbeans-harness/ChangeLog b/dev-java/netbeans-harness/ChangeLog
new file mode 100644
index 000000000000..8c91e2de8a23
--- /dev/null
+++ b/dev-java/netbeans-harness/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/netbeans-harness
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-harness/ChangeLog,v 1.1 2011/03/30 09:54:40 fordfrog Exp $
+
+*netbeans-harness-7.0_rc1 (30 Mar 2011)
+
+ 30 Mar 2011; Miroslav Šulc <fordfrog@gentoo.org>
+ +netbeans-harness-7.0_rc1.ebuild, +metadata.xml:
+ Added new ebuild
+
diff --git a/dev-java/netbeans-harness/metadata.xml b/dev-java/netbeans-harness/metadata.xml
new file mode 100644
index 000000000000..a735655e737f
--- /dev/null
+++ b/dev-java/netbeans-harness/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<maintainer>
+ <email>fordfrog@gentoo.org</email>
+ <name>Miroslav Šulc</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-java/netbeans-harness/netbeans-harness-7.0_rc1.ebuild b/dev-java/netbeans-harness/netbeans-harness-7.0_rc1.ebuild
new file mode 100644
index 000000000000..2333fe92e73f
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-7.0_rc1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-harness/netbeans-harness-7.0_rc1.ebuild,v 1.1 2011/03/30 09:54:40 fordfrog Exp $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Harness"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="7.0"
+SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.0/rc1/zip/netbeans-7.0rc1-201103280000-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml-r1.patch.bz2
+ http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+ http://hg.netbeans.org/binaries/418FC62C8A6EF5311987B01FE389B1F88EFDDCA2-jemmy-2.3.0.0.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+ dev-java/javahelp:0"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ >=dev-java/junit-4.4:4"
+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.harness -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
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar apisupport.harness/external/bindex-2.2.jar || die
+ ln -s "${DISTDIR}"/418FC62C8A6EF5311987B01FE389B1F88EFDDCA2-jemmy-2.3.0.0.jar jemmy/external/jemmy-2.3.0.0.jar || die
+ popd >/dev/null || die
+}
+
+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 --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
+ java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.8.2.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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/harness >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/harness$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ fperms 755 launchers/app.sh
+ find "${D}" -name "*.exe" -type f -delete
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/antlib
+ pushd "${D}"/${instdir} >/dev/null || die
+ # bindex-2.2.jar
+ rm jsearch-2.0_05.jar && dosym /usr/share/javahelp/lib/jsearch.jar ${instdir}/jsearch-2.0_05.jar || die
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ # jemmy-2.3.0.0.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/harness
+}
diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
new file mode 100644
index 000000000000..8688a275e5e6
--- /dev/null
+++ b/dev-java/netbeans-java/Manifest
@@ -0,0 +1,25 @@
+DIST 03D05A90FFB98D4E5748AE96C99AE549224C1ABC-javac-api-nb-7.0-b07.jar 130332 RMD160 4ac3280447b88ef04536ecde9b64421ece4c2290 SHA1 03d05a90ffb98d4e5748ae96c99ae549224c1abc SHA256 1572aa5dcb8959c4ba8767d12528e1e9115fe04325df84a6baa83b0aa31ea241
+DIST 23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip 73250 RMD160 184ee3c12bf4d7af85dbc2a2467207253a680c9e SHA1 23e69f0f17757673c573ebd9899727b82ef7db7f SHA256 5682250c4b676401aac7434fb402fc740a41932dd8f85b5b4a68fb8b02d620c9
+DIST 263D76EEB2FA35AE240DE31CFDE83C04096AE19E-eclipselink-jpa-modelgen-2.2.0.jar 11516 RMD160 2798263ff681085fa9abd96e48e6c9209f35782a SHA1 263d76eeb2fa35ae240de31cfde83c04096ae19e SHA256 b0423ec165cd14f378fb1a929dc671d1360eb1183a596de583b5c3366b772b8e
+DIST 2D0D28E05BD6B6452DAAFE2B5CCB69A84EA63E5D-spring-2.5.6.SEC01.jar 2949032 RMD160 e35ca67d033bd5eb89d837ad85b3cc64ed5a62d1 SHA1 2d0d28e05bd6b6452daafe2b5ccb69a84ea63e5d SHA256 246e5a55e92a3b4bcada2e3793b33fd460331beacf8d385ef0ffffe9318e494c
+DIST 2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip 3195366 RMD160 e22b38e780109218951d16065193c0d8fd3809f5 SHA1 2f43a634a42cc4fd2ef9e24b488affd6984d3411 SHA256 5e7ed2618a8e9278ac2caeb5d0f46b95df6f59277b7b51b1976dbb74820d25d1
+DIST 3AF24D401F76D153B77641865737DE53E41E60D6-indexer-artifact-4.0.0.jar 26720 RMD160 21715cceaad884c9ec3e38b5e440ab1c33fd6914 SHA1 3af24d401f76d153b77641865737de53e41e60d6 SHA256 ec1cf79857e57e9ba986389e9b1e404c35316e08be9a88b90224d3df04c0781a
+DIST 3BCA561B1B7B284B3D3C097F92A9CD47FF485058-eclipselink-javax.persistence-2.0.jar 126856 RMD160 edc878d500477c53aad1ad637ca2dc35b701cd2d SHA1 3bca561b1b7b284b3d3c097f92a9cd47ff485058 SHA256 28a500f9150a9b7ce76179d0ec13a7227032c4997d226e5685550ae2c2e54393
+DIST 4721463A87B9DBD165254C73E64D824AD748DA18-javac-impl-nb-7.0-b07.jar 1671799 RMD160 4e50163b0d8685922fe05123343f1147be8141f9 SHA1 4721463a87b9dbd165254c73e64d824ad748da18 SHA256 bb5cc2eb396b391499e5016ccd3dbeac6da286a86c05a9b30f672fd22d4a3d93
+DIST 59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar 2286677 RMD160 7f14647470dadbde4ecb7b1f4278fd4d2e2a5ad4 SHA1 59fad2a4d4a1cfeced8149854eeec3a7b9668927 SHA256 763aeee3fceaed696f61bf14f922ea9c6abaa0af2afce2ec586efec32e677074
+DIST 653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar 34559 RMD160 2f9b657dfb6eb672ee33811df3183bba84d8ef59 SHA1 653a6ad1ef786bc577fc20f56e5f2b1d30423805 SHA256 dbb8c53ccc0b16a9dd8370d6e7de63102468caedac1e5fa2eb418319a6875293
+DIST 8C9BFFBCB34DB6E9C9C03413623F05375D44CE49-eclipselink-2.2.0.jar 6383304 RMD160 f0cfb0a017dfafaf6f17b1475aa3c7e01417e2c6 SHA1 8c9bffbcb34db6e9c9c03413623f05375d44ce49 SHA256 b2e19c48066648bb30f7e1763d3049c1537b4816bb385e3dd47157bc11077963
+DIST 8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip 266314 RMD160 feca5ad347e36ccf532bcc7fc21a67a5ec115699 SHA1 8ecd169e9e308c258287e4f28b03b6d6f1e55f47 SHA256 36c3189a2d495bc713bfeac0eaf05612fe90d8df6c3c20d943bea38d290cd375
+DIST 907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar 2284306 RMD160 ee5935c7e43a60a453bef9bebe7068c20f481a25 SHA1 907363e301e2279930c82beb466bf2053c6e993b SHA256 4284a90a28993a18379c5b682eb63a77e6eb2911b5c1f2a60aace19b4938c91b
+DIST A511890049A6A9B8D675F4417721337580CBD2F9-apache-maven-3.0.3-bin.zip 3076808 RMD160 5c05105359edcd9f603ce6cca7af6e755be83ca3 SHA1 a511890049a6a9b8d675f4417721337580cbd2f9 SHA256 39d928daced5072063fa3b9da3b6826ea2f52c4aa9082109eff9847fc1a442f1
+DIST B456600D274B835E1E7DDB16FD843DDAB2ED3EF1-appframework-1.0.3-doc.zip 301845 RMD160 170bbc400e7001567a6f0aec9394c04ab6f1ec37 SHA1 b456600d274b835e1e7ddb16fd843ddab2ed3ef1 SHA256 0667f86903d97f78ec1022ef1f31a173990bf69b3f882f95e11ea2bf968ec7d0
+DIST C537EAEE0EB142BB8F7AB6AFF340D79913997DD9-indexer-core-4.0.0.MINDEXER-12+MINDEXER-13.jar 211897 RMD160 b470616abd8cf91c694aff1c71cfe50ed6a8a570 SHA1 c537eaee0eb142bb8f7ab6aff340d79913997dd9 SHA256 8845a4582ded27cb07c0a52e00d6888a6f250e33d56dcd0dc0c2728757f57ced
+DIST C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip 5029407 RMD160 546dd5f8c9039925e89e76655265e6105658951d SHA1 c8a5e0d558ea7e7349f9d32b838553d5e7dd214f SHA256 7492417ca97835935912d931f9c2a1c9d98fc35fab455d086fd11f7ff663acb8
+DIST D88A41174C5F85D1B791D6A8E0F8B8A1C459D6C0-spring-framework-3.0.2.RELEASE.zip 4054621 RMD160 8d410595e912d2a8d30a0bdfbdf83413692a4269 SHA1 d88a41174c5f85d1b791d6a8e0f8b8a1c459d6c0 SHA256 5901b2a23c80f2669016697aadf27fefd8350fdd5cc876f8e979d5aac92a857e
+DIST F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip 930828 RMD160 7034dd5c48bcf6e44a1de417206f799c942b9f11 SHA1 f7bd95641780c2aae8cb9bed1686441a1ce5e749 SHA256 5f41fe1ef8a7607bafbc04baa7814aecaf72b90a6fa796adec0846f50f8ac7f0
+DIST FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip 2141252 RMD160 97e4e22e7d9a1c9731bac89252399a560d9c3dbf SHA1 ff23dbb427d09aaec3998b50d740c42b6a3fcd61 SHA256 4dea45582ff69620a906347fc1b085bb1cffb75e215cb55ec74181ae240a5be4
+DIST netbeans-7.0-build.xml-r1.patch.bz2 1344 RMD160 f8f092c93c1197ce759afbd8674ff1216d504d2d SHA1 6324909cc2dfae583f38e3544a38d1058c73a7ec SHA256 f323cb4694f6351fe47b76fa8b8b3e3f8e456e7d45ca76f9b88c5c6b90cc103f
+DIST netbeans-7.0rc1-201103280000-src.zip 175475363 RMD160 e5fe3ff726404ea8357a7cc7a383e6b8a06dd316 SHA1 df109f98c07bf01b862e59c68bbee76aae6c01df SHA256 fac906f9bdfd740b55758cf171a367702f78f7423cbae70add5a4d1b4669312e
+EBUILD netbeans-java-7.0_rc1.ebuild 15007 RMD160 ff17d7f031ad30aad915e7a72f59d58d1fd14374 SHA1 8828ff5c636b1c537ae960609851d5d6e02e165f SHA256 3698f5cdd37c363e2b6f3084134c3c788f10f01c61d338a3a4dc71f73f2719b6
+MISC ChangeLog 377 RMD160 0ed4251a202af1513d54606f6bb34da87496b8de SHA1 0702b891f8036abb873e5d6aa97621008cf8248e SHA256 714a041e6a40c5262fe8885952d811424ef7b176ac8444448ba8f65ad3b8082f
+MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003