From 126605593287a25e7b341290ee26246124f44cfa Mon Sep 17 00:00:00 2001 From: Alex Lohr Date: Fri, 8 May 2020 10:25:19 +0200 Subject: [PATCH] vscode: update to 1.45.0 --- srcpkgs/vscode/patches/fix_dir.patch | 3 +-- srcpkgs/vscode/patches/gulp.patch | 2 +- srcpkgs/vscode/patches/product.patch | 11 +++++------ srcpkgs/vscode/template | 4 ++-- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/srcpkgs/vscode/patches/fix_dir.patch b/srcpkgs/vscode/patches/fix_dir.patch index 799f7ec9159..926e0ecb841 100644 --- a/srcpkgs/vscode/patches/fix_dir.patch +++ b/srcpkgs/vscode/patches/fix_dir.patch @@ -28,7 +28,7 @@ diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop index b975e1094a2c..a094cc36e810 100644 --- a/resources/linux/code.desktop +++ b/resources/linux/code.desktop -@@ -2,7 +2,7 @@ +@@ -2,6 +2,6 @@ Name=@@NAME_LONG@@ Comment=Code Editing. Redefined. GenericName=Text Editor @@ -36,7 +36,6 @@ index b975e1094a2c..a094cc36e810 100644 +Exec=/usr/lib/@@NAME@@/@@NAME@@ --no-sandbox --unity-launch %F Icon=@@ICON@@ Type=Application - StartupNotify=false @@ -14,5 +14,5 @@ Keywords=vscode; [Desktop Action new-empty-window] diff --git a/srcpkgs/vscode/patches/gulp.patch b/srcpkgs/vscode/patches/gulp.patch index f8eec1cb4f3..2b90eb988b1 100644 --- a/srcpkgs/vscode/patches/gulp.patch +++ b/srcpkgs/vscode/patches/gulp.patch @@ -2,7 +2,7 @@ diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js index 93a943aba0be..5ab9be8c4bb5 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js -@@ -257,7 +257,15 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op +@@ -256,7 +256,15 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op 'resources/win32/code_150x150.png' ], { base: '.' })); } else if (platform === 'linux') { diff --git a/srcpkgs/vscode/patches/product.patch b/srcpkgs/vscode/patches/product.patch index 5816588e574..f9bccfb5abc 100644 --- a/srcpkgs/vscode/patches/product.patch +++ b/srcpkgs/vscode/patches/product.patch @@ -2,20 +2,19 @@ diff --git a/product.json b/product.json index 759d76553339..6dccc0906900 100644 --- a/product.json +++ b/product.json -@@ -20,7 +20,15 @@ - "licenseFileName": "LICENSE.txt", +@@ -21,7 +21,15 @@ "reportIssueUrl": "https://github.com/Microsoft/vscode/issues/new", "urlProtocol": "code-oss", + "quality": "stable", "extensionAllowedProposedApi": [ + "ms-vscode.vscode-js-profile-table", "ms-vscode.references-view" -- ] -+ ], + ], + "extensionsGallery": { + "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery", + "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index", + "itemUrl": "https://marketplace.visualstudio.com/items" + }, + "documentationUrl": "https://github.com/microsoft/vscode-docs", -+ "requestFeatureUrl": "https://github.com/Microsoft/vscode/issues" - } ++ "requestFeatureUrl": "https://github.com/Microsoft/vscode/issues", + "builtInExtensions": [ diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index fae96b1e332..24392e636a0 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,6 +1,6 @@ # Template file for 'vscode' pkgname=vscode -version=1.44.2 +version=1.45.0 revision=1 hostmakedepends="pkg-config python nodejs-lts-10 yarn tar" makedepends="libxkbfile-devel libsecret-devel" @@ -10,7 +10,7 @@ maintainer="shizonic " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz" -checksum=98d4d48f0fd287c84aa40cf7c80c6dc682220cef7e97257a8a5c9dc74d05fa97 +checksum=549e0dd00d6d84fc108246dd284c62c504688650ac74ecc6368ecaba6141c70d patch_args="-Np1" # Due to electron