aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2024-02-24 10:54:46 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2024-02-24 10:57:56 +0000
commit65ce701ecce9b0c7c469432232b1dd34c3c24a5b (patch)
tree49fee6ff325e1b07a12581e1006ea8377baedf94
parent53cd4c7ad9ac8b27a455a933ebe2cd92a4f76e6d (diff)
downloadports-65ce701ecce9b0c7c469432232b1dd34c3c24a5b.tar.gz
ports-65ce701ecce9b0c7c469432232b1dd34c3c24a5b.zip
devel/electron28: update to 28.2.4
Changelog: https://github.com/electron/electron/releases/tag/v28.2.4 Reported by: GitHub (watch releases)
-rw-r--r--devel/electron28/Makefile4
-rw-r--r--devel/electron28/Makefile.version2
-rw-r--r--devel/electron28/distinfo14
-rw-r--r--devel/electron28/files/patch-electron_shell_app_electron__main__delegate.cc12
-rw-r--r--devel/electron28/files/patch-electron_shell_app_node__main.cc4
-rw-r--r--devel/electron28/files/patch-electron_shell_browser_api_electron__api__app.cc12
-rw-r--r--devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.cc14
-rw-r--r--devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.h4
-rw-r--r--devel/electron28/files/patch-electron_shell_common_node__bindings.cc8
9 files changed, 37 insertions, 37 deletions
diff --git a/devel/electron28/Makefile b/devel/electron28/Makefile
index ae4eb39a9c7e..5dfdd1230b47 100644
--- a/devel/electron28/Makefile
+++ b/devel/electron28/Makefile
@@ -2,7 +2,7 @@ PORTNAME= electron
DISTVERSIONPREFIX= v
DISTVERSION= ${ELECTRON_VER:S/-beta./.b/}
CATEGORIES= devel
-MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v28.2.3/:chromium \
+MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v28.2.4/:chromium \
https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \
https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts
PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR}
@@ -218,7 +218,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= 120.0.6099.283
+CHROMIUM_VER= 120.0.6099.291
# See ${WRKSRC}/third_party/node/node_modules.tar.gz.sha1 for CHROMIUM_NODE_MODULES_HASH
CHROMIUM_NODE_MODULES_HASH= bb991b26ccca36a9b3912b51dec5b70e5dea9aea
# See ${WRKSRC}/third_party/test_fonts/test_fonts.tar.gz.sha1 for CHROMIUM_TEST_FONTS_HASH
diff --git a/devel/electron28/Makefile.version b/devel/electron28/Makefile.version
index 8a61ff8acb41..0d434472082f 100644
--- a/devel/electron28/Makefile.version
+++ b/devel/electron28/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER= 28.2.3
+ELECTRON_VER= 28.2.4
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron28/distinfo b/devel/electron28/distinfo
index 46da1516d4a7..4e277885ad2f 100644
--- a/devel/electron28/distinfo
+++ b/devel/electron28/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1707998186
-SHA256 (electron/chromium-120.0.6099.283.tar.xz) = 4729ff0312492e01c95b3ff15c20d52402c9a17e833f0cdd6a3f8fab7fb965b4
-SIZE (electron/chromium-120.0.6099.283.tar.xz) = 1578611028
+TIMESTAMP = 1708728427
+SHA256 (electron/chromium-120.0.6099.291.tar.xz) = edb20651392a67dbefced6489d2228a2b7d18ec2bbba4e5bbe355b34ba87fe49
+SIZE (electron/chromium-120.0.6099.291.tar.xz) = 1578614892
SHA256 (electron/bb991b26ccca36a9b3912b51dec5b70e5dea9aea) = 8ada8e0554ecd02f649047f8f15a438590c67505b9f2e6a58fd973fe02c4ca52
SIZE (electron/bb991b26ccca36a9b3912b51dec5b70e5dea9aea) = 9782997
SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-28.2.3.tar.xz) = ee4117440555d6be62f706646bb1b3c6737cc5b741b8e72377136c72a3474518
-SIZE (electron/electron-yarn-cache-28.2.3.tar.xz) = 29073696
-SHA256 (electron/electron-electron-v28.2.3_GH0.tar.gz) = 330272fe10598d744a3b9213d284aa2267c505338c0468db8d5541e1884197d8
-SIZE (electron/electron-electron-v28.2.3_GH0.tar.gz) = 11462490
+SHA256 (electron/electron-yarn-cache-28.2.4.tar.xz) = ee4117440555d6be62f706646bb1b3c6737cc5b741b8e72377136c72a3474518
+SIZE (electron/electron-yarn-cache-28.2.4.tar.xz) = 29073696
+SHA256 (electron/electron-electron-v28.2.4_GH0.tar.gz) = 94e4d8351c82602c5e7487a5244498ae81f3b8cb658b6f43a353a829ee2fc843
+SIZE (electron/electron-electron-v28.2.4_GH0.tar.gz) = 11463092
SHA256 (electron/nodejs-node-v18.18.2_GH0.tar.gz) = b1c20070ec2cfc930572e8d3c3f1de4be8bc7e2259956031db00709b7775a0da
SIZE (electron/nodejs-node-v18.18.2_GH0.tar.gz) = 112758381
SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb
diff --git a/devel/electron28/files/patch-electron_shell_app_electron__main__delegate.cc b/devel/electron28/files/patch-electron_shell_app_electron__main__delegate.cc
index 66e0d2e7d3af..712bd4dc0846 100644
--- a/devel/electron28/files/patch-electron_shell_app_electron__main__delegate.cc
+++ b/devel/electron28/files/patch-electron_shell_app_electron__main__delegate.cc
@@ -1,6 +1,6 @@
---- electron/shell/app/electron_main_delegate.cc.orig 2023-06-07 10:09:25 UTC
+--- electron/shell/app/electron_main_delegate.cc.orig 2024-02-21 08:43:43 UTC
+++ electron/shell/app/electron_main_delegate.cc
-@@ -58,13 +58,16 @@
+@@ -59,13 +59,16 @@
#include "chrome/child/v8_crashpad_support_win.h"
#endif
@@ -19,7 +19,7 @@
#include "components/crash/core/app/crash_switches.h" // nogncheck
#include "components/crash/core/app/crashpad.h" // nogncheck
#include "components/crash/core/common/crash_key.h"
-@@ -156,7 +159,7 @@ bool ElectronPathProvider(int key, base::FilePath* res
+@@ -157,7 +160,7 @@ bool ElectronPathProvider(int key, base::FilePath* res
create_dir = true;
break;
}
@@ -28,7 +28,7 @@
case DIR_APP_DATA: {
auto env = base::Environment::Create();
cur = base::nix::GetXDGDirectory(
-@@ -288,7 +291,7 @@ absl::optional<int> ElectronMainDelegate::BasicStartup
+@@ -289,7 +292,7 @@ absl::optional<int> ElectronMainDelegate::BasicStartup
base::win::PinUser32();
#endif
@@ -37,7 +37,7 @@
// Check for --no-sandbox parameter when running as root.
if (getuid() == 0 && IsSandboxEnabled(command_line))
LOG(FATAL) << "Running as root without --"
-@@ -338,7 +341,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
+@@ -339,7 +342,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
/* is_preinit = */ IsBrowserProcess() || IsZygoteProcess());
#endif
@@ -46,7 +46,7 @@
crash_reporter::InitializeCrashKeys();
#endif
-@@ -373,7 +376,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
+@@ -374,7 +377,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
}
#endif
diff --git a/devel/electron28/files/patch-electron_shell_app_node__main.cc b/devel/electron28/files/patch-electron_shell_app_node__main.cc
index 0dc68ef43792..6fe73d846b02 100644
--- a/devel/electron28/files/patch-electron_shell_app_node__main.cc
+++ b/devel/electron28/files/patch-electron_shell_app_node__main.cc
@@ -1,6 +1,6 @@
---- electron/shell/app/node_main.cc.orig 2024-01-31 15:12:32 UTC
+--- electron/shell/app/node_main.cc.orig 2024-02-21 08:43:43 UTC
+++ electron/shell/app/node_main.cc
-@@ -47,7 +47,7 @@
+@@ -48,7 +48,7 @@
#include "shell/common/mac/codesign_util.h"
#endif
diff --git a/devel/electron28/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron28/files/patch-electron_shell_browser_api_electron__api__app.cc
index 57f23ffa1fa0..4802b32c0feb 100644
--- a/devel/electron28/files/patch-electron_shell_browser_api_electron__api__app.cc
+++ b/devel/electron28/files/patch-electron_shell_browser_api_electron__api__app.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_app.cc.orig 2024-02-07 11:31:03 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig 2024-02-21 08:43:43 UTC
+++ electron/shell/browser/api/electron_api_app.cc
-@@ -656,7 +656,7 @@ void App::OnFinishLaunching(base::Value::Dict launch_i
+@@ -657,7 +657,7 @@ void App::OnFinishLaunching(base::Value::Dict launch_i
}
void App::OnFinishLaunching(base::Value::Dict launch_info) {
@@ -9,7 +9,7 @@
// Set the application name for audio streams shown in external
// applications. Only affects pulseaudio currently.
media::AudioManager::SetGlobalAppName(Browser::Get()->GetName());
-@@ -991,7 +991,7 @@ void App::SetDesktopName(const std::string& desktop_na
+@@ -992,7 +992,7 @@ void App::SetDesktopName(const std::string& desktop_na
}
void App::SetDesktopName(const std::string& desktop_name) {
@@ -18,7 +18,7 @@
auto env = base::Environment::Create();
env->SetVar("CHROME_DESKTOP", desktop_name);
#endif
-@@ -1375,7 +1375,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1376,7 +1376,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
pid_dict.Set("name", process_metric.second->name);
}
@@ -27,7 +27,7 @@
auto memory_info = process_metric.second->GetMemoryInfo();
auto memory_dict = gin_helper::Dictionary::CreateEmpty(isolate);
-@@ -1666,7 +1666,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1667,7 +1667,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod(
"removeAsDefaultProtocolClient",
base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser))
@@ -36,7 +36,7 @@
.SetMethod(
"getApplicationInfoForProtocol",
base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser))
-@@ -1724,7 +1724,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1725,7 +1725,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
.SetMethod("getJumpListSettings", &App::GetJumpListSettings)
.SetMethod("setJumpList", &App::SetJumpList)
#endif
diff --git a/devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
index 1b30719d5745..35c2c0e03639 100644
--- a/devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+++ b/devel/electron28/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 2023-12-04 18:19:02 UTC
+--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2024-02-21 08:43:43 UTC
+++ electron/shell/browser/api/electron_api_web_contents.cc
-@@ -153,11 +153,11 @@
+@@ -154,11 +154,11 @@
#include "ui/base/cocoa/defaults_utils.h"
#endif
@@ -14,7 +14,7 @@
#include "ui/gfx/font_render_params.h"
#endif
-@@ -488,7 +488,7 @@ absl::optional<base::TimeDelta> GetCursorBlinkInterval
+@@ -489,7 +489,7 @@ absl::optional<base::TimeDelta> GetCursorBlinkInterval
ui::TextInsertionCaretBlinkPeriodFromDefaults());
if (system_value)
return *system_value;
@@ -23,7 +23,7 @@
if (auto* linux_ui = ui::LinuxUi::instance())
return linux_ui->GetCursorBlinkInterval();
#elif BUILDFLAG(IS_WIN)
-@@ -936,7 +936,7 @@ void WebContents::InitWithSessionAndOptions(
+@@ -937,7 +937,7 @@ void WebContents::InitWithSessionAndOptions(
accept_languages.pop_back();
prefs->accept_languages = accept_languages;
@@ -32,7 +32,7 @@
// Update font settings.
static const gfx::FontRenderParams params(
gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
-@@ -2639,7 +2639,7 @@ void WebContents::ForcefullyCrashRenderer() {
+@@ -2640,7 +2640,7 @@ void WebContents::ForcefullyCrashRenderer() {
content::RenderProcessHost* rph = rwh->GetProcess();
if (rph) {
@@ -41,7 +41,7 @@
// A generic |CrashDumpHungChildProcess()| is not implemented for Linux.
// Instead we send an explicit IPC to crash on the renderer's IO thread.
rph->ForceCrash();
-@@ -3317,7 +3317,7 @@ void WebContents::Focus() {
+@@ -3318,7 +3318,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.
@@ -50,7 +50,7 @@
if (owner_window())
owner_window()->Focus(true);
#endif
-@@ -4107,7 +4107,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -4108,7 +4108,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
}
#endif
diff --git a/devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.h b/devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.h
index 9502e38223bc..93408f9e43b2 100644
--- a/devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.h
+++ b/devel/electron28/files/patch-electron_shell_browser_api_electron__api__web__contents.h
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_web_contents.h.orig 2023-11-15 10:20:22 UTC
+--- electron/shell/browser/api/electron_api_web_contents.h.orig 2024-02-21 08:43:43 UTC
+++ electron/shell/browser/api/electron_api_web_contents.h
-@@ -733,7 +733,7 @@ class WebContents : public ExclusiveAccessContext,
+@@ -734,7 +734,7 @@ class WebContents : public ExclusiveAccessContext,
#if defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_MAC)
ui::ImageModel GetDevToolsWindowIcon() override;
#endif
diff --git a/devel/electron28/files/patch-electron_shell_common_node__bindings.cc b/devel/electron28/files/patch-electron_shell_common_node__bindings.cc
index 88fb5513cbbb..a32587a5b4a5 100644
--- a/devel/electron28/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron28/files/patch-electron_shell_common_node__bindings.cc
@@ -1,6 +1,6 @@
---- electron/shell/common/node_bindings.cc.orig 2024-01-31 15:12:32 UTC
+--- electron/shell/common/node_bindings.cc.orig 2024-02-21 08:43:43 UTC
+++ electron/shell/common/node_bindings.cc
-@@ -42,7 +42,7 @@
+@@ -43,7 +43,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
-@@ -157,7 +157,7 @@ void V8FatalErrorCallback(const char* location, const
+@@ -158,7 +158,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
-@@ -508,7 +508,7 @@ void NodeBindings::Initialize(v8::Local<v8::Context> c
+@@ -509,7 +509,7 @@ void NodeBindings::Initialize(v8::Local<v8::Context> c
TRACE_EVENT0("electron", "NodeBindings::Initialize");
// Open node's error reporting system for browser process.