summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/netbeans-standalone/Manifest2
-rw-r--r--dev-util/netbeans-standalone/netbeans-standalone-12.4.ebuild117
2 files changed, 0 insertions, 119 deletions
diff --git a/dev-util/netbeans-standalone/Manifest b/dev-util/netbeans-standalone/Manifest
index 2adf4cb08..74746e423 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-12.4-source.zip 140959396 BLAKE2B f2db24efb45084081dd6211095a7e1c5b82fd9af1c3c6c7853ca283770bc030e14e97c4e6d0f3992f160e7f03e24d9eb91f761a49f1d764b226056705485b8a7 SHA512 f8ee78d9ccba513234f855fc516bf251746eb030f6c747239b0db3da2f32932dc9431898fc334a22ebb25f4caec58c292b04d261736bc8de4eb6ead585dffc04
DIST netbeans-12.5-source.zip 141310631 BLAKE2B ae3d246ad31f8d960ff8f8f31634c9767524c7d96bb7ae2d350a4db595be9fab277a1eab768e3dc278f3fff8040b960cf2987d74a4cb7584b0e5dca933eee9bb SHA512 80d868bc10851e81a6607a9ebde2f8a3f32b0bc88d90b29987a97e821975e0f3017a4d949a5443c2f8d9ca4483bf9ede48ed089a81e954b6e11c0d2a300db9bc
DIST netbeans-12.6-source.zip 142246426 BLAKE2B 9148b5116f4778792b708bfbb2d09f655449f5c6a2d7abdc2909ab7fb0c62274b64cab9d8ae69fdaddaf478eed2969031df08d1be256fddba59b99c164aed811 SHA512 2e8064c603ea134df00984a1ac7221ddb0b91e1175a04f11b26e59a39530418499634b28cd64174a5a946f7237479fbb01ce09253fca354aed1fe56052b55edf
-EBUILD netbeans-standalone-12.4.ebuild 5188 BLAKE2B cf5b8c308803c88600f5834d3468b448764bd768b02693012be63b3a00fe200a1477dd1a5217651e9ec299f928e3bf8eaf79ee6deb89b8ec2a1f666f1ba4644a SHA512 d0393d1c05151b5848d8f8769951631fa40c46fe58bb8f77953359f2081993957183c369e2b9654f4d7c21f863acd370670e604d89d652bdb52fa0948bdef916
EBUILD netbeans-standalone-12.5.ebuild 5188 BLAKE2B cf5b8c308803c88600f5834d3468b448764bd768b02693012be63b3a00fe200a1477dd1a5217651e9ec299f928e3bf8eaf79ee6deb89b8ec2a1f666f1ba4644a SHA512 d0393d1c05151b5848d8f8769951631fa40c46fe58bb8f77953359f2081993957183c369e2b9654f4d7c21f863acd370670e604d89d652bdb52fa0948bdef916
EBUILD netbeans-standalone-12.6.ebuild 5154 BLAKE2B 5626936dec228fb459c22c1413f1be41633cb1b7a17842ad8aba9f72f3869ba3adc6382a08ca99b280b308c4a5019bae570387875bfd6e4139d098ee71e27819 SHA512 11400195835c5ce4b1b3ee833246b27eda421da85bf46e3a1ca6c0e75329269bf5531e63a577f0b8f7c02b039e74eadb6d784eb9afd8cfbb5db36f095b9a259c
EBUILD netbeans-standalone-9999.ebuild 5127 BLAKE2B 79819367ea2729a4234daae1ceadd7c3ff098d39409c8c96a786af7406998b4653cf20925083f844d82118760d187e92fdada050a094d470afb71416e71df59d SHA512 0d5b43106fe8417038ee702f2b42c9204040fb015fe49cf7f2982fb3c1af0b3896ceac95504085a43a1193fac5bf19c97e1311bb7da37bcfa0815b673ee8a6cb
diff --git a/dev-util/netbeans-standalone/netbeans-standalone-12.4.ebuild b/dev-util/netbeans-standalone/netbeans-standalone-12.4.ebuild
deleted file mode 100644
index 5a5dfda66..000000000
--- a/dev-util/netbeans-standalone/netbeans-standalone-12.4.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 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"
-
-PATCHES=( "${FILESDIR}"/fix-private-debugger-access.patch )
-
-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
-}