git: 9008a15e279f - main - devel/electron41: Update to 41.6.1

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sun, 17 May 2026 02:00:55 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9008a15e279ff2d7d042323f87af4b91bf4e1c04

commit 9008a15e279ff2d7d042323f87af4b91bf4e1c04
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-05-17 01:59:43 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-05-17 02:00:46 +0000

    devel/electron41: Update to 41.6.1
    
    Changelog:
    - https://github.com/electron/electron/releases/tag/v41.5.2
    - https://github.com/electron/electron/releases/tag/v41.6.0
    - https://github.com/electron/electron/releases/tag/v41.6.1
    
    Reported by:    GitHub (watch releases)
---
 devel/electron41/Makefile.version                    |  2 +-
 devel/electron41/distinfo                            | 10 +++++-----
 devel/electron41/files/patch-electron_BUILD.gn       | 14 +++++++-------
 ...-electron_shell_browser_api_electron__api__app.cc | 20 ++++++++++----------
 ...lectron_shell_browser_ui_views_frameless__view.cc |  4 ++--
 ...electron_shell_browser_ui_views_frameless__view.h |  4 ++--
 ...op__aura_desktop__window__tree__host__platform.cc |  4 ++--
 7 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/devel/electron41/Makefile.version b/devel/electron41/Makefile.version
index 81e0f7db3dc2..e22ab921de5c 100644
--- a/devel/electron41/Makefile.version
+++ b/devel/electron41/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=		41.5.1
+ELECTRON_VER=		41.6.1
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron41/distinfo b/devel/electron41/distinfo
index 852a62283f71..ef518aa47ed1 100644
--- a/devel/electron41/distinfo
+++ b/devel/electron41/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1778503981
+TIMESTAMP = 1778906531
 SHA256 (electron/chromium-146.0.7680.216.tar.xz.0) = 975c7b752e7b89c72b6e85f458db893c84bf3de42b7eb954bea2b6fda8e9786b
 SIZE (electron/chromium-146.0.7680.216.tar.xz.0) = 2000000000
 SHA256 (electron/chromium-146.0.7680.216.tar.xz.1) = 35b9287cf3cdefcf443f5b6e96198a82de7d89b8f33b6784f74ab85957f56f01
@@ -341,10 +341,10 @@ SHA256 (electron/rust/crates/zerocopy-derive-0.7.35.crate) = fa4f8080344d4671fb4
 SIZE (electron/rust/crates/zerocopy-derive-0.7.35.crate) = 37829
 SHA256 (electron/yarn-4.12.0.tgz) = bd58d06826ce9542c4cd904fe10bab7bc718ea2cc39a45d9fbd15f2edb45761c
 SIZE (electron/yarn-4.12.0.tgz) = 1056794
-SHA256 (electron/electron41-41.5.1-node-modules.tar.xz) = ebf3b95d92c5b81736b09d4f9cbdd5d240558fdb013b5aa4d7afadb4591be577
-SIZE (electron/electron41-41.5.1-node-modules.tar.xz) = 70931799
-SHA256 (electron/electron-electron-v41.5.1_GH0.tar.gz) = 8d25357916e9225d435441f8a0e51dc73ecb8745b694d6a807e01ab30dfae809
-SIZE (electron/electron-electron-v41.5.1_GH0.tar.gz) = 18794873
+SHA256 (electron/electron41-41.6.1-node-modules.tar.xz) = ebf3b95d92c5b81736b09d4f9cbdd5d240558fdb013b5aa4d7afadb4591be577
+SIZE (electron/electron41-41.6.1-node-modules.tar.xz) = 70931799
+SHA256 (electron/electron-electron-v41.6.1_GH0.tar.gz) = 15b704aa04c94bfd254b99163b355893a7027ee52d668df25b9272341e02ddf7
+SIZE (electron/electron-electron-v41.6.1_GH0.tar.gz) = 18823496
 SHA256 (electron/nodejs-node-v24.15.0_GH0.tar.gz) = 5cfb169b21878f50876e0c6a77db1a5e40d733960232682bebb5e267246a2e80
 SIZE (electron/nodejs-node-v24.15.0_GH0.tar.gz) = 126716937
 SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3
diff --git a/devel/electron41/files/patch-electron_BUILD.gn b/devel/electron41/files/patch-electron_BUILD.gn
index 613929f3915b..46f53e9144e0 100644
--- a/devel/electron41/files/patch-electron_BUILD.gn
+++ b/devel/electron41/files/patch-electron_BUILD.gn
@@ -1,6 +1,6 @@
---- electron/BUILD.gn.orig	2026-05-01 21:06:40 UTC
+--- electron/BUILD.gn.orig	2026-05-14 05:52:47 UTC
 +++ electron/BUILD.gn
