git: ebf5c593e50e - main - devel/electron18: update to 18.3.15

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 12 Jan 2023 07:37:35 UTC
The branch main has been updated by tagattie:

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

commit ebf5c593e50e55136af980ada027548e068dd026
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-01-12 07:36:09 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-01-12 07:37:25 +0000

    devel/electron18: update to 18.3.15
    
    Changelog:
    - https://github.com/electron/electron/releases/tag/v18.3.12
    - https://github.com/electron/electron/releases/tag/v18.3.13
    - https://github.com/electron/electron/releases/tag/v18.3.14
    - https://github.com/electron/electron/releases/tag/v18.3.15
---
 devel/electron18/Makefile                                  |  3 +--
 devel/electron18/Makefile.version                          |  2 +-
 devel/electron18/distinfo                                  | 10 +++++-----
 devel/electron18/files/package.json                        |  2 +-
 ...ctron_shell_browser_api_electron__api__web__contents.cc | 14 +++++++-------
 editors/vscode/Makefile                                    |  2 +-
 6 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/devel/electron18/Makefile b/devel/electron18/Makefile
index 0aa9fa56e2dc..d55ec8e50b41 100644
--- a/devel/electron18/Makefile
+++ b/devel/electron18/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER:S/-beta./.b/}
-PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v18.2.4/:chromium \
 		https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \
@@ -154,7 +153,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1662105378
+YARN_TIMESTAMP=	1673250830
 
 GN_ARGS+=		clang_use_chrome_plugins=false \
 			enable_hangout_services_extension=true \
diff --git a/devel/electron18/Makefile.version b/devel/electron18/Makefile.version
index 3dc323f12a02..d6bee696285b 100644
--- a/devel/electron18/Makefile.version
+++ b/devel/electron18/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	18.3.11
+ELECTRON_VER=	18.3.15
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron18/distinfo b/devel/electron18/distinfo
index 6db12599fd48..03197f4e2b97 100644
--- a/devel/electron18/distinfo
+++ b/devel/electron18/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1662191317
+TIMESTAMP = 1673255798
 SHA256 (electron/chromium-100.0.4896.160.tar.xz) = a3f755dff069c6fae3eb7f07b33c0dd3f0762fa82959f41c7bd347da8efbacff
 SIZE (electron/chromium-100.0.4896.160.tar.xz) = 1228994280
 SHA256 (electron/aad6877c8cd3cff0ef1ba628d71acc981c520c29) = 9793d0cfb94bf2ff099682dcd31ef46d1d7f42346c8a2f6355a5f8fda3dcd506
 SIZE (electron/aad6877c8cd3cff0ef1ba628d71acc981c520c29) = 12028653
 SHA256 (electron/cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb) = ec973eccd669d417fbf2d0a4dac730744a3174268ff062db5451b55c82bc3492
 SIZE (electron/cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb) = 26759650
-SHA256 (electron/electron-yarn-cache-18.3.11.tar.xz) = 9fe49409e4c2ef2b77a85d50baf12fa97c66e93ba698eeac3070acd40fb62e97
-SIZE (electron/electron-yarn-cache-18.3.11.tar.xz) = 38392644
-SHA256 (electron/electron-electron-v18.3.11_GH0.tar.gz) = 64b7a4fe17b52dc83480065b55dbfde4ae7d728e65a6d77cc917005cbbb2f72f
-SIZE (electron/electron-electron-v18.3.11_GH0.tar.gz) = 10589416
+SHA256 (electron/electron-yarn-cache-18.3.15.tar.xz) = f73cae5f6a2c4eb69ce9f13258045454b71b4d941cfac2e8a1792cc4d82be1d2
+SIZE (electron/electron-yarn-cache-18.3.15.tar.xz) = 38390620
+SHA256 (electron/electron-electron-v18.3.15_GH0.tar.gz) = 82da664cd90b8fcb41570740d26d014022b8dc69273583d4fc2224a95c494bd3
+SIZE (electron/electron-electron-v18.3.15_GH0.tar.gz) = 10612990
 SHA256 (electron/nodejs-node-v16.13.2_GH0.tar.gz) = 93c65be15bfe8151b4a99d529538b23ffc6b5e0202dc7df0e32aa780ab49ad97
 SIZE (electron/nodejs-node-v16.13.2_GH0.tar.gz) = 87972240
 SHA256 (electron/nodejs-nan-65b32af46e9d7fab2e4ff657751205b3865f4920_GH0.tar.gz) = a649b75bfa9c1a0254c73d022c6e98924b9471f593bcc83832daaf68da4cae8d
