commit: 133fe1c0849b5a9cf3fe2ecaebe7bb9afc816959 Author: Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me> AuthorDate: Thu Jun 22 05:08:05 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Thu Jun 22 05:11:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=133fe1c0
www-apps/code-server-bin: drop 4.9.1-r2 Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me> www-apps/code-server-bin/Manifest | 2 - .../code-server-bin-4.9.1-r2.ebuild | 127 --------------------- 2 files changed, 129 deletions(-) diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest index 8c5a50fb5..1f1f447cc 100644 --- a/www-apps/code-server-bin/Manifest +++ b/www-apps/code-server-bin/Manifest @@ -2,5 +2,3 @@ DIST code-server-4.12.0-linux-amd64.tar.gz 97828967 BLAKE2B 60089c914ba94eff0bfa DIST code-server-4.12.0-linux-arm64.tar.gz 96637295 BLAKE2B ab842644f50871e97016c08e9470fa24ae2a1d2b4dc344faf7a45153595deed6cd88146adbf1871db2082a0a06a0d12fc50eb588c7307f51d9737cb5c6b230f1 SHA512 dc09e21ff35f987cdb7f5b62d2133b53af5f634b747a13b7fe9cff0c6be61a93950b1e23a8869206b8ed3544bb34221d2c38d6fb25d176e8136ebd0d255fe7ad DIST code-server-4.13.0-linux-amd64.tar.gz 97870904 BLAKE2B 320b845f1cca424c52022795bd77d1646786dfa1582944aa402e49e877c90af32a069662af5bd8385671118f74d4f66bfc95d4d1f875e865f74fd81732290559 SHA512 e7f50fb0bff5dbe5b075d6c1410f056f0e78e790eeab91fd0fa9596b1c52b8243798f10d5f609beb0288f965eb40b4519a0ad83972804f52dc1b88e456d91a7f DIST code-server-4.13.0-linux-arm64.tar.gz 96675774 BLAKE2B 4c117fa6e0c06b5203863ae1a35d5a57e36c0bc339ddf009ff106efbf3a0207ea9deb9efbf868a14f9c0bf64e3034c626d99647073c90fa9c4dd59b938b2e0ae SHA512 04478cc1280326fede817549e21a086f1f0281a79b52059a1523246f42d024463a7aac61f443b6441e10f202558889ad9cb63c962f4a075cd78c14b00318d5b9 -DIST code-server-4.9.1-linux-amd64.tar.gz 106765319 BLAKE2B 18b82c1daa4b005115de001e8065783dbc9042b1504a4323ad74d0002e331c3e24ee3856d39aa8e0777d6e0e93f7f0dfcc6b01fae0f2482ef881e8b9d867794d SHA512 1193c8690275c432e9126d18ab24bc50f199c585d3f5e9c2886a339b92d3d5e52103c8fec55189df1d149f3f7147ff2aeb97c70191ca996b5bc65e492c74454a -DIST code-server-4.9.1-linux-arm64.tar.gz 97436984 BLAKE2B 7fb2b4ebc6dfbe0a2bb55b0f7d78a9c61045d328c6f71c4c6b32dac9fa9648aa96d5962975618e73962e2c53422c35dc5ebed2378eea18570016e0ba85f02686 SHA512 0a60f8eda68be6c939a1aab9012a4e1da429d9491a97dee2b0be78e68e6a4a79d12d855ec90208c9080ea4ee227b8c12f1203f71c81298e6ec2b7a66b6da451b diff --git a/www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild b/www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild deleted file mode 100644 index 7813d7ccb..000000000 --- a/www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" -MY_P="${MY_PN}-${PV}" -BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" - -inherit systemd - -DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" -HOMEPAGE="https://coder.com/" -SRC_URI=" - amd64? ( ${BASE_URI}-amd64.tar.gz ) - arm64? ( ${BASE_URI}-arm64.tar.gz ) -" -RESTRICT="test" -LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+ - || ( BSD-2 MIT Apache-2.0 ) - || ( MIT WTFPL ) - || ( BSD GPL-2 ) -" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - ${DEPEND} - >=net-libs/nodejs-16.0.0[ssl] - sys-apps/ripgrep - app-crypt/libsecret -" - -S="${WORKDIR}/${MY_P}-linux-${ARCH}" - -PATCHES=( "${FILESDIR}/${PN}-node.patch" ) - -DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" ) - -# Relative -VSCODE_MODULES="lib/vscode/node_modules" - -QA_PREBUILT=" - opt/${PN}/lib/coder-cloud-agent - opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node - opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node - opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node - opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node - opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node - opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node - opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node - opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node - opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node - opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node - opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node - opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node - opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node - opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node - opt/${PN}/${VSCODE_MODULES}/keytar/build/Release/keytar.node - opt/${PN}/${VSCODE_MODULES}/keytar/build/Release/obj.target/keytar.node -" - -QA_PRESTRIPPED=" - opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node - opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node -" - -src_prepare() { - default - - # We remove as much precompiled code as we can, - # node modules not written in JS cannot be removed - # thus "-bin". - - # use system node - rm ./lib/node || die "Failed to remove bundled nodejs" - - # remove bundled ripgrep binary - rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \ - || die "Failed to remove bundled ripgrep" - - # Only required at build time - find "${S}" -type l -name python3 -delete || die - - # not needed - rm ./postinstall.sh || die - - # For windows - rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die - - if [[ $ELIBC != "musl" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die - elif [[ $ELIBC != "glibc" ]]; then - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die - rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die - fi - - rm -r ./lib/vscode/extensions/node_modules/.bin || die -} - -src_install() { - einstalldocs - - insinto "/opt/${PN}" - doins -r . - fperms +x "/opt/${PN}/bin/${MY_PN}" - dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}" - dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}" - - dosym -r "/usr/bin/rg" \ - "${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg" - - systemd_douserunit "${FILESDIR}/${PN}.service" -} - -pkg_postinst() { - elog "When using code-server systemd service run it as a user" - elog "For example: 'systemctl --user enable --now code-server'" -}