git: e6c0b71aa9c2 - main - devel/electron37: Update to 37.10.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Fri, 14 Nov 2025 21:15:25 UTC
The branch main has been updated by tagattie:

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

commit e6c0b71aa9c24f52648b3b69b82e0f25a639525b
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-11-14 21:13:53 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-11-14 21:15:16 +0000

    devel/electron37: Update to 37.10.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v37.10.0
    
    Reported by:    GitHub (watch releases)
---
 devel/electron37/Makefile                          |  1 -
 devel/electron37/Makefile.version                  |  2 +-
 devel/electron37/distinfo                          | 10 ++++----
 ...lectron_shell_browser_api_electron__api__app.cc |  8 +++----
 ..._shell_browser_ui_inspectable__web__contents.cc |  4 ++--
 ..._browser_ui_inspectable__web__contents__view.cc |  4 ++--
 .../files/patch-electron_spec_api-app-spec.ts      | 28 +++++++++++-----------
 .../patch-electron_spec_api-web-contents-spec.ts   |  4 ++--
 8 files changed, 30 insertions(+), 31 deletions(-)

diff --git a/devel/electron37/Makefile b/devel/electron37/Makefile
index 37709631639f..a81f9cf8532c 100644
--- a/devel/electron37/Makefile
+++ b/devel/electron37/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER}
-PORTREVISION=	1
 PULSEMV=	16
 PULSEV=		${PULSEMV}.1
 CATEGORIES=	devel
diff --git a/devel/electron37/Makefile.version b/devel/electron37/Makefile.version
index a5d3f3282778..326caa4d44e7 100644
--- a/devel/electron37/Makefile.version
+++ b/devel/electron37/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	37.9.0
+ELECTRON_VER=	37.10.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron37/distinfo b/devel/electron37/distinfo
index 7fcd3f05dba7..8873208b6236 100644
--- a/devel/electron37/distinfo
+++ b/devel/electron37/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1762576840
+TIMESTAMP = 1763099445
 SHA256 (electron/chromium-138.0.7204.251.tar.xz.0) = 23057c15fd77b6653b01a34e08782f05cc80ecddddaf6f0b87390beb32810151
 SIZE (electron/chromium-138.0.7204.251.tar.xz.0) = 2000000000
 SHA256 (electron/chromium-138.0.7204.251.tar.xz.1) = 784a8bcb5eff8c204557c5cb7c4a223efd3c472303dd79a8b7be97e3d5d0982a
@@ -7,10 +7,10 @@ SHA256 (electron/chromium-138.0.7204.251.tar.xz.2) = 3d7af9e06a90102b41de19d4635
 SIZE (electron/chromium-138.0.7204.251.tar.xz.2) = 273864084
 SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111
-SHA256 (electron/electron-yarn-cache-37.9.0.tar.xz) = 34a44bb3ceaa38384ab57905ac82eb29f3cb66db5f731479d67b306211916e3d
-SIZE (electron/electron-yarn-cache-37.9.0.tar.xz) = 30531168
-SHA256 (electron/electron-electron-v37.9.0_GH0.tar.gz) = 15024fcfbeb3aa09fbfb3cb219e84336ae36a11c91a37ac398c7cf7b6b12cbbe
-SIZE (electron/electron-electron-v37.9.0_GH0.tar.gz) = 15853774
+SHA256 (electron/electron-yarn-cache-37.10.0.tar.xz) = 34a44bb3ceaa38384ab57905ac82eb29f3cb66db5f731479d67b306211916e3d
+SIZE (electron/electron-yarn-cache-37.10.0.tar.xz) = 30531168
+SHA256 (electron/electron-electron-v37.10.0_GH0.tar.gz) = fe59c5d2965970b85590f4bcfb38c90928978708030321a8316ab4623a7e8261
+SIZE (electron/electron-electron-v37.10.0_GH0.tar.gz) = 15857851
 SHA256 (electron/nodejs-node-v22.21.1_GH0.tar.gz) = 4b5ad1795fb6adfb1862df9a626bdca85185866fcd7d0313e87a347eec293fd8
 SIZE (electron/nodejs-node-v22.21.1_GH0.tar.gz) = 129440814
 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb
diff --git a/devel/electron37/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron37/files/patch-electron_shell_browser_api_electron__api__app.cc
index 00fd8098ed1c..a3d88bfb8611 100644
--- a/devel/electron37/files/patch-electron_shell_browser_api_electron__api__app.cc
+++ b/devel/electron37/files/patch-electron_shell_browser_api_electron__api__app.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/api/electron_api_app.cc.orig	2025-10-28 08:06:59 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig	2025-11-13 23:04:07 UTC
 +++ electron/shell/browser/api/electron_api_app.cc
 @@ -96,7 +96,7 @@
  #include "shell/common/process_util.h"
