git: 9b7c57306600 - main - editors/vscode: update to 1.81.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Mon, 07 Aug 2023 10:29:16 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b7c57306600130beace04245598669fea8d3416

commit 9b7c57306600130beace04245598669fea8d3416
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-08-07 10:27:08 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-08-07 10:29:08 +0000

    editors/vscode: update to 1.81.0
    
    Changelog: https://code.visualstudio.com/updates/v1_81
    
    Reported by:    GitHub (watch releases)
---
 editors/vscode/Makefile                                    |  6 +++---
 editors/vscode/distinfo                                    | 14 +++++++-------
 .../node_modules/patch-node__modules_kerberos_binding.gyp  | 11 +++++++++++
 .../patch-node__modules_kerberos_src_kerberos__common.h    | 11 +++++++++++
 .../patch-remote_node__modules_kerberos_binding.gyp        | 11 +++++++++++
 ...ch-remote_node__modules_kerberos_src_kerberos__common.h | 11 +++++++++++
 editors/vscode/files/patch-build_npm_postinstall.js        |  4 ++--
 .../vscode/files/patch-src_vs_code_electron-main_app.ts    |  4 ++--
 ...workbench_contrib_extensions_browser_extensionEditor.ts |  4 ++--
 editors/vscode/pkg-plist                                   |  6 +++++-
 10 files changed, 65 insertions(+), 17 deletions(-)

diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile
index 1ee69ae49bd6..e00449db2270 100644
--- a/editors/vscode/Makefile
+++ b/editors/vscode/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	vscode
-DISTVERSION=	1.80.2
-PORTREVISION=	1
+DISTVERSION=	1.81.0
 CATEGORIES=	editors
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:yarn_cache
 DISTFILES=	yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache \
@@ -46,6 +45,7 @@ LIB_DEPENDS=	libatk-bridge-2.0.so:accessibility/at-spi2-core \
 		libcups.so:print/cups \
 		libfreetype.so:print/freetype2 \
 		libharfbuzz.so:print/harfbuzz \
+		libkrb5.so.3:security/krb5 \
 		libsecret-1.so:security/libsecret \
 		libnss3.so:security/nss \
 		libexpat.so:textproc/expat2 \
@@ -63,7 +63,7 @@ USES=		desktop-file-utils gl gmake gnome iconv:wchar_t jpeg \
 USE_GITHUB=	yes
 GH_ACCOUNT=	microsoft
 
-SOURCE_COMMIT_HASH=	2ccd690cbff1569e4a83d7c43d45101f817401dc
+SOURCE_COMMIT_HASH=	6445d93c81ebe42c4cbd7a60712e0b17d9463e97
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
 
