git: 8858ecf6203b - main - devel/electron29: update to 29.4.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sat, 18 May 2024 08:09:50 UTC
The branch main has been updated by tagattie:

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

commit 8858ecf6203bcb1190acd9ca9163826025a725be
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2024-05-18 08:06:34 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2024-05-18 08:09:40 +0000

    devel/electron29: update to 29.4.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v29.4.0
    
    Reported by:    GitHub (watch releases)
    Security:       a431676c-f86c-4371-b48a-b7d2b0bec3a3
---
 devel/electron29/Makefile.version                          |  2 +-
 devel/electron29/distinfo                                  | 10 +++++-----
 devel/electron29/files/patch-electron_BUILD.gn             | 14 +++++++-------
 ...lectron_shell_browser_electron__browser__main__parts.cc |  8 ++++----
 devel/electron29/files/patch-ui_gtk_gtk__compat.cc         |  6 +++---
 5 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/devel/electron29/Makefile.version b/devel/electron29/Makefile.version
index 29bb076bc64a..8b3ad8b2ef5b 100644
--- a/devel/electron29/Makefile.version
+++ b/devel/electron29/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	29.3.3
+ELECTRON_VER=	29.4.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron29/distinfo b/devel/electron29/distinfo
index 6a7815cf3b92..bca03c0ef228 100644
--- a/devel/electron29/distinfo
+++ b/devel/electron29/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1715244981
+TIMESTAMP = 1715933122
 SHA256 (electron/chromium-122.0.6261.156.tar.xz) = c29e0d546920a788d664f241739c1b9ee6f5235cfab91f8d4cf3026f42bceead
 SIZE (electron/chromium-122.0.6261.156.tar.xz) = 1660787092
 SHA256 (electron/e0b8a95aed06c02287872a2d15c28509b9808446) = 6c964b838cc8b73e6014d6f57ae132455e3b0787449a10d4cf12b1415f2abda2
 SIZE (electron/e0b8a95aed06c02287872a2d15c28509b9808446) = 9601507
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-29.3.3.tar.xz) = bfe45219c248d463ef8fcbdce755ad4d5deb9b757984da4760f47c20630aee84
-SIZE (electron/electron-yarn-cache-29.3.3.tar.xz) = 29229056
-SHA256 (electron/electron-electron-v29.3.3_GH0.tar.gz) = 9c0e68071214cf090d56ad37661954276b48425855927b235a0ffd35eda96a69
-SIZE (electron/electron-electron-v29.3.3_GH0.tar.gz) = 13376843
+SHA256 (electron/electron-yarn-cache-29.4.0.tar.xz) = bfe45219c248d463ef8fcbdce755ad4d5deb9b757984da4760f47c20630aee84
+SIZE (electron/electron-yarn-cache-29.4.0.tar.xz) = 29229056
+SHA256 (electron/electron-electron-v29.4.0_GH0.tar.gz) = 63b32f6d23eda5fb859a3490ff46374ec6cae3c6012de1475613c589946609b9
+SIZE (electron/electron-electron-v29.4.0_GH0.tar.gz) = 13384325
 SHA256 (electron/nodejs-node-v20.9.0_GH0.tar.gz) = 97fa9283e5472d4252794c930ad59270e4851cc523fe5469f37f65a344f5f2e2
 SIZE (electron/nodejs-node-v20.9.0_GH0.tar.gz) = 114905754
 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb
diff --git a/devel/electron29/files/patch-electron_BUILD.gn b/devel/electron29/files/patch-electron_BUILD.gn
index 16b0627bab93..9613ecef67dc 100644
--- a/devel/electron29/files/patch-electron_BUILD.gn
+++ b/devel/electron29/files/patch-electron_BUILD.gn
@@ -1,6 +1,6 @@
---- electron/BUILD.gn.orig	2024-04-15 22:35:46 UTC
+--- electron/BUILD.gn.orig	2024-05-14 20:28:24 UTC
 +++ electron/BUILD.gn
