mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-java/jdtls-bin: drop versions
Signed-off-by: Brahmajit Das <listout@listout.xyz>
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
DIST jdtls-1.49.0_p202507030451.tar.gz 49052555 BLAKE2B 62bfc716129584fe1e9d1178b2627f3f3459a11824662ae4536aacaaf74b7dcb1f550fe37d3c358ec752926de46ee94c111757322cc05b9147bfacc2394c3397 SHA512 501e628c3bae38fa18ce9c0e88fa4c8d9cd82f2d5de9bf6586bd6efd537d1343ab7f00f05af4c200208bc6446435ce4ba02d84591d21734534092f6e37b85a38
|
||||
DIST jdtls-1.49.0_p202507102148.tar.gz 49068161 BLAKE2B 3b2956ab86dadc4f506577436d47cd295f977a711f17ba6af2dd9c4e604871bef9e7904cc5bc66c99e3e51357b70ea896ea1464592704e58d40d8e9a77bb409e SHA512 d9be252013891009e8885efbef385160495f44e3ee3ef0697a165062ced7b571f1e0058023401ce731f178ac3472e00ad6be571d0b2ad738bd54b93c09d1aca3
|
||||
DIST jdtls-1.50.0_p202507311928.tar.gz 49102971 BLAKE2B 7a43796c3879e090be95038e592b8f46f42d60e9d7ecb90944e8ca351c3029d2bd605c6b9c398f80765bb1c2e16fc3b695a72754d7c060489c9c7c918b9a1f54 SHA512 82d11756f656ff8d8f54b40a9a2b684a9387cc91645b104b40865ef0074e0080d3fd037b190963441f4399194da8f6f1c7abcd7b2f0dae77ed2f6b8c3da95158
|
||||
DIST jdtls-1.51.0_p202510022025.tar.gz 49321239 BLAKE2B 5a1bd82547ba9a28d17c82aed0693e3f0f63ef34d3cf582e769fffe98dec7edc4ad1b879e519863bc8bda73fc00a99da1a8d71aacf638118908821f5f505df30 SHA512 465e94c4a0800d0cc41f4427ae12a14f5333038727c8e3e7acf7f374c4a055dc9f2ffa125a421028851982a43097eba06ab9628e3476e07ef8d9fdf5b772072f
|
||||
DIST jdtls-1.52.0_p202510301627.tar.gz 49350351 BLAKE2B 3ed73770c4e0df7d73533304afef9b9933eae4683474044219d5c1992702ee74d5e86a7a57bb0c71effb4507203e721cab151a969963ed7791574e328ef25786 SHA512 bc312c3c0c291834a1d5577c49b3450a60d72dd5d50fb4a5f32dab3e679cdbfd825c04326a48f39329166b2b7fe7fc7445743cd421d8645eee008a7040213103
|
||||
DIST jdtls-1.53.0_p202511131527.tar.gz 49507686 BLAKE2B c238b7e54f544eb4702bad35cc150f54f054fe704d91704ccb45c9e814e19a70d13fc1351f353dbc8bf26d2f6d218887b4579e101d962c5c161eff5e80b44357 SHA512 b3e1905606ea90d18ffd35afe73065a7fabdf3ad59430b6fbe60bd18617d4f1576ff2a169884f593bcd161b692420999e0a6e86ecca75de5213eb6f4c7b3fb7c
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 2023 Gabriel Sanches
|
||||
# Distributed under the terms of the Zero-Clause BSD License
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PV=${PV/_p/-}
|
||||
MY_PN=${PN%%-bin}
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Java language server"
|
||||
HOMEPAGE="https://github.com/eclipse/eclipse.jdt.ls"
|
||||
SRC_URI="https://download.eclipse.org/jdtls/snapshots/jdt-language-server-${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="EPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=virtual/jre-1.8:*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
JDTLS_LIBEXEC="/usr/libexec/${MY_PN}"
|
||||
JDTLS_SHARE="/usr/share/${MY_PN}"
|
||||
|
||||
JDTLS_WRAPPER="${FILESDIR}/wrapper"
|
||||
|
||||
src_install() {
|
||||
dodir "${JDTLS_LIBEXEC}/bin"
|
||||
dodir "${JDTLS_SHARE}"
|
||||
|
||||
cp -Rp plugins features "${ED}/${JDTLS_LIBEXEC}" || die "failed to copy"
|
||||
cp -Rp bin/${MY_PN} "${ED}/${JDTLS_LIBEXEC}/bin" || die "failed to copy"
|
||||
cp -Rp config_linux "${ED}/${JDTLS_SHARE}" || die "failed to copy"
|
||||
|
||||
sed ${JDTLS_WRAPPER} -e "s;@PKGNAME@;${MY_PN};g" > wrapper
|
||||
dodir /usr/bin
|
||||
newbin wrapper ${MY_PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If the JDT Language Server fails to start (e.g. ClassNotFoundException),"
|
||||
elog "you may be running into stale Eclipse OSGi cache issues."
|
||||
elog
|
||||
elog "To fix this, remove the following directories:"
|
||||
elog " rm -rf \"\${XDG_DATA_HOME}/jdtls\" or rm -rf \"~/.local/share/jdtls\""
|
||||
elog " rm -rf \"\${XDG_STATE_HOME}/jdtls\" or rm -rf \"~/.local/state/jdtls\""
|
||||
elog
|
||||
elog "They will be recreated cleanly on the next launch."
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 2023 Gabriel Sanches
|
||||
# Distributed under the terms of the Zero-Clause BSD License
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PV=${PV/_p/-}
|
||||
MY_PN=${PN%%-bin}
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Java language server"
|
||||
HOMEPAGE="https://github.com/eclipse/eclipse.jdt.ls"
|
||||
SRC_URI="https://download.eclipse.org/jdtls/snapshots/jdt-language-server-${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="EPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=virtual/jre-1.8:*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
JDTLS_LIBEXEC="/usr/libexec/${MY_PN}"
|
||||
JDTLS_SHARE="/usr/share/${MY_PN}"
|
||||
|
||||
JDTLS_WRAPPER="${FILESDIR}/wrapper"
|
||||
|
||||
src_install() {
|
||||
dodir "${JDTLS_LIBEXEC}/bin"
|
||||
dodir "${JDTLS_SHARE}"
|
||||
|
||||
cp -Rp plugins features "${ED}/${JDTLS_LIBEXEC}" || die "failed to copy"
|
||||
cp -Rp bin/${MY_PN} "${ED}/${JDTLS_LIBEXEC}/bin" || die "failed to copy"
|
||||
cp -Rp config_linux "${ED}/${JDTLS_SHARE}" || die "failed to copy"
|
||||
|
||||
sed ${JDTLS_WRAPPER} -e "s;@PKGNAME@;${MY_PN};g" > wrapper
|
||||
dodir /usr/bin
|
||||
newbin wrapper ${MY_PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If the JDT Language Server fails to start (e.g. ClassNotFoundException),"
|
||||
elog "you may be running into stale Eclipse OSGi cache issues."
|
||||
elog
|
||||
elog "To fix this, remove the following directories:"
|
||||
elog " rm -rf \"\${XDG_DATA_HOME}/jdtls\" or rm -rf \"~/.local/share/jdtls\""
|
||||
elog " rm -rf \"\${XDG_STATE_HOME}/jdtls\" or rm -rf \"~/.local/state/jdtls\""
|
||||
elog
|
||||
elog "They will be recreated cleanly on the next launch."
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 2023 Gabriel Sanches
|
||||
# Distributed under the terms of the Zero-Clause BSD License
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PV=${PV/_p/-}
|
||||
MY_PN=${PN%%-bin}
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Java language server"
|
||||
HOMEPAGE="https://github.com/eclipse/eclipse.jdt.ls"
|
||||
SRC_URI="https://download.eclipse.org/jdtls/snapshots/jdt-language-server-${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="EPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=virtual/jre-1.8:*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
JDTLS_LIBEXEC="/usr/libexec/${MY_PN}"
|
||||
JDTLS_SHARE="/usr/share/${MY_PN}"
|
||||
|
||||
JDTLS_WRAPPER="${FILESDIR}/wrapper"
|
||||
|
||||
src_install() {
|
||||
dodir "${JDTLS_LIBEXEC}/bin"
|
||||
dodir "${JDTLS_SHARE}"
|
||||
|
||||
cp -Rp plugins features "${ED}/${JDTLS_LIBEXEC}" || die "failed to copy"
|
||||
cp -Rp bin/${MY_PN} "${ED}/${JDTLS_LIBEXEC}/bin" || die "failed to copy"
|
||||
cp -Rp config_linux "${ED}/${JDTLS_SHARE}" || die "failed to copy"
|
||||
|
||||
sed ${JDTLS_WRAPPER} -e "s;@PKGNAME@;${MY_PN};g" > wrapper
|
||||
dodir /usr/bin
|
||||
newbin wrapper ${MY_PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If the JDT Language Server fails to start (e.g. ClassNotFoundException),"
|
||||
elog "you may be running into stale Eclipse OSGi cache issues."
|
||||
elog
|
||||
elog "To fix this, remove the following directories:"
|
||||
elog " rm -rf \"\${XDG_DATA_HOME}/jdtls\" or rm -rf \"~/.local/share/jdtls\""
|
||||
elog " rm -rf \"\${XDG_STATE_HOME}/jdtls\" or rm -rf \"~/.local/state/jdtls\""
|
||||
elog
|
||||
elog "They will be recreated cleanly on the next launch."
|
||||
}
|
||||
Reference in New Issue
Block a user