-@@ -560,7 +560,7 @@ source_set("electron_lib") {
+@@ -561,7 +561,7 @@ source_set("electron_lib") {
      defines += [ "GDK_DISABLE_DEPRECATION_WARNINGS" ]
    }
  
@@ -9,7 +9,7 @@
      deps += [
        "//components/crash/core/app",
        "//components/crash/core/browser",
-@@ -659,6 +659,12 @@ source_set("electron_lib") {
+@@ -660,6 +660,12 @@ source_set("electron_lib") {
        cflags_objcc = [ "-fobjc-weak" ]
      }
    }
@@ -22,7 +22,7 @@
    if (is_linux) {
      libs = [ "xshmfence" ]
      deps += [
-@@ -1244,7 +1250,7 @@ if (is_mac) {
+@@ -1245,7 +1251,7 @@ if (is_mac) {
        ":electron_lib",
        ":electron_win32_resources",
        ":packed_resources",
@@ -31,7 +31,7 @@
        "//content:sandbox_helper_win",
        "//electron/buildflags",
        "//third_party/electron_node:libnode",
-@@ -1271,7 +1277,7 @@ if (is_mac) {
+@@ -1272,7 +1278,7 @@ if (is_mac) {
        public_deps = [ "//tools/v8_context_snapshot" ]
      }
  
@@ -40,7 +40,7 @@
        data_deps += [ "//components/crash/core/app:chrome_crashpad_handler" ]
      }
  
-@@ -1338,7 +1344,7 @@ if (is_mac) {
+@@ -1339,7 +1345,7 @@ if (is_mac) {
          configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
        }
  
@@ -49,7 +49,7 @@
          deps += [ "//sandbox/linux:chrome_sandbox" ]
        }
      }
-@@ -1459,7 +1465,9 @@ dist_zip("electron_dist_zip") {
+@@ -1460,7 +1466,9 @@ dist_zip("electron_dist_zip") {
        ]
      }
  
diff --git a/devel/electron41/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron41/files/patch-electron_shell_browser_api_electron__api__app.cc
index 2824506f09a8..8177e2fed3ea 100644
--- a/devel/electron41/files/patch-electron_shell_browser_api_electron__api__app.cc
+++ b/devel/electron41/files/patch-electron_shell_browser_api_electron__api__app.cc
@@ -1,7 +1,7 @@
---- electron/shell/browser/api/electron_api_app.cc.orig	2026-05-01 21:06:40 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig	2026-05-14 05:52:47 UTC
 +++ electron/shell/browser/api/electron_api_app.cc
-@@ -102,7 +102,7 @@
- #include "shell/common/process_util.h"
+@@ -105,7 +105,7 @@
+ #include "ui/base/resource/resource_bundle.h"
  #endif
  
 -#if BUILDFLAG(IS_LINUX)
@@ -9,7 +9,7 @@
  #include "base/nix/scoped_xdg_activation_token_injector.h"
  #include "base/nix/xdg_util.h"
  #endif
-@@ -430,7 +430,7 @@ bool NotificationCallbackWrapper(
+@@ -433,7 +433,7 @@ bool NotificationCallbackWrapper(
      base::CommandLine cmd,
      const base::FilePath& cwd,
      const std::vector<uint8_t> additional_data) {
@@ -18,7 +18,7 @@
    // Set the global activation token sent as a command line switch by another
    // electron app instance. This also removes the switch after use to prevent
    // any side effects of leaving it in the command line after this point.
-@@ -615,7 +615,7 @@ void App::OnFinishLaunching(base::DictValue launch_inf
+@@ -618,7 +618,7 @@ void App::OnFinishLaunching(base::DictValue launch_inf
  }
  
  void App::OnFinishLaunching(base::DictValue launch_info) {
@@ -27,7 +27,7 @@
    // Set the application name for audio streams shown in external
    // applications. Only affects pulseaudio currently.
    media::AudioManager::SetGlobalAppName(Browser::Get()->GetName());
-@@ -964,7 +964,7 @@ void App::SetDesktopName(const std::string& desktop_na
+@@ -967,7 +967,7 @@ void App::SetDesktopName(const std::string& desktop_na
  }
  
  void App::SetDesktopName(const std::string& desktop_name) {
@@ -36,7 +36,7 @@
    auto env = base::Environment::Create();
    env->SetVar("CHROME_DESKTOP", desktop_name);
  #endif
-@@ -1066,7 +1066,7 @@ bool App::RequestSingleInstanceLock(gin::Arguments* ar
+@@ -1069,7 +1069,7 @@ bool App::RequestSingleInstanceLock(gin::Arguments* ar
        base::BindRepeating(NotificationCallbackWrapper, cb));
  #endif
  
@@ -45,7 +45,7 @@
    // Read the xdg-activation token and set it in the command line for the
    // duration of the notification in order to ensure this is propagated to an
    // already running electron app instance if it exists.
-@@ -1453,7 +1453,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1456,7 +1456,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
        pid_dict.Set("name", process_metric.second->name);
      }
  
@@ -54,7 +54,7 @@
      auto memory_info = process_metric.second->GetMemoryInfo();
  
      auto memory_dict = gin_helper::Dictionary::CreateEmpty(isolate);
-@@ -1878,7 +1878,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1904,7 +1904,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod(
            "removeAsDefaultProtocolClient",
            base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser))
@@ -63,7 +63,7 @@
        .SetMethod(
            "getApplicationInfoForProtocol",
            base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser))
-@@ -1937,7 +1937,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1963,7 +1963,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod("getJumpListSettings", &App::GetJumpListSettings)
        .SetMethod("setJumpList", &App::SetJumpList)
  #endif
diff --git a/devel/electron41/files/patch-electron_shell_browser_ui_views_frameless__view.cc b/devel/electron41/files/patch-electron_shell_browser_ui_views_frameless__view.cc
index fafd484865c0..af9e42155fdc 100644
--- a/devel/electron41/files/patch-electron_shell_browser_ui_views_frameless__view.cc
+++ b/devel/electron41/files/patch-electron_shell_browser_ui_views_frameless__view.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/ui/views/frameless_view.cc.orig	2026-03-17 08:46:52 UTC
+--- electron/shell/browser/ui/views/frameless_view.cc.orig	2026-05-14 05:52:47 UTC
 +++ electron/shell/browser/ui/views/frameless_view.cc
-@@ -123,7 +123,7 @@ gfx::Size FramelessView::GetMaximumSize() const {
+@@ -122,7 +122,7 @@ gfx::Size FramelessView::GetMaximumSize() const {
    return window_->GetMaximumSize();
  }
  
diff --git a/devel/electron41/files/patch-electron_shell_browser_ui_views_frameless__view.h b/devel/electron41/files/patch-electron_shell_browser_ui_views_frameless__view.h
index cc8e0789535f..cf750ac16e57 100644
--- a/devel/electron41/files/patch-electron_shell_browser_ui_views_frameless__view.h
+++ b/devel/electron41/files/patch-electron_shell_browser_ui_views_frameless__view.h
@@ -1,4 +1,4 @@
---- electron/shell/browser/ui/views/frameless_view.h.orig	2026-03-17 08:46:52 UTC
+--- electron/shell/browser/ui/views/frameless_view.h.orig	2026-05-14 05:52:47 UTC
 +++ electron/shell/browser/ui/views/frameless_view.h
 @@ -10,7 +10,7 @@
  #include "ui/gfx/geometry/insets.h"
@@ -9,7 +9,7 @@
  #include "shell/browser/ui/views/linux_frame_layout.h"
  #endif
  
-@@ -46,7 +46,7 @@ class FramelessView : public views::FrameView {
+@@ -49,7 +49,7 @@ class FramelessView : public views::FrameView {
    // bounds of the view, used for CSD and resize targets on some platforms.
    virtual gfx::Insets RestoredFrameBorderInsets() const;
  
diff --git a/devel/electron41/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc b/devel/electron41/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc
index b3079e668ea2..a47b5e4d15dc 100644
--- a/devel/electron41/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc
+++ b/devel/electron41/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc
@@ -1,4 +1,4 @@
---- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig	2026-03-13 16:54:03 UTC
+--- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig	2026-05-16 04:53:24 UTC
 +++ ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
 @@ -50,7 +50,7 @@
  #include "ui/wm/core/window_util.h"
@@ -18,7 +18,7 @@
        std::make_unique<DesktopDragDropClientOzoneLinux>(window(), drag_handler);
  #else
        std::make_unique<DesktopDragDropClientOzone>(window(), drag_handler);
-@@ -1207,7 +1207,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg
+@@ -1215,7 +1215,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg
  // DesktopWindowTreeHost:
  
  // Linux subclasses this host and adds some Linux specific bits.