Date: Sun, 08 Mar 2026 09:35:42 +0000 From: Hiroki Tagato <tagattie@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c2d059c87d83 - main - devel/electron39: Update to 39.8.0 Message-ID: <69ad42ee.36e19.701d9e52@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2d059c87d83240c32e4fc56177375f94a68a1ba commit c2d059c87d83240c32e4fc56177375f94a68a1ba Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2026-03-08 09:33:02 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2026-03-08 09:35:16 +0000 devel/electron39: Update to 39.8.0 Changelog: https://github.com/electron/electron/releases/tag/v39.8.0 Reported by: GitHub (watch releases) --- devel/electron39/Makefile.version | 2 +- devel/electron39/distinfo | 10 +++++----- .../files/patch-electron_script_lib_config.py | 5 +++-- ...shell_browser_api_electron__api__web__contents.cc | 16 ++++++++-------- ..._shell_browser_api_electron__api__web__contents.h | 4 ++-- .../patch-electron_shell_common_node__bindings.cc | 4 ++-- .../patch-electron_spec_api-browser-window-spec.ts | 20 ++++++++++---------- 7 files changed, 31 insertions(+), 30 deletions(-) diff --git a/devel/electron39/Makefile.version b/devel/electron39/Makefile.version index 68dd1d879d26..0e1e39305a66 100644 --- a/devel/electron39/Makefile.version +++ b/devel/electron39/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 39.7.0 +ELECTRON_VER= 39.8.0 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron39/distinfo b/devel/electron39/distinfo index 935de8214da5..9e8a43cc9815 100644 --- a/devel/electron39/distinfo +++ b/devel/electron39/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1772009957 +TIMESTAMP = 1772890775 SHA256 (electron/chromium-142.0.7444.265.tar.xz.0) = 54ca3cf92f6a207a4e1b46fe016da7d515097f999b5e53ba4201adc906ae383e SIZE (electron/chromium-142.0.7444.265.tar.xz.0) = 2000000000 SHA256 (electron/chromium-142.0.7444.265.tar.xz.1) = 289722408b81d862eb63f98cf47516308add8e18f5d62d2455c98942a2ebface @@ -9,10 +9,10 @@ SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111 SHA256 (electron/yarn-4.12.0.tgz) = bd58d06826ce9542c4cd904fe10bab7bc718ea2cc39a45d9fbd15f2edb45761c SIZE (electron/yarn-4.12.0.tgz) = 1056794 -SHA256 (electron/electron39-39.7.0-node-modules.tar.xz) = 0f539cfddfd0cbcf8df0e5a974a0c2a7cf812d7c1fd10ba2148a69265412ad5a -SIZE (electron/electron39-39.7.0-node-modules.tar.xz) = 59894046 -SHA256 (electron/electron-electron-v39.7.0_GH0.tar.gz) = 0842b84a20e27af80f83afe652fcbb72e79a847ef5d599ed5775524b8def4c7c -SIZE (electron/electron-electron-v39.7.0_GH0.tar.gz) = 17142622 +SHA256 (electron/electron39-39.8.0-node-modules.tar.xz) = 0f539cfddfd0cbcf8df0e5a974a0c2a7cf812d7c1fd10ba2148a69265412ad5a +SIZE (electron/electron39-39.8.0-node-modules.tar.xz) = 59894046 +SHA256 (electron/electron-electron-v39.8.0_GH0.tar.gz) = 0d2bf4f74a7f5ccc2686f2b61580f2f08860dc2a5b48bfe09cbc8869470761a5 +SIZE (electron/electron-electron-v39.8.0_GH0.tar.gz) = 17143914 SHA256 (electron/nodejs-node-v22.22.0_GH0.tar.gz) = b7f40aadbf71df0d78a2239f593e4f14bf2f129fd9c5643f024c68ec1b48a854 SIZE (electron/nodejs-node-v22.22.0_GH0.tar.gz) = 129435366 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb diff --git a/devel/electron39/files/patch-electron_script_lib_config.py b/devel/electron39/files/patch-electron_script_lib_config.py index 4915ef347e14..a0526a6d6025 100644 --- a/devel/electron39/files/patch-electron_script_lib_config.py +++ b/devel/electron39/files/patch-electron_script_lib_config.py @@ -1,12 +1,13 @@ ---- electron/script/lib/config.py.orig 2024-05-29 09:41:07 UTC +--- electron/script/lib/config.py.orig 2026-03-03 14:13:37 UTC +++ electron/script/lib/config.py -@@ -7,6 +7,9 @@ PLATFORM = { +@@ -7,6 +7,10 @@ PLATFORM = { 'cygwin': 'win32', 'msys': 'win32', 'darwin': 'darwin', + 'freebsd13': 'freebsd', + 'freebsd14': 'freebsd', + 'freebsd15': 'freebsd', ++ 'freebsd16': 'freebsd', 'linux': 'linux', 'linux2': 'linux', 'win32': 'win32', diff --git a/devel/electron39/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron39/files/patch-electron_shell_browser_api_electron__api__web__contents.cc index 1d82e39cdf90..d7a322e4b9a5 100644 --- a/devel/electron39/files/patch-electron_shell_browser_api_electron__api__web__contents.cc +++ b/devel/electron39/files/patch-electron_shell_browser_api_electron__api__web__contents.cc @@ -1,6 +1,6 @@ ---- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-01-19 18:01:42 UTC +--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-03-03 14:13:37 UTC +++ electron/shell/browser/api/electron_api_web_contents.cc -@@ -161,11 +161,11 @@ +@@ -162,11 +162,11 @@ #include "ui/base/cocoa/defaults_utils.h" #endif @@ -14,7 +14,7 @@ #include "ui/aura/window.h" #include "ui/gfx/font_render_params.h" #endif -@@ -197,7 +197,7 @@ +@@ -198,7 +198,7 @@ #include "content/public/browser/plugin_service.h" #endif @@ -23,7 +23,7 @@ #include "chrome/browser/hang_monitor/hang_crash_dump.h" // nogncheck #endif -@@ -571,7 +571,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval( +@@ -572,7 +572,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval( ui::TextInsertionCaretBlinkPeriodFromDefaults()); if (system_value) return *system_value; @@ -32,7 +32,7 @@ if (auto* native_theme = ui::NativeTheme::GetInstanceForNativeUi()) return native_theme->caret_blink_interval(); #elif BUILDFLAG(IS_WIN) -@@ -936,7 +936,7 @@ void WebContents::InitWithSessionAndOptions( +@@ -937,7 +937,7 @@ void WebContents::InitWithSessionAndOptions( accept_languages.pop_back(); prefs->accept_languages = accept_languages; @@ -41,7 +41,7 @@ // Update font settings. static const gfx::FontRenderParams params( gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr)); -@@ -2714,13 +2714,13 @@ void WebContents::ForcefullyCrashRenderer() { +@@ -2727,13 +2727,13 @@ void WebContents::ForcefullyCrashRenderer() { content::RenderProcessHost* rph = rwh->GetProcess(); if (rph) { @@ -57,7 +57,7 @@ CrashDumpHungChildProcess(rph->GetProcess().Handle()); #endif rph->Shutdown(content::RESULT_CODE_HUNG); -@@ -3404,7 +3404,7 @@ void WebContents::Focus() { +@@ -3417,7 +3417,7 @@ void WebContents::Focus() { void WebContents::Focus() { // Focusing on WebContents does not automatically focus the window on macOS // and Linux, do it manually to match the behavior on Windows. @@ -66,7 +66,7 @@ if (owner_window()) owner_window()->Focus(true); #endif -@@ -4295,7 +4295,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { +@@ -4308,7 +4308,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { } #endif diff --git a/devel/electron39/files/patch-electron_shell_browser_api_electron__api__web__contents.h b/devel/electron39/files/patch-electron_shell_browser_api_electron__api__web__contents.h index 609564cb0927..598d75144012 100644 --- a/devel/electron39/files/patch-electron_shell_browser_api_electron__api__web__contents.h +++ b/devel/electron39/files/patch-electron_shell_browser_api_electron__api__web__contents.h @@ -1,6 +1,6 @@ ---- electron/shell/browser/api/electron_api_web_contents.h.orig 2025-10-27 17:58:27 UTC +--- electron/shell/browser/api/electron_api_web_contents.h.orig 2026-03-03 14:13:37 UTC +++ electron/shell/browser/api/electron_api_web_contents.h -@@ -745,7 +745,7 @@ class WebContents final : public ExclusiveAccessContex +@@ -746,7 +746,7 @@ class WebContents final : public ExclusiveAccessContex #if defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_MAC) ui::ImageModel GetDevToolsWindowIcon() override; #endif diff --git a/devel/electron39/files/patch-electron_shell_common_node__bindings.cc b/devel/electron39/files/patch-electron_shell_common_node__bindings.cc index 7a5deb233490..b8dcf05c3ed9 100644 --- a/devel/electron39/files/patch-electron_shell_common_node__bindings.cc +++ b/devel/electron39/files/patch-electron_shell_common_node__bindings.cc @@ -1,4 +1,4 @@ ---- electron/shell/common/node_bindings.cc.orig 2026-02-02 23:06:17 UTC +--- electron/shell/common/node_bindings.cc.orig 2026-03-03 14:13:37 UTC +++ electron/shell/common/node_bindings.cc @@ -49,7 +49,7 @@ #include "third_party/electron_node/src/debug_utils.h" @@ -27,7 +27,7 @@ electron::crash_keys::SetCrashKey("electron.v8-oom.is_heap_oom", std::to_string(details.is_heap_oom)); if (location) { -@@ -637,7 +637,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola +@@ -638,7 +638,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola TRACE_EVENT0("electron", "NodeBindings::Initialize"); // Open node's error reporting system for browser process. diff --git a/devel/electron39/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron39/files/patch-electron_spec_api-browser-window-spec.ts index 888c191b242e..50a523d9eef6 100644 --- a/devel/electron39/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron39/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2026-02-24 16:18:59 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2026-03-03 14:13:37 UTC +++ electron/spec/api-browser-window-spec.ts @@ -69,7 +69,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -108,7 +108,7 @@ const maximize = once(w, 'maximize'); w.show(); w.maximize(); -@@ -4098,7 +4098,7 @@ describe('BrowserWindow module', () => { +@@ -4120,7 +4120,7 @@ describe('BrowserWindow module', () => { expect(test.nodeTimers).to.equal(true); expect(test.nodeUrl).to.equal(true); @@ -117,7 +117,7 @@ expect(test.creationTime).to.be.null('creation time'); expect(test.systemMemoryInfo).to.be.null('system memory info'); } else { -@@ -4603,7 +4603,7 @@ describe('BrowserWindow module', () => { +@@ -4625,7 +4625,7 @@ describe('BrowserWindow module', () => { }); }); @@ -126,7 +126,7 @@ afterEach(closeAllWindows); it('emits an event when window is maximized', async () => { const w = new BrowserWindow({ show: false }); -@@ -4874,7 +4874,7 @@ describe('BrowserWindow module', () => { +@@ -4896,7 +4896,7 @@ describe('BrowserWindow module', () => { // TODO(zcbenz): // This test does not run on Linux CI. See: // https://github.com/electron/electron/issues/28699 @@ -135,7 +135,7 @@ const w = new BrowserWindow({}); const maximize = once(w, 'maximize'); w.maximize(); -@@ -4891,7 +4891,7 @@ describe('BrowserWindow module', () => { +@@ -4913,7 +4913,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI @@ -144,7 +144,7 @@ afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -4928,7 +4928,7 @@ describe('BrowserWindow module', () => { +@@ -4950,7 +4950,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 @@ -153,7 +153,7 @@ const w = new BrowserWindow(); const minimize = once(w, 'minimize'); w.minimize(); -@@ -5414,7 +5414,7 @@ describe('BrowserWindow module', () => { +@@ -5436,7 +5436,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. @@ -162,7 +162,7 @@ const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -5654,7 +5654,7 @@ describe('BrowserWindow module', () => { +@@ -5676,7 +5676,7 @@ describe('BrowserWindow module', () => { }); }); @@ -171,7 +171,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -5888,7 +5888,7 @@ describe('BrowserWindow module', () => { +@@ -5910,7 +5910,7 @@ describe('BrowserWindow module', () => { }); }); @@ -180,7 +180,7 @@ it('does not toggle auto-hide menu bar visibility', async () => { const w = new BrowserWindow({ show: false, autoHideMenuBar: true }); w.setMenuBarVisibility(false); -@@ -6842,7 +6842,7 @@ describe('BrowserWindow module', () => { +@@ -6864,7 +6864,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ad42ee.36e19.701d9e52>