diff --git a/editors/vscode/distinfo b/editors/vscode/distinfo
index 8b0a504040c1..40fb761722a1 100644
--- a/editors/vscode/distinfo
+++ b/editors/vscode/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1690765840
-SHA256 (vscode/yarn-offline-cache-1.80.2.tar.gz) = 8c777713d0c5545650c1a7aa6359f783fc58e71bce25fdc097f3ffec43063cad
-SIZE (vscode/yarn-offline-cache-1.80.2.tar.gz) = 339892252
-SHA256 (vscode/vscode-marketplace-exts-1.80.2.tar.gz) = 847fc147487f344c5d53e8da6e149f58d5adc340cb15f11fbf2eef337bb10d2c
-SIZE (vscode/vscode-marketplace-exts-1.80.2.tar.gz) = 1746242
-SHA256 (vscode/microsoft-vscode-1.80.2_GH0.tar.gz) = 10019f2719ac22ffcf2cf2ee77ad4d44dba49563a867ce88f9041ab7a2335200
-SIZE (vscode/microsoft-vscode-1.80.2_GH0.tar.gz) = 16711310
+TIMESTAMP = 1691287752
+SHA256 (vscode/yarn-offline-cache-1.81.0.tar.gz) = 92e66068c8bd61de48868627c56405c18e3a46efb0d96f6acc87c0df6a907523
+SIZE (vscode/yarn-offline-cache-1.81.0.tar.gz) = 338709700
+SHA256 (vscode/vscode-marketplace-exts-1.81.0.tar.gz) = 77eafa8cc779ea4c11c0a94859588a8f737427cdf264acd7524238fe38d4d92d
+SIZE (vscode/vscode-marketplace-exts-1.81.0.tar.gz) = 1750041
+SHA256 (vscode/microsoft-vscode-1.81.0_GH0.tar.gz) = ef970f1349b467ac8b63e01d9f9bad81f7d5088c01f55919f0b21f12a46acbaf
+SIZE (vscode/microsoft-vscode-1.81.0_GH0.tar.gz) = 16877817
diff --git a/editors/vscode/files/node_modules/patch-node__modules_kerberos_binding.gyp b/editors/vscode/files/node_modules/patch-node__modules_kerberos_binding.gyp
new file mode 100644
index 000000000000..d48c17138f06
--- /dev/null
+++ b/editors/vscode/files/node_modules/patch-node__modules_kerberos_binding.gyp
@@ -0,0 +1,11 @@
+--- node_modules/kerberos/binding.gyp.orig	2023-08-06 02:30:08 UTC
++++ node_modules/kerberos/binding.gyp
+@@ -24,7 +24,7 @@
+               'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
+             }
+         }],
+-        ['OS=="mac" or OS=="linux"', {
++        ['OS=="mac" or OS=="linux" or OS=="freebsd"', {
+           'sources': [
+             'src/unix/base64.cc',
+             'src/unix/kerberos_gss.cc',
diff --git a/editors/vscode/files/node_modules/patch-node__modules_kerberos_src_kerberos__common.h b/editors/vscode/files/node_modules/patch-node__modules_kerberos_src_kerberos__common.h
new file mode 100644
index 000000000000..3234d4943716
--- /dev/null
+++ b/editors/vscode/files/node_modules/patch-node__modules_kerberos_src_kerberos__common.h
@@ -0,0 +1,11 @@
+--- node_modules/kerberos/src/kerberos_common.h.orig	2023-08-06 02:45:18 UTC
++++ node_modules/kerberos/src/kerberos_common.h
+@@ -1,7 +1,7 @@
+ #ifndef KERBEROS_COMMON_H
+ #define KERBEROS_COMMON_H
+ 
+-#if defined(__linux__) || defined(__APPLE__)
++#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
+ #include "unix/kerberos_gss.h"
+ 
+ namespace node_kerberos {
diff --git a/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_binding.gyp b/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_binding.gyp
new file mode 100644
index 000000000000..2126d73d7c70
--- /dev/null
+++ b/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_binding.gyp
@@ -0,0 +1,11 @@
+--- remote/node_modules/kerberos/binding.gyp.orig	2023-08-06 02:31:09 UTC
++++ remote/node_modules/kerberos/binding.gyp
+@@ -24,7 +24,7 @@
+               'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
+             }
+         }],
+-        ['OS=="mac" or OS=="linux"', {
++        ['OS=="mac" or OS=="linux" or OS=="freebsd"', {
+           'sources': [
+             'src/unix/base64.cc',
+             'src/unix/kerberos_gss.cc',
diff --git a/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos__common.h b/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos__common.h
new file mode 100644
index 000000000000..d495305af700
--- /dev/null
+++ b/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos__common.h
@@ -0,0 +1,11 @@
+--- remote/node_modules/kerberos/src/kerberos_common.h.orig	2023-08-06 02:46:04 UTC
++++ remote/node_modules/kerberos/src/kerberos_common.h
+@@ -1,7 +1,7 @@
+ #ifndef KERBEROS_COMMON_H
+ #define KERBEROS_COMMON_H
+ 
+-#if defined(__linux__) || defined(__APPLE__)
++#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
+ #include "unix/kerberos_gss.h"
+ 
+ namespace node_kerberos {
diff --git a/editors/vscode/files/patch-build_npm_postinstall.js b/editors/vscode/files/patch-build_npm_postinstall.js
index fc909031ffd7..eea5f96e29b0 100644
--- a/editors/vscode/files/patch-build_npm_postinstall.js
+++ b/editors/vscode/files/patch-build_npm_postinstall.js
@@ -1,4 +1,4 @@
---- build/npm/postinstall.js.orig	2023-05-03 19:37:04 UTC
+--- build/npm/postinstall.js.orig	2023-08-02 11:59:07 UTC
 +++ build/npm/postinstall.js
 @@ -41,8 +41,14 @@ function yarnInstall(dir, opts) {
  	const raw = process.env['npm_config_argv'] || '{}';
@@ -17,7 +17,7 @@
  	if (opts.ignoreEngines) {
  		args.push('--ignore-engines');
  		delete opts.ignoreEngines;
-@@ -108,5 +114,5 @@ for (let dir of dirs) {
+@@ -111,5 +117,5 @@ for (let dir of dirs) {
  	yarnInstall(dir, opts);
  }
  
diff --git a/editors/vscode/files/patch-src_vs_code_electron-main_app.ts b/editors/vscode/files/patch-src_vs_code_electron-main_app.ts
index 6e62be9e09c1..f802fd7c224d 100644
--- a/editors/vscode/files/patch-src_vs_code_electron-main_app.ts
+++ b/editors/vscode/files/patch-src_vs_code_electron-main_app.ts
@@ -1,6 +1,6 @@
---- src/vs/code/electron-main/app.ts.orig	2023-07-04 10:23:33 UTC
+--- src/vs/code/electron-main/app.ts.orig	2023-08-02 11:59:07 UTC
 +++ src/vs/code/electron-main/app.ts
-@@ -899,7 +899,7 @@ export class CodeApplication extends Disposable {
+@@ -903,7 +903,7 @@ export class CodeApplication extends Disposable {
  				services.set(IUpdateService, new SyncDescriptor(Win32UpdateService));
  				break;
  
diff --git a/editors/vscode/files/patch-src_vs_workbench_contrib_extensions_browser_extensionEditor.ts b/editors/vscode/files/patch-src_vs_workbench_contrib_extensions_browser_extensionEditor.ts
index 2fb1d1f94644..e746eaddcdae 100644
--- a/editors/vscode/files/patch-src_vs_workbench_contrib_extensions_browser_extensionEditor.ts
+++ b/editors/vscode/files/patch-src_vs_workbench_contrib_extensions_browser_extensionEditor.ts
@@ -1,6 +1,6 @@
---- src/vs/workbench/contrib/extensions/browser/extensionEditor.ts.orig	2023-06-07 13:23:47 UTC
+--- src/vs/workbench/contrib/extensions/browser/extensionEditor.ts.orig	2023-08-02 11:59:07 UTC
 +++ src/vs/workbench/contrib/extensions/browser/extensionEditor.ts
-@@ -1738,7 +1738,8 @@ export class ExtensionEditor extends EditorPane {
+@@ -1739,7 +1739,8 @@ export class ExtensionEditor extends EditorPane {
  
  		switch (platform) {
  			case 'win32': key = rawKeyBinding.win; break;
diff --git a/editors/vscode/pkg-plist b/editors/vscode/pkg-plist
index 15f4086f188e..97258211c8e4 100644
--- a/editors/vscode/pkg-plist
+++ b/editors/vscode/pkg-plist
@@ -186,6 +186,7 @@ share/applications/code-oss.desktop
 %%DATADIR%%/resources/app/extensions/git/resources/icons/dark/status-ignored.svg
 %%DATADIR%%/resources/app/extensions/git/resources/icons/dark/status-modified.svg
 %%DATADIR%%/resources/app/extensions/git/resources/icons/dark/status-renamed.svg
+%%DATADIR%%/resources/app/extensions/git/resources/icons/dark/status-type-changed.svg
 %%DATADIR%%/resources/app/extensions/git/resources/icons/dark/status-untracked.svg
 %%DATADIR%%/resources/app/extensions/git/resources/icons/git.png
 %%DATADIR%%/resources/app/extensions/git/resources/icons/light/status-added.svg
@@ -195,6 +196,7 @@ share/applications/code-oss.desktop
 %%DATADIR%%/resources/app/extensions/git/resources/icons/light/status-ignored.svg
 %%DATADIR%%/resources/app/extensions/git/resources/icons/light/status-modified.svg
 %%DATADIR%%/resources/app/extensions/git/resources/icons/light/status-renamed.svg
+%%DATADIR%%/resources/app/extensions/git/resources/icons/light/status-type-changed.svg
 %%DATADIR%%/resources/app/extensions/git/resources/icons/light/status-untracked.svg
 %%DATADIR%%/resources/app/extensions/github-authentication/README.md
 %%DATADIR%%/resources/app/extensions/github-authentication/dist/extension.js
@@ -808,6 +810,8 @@ share/applications/code-oss.desktop
 %%DATADIR%%/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg
 %%DATADIR%%/resources/app/node_modules.asar.unpacked/@vscode/spdlog/build/Release/spdlog.node
 %%DATADIR%%/resources/app/node_modules.asar.unpacked/@vscode/sqlite3/build/Release/vscode-sqlite3.node
+%%DATADIR%%/resources/app/node_modules.asar.unpacked/kerberos/build/Release/kerberos.node
+%%DATADIR%%/resources/app/node_modules.asar.unpacked/kerberos/build/Release/obj.target/kerberos.node
 %%DATADIR%%/resources/app/node_modules.asar.unpacked/keytar/build/Release/keytar.node
 %%DATADIR%%/resources/app/node_modules.asar.unpacked/keytar/build/Release/obj.target/keytar.node
 %%DATADIR%%/resources/app/node_modules.asar.unpacked/native-is-elevated/build/Release/iselevated.node
@@ -946,7 +950,7 @@ share/applications/code-oss.desktop
 %%DATADIR%%/resources/app/out/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html
 %%DATADIR%%/resources/app/out/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.js
 %%DATADIR%%/resources/app/out/vs/workbench/services/search/worker/localFileSearch.js
-%%DATADIR%%/resources/app/out/vs/workbench/services/textMate/browser/worker/textMate.worker.js
+%%DATADIR%%/resources/app/out/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateTokenizationWorker.worker.js
 %%DATADIR%%/resources/app/out/vs/workbench/workbench.desktop.main.css
 %%DATADIR%%/resources/app/out/vs/workbench/workbench.desktop.main.js
 %%DATADIR%%/resources/app/out/vs/workbench/workbench.desktop.main.nls.js