git: e257686c2554 - main - devel/electron37: Update to 37.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Oct 2025 13:55:09 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e257686c2554282de76472e852a04e4487ac4ea7
commit e257686c2554282de76472e852a04e4487ac4ea7
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-10-29 13:53:55 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-10-29 13:55:03 +0000
devel/electron37: Update to 37.8.0
Changelog: https://github.com/electron/electron/releases/tag/v37.8.0
Reported by: GitHub (watch releases)
---
devel/electron37/Makefile.version | 2 +-
devel/electron37/distinfo | 10 +++++-----
...-electron_shell_browser_api_electron__api__app.cc | 8 ++++----
.../patch-electron_shell_common_node__bindings.cc | 10 +++++-----
.../files/patch-electron_spec_api-app-spec.ts | 20 ++++++++++----------
5 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/devel/electron37/Makefile.version b/devel/electron37/Makefile.version
index fb0b4f428254..56cbb3d33c30 100644
--- a/devel/electron37/Makefile.version
+++ b/devel/electron37/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER= 37.7.1
+ELECTRON_VER= 37.8.0
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron37/distinfo b/devel/electron37/distinfo
index 1590627712e0..3e267fd003cd 100644
--- a/devel/electron37/distinfo
+++ b/devel/electron37/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1761294863
+TIMESTAMP = 1761726961
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.7.1.tar.xz) = 34a44bb3ceaa38384ab57905ac82eb29f3cb66db5f731479d67b306211916e3d
-SIZE (electron/electron-yarn-cache-37.7.1.tar.xz) = 30531168
-SHA256 (electron/electron-electron-v37.7.1_GH0.tar.gz) = 000f23f54e09ddcf34ba13fc40ecda4d93029de94abc41af59a71d8858ce2063
-SIZE (electron/electron-electron-v37.7.1_GH0.tar.gz) = 15848315
+SHA256 (electron/electron-yarn-cache-37.8.0.tar.xz) = 34a44bb3ceaa38384ab57905ac82eb29f3cb66db5f731479d67b306211916e3d
+SIZE (electron/electron-yarn-cache-37.8.0.tar.xz) = 30531168
+SHA256 (electron/electron-electron-v37.8.0_GH0.tar.gz) = b32e7f9766a60b96c5454e60d36fa586cd14e5c123fd4336addb7c13f6612b09
+SIZE (electron/electron-electron-v37.8.0_GH0.tar.gz) = 15851977
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/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 4f6486828120..00fd8098ed1c 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-08-13 14:21:20 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig 2025-10-28 08:06:59 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.
-@@ -1354,7 +1354,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1434,7 +1434,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);
-@@ -1738,7 +1738,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1818,7 +1818,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod(
"removeAsDefaultProtocolClient",
base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser))
@@ -63,7 +63,7 @@
.SetMethod(
"getApplicationInfoForProtocol",
base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser))
-@@ -1796,7 +1796,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1876,7 +1876,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod("getJumpListSettings", &App::GetJumpListSettings)
.SetMethod("setJumpList", &App::SetJumpList)
#endif
diff --git a/devel/electron37/files/patch-electron_shell_common_node__bindings.cc b/devel/electron37/files/patch-electron_shell_common_node__bindings.cc
index 753e0a45b250..965f35e644dc 100644
--- a/devel/electron37/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron37/files/patch-electron_shell_common_node__bindings.cc
@@ -1,6 +1,6 @@
---- electron/shell/common/node_bindings.cc.orig 2025-08-13 14:21:20 UTC
+--- electron/shell/common/node_bindings.cc.orig 2025-10-28 08:06:59 UTC
+++ electron/shell/common/node_bindings.cc
-@@ -47,7 +47,7 @@
+@@ -50,7 +50,7 @@
#include "third_party/electron_node/src/debug_utils.h"
#include "third_party/electron_node/src/module_wrap.h"
@@ -9,7 +9,7 @@
#include "shell/common/crash_keys.h"
#endif
-@@ -162,7 +162,7 @@ void V8FatalErrorCallback(const char* location, const
+@@ -165,7 +165,7 @@ void V8FatalErrorCallback(const char* location, const
void V8FatalErrorCallback(const char* location, const char* message) {
LOG(ERROR) << "Fatal error in V8: " << location << " " << message;
@@ -18,7 +18,7 @@
electron::crash_keys::SetCrashKey("electron.v8-fatal.message", message);
electron::crash_keys::SetCrashKey("electron.v8-fatal.location", location);
#endif
-@@ -184,7 +184,7 @@ void V8OOMErrorCallback(const char* location, const v8
+@@ -187,7 +187,7 @@ void V8OOMErrorCallback(const char* location, const v8
LOG(ERROR) << "OOM detail: " << details.detail;
}
@@ -27,7 +27,7 @@
electron::crash_keys::SetCrashKey("electron.v8-oom.is_heap_oom",
std::to_string(details.is_heap_oom));
if (location) {
-@@ -580,7 +580,7 @@ void NodeBindings::Initialize(v8::Local<v8::Context> c
+@@ -627,7 +627,7 @@ void NodeBindings::Initialize(v8::Local<v8::Context> c
TRACE_EVENT0("electron", "NodeBindings::Initialize");
// Open node's error reporting system for browser process.
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 ebcc2de849bd..e1ed07cb198d 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-08-13 14:21:20 UTC
+--- electron/spec/api-app-spec.ts.orig 2025-10-28 08:06: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', () => {
});
});