git: 40b7c8ff6f18 - main - devel/electron23: update to 23.3.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Mon, 01 May 2023 07:41:57 UTC
The branch main has been updated by tagattie:

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

commit 40b7c8ff6f1878c85646b88669645351a922d690
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-05-01 07:40:17 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-05-01 07:41:47 +0000

    devel/electron23: update to 23.3.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v23.3.0
    
    Reported by:    GitHub (watch releases)
---
 devel/electron23/Makefile                                    |  2 +-
 devel/electron23/Makefile.version                            |  2 +-
 devel/electron23/distinfo                                    | 10 +++++-----
 .../patch-electron_shell_app_electron__main__delegate.cc     | 12 ++++++------
 .../electron23/files/patch-electron_shell_app_node__main.cc  |  4 ++--
 .../files/patch-electron_shell_common_node__bindings.cc      |  4 ++--
 .../patch-third__party_angle_src_libANGLE_formatutils.cpp    |  4 ++--
 7 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/devel/electron23/Makefile b/devel/electron23/Makefile
index bf7c7b579f60..e1ff4d6507b2 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=	1681806367
+YARN_TIMESTAMP=	1682835011
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron23/Makefile.version b/devel/electron23/Makefile.version
index d9641aaad166..fd1e4da2ec03 100644
--- a/devel/electron23/Makefile.version
+++ b/devel/electron23/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	23.2.4
+ELECTRON_VER=	23.3.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron23/distinfo b/devel/electron23/distinfo
index fd143b44797b..a43883cf7d6b 100644
--- a/devel/electron23/distinfo
+++ b/devel/electron23/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1681807036
+TIMESTAMP = 1682835827
 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.2.4.tar.xz) = aba90e2a30cfcfed93d305260447715ba502b398d340a78984c3a649596a7ad4
-SIZE (electron/electron-yarn-cache-23.2.4.tar.xz) = 38872852
-SHA256 (electron/electron-electron-v23.2.4_GH0.tar.gz) = 22222c05c9b7c0a0dcdf07a7a09ebc118e160c75e7f0849adbc1bf86fef30d06
-SIZE (electron/electron-electron-v23.2.4_GH0.tar.gz) = 10464686
+SHA256 (electron/electron-yarn-cache-23.3.0.tar.xz) = 1569f4deebbd2d8b322e7752d8198ca1ec5a5cc07b54c0fcdef421708f20a9e6
+SIZE (electron/electron-yarn-cache-23.3.0.tar.xz) = 38871256
+SHA256 (electron/electron-electron-v23.3.0_GH0.tar.gz) = 93c1ceff65770453eee48e3c7c4fa2361b746d84b0864ea6d02b9a34f6177a7f
+SIZE (electron/electron-electron-v23.3.0_GH0.tar.gz) = 10487375
 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_app_electron__main__delegate.cc b/devel/electron23/files/patch-electron_shell_app_electron__main__delegate.cc
index 562ac2ad3649..f7c4e50b5c65 100644
--- a/devel/electron23/files/patch-electron_shell_app_electron__main__delegate.cc
+++ b/devel/electron23/files/patch-electron_shell_app_electron__main__delegate.cc
@@ -1,6 +1,6 @@
---- electron/shell/app/electron_main_delegate.cc.orig	2023-02-06 19:29:11 UTC
+--- electron/shell/app/electron_main_delegate.cc.orig	2023-04-26 18:09:19 UTC
 +++ electron/shell/app/electron_main_delegate.cc
-@@ -57,13 +57,16 @@
+@@ -58,13 +58,16 @@
  #include "chrome/child/v8_crashpad_support_win.h"
  #endif
  
@@ -19,7 +19,7 @@
  #include "components/crash/core/app/crash_switches.h"  // nogncheck
  #include "components/crash/core/app/crashpad.h"        // nogncheck
  #include "components/crash/core/common/crash_key.h"
