git: 8a0c60baef48 - main - devel/electron33: update to 33.4.8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Mar 2025 10:03:57 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a0c60baef483cbef59d62f4cce013fed7ceda4d commit 8a0c60baef483cbef59d62f4cce013fed7ceda4d Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2025-03-31 09:59:22 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2025-03-31 10:03:51 +0000 devel/electron33: update to 33.4.8 Changelog: - https://github.com/electron/electron/releases/tag/v33.4.7 - https://github.com/electron/electron/releases/tag/v33.4.8 Reported by: GitHub (watch releases) MFH: 2025Q1 Security: 01a7e1e1-d249-4dd8-9a4a-ef95b5747afb --- devel/electron33/Makefile.version | 2 +- devel/electron33/distinfo | 10 +++++----- ...tron_shell_browser_api_electron__api__base__window.cc | 10 +++++----- ...ron_shell_browser_api_electron__api__web__contents.cc | 16 ++++++++-------- ...electron_shell_common_api_electron__api__clipboard.cc | 8 ++++---- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/devel/electron33/Makefile.version b/devel/electron33/Makefile.version index 17a91cbbeb1e..91420f614e37 100644 --- a/devel/electron33/Makefile.version +++ b/devel/electron33/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 33.4.6 +ELECTRON_VER= 33.4.8 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron33/distinfo b/devel/electron33/distinfo index 58758fecb416..c60973f2aeb3 100644 --- a/devel/electron33/distinfo +++ b/devel/electron33/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1742903572 +TIMESTAMP = 1743281298 SHA256 (electron/chromium-130.0.6723.191.tar.xz.0) = 5d75efea5a8e43b99e7fd86e20835218a2b80115e55f261e31d7c3723ebe067a SIZE (electron/chromium-130.0.6723.191.tar.xz.0) = 2000000000 SHA256 (electron/chromium-130.0.6723.191.tar.xz.1) = adf26a3c24a77e0eb119ddb3932c0ee4f9127a1b7e63c7881047d482742d716a @@ -7,10 +7,10 @@ SHA256 (electron/chromium-130.0.6723.191.tar.xz.2) = 16a8c26a52ed95dae9a5a0d6960 SIZE (electron/chromium-130.0.6723.191.tar.xz.2) = 417583932 SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (electron/electron-yarn-cache-33.4.6.tar.xz) = fbfce89a9781eba6a8dc2582fcc979f2cb4adbd95c42a09f595c7dfa45a47fdf -SIZE (electron/electron-yarn-cache-33.4.6.tar.xz) = 32181868 -SHA256 (electron/electron-electron-v33.4.6_GH0.tar.gz) = a73da970f61d2b77ec2fa0f7540cf6a19ff58bbe4767b5e3ef1a473ad89aec4d -SIZE (electron/electron-electron-v33.4.6_GH0.tar.gz) = 14860583 +SHA256 (electron/electron-yarn-cache-33.4.8.tar.xz) = fbfce89a9781eba6a8dc2582fcc979f2cb4adbd95c42a09f595c7dfa45a47fdf +SIZE (electron/electron-yarn-cache-33.4.8.tar.xz) = 32181868 +SHA256 (electron/electron-electron-v33.4.8_GH0.tar.gz) = 323774a9b54dd2c4a70be901c67f8dab0ca58f367c9f63749106c0dda9ebffad +SIZE (electron/electron-electron-v33.4.8_GH0.tar.gz) = 14863100 SHA256 (electron/nodejs-node-v20.18.3_GH0.tar.gz) = a2049a1607fbc5b9ec4336d9d04faeeb9b8efdc9ec853e8ddf7cf419be9dbb3d SIZE (electron/nodejs-node-v20.18.3_GH0.tar.gz) = 115601859 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb diff --git a/devel/electron33/files/patch-electron_shell_browser_api_electron__api__base__window.cc b/devel/electron33/files/patch-electron_shell_browser_api_electron__api__base__window.cc index 2140fe7df63c..901bbad6b34c 100644 --- a/devel/electron33/files/patch-electron_shell_browser_api_electron__api__base__window.cc +++ b/devel/electron33/files/patch-electron_shell_browser_api_electron__api__base__window.cc @@ -1,6 +1,6 @@ ---- electron/shell/browser/api/electron_api_base_window.cc.orig 2024-10-22 02:29:46 UTC +--- electron/shell/browser/api/electron_api_base_window.cc.orig 2025-03-26 23:59:37 UTC +++ electron/shell/browser/api/electron_api_base_window.cc -@@ -42,7 +42,7 @@ +@@ -41,7 +41,7 @@ #include "shell/browser/ui/views/win_frame_view.h" #include "shell/browser/ui/win/taskbar_host.h" #include "ui/base/win/shell.h" @@ -9,7 +9,7 @@ #include "shell/browser/ui/views/opaque_frame_view.h" #endif -@@ -995,7 +995,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate, +@@ -994,7 +994,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 -@@ -1052,7 +1052,7 @@ void BaseWindow::SetAppDetails(const gin_helper::Dicti +@@ -1051,7 +1051,7 @@ void BaseWindow::SetAppDetails(const gin_helper::Dicti } #endif @@ -27,7 +27,7 @@ void BaseWindow::SetTitleBarOverlay(const gin_helper::Dictionary& options, gin_helper::Arguments* args) { // Ensure WCO is already enabled on this window -@@ -1302,7 +1302,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate, +@@ -1301,7 +1301,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate, .SetMethod("setThumbnailToolTip", &BaseWindow::SetThumbnailToolTip) .SetMethod("setAppDetails", &BaseWindow::SetAppDetails) #endif diff --git a/devel/electron33/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron33/files/patch-electron_shell_browser_api_electron__api__web__contents.cc index f923bb97e8dc..0f2b810e0a47 100644 --- a/devel/electron33/files/patch-electron_shell_browser_api_electron__api__web__contents.cc +++ b/devel/electron33/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 2025-02-26 12:19:50 UTC +--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2025-03-26 23:59:37 UTC +++ electron/shell/browser/api/electron_api_web_contents.cc -@@ -155,11 +155,11 @@ +@@ -154,11 +154,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 -@@ -190,7 +190,7 @@ +@@ -189,7 +189,7 @@ #include "content/public/browser/plugin_service.h" #endif @@ -23,7 +23,7 @@ #include "chrome/browser/hang_monitor/hang_crash_dump.h" // nogncheck #endif -@@ -518,7 +518,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval( +@@ -517,7 +517,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval( ui::TextInsertionCaretBlinkPeriodFromDefaults()); if (system_value) return *system_value; @@ -32,7 +32,7 @@ if (auto* linux_ui = ui::LinuxUi::instance()) return linux_ui->GetCursorBlinkInterval(); #elif BUILDFLAG(IS_WIN) -@@ -888,7 +888,7 @@ void WebContents::InitWithSessionAndOptions( +@@ -886,7 +886,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)); -@@ -2678,13 +2678,13 @@ void WebContents::ForcefullyCrashRenderer() { +@@ -2676,13 +2676,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); -@@ -3357,7 +3357,7 @@ void WebContents::Focus() { +@@ -3355,7 +3355,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 -@@ -4233,7 +4233,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { +@@ -4231,7 +4231,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { } #endif diff --git a/devel/electron33/files/patch-electron_shell_common_api_electron__api__clipboard.cc b/devel/electron33/files/patch-electron_shell_common_api_electron__api__clipboard.cc index 522579b9d581..fabd3c4c7075 100644 --- a/devel/electron33/files/patch-electron_shell_common_api_electron__api__clipboard.cc +++ b/devel/electron33/files/patch-electron_shell_common_api_electron__api__clipboard.cc @@ -1,6 +1,6 @@ ---- electron/shell/common/api/electron_api_clipboard.cc.orig 2024-11-27 04:18:00 UTC +--- electron/shell/common/api/electron_api_clipboard.cc.orig 2025-03-26 23:59:37 UTC +++ electron/shell/common/api/electron_api_clipboard.cc -@@ -59,7 +59,7 @@ std::string Clipboard::Read(const std::string& format_ +@@ -58,7 +58,7 @@ std::string Clipboard::Read(const std::string& format_ ui::ClipboardFormatType::CustomPlatformType(format_string)); bool rawFormatAvailable = clipboard->IsFormatAvailable( rawFormat, ui::ClipboardBuffer::kCopyPaste, /* data_dst = */ nullptr); @@ -9,12 +9,12 @@ if (!rawFormatAvailable) { rawFormatAvailable = clipboard->IsFormatAvailable( rawFormat, ui::ClipboardBuffer::kSelection, /* data_dst = */ nullptr); -@@ -75,7 +75,7 @@ std::string Clipboard::Read(const std::string& format_ +@@ -74,7 +74,7 @@ std::string Clipboard::Read(const std::string& format_ custom_format_names = clipboard->ExtractCustomPlatformNames(ui::ClipboardBuffer::kCopyPaste, /* data_dst = */ nullptr); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (!base::Contains(custom_format_names, format_string)) { + if (!custom_format_names.contains(format_string)) { custom_format_names = clipboard->ExtractCustomPlatformNames(ui::ClipboardBuffer::kSelection,