git: 128356458fea - main - devel/electron24: update to 24.2.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Tue, 09 May 2023 07:28:46 UTC
The branch main has been updated by tagattie:

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

commit 128356458feae6d0eb4e8ffcc59efc48bfa2e751
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-05-09 07:26:12 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-05-09 07:28:20 +0000

    devel/electron24: update to 24.2.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v24.2.0
    
    Reported by:    GitHub (watch releases)
---
 devel/electron24/Makefile                                      |  2 +-
 devel/electron24/Makefile.version                              |  2 +-
 devel/electron24/distinfo                                      | 10 +++++-----
 .../files/patch-electron_lib_browser_api_power-monitor.ts      |  4 ++--
 ...electron_shell_browser_api_electron__api__power__monitor.cc |  8 ++++----
 ...-electron_shell_browser_api_electron__api__power__monitor.h |  4 ++--
 6 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/devel/electron24/Makefile b/devel/electron24/Makefile
index 091a1d9ea0e7..8574895a0d36 100644
--- a/devel/electron24/Makefile
+++ b/devel/electron24/Makefile
@@ -217,7 +217,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1682939025
+YARN_TIMESTAMP=	1683530525
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron24/Makefile.version b/devel/electron24/Makefile.version
index db7aebe5fc9f..7b08c5d59b2b 100644
--- a/devel/electron24/Makefile.version
+++ b/devel/electron24/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	24.1.3
+ELECTRON_VER=	24.2.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron24/distinfo b/devel/electron24/distinfo
index 895d3cadc0f1..482e2b54b517 100644
--- a/devel/electron24/distinfo
+++ b/devel/electron24/distinfo
@@ -1,12 +1,12 @@
-TIMESTAMP = 1682939745
+TIMESTAMP = 1683530977
 SHA256 (electron/chromium-112.0.5615.165.tar.xz) = 168c62fea9f428f99fbf967f36a75ee5da160429e3a5b86bf02188c5fe7c79fd
 SIZE (electron/chromium-112.0.5615.165.tar.xz) = 1730146076
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-24.1.3.tar.xz) = c95d0d46fdf06949e4c1b7ca185b646c6578fb4c92affd06272bab038161aa5b
-SIZE (electron/electron-yarn-cache-24.1.3.tar.xz) = 39366564
-SHA256 (electron/electron-electron-v24.1.3_GH0.tar.gz) = bc951ba1481d57c3fdd96b8ebf0af5bfede4f5dda45f231bb02ae205dadbf64f
-SIZE (electron/electron-electron-v24.1.3_GH0.tar.gz) = 10456903
+SHA256 (electron/electron-yarn-cache-24.2.0.tar.xz) = 0cff4a0cf97d30a735e9efce8a341f9948e778d70da8542da9b8d0c972b5cf33
+SIZE (electron/electron-yarn-cache-24.2.0.tar.xz) = 39365676
+SHA256 (electron/electron-electron-v24.2.0_GH0.tar.gz) = 0dd1434ff9e6ff8f266d82ff42d922414088b4940f0dfca4d5d22062ff94d3d6
+SIZE (electron/electron-electron-v24.2.0_GH0.tar.gz) = 10457860
 SHA256 (electron/nodejs-node-v18.14.0_GH0.tar.gz) = 31bbccdff73269baebcc9f32c2ffe428f28be79841527c63e95da93e8c630829
 SIZE (electron/nodejs-node-v18.14.0_GH0.tar.gz) = 113058999
 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39
diff --git a/devel/electron24/files/patch-electron_lib_browser_api_power-monitor.ts b/devel/electron24/files/patch-electron_lib_browser_api_power-monitor.ts
index fc4b14ab7b32..792dda46c4fe 100644
--- a/devel/electron24/files/patch-electron_lib_browser_api_power-monitor.ts
+++ b/devel/electron24/files/patch-electron_lib_browser_api_power-monitor.ts
@@ -1,6 +1,6 @@
---- electron/lib/browser/api/power-monitor.ts.orig	2021-04-20 23:32:33 UTC
+--- electron/lib/browser/api/power-monitor.ts.orig	2023-05-03 13:27:52 UTC
 +++ electron/lib/browser/api/power-monitor.ts
-@@ -18,7 +18,7 @@ class PowerMonitor extends EventEmitter {
+@@ -19,7 +19,7 @@ class PowerMonitor extends EventEmitter {
          const pm = createPowerMonitor();
          pm.emit = this.emit.bind(this);
  
diff --git a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__power__monitor.cc b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__power__monitor.cc
index 72e8f4f335d7..bfd076fcc539 100644
--- a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__power__monitor.cc
+++ b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__power__monitor.cc
@@ -1,7 +1,7 @@
---- electron/shell/browser/api/electron_api_power_monitor.cc.orig	2023-01-24 16:58:16 UTC
+--- electron/shell/browser/api/electron_api_power_monitor.cc.orig	2023-05-03 13:27:52 UTC
 +++ electron/shell/browser/api/electron_api_power_monitor.cc
-@@ -77,6 +77,11 @@ void PowerMonitor::OnResume() {
-   Emit("resume");
+@@ -118,6 +118,11 @@ void PowerMonitor::OnSpeedLimitChange(int speed_limit)
+       gin::DataObjectBuilder(isolate).Set("limit", speed_limit).Build());
  }
  
 +#if BUILDFLAG(IS_BSD)
@@ -12,7 +12,7 @@
  #if BUILDFLAG(IS_LINUX)
  void PowerMonitor::SetListeningForShutdown(bool is_listening) {
    if (is_listening) {
-@@ -103,7 +108,7 @@ gin::ObjectTemplateBuilder PowerMonitor::GetObjectTemp
+@@ -144,7 +149,7 @@ gin::ObjectTemplateBuilder PowerMonitor::GetObjectTemp
    auto builder =
        gin_helper::EventEmitterMixin<PowerMonitor>::GetObjectTemplateBuilder(
            isolate);
diff --git a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__power__monitor.h b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__power__monitor.h
index 653b1b098304..7aa5993e972e 100644
--- a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__power__monitor.h
+++ b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__power__monitor.h
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_power_monitor.h.orig	2023-01-24 16:58:16 UTC
+--- electron/shell/browser/api/electron_api_power_monitor.h.orig	2023-05-03 13:27:52 UTC
 +++ electron/shell/browser/api/electron_api_power_monitor.h
-@@ -39,7 +39,7 @@ class PowerMonitor : public gin::Wrappable<PowerMonito
+@@ -40,7 +40,7 @@ class PowerMonitor : public gin::Wrappable<PowerMonito
    explicit PowerMonitor(v8::Isolate* isolate);
    ~PowerMonitor() override;