summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-09-08 17:58:44 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-09-08 17:58:44 +0200
commit23877fb9c5cf20554b1b7856f06326975182cdfe (patch)
tree16bca11395f32c1f09467c213a2e6474ebfb2bf7
parentdev-util/netbeans-standalone: bump to 15 (diff)
downloadfordfrog-23877fb9c5cf20554b1b7856f06326975182cdfe.tar.gz
fordfrog-23877fb9c5cf20554b1b7856f06326975182cdfe.tar.bz2
fordfrog-23877fb9c5cf20554b1b7856f06326975182cdfe.zip
dev-util/netbeans-standalone: dropped obsolete 13
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--dev-util/netbeans-standalone/Manifest2
-rw-r--r--dev-util/netbeans-standalone/netbeans-standalone-13.ebuild116
2 files changed, 0 insertions, 118 deletions
diff --git a/dev-util/netbeans-standalone/Manifest b/dev-util/netbeans-standalone/Manifest
index 0e8d4e96a..371f4ee22 100644
--- a/dev-util/netbeans-standalone/Manifest
+++ b/dev-util/netbeans-standalone/Manifest
@@ -1,8 +1,6 @@
AUX fix-private-debugger-access.patch 1621 BLAKE2B f3124edee73f31445a6093129a1de8a614991115dc5df39b794fbaad09ec64f7b7114faf4057906da4a0b5a17911e30ab774e6e49e14a3ee46dccbed13735f57 SHA512 b2fe14770733c5b9c53f18fdc5c001add901ff1b28755ae960ffb72ae6106fd930a832f2857e00e96c88f58d3339223b0321ee6474507b6c3c3b3739a807df19
-DIST netbeans-13-source.zip 143019165 BLAKE2B 36c61bad2cdaf4e8cc6b6b66e00654ca68a76b655e62d85f22f4be244cf4556241c0e5f50cf857ad6d23b59dc093a14c70955ce983ec059b49c7d34d81d3c8a9 SHA512 40776cf1962989c50c94f4a16784c2519d15100f5949e6d447ffb78b80f93a10707703824ad9f50232f380108caeff76fa4660679840ca4ee6899e8a5fc3e821
DIST netbeans-14-source.zip 144296219 BLAKE2B 2e64e78acf105c1301d8c0ca265115ed65b07a228a7b798fba72251447edfe066de40d225ae2159bbd9bafa1fa644aef4114e777f5066c70a560d1542c52439c SHA512 1e7185c469e6ddd9c5aaf3ef4860f57b3cbb43f3b9213966e19362f702f03ded0e88906b17508c5f9cb6b9c015e6be6123ba1ef6b1fb3b402cf446a0ebbedeea
DIST netbeans-15-source.zip 144491574 BLAKE2B 41b52a06eead83d0e0453f730e630c773f840199e7c34e920e18ec6d15fe43601a057c0dc92efb91da5b33b736a28af20845ac01310982be729a51c0c83764a4 SHA512 47361b9931e4ad25e75b9a47469aa76e294dfee3ae3c8ebb9c7fd2756d383fb65d8d805a5cfccb4128af37515c68b6d167dfd572e5ed905c86e1275fc0ba50eb
-EBUILD netbeans-standalone-13.ebuild 5152 BLAKE2B 5e6b71f02824a62205affadcabb5710fa06b555d50f948a2e0be3ec78eb637c26d6546166203f3a04700032ea35ddc0c4ece4e34b707ebc74b9e6d7413ba2a08 SHA512 53c461a3ef8900d4888821e08d6f06ed55335532dedd57c03c93d1d29b0b02e28c414366d3511de1ef544b7d46e663484b779dd5f465b5468010cd7d5e48285a
EBUILD netbeans-standalone-14.ebuild 5152 BLAKE2B 7949e3586a223a9bbd20c8067fa2d4e1046508b6835f4871c70a44ccfb6e202e71f5b7b12e9bc0fcf30257acf35df58cfca6718f918bd55df5c2a4728d4b8f51 SHA512 4a312c0df393c265c5d5dfd8bb32668ea3e3d6af09f3fe211ff0e550728b461d5979406c11eb07defa5f8485372dc60de130e93d567863bd0acae5e9cac05ed9
EBUILD netbeans-standalone-15.ebuild 5127 BLAKE2B 8331a269c79df7a415ebfb191b1b9c2b2dc5b7bda051a749850b5b185468ba23a497ca0f2af1dc752b9c4ae2b28c9c4807496bb563d1f82a940ab58487a82b27 SHA512 e4870aa9ffb8d1b0d6de141fb7bf5d2bb4bdaa29d6eba84fe422108e8b9e1cd6bb014e70778d4a62a8ec21ab5c10e9c642f55c18d98125f20f2d8ed923a8e1ef
EBUILD netbeans-standalone-9999.ebuild 5127 BLAKE2B 8331a269c79df7a415ebfb191b1b9c2b2dc5b7bda051a749850b5b185468ba23a497ca0f2af1dc752b9c4ae2b28c9c4807496bb563d1f82a940ab58487a82b27 SHA512 e4870aa9ffb8d1b0d6de141fb7bf5d2bb4bdaa29d6eba84fe422108e8b9e1cd6bb014e70778d4a62a8ec21ab5c10e9c642f55c18d98125f20f2d8ed923a8e1ef
diff --git a/dev-util/netbeans-standalone/netbeans-standalone-13.ebuild b/dev-util/netbeans-standalone/netbeans-standalone-13.ebuild
deleted file mode 100644
index 043e79ef1..000000000
--- a/dev-util/netbeans-standalone/netbeans-standalone-13.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ANT_TASKS="ant-apache-bsf"
-
-if [ ${PV} = "9999" ]; then
- EGIT_REPO_URI="https://github.com/apache/netbeans.git"
-else
- KEYWORDS="~amd64"
- SRC_URI="mirror://apache/netbeans/netbeans/${PV}/netbeans-${PV}-source.zip"
- S="${WORKDIR}"
-fi
-
-inherit java-pkg-2 java-ant-2 desktop xdg $([[ ${PV} = "9999" ]] && echo git-r3)
-
-DESCRIPTION="Apache Netbeans IDE"
-HOMEPAGE="https://netbeans.apache.org/"
-LICENSE="Apache-2.0"
-SLOT="$(ver_cut 1-1)"
-IUSE=""
-
-DEPEND=">=virtual/jdk-11:*"
-RDEPEND=">=virtual/jdk-11"
-BDEPEND="app-arch/unzip"
-
-JAVA_PKG_BSFIX="off"
-INSTALL_DIR=/usr/share/${PN}-${SLOT}
-
-pkg_pretend() {
- if has network-sandbox ${FEATURES}; then
- eerror
- eerror "Netbeans downloads a lot of dependencies during the build"
- eerror "process, so you need to disable network-sandbox feature"
- eerror "to make this ebuild proceed (FEATURES=-network-sandbox)."
- eerror "You can also use package.env to disable this feature"
- eerror "for the package, see:"
- eerror
- eerror " https://wiki.gentoo.org/wiki//etc/portage/package.env"
- eerror
- die "network-sandbox is enabled, disable it to proceed";
- fi
-}
-
-src_prepare() {
- default
-}
-
-src_compile() {
- eant -Dcluster.config=full -Dpermit.jdk9.builds=true -Dbinaries.cache="${S}"/.hgexternalcache || die "Failed to compile"
-}
-
-QA_PREBUILT="
- usr/share/netbeans-standalone-11/ide/bin/nativeexecution/Linux-x86_64/process_start
- usr/share/netbeans-standalone-11/ide/bin/nativeexecution/Linux-x86_64/stat
- usr/share/netbeans-standalone-11/ide/bin/nativeexecution/Linux-x86_64/pty_open
- usr/share/netbeans-standalone-11/ide/bin/nativeexecution/Linux-x86_64/sigqueue
- usr/share/netbeans-standalone-11/ide/bin/nativeexecution/Linux-x86_64/unbuffer.so
- usr/share/netbeans-standalone-11/ide/bin/nativeexecution/Linux-x86_64/killall
- usr/share/netbeans-standalone-11/ide/bin/nativeexecution/Linux-x86_64/pty
- usr/share/netbeans-standalone-11/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
- usr/share/netbeans-standalone-11/profiler/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so
- usr/share/netbeans-standalone-11/profiler/lib/deployed/cvm/linux/libprofilerinterface_g.so
- usr/share/netbeans-standalone-11/profiler/lib/deployed/cvm/linux/libprofilerinterface.so
- usr/share/netbeans-standalone-11/platform/modules/lib/amd64/linux/libjnidispatch-440.so
- usr/share/netbeans-standalone-11/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
-"
-
-src_install() {
- pushd nbbuild/netbeans >/dev/null || die
-
- insinto ${INSTALL_DIR}
- doins -r .
-
- rm -fr "${ED}"/${INSTALL_DIR}/ide/bin/nativeexecution/{Linux-{sparc_64,x86},MacOSX-{x86_64,x86},SunOS-{sparc,sparc_64,x86,x86_64},Windows-{x86,x86_64}} || die "Failed to remove unused binaries"
- find "${ED}"/${INSTALL_DIR}/ \( -name *.exe -o -name *.cmd -o -name *.bat \) -type f -exec rm {} + || die "Failed to remove unused binaries"
- rm -fr "${ED}"/${INSTALL_DIR}/profiler/lib/deployed/jdk15/{hpux-pa_risc2.0{,w},linux,mac,solaris-{amd64,i386,sparc{,v9}},windows{,-amd64}} || die "Failed to remove unused libraries"
- rm -fr "${ED}"/${INSTALL_DIR}/profiler/lib/deployed/jdk16/{hpux-pa_risc2.0{,w},linux{,-arm,-arm-vfp-hflt},mac,solaris-{amd64,i386,sparc{,v9}},windows{,-amd64}} || die "Failed to remove unused libraries"
- rm -fr "${ED}"/${INSTALL_DIR}/profiler/lib/deployed/cvm/windows || die "Failed to remove unused libraries"
- rm -fr "${ED}"/${INSTALL_DIR}/platform/modules/lib/{i386,x86} || die "Failed to remove unused libraries"
- find "${ED}"/${INSTALL_DIR}/ -name *.dll -type f -exec rm {} + || die "Failed to remove unused libraries"
-
- find "${ED}/${INSTALL_DIR}" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed"
- exeinto ${INSTALL_DIR}/ide/bin/nativeexecution/Linux-x86_64/
- doexe ide/bin/nativeexecution/Linux-x86_64/{process_start,stat,pty_open,sigqueue,killall,pty}
- exeinto ${INSTALL_DIR}/java/maven/bin
- doexe java/maven/bin/mvn{,Debug,yjp}
- exeinto ${INSTALL_DIR}/extide/ant/bin
- doexe extide/ant/bin/{ant{,Run,Run.pl},complete-ant-cmd.pl,runant.{pl,py}}
-
- dodoc DEPENDENCIES NOTICE
- dosym ${INSTALL_DIR}/bin/netbeans /usr/bin/${PN}-${SLOT}
- fperms 755 ${INSTALL_DIR}/bin/netbeans
-
- insinto /etc/${PN}-${SLOT}
- doins etc/*
- rm -fr "${ED}"/${INSTALL_DIR}/etc
- dosym ../../../../etc/${PN}-${SLOT} ${INSTALL_DIR}/etc
- sed -i -e "s/#netbeans_jdkhome.*/netbeans_jdkhome=\$\(java-config -O\)/g" "${ED}"/etc/${PN}-${SLOT}/netbeans.conf || die "Failed to set set Netbeans JDK home"
-
- if [[ -e "${ED}"/${INSTALL_DIR}/bin/netbeans ]]; then
- sed -i -e "s:\"\$progdir\"/../etc/:/etc/${PN}-${SLOT}/:" "${ED}"/${INSTALL_DIR}/bin/netbeans
- sed -i -e "s:\"\${userdir}\"/etc/:/etc/${PN}-${SLOT}/:" "${ED}"/${INSTALL_DIR}/bin/netbeans
- fi
-
- dodir /usr/share/icons/hicolor/32x32/apps
- dosym ${INSTALL_DIR}/nb/netbeans.png /usr/share/icons/hicolor/32x32/apps/${PN}-${SLOT}.png
-
- popd >/dev/null || die
-
- make_desktop_entry ${PN}-${SLOT} "Netbeans ${PV}" ${PN}-${SLOT} Development
-
- mkdir -p "${ED}"/${INSTALL_DIR}/nb/config || die
- echo "NBGNT" > "${ED}"/${INSTALL_DIR}/nb/config/productid || die
-}