git: 07537add2106 - main - devel/electron38: Update to 38.5.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 30 Oct 2025 11:15:27 UTC
The branch main has been updated by tagattie:

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

commit 07537add21068bef30f1cc81214c5112da346914
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-10-30 11:07:19 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-10-30 11:15:18 +0000

    devel/electron38: Update to 38.5.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v38.5.0
    
    Reported by:    GitHub (watch releases)
---
 devel/electron38/Makefile                          |  4 ++--
 devel/electron38/Makefile.version                  |  2 +-
 devel/electron38/distinfo                          | 22 +++++++++++-----------
 ...lectron_shell_browser_api_electron__api__app.cc |  8 ++++----
 .../files/patch-electron_spec_api-app-spec.ts      | 20 ++++++++++----------
 5 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/devel/electron38/Makefile b/devel/electron38/Makefile
index d821e8142ad3..bf7df41832a0 100644
--- a/devel/electron38/Makefile
+++ b/devel/electron38/Makefile
@@ -4,7 +4,7 @@ DISTVERSION=	${ELECTRON_VER}
 PULSEMV=	16
 PULSEV=		${PULSEMV}.1
 CATEGORIES=	devel
-MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v38.3.0/:chromium \
+MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v38.5.0/:chromium \
 		https://freedesktop.org/software/pulseaudio/releases/:pulseaudio
 PKGNAMESUFFIX=	${ELECTRON_VER_MAJOR}
 DISTFILES=	chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \
@@ -223,7 +223,7 @@ SNDIO_VARS=		GN_ARGS+=use_sndio=true
 SNDIO_VARS_OFF=		GN_ARGS+=use_sndio=false
 
 # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER
-CHROMIUM_VER=			140.0.7339.240
+CHROMIUM_VER=			140.0.7339.249
 # See ${WRKSRC}/electron/DEPS for NODE_VER
 NODE_VER=			22.20.0
 # See ${WRKSRC}/electron/DEPS for NAN_VER
diff --git a/devel/electron38/Makefile.version b/devel/electron38/Makefile.version
index 6bb42733992a..23b0c9b6ecc2 100644
--- a/devel/electron38/Makefile.version
+++ b/devel/electron38/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	38.4.0
+ELECTRON_VER=	38.5.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron38/distinfo b/devel/electron38/distinfo
index f7994759e221..24220b5033ec 100644
--- a/devel/electron38/distinfo
+++ b/devel/electron38/distinfo
@@ -1,16 +1,16 @@
-TIMESTAMP = 1761309052
-SHA256 (electron/chromium-140.0.7339.240.tar.xz.0) = 6f4a5a20ca144367ea2eca94239a6abaceae75a476da69a77fe56003dba226f8
-SIZE (electron/chromium-140.0.7339.240.tar.xz.0) = 2000000000
-SHA256 (electron/chromium-140.0.7339.240.tar.xz.1) = 20981168d3a0b42735617c5070134e62fcd598d099a902efc1fa79295de96044
-SIZE (electron/chromium-140.0.7339.240.tar.xz.1) = 2000000000
-SHA256 (electron/chromium-140.0.7339.240.tar.xz.2) = ae902a045d7429e57ceb135001f8ed9325b65fff9bc4dba23add9506a0e216cc
-SIZE (electron/chromium-140.0.7339.240.tar.xz.2) = 331887040
+TIMESTAMP = 1761770963
+SHA256 (electron/chromium-140.0.7339.249.tar.xz.0) = 138fc3e5eb2b5db406a7764a8e287a0d16640f83cbfb452d6e0f54de8eaf65c2
+SIZE (electron/chromium-140.0.7339.249.tar.xz.0) = 2000000000
+SHA256 (electron/chromium-140.0.7339.249.tar.xz.1) = 0b7ea85268dd4f6aacd0641a48d266eaa2eb9c79f2c528926bfcdc5aee36f1da
+SIZE (electron/chromium-140.0.7339.249.tar.xz.1) = 2000000000
+SHA256 (electron/chromium-140.0.7339.249.tar.xz.2) = 0a2a9977f5f34ac878b63e845ef8fcc52da628d952e83565cb308bc1925f69e8
+SIZE (electron/chromium-140.0.7339.249.tar.xz.2) = 331916124
 SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111
