git: 56e13867570f - main - devel/electron23: update to 23.3.7

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Mon, 19 Jun 2023 10:47:58 UTC
The branch main has been updated by tagattie:

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

commit 56e13867570fe17e822dfa3843a049d99f0bb0c5
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-06-19 10:46:00 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-06-19 10:47:49 +0000

    devel/electron23: update to 23.3.7
    
    Changelog: https://github.com/electron/electron/releases/tag/v23.3.7
    
    Reported by:    GitHub (watch releases)
    Security:       3bf6795c-d44c-4033-9b37-ed2e30f34fca
---
 devel/electron23/Makefile                              |  2 +-
 devel/electron23/Makefile.version                      |  2 +-
 devel/electron23/distinfo                              | 10 +++++-----
 ...tch-electron_shell_browser_native__window__views.cc | 18 +++++++++---------
 .../patch-electron_spec_api-browser-window-spec.ts     |  4 ++--
 devel/electron23/files/patch-v8_src_api_api.cc         |  4 ++--
 6 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/devel/electron23/Makefile b/devel/electron23/Makefile
index 7c83aa1e3ffa..d4ac6f30c98b 100644
--- a/devel/electron23/Makefile
+++ b/devel/electron23/Makefile
@@ -222,7 +222,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1686221676
+YARN_TIMESTAMP=	1687040901
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron23/Makefile.version b/devel/electron23/Makefile.version
index 279296515881..5030682ff5ef 100644
--- a/devel/electron23/Makefile.version
+++ b/devel/electron23/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	23.3.6
+ELECTRON_VER=	23.3.7
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron23/distinfo b/devel/electron23/distinfo
index 1f62493091f1..70554496f687 100644
--- a/devel/electron23/distinfo
+++ b/devel/electron23/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1686222375
+TIMESTAMP = 1687042206
 SHA256 (electron/chromium-110.0.5481.208.tar.xz) = 9f364e9a61a961b808ac241076fe25f8c48e5d7349a3236a9023a51018890ccc
 SIZE (electron/chromium-110.0.5481.208.tar.xz) = 1554639732
 SHA256 (electron/32dc8abec1486818f6ef4afc4996abc002b5218e) = b7f797156b45c21a104f732366dad74e5b401bae8e3ce75fe1e54769cda3c0c2
 SIZE (electron/32dc8abec1486818f6ef4afc4996abc002b5218e) = 9903987
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-23.3.6.tar.xz) = c93b094a62639af5d9d9ae10c92147ad50aabec66924992dbf6dbed6221c48f9
-SIZE (electron/electron-yarn-cache-23.3.6.tar.xz) = 38871736
-SHA256 (electron/electron-electron-v23.3.6_GH0.tar.gz) = 26c4c9a7110dcd796413530fd2ae97378be7861bb24129c7dc7d4ea3664591ca
-SIZE (electron/electron-electron-v23.3.6_GH0.tar.gz) = 10493286
+SHA256 (electron/electron-yarn-cache-23.3.7.tar.xz) = 499bf0a8ec32febf0d1cdef9b1a6e512a3e2073e657777b647f0c07ffaebb9a4
+SIZE (electron/electron-yarn-cache-23.3.7.tar.xz) = 38871740
+SHA256 (electron/electron-electron-v23.3.7_GH0.tar.gz) = 293f802beb51fa76032cd464627b2538210756d3cc0f3d94dd62cb6d7c99036e
+SIZE (electron/electron-electron-v23.3.7_GH0.tar.gz) = 10520112
 SHA256 (electron/nodejs-node-v18.12.1_GH0.tar.gz) = 7e7962209d25ed6c28b722b78a0b0ca304307d7bf536aca142be330901b11d50
 SIZE (electron/nodejs-node-v18.12.1_GH0.tar.gz) = 108947341
 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39
diff --git a/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc
index 0ce80aecff4e..9bb9f8117373 100644
--- a/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc
+++ b/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/native_window_views.cc.orig	2023-05-22 19:20:12 UTC
+--- electron/shell/browser/native_window_views.cc.orig	2023-06-12 21:36:35 UTC
 +++ electron/shell/browser/native_window_views.cc
 @@ -42,7 +42,7 @@
  #include "ui/wm/core/shadow_types.h"