-@@ -527,7 +527,7 @@ source_set("electron_lib") {
+@@ -520,7 +520,7 @@ source_set("electron_lib") {
      defines += [ "GDK_DISABLE_DEPRECATION_WARNINGS" ]
    }
  
@@ -9,7 +9,7 @@
      deps += [
        "//components/crash/core/app",
        "//components/crash/core/browser",
-@@ -620,6 +620,12 @@ source_set("electron_lib") {
+@@ -613,6 +613,12 @@ source_set("electron_lib") {
        cflags_objcc = [ "-fobjc-weak" ]
      }
    }
@@ -22,7 +22,7 @@
    if (is_linux) {
      libs = [ "xshmfence" ]
      deps += [
-@@ -1206,7 +1212,7 @@ if (is_mac) {
+@@ -1199,7 +1205,7 @@ if (is_mac) {
        ":electron_lib",
        ":electron_win32_resources",
        ":packed_resources",
@@ -31,7 +31,7 @@
        "//content:sandbox_helper_win",
        "//electron/buildflags",
        "//ui/strings",
-@@ -1232,7 +1238,7 @@ if (is_mac) {
+@@ -1225,7 +1231,7 @@ if (is_mac) {
        public_deps = [ "//tools/v8_context_snapshot:v8_context_snapshot" ]
      }
  
@@ -40,7 +40,7 @@
        data_deps += [ "//components/crash/core/app:chrome_crashpad_handler" ]
      }
  
-@@ -1299,7 +1305,7 @@ if (is_mac) {
+@@ -1292,7 +1298,7 @@ if (is_mac) {
          configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
        }
  
@@ -49,7 +49,7 @@
          deps += [ "//sandbox/linux:chrome_sandbox" ]
        }
      }
-@@ -1407,7 +1413,7 @@ dist_zip("electron_dist_zip") {
+@@ -1400,7 +1406,7 @@ dist_zip("electron_dist_zip") {
      ":electron_version_file",
      ":licenses",
    ]
diff --git a/devel/electron29/files/patch-electron_shell_browser_electron__browser__main__parts.cc b/devel/electron29/files/patch-electron_shell_browser_electron__browser__main__parts.cc
index c314057fec3c..d6f394596a7e 100644
--- a/devel/electron29/files/patch-electron_shell_browser_electron__browser__main__parts.cc
+++ b/devel/electron29/files/patch-electron_shell_browser_electron__browser__main__parts.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/electron_browser_main_parts.cc.orig	2024-01-10 12:21:58 UTC
+--- electron/shell/browser/electron_browser_main_parts.cc.orig	2024-05-14 20:28:24 UTC
 +++ electron/shell/browser/electron_browser_main_parts.cc
 @@ -77,7 +77,7 @@
  #include "ui/wm/core/wm_state.h"
@@ -54,7 +54,7 @@
    auto* linux_ui = ui::GetDefaultLinuxUi();
    CHECK(linux_ui);
    linux_ui_getter_ = std::make_unique<LinuxUiGetterImpl>();
-@@ -500,7 +500,7 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo
+@@ -494,7 +494,7 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo
  }
  
  void ElectronBrowserMainParts::PostCreateMainMessageLoop() {
@@ -63,7 +63,7 @@
    std::string app_name = electron::Browser::Get()->GetName();
  #endif
  #if BUILDFLAG(IS_LINUX)
-@@ -511,7 +511,9 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo
+@@ -505,7 +505,9 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo
        content::GetUIThreadTaskRunner({content::BrowserTaskType::kUserInput}));
    if (!bluez::BluezDBusManager::IsInitialized())
      bluez::DBusBluezManagerWrapperLinux::Initialize();
@@ -73,7 +73,7 @@
    // Set up crypt config. This needs to be done before anything starts the
    // network service, as the raw encryption key needs to be shared with the
    // network service for encrypted cookie storage.
-@@ -610,7 +612,7 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun(
+@@ -604,7 +606,7 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun(
    fake_browser_process_->PostMainMessageLoopRun();
    content::DevToolsAgentHost::StopRemoteDebuggingPipeHandler();
  
diff --git a/devel/electron29/files/patch-ui_gtk_gtk__compat.cc b/devel/electron29/files/patch-ui_gtk_gtk__compat.cc
index 17397a1ce5bd..d814e4a2c53f 100644
--- a/devel/electron29/files/patch-ui_gtk_gtk__compat.cc
+++ b/devel/electron29/files/patch-ui_gtk_gtk__compat.cc
@@ -1,6 +1,6 @@
---- ui/gtk/gtk_compat.cc.orig	2023-10-25 09:13:45 UTC
+--- ui/gtk/gtk_compat.cc.orig	2024-05-17 08:12:16 UTC
 +++ ui/gtk/gtk_compat.cc
-@@ -62,22 +62,38 @@ auto DlCast(void* symbol) {
+@@ -62,22 +62,38 @@ void* GetLibGio() {
  }
  
  void* GetLibGio() {
@@ -39,7 +39,7 @@
    return libgtk4;
  }
  
-@@ -124,7 +140,11 @@ gfx::Insets InsetsFromGtkBorder(const GtkBorder& borde
+@@ -130,7 +146,11 @@ void* GetLibGdkPixbuf() {
  }  // namespace
  
  void* GetLibGdkPixbuf() {