git: 4c485d3bf060 - 2026Q3 - devel/electron42: Update to 42.7.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Sep 2026 18:43:31 UTC
The branch 2026Q3 has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4c485d3bf060b2135811e06beab7fc85b6f0a49c
commit 4c485d3bf060b2135811e06beab7fc85b6f0a49c
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-07-25 07:31:05 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-09-03 18:43:16 +0000
devel/electron42: Update to 42.7.1
Changelog: https://github.com/electron/electron/releases/tag/v42.7.1
Reported by: GitHub (watch releases)
(cherry picked from commit 6aa325ae9f88740fe72964f8fe3f4e967a606e10)
---
devel/electron42/Makefile.version | 2 +-
devel/electron42/distinfo | 10 ++++-----
...lectron_shell_browser_api_electron__api__app.cc | 16 +++++++--------
...electron_shell_browser_native__window__views.cc | 24 +++++++++++-----------
.../patch-electron_spec_api-browser-window-spec.ts | 6 +++---
.../files/patch-electron_spec_chromium-spec.ts | 6 +++---
6 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/devel/electron42/Makefile.version b/devel/electron42/Makefile.version
index cebcc9a9aebb..deef5718ea09 100644
--- a/devel/electron42/Makefile.version
+++ b/devel/electron42/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER= 42.7.0
+ELECTRON_VER= 42.7.1
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron42/distinfo b/devel/electron42/distinfo
index 81c4f0ff8909..804680190792 100644
--- a/devel/electron42/distinfo
+++ b/devel/electron42/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1784185875
+TIMESTAMP = 1784791001
SHA256 (electron/chromium-148.0.7778.280.tar.xz.0) = cddbfeba5a50d950693590399df8df3a8ef5910eee367c76aec2541444c59dea
SIZE (electron/chromium-148.0.7778.280.tar.xz.0) = 2000000000
SHA256 (electron/chromium-148.0.7778.280.tar.xz.1) = cd2f2c3740c05eb549878ab6c6571f7858456c2c56cf798e60ffbaf7e651429f
@@ -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.7.0-node-modules.tar.xz) = 73224ef31205c29739c6d35f93129f0ab290bf714d59e1461fc675c070aac933
-SIZE (electron/electron42-42.7.0-node-modules.tar.xz) = 71097369
-SHA256 (electron/electron-electron-v42.7.0_GH0.tar.gz) = 2bb1a5bb11d39dc7584f0baa72c1b90cde8d183e1d6902622ed781fbad91e4fd
-SIZE (electron/electron-electron-v42.7.0_GH0.tar.gz) = 19037709
+SHA256 (electron/electron42-42.7.1-node-modules.tar.xz) = 73224ef31205c29739c6d35f93129f0ab290bf714d59e1461fc675c070aac933
+SIZE (electron/electron42-42.7.1-node-modules.tar.xz) = 71097369
+SHA256 (electron/electron-electron-v42.7.1_GH0.tar.gz) = f458d5714e0f316931c0774698e6a309b08d722448a2f141acdddea2cf44309b
+SIZE (electron/electron-electron-v42.7.1_GH0.tar.gz) = 19059236
SHA256 (electron/nodejs-node-v24.18.0_GH0.tar.gz) = e07dd419efe30a89b90d872a956d074f4197fd103781bc06e0fce99d0130ad01
SIZE (electron/nodejs-node-v24.18.0_GH0.tar.gz) = 127522062
SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3
diff --git a/devel/electron42/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron42/files/patch-electron_shell_browser_api_electron__api__app.cc
index c63e4476eb89..483ccb350d57 100644
--- a/devel/electron42/files/patch-electron_shell_browser_api_electron__api__app.cc
+++ b/devel/electron42/files/patch-electron_shell_browser_api_electron__api__app.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_app.cc.orig 2026-05-26 16:24:13 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig 2026-07-21 15:08:10 UTC
+++ electron/shell/browser/api/electron_api_app.cc
-@@ -108,7 +108,7 @@
+@@ -109,7 +109,7 @@
#include "ui/base/resource/resource_bundle.h"
#endif
@@ -9,7 +9,7 @@
#include "base/nix/scoped_xdg_activation_token_injector.h"
#include "base/nix/xdg_util.h"
#endif
-@@ -436,7 +436,7 @@ bool NotificationCallbackWrapper(
+@@ -437,7 +437,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.
-@@ -621,7 +621,7 @@ void App::OnFinishLaunching(base::DictValue launch_inf
+@@ -622,7 +622,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());
-@@ -970,7 +970,7 @@ void App::SetDesktopName(const std::string& desktop_na
+@@ -971,7 +971,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
-@@ -1072,7 +1072,7 @@ bool App::RequestSingleInstanceLock(gin::Arguments* ar
+@@ -1073,7 +1073,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.
-@@ -1459,7 +1459,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1468,7 +1468,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);
-@@ -1965,7 +1965,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1974,7 +1974,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod("getJumpListSettings", &App::GetJumpListSettings)
.SetMethod("setJumpList", &App::SetJumpList)
#endif
diff --git a/devel/electron42/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron42/files/patch-electron_shell_browser_native__window__views.cc
index 9bf066dc9cf4..e25742bba7ed 100644
--- a/devel/electron42/files/patch-electron_shell_browser_native__window__views.cc
+++ b/devel/electron42/files/patch-electron_shell_browser_native__window__views.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/native_window_views.cc.orig 2026-06-16 15:20:20 UTC
+--- electron/shell/browser/native_window_views.cc.orig 2026-07-21 15:08:10 UTC
+++ electron/shell/browser/native_window_views.cc
@@ -58,7 +58,7 @@
#include "ui/wm/core/shadow_types.h"
@@ -90,7 +90,7 @@
if (resizable_)
old_size_constraints_ = GetSizeConstraints();
#endif
-@@ -1135,7 +1135,7 @@ bool NativeWindowViews::IsClosable() const {
+@@ -1140,7 +1140,7 @@ bool NativeWindowViews::IsClosable() const {
return false;
}
return !(info.fState & MFS_DISABLED);
@@ -99,7 +99,7 @@
return true;
#endif
}
-@@ -1275,7 +1275,7 @@ void NativeWindowViews::SetBackgroundColor(SkColor bac
+@@ -1280,7 +1280,7 @@ void NativeWindowViews::SetBackgroundColor(SkColor bac
InvalidateRect(GetAcceleratedWidget(), nullptr, 1);
#endif
@@ -108,7 +108,7 @@
// Widget and root view need to be transparent for CSD to draw shadow regions
// and custom edges and corners. The web contents view will still be
// painted with the true background color, which is cached in state.
-@@ -1405,7 +1405,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men
+@@ -1410,7 +1410,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men
}
void NativeWindowViews::SetMenu(ElectronMenuModel* menu_model) {
@@ -117,7 +117,7 @@
// Remove global menu bar.
if (global_menu_bar_ && menu_model == nullptr) {
global_menu_bar_.reset();
-@@ -1461,7 +1461,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow*
+@@ -1466,7 +1466,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow*
void NativeWindowViews::SetParentWindow(NativeWindow* parent) {
NativeWindow::SetParentWindow(parent);
@@ -126,7 +126,7 @@
if (x11_util::IsX11()) {
auto* connection = x11::Connection::Get();
connection->SetProperty(
-@@ -1523,7 +1523,7 @@ void NativeWindowViews::SetProgressBar(double progress
+@@ -1528,7 +1528,7 @@ void NativeWindowViews::SetProgressBar(double progress
NativeWindow::ProgressState state) {
#if BUILDFLAG(IS_WIN)
taskbar_host_.SetProgressBar(GetAcceleratedWidget(), progress, state);
@@ -135,7 +135,7 @@
if (unity::IsRunning()) {
unity::SetProgressFraction(progress);
}
-@@ -1649,7 +1649,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM
+@@ -1654,7 +1654,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM
#if BUILDFLAG(IS_WIN)
window_handle =
reinterpret_cast<content::DesktopMediaID::Id>(accelerated_widget);
@@ -144,7 +144,7 @@
window_handle = static_cast<uint32_t>(accelerated_widget);
#endif
aura::WindowTreeHost* const host =
-@@ -1779,7 +1779,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC
+@@ -1784,7 +1784,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC
SendMessage(hwnd, WM_SETICON, ICON_BIG,
reinterpret_cast<LPARAM>(app_icon_.get()));
}
@@ -153,7 +153,7 @@
void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) {
auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget(
GetAcceleratedWidget());
-@@ -1900,7 +1900,7 @@ bool NativeWindowViews::CanMinimize() const {
+@@ -1905,7 +1905,7 @@ bool NativeWindowViews::CanMinimize() const {
bool NativeWindowViews::CanMinimize() const {
#if BUILDFLAG(IS_WIN)
return minimizable_;
@@ -162,7 +162,7 @@
return true;
#endif
}
-@@ -1934,7 +1934,7 @@ std::unique_ptr<views::FrameView> NativeWindowViews::C
+@@ -1939,7 +1939,7 @@ std::unique_ptr<views::FrameView> NativeWindowViews::C
#endif
}
@@ -171,7 +171,7 @@
LinuxFrameLayout* NativeWindowViews::GetLinuxFrameLayout() {
auto* ncv = widget()->non_client_view();
if (!ncv)
-@@ -1954,7 +1954,7 @@ void NativeWindowViews::HandleKeyboardEvent(
+@@ -1959,7 +1959,7 @@ void NativeWindowViews::HandleKeyboardEvent(
if (widget_destroyed_)
return;
@@ -180,7 +180,7 @@
if (event.windows_key_code == ui::VKEY_BROWSER_BACK)
NotifyWindowExecuteAppCommand(kBrowserBackward);
else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD)
-@@ -1973,7 +1973,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e
+@@ -1978,7 +1978,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e
// Alt+Click should not toggle menu bar.
root_view_.ResetAltState();
diff --git a/devel/electron42/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron42/files/patch-electron_spec_api-browser-window-spec.ts
index 0e646a047d63..d3b8ae83cbbb 100644
--- a/devel/electron42/files/patch-electron_spec_api-browser-window-spec.ts
+++ b/devel/electron42/files/patch-electron_spec_api-browser-window-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-browser-window-spec.ts.orig 2026-06-16 15:20:20 UTC
+--- electron/spec/api-browser-window-spec.ts.orig 2026-07-21 15:08:10 UTC
+++ electron/spec/api-browser-window-spec.ts
@@ -100,7 +100,7 @@ describe('BrowserWindow module', () => {
}).not.to.throw();
@@ -171,7 +171,7 @@
const w = new BrowserWindow({ show: false });
expect(w.resizable).to.be.true('resizable');
-@@ -6284,7 +6284,7 @@ describe('BrowserWindow module', () => {
+@@ -6272,7 +6272,7 @@ describe('BrowserWindow module', () => {
});
});
@@ -180,7 +180,7 @@
// Not implemented on Linux.
afterEach(closeAllWindows);
-@@ -7602,7 +7602,7 @@ describe('BrowserWindow module', () => {
+@@ -7590,7 +7590,7 @@ describe('BrowserWindow module', () => {
describe('"transparent" option', () => {
afterEach(closeAllWindows);
diff --git a/devel/electron42/files/patch-electron_spec_chromium-spec.ts b/devel/electron42/files/patch-electron_spec_chromium-spec.ts
index 72933fbc9aeb..2a63fece16bf 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-29 04:13:24 UTC
+--- electron/spec/chromium-spec.ts.orig 2026-07-21 15:08:10 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)
);
});
-@@ -3832,12 +3832,12 @@ describe('font fallback', () => {
+@@ -3893,12 +3893,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 = `
-@@ -4404,7 +4404,7 @@ describe('paste execCommand', () => {
+@@ -4465,7 +4465,7 @@ describe('paste execCommand', () => {
});
});