git: 3f073f899db0 - main - devel/electron27: update to 27.2.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Jan 2024 13:39:25 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f073f899db00433b9c67b61e48e8e4c07a48495 commit 3f073f899db00433b9c67b61e48e8e4c07a48495 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2024-01-13 13:37:16 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2024-01-13 13:39:15 +0000 devel/electron27: update to 27.2.2 Changelog: https://github.com/electron/electron/releases/tag/v27.2.2 Reported by: GitHub (watch releases) MFH: 2024Q1 Security: 28b42ef5-80cd-440c-904b-b7fbca74c73d --- devel/electron27/Makefile.version | 2 +- devel/electron27/distinfo | 10 +++++----- .../files/patch-electron_shell_app_node__main.cc | 10 +++++----- ...shell_browser_electron__browser__main__parts.cc | 22 +++++++++++----------- .../patch-electron_spec_api-browser-window-spec.ts | 4 ++-- ...-third__party_sqlite_src_amalgamation_sqlite3.c | 6 +++--- 6 files changed, 27 insertions(+), 27 deletions(-) diff --git a/devel/electron27/Makefile.version b/devel/electron27/Makefile.version index a16bf5945f01..69e040d57085 100644 --- a/devel/electron27/Makefile.version +++ b/devel/electron27/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 27.2.1 +ELECTRON_VER= 27.2.2 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron27/distinfo b/devel/electron27/distinfo index defceb6e8f6d..53873026f98c 100644 --- a/devel/electron27/distinfo +++ b/devel/electron27/distinfo @@ -1,14 +1,14 @@ -TIMESTAMP = 1704358288 +TIMESTAMP = 1705115496 SHA256 (electron/chromium-118.0.5993.159.tar.xz) = 47fdd7677470f4f4daf68e59dcacbafb99f5ed0c07501162b6af168f760b4359 SIZE (electron/chromium-118.0.5993.159.tar.xz) = 1602730244 SHA256 (electron/937cea04689b7b8dcf3cb9adbb12c79d1d6c38bb) = f7f7f38661b107fc1d91b7918f36362d9180e87f34e3027562eb5db8735746fe SIZE (electron/937cea04689b7b8dcf3cb9adbb12c79d1d6c38bb) = 8881070 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734 -SHA256 (electron/electron-yarn-cache-27.2.1.tar.xz) = b0b9be50afe1f6a70d03e415b1589a3194a4f54d2cb59657e48577d2054a1351 -SIZE (electron/electron-yarn-cache-27.2.1.tar.xz) = 29114016 -SHA256 (electron/electron-electron-v27.2.1_GH0.tar.gz) = 0cc58ee4b2270f3ef80c8e6aeac20451e50d62a97f804fe85858ef76d35b6d48 -SIZE (electron/electron-electron-v27.2.1_GH0.tar.gz) = 11375708 +SHA256 (electron/electron-yarn-cache-27.2.2.tar.xz) = b0b9be50afe1f6a70d03e415b1589a3194a4f54d2cb59657e48577d2054a1351 +SIZE (electron/electron-yarn-cache-27.2.2.tar.xz) = 29114016 +SHA256 (electron/electron-electron-v27.2.2_GH0.tar.gz) = c142ed44b997e308b69d77d5053b1e11031aef8810067202cd8e79facffbbd5e +SIZE (electron/electron-electron-v27.2.2_GH0.tar.gz) = 11397325 SHA256 (electron/nodejs-node-v18.17.1_GH0.tar.gz) = 1cc1670bc183eaf9e0afe0258391695d1d6ae1be02ba4c26e0218cf5f19b96f7 SIZE (electron/nodejs-node-v18.17.1_GH0.tar.gz) = 112512847 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39 diff --git a/devel/electron27/files/patch-electron_shell_app_node__main.cc b/devel/electron27/files/patch-electron_shell_app_node__main.cc index 938658b99f3f..0911cbeb437e 100644 --- a/devel/electron27/files/patch-electron_shell_app_node__main.cc +++ b/devel/electron27/files/patch-electron_shell_app_node__main.cc @@ -1,6 +1,6 @@ ---- electron/shell/app/node_main.cc.orig 2023-12-21 18:00:06 UTC +--- electron/shell/app/node_main.cc.orig 2024-01-10 11:28:08 UTC +++ electron/shell/app/node_main.cc -@@ -47,7 +47,7 @@ +@@ -48,7 +48,7 @@ #include "shell/common/mac/codesign_util.h" #endif @@ -9,7 +9,7 @@ #include "components/crash/core/app/crashpad.h" // nogncheck #include "shell/app/electron_crash_reporter_client.h" #include "shell/common/crash_keys.h" -@@ -82,7 +82,7 @@ void ExitIfContainsDisallowedFlags(const std::vector<s +@@ -83,7 +83,7 @@ void ExitIfContainsDisallowedFlags(const std::vector<s } } @@ -18,7 +18,7 @@ void SetCrashKeyStub(const std::string& key, const std::string& value) {} void ClearCrashKeyStub(const std::string& key) {} #endif -@@ -93,7 +93,7 @@ v8::Local<v8::Value> GetParameters(v8::Isolate* isolat +@@ -94,7 +94,7 @@ v8::Local<v8::Value> GetParameters(v8::Isolate* isolat v8::Local<v8::Value> GetParameters(v8::Isolate* isolate) { std::map<std::string, std::string> keys; @@ -27,7 +27,7 @@ electron::crash_keys::GetCrashKeys(&keys); #endif return gin::ConvertToV8(isolate, keys); -@@ -253,7 +253,7 @@ int NodeMain(int argc, char* argv[]) { +@@ -254,7 +254,7 @@ int NodeMain(int argc, char* argv[]) { // Setup process.crashReporter in child node processes gin_helper::Dictionary reporter = gin::Dictionary::CreateEmpty(isolate); reporter.SetMethod("getParameters", &GetParameters); diff --git a/devel/electron27/files/patch-electron_shell_browser_electron__browser__main__parts.cc b/devel/electron27/files/patch-electron_shell_browser_electron__browser__main__parts.cc index a1c1624e3c4d..b2cf23f4ee38 100644 --- a/devel/electron27/files/patch-electron_shell_browser_electron__browser__main__parts.cc +++ b/devel/electron27/files/patch-electron_shell_browser_electron__browser__main__parts.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/electron_browser_main_parts.cc.orig 2023-10-20 08:29:17 UTC +--- electron/shell/browser/electron_browser_main_parts.cc.orig 2024-01-10 11:28:08 UTC +++ electron/shell/browser/electron_browser_main_parts.cc @@ -77,7 +77,7 @@ #include "ui/wm/core/wm_state.h" @@ -9,7 +9,7 @@ #include "base/environment.h" #include "chrome/browser/ui/views/dark_mode_manager_linux.h" #include "device/bluetooth/bluetooth_adapter_factory.h" -@@ -128,7 +128,7 @@ namespace electron { +@@ -129,7 +129,7 @@ namespace { namespace { @@ -18,7 +18,7 @@ class LinuxUiGetterImpl : public ui::LinuxUiGetter { public: LinuxUiGetterImpl() = default; -@@ -211,7 +211,7 @@ int ElectronBrowserMainParts::PreEarlyInitialization() +@@ -212,7 +212,7 @@ int ElectronBrowserMainParts::PreEarlyInitialization() #if BUILDFLAG(IS_POSIX) HandleSIGCHLD(); #endif @@ -27,7 +27,7 @@ DetectOzonePlatform(); ui::OzonePlatform::PreEarlyInitialization(); #endif -@@ -298,7 +298,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { +@@ -299,7 +299,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { // happen before the ResourceBundle is loaded if (locale.empty()) l10n_util::OverrideLocaleWithCocoaLocale(); @@ -36,7 +36,7 @@ // l10n_util::GetApplicationLocaleInternal uses g_get_language_names(), // which keys off of getenv("LC_ALL"). // We must set this env first to make ui::ResourceBundle accept the custom -@@ -329,7 +329,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { +@@ -330,7 +330,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { ElectronBrowserClient::SetApplicationLocale(app_locale); fake_browser_process_->SetApplicationLocale(app_locale); @@ -45,7 +45,7 @@ // Reset to the original LC_ALL since we should not be changing it. if (!locale.empty()) { if (lc_all) -@@ -389,7 +389,7 @@ void ElectronBrowserMainParts::PostDestroyThreads() { +@@ -390,7 +390,7 @@ void ElectronBrowserMainParts::ToolkitInitialized() { } void ElectronBrowserMainParts::ToolkitInitialized() { @@ -54,7 +54,7 @@ auto* linux_ui = ui::GetDefaultLinuxUi(); CHECK(linux_ui); linux_ui_getter_ = std::make_unique<LinuxUiGetterImpl>(); -@@ -496,7 +496,7 @@ void ElectronBrowserMainParts::WillRunMainMessageLoop( +@@ -497,7 +497,7 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo } void ElectronBrowserMainParts::PostCreateMainMessageLoop() { @@ -63,17 +63,17 @@ std::string app_name = electron::Browser::Get()->GetName(); #endif #if BUILDFLAG(IS_LINUX) -@@ -506,7 +506,9 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo - std::move(shutdown_cb), +@@ -508,7 +508,9 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo content::GetUIThreadTaskRunner({content::BrowserTaskType::kUserInput})); - bluez::DBusBluezManagerWrapperLinux::Initialize(); + if (!bluez::BluezDBusManager::IsInitialized()) + bluez::DBusBluezManagerWrapperLinux::Initialize(); +#endif +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Set up crypt config. This needs to be done before anything starts the // network service, as the raw encryption key needs to be shared with the // network service for encrypted cookie storage. -@@ -605,7 +607,7 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun( +@@ -607,7 +609,7 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun( fake_browser_process_->PostMainMessageLoopRun(); content::DevToolsAgentHost::StopRemoteDebuggingPipeHandler(); diff --git a/devel/electron27/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron27/files/patch-electron_spec_api-browser-window-spec.ts index 73252858a252..f710d3d31e60 100644 --- a/devel/electron27/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron27/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2023-12-21 18:00:06 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2024-01-10 11:28:08 UTC +++ electron/spec/api-browser-window-spec.ts @@ -64,7 +64,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -144,7 +144,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -6398,7 +6398,7 @@ describe('BrowserWindow module', () => { +@@ -6411,7 +6411,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows); diff --git a/devel/electron27/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c b/devel/electron27/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c index 4d0c94683090..58d7cf0aa885 100644 --- a/devel/electron27/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c +++ b/devel/electron27/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c @@ -1,6 +1,6 @@ ---- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2023-08-10 01:51:18 UTC +--- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2024-01-13 03:15:12 UTC +++ third_party/sqlite/src/amalgamation/sqlite3.c -@@ -43843,7 +43843,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB +@@ -43844,7 +43844,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB memset(zBuf, 0, nBuf); randomnessPid = osGetpid(0); #if !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS) @@ -13,7 +13,7 @@ int fd, got; fd = robust_open("/dev/urandom", O_RDONLY, 0); if( fd<0 ){ -@@ -43858,6 +43863,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB +@@ -43859,6 +43864,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB robust_close(0, fd, __LINE__); } }