From 9a1749f7620e6353a283b6fe269b6de1f7c2690c Mon Sep 17 00:00:00 2001 From: "D. Can Celasun" Date: Wed, 26 Feb 2025 18:38:52 +0000 Subject: [PATCH] [visual-studio-code-bin] Disable stripping See comment for rationale. --- .SRCINFO | 3 ++- PKGBUILD | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fce950e..123976e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = visual-studio-code-bin pkgdesc = Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version) pkgver = 1.97.2 - pkgrel = 1 + pkgrel = 2 url = https://code.visualstudio.com/ install = visual-studio-code-bin.install arch = x86_64 @@ -28,6 +28,7 @@ pkgbase = visual-studio-code-bin provides = code provides = vscode conflicts = code + options = !strip source = code.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.97.2/resources/linux/code.desktop source = code-url-handler.desktop.in::https://raw.githubusercontent.com/microsoft/vscode/1.97.2/resources/linux/code-url-handler.desktop source = code-workspace.xml.in::https://raw.githubusercontent.com/microsoft/vscode/1.97.2/resources/linux/code-workspace.xml diff --git a/PKGBUILD b/PKGBUILD index 3c9a0b5..5da7e17 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,13 +3,16 @@ pkgname=visual-studio-code-bin _pkgname=visual-studio-code pkgver=1.97.2 -pkgrel=1 +pkgrel=2 pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)" arch=('x86_64' 'aarch64' 'armv7h') url="https://code.visualstudio.com/" license=('custom: commercial') provides=('code' 'vscode') conflicts=('code') +# Upstream has signature verification for extensions and stripping breaks it +# See https://github.com/microsoft/vscode/issues/223455#issuecomment-2610001754 +options=(!strip) install=$pkgname.install # lsof: needed for terminal splitting, see https://github.com/Microsoft/vscode/issues/62991 # xdg-utils: needed for opening web links with xdg-open