diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/netbeans-ergonomics |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/netbeans-ergonomics')
-rw-r--r-- | dev-java/netbeans-ergonomics/Manifest | 12 | ||||
-rw-r--r-- | dev-java/netbeans-ergonomics/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/netbeans-ergonomics/netbeans-ergonomics-8.0.2.ebuild | 100 | ||||
-rw-r--r-- | dev-java/netbeans-ergonomics/netbeans-ergonomics-8.1.ebuild | 100 | ||||
-rw-r--r-- | dev-java/netbeans-ergonomics/netbeans-ergonomics-8.2.ebuild | 87 |
5 files changed, 311 insertions, 0 deletions
diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest new file mode 100644 index 000000000000..9640097b691c --- /dev/null +++ b/dev-java/netbeans-ergonomics/Manifest @@ -0,0 +1,12 @@ +DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516 +DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff +DIST netbeans-8.1-201510222201-src.zip 208692973 SHA256 e8dd9b73304bc7e546150629f7555624b405e8a7af2cd5d616e7a91a0655f463 SHA512 c3ed9e8c9444b1685e3ed7e1a2525d8be43953994aebed962d39f8eae35b6ab0dcab0093b7eeb287e3c74e0620ceded1956ef93205837bb7749db49f53c1c285 WHIRLPOOL 7ff7c3441dbc8f1ebd6f5441c8371ef0ef392f45eef65e06efec3201f417e228fb32879df83ec23ae61898840eadcde43caa66d54182bf3aae2f44c683916268 +DIST netbeans-8.1-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509 +DIST netbeans-8.2-201609300101-src.zip 217356974 SHA256 5a7141176fe655807f04bdde12073116a77c1844e4ca7a071d95930b7cd7d5ac SHA512 d0499489dcd9383f719209997fd5518ea93ad5c2f727005f074a351a4adc7f8708ebff972a4bff4572e2ba9237b14c7a24b7fb1f89100e33012e14404f0336e7 WHIRLPOOL 378db0807a616205fee2623f1c1ada6284ecfc85badb06d68e56e91fbedbc4f73af3ce6e4e8eb8bdb9504d15cf20cdc2a30d5f9cad0c72329791f1a53803ca0e +DIST netbeans-8.2-build.xml.patch.bz2 2678 SHA256 d0b395111c04e82aeae2bf99eea17fb5b3275dab92939164602ad27569d73cb2 SHA512 a287681acc0771445f9389b22ca6fd855393c0b9e8885680d13c9157aa37b215162aac6f958d0831dc64a55fc21a391fdee13c3ab9a97ad416929c6a4710b619 WHIRLPOOL 0807ec60843a7e3a232fed52c91303ef47693fcdd364d5e12f2507ea6f073df4b18b0708efc92cce93580d4963cbefb85fa0c3962363542687bdc1e5e73bbb6c +EBUILD netbeans-ergonomics-8.0.2.ebuild 2837 SHA256 de8867487b517a65de2ef80aa531c41ecc2298eabb5714dcb9675e958d084f23 SHA512 389cf895d6b09ad3a1797aaea255340f7c4ee866660699a0350bf99135861b3cea83ba0d46fb8ee48c9269b1723d9043666a9e4b2273d68990f8574bd07bb240 WHIRLPOOL 2a79069b9410e4f3f5c64fe33dce3a88c02c30b4840f98147e0984725b984bd372d4300c25edd9ad4cfb44b70075c161766fe7a3d33e7a6fac25b8924c5d6f62 +EBUILD netbeans-ergonomics-8.1.ebuild 2863 SHA256 0f3704373f717678f3dada9964931c7a9f01ffc22cc6fc69c7f284e2d54ba8c7 SHA512 ce52423fcc9bb0521474f9b10cda240d721e9d89a6f16314d99cbd599a09f8303ff1f460a0b01e64f14ed9fa3348fcdb75ee7d724bd17ebcd9d7ffb7eb4890a1 WHIRLPOOL 194f04ba6f90d0eba8e08b1cf97e4ef1c3b54b11b6039a17595cf1ad275f3afdd2856d20d6af911edd32cc253d996d24798fec34e4d77a5e8ee42d5123ac0425 +EBUILD netbeans-ergonomics-8.2.ebuild 2539 SHA256 cd38fc292986748ceb25d8958fd65fa519d8abaf6bac1d8b9f27641f3fb5b646 SHA512 23405528f0aa14e982dbd08a8aefc4b9ba4b865fe2f63bb38c95319597151231a1f9bd9e25937026b794dc2472141755db2c43d558425f86c2f3ba52ae373ada WHIRLPOOL 07468d8bc9ea7e26c9498f22e2f6fbc0a7f24256998c59d7342ac0f70766a4574640acb1e4ec80ea68c5509b9f4f72e037e85eb236d422471d4e2c23818d684f +MISC ChangeLog 3571 SHA256 6f8f6a10bf145cb02b8f571bd03582cc0902b6e81f1cb1c649fe378062d8a8bf SHA512 5795f53489d75b950ca01daeca04e86118472fff493bae0c275575be1e82474521366344bfdb1d2ccceb269c913a0dce0619e9ef68ab54c1326b458e560fb6d5 WHIRLPOOL 91624008e35ddc7aab6e1428975a56addf6fb508e6fc0222f608097a0bd817fcba121a14c563dc5bdddfa11a28957afbc6faa40ce7f37711b32d61551b530e29 +MISC ChangeLog-2015 4031 SHA256 cbd5e8eefe9e40be9c1e9625a36e056936bd3295e066e7de152b0023434bb645 SHA512 4c078eb208f7ae793fe6301aa9d59e9b8067a08b74407203d2b61099bcc87887ea4a6cd002baa936139b92fd528f23a2951b0ce4b5fdb09429f4f098ee4a02ff WHIRLPOOL 2e9612205a00033659bae7ab8de010b3302c1ab3a44548b0f45165bd59fc1c6c13ff1d3db0dfa83d986f623a8ed9d8bc2b2086d676a6b9060a1da0fa507a9dbf +MISC metadata.xml 342 SHA256 d73bf5e0c12eca1d883dda7c037ccb446d7e565175670ab04916763366b8ba07 SHA512 6bac4f54bded8acf009eadd47ecc2dbd4fa644fa5d590da30e442489313735dfd8a3f96d1621aea82e2bb820d1c0bf14bd7b276542f767cc321aaed20f4e57e3 WHIRLPOOL e6001c31ba2e7edad63d08ec6854b13fe9dcb73a2fde7715f13fc83a4eba943444ef0343c632facb9a0e4d5d74f05371e08c8b32f5893171fa85dc95b6bc36e6 diff --git a/dev-java/netbeans-ergonomics/metadata.xml b/dev-java/netbeans-ergonomics/metadata.xml new file mode 100644 index 000000000000..85f4d904aad0 --- /dev/null +++ b/dev-java/netbeans-ergonomics/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>fordfrog@gentoo.org</email> + <name>Miroslav Ć ulc</name> +</maintainer> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +</pkgmetadata> diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.0.2.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.0.2.ebuild new file mode 100644 index 000000000000..fae2cb560c58 --- /dev/null +++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.0.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Ergonomics Cluster" +HOMEPAGE="http://netbeans.org/" +SLOT="8.0" +SOURCE_URL="http://download.netbeans.org/netbeans/8.0.2/final/zip/netbeans-8.0.2-201411181905-src.zip" +SRC_URI="${SOURCE_URL} + https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.0.2-build.xml.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-classpath-exception )" +KEYWORDS="amd64 x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-nb-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND="virtual/jdk:1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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.ergonomics -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-8.0.2-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-8.0.2-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS80_PATCHES_DIR}" -a -d "${NETBEANS80_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS80_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-nb-${SLOT}/nb nb || die + cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.nb.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/ergonomics >/dev/null || die + + insinto ${INSTALL_DIR} + + grep -E "/ergonomics$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ergonomics +} diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.1.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.1.ebuild new file mode 100644 index 000000000000..9293c5089699 --- /dev/null +++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Ergonomics Cluster" +HOMEPAGE="http://netbeans.org/" +SLOT="8.1" +SOURCE_URL="http://download.netbeans.org/netbeans/8.1/final/zip/netbeans-8.1-201510222201-src.zip" +SRC_URI="${SOURCE_URL} + https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.1-build.xml.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-classpath-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-nb-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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.ergonomics -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=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-8.1-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-8.1-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-nb-${SLOT}/nb nb || die + cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.nb.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/ergonomics >/dev/null || die + + insinto ${INSTALL_DIR} + + grep -E "/ergonomics$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ergonomics +} diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.2.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.2.ebuild new file mode 100644 index 000000000000..865d19cbb6dd --- /dev/null +++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-8.2.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Ergonomics Cluster" +HOMEPAGE="http://netbeans.org/" +SLOT="8.2" +SOURCE_URL="http://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip" +SRC_URI="${SOURCE_URL} + https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="virtual/jdk:1.8 + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-nb-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND="${CDEPEND} + app-arch/unzip + dev-java/javahelp:0" +RDEPEND="${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.ergonomics -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=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-8.2-build.xml.patch.bz2 +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-8.2-build.xml.patch + + 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-nb-${SLOT}/nb nb || die + cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.nb.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 + default +} + +src_install() { + pushd nbbuild/netbeans/ergonomics >/dev/null || die + + insinto ${INSTALL_DIR} + + grep -E "/ergonomics$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ergonomics +} |