From ccaa643a3485ba3e8417a0944ee5516f4eced73c Mon Sep 17 00:00:00 2001 From: Alex Lohr Date: Mon, 11 Dec 2023 18:46:27 +0100 Subject: [PATCH] vscode: update to 1.85.0 --- srcpkgs/vscode/patches/fix_dir.patch | 10 +++++----- srcpkgs/vscode/patches/remove_git_command.patch | 11 +++++------ srcpkgs/vscode/template | 4 ++-- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/srcpkgs/vscode/patches/fix_dir.patch b/srcpkgs/vscode/patches/fix_dir.patch index 62cef243e66ef..1a79ac4115cb8 100644 --- a/srcpkgs/vscode/patches/fix_dir.patch +++ b/srcpkgs/vscode/patches/fix_dir.patch @@ -25,7 +25,7 @@ index 7106e0e0969..faaff89d71c 100644 Type=Application NoDisplay=true diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop -index 72488b67700..c16e815d59f 100755 +index e2e3f534751..8e3ee8dccb6 100755 --- a/resources/linux/code.desktop +++ b/resources/linux/code.desktop @@ -2,7 +2,7 @@ @@ -37,10 +37,10 @@ index 72488b67700..c16e815d59f 100755 Icon=@@ICON@@ Type=Application StartupNotify=false -@@ -14,5 +14,5 @@ Keywords=vscode; - - [Desktop Action new-empty-window] - Name=New Empty Window +@@ -23,5 +23,5 @@ Name[ko]=새 빈 창 + Name[ru]=Новое пустое окно + Name[zh_CN]=新建空窗口 + Name[zh_TW]=開新空視窗 -Exec=@@EXEC@@ --new-window %F +Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --new-window %F Icon=@@ICON@@ diff --git a/srcpkgs/vscode/patches/remove_git_command.patch b/srcpkgs/vscode/patches/remove_git_command.patch index e7aeec6fcebf8..59ec4aa8ff695 100644 --- a/srcpkgs/vscode/patches/remove_git_command.patch +++ b/srcpkgs/vscode/patches/remove_git_command.patch @@ -1,11 +1,10 @@ diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js -index f86ceb779a9..61acb0a4d10 100644 +index 07b4412c458..6398ed7b0b6 100644 --- a/build/npm/postinstall.js +++ b/build/npm/postinstall.js -@@ -87,6 +87,3 @@ runtime "${runtime}"`; - fs.writeFileSync(yarnrcPath, yarnrc, 'utf8'); - yarnInstall(watchPath); +@@ -111,5 +111,3 @@ for (let dir of dirs) { + yarnInstall(dir, opts); } -- + -cp.execSync('git config pull.rebase merges'); --cp.execSync('git config blame.ignoreRevsFile .git-blame-ignore'); +-cp.execSync('git config blame.ignoreRevsFile .git-blame-ignore-revs'); diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index a95894e1cced1..b01687f7631c8 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,6 +1,6 @@ # Template file for 'vscode' pkgname=vscode -version=1.84.1 +version=1.85.0 revision=1 _electronver=24.3.0 _npmver=8.6.0 @@ -12,7 +12,7 @@ maintainer="shizonic , Alex Lohr " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/microsoft/vscode/archive/refs/tags/${version}.tar.gz" -checksum=67f66a6bf9180912006abb54a943febb27833ee5a7888f70d3465e581988f74b +checksum=b7fcf4fce5ce31669e93240783ff9ecfbe6d239bb2446c5eb3c11900d430a727 nocross=yes # x64 build does not cut it, it contains native code if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then