diff options
Diffstat (limited to 'devel/electron38')
| -rw-r--r-- | devel/electron38/Makefile | 4 | ||||
| -rw-r--r-- | devel/electron38/Makefile.version | 2 | ||||
| -rw-r--r-- | devel/electron38/distinfo | 22 | ||||
| -rw-r--r-- | devel/electron38/files/patch-electron_lib_browser_init.ts | 11 | ||||
| -rw-r--r-- | devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc | 8 | ||||
| -rw-r--r-- | devel/electron38/files/patch-electron_shell_common_node__bindings.cc | 10 | ||||
| -rw-r--r-- | devel/electron38/files/patch-electron_spec_api-app-spec.ts | 20 | 
7 files changed, 33 insertions, 44 deletions
| diff --git a/devel/electron38/Makefile b/devel/electron38/Makefile index d821e8142ad3..bf7df41832a0 100644 --- a/devel/electron38/Makefile +++ b/devel/electron38/Makefile @@ -4,7 +4,7 @@ DISTVERSION=	${ELECTRON_VER}  PULSEMV=	16  PULSEV=		${PULSEMV}.1  CATEGORIES=	devel -MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v38.3.0/:chromium \ +MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v38.5.0/:chromium \  		https://freedesktop.org/software/pulseaudio/releases/:pulseaudio  PKGNAMESUFFIX=	${ELECTRON_VER_MAJOR}  DISTFILES=	chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \ @@ -223,7 +223,7 @@ SNDIO_VARS=		GN_ARGS+=use_sndio=true  SNDIO_VARS_OFF=		GN_ARGS+=use_sndio=false  # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER -CHROMIUM_VER=			140.0.7339.240 +CHROMIUM_VER=			140.0.7339.249  # See ${WRKSRC}/electron/DEPS for NODE_VER  NODE_VER=			22.20.0  # See ${WRKSRC}/electron/DEPS for NAN_VER diff --git a/devel/electron38/Makefile.version b/devel/electron38/Makefile.version index d29981805f5c..23b0c9b6ecc2 100644 --- a/devel/electron38/Makefile.version +++ b/devel/electron38/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER=	38.3.0 +ELECTRON_VER=	38.5.0  ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//} diff --git a/devel/electron38/distinfo b/devel/electron38/distinfo index 2daf584173b1..24220b5033ec 100644 --- a/devel/electron38/distinfo +++ b/devel/electron38/distinfo @@ -1,16 +1,16 @@ -TIMESTAMP = 1760689434 -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 +TIMESTAMP = 1761770963 +SHA256 (electron/chromium-140.0.7339.249.tar.xz.0) = 138fc3e5eb2b5db406a7764a8e287a0d16640f83cbfb452d6e0f54de8eaf65c2 +SIZE (electron/chromium-140.0.7339.249.tar.xz.0) = 2000000000 +SHA256 (electron/chromium-140.0.7339.249.tar.xz.1) = 0b7ea85268dd4f6aacd0641a48d266eaa2eb9c79f2c528926bfcdc5aee36f1da +SIZE (electron/chromium-140.0.7339.249.tar.xz.1) = 2000000000 +SHA256 (electron/chromium-140.0.7339.249.tar.xz.2) = 0a2a9977f5f34ac878b63e845ef8fcc52da628d952e83565cb308bc1925f69e8 +SIZE (electron/chromium-140.0.7339.249.tar.xz.2) = 331916124  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.5.0.tar.xz) = 7ed6fedc372c5bd23b38ed252c12ace0f0fbce096b5442add4501a965282eb04 +SIZE (electron/electron-yarn-cache-38.5.0.tar.xz) = 30044356 +SHA256 (electron/electron-electron-v38.5.0_GH0.tar.gz) = 5b27d50dd1da851bf9f37288c0238b093645046c19f72b4a3fc5300826209c6f +SIZE (electron/electron-electron-v38.5.0_GH0.tar.gz) = 15868030  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 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_browser_api_electron__api__app.cc b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc index 12218b5a4012..7779829716a3 100644 --- a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc +++ b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/api/electron_api_app.cc.orig	2025-09-02 20:56:04 UTC +--- electron/shell/browser/api/electron_api_app.cc.orig	2025-10-28 14:56:59 UTC  +++ electron/shell/browser/api/electron_api_app.cc  @@ -97,7 +97,7 @@   #include "shell/common/process_util.h" @@ -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. -@@ -1355,7 +1355,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics +@@ -1435,7 +1435,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); -@@ -1739,7 +1739,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild +@@ -1819,7 +1819,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild         .SetMethod(             "removeAsDefaultProtocolClient",             base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser)) @@ -63,7 +63,7 @@         .SetMethod(             "getApplicationInfoForProtocol",             base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser)) -@@ -1797,7 +1797,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild +@@ -1877,7 +1877,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild         .SetMethod("getJumpListSettings", &App::GetJumpListSettings)         .SetMethod("setJumpList", &App::SetJumpList)   #endif 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,6 +1,6 @@ ---- 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" @@ -9,7 +9,7 @@   #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; @@ -18,7 +18,7 @@     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;     } @@ -27,7 +27,7 @@     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. diff --git a/devel/electron38/files/patch-electron_spec_api-app-spec.ts b/devel/electron38/files/patch-electron_spec_api-app-spec.ts index ebcc2de849bd..2d68e21081b7 100644 --- a/devel/electron38/files/patch-electron_spec_api-app-spec.ts +++ b/devel/electron38/files/patch-electron_spec_api-app-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-app-spec.ts.orig	2025-08-13 14:21:20 UTC +--- electron/spec/api-app-spec.ts.orig	2025-10-28 14:56:59 UTC  +++ electron/spec/api-app-spec.ts  @@ -129,11 +129,11 @@ describe('app module', () => {     }); @@ -63,12 +63,12 @@       });     }); --  ifdescribe(process.platform !== 'linux')('accessibilitySupportEnabled property', () => { -+  ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('accessibilitySupportEnabled property', () => { +-  ifdescribe(process.platform !== 'linux')('accessibility support functionality', () => { ++  ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('accessibility support functionality', () => {       it('is mutable', () => {         const values = [false, true, false];         const setters: Array<(arg: boolean) => void> = [ -@@ -1233,7 +1233,7 @@ describe('app module', () => { +@@ -1288,7 +1288,7 @@ describe('app module', () => {       });     }); @@ -77,7 +77,7 @@       let w: BrowserWindow;       before(function () { -@@ -1368,7 +1368,7 @@ describe('app module', () => { +@@ -1423,7 +1423,7 @@ describe('app module', () => {     describe('getApplicationNameForProtocol()', () => {       // TODO: Linux CI doesn't have registered http & https handlers @@ -86,7 +86,7 @@         // We can't expect particular app names here, but these protocols should         // at least have _something_ registered. Except on our Linux CI         // environment apparently. -@@ -1386,7 +1386,7 @@ describe('app module', () => { +@@ -1441,7 +1441,7 @@ describe('app module', () => {       });     }); @@ -95,7 +95,7 @@       it('returns promise rejection for a bogus protocol', async function () {         await expect(           app.getApplicationInfoForProtocol('bogus-protocol://') -@@ -1436,7 +1436,7 @@ describe('app module', () => { +@@ -1491,7 +1491,7 @@ describe('app module', () => {     });     // FIXME Get these specs running on Linux CI @@ -104,7 +104,7 @@       const iconPath = path.join(__dirname, 'fixtures/assets/icon.ico');       const sizes = {         small: 16, -@@ -1518,7 +1518,7 @@ describe('app module', () => { +@@ -1573,7 +1573,7 @@ describe('app module', () => {             expect(entry.memory).to.have.property('privateBytes').that.is.greaterThan(0);           } @@ -113,7 +113,7 @@             expect(entry.sandboxed).to.be.a('boolean');           } -@@ -1592,7 +1592,7 @@ describe('app module', () => { +@@ -1647,7 +1647,7 @@ describe('app module', () => {       it('succeeds with complete GPUInfo', async () => {         const completeInfo = await getGPUInfo('complete'); @@ -122,7 +122,7 @@           // For linux and macOS complete info is same as basic info           await verifyBasicGPUInfo(completeInfo);           const basicInfo = await getGPUInfo('basic'); -@@ -1616,7 +1616,7 @@ describe('app module', () => { +@@ -1671,7 +1671,7 @@ describe('app module', () => {       });     }); | 
