summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-01-30 14:02:01 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-01-30 14:02:01 +0100
commit57f00ea4b45823e1a58ca5a2b2627e7e1e51aa27 (patch)
tree4df8e2a9513e47a3f52517d8e16e33eb829b9097 /dev-java/netbeans-nb
parentnetbeans: bumped to the latest nightly sources (diff)
downloadfordfrog-57f00ea4b45823e1a58ca5a2b2627e7e1e51aa27.tar.gz
fordfrog-57f00ea4b45823e1a58ca5a2b2627e7e1e51aa27.tar.bz2
fordfrog-57f00ea4b45823e1a58ca5a2b2627e7e1e51aa27.zip
netbeans: bumped to the latest nightly sources
Package-Manager: Portage-2.3.21, Repoman-2.3.6 RepoMan-Options: --force
Diffstat (limited to 'dev-java/netbeans-nb')
-rw-r--r--dev-java/netbeans-nb/Manifest2
-rw-r--r--dev-java/netbeans-nb/netbeans-nb-9999_p20180130.ebuild114
2 files changed, 116 insertions, 0 deletions
diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
index 0a5ad21b5..79af54955 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -18,6 +18,7 @@ DIST netbeans-trunk-nightly-201801240002-src.zip 221062529 BLAKE2B aeaac36f7173c
DIST netbeans-trunk-nightly-201801250002-src.zip 221062529 BLAKE2B af6bfc832d8014819d1c1ece3690f9e38d42745df3fe901a46914080dbbb7d549fb54d9cfffbed0ebebf2858c4d0b83f6b7dea8edc70aad220292b23d2b29130 SHA512 cdb71b39a7aeace5050f61209843e4e870ecf06b8a382ebe54bd8ee6d488ccdf793e0569211655b49db546adae50314b9ece026b4167daf3877813c9e07b1bd6
DIST netbeans-trunk-nightly-201801260002-src.zip 221062529 BLAKE2B ebeae4936351a3508d2a3c031214d8d9d0e1065e08af92ac7ccafb2ba75f04634987b645cbf78ac20d61bd01290f0c5f444bb343fcffecaf84ad29f325a6daca SHA512 8355786ec3348aa8e6f2b18654a13768b3bcdfc3ee8003c903093713294f92346a8578f6fb2d7078c1476035f83daab2f7721f4c5588c0d032e0d7236023a140
DIST netbeans-trunk-nightly-201801290002-src.zip 221062529 BLAKE2B c76d6d5d336a304edfef417fdefee0f11c6d0c202beb607e14df1c8935930db4635fcd3365c1492ca591985faaeb847196bceed6a9854e2c77f868cc17822331 SHA512 8da3854ed5352e7ab33fb29aef5ea1bdceb8499a25843412ac56d7449f57256d4fc4f792a461f25822cd752979ea20c497154968a5d46a01753c55ba04afd6d6
+DIST netbeans-trunk-nightly-201801300002-src.zip 221062529 BLAKE2B cc86f608c791fb033f7d80b08208497e9d796fcde958247daa14d0bdf7f9f7212f53937e35b707ba78b21473ea09007a55a56ac6ef0adbe87a12f9ded1955feb SHA512 bc35e1b4c88702fef64910824b9789b6b026f97736a8e545eeae34f6488337f4b7ef4777c922a53d784aa22c97f748628ae46497d54a919a155d3059023bef71
EBUILD netbeans-nb-9999_p20180102.ebuild 3786 BLAKE2B 72c74a79ddb763455094f040b8cde34a64128a984b290d609238a78b6cb96b6828f748ee58672f34d46bd1c1a9b0296d90be0f44beac3b774ea06bb78190838a SHA512 661b12deee4b3b75a1f3bdd53614b648ee5cb3e6b17f3c0b63c75478208b9336f3e0c068e3daa6e3f4c4d0b435c35fd3bb6333e7ef9f84c391d70d06db1447fe
EBUILD netbeans-nb-9999_p20180104.ebuild 3786 BLAKE2B 62e92517bf10f2228e80fe1fd55b607572e2ab096aef1293e1ea4f9705156361b6b333dec323b29e63e90cedb0ee271f22dfe1f2a97efcf95b63ee17ed74d86c SHA512 301308f59605dd83374a69f94cfe27fc21c72ad49f744095120cc59e67b3a48f244939c59b0c22c9be1b91a307a480eda3250dc1b0d08cce4c015ea7d7cc80df
EBUILD netbeans-nb-9999_p20180105.ebuild 3786 BLAKE2B 1730414f857c29ea97a865f626dd027651a7642d1f8837e61b75fe55f861c615c57ec85e96140a1b9add0d766cdf87bd8b2917800f9a217a32a04fd448ae3ca8 SHA512 21fd4dfa1b8fbe2f7e1befd34fcbaf09b2dfa2e0cef2f892d469b0fcc38eab4c74edc33155e2d30fcb1ee5d4b771193277144d51db36fce08d11c201f0a0dfe3
@@ -34,4 +35,5 @@ EBUILD netbeans-nb-9999_p20180124.ebuild 3786 BLAKE2B 7e88c90fd73e631eb7ca1a5759
EBUILD netbeans-nb-9999_p20180125.ebuild 3786 BLAKE2B 6b75a266a241ce731448c9304e9faa7256de0e494242123def4545cc50f53663fd27bebe299cc978869c01680800bc93679f0f6c366ef80ad94b5ed64ca4532d SHA512 9a88d80d0dee93c75f4904e1178e333b520155e17b748c9894dd3028fe112384f8b57bf82c1dc44dbd05e952dec64f5c8059f3ebd0f6d05f946131ee8fba02e6
EBUILD netbeans-nb-9999_p20180126.ebuild 3786 BLAKE2B 4ab968c310f1959318c75c8cc7338211aa4598ad2a8d3b4325345e2be6804a2271f26b2311a196da4251cc99874a07601324d651f07a26259016d867a54302ca SHA512 b092dbe42af1607dcf665afc50aaeb1dabfaf3df50c973384ac72769099592ceffd781c9616628708502a281de2b440b824224de305d4eb044bc969c897f3bd4
EBUILD netbeans-nb-9999_p20180129.ebuild 3786 BLAKE2B 75e6f67ea036c8d37fef5a5a2400bc409420526c32a41a9936af254e2116d050fa287b2ed49897e8f1382ddd34624018cc4c0245df0fb553d3c24f7d1f0a11a1 SHA512 552fac0216e48b8ff8e6886465d1814eac223a43fca7169be9a27169f9cf86d552e617eb9e61459a529e3f627f860d4c793e50703c33260840327adcb21c2d60
+EBUILD netbeans-nb-9999_p20180130.ebuild 3786 BLAKE2B b2b609557d228b45f63393a86940d91914cdebb42f837fa550aad704f54ecc0a51fc1c5fbacad0b93f7cac511bba841d9576d7cbaf7031642dc545aaf974825c SHA512 b3680339b6d5c9f4362a831bc9ae0e7b13ea924858add6b54543b4b408d4c4cac7e418582bbd5da256dca259e3cc6d79c6f48e5377a387698eaa02a535d81149
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20180130.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20180130.ebuild
new file mode 100644
index 000000000..5aa3029ad
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20180130.ebuild
@@ -0,0 +1,114 @@
+# 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 IDE Branding"
+HOMEPAGE="https://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-01-30_00-02-34/zip/netbeans-trunk-nightly-201801300002-src.zip"
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.0.png"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${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 create-netbeans-import finish-build"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.nb -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-9999-r21-build.xml.patch.bz2
+}
+
+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-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-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.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
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans >/dev/null || die
+
+ insinto ${INSTALL_DIR}/nb
+
+ grep -E "/nb$" moduleCluster.properties > "${D}"/${INSTALL_DIR}/nb/moduleCluster.properties || die
+
+ insinto ${INSTALL_DIR}
+ doins -r nb
+ dodoc *.txt
+ dohtml *.html *.css
+
+ insinto ${INSTALL_DIR}/bin
+ doins bin/netbeans
+ dosym ${INSTALL_DIR}/bin/netbeans /usr/bin/netbeans-${SLOT}
+ fperms 755 ${INSTALL_DIR}/bin/netbeans
+
+ insinto /etc/netbeans-${SLOT}
+ doins etc/*
+ dosym /etc/netbeans-${SLOT} ${INSTALL_DIR}/etc
+
+ # fix paths per bug# 163483
+ if [[ -e "${D}"/${INSTALL_DIR}/bin/netbeans ]]; then
+ sed -i -e "s:\"\$progdir\"/../etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+ sed -i -e "s:\"\${userdir}\"/etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+ fi
+
+ dodir /usr/share/icons/hicolor/32x32/apps
+ dosym ${INSTALL_DIR}/nb/netbeans.png /usr/share/icons/hicolor/32x32/apps/netbeans-${SLOT}.png
+ dodir /usr/share/icons/hicolor/128x128/apps
+ cp "${DISTDIR}"/netbeans-7.0.png "${D}"/usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png || die
+ dosym /usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png /usr/share/pixmaps/netbeans-${SLOT}.png
+
+ popd >/dev/null || die
+
+ make_desktop_entry netbeans-${SLOT} "Netbeans ${PV}" netbeans-${SLOT} Development
+
+ mkdir -p "${D}"/${INSTALL_DIR}/nb/config || die
+ echo "NBGNT" > "${D}"/${INSTALL_DIR}/nb/config/productid || die
+}