git: 43262be9f20f - main - devel/electron24: update to 24.7.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Wed, 09 Aug 2023 10:36:58 UTC
The branch main has been updated by tagattie:

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

commit 43262be9f20fdcc98451456d2f0885de3ab206b0
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-08-09 10:34:51 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-08-09 10:36:52 +0000

    devel/electron24: update to 24.7.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v24.7.0
    
    Reported by:    GitHub (watch releases)
    MFH:            2023Q3
    Security:       f3a35fb8-2d70-47c9-a516-6aad7eb222b1
---
 devel/electron24/Makefile                                      |  3 +--
 devel/electron24/Makefile.version                              |  2 +-
 devel/electron24/distinfo                                      | 10 +++++-----
 ...-electron_shell_browser_api_electron__api__web__contents.cc |  8 ++++----
 ...h-electron_shell_browser_api_electron__api__web__contents.h |  4 ++--
 .../files/patch-electron_spec_api-browser-window-spec.ts       |  8 ++++----
 6 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/devel/electron24/Makefile b/devel/electron24/Makefile
index 6280483aaeef..681c93fe7a27 100644
--- a/devel/electron24/Makefile
+++ b/devel/electron24/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER:S/-beta./.b/}
-PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v24.4.0/:chromium \
 		https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \
@@ -222,7 +221,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1690431844
+YARN_TIMESTAMP=	1691478606
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron24/Makefile.version b/devel/electron24/Makefile.version
index 25baa7598892..e2e85439aced 100644
--- a/devel/electron24/Makefile.version
+++ b/devel/electron24/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	24.6.5
+ELECTRON_VER=	24.7.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron24/distinfo b/devel/electron24/distinfo
index cad0b1fadeee..ecba2e1fc081 100644
--- a/devel/electron24/distinfo
+++ b/devel/electron24/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1690432279
+TIMESTAMP = 1691479136
 SHA256 (electron/chromium-112.0.5615.204.tar.xz) = 4eb23f689df9685fc4ce38fe751023ac98aab2ca21af1ee7ebe47fa5c095a09d
 SIZE (electron/chromium-112.0.5615.204.tar.xz) = 1572906744
 SHA256 (electron/a98dcca3c46a718770b2cb3430785ea4ed7e3f09) = 386332ab89cbe19c427a3febcf2e93ee89a3007243da3e3e466823f50d00eba5
 SIZE (electron/a98dcca3c46a718770b2cb3430785ea4ed7e3f09) = 9822544
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-24.6.5.tar.xz) = ed619b22ff229f079064e33536bc712ed2be0bf31cbfb646f40acbcf68a65520
-SIZE (electron/electron-yarn-cache-24.6.5.tar.xz) = 41637136
-SHA256 (electron/electron-electron-v24.6.5_GH0.tar.gz) = 8a91ddd2ce8b040732aa062e35b9af34741c90cef64b8af3374c5831208d91e6
-SIZE (electron/electron-electron-v24.6.5_GH0.tar.gz) = 10498761
+SHA256 (electron/electron-yarn-cache-24.7.0.tar.xz) = f832f6cae1182f01014e6af51e145124bd3f88a5ecc6e5500c550429bd347d38
+SIZE (electron/electron-yarn-cache-24.7.0.tar.xz) = 41637208
+SHA256 (electron/electron-electron-v24.7.0_GH0.tar.gz) = d686dda0406bfd12df62f2c2b119e33bc38eac6c7e4c76fe7108ff9a3afe25b6
+SIZE (electron/electron-electron-v24.7.0_GH0.tar.gz) = 10512708
 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_shell_browser_api_electron__api__web__contents.cc b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
index 2193e9ce9e5b..d456cfdb10ff 100644
--- a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+++ b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/api/electron_api_web_contents.cc.orig	2023-07-11 13:17:52 UTC
+--- electron/shell/browser/api/electron_api_web_contents.cc.orig	2023-08-02 13:09:53 UTC
 +++ electron/shell/browser/api/electron_api_web_contents.cc
 @@ -152,11 +152,11 @@
  #include "ui/base/cocoa/defaults_utils.h"
@@ -32,7 +32,7 @@
    // Update font settings.
    static const gfx::FontRenderParams params(
        gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
-@@ -2499,7 +2499,7 @@ void WebContents::ForcefullyCrashRenderer() {
+@@ -2502,7 +2502,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();
-@@ -3142,7 +3142,7 @@ void WebContents::CopyImageAt(int x, int y) {
+@@ -3145,7 +3145,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
-@@ -3948,7 +3948,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -3951,7 +3951,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
  }
  #endif
  
diff --git a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.h b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.h
index e25dbbc4ab3d..7fa4ddd79110 100644
--- a/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.h
+++ b/devel/electron24/files/patch-electron_shell_browser_api_electron__api__web__contents.h
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_web_contents.h.orig	2023-04-03 22:25:21 UTC
+--- electron/shell/browser/api/electron_api_web_contents.h.orig	2023-08-02 13:09:53 UTC
 +++ electron/shell/browser/api/electron_api_web_contents.h
-@@ -714,7 +714,7 @@ class WebContents : public ExclusiveAccessContext,
+@@ -715,7 +715,7 @@ class WebContents : public ExclusiveAccessContext,
  #if defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_MAC)
    ui::ImageModel GetDevToolsWindowIcon() override;
  #endif
diff --git a/devel/electron24/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron24/files/patch-electron_spec_api-browser-window-spec.ts
index 1864155794c8..460400524f8d 100644
--- a/devel/electron24/files/patch-electron_spec_api-browser-window-spec.ts
+++ b/devel/electron24/files/patch-electron_spec_api-browser-window-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-browser-window-spec.ts.orig	2023-06-16 17:43:47 UTC
+--- electron/spec/api-browser-window-spec.ts.orig	2023-08-02 13:09:53 UTC
 +++ electron/spec/api-browser-window-spec.ts
 @@ -59,7 +59,7 @@ describe('BrowserWindow module', () => {
        }).not.to.throw();
@@ -126,7 +126,7 @@
        const w = new BrowserWindow();
        const minimize = emittedOnce(w, 'minimize');
        w.minimize();
-@@ -4572,7 +4572,7 @@ describe('BrowserWindow module', () => {
+@@ -4593,7 +4593,7 @@ describe('BrowserWindow module', () => {
        });
  
        // On Linux there is no "resizable" property of a window.
@@ -135,7 +135,7 @@
          const w = new BrowserWindow({ show: false });
          expect(w.resizable).to.be.true('resizable');
  
-@@ -4664,7 +4664,7 @@ describe('BrowserWindow module', () => {
+@@ -4685,7 +4685,7 @@ describe('BrowserWindow module', () => {
      });
    });
  
@@ -144,7 +144,7 @@
      // Not implemented on Linux.
      afterEach(closeAllWindows);
  
-@@ -5770,7 +5770,7 @@ describe('BrowserWindow module', () => {
+@@ -5791,7 +5791,7 @@ describe('BrowserWindow module', () => {
    describe('"transparent" option', () => {
      afterEach(closeAllWindows);