diff --git a/.github/workflows/overlay.toml b/.github/workflows/overlay.toml index d7fd4c147d1..ce3e32c70b7 100644 --- a/.github/workflows/overlay.toml +++ b/.github/workflows/overlay.toml @@ -1155,13 +1155,6 @@ github_account = "HougeLangley" #["virtual/dist-kernel"] #["virtual/linux-sources"] -["www-apps/openvscode-server-bin"] -source = "github" -github = "gitpod-io/openvscode-server" -use_latest_release = true -prefix = "openvscode-server-v" -github_account = "liuyujielol" - ["www-apps/chatgpt-desktop"] source = "github" github = "lencx/ChatGPT" diff --git a/www-apps/openvscode-server-bin/Manifest b/www-apps/openvscode-server-bin/Manifest deleted file mode 100644 index 23827bebcda..00000000000 --- a/www-apps/openvscode-server-bin/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST openvscode-server-v1.75.1-linux-arm64.tar.gz 56420032 BLAKE2B c47f5103b7d1075f979c4c6112774fd1756795d672a873861a7e5174f2c10efe99fde320219f44bfcbc1cb51d05b2745c23376a70abe4792013d286eebbe83e2 SHA512 c69d4086203daffa2b1669606a98fd3a794ca54d5d2b312fc924c3f010fa15846254e3bf08de445606d6f4e058a2a9d0e1fb13416eec1e1fb37fcf9817b722fe -DIST openvscode-server-v1.75.1-linux-armhf.tar.gz 53598193 BLAKE2B d134d1c1e4a47eb7b5a290b3009eef206c24be1230cd84cee276496d9fd5cd1ce48f887abd105d1dfe126101a677af3d90aab4250dc670bba64ad10fcac66f43 SHA512 2d66e0168de36bcf86848fb4d4167ddfa0aa70728b18bdf6a423add9608c55921df18768b7e489af43f925867b0209c4c904f5e56209da5c1da78a86ddc763e5 -DIST openvscode-server-v1.75.1-linux-x64.tar.gz 64527987 BLAKE2B 5e916512c59c051f0e69eeb4fec67b91772c576e08845655ed7e3a4b176b61229dfa0927fbbc8b0b5451e91250799ffc677247a4f6858238c520d7ba62888a99 SHA512 9e63ab0bb3e8a3d8240557953278af6a40ba6d436527024b55a0bbfd33ba3ce0b44a7c9c463ca345c50e8206b1a4aac341aa49a7918f578a43be2e21bc4ea1e3 diff --git a/www-apps/openvscode-server-bin/files/openvscode-server-at.service b/www-apps/openvscode-server-bin/files/openvscode-server-at.service deleted file mode 100644 index 1d4c9d4fa8b..00000000000 --- a/www-apps/openvscode-server-bin/files/openvscode-server-at.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=VS Code that runs a server on remote and allows access through a web browser -Documentation=https://github.com/gitpod-io/openvscode-server/tree/docs -After=network.target nss-lookup.target iptables.service ip6tables.service -Wants=network.target - -[Service] -Type=exec -ExecStart=/usr/bin/openvscode-server --port 3000 --host localhost -Restart=on-failure -User=%i - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/openvscode-server-bin/files/openvscode-server-user.service b/www-apps/openvscode-server-bin/files/openvscode-server-user.service deleted file mode 100644 index ee81321fc56..00000000000 --- a/www-apps/openvscode-server-bin/files/openvscode-server-user.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=VS Code that runs a server on remote and allows access through a web browser -Documentation=https://github.com/gitpod-io/openvscode-server/tree/docs -After=network.target nss-lookup.target iptables.service ip6tables.service -Wants=network.target - -[Service] -Type=exec -ExecStart=/usr/bin/openvscode-server --port 3000 --host localhost -Restart=on-failure - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/openvscode-server-bin/metadata.xml b/www-apps/openvscode-server-bin/metadata.xml deleted file mode 100644 index e1a307b42c9..00000000000 --- a/www-apps/openvscode-server-bin/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - 2073201758GD@gmail.com - liuyujielol - - - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere. - - - gitpod-io/openvscode-server - - diff --git a/www-apps/openvscode-server-bin/openvscode-server-bin-1.75.1.ebuild b/www-apps/openvscode-server-bin/openvscode-server-bin-1.75.1.ebuild deleted file mode 100644 index 78f743b8b31..00000000000 --- a/www-apps/openvscode-server-bin/openvscode-server-bin-1.75.1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd - -MY_PN="${PN//-bin/}" -MY_P="${MY_PN}-v${PV}" - -DESCRIPTION="VS Code that runs a server on remote and allows access through a web browser" -HOMEPAGE="https://github.com/gitpod-io/openvscode-server" -SRC_URI=" - amd64? ( https://github.com/gitpod-io/openvscode-server/releases/download/${MY_P}/${MY_P}-linux-x64.tar.gz ) - arm? ( https://github.com/gitpod-io/openvscode-server/releases/download/${MY_P}/${MY_P}-linux-armhf.tar.gz ) - arm64? ( https://github.com/gitpod-io/openvscode-server/releases/download/${MY_P}/${MY_P}-linux-arm64.tar.gz ) -" -S="${WORKDIR}" - -RESTRICT="mirror strip bindist" - -LICENSE=" - Apache-2.0 - BSD - BSD-1 - BSD-2 - BSD-4 - CC-BY-4.0 - ISC - LGPL-2.1+ - Microsoft-vscode - MIT - MPL-2.0 - openssl - PYTHON - TextMate-bundle - Unlicense - UoI-NCSA - W3C -" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64" - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="" - -QA_PREBUILT=" - /opt/openvscode-server-bin/node - /opt/openvscode-server-bin/node_modules/@vscode/ripgrep/bin/rg - /opt/openvscode-server-bin/node_modules/spdlog/build/Release/spdlog.node - /opt/openvscode-server-bin/node_modules/keytar/build/Release/obj.target/keytar.node - /opt/openvscode-server-bin/node_modules/keytar/build/Release/keytar.node - /opt/openvscode-server-bin/node_modules/native-watchdog/build/Release/watchdog.node - /opt/openvscode-server-bin/node_modules/@parcel/watcher/build/Release/watcher.node - /opt/openvscode-server-bin/node_modules/node-pty/build/Release/pty.node -" - -src_install() { - if use amd64; then - cd "${WORKDIR}/${MY_P}-linux-x64" || die - elif use arm; then - cd "${WORKDIR}/${MY_P}-linux-armhf" || die - elif use arm64; then - cd "${WORKDIR}/${MY_P}-linux-arm64" || die - else - die "openvscode-server only supports amd64, arm and arm64" - fi - - # Install - insinto "/opt/${PN}" - doins -r * - fperms +x /opt/${PN}/bin/{,remote-cli/}openvscode-server - fperms +x /opt/${PN}/bin/helpers/browser.sh - # bundled node - fperms +x /opt/${PN}/node - fperms -R +x /opt/${PN}/out/vs/base/node/ - # bundled other binaries - fperms +x /opt/${PN}/node_modules/@vscode/ripgrep/bin/rg - fperms +x /opt/${PN}/node_modules/spdlog/build/Release/spdlog.node - fperms +x /opt/${PN}/node_modules/keytar/build/Release/obj.target/keytar.node - fperms +x /opt/${PN}/node_modules/keytar/build/Release/keytar.node - fperms +x /opt/${PN}/node_modules/native-watchdog/build/Release/watchdog.node - fperms +x /opt/${PN}/node_modules/@parcel/watcher/build/Release/watcher.node - fperms +x /opt/${PN}/node_modules/node-pty/build/Release/pty.node - # shellscript of extensions - fperms +x /opt/${PN}/extensions/ms-vscode.js-debug/src/terminateProcess.sh - fperms +x /opt/${PN}/extensions/git/dist/{askpass,git-editor}{,-empty}.sh - - dosym "../../opt/${PN}/bin/openvscode-server" "usr/bin/openvscode-server" - - systemd_newuserunit "${FILESDIR}/openvscode-server-user.service" openvscode-server.service - systemd_newunit "${FILESDIR}/openvscode-server-at.service" openvscode-server@.service -} - -pkg_postinst() { - elog - elog "When using openvscode-server systemd services run it as a user" - elog "For example: " - elog " 'systemctl --user enable --now openvscode-server'" - elog " 'systemctl enable --now openvscode-server@\$USER'" - elog "Default access link is http://localhost:3000/?tkn=\$TOKEN" - elog - elog "You may want to modify the systemd unit file to match your needs" - elog "For example: " - elog "'ExecStart=/usr/bin/openvscode-server --without-connection-token --host 0.0.0.0'" - elog - elog "For more details, please refer to https://github.com/gitpod-io/openvscode-server#linux" - elog -}