mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
dev-util/goland: drop 2025.3.1.1
Signed-off-by: Stefan Cristian B. <stefan.cristian+git@rogentos.ro> Part-of: https://github.com/gentoo/gentoo/pull/46626 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -4,8 +4,6 @@ DIST goland-2025.1.4-aarch64.tar.gz 1084290498 BLAKE2B 5e8050a4186ac20db75b8d570
|
||||
DIST goland-2025.1.4.tar.gz 1087590072 BLAKE2B 93911accf03b5bf9768c60455ca7157b11f8fd394400fde9a943c77f95ad85cf2fe667674b7bde10811e72157a5349845605f632e875102b8deae94e0fff6f0c SHA512 6fd045f57b5f478cbf2ac46fef91ce4f083d1a4cbd5034b59d4626ff57272b23d009353333dbde24d53de61b04421b09d4d33d20b639ea3946b847415e6eeb6a
|
||||
DIST goland-2025.2.5-aarch64.tar.gz 1221837969 BLAKE2B fc2b81352b8f58a00bcdd177c010695720bbd32dbc7a4dc1fb67e79ed3053a7e382d941e2229f225a487042e9dc61d1355367a5a7bc337b349f95bd470990dbe SHA512 da64ed010841b7a830d0fb7cd99f2c905b7572432b8b8b1b2ffd0dc1b9d395cd452b7ca855ea817634eef36109415090d94b600f261aeb971bce4c936531b68e
|
||||
DIST goland-2025.2.5.tar.gz 1224607298 BLAKE2B b4dfa69e65ad3dd8fdf339bd3395d99a04749e7f57067317334e1dbb1a0eeb21805c8fb6594f2788c4363101644eb9c016cfddcef30b389316f654c68bfe8fbe SHA512 a71b9883d1c7ce4bced151945b670f5453c81039dcdf32764c8e525f6360d8a39070300bf1ed5bc656885c912dc3734aa1405eb7dc79661347ecbf59bf10de81
|
||||
DIST goland-2025.3.1.1-aarch64.tar.gz 1131333002 BLAKE2B 5f6f51af53cf1f24785c8cd73bbce858d1099edeee7cb1042b41572cbdb4feaf914b0df4ab34b894c49201898aea588188cdc13329f43334dd4848b0b15471d9 SHA512 c1f95fbc9136b7df32d57f14da8dd3112196e8ceef5813f52459fdd8919ddb0ee92e0c7c8900c77178b3c1fb9293a76b12b72d07625c9ea54d2eb30423245d98
|
||||
DIST goland-2025.3.1.1.tar.gz 1135678494 BLAKE2B 9bf2cbf4c7716e73e6b4a2341d9d78a07b0808ae38abe9742ab5288f4b3afb045259f41f4d902f63e0b003296ee935c199d93e69cab44a9fab8ac81436ee47f2 SHA512 55039767ee5fa390a91ec1fdf0eb3fe42fbaacd5e6a48c5715b5746c9291739563831a6da3436c477328c1a077e6c408b17512f01fa49a0c0fd4de3e6a067ac7
|
||||
DIST goland-2025.3.4-aarch64.tar.gz 1153861579 BLAKE2B b06f66eafb9300e28d95b9aa8dde43a923e2fa2ccfc2440c3fcdaea7054d1fd6d79d41859b114b937846b0664b54babbaddeeb225c10b74798d1aaa3081f993a SHA512 79f3c5af277350f2bc416cb49525f9ea80a4d68c1be32483e52be596d6b8eb819ba93dafd8316e78f639e796788ed3089e5ff2d77a972ac097d0d5dc0b22ee37
|
||||
DIST goland-2025.3.4.tar.gz 1158155059 BLAKE2B 7264dbbedfcc20e4db742391b2103aa1e830b2b3412779fd7eaa8adf02c1ba3fbbe1450e61763fe162f92ac2bc1f03808743396f3108418340b24dcd9b5e0a9c SHA512 ccc58c175f0a09782999144a87ee81b9d7a4a6b3a8eb5dc9fc5c9465c67264648a4d17d507921a0b560a04f2c6f3976554bec5df1487e22a189077dc17ac5bca
|
||||
DIST goland-2026.1-aarch64.tar.gz 1205422751 BLAKE2B a5a7c0db3b513485e6c92c9d55d56e26d7200ddc18f3d2247628decb408dd3b7af6c429321ce6a4ea8387d34aa2fc0360decb44570e574629bb230b98bb22dd2 SHA512 79cfc1c2f3140814fceb13618612bc667086a89c507bfac7396b20ea6b832d5459305ca550b03c57622df0759ec61e441bae73fd0cbd8f30464d93c72fc703f1
|
||||
|
||||
@@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop wrapper toolchain-funcs
|
||||
|
||||
DESCRIPTION="Golang IDE by JetBrains"
|
||||
HOMEPAGE="https://www.jetbrains.com/go/"
|
||||
SRC_URI="
|
||||
amd64? ( https://download.jetbrains.com/go/${P}.tar.gz )
|
||||
arm64? ( https://download.jetbrains.com/go/${P}-aarch64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}/GoLand-${PV}"
|
||||
LICENSE="|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual )
|
||||
Apache-2.0
|
||||
BSD
|
||||
CC0-1.0
|
||||
CDDL
|
||||
CDDL-1.1
|
||||
EPL-1.0
|
||||
GPL-2
|
||||
GPL-2-with-classpath-exception
|
||||
ISC
|
||||
LGPL-2.1
|
||||
LGPL-3
|
||||
MIT
|
||||
MPL-1.1
|
||||
OFL-1.1
|
||||
ZLIB
|
||||
"
|
||||
SLOT="0/2025"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="wayland"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
QA_PREBUILT="opt/${P}/*"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/debugedit
|
||||
dev-util/patchelf
|
||||
"
|
||||
RDEPEND="
|
||||
dev-lang/go
|
||||
dev-libs/wayland
|
||||
sys-libs/pam
|
||||
sys-process/audit
|
||||
>=virtual/jre-17:*
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
tc-export OBJCOPY
|
||||
default
|
||||
|
||||
if ! use arm64; then
|
||||
local remove_me=(
|
||||
lib/async-profiler/aarch64
|
||||
plugins/go-plugin/lib/dlv/linuxarm/dlv
|
||||
plugins/go-plugin/lib/dlv/linuxarmmusl/dlv
|
||||
)
|
||||
elif ! use amd64; then
|
||||
local remove_me=(
|
||||
lib/async-profiler/amd64
|
||||
plugins/go-plugin/lib/dlv/linuxmusl/dlv
|
||||
)
|
||||
fi
|
||||
|
||||
rm -rv "${remove_me[@]}" || die
|
||||
|
||||
# excepting files that should be kept for remote plugins
|
||||
if ! use arm64 ; then
|
||||
local skip_remote_files=(
|
||||
"plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release"
|
||||
"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-arm64"
|
||||
)
|
||||
elif ! use amd64; then
|
||||
local skip_remote_files=(
|
||||
"plugins/platform-ijent-impl/ijent-x86_64-unknown-linux-musl-release"
|
||||
"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-amd64"
|
||||
)
|
||||
fi
|
||||
|
||||
# removing debug symbols and relocating debug files as per #876295
|
||||
# we're escaping all the files that contain $() in their name
|
||||
# as they should not be executed
|
||||
find . -type f ! -name '*$(*)*' -print0 | while IFS= read -r -d '' file; do
|
||||
for skip in "${skip_remote_files[@]}"; do
|
||||
[[ ${file} == ./"${skip}" ]] && continue 2
|
||||
done
|
||||
if file "${file}" | grep -qE "ELF (32|64)-bit"; then
|
||||
${OBJCOPY} --remove-section .note.gnu.build-id "${file}" || die
|
||||
debugedit -b "${EPREFIX}/opt/${PN}" -d "/usr/lib/debug" -i "${file}" || die
|
||||
fi
|
||||
done
|
||||
|
||||
patchelf --set-rpath '$ORIGIN' "jbr/lib/libjcef.so" || die
|
||||
patchelf --set-rpath '$ORIGIN' "jbr/lib/jcef_helper" || die
|
||||
|
||||
# As per https://blog.jetbrains.com/platform/2024/07/wayland-support-preview-in-2024-2/ for full wayland support
|
||||
if use wayland; then
|
||||
echo "-Dawt.toolkit.name=WLToolkit" >> bin/webstorm64.vmoptions || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${P}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
fperms 755 "${dir}"/bin/{format.sh,goland.sh,inspect.sh,ltedit.sh,remote-dev-server.sh,restarter,fsnotifier}
|
||||
fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,keytool,rmiregistry,serialver}
|
||||
fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
|
||||
fperms 755 "${dir}"/plugins/go-plugin/lib/dlv/linux/dlv
|
||||
|
||||
make_wrapper "${PN}" "${dir}/bin/${PN}.sh"
|
||||
newicon "bin/${PN}.png" "${PN}.png"
|
||||
make_desktop_entry "${PN}" "Goland ${PV}" "${PN}" "Development;IDE;"
|
||||
|
||||
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
|
||||
insinto /usr/lib/sysctl.d
|
||||
newins - 30-"${PN}"-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
|
||||
}
|
||||
Reference in New Issue
Block a user