git: c6806deb82a2 - main - devel/electron42: Update to 42.5.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jun 2026 13:37:57 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c6806deb82a2940df40926b34d9db099209d853a
commit c6806deb82a2940df40926b34d9db099209d853a
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-06-30 13:36:56 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-06-30 13:37:49 +0000
devel/electron42: Update to 42.5.1
Changelog: https://github.com/electron/electron/releases/tag/v42.5.1
Reported by: GitHub (watch releases)
---
devel/electron42/Makefile.version | 2 +-
devel/electron42/distinfo | 10 +++++-----
.../files/patch-electron_lib_browser_api_menu-item-roles.ts | 4 ++--
...tch-electron_shell_browser_ui_inspectable__web__contents.cc | 4 ++--
.../electron42/files/patch-electron_spec_api-protocol-spec.ts | 4 ++--
devel/electron42/files/patch-electron_spec_chromium-spec.ts | 6 +++---
devel/electron42/files/patch-mojo_core_channel.cc | 4 ++--
devel/electron42/files/patch-mojo_core_channel__posix.cc | 4 ++--
8 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/devel/electron42/Makefile.version b/devel/electron42/Makefile.version
index e1e78d9ceff4..6426cb5219c2 100644
--- a/devel/electron42/Makefile.version
+++ b/devel/electron42/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER= 42.5.0
+ELECTRON_VER= 42.5.1
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron42/distinfo b/devel/electron42/distinfo
index 823ad53e0a70..9fb86b8a7d05 100644
--- a/devel/electron42/distinfo
+++ b/devel/electron42/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1782305394
+TIMESTAMP = 1782822192
SHA256 (electron/chromium-148.0.7778.271.tar.xz.0) = 6cdfd5bdece5928abc5ab8cfc0292b42b51eeb6d0241ba5986d452fe5d08cadd
SIZE (electron/chromium-148.0.7778.271.tar.xz.0) = 2000000000
SHA256 (electron/chromium-148.0.7778.271.tar.xz.1) = 106bb8cb75ca1f6b925d2ce5da8106fbc253b90d922952add52871ffc5eaa1bc
@@ -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/electron42-42.5.0-node-modules.tar.xz) = 73224ef31205c29739c6d35f93129f0ab290bf714d59e1461fc675c070aac933
-SIZE (electron/electron42-42.5.0-node-modules.tar.xz) = 71097369
-SHA256 (electron/electron-electron-v42.5.0_GH0.tar.gz) = 7130a41fb10bacd2725e6937d3981172612e95b67d039f7e592aad2bd1755e7f
-SIZE (electron/electron-electron-v42.5.0_GH0.tar.gz) = 18903309
+SHA256 (electron/electron42-42.5.1-node-modules.tar.xz) = 73224ef31205c29739c6d35f93129f0ab290bf714d59e1461fc675c070aac933
+SIZE (electron/electron42-42.5.1-node-modules.tar.xz) = 71097369
+SHA256 (electron/electron-electron-v42.5.1_GH0.tar.gz) = cc3411c194b179c18bfd9572de3ad13e6f43cb51ea13dc38c16844e29c1388d4
+SIZE (electron/electron-electron-v42.5.1_GH0.tar.gz) = 18920548
SHA256 (electron/nodejs-node-v24.17.0_GH0.tar.gz) = 63ff9610929c96453b09914fb5fb37a46cd5f54a6f5147213d31b43e08850b44
SIZE (electron/nodejs-node-v24.17.0_GH0.tar.gz) = 127311158
SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3
diff --git a/devel/electron42/files/patch-electron_lib_browser_api_menu-item-roles.ts b/devel/electron42/files/patch-electron_lib_browser_api_menu-item-roles.ts
index 0e4e15543af5..4eaefee80e53 100644
--- a/devel/electron42/files/patch-electron_lib_browser_api_menu-item-roles.ts
+++ b/devel/electron42/files/patch-electron_lib_browser_api_menu-item-roles.ts
@@ -1,6 +1,6 @@
---- electron/lib/browser/api/menu-item-roles.ts.orig 2026-05-07 20:19:20 UTC
+--- electron/lib/browser/api/menu-item-roles.ts.orig 2026-06-29 04:13:24 UTC
+++ electron/lib/browser/api/menu-item-roles.ts
-@@ -10,7 +10,7 @@ const isWindows = process.platform === 'win32';
+@@ -2,7 +2,7 @@ const isWindows = process.platform === 'win32';
const isMac = process.platform === 'darwin';
const isWindows = process.platform === 'win32';
diff --git a/devel/electron42/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc b/devel/electron42/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc
index ce4f709187f7..bd184eeefa6f 100644
--- a/devel/electron42/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc
+++ b/devel/electron42/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2026-06-09 06:05:33 UTC
+--- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2026-06-29 04:13:24 UTC
+++ electron/shell/browser/ui/inspectable_web_contents.cc
-@@ -592,7 +592,7 @@ void InspectableWebContents::LoadCompleted() {
+@@ -593,7 +593,7 @@ void InspectableWebContents::LoadCompleted() {
dock_state_ = "right";
}
}
diff --git a/devel/electron42/files/patch-electron_spec_api-protocol-spec.ts b/devel/electron42/files/patch-electron_spec_api-protocol-spec.ts
index 01a945ed735f..aaebe2123da5 100644
--- a/devel/electron42/files/patch-electron_spec_api-protocol-spec.ts
+++ b/devel/electron42/files/patch-electron_spec_api-protocol-spec.ts
@@ -1,6 +1,6 @@
---- electron/spec/api-protocol-spec.ts.orig 2026-05-07 20:19:20 UTC
+--- electron/spec/api-protocol-spec.ts.orig 2026-06-29 04:13:24 UTC
+++ electron/spec/api-protocol-spec.ts
-@@ -2056,7 +2056,7 @@ describe('protocol module', () => {
+@@ -2095,7 +2095,7 @@ describe('protocol module', () => {
// TODO(nornagon): this test doesn't pass on Linux currently, investigate.
// test is also flaky on CI on macOS so it is currently disabled there as well.
diff --git a/devel/electron42/files/patch-electron_spec_chromium-spec.ts b/devel/electron42/files/patch-electron_spec_chromium-spec.ts
index ba94f0d05a2d..72933fbc9aeb 100644
--- a/devel/electron42/files/patch-electron_spec_chromium-spec.ts
+++ b/devel/electron42/files/patch-electron_spec_chromium-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/chromium-spec.ts.orig 2026-06-16 15:20:20 UTC
+--- electron/spec/chromium-spec.ts.orig 2026-06-29 04:13:24 UTC
+++ electron/spec/chromium-spec.ts
@@ -601,15 +601,15 @@ describe('command line switches', () => {
testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`));
@@ -20,7 +20,7 @@
testLocale('', lcAll, true)
);
});
-@@ -3830,12 +3830,12 @@ describe('font fallback', () => {
+@@ -3832,12 +3832,12 @@ describe('font fallback', () => {
expect(fonts[0].familyName).to.equal('Arial');
} else if (process.platform === 'darwin') {
expect(fonts[0].familyName).to.equal('Helvetica');
@@ -35,7 +35,7 @@
'should fall back to Japanese font for sans-serif Japanese script',
async function () {
const html = `
-@@ -4402,7 +4402,7 @@ describe('paste execCommand', () => {
+@@ -4404,7 +4404,7 @@ describe('paste execCommand', () => {
});
});
diff --git a/devel/electron42/files/patch-mojo_core_channel.cc b/devel/electron42/files/patch-mojo_core_channel.cc
index 788880d9cf13..2f520804b3b6 100644
--- a/devel/electron42/files/patch-mojo_core_channel.cc
+++ b/devel/electron42/files/patch-mojo_core_channel.cc
@@ -1,4 +1,4 @@
---- mojo/core/channel.cc.orig 2026-03-13 16:54:03 UTC
+--- mojo/core/channel.cc.orig 2026-06-30 12:25:53 UTC
+++ mojo/core/channel.cc
@@ -74,7 +74,11 @@ const size_t kMaxAttachedHandles = 253;
const size_t kMaxAttachedHandles = 253;
@@ -21,7 +21,7 @@
namespace {
-@@ -1313,7 +1317,7 @@ bool Channel::OnControlMessage(Message::MessageType me
+@@ -1318,7 +1322,7 @@ bool Channel::OnControlMessage(Message::MessageType me
}
// Currently only CrOs, Linux, and Android support upgrades.
diff --git a/devel/electron42/files/patch-mojo_core_channel__posix.cc b/devel/electron42/files/patch-mojo_core_channel__posix.cc
index e44b96a0de39..b7add88bb1a4 100644
--- a/devel/electron42/files/patch-mojo_core_channel__posix.cc
+++ b/devel/electron42/files/patch-mojo_core_channel__posix.cc
@@ -1,6 +1,6 @@
---- mojo/core/channel_posix.cc.orig 2026-04-28 21:06:17 UTC
+--- mojo/core/channel_posix.cc.orig 2026-06-30 12:25:53 UTC
+++ mojo/core/channel_posix.cc
-@@ -606,6 +606,13 @@ void Channel::OfferChannelUpgrade() {
+@@ -613,6 +613,13 @@ void Channel::OfferChannelUpgrade() {
}
static_cast<ChannelLinux*>(this)->OfferSharedMemUpgrade();
}