diff --git a/devel/electron38/Makefile.version b/devel/electron38/Makefile.version index d29981805f5c..6bb42733992a 100644 --- a/devel/electron38/Makefile.version +++ b/devel/electron38/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 38.3.0 +ELECTRON_VER= 38.4.0 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron38/distinfo b/devel/electron38/distinfo index 2daf584173b1..f7994759e221 100644 --- a/devel/electron38/distinfo +++ b/devel/electron38/distinfo @@ -1,25 +1,25 @@ -TIMESTAMP = 1760689434 +TIMESTAMP = 1761309052 SHA256 (electron/chromium-140.0.7339.240.tar.xz.0) = 6f4a5a20ca144367ea2eca94239a6abaceae75a476da69a77fe56003dba226f8 SIZE (electron/chromium-140.0.7339.240.tar.xz.0) = 2000000000 SHA256 (electron/chromium-140.0.7339.240.tar.xz.1) = 20981168d3a0b42735617c5070134e62fcd598d099a902efc1fa79295de96044 SIZE (electron/chromium-140.0.7339.240.tar.xz.1) = 2000000000 SHA256 (electron/chromium-140.0.7339.240.tar.xz.2) = ae902a045d7429e57ceb135001f8ed9325b65fff9bc4dba23add9506a0e216cc SIZE (electron/chromium-140.0.7339.240.tar.xz.2) = 331887040 SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (electron/electron-yarn-cache-38.3.0.tar.xz) = 7ed6fedc372c5bd23b38ed252c12ace0f0fbce096b5442add4501a965282eb04 -SIZE (electron/electron-yarn-cache-38.3.0.tar.xz) = 30044356 -SHA256 (electron/electron-electron-v38.3.0_GH0.tar.gz) = 0a71805f5498a4cef0a2d1cd66dcb90d662b6d4348c38b3ddf033031586870f5 -SIZE (electron/electron-electron-v38.3.0_GH0.tar.gz) = 15863168 +SHA256 (electron/electron-yarn-cache-38.4.0.tar.xz) = 7ed6fedc372c5bd23b38ed252c12ace0f0fbce096b5442add4501a965282eb04 +SIZE (electron/electron-yarn-cache-38.4.0.tar.xz) = 30044356 +SHA256 (electron/electron-electron-v38.4.0_GH0.tar.gz) = 48acd4fcd3a699118d44f53e6264630af070a5a78de8d14a859f8eb863c95240 +SIZE (electron/electron-electron-v38.4.0_GH0.tar.gz) = 15863761 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 SIZE (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 180646 SHA256 (electron/Squirrel-Squirrel.Mac-0e5d146ba13101a1302d59ea6e6e0b3cace4ae38_GH0.tar.gz) = f4ebb40a8d85dbb7ef02aa0571b2f8e22182c6d73b6992484a53c90047779d01 SIZE (electron/Squirrel-Squirrel.Mac-0e5d146ba13101a1302d59ea6e6e0b3cace4ae38_GH0.tar.gz) = 2112918 SHA256 (electron/ReactiveCocoa-ReactiveObjC-74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76_GH0.tar.gz) = 88e65f116c7a06fccedb43970fba63080a57a4e5dc29147d2cdfe1ee58dd0546 SIZE (electron/ReactiveCocoa-ReactiveObjC-74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76_GH0.tar.gz) = 1136238 SHA256 (electron/Mantle-Mantle-78d3966b3c331292ea29ec38661b25df0a245948_GH0.tar.gz) = a365df6d83e0be3cc000b70bd39734d80c28f0d9983ebe44698337a2ca464bb1 SIZE (electron/Mantle-Mantle-78d3966b3c331292ea29ec38661b25df0a245948_GH0.tar.gz) = 62962 SHA256 (electron/EngFlow-reclient-configs-955335c30a752e9ef7bff375baab5e0819b6c00d_GH0.tar.gz) = c148f76220fc41a89ffeaf370c2cc175577be184688b12aa6fec5f8ac6c714c4 SIZE (electron/EngFlow-reclient-configs-955335c30a752e9ef7bff375baab5e0819b6c00d_GH0.tar.gz) = 13014 diff --git a/devel/electron38/files/patch-electron_lib_browser_init.ts b/devel/electron38/files/patch-electron_lib_browser_init.ts deleted file mode 100644 index ea64a2c6c8f1..000000000000 --- a/devel/electron38/files/patch-electron_lib_browser_init.ts +++ /dev/null @@ -1,11 +0,0 @@ ---- electron/lib/browser/init.ts.orig 2025-04-04 05:26:44 UTC -+++ electron/lib/browser/init.ts -@@ -165,7 +165,7 @@ function currentPlatformSupportsAppIndicator () { - const KNOWN_XDG_DESKTOP_VALUES = new Set(['Pantheon', 'Unity:Unity7', 'pop:GNOME']); - - function currentPlatformSupportsAppIndicator () { -- if (process.platform !== 'linux') return false; -+ if (process.platform !== 'linux' && process.platform !== 'freebsd') return false; - const currentDesktop = process.env.XDG_CURRENT_DESKTOP; - - if (!currentDesktop) return false; diff --git a/devel/electron38/files/patch-electron_shell_common_node__bindings.cc b/devel/electron38/files/patch-electron_shell_common_node__bindings.cc index cb6fa1fa4a3f..1e48c2301eb5 100644 --- a/devel/electron38/files/patch-electron_shell_common_node__bindings.cc +++ b/devel/electron38/files/patch-electron_shell_common_node__bindings.cc @@ -1,38 +1,38 @@ ---- electron/shell/common/node_bindings.cc.orig 2025-09-02 20:56:04 UTC +--- electron/shell/common/node_bindings.cc.orig 2025-10-21 13:26:57 UTC +++ electron/shell/common/node_bindings.cc -@@ -46,7 +46,7 @@ +@@ -49,7 +49,7 @@ #include "third_party/electron_node/src/debug_utils.h" #include "third_party/electron_node/src/module_wrap.h" -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) #include "shell/common/crash_keys.h" #endif -@@ -161,7 +161,7 @@ void V8FatalErrorCallback(const char* location, const +@@ -164,7 +164,7 @@ void V8FatalErrorCallback(const char* location, const void V8FatalErrorCallback(const char* location, const char* message) { LOG(ERROR) << "Fatal error in V8: " << location << " " << message; -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) electron::crash_keys::SetCrashKey("electron.v8-fatal.message", message); electron::crash_keys::SetCrashKey("electron.v8-fatal.location", location); #endif -@@ -183,7 +183,7 @@ void V8OOMErrorCallback(const char* location, const v8 +@@ -186,7 +186,7 @@ void V8OOMErrorCallback(const char* location, const v8 LOG(ERROR) << "OOM detail: " << details.detail; } -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) 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::Isolate* const isola +@@ -627,7 +627,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola TRACE_EVENT0("electron", "NodeBindings::Initialize"); // Open node's error reporting system for browser process. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Get real command line in renderer process forked by zygote. if (browser_env_ != BrowserEnvironment::kBrowser) ElectronCommandLine::InitializeFromCommandLine();