@@ -54,7 +54,7 @@
  void NativeWindowViews::Maximize() {
    if (IsVisible()) {
      widget()->Maximize();
-@@ -736,7 +736,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou
+@@ -740,7 +740,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou
    }
  #endif
  
@@ -63,7 +63,7 @@
    // On Linux and Windows the minimum and maximum size should be updated with
    // window size when window is not resizable.
    if (!resizable_) {
-@@ -972,7 +972,7 @@ bool NativeWindowViews::IsClosable() {
+@@ -976,7 +976,7 @@ bool NativeWindowViews::IsClosable() {
      return false;
    }
    return !(info.fState & MFS_DISABLED);
@@ -72,7 +72,7 @@
    return true;
  #endif
  }
-@@ -1360,7 +1360,7 @@ void NativeWindowViews::SetProgressBar(double progress
+@@ -1364,7 +1364,7 @@ void NativeWindowViews::SetProgressBar(double progress
                                         NativeWindow::ProgressState state) {
  #if BUILDFLAG(IS_WIN)
    taskbar_host_.SetProgressBar(GetAcceleratedWidget(), progress, state);
@@ -81,7 +81,7 @@
    if (unity::IsRunning()) {
      unity::SetProgressFraction(progress);
    }
-@@ -1422,7 +1422,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM
+@@ -1426,7 +1426,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM
  #if BUILDFLAG(IS_WIN)
    window_handle =
        reinterpret_cast<content::DesktopMediaID::Id>(accelerated_widget);
@@ -90,7 +90,7 @@
    window_handle = static_cast<uint32_t>(accelerated_widget);
  #endif
    aura::WindowTreeHost* const host =
-@@ -1520,7 +1520,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC
+@@ -1524,7 +1524,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC
    SendMessage(hwnd, WM_SETICON, ICON_BIG,
                reinterpret_cast<LPARAM>(app_icon_.get()));
  }
@@ -99,7 +99,7 @@
  void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) {
    auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget(
        GetAcceleratedWidget());
-@@ -1590,7 +1590,7 @@ bool NativeWindowViews::CanMaximize() const {
+@@ -1594,7 +1594,7 @@ bool NativeWindowViews::CanMaximize() const {
  bool NativeWindowViews::CanMinimize() const {
  #if BUILDFLAG(IS_WIN)
    return minimizable_;
@@ -108,7 +108,7 @@
    return true;
  #endif
  }
-@@ -1642,7 +1642,7 @@ void NativeWindowViews::HandleKeyboardEvent(
+@@ -1646,7 +1646,7 @@ void NativeWindowViews::HandleKeyboardEvent(
    if (widget_destroyed_)
      return;
  
@@ -117,7 +117,7 @@
    if (event.windows_key_code == ui::VKEY_BROWSER_BACK)
      NotifyWindowExecuteAppCommand(kBrowserBackward);
    else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD)
-@@ -1661,7 +1661,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e
+@@ -1665,7 +1665,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e
    // Alt+Click should not toggle menu bar.
    root_view_->ResetAltState();
  
diff --git a/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts
index 73c2627bbde3..ce866fba9825 100644
--- a/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts
+++ b/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-browser-window-spec.ts.orig	2023-06-07 21:26:35 UTC
+--- electron/spec/api-browser-window-spec.ts.orig	2023-06-12 21:36:35 UTC
 +++ electron/spec/api-browser-window-spec.ts
 @@ -58,7 +58,7 @@ describe('BrowserWindow module', () => {
        }).not.to.throw();
@@ -144,7 +144,7 @@
      // Not implemented on Linux.
      afterEach(closeAllWindows);
  
-@@ -5698,7 +5698,7 @@ describe('BrowserWindow module', () => {
+@@ -5740,7 +5740,7 @@ describe('BrowserWindow module', () => {
    describe('"transparent" option', () => {
      afterEach(closeAllWindows);
  
diff --git a/devel/electron23/files/patch-v8_src_api_api.cc b/devel/electron23/files/patch-v8_src_api_api.cc
index 4ed13d8bec15..8e127ce9e61f 100644
--- a/devel/electron23/files/patch-v8_src_api_api.cc
+++ b/devel/electron23/files/patch-v8_src_api_api.cc
@@ -1,4 +1,4 @@
---- v8/src/api/api.cc.orig	2023-02-15 13:08:45 UTC
+--- v8/src/api/api.cc.orig	2023-06-17 23:17:50 UTC
 +++ v8/src/api/api.cc
 @@ -141,7 +141,7 @@
  #include "src/wasm/wasm-serialization.h"
@@ -9,7 +9,7 @@
  #include <signal.h>
  
  #if V8_ENABLE_WEBASSEMBLY
-@@ -6337,7 +6337,7 @@ bool v8::V8::Initialize(const int build_config) {
+@@ -6348,7 +6348,7 @@ bool v8::V8::Initialize(const int build_config) {
    return true;
  }