From 17b80bef8bf46f2f24b372d785a54b2652eabd21 Mon Sep 17 00:00:00 2001 From: Toby Merz Date: Fri, 11 Jun 2021 11:54:35 +0200 Subject: [PATCH] vscode: update to 1.57.0. --- srcpkgs/vscode/patches/fix_dir.patch | 12 ++++++------ srcpkgs/vscode/patches/product.patch | 10 +++++----- srcpkgs/vscode/template | 6 +++--- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/srcpkgs/vscode/patches/fix_dir.patch b/srcpkgs/vscode/patches/fix_dir.patch index f27e7c283047..12ed8beec2d2 100644 --- a/srcpkgs/vscode/patches/fix_dir.patch +++ b/srcpkgs/vscode/patches/fix_dir.patch @@ -1,5 +1,5 @@ diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh -index 06973937f14..78f72c9e9ed 100755 +index 06973937f149..78f72c9e9ed5 100755 --- a/resources/linux/bin/code.sh +++ b/resources/linux/bin/code.sh @@ -44,7 +44,7 @@ else @@ -12,27 +12,27 @@ index 06973937f14..78f72c9e9ed 100755 fi diff --git a/resources/linux/code-url-handler.desktop b/resources/linux/code-url-handler.desktop -index b85525fbd04..bab6df4eeb5 100644 +index 7106e0e0969b..bab6df4eeb53 100644 --- a/resources/linux/code-url-handler.desktop +++ b/resources/linux/code-url-handler.desktop @@ -2,7 +2,7 @@ Name=@@NAME_LONG@@ - URL Handler Comment=Code Editing. Redefined. GenericName=Text Editor --Exec=@@EXEC@@ --no-sandbox --open-url %U +-Exec=@@EXEC@@ --open-url %U +Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --open-url %U Icon=@@ICON@@ Type=Application NoDisplay=true diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop -index 62d6bfc47b4..a014f6748d0 100755 +index ab3b79a011b7..a014f6748d0b 100755 --- a/resources/linux/code.desktop +++ b/resources/linux/code.desktop @@ -2,7 +2,7 @@ Name=@@NAME_LONG@@ Comment=Code Editing. Redefined. GenericName=Text Editor --Exec=@@EXEC@@ --no-sandbox --unity-launch %F +-Exec=@@EXEC@@ --unity-launch %F +Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --unity-launch %F Icon=@@ICON@@ Type=Application @@ -41,6 +41,6 @@ index 62d6bfc47b4..a014f6748d0 100755 [Desktop Action new-empty-window] Name=New Empty Window --Exec=@@EXEC@@ --no-sandbox --new-window %F +-Exec=@@EXEC@@ --new-window %F +Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --new-window %F Icon=@@ICON@@ diff --git a/srcpkgs/vscode/patches/product.patch b/srcpkgs/vscode/patches/product.patch index eb7b91d8b977..47440585d5de 100644 --- a/srcpkgs/vscode/patches/product.patch +++ b/srcpkgs/vscode/patches/product.patch @@ -1,5 +1,5 @@ diff --git a/product.json b/product.json -index 3facf29bc27..45e3fab95a7 100644 +index 9010521ca351..3abefe7bd69a 100644 --- a/product.json +++ b/product.json @@ -22,6 +22,9 @@ @@ -9,12 +9,12 @@ index 3facf29bc27..45e3fab95a7 100644 + "quality": "stable", + "documentationUrl": "https://github.com/microsoft/vscode-docs", + "requestFeatureUrl": "https://github.com/Microsoft/vscode/issues", + "webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-webview.net/{{quality}}/{{commit}}/out/vs/workbench/contrib/webview/browser/pre/", "extensionAllowedProposedApi": [ "ms-vscode.vscode-js-profile-flame", - "ms-vscode.vscode-js-profile-table", -@@ -30,6 +33,11 @@ - "ms-vscode.remotehub", - "ms-vscode.remotehub-insiders" +@@ -31,6 +34,11 @@ + "GitHub.remotehub", + "GitHub.remotehub-insiders" ], + "extensionsGallery": { + "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery", diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index b3f667cf30cc..11b5f3eea411 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,8 +1,8 @@ # Template file for 'vscode' pkgname=vscode -version=1.56.2 +version=1.57.0 revision=1 -_electronver=12.0.4 +_electronver=12.0.9 hostmakedepends="pkg-config python nodejs yarn tar git" makedepends="libxkbfile-devel libsecret-devel electron12" depends="libXtst libxkbfile nss dejavu-fonts-ttf xdg-utils ripgrep electron12" @@ -11,7 +11,7 @@ maintainer="shizonic " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz" -checksum=d1963dd3aeb600c34a246dfc35ff36c0f8b3ddbd3e2c92775a50e84f159b6014 +checksum=36d3062740125ea4477ba671c53c27293660a1ae61d712d936af12c7f89ab17e patch_args="-Np1" if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then