devel/electron40: Update to 40.8.5
Changelog: - https://github.com/electron/electron/releases/tag/v40.8.4 - https://github.com/electron/electron/releases/tag/v40.8.5 Reported by: GitHub (watch releases)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
PORTNAME= electron
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= ${ELECTRON_VER}
|
||||
PORTREVISION= 1
|
||||
PULSEMV= 16
|
||||
PULSEV= ${PULSEMV}.1
|
||||
CATEGORIES= devel
|
||||
@@ -327,6 +326,8 @@ post-extract:
|
||||
${WRKSRC}/esbuild
|
||||
|
||||
pre-patch:
|
||||
${REINPLACE_CMD} -e 's|src/third_party/angle/src|src/third_party/angle|' \
|
||||
${WRKSRC}/electron/patches/config.json
|
||||
${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC}
|
||||
# ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete
|
||||
# ${FIND} ${WRKSRC} -type f -name '*~' -print -delete
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
ELECTRON_VER= 40.8.3
|
||||
ELECTRON_VER= 40.8.5
|
||||
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TIMESTAMP = 1773918828
|
||||
TIMESTAMP = 1775048965
|
||||
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.8.3-node-modules.tar.xz) = 5ead5307742772cd432cf026a946022a5f3e2b8b126d6eea5aaed20996608121
|
||||
SIZE (electron/electron40-40.8.3-node-modules.tar.xz) = 59675854
|
||||
SHA256 (electron/electron-electron-v40.8.3_GH0.tar.gz) = 1ea4a914096c5d4e9fdd1230c1e3be8d23b0657e802aed03b8c8a7a43cb20ea0
|
||||
SIZE (electron/electron-electron-v40.8.3_GH0.tar.gz) = 17168890
|
||||
SHA256 (electron/electron40-40.8.5-node-modules.tar.xz) = 5ead5307742772cd432cf026a946022a5f3e2b8b126d6eea5aaed20996608121
|
||||
SIZE (electron/electron40-40.8.5-node-modules.tar.xz) = 59675854
|
||||
SHA256 (electron/electron-electron-v40.8.5_GH0.tar.gz) = f4b438a9ebfbb3895b76f7de8e1613ca0e80e7f1e10eba212880cc8c43ff9758
|
||||
SIZE (electron/electron-electron-v40.8.5_GH0.tar.gz) = 17191128
|
||||
SHA256 (electron/nodejs-node-v24.14.0_GH0.tar.gz) = f3a7374f7d0a3b3dcd1b612dd2bf1ffbe7ace778c02c027efaaacbad1e17390a
|
||||
SIZE (electron/nodejs-node-v24.14.0_GH0.tar.gz) = 126199657
|
||||
SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3
|
||||
|
||||
@@ -9,4 +9,8 @@ npmMinimalAgeGate: 10080
|
||||
npmPreapprovedPackages:
|
||||
- "@electron/*"
|
||||
|
||||
httpProxy: "${HTTP_PROXY:-}"
|
||||
|
||||
httpsProxy: "${HTTPS_PROXY:-}"
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.12.0.cjs
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
--- electron/shell/browser/api/electron_api_base_window.cc.orig 2026-01-15 18:39:20 UTC
|
||||
--- electron/shell/browser/api/electron_api_base_window.cc.orig 2026-03-26 20:19:14 UTC
|
||||
+++ electron/shell/browser/api/electron_api_base_window.cc
|
||||
@@ -43,7 +43,7 @@
|
||||
#include "shell/browser/ui/views/win_frame_view.h"
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "shell/browser/ui/views/opaque_frame_view.h"
|
||||
#include "ui/gfx/image/image_skia.h"
|
||||
#endif
|
||||
@@ -1037,7 +1037,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate,
|
||||
@@ -1043,7 +1043,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate,
|
||||
static_cast<NativeWindowViews*>(window_.get())
|
||||
->SetIcon(native_image->GetHICON(GetSystemMetrics(SM_CXSMICON)),
|
||||
native_image->GetHICON(GetSystemMetrics(SM_CXICON)));
|
||||
@@ -18,7 +18,7 @@
|
||||
static_cast<NativeWindowViews*>(window_.get())
|
||||
->SetIcon(native_image->image().AsImageSkia());
|
||||
#endif
|
||||
@@ -1138,7 +1138,7 @@ v8::Local<v8::Value> BaseWindow::GetAccentColor() cons
|
||||
@@ -1144,7 +1144,7 @@ v8::Local<v8::Value> BaseWindow::GetAccentColor() cons
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
void BaseWindow::SetTitleBarOverlay(const gin_helper::Dictionary& options,
|
||||
gin::Arguments* args) {
|
||||
static_cast<NativeWindowViews*>(window_.get())
|
||||
@@ -1335,7 +1335,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate,
|
||||
@@ -1341,7 +1341,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate,
|
||||
.SetMethod("setThumbnailToolTip", &BaseWindow::SetThumbnailToolTip)
|
||||
.SetMethod("setAppDetails", &BaseWindow::SetAppDetails)
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
--- electron/shell/browser/api/electron_api_base_window.h.orig 2026-01-15 18:39:20 UTC
|
||||
--- electron/shell/browser/api/electron_api_base_window.h.orig 2026-03-26 20:19:14 UTC
|
||||
+++ electron/shell/browser/api/electron_api_base_window.h
|
||||
@@ -261,7 +261,7 @@ class BaseWindow : public gin_helper::TrackableObject<
|
||||
@@ -262,7 +262,7 @@ class BaseWindow : public gin_helper::TrackableObject<
|
||||
v8::Local<v8::Value> GetAccentColor() const;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- electron/spec/api-browser-window-spec.ts.orig 2026-03-17 08:46:36 UTC
|
||||
--- electron/spec/api-browser-window-spec.ts.orig 2026-03-26 20:19:14 UTC
|
||||
+++ electron/spec/api-browser-window-spec.ts
|
||||
@@ -69,7 +69,7 @@ describe('BrowserWindow module', () => {
|
||||
}).not.to.throw();
|
||||
@@ -180,7 +180,7 @@
|
||||
// Not implemented on Linux.
|
||||
afterEach(closeAllWindows);
|
||||
|
||||
@@ -6940,7 +6940,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -6988,7 +6988,7 @@ describe('BrowserWindow module', () => {
|
||||
describe('"transparent" option', () => {
|
||||
afterEach(closeAllWindows);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- electron/spec/api-utility-process-spec.ts.orig 2025-08-13 14:21:20 UTC
|
||||
--- electron/spec/api-utility-process-spec.ts.orig 2026-03-26 20:19:14 UTC
|
||||
+++ electron/spec/api-utility-process-spec.ts
|
||||
@@ -522,7 +522,7 @@ describe('utilityProcess module', () => {
|
||||
@@ -538,7 +538,7 @@ describe('utilityProcess module', () => {
|
||||
expect(output).to.include(result);
|
||||
});
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
const message = 'Message from utility process';
|
||||
const child = utilityProcess.fork(path.join(fixturesPath, 'expose-main-process-module.js'));
|
||||
await once(child, 'spawn');
|
||||
@@ -559,7 +559,7 @@ describe('utilityProcess module', () => {
|
||||
@@ -575,7 +575,7 @@ describe('utilityProcess module', () => {
|
||||
await closeWindow(w);
|
||||
});
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- electron/spec/chromium-spec.ts.orig 2026-02-19 05:24:38 UTC
|
||||
--- electron/spec/chromium-spec.ts.orig 2026-03-26 20:19:14 UTC
|
||||
+++ electron/spec/chromium-spec.ts
|
||||
@@ -475,13 +475,13 @@ describe('command line switches', () => {
|
||||
it('should not set an invalid locale', async () => testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`));
|
||||
@@ -18,7 +18,7 @@
|
||||
});
|
||||
|
||||
describe('--remote-debugging-pipe switch', () => {
|
||||
@@ -3263,12 +3263,12 @@ describe('font fallback', () => {
|
||||
@@ -3346,12 +3346,12 @@ describe('font fallback', () => {
|
||||
expect(fonts[0].familyName).to.equal('Arial');
|
||||
} else if (process.platform === 'darwin') {
|
||||
expect(fonts[0].familyName).to.equal('Helvetica');
|
||||
@@ -33,7 +33,7 @@
|
||||
const html = `
|
||||
<html lang="ja-JP">
|
||||
<head>
|
||||
@@ -3821,7 +3821,7 @@ describe('paste execCommand', () => {
|
||||
@@ -3904,7 +3904,7 @@ describe('paste execCommand', () => {
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user