aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@outlook.com>2022-11-12 00:15:38 -0600
committerLeonardo Hernández Hernández <leohdz172@outlook.com>2022-12-02 11:30:51 -0600
commit024af9f2fd2f5a1fac153845976c040d19d21c6b (patch)
treeedc2bf50d8117a639cf5647469390c4e678fa740 /www-apps
parentwww-apps/code-server-bin: add 4.8.3 (diff)
downloadguru-024af9f2fd2f5a1fac153845976c040d19d21c6b.tar.gz
guru-024af9f2fd2f5a1fac153845976c040d19d21c6b.tar.bz2
guru-024af9f2fd2f5a1fac153845976c040d19d21c6b.zip
www-apps/code-server-bin: drop 4.6.1, 4.7.0
Signed-off-by: Leonardo Hernández Hernández <leohdz172@outlook.com>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/code-server-bin/Manifest4
-rw-r--r--www-apps/code-server-bin/code-server-bin-4.6.1.ebuild126
-rw-r--r--www-apps/code-server-bin/code-server-bin-4.7.0.ebuild127
3 files changed, 0 insertions, 257 deletions
diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index eeb1c08b5..b64c2891d 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,7 +1,3 @@
-DIST code-server-4.6.1-linux-amd64.tar.gz 98908844 BLAKE2B 7ca74733578b8f2fcfbc395a2fd385511b23ebced014f024904e1bf29dfa48f0ac7295746f61ea3a9d8cafa13e2b9072d48062f753ffab4f95470b868958d5e7 SHA512 d4bf2cbc06cdf6fe387758a6968bb4db375745f24c32c7b1f5ad199295fb363b83a071d6de78f55f117e20e78287274a0ab7b654b03454ed3056e4ea4cbefb2d
-DIST code-server-4.6.1-linux-arm64.tar.gz 89823651 BLAKE2B 1795c6d7f3198f26a5f8567fe00c59e01f6bc9dd1230e74672671399d3ee9d2566ae73711ae30fdece51a387c4d5cfe3738ade6705b91610da67fabc7adcc6fc SHA512 36c3d102c5fdf09c1ce8e22edc10464c6f9b6915572a7ce8b9c50a77f77489a5ba89e050f204383375d04772f7ebce6dde5d6914c3d769af8f7e4d2e53831b0c
-DIST code-server-4.7.0-linux-amd64.tar.gz 103853310 BLAKE2B a6435b233f2d5aeebe6a5c057f5e98e1c66496c380c60b59ba69eaef17e5dfb84f169dbbd99baac26936dc2de7055dae906436c77311118562eaed96907688fe SHA512 2e07c6e55625a17538a9cde29065196b0c065b9791dc56a76e24bdb5a2eec11133b7f1f8d8fce512da3dc8dda69cea31572d3d16b0472123892165ed4327449b
-DIST code-server-4.7.0-linux-arm64.tar.gz 94759564 BLAKE2B aa012c85cab9736b9dbf0d8c6780b0141a08d5b41a6a3db38a14ab84c16562ee710d3c42851c59ea3d2c0d9548182df8ade7b72b8d513663db63cad2d7f81d23 SHA512 282eb625a728b5573efaec720d44b0b1871779444cb771346dea2b46f1e77adf58aedbb3cc517fd9f49740ef552ed6357de04aabab38d7f3dc70f3361da45d37
DIST code-server-4.7.1-linux-amd64.tar.gz 103979733 BLAKE2B 0346e107ef55d09094d341b64ddf4e31cb683a4a7a296405c1336a0f008a01667dee0732df912057ec82712db0da48b14e2c04def7c666c354eebea18076b59b SHA512 d4e542a894fef141a411ba9dbd5360ca5794a6464d0ce32f5a6681de3311a64e4fd3cedc31144d3ef2eae89cd6266d6db028c042e9692051da31a87a7649962c
DIST code-server-4.7.1-linux-arm64.tar.gz 94777720 BLAKE2B 0d08f9b9966070a21918ce1a4e9d79c5ce9c4d4550d588cc6b0bf30777a015b4616c49a7fa9f776c303238a9920ebb0a341a9bd421067a333579cf38bc16dab5 SHA512 8ac49726830168786a4eac7f3b2182af9510443cd3bc0b5760ddee0ee6ce7845fdd91cd680c95821a3dce41c9c2cdf0b7f50ab7817b6764305e262c643c9d896
DIST code-server-4.8.3-linux-amd64.tar.gz 106357330 BLAKE2B 2b72427abf01dd1ef0fcc85971d484b116a558ae586fbdaf0f40ded66ad1523c57449141f7ad1d8b2bf364094b2be7999f275d2a8d00ccb6194b56e89133ed0d SHA512 c074007129082819b70be588f5f1f81613f7b12d4b2bc9a606f56767747c13c62707c54694bdbc5a27da60027c0a9cc98efc3e5c64e05c0947dcb45b551efb4d
diff --git a/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild
deleted file mode 100644
index 9c32a8ba2..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2022 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 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-RDEPEND="
- ${DEPEND}
- >=net-libs/nodejs-16.0.0[ssl]
- sys-apps/ripgrep
- gnome-keyring? (
- 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
-"
-
-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 ./node ./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"
-
- # not needed
- rm ./code-server || die
- 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'"
-}
diff --git a/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild
deleted file mode 100644
index 69c4e9ff6..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2022 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"
-IUSE="gnome-keyring"
-
-RDEPEND="
- ${DEPEND}
- >=net-libs/nodejs-16.0.0[ssl]
- sys-apps/ripgrep
- gnome-keyring? (
- 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
-"
-
-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 ./node ./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"
-
- # not needed
- rm ./code-server || die
- 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'"
-}