diff --git a/devel/electron40/Makefile.version b/devel/electron40/Makefile.version index 08c499055349..4c0b3f9deb0a 100644 --- a/devel/electron40/Makefile.version +++ b/devel/electron40/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 40.10.0 +ELECTRON_VER= 40.10.1 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron40/distinfo b/devel/electron40/distinfo index 97451cfeafdd..8585a5b79490 100644 --- a/devel/electron40/distinfo +++ b/devel/electron40/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1778490992 +TIMESTAMP = 1779345033 SHA256 (electron/chromium-144.0.7559.236.tar.xz.0) = 21556e44d5f5e464a7603afc1e912127c4546d3c55d777055614b769247d2714 SIZE (electron/chromium-144.0.7559.236.tar.xz.0) = 2000000000 SHA256 (electron/chromium-144.0.7559.236.tar.xz.1) = 389e96ab80e7f3ea7a330060c51ed714f2277810b13bbd1d72bb9e6119dce3a2 @@ -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/electron40-40.10.0-node-modules.tar.xz) = 3e0231cb2e5bf812eacdcd28c0b9c6cdff62e499b245585d5f4ad54141c85e05 -SIZE (electron/electron40-40.10.0-node-modules.tar.xz) = 68768407 -SHA256 (electron/electron-electron-v40.10.0_GH0.tar.gz) = fa1dcd716ee3c2ad0a28d6d49d7cbff4b5ecfde7d6508163628b87e48516ef3f -SIZE (electron/electron-electron-v40.10.0_GH0.tar.gz) = 17327416 +SHA256 (electron/electron40-40.10.1-node-modules.tar.xz) = 3e0231cb2e5bf812eacdcd28c0b9c6cdff62e499b245585d5f4ad54141c85e05 +SIZE (electron/electron40-40.10.1-node-modules.tar.xz) = 68768407 +SHA256 (electron/electron-electron-v40.10.1_GH0.tar.gz) = 5b13c9de6aab2c74915a2c128e656fd4a31d148199748fd2583c837081935ff9 +SIZE (electron/electron-electron-v40.10.1_GH0.tar.gz) = 17396226 SHA256 (electron/nodejs-node-v24.15.0_GH0.tar.gz) = 5cfb169b21878f50876e0c6a77db1a5e40d733960232682bebb5e267246a2e80 SIZE (electron/nodejs-node-v24.15.0_GH0.tar.gz) = 126716937 SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3 diff --git a/devel/electron40/files/patch-electron_spec_api-web-contents-spec.ts b/devel/electron40/files/patch-electron_spec_api-web-contents-spec.ts index 57234c1710f2..65bbda465c9f 100644 --- a/devel/electron40/files/patch-electron_spec_api-web-contents-spec.ts +++ b/devel/electron40/files/patch-electron_spec_api-web-contents-spec.ts @@ -1,6 +1,6 @@ ---- electron/spec/api-web-contents-spec.ts.orig 2026-05-08 13:55:13 UTC +--- electron/spec/api-web-contents-spec.ts.orig 2026-05-19 04:23:29 UTC +++ electron/spec/api-web-contents-spec.ts -@@ -1260,7 +1260,7 @@ describe('webContents module', () => { +@@ -1255,7 +1255,7 @@ describe('webContents module', () => { // back to OpenFolder() which does a blocking DirectoryExists() on the UI // thread (pre-existing behavior). Workspace-gating is covered by the test // above. @@ -9,7 +9,7 @@ 'reveals paths under a registered workspace folder without executing them', async () => { const w = new BrowserWindow({ show: false }); -@@ -3050,7 +3050,7 @@ describe('webContents module', () => { +@@ -3045,7 +3045,7 @@ describe('webContents module', () => { }); // TODO(codebytere): OOPIF printing is disabled on Linux at the moment due to crashes. diff --git a/devel/electron40/files/patch-electron_spec_index.js b/devel/electron40/files/patch-electron_spec_index.js new file mode 100644 index 000000000000..4489cfa70216 --- /dev/null +++ b/devel/electron40/files/patch-electron_spec_index.js @@ -0,0 +1,11 @@ +--- electron/spec/index.js.orig 2026-05-21 06:44:58 UTC ++++ electron/spec/index.js +@@ -176,7 +176,7 @@ async function killOrphanedElectronProcesses(suiteName + try { + // On Linux, skip any process that is a descendant of the current + // Electron instance (GPU, renderer, zygote, crashpad, etc.). +- if (process.platform === 'linux' && isDescendantOfCurrentProcess(pid)) continue; ++ if ((process.platform === 'linux' || process.platform === 'freebsd') && isDescendantOfCurrentProcess(pid)) continue; + process.kill(pid, 'SIGKILL'); + killed++; + } catch { diff --git a/devel/electron40/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc b/devel/electron40/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc index ba6bb0dcdb58..4f2eeba1b346 100644 --- a/devel/electron40/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc +++ b/devel/electron40/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc @@ -1,4 +1,4 @@ ---- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2026-01-07 00:52:53 UTC +--- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2026-05-21 06:44:31 UTC +++ ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc @@ -51,7 +51,7 @@ #include "ui/wm/core/window_util.h" @@ -18,7 +18,7 @@ std::make_unique(window(), drag_handler); #else std::make_unique(window(), drag_handler); -@@ -1188,7 +1188,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg +@@ -1196,7 +1196,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg // DesktopWindowTreeHost: // Linux subclasses this host and adds some Linux specific bits.