summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-02-21 07:39:49 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-02-21 07:39:49 +0100
commit3fe52bd66e542c88bfbca12a57bd555438cd48fc (patch)
treeff4452024e72655d52daec0dcb70be510550597f /dev-java/netbeans-extide
parentnetbeans: bumped to the latest nightly sources (diff)
downloadfordfrog-3fe52bd66e542c88bfbca12a57bd555438cd48fc.tar.gz
fordfrog-3fe52bd66e542c88bfbca12a57bd555438cd48fc.tar.bz2
fordfrog-3fe52bd66e542c88bfbca12a57bd555438cd48fc.zip
netbeans: bumped to the latest nightly sources
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-java/netbeans-extide')
-rw-r--r--dev-java/netbeans-extide/Manifest2
-rw-r--r--dev-java/netbeans-extide/netbeans-extide-9999_p20180221.ebuild94
2 files changed, 96 insertions, 0 deletions
diff --git a/dev-java/netbeans-extide/Manifest b/dev-java/netbeans-extide/Manifest
index a1d529304..4fd3ace29 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -22,6 +22,7 @@ DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57
DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67
DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b
DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5
+DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
EBUILD netbeans-extide-9999_p20180122.ebuild 3059 BLAKE2B 7f4918af066f8acb0a7beab351e133edfec15113eec906f294731adf5972147de00c6b577c20a4038184bec0e1b9ef77aa9a6f9598974e75d7928314b82b033f SHA512 e7d3439c1a3ae18bacc83506ce41f06ecd51b78a5e4272db42c4666a6a7e167ecf296e294e99ddc30ff0a76af4db8e9c0fe784aa0823ce2ca4c967264f1b487c
EBUILD netbeans-extide-9999_p20180123.ebuild 3059 BLAKE2B 08447e0e4d98da0dcbc570bf264a1d956a43112848100de1f5185e99078b1638433b849f8634b57eb669b341a618677dbb50b95a102ebe955327623b1b5f3990 SHA512 822b07e583620129c77b634cfe34ff2c3ffd89cd0ead22dc71e5c178d5d1af13faff0216abe8cb245fd14bbdcb7f0a6cf0799a13e3090aefd97118cc204393f8
EBUILD netbeans-extide-9999_p20180124.ebuild 3059 BLAKE2B 93e2a19e3f74a2ca79514ee2ffaa5926bed74f5171d8570159d1743f46b03b176de22778fd3b92f9bcec4c5b7f5ba0230383d25b3ab2f8aa472b660a2eaf06f1 SHA512 0e55f754a743f980b6fdd00310a9879020c798158d65fe447bfa6a1fd6b5f9235c1589dc6d79e3889e3d4061e8b0a6860d707f432c22ad081e37eb4d6e4e5337
@@ -43,4 +44,5 @@ EBUILD netbeans-extide-9999_p20180214.ebuild 3059 BLAKE2B 50eb2131362c31e9af7d18
EBUILD netbeans-extide-9999_p20180215.ebuild 3059 BLAKE2B 335bf72b35eafd059c393af0f3f890d05ff116441b100a483eb84882ea2ecb0a8875ab05286428b8219ae46b0113863379a1f3c746895c81bf346c98f15b9268 SHA512 b7a5eb1659578b6abbd8e2daf78f997fa007609dd5fa09513fe166d4a4ccbdc12bf719680cf088365a3a279edcbd6995992faa47665cfbd1029de8d2739c0df1
EBUILD netbeans-extide-9999_p20180219.ebuild 3059 BLAKE2B 87373c62218c9f7681aef0a0a3408c8db998db12dbf53434229e66f2b53fe7d8796dafaeb1c5e854c99d5338941398d52cde2b63eea0c36cf90ae2b2eeb4829e SHA512 038a0c0b11b7b5c2b49ac84bd1ec8e9325d4c34952b99cdf20693356f809b39208d98658deded0f0620b66b3597c8b3cda073b90cbe2b9ef668926d0e45633c3
EBUILD netbeans-extide-9999_p20180220.ebuild 3059 BLAKE2B ba3e4ad05a5715799e0330457fccc68c841b4398229f30a4adf3958b9351a247a0c155e0cf4ea5f111d41d0d93f03beed40d2c31b18f05496a789f5cbf7f1a51 SHA512 853566132cfdfcc3cb3e6b076f00875592220912fe95244d5d7c9ef414f21a81e329ee471eb4b90e645952fd91f6c7c7f7812bd734a646e7f6e8c265bbec7d96
+EBUILD netbeans-extide-9999_p20180221.ebuild 3059 BLAKE2B 7efaa6315cfb4630eb6af64708d4d66ba0c3e79f3cbbdf39102c479f7d81d93b07c8b76f015c2c0622302cc0ca516ff70b758f9b5a22568863d92fd7b3f6d06a SHA512 5f06a1eb54de385a5c3798ecd8517ddea567751f0eb3dea1a951e56de637e24650c95080e708153d11eab86fb1657b791920ad5b0b10f1bc49a6dbc835023631
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20180221.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20180221.ebuild
new file mode 100644
index 000000000..7349d2084
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20180221.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 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 ExtIDE Cluster"
+HOMEPAGE="https://netbeans.org/projects/ide"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-21_00-02-34/zip/netbeans-trunk-nightly-201802210002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/0B539A378C2EA52B17BD0326ECE03DF66E3A65E9-ant-libs-1.10.1.zip
+ https://hg.netbeans.org/binaries/F6E0317E5F315E395DA47E5B008D01FAA48C91FB-ant-misc-1.10.1.zip"
+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-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.extide -Dext.binaries.downloaded=true -Djava.awt.headless=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-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/0B539A378C2EA52B17BD0326ECE03DF66E3A65E9-ant-libs-1.10.1.zip o.apache.tools.ant.module/external/ant-libs-1.10.1.zip || die
+ ln -s "${DISTDIR}"/F6E0317E5F315E395DA47E5B008D01FAA48C91FB-ant-misc-1.10.1.zip o.apache.tools.ant.module/external/ant-misc-1.10.1.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-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-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_compile() {
+ unset DISPLAY
+ eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+ pushd nbbuild/netbeans/extide >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/extide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/extide
+}