-SHA256 (electron/electron-yarn-cache-38.4.0.tar.xz) = 7ed6fedc372c5bd23b38ed252c12ace0f0fbce096b5442add4501a965282eb04
-SIZE (electron/electron-yarn-cache-38.4.0.tar.xz) = 30044356
-SHA256 (electron/electron-electron-v38.4.0_GH0.tar.gz) = 48acd4fcd3a699118d44f53e6264630af070a5a78de8d14a859f8eb863c95240
-SIZE (electron/electron-electron-v38.4.0_GH0.tar.gz) = 15863761
+SHA256 (electron/electron-yarn-cache-38.5.0.tar.xz) = 7ed6fedc372c5bd23b38ed252c12ace0f0fbce096b5442add4501a965282eb04
+SIZE (electron/electron-yarn-cache-38.5.0.tar.xz) = 30044356
+SHA256 (electron/electron-electron-v38.5.0_GH0.tar.gz) = 5b27d50dd1da851bf9f37288c0238b093645046c19f72b4a3fc5300826209c6f
+SIZE (electron/electron-electron-v38.5.0_GH0.tar.gz) = 15868030
 SHA256 (electron/nodejs-node-v22.20.0_GH0.tar.gz) = 5c2e4ecc6583c5d49f9a9a4473fc267402762fc8e8a7835465919dacd6fdd5d8
 SIZE (electron/nodejs-node-v22.20.0_GH0.tar.gz) = 129356712
 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb
diff --git a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc
index 12218b5a4012..7779829716a3 100644
--- a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc
+++ b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/api/electron_api_app.cc.orig	2025-09-02 20:56:04 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig	2025-10-28 14:56:59 UTC
 +++ electron/shell/browser/api/electron_api_app.cc
 @@ -97,7 +97,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.
-@@ -1355,7 +1355,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1435,7 +1435,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);
-@@ -1739,7 +1739,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1819,7 +1819,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod(
            "removeAsDefaultProtocolClient",
            base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser))
@@ -63,7 +63,7 @@
        .SetMethod(
            "getApplicationInfoForProtocol",
            base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser))
-@@ -1797,7 +1797,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1877,7 +1877,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod("getJumpListSettings", &App::GetJumpListSettings)
        .SetMethod("setJumpList", &App::SetJumpList)
  #endif
diff --git a/devel/electron38/files/patch-electron_spec_api-app-spec.ts b/devel/electron38/files/patch-electron_spec_api-app-spec.ts
index ebcc2de849bd..2d68e21081b7 100644
--- a/devel/electron38/files/patch-electron_spec_api-app-spec.ts
+++ b/devel/electron38/files/patch-electron_spec_api-app-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-app-spec.ts.orig	2025-08-13 14:21:20 UTC
+--- electron/spec/api-app-spec.ts.orig	2025-10-28 14:56:59 UTC
 +++ electron/spec/api-app-spec.ts
 @@ -129,11 +129,11 @@ describe('app module', () => {
    });
@@ -63,12 +63,12 @@
      });
    });
  
--  ifdescribe(process.platform !== 'linux')('accessibilitySupportEnabled property', () => {
-+  ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('accessibilitySupportEnabled property', () => {
+-  ifdescribe(process.platform !== 'linux')('accessibility support functionality', () => {
++  ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('accessibility support functionality', () => {
      it('is mutable', () => {
        const values = [false, true, false];
        const setters: Array<(arg: boolean) => void> = [
-@@ -1233,7 +1233,7 @@ describe('app module', () => {
+@@ -1288,7 +1288,7 @@ describe('app module', () => {
      });
    });
  
@@ -77,7 +77,7 @@
      let w: BrowserWindow;
  
      before(function () {
-@@ -1368,7 +1368,7 @@ describe('app module', () => {
+@@ -1423,7 +1423,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.
-@@ -1386,7 +1386,7 @@ describe('app module', () => {
+@@ -1441,7 +1441,7 @@ describe('app module', () => {
      });
    });
  
@@ -95,7 +95,7 @@
      it('returns promise rejection for a bogus protocol', async function () {
        await expect(
          app.getApplicationInfoForProtocol('bogus-protocol://')
-@@ -1436,7 +1436,7 @@ describe('app module', () => {
+@@ -1491,7 +1491,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,
-@@ -1518,7 +1518,7 @@ describe('app module', () => {
+@@ -1573,7 +1573,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');
          }
  
-@@ -1592,7 +1592,7 @@ describe('app module', () => {
+@@ -1647,7 +1647,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');
-@@ -1616,7 +1616,7 @@ describe('app module', () => {
+@@ -1671,7 +1671,7 @@ describe('app module', () => {
      });
    });