diff --git a/devel/electron18/files/package.json b/devel/electron18/files/package.json
index 894dc112dc7a..2012b22596c1 100644
--- a/devel/electron18/files/package.json
+++ b/devel/electron18/files/package.json
@@ -1,6 +1,6 @@
 {
   "name": "electron",
-  "version": "18.3.11",
+  "version": "18.3.15",
   "repository": "https://github.com/electron/electron",
   "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
   "devDependencies": {
diff --git a/devel/electron18/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron18/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
index 55c2126566de..f548aa507d97 100644
--- a/devel/electron18/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+++ b/devel/electron18/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_web_contents.cc.orig	2022-08-17 15:34:27 UTC
+--- electron/shell/browser/api/electron_api_web_contents.cc.orig	2022-09-27 16:14:07 UTC
 +++ electron/shell/browser/api/electron_api_web_contents.cc
-@@ -150,11 +150,11 @@
+@@ -154,11 +154,11 @@
  #include "ui/base/cocoa/defaults_utils.h"
  #endif
  
@@ -14,7 +14,7 @@
  #include "ui/gfx/font_render_params.h"
  #endif
  
-@@ -396,7 +396,7 @@ absl::optional<base::TimeDelta> GetCursorBlinkInterval
+@@ -399,7 +399,7 @@ absl::optional<base::TimeDelta> GetCursorBlinkInterval
        ui::TextInsertionCaretBlinkPeriodFromDefaults());
    if (system_value)
      return *system_value;
@@ -23,7 +23,7 @@
    if (auto* linux_ui = views::LinuxUI::instance())
      return linux_ui->GetCursorBlinkInterval();
  #elif BUILDFLAG(IS_WIN)
-@@ -833,7 +833,7 @@ void WebContents::InitWithSessionAndOptions(
+@@ -836,7 +836,7 @@ void WebContents::InitWithSessionAndOptions(
    accept_languages.pop_back();
    prefs->accept_languages = accept_languages;
  
@@ -32,7 +32,7 @@
    // Update font settings.
    static const gfx::FontRenderParams params(
        gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
-@@ -2356,7 +2356,7 @@ void WebContents::ForcefullyCrashRenderer() {
+@@ -2359,7 +2359,7 @@ void WebContents::ForcefullyCrashRenderer() {
  
    content::RenderProcessHost* rph = rwh->GetProcess();
    if (rph) {
@@ -41,7 +41,7 @@
      // A generic |CrashDumpHungChildProcess()| is not implemented for Linux.
      // Instead we send an explicit IPC to crash on the renderer's IO thread.
      rph->ForceCrash();
-@@ -2944,7 +2944,7 @@ void WebContents::CopyImageAt(int x, int y) {
+@@ -2947,7 +2947,7 @@ void WebContents::CopyImageAt(int x, int y) {
  void WebContents::Focus() {
    // Focusing on WebContents does not automatically focus the window on macOS
    // and Linux, do it manually to match the behavior on Windows.
@@ -50,7 +50,7 @@
    if (owner_window())
      owner_window()->Focus(true);
  #endif
-@@ -3777,7 +3777,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -3780,7 +3780,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
  }
  #endif
  
diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile
index 791b6fdb10b7..c0062ddf53ed 100644
--- a/editors/vscode/Makefile
+++ b/editors/vscode/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vscode
 DISTVERSION=	1.70.2
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	editors
 MASTER_SITES=	https://registry.npmjs.org/esbuild-freebsd-64/-/:esbuild_binary \
 		https://nodejs.org/dist/v${NODE_VER}/:node_headers \