From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E1A6615808A for ; Wed, 06 Aug 2025 17:33:40 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C8B7B3420C0 for ; Wed, 06 Aug 2025 17:33:40 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F1927110562; Wed, 06 Aug 2025 17:33:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E14B4110561 for ; Wed, 06 Aug 2025 17:33:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B517341FFC for ; Wed, 06 Aug 2025 17:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12B4932A1 for ; Wed, 06 Aug 2025 17:33:28 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1754501535.a3fdbc079d2a7777cce14e62fa09cf307f48498d.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vscode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/vscode/Manifest app-editors/vscode/vscode-1.102.3.ebuild X-VCS-Directories: app-editors/vscode/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: a3fdbc079d2a7777cce14e62fa09cf307f48498d X-VCS-Branch: master Date: Wed, 06 Aug 2025 17:33:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2dfc2d60-da42-4117-83db-5a9db9474f77 X-Archives-Hash: d77b2304a3c18c61bde03c5422bbe64a commit: a3fdbc079d2a7777cce14e62fa09cf307f48498d Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 6 17:32:15 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 6 17:32:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3fdbc07 app-editors/vscode: add 1.102.3 Signed-off-by: Arthur Zamarin gentoo.org> app-editors/vscode/Manifest | 3 + app-editors/vscode/vscode-1.102.3.ebuild | 154 +++++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+) diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index 7b8234e8ac15..4cbd7e1c2d98 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -1,3 +1,6 @@ DIST vscode-1.102.2-amd64.tar.gz 154349276 BLAKE2B 1e2f7538d369d9901894ce3269f8c7aca0b0f6e006f2422ba4157d17eb9c44580a3748f03c9d0c1d49a8957a34977150cb90002dcac431428a81c1c3dd86fb6d SHA512 ce5a84c91a412687ef12dce6fd0498845fed0916bdb7100a1cbcb54f38fcc890d11d5ec60b58e54a12bfdaec921fcb9052c4b766da2492112166070d3611d760 DIST vscode-1.102.2-arm.tar.gz 139404485 BLAKE2B 8be937c0edf2f37f130e6ca3f971fafcfccc2f3c9a6c39dea06fd2b5bc0bc89428eecc11afd280097a12e356bbcf6be986d26e7a3f71ab21666a65223c7d84fc SHA512 eca222b84b510ad742275c1a3ba6ae7795970d0263d2ff32fff319b7c0593903efc01ad674b85c1f7c52499911a1960873d80cf3ae965d80f3f9fb57b15c2406 DIST vscode-1.102.2-arm64.tar.gz 150277435 BLAKE2B 1a5680818dd074a98449a42a5368511fd2f69fffb3e20b4094fa691238909df29eb7c0b02778bbbdf06337ec4cf8f91f32d171aedcfb8b25c3211c1de9d6d4c1 SHA512 34de448bbce85ea39d1727208f8daac9dd09d3b3321e6099fcd783c4be642c62668c76ca9589c14aa8ef90ddbf88b44ce75f5a78da235a5e19fd2e5b5bb8a50e +DIST vscode-1.102.3-amd64.tar.gz 154367064 BLAKE2B 2f37b5ea004d12291c5a8459b41e1fa664a2c8e13c5dc4fabc0c0b2d65da7558011d9d118ea6f30640dc1e76c17da8d89c0d7cb6fdf614eccf3978d001e1edba SHA512 d4fe0839d9d1aac8641c2062a37e109d5b3cd742935f10493f139d9dc36b00ba3294bb5b7c14fa9553ffaf70f05debc6b1116c1298d6a972a383991de40f285b +DIST vscode-1.102.3-arm.tar.gz 139414249 BLAKE2B 9d410607862b9a3b167a8751d8ca4ef8fa6b693e832283107e7be83130833f59f62bf05966f5d4d596108c73fff970022133dbaf72a9969d1c62c610175022a3 SHA512 fe3deea966dc2a09b43a99ce09708f7f43c10bef460cf79db5610d8beda826ff31a5ce048d88953ebffddd59295b9c4a071cb7a0efb405aa776a48905f7a7730 +DIST vscode-1.102.3-arm64.tar.gz 150275352 BLAKE2B 73eb2f61ad570fba36e56ba5a9b5200cacc739dca6198bd8126c1d4b3236e9a4972186eb0e2b4a5c98b1e254f1f7b25556cb9fff304c0f614009b4a55d9dc803 SHA512 2d0c1e0f2f155e07712e5acc66a9344655a6c7808d34f373b7d079d3e1977de3d399bf8e2436cfe433ab4cb379fb03cab75789c06f73a5b0215c6a9c022cb2a3 diff --git a/app-editors/vscode/vscode-1.102.3.ebuild b/app-editors/vscode/vscode-1.102.3.ebuild new file mode 100644 index 000000000000..bc12746ee850 --- /dev/null +++ b/app-editors/vscode/vscode-1.102.3.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he + hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr + sv sw ta te th tr uk ur vi zh-CN zh-TW" + +inherit chromium-2 desktop pax-utils xdg optfeature + +DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" +HOMEPAGE="https://code.visualstudio.com" +SRC_URI=" + amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz ) + arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz ) + arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz ) +" +S="${WORKDIR}" + +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" +IUSE="egl kerberos wayland" +RESTRICT="mirror strip bindist" + +RDEPEND=" + || ( + sys-apps/systemd + sys-apps/systemd-utils + ) + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/libglvnd + media-libs/mesa + net-misc/curl + sys-apps/dbus + sys-libs/zlib + sys-process/lsof + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/pango + x11-misc/xdg-utils + kerberos? ( app-crypt/mit-krb5 ) +" + +QA_PREBUILT="*" + +src_unpack() { + default + mv "${S}"/VSCode-linux-* "${S}/vscode" || die +} + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + pushd "vscode/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die +} + +src_install() { + cd vscode || die + + # Cleanup + rm -r ./resources/app/ThirdPartyNotices.txt || die + + # Disable update server + sed -e "/updateUrl/d" -i ./resources/app/product.json || die + + if ! use kerberos; then + rm -r ./resources/app/node_modules/kerberos || die + fi + + # Install + pax-mark m code + mkdir -p "${ED}/opt/${PN}" || die + cp -r . "${ED}/opt/${PN}" || die + fperms 4711 /opt/${PN}/chrome-sandbox + + dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode" + dosym -r "/opt/${PN}/bin/code" "usr/bin/code" + + local EXEC_EXTRA_FLAGS=() + if use wayland; then + EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" ) + fi + if use egl; then + EXEC_EXTRA_FLAGS+=( "--use-gl=egl" ) + fi + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/code-url-handler.desktop" \ + > "${T}/code-url-handler.desktop" || die + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/code.desktop" \ + > "${T}/code.desktop" || die + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/code-open-in-new-window.desktop" \ + > "${T}/code-open-in-new-window.desktop" || die + + domenu "${T}/code.desktop" + domenu "${T}/code-url-handler.desktop" + domenu "${T}/code-open-in-new-window.desktop" + newicon "resources/app/resources/linux/code.png" "vscode.png" +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "desktop notifications" x11-libs/libnotify + optfeature "keyring support inside vscode" "virtual/secret-service" + optfeature "Live Share" dev-libs/icu +}