@@ -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.
-@@ -1434,7 +1434,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1445,7 +1445,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);
-@@ -1818,7 +1818,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1829,7 +1829,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod(
            "removeAsDefaultProtocolClient",
            base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser))
@@ -63,7 +63,7 @@
        .SetMethod(
            "getApplicationInfoForProtocol",
            base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser))
-@@ -1876,7 +1876,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1887,7 +1887,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod("getJumpListSettings", &App::GetJumpListSettings)
        .SetMethod("setJumpList", &App::SetJumpList)
  #endif
diff --git a/devel/electron37/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc b/devel/electron37/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc
index abd8c6af7036..44cde47dddc3 100644
--- a/devel/electron37/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc
+++ b/devel/electron37/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/ui/inspectable_web_contents.cc.orig	2025-07-02 15:59:39 UTC
+--- electron/shell/browser/ui/inspectable_web_contents.cc.orig	2025-11-13 23:04:07 UTC
 +++ electron/shell/browser/ui/inspectable_web_contents.cc
-@@ -548,7 +548,7 @@ void InspectableWebContents::LoadCompleted() {
+@@ -554,7 +554,7 @@ void InspectableWebContents::LoadCompleted() {
            prefs.FindString("currentDockState");
        base::RemoveChars(*current_dock_state, "\"", &dock_state_);
      }
diff --git a/devel/electron37/files/patch-electron_shell_browser_ui_inspectable__web__contents__view.cc b/devel/electron37/files/patch-electron_shell_browser_ui_inspectable__web__contents__view.cc
index baf9532d11ad..359c4558dee4 100644
--- a/devel/electron37/files/patch-electron_shell_browser_ui_inspectable__web__contents__view.cc
+++ b/devel/electron37/files/patch-electron_shell_browser_ui_inspectable__web__contents__view.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/ui/inspectable_web_contents_view.cc.orig	2025-07-02 10:12:01 UTC
+--- electron/shell/browser/ui/inspectable_web_contents_view.cc.orig	2025-11-13 23:04:07 UTC
 +++ electron/shell/browser/ui/inspectable_web_contents_view.cc
-@@ -180,7 +180,7 @@ void InspectableWebContentsView::SetIsDocked(bool dock
+@@ -197,7 +197,7 @@ void InspectableWebContentsView::SetIsDocked(bool dock
      params.delegate = devtools_window_delegate_;
      params.bounds = inspectable_web_contents()->dev_tools_bounds();
  
diff --git a/devel/electron37/files/patch-electron_spec_api-app-spec.ts b/devel/electron37/files/patch-electron_spec_api-app-spec.ts
index e1ed07cb198d..a647e942305c 100644
--- a/devel/electron37/files/patch-electron_spec_api-app-spec.ts
+++ b/devel/electron37/files/patch-electron_spec_api-app-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-app-spec.ts.orig	2025-10-28 08:06:59 UTC
+--- electron/spec/api-app-spec.ts.orig	2025-11-13 23:04:07 UTC
 +++ electron/spec/api-app-spec.ts
 @@ -129,11 +129,11 @@ describe('app module', () => {
    });
@@ -14,7 +14,7 @@
        const languages = app.getPreferredSystemLanguages();
        if (languages.length) {
          expect(languages).to.not.include('C');
-@@ -196,7 +196,7 @@ describe('app module', () => {
+@@ -202,7 +202,7 @@ describe('app module', () => {
        expect(code).to.equal(123, 'exit code should be 123, if you see this please tag @MarshallOfSound');
      });
  
@@ -23,7 +23,7 @@
        const electronPath = process.execPath;
        const appPath = path.join(fixturesPath, 'api', 'singleton');
        appProcess = cp.spawn(electronPath, [appPath]);
-@@ -360,7 +360,7 @@ describe('app module', () => {
+@@ -366,7 +366,7 @@ describe('app module', () => {
    });
  
    // GitHub Actions macOS-13 runners used for x64 seem to have a problem with this test.
@@ -32,7 +32,7 @@
      const tempFiles = [
        path.join(fixturesPath, 'foo.txt'),
        path.join(fixturesPath, 'bar.txt'),
-@@ -488,7 +488,7 @@ describe('app module', () => {
+@@ -494,7 +494,7 @@ describe('app module', () => {
    //   let w = null
  
    //   before(function () {
@@ -41,7 +41,7 @@
    //       this.skip()
    //     }
    //   })
-@@ -595,7 +595,7 @@ describe('app module', () => {
+@@ -601,7 +601,7 @@ describe('app module', () => {
    describe('app.badgeCount', () => {
      const platformIsNotSupported =
        (process.platform === 'win32') ||
@@ -50,7 +50,7 @@
  
      const expectedBadgeCount = 42;
  
-@@ -639,7 +639,7 @@ describe('app module', () => {
+@@ -645,7 +645,7 @@ describe('app module', () => {
      });
    });
  
@@ -59,7 +59,7 @@
      const isMac = process.platform === 'darwin';
      const isWin = process.platform === 'win32';
  
-@@ -1019,7 +1019,7 @@ describe('app module', () => {
+@@ -1025,7 +1025,7 @@ describe('app module', () => {
      });
    });
  
@@ -68,7 +68,7 @@
      it('is mutable', () => {
        const values = [false, true, false];
        const setters: Array<(arg: boolean) => void> = [
-@@ -1288,7 +1288,7 @@ describe('app module', () => {
+@@ -1294,7 +1294,7 @@ describe('app module', () => {
      });
    });
  
@@ -77,7 +77,7 @@
      let w: BrowserWindow;
  
      before(function () {
-@@ -1423,7 +1423,7 @@ describe('app module', () => {
+@@ -1429,7 +1429,7 @@ describe('app module', () => {
  
    describe('getApplicationNameForProtocol()', () => {
      // TODO: Linux CI doesn't have registered http & https handlers
@@ -86,7 +86,7 @@
        // We can't expect particular app names here, but these protocols should
        // at least have _something_ registered. Except on our Linux CI
        // environment apparently.
-@@ -1441,7 +1441,7 @@ describe('app module', () => {
+@@ -1447,7 +1447,7 @@ describe('app module', () => {
      });
    });
  
@@ -95,7 +95,7 @@
      it('returns promise rejection for a bogus protocol', async function () {
        await expect(
          app.getApplicationInfoForProtocol('bogus-protocol://')
-@@ -1491,7 +1491,7 @@ describe('app module', () => {
+@@ -1497,7 +1497,7 @@ describe('app module', () => {
    });
  
    // FIXME Get these specs running on Linux CI
@@ -104,7 +104,7 @@
      const iconPath = path.join(__dirname, 'fixtures/assets/icon.ico');
      const sizes = {
        small: 16,
-@@ -1573,7 +1573,7 @@ describe('app module', () => {
+@@ -1579,7 +1579,7 @@ describe('app module', () => {
            expect(entry.memory).to.have.property('privateBytes').that.is.greaterThan(0);
          }
  
@@ -113,7 +113,7 @@
            expect(entry.sandboxed).to.be.a('boolean');
          }
  
-@@ -1647,7 +1647,7 @@ describe('app module', () => {
+@@ -1653,7 +1653,7 @@ describe('app module', () => {
  
      it('succeeds with complete GPUInfo', async () => {
        const completeInfo = await getGPUInfo('complete');
@@ -122,7 +122,7 @@
          // For linux and macOS complete info is same as basic info
          await verifyBasicGPUInfo(completeInfo);
          const basicInfo = await getGPUInfo('basic');
-@@ -1671,7 +1671,7 @@ describe('app module', () => {
+@@ -1677,7 +1677,7 @@ describe('app module', () => {
      });
    });
  
diff --git a/devel/electron37/files/patch-electron_spec_api-web-contents-spec.ts b/devel/electron37/files/patch-electron_spec_api-web-contents-spec.ts
index 001598b72527..fc85171296ae 100644
--- a/devel/electron37/files/patch-electron_spec_api-web-contents-spec.ts
+++ b/devel/electron37/files/patch-electron_spec_api-web-contents-spec.ts
@@ -1,6 +1,6 @@
---- electron/spec/api-web-contents-spec.ts.orig	2025-08-13 14:21:20 UTC
+--- electron/spec/api-web-contents-spec.ts.orig	2025-11-13 23:04:07 UTC
 +++ electron/spec/api-web-contents-spec.ts
-@@ -2797,7 +2797,7 @@ describe('webContents module', () => {
+@@ -2832,7 +2832,7 @@ describe('webContents module', () => {
      });
  
      // TODO(codebytere): OOPIF printing is disabled on Linux at the moment due to crashes.