-@@ -160,7 +163,7 @@ bool ElectronPathProvider(int key, base::FilePath* res
+@@ -156,7 +159,7 @@ bool ElectronPathProvider(int key, base::FilePath* res
        create_dir = true;
        break;
      }
@@ -28,7 +28,7 @@
      case DIR_APP_DATA: {
        auto env = base::Environment::Create();
        cur = base::nix::GetXDGDirectory(
-@@ -294,7 +297,7 @@ absl::optional<int> ElectronMainDelegate::BasicStartup
+@@ -288,7 +291,7 @@ absl::optional<int> ElectronMainDelegate::BasicStartup
      base::win::PinUser32();
  #endif
  
@@ -37,7 +37,7 @@
    // Check for --no-sandbox parameter when running as root.
    if (getuid() == 0 && IsSandboxEnabled(command_line))
      LOG(FATAL) << "Running as root without --"
-@@ -346,7 +349,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
+@@ -340,7 +343,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
                                     process_type == ::switches::kZygoteProcess);
  #endif
  
@@ -46,7 +46,7 @@
    crash_reporter::InitializeCrashKeys();
  #endif
  
-@@ -381,7 +384,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
+@@ -375,7 +378,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
    }
  #endif
  
diff --git a/devel/electron23/files/patch-electron_shell_app_node__main.cc b/devel/electron23/files/patch-electron_shell_app_node__main.cc
index f299a1a8dbda..a62d5b6fb953 100644
--- a/devel/electron23/files/patch-electron_shell_app_node__main.cc
+++ b/devel/electron23/files/patch-electron_shell_app_node__main.cc
@@ -1,4 +1,4 @@
---- electron/shell/app/node_main.cc.orig	2023-02-06 19:29:11 UTC
+--- electron/shell/app/node_main.cc.orig	2023-04-26 18:09:19 UTC
 +++ electron/shell/app/node_main.cc
 @@ -42,7 +42,7 @@
  #include "content/public/common/content_descriptors.h"
@@ -27,7 +27,7 @@
    electron::crash_keys::GetCrashKeys(&keys);
  #endif
    return gin::ConvertToV8(isolate, keys);
-@@ -235,7 +235,7 @@ int NodeMain(int argc, char* argv[]) {
+@@ -236,7 +236,7 @@ int NodeMain(int argc, char* argv[]) {
        // Setup process.crashReporter in child node processes
        gin_helper::Dictionary reporter = gin::Dictionary::CreateEmpty(isolate);
        reporter.SetMethod("getParameters", &GetParameters);
diff --git a/devel/electron23/files/patch-electron_shell_common_node__bindings.cc b/devel/electron23/files/patch-electron_shell_common_node__bindings.cc
index 93a5f1777f8a..d69bf7102cfa 100644
--- a/devel/electron23/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron23/files/patch-electron_shell_common_node__bindings.cc
@@ -1,4 +1,4 @@
---- electron/shell/common/node_bindings.cc.orig	2023-04-12 09:18:42 UTC
+--- electron/shell/common/node_bindings.cc.orig	2023-04-26 18:09:19 UTC
 +++ electron/shell/common/node_bindings.cc
 @@ -40,7 +40,7 @@
  #include "third_party/blink/renderer/bindings/core/v8/v8_initializer.h"  // nogncheck
@@ -18,7 +18,7 @@
    electron::crash_keys::SetCrashKey("electron.v8-fatal.message", message);
    electron::crash_keys::SetCrashKey("electron.v8-fatal.location", location);
  #endif
-@@ -436,7 +436,7 @@ void NodeBindings::Initialize() {
+@@ -435,7 +435,7 @@ void NodeBindings::Initialize() {
    TRACE_EVENT0("electron", "NodeBindings::Initialize");
    // Open node's error reporting system for browser process.
  
diff --git a/devel/electron23/files/patch-third__party_angle_src_libANGLE_formatutils.cpp b/devel/electron23/files/patch-third__party_angle_src_libANGLE_formatutils.cpp
index 0515d9b55035..7460b4a24ba3 100644
--- a/devel/electron23/files/patch-third__party_angle_src_libANGLE_formatutils.cpp
+++ b/devel/electron23/files/patch-third__party_angle_src_libANGLE_formatutils.cpp
@@ -1,6 +1,6 @@
---- third_party/angle/src/libANGLE/formatutils.cpp.orig	2022-11-30 08:12:58 UTC
+--- third_party/angle/src/libANGLE/formatutils.cpp.orig	2023-04-30 06:33:18 UTC
 +++ third_party/angle/src/libANGLE/formatutils.cpp
-@@ -1466,7 +1466,7 @@ static InternalFormatInfoMap BuildInternalFormatInfoMa
+@@ -1481,7 +1481,7 @@ static InternalFormatInfoMap BuildInternalFormatInfoMa
      AddYUVFormat(&map,  GL_G8_B8R8_2PLANE_420_UNORM_ANGLE,            true,   8,   8,  8,   0,  0,  GL_G8_B8R8_2PLANE_420_UNORM_ANGLE,    GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>,          RequireExt<&Extensions::yuvInternalFormatANGLE>,          RequireExt<&Extensions::yuvInternalFormatANGLE>,          NeverSupported, NeverSupported);
      AddYUVFormat(&map,  GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE,           true,   8,   8,  8,   0,  0,  GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE,   GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>,          RequireExt<&Extensions::yuvInternalFormatANGLE>,          RequireExt<&Extensions::yuvInternalFormatANGLE>,          NeverSupported, NeverSupported);