git: e1aea0c5d005 - main - devel/electron19: update to 19.0.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Aug 2022 05:47:50 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1aea0c5d0053ca7e1872cbf6bad47beb0d28ca6 commit e1aea0c5d0053ca7e1872cbf6bad47beb0d28ca6 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2022-08-05 05:46:29 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2022-08-05 05:47:39 +0000 devel/electron19: update to 19.0.11 Changelog: - https://github.com/electron/electron/releases/tag/v19.0.10 - https://github.com/electron/electron/releases/tag/v19.0.11 --- devel/electron19/Makefile | 2 +- devel/electron19/Makefile.version | 2 +- devel/electron19/distinfo | 10 +++++----- devel/electron19/files/package.json | 2 +- devel/electron19/files/patch-electron_filenames.gni | 4 ++-- ...n_shell_browser_api_electron__api__web__contents.cc | 10 +++++----- ...ron_shell_browser_electron__browser__main__parts.cc | 16 ++++++++-------- ...tron_shell_browser_electron__browser__main__parts.h | 13 +++++++++++-- ...tch-electron_shell_browser_native__window__views.cc | 18 +++++++++--------- ...patch-electron_spec-main_api-browser-window-spec.ts | 10 +++++----- .../files/patch-electron_spec-main_chromium-spec.ts | 4 ++-- .../files/patch-electron_spec-main_webview-spec.ts | 4 ++-- .../patch-third__party_boringssl_BUILD.generated.gni | 6 ++---- 13 files changed, 54 insertions(+), 47 deletions(-) diff --git a/devel/electron19/Makefile b/devel/electron19/Makefile index 010dbfe77300..9f7607fceed8 100644 --- a/devel/electron19/Makefile +++ b/devel/electron19/Makefile @@ -153,7 +153,7 @@ REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 -YARN_TIMESTAMP= 1658465136 +YARN_TIMESTAMP= 1659596691 GN_ARGS+= clang_use_chrome_plugins=false \ enable_hangout_services_extension=true \ diff --git a/devel/electron19/Makefile.version b/devel/electron19/Makefile.version index e011a8ac7449..870a2276e2a6 100644 --- a/devel/electron19/Makefile.version +++ b/devel/electron19/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 19.0.9 +ELECTRON_VER= 19.0.11 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron19/distinfo b/devel/electron19/distinfo index 84e268eb4cfa..720abb53538a 100644 --- a/devel/electron19/distinfo +++ b/devel/electron19/distinfo @@ -1,14 +1,14 @@ -TIMESTAMP = 1658480260 +TIMESTAMP = 1659597265 SHA256 (electron/chromium-102.0.5005.167.tar.xz) = 0ef31269e4fd0fe5871e29bb16a3a7aaea1de7eee5d7b2c4c209eff4b196d00e SIZE (electron/chromium-102.0.5005.167.tar.xz) = 1302429260 SHA256 (electron/df473d4b1ab26ce6b669007521f2ffb8ff99f9d7) = 38fa60c59a8398ae33f8d12c1234735a74dc3c8d0c6d4bc7a9c212c2b4b7fef8 SIZE (electron/df473d4b1ab26ce6b669007521f2ffb8ff99f9d7) = 12046529 SHA256 (electron/cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb) = ec973eccd669d417fbf2d0a4dac730744a3174268ff062db5451b55c82bc3492 SIZE (electron/cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb) = 26759650 -SHA256 (electron/electron-yarn-cache-19.0.9.tar.xz) = b3cf5287f0ba748ebb80a67f91f003134d73501ab2bd27354cae8c32ccd33d96 -SIZE (electron/electron-yarn-cache-19.0.9.tar.xz) = 37911700 -SHA256 (electron/electron-electron-v19.0.9_GH0.tar.gz) = f16850774fca094414a6f7bf1a34aa8f5f5d56cef7fdc016fc35daef59264456 -SIZE (electron/electron-electron-v19.0.9_GH0.tar.gz) = 10467537 +SHA256 (electron/electron-yarn-cache-19.0.11.tar.xz) = 3b478722fccec5e1f26cc03735005736e3ceaa6989526ea030afa89b0dd4db45 +SIZE (electron/electron-yarn-cache-19.0.11.tar.xz) = 37911756 +SHA256 (electron/electron-electron-v19.0.11_GH0.tar.gz) = ba75035d8a322e74f83ff20650563109a7996a5e240b554347ce8888b2a132e6 +SIZE (electron/electron-electron-v19.0.11_GH0.tar.gz) = 10475110 SHA256 (electron/nodejs-node-v16.14.2_GH0.tar.gz) = cc2331a5c35d3dda0035d9cba71c3b8e234bc68e18ffd955b385c1e97062528f SIZE (electron/nodejs-node-v16.14.2_GH0.tar.gz) = 88432213 SHA256 (electron/nodejs-nan-65b32af46e9d7fab2e4ff657751205b3865f4920_GH0.tar.gz) = a649b75bfa9c1a0254c73d022c6e98924b9471f593bcc83832daaf68da4cae8d diff --git a/devel/electron19/files/package.json b/devel/electron19/files/package.json index 4a986a021b4a..115f160bb912 100644 --- a/devel/electron19/files/package.json +++ b/devel/electron19/files/package.json @@ -1,6 +1,6 @@ { "name": "electron", - "version": "19.0.9", + "version": "19.0.11", "repository": "https://github.com/electron/electron", "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", "devDependencies": { diff --git a/devel/electron19/files/patch-electron_filenames.gni b/devel/electron19/files/patch-electron_filenames.gni index 6411064b64f4..ecfad198c9e6 100644 --- a/devel/electron19/files/patch-electron_filenames.gni +++ b/devel/electron19/files/patch-electron_filenames.gni @@ -1,6 +1,6 @@ ---- electron/filenames.gni.orig 2022-05-11 15:32:29 UTC +--- electron/filenames.gni.orig 2022-08-03 15:31:58 UTC +++ electron/filenames.gni -@@ -238,8 +238,8 @@ filenames = { +@@ -239,8 +239,8 @@ filenames = { "shell/app/command_line_args.h", "shell/app/electron_content_client.cc", "shell/app/electron_content_client.h", diff --git a/devel/electron19/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron19/files/patch-electron_shell_browser_api_electron__api__web__contents.cc index 718656b1e329..fe30ccdfb6ea 100644 --- a/devel/electron19/files/patch-electron_shell_browser_api_electron__api__web__contents.cc +++ b/devel/electron19/files/patch-electron_shell_browser_api_electron__api__web__contents.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/api/electron_api_web_contents.cc.orig 2022-07-21 18:53:47 UTC +--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2022-08-03 15:31:58 UTC +++ electron/shell/browser/api/electron_api_web_contents.cc @@ -150,11 +150,11 @@ #include "ui/base/cocoa/defaults_utils.h" @@ -23,7 +23,7 @@ if (auto* linux_ui = views::LinuxUI::instance()) return linux_ui->GetCursorBlinkInterval(); #elif BUILDFLAG(IS_WIN) -@@ -849,7 +849,7 @@ void WebContents::InitWithSessionAndOptions( +@@ -847,7 +847,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)); -@@ -2375,7 +2375,7 @@ void WebContents::ForcefullyCrashRenderer() { +@@ -2372,7 +2372,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(); -@@ -2936,7 +2936,7 @@ void WebContents::CopyImageAt(int x, int y) { +@@ -2933,7 +2933,7 @@ void WebContents::CopyImageAt(int x, int y) { 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 -@@ -3769,7 +3769,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { +@@ -3774,7 +3774,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { } #endif diff --git a/devel/electron19/files/patch-electron_shell_browser_electron__browser__main__parts.cc b/devel/electron19/files/patch-electron_shell_browser_electron__browser__main__parts.cc index c5b995a8907b..06d15e152a99 100644 --- a/devel/electron19/files/patch-electron_shell_browser_electron__browser__main__parts.cc +++ b/devel/electron19/files/patch-electron_shell_browser_electron__browser__main__parts.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/electron_browser_main_parts.cc.orig 2022-06-22 15:31:07 UTC +--- electron/shell/browser/electron_browser_main_parts.cc.orig 2022-08-03 15:31:58 UTC +++ electron/shell/browser/electron_browser_main_parts.cc @@ -65,7 +65,7 @@ #include "ui/wm/core/wm_state.h" @@ -33,10 +33,10 @@ #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + DetectOzonePlatform(); ui::OzonePlatform::PreEarlyInitialization(); #endif - -@@ -278,7 +278,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { +@@ -279,7 +279,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { #if defined(USE_AURA) screen_ = views::CreateDesktopScreen(); display::Screen::SetScreenInstance(screen_.get()); @@ -45,7 +45,7 @@ views::LinuxUI::instance()->UpdateDeviceScaleFactor(); #endif #endif -@@ -295,7 +295,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { +@@ -296,7 +296,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { // happen before the ResourceBundle is loaded if (locale.empty()) l10n_util::OverrideLocaleWithCocoaLocale(); @@ -54,7 +54,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 -@@ -318,7 +318,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { +@@ -319,7 +319,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { ElectronBrowserClient::SetApplicationLocale(app_locale); fake_browser_process_->SetApplicationLocale(app_locale); @@ -63,7 +63,7 @@ // Reset to the original LC_ALL since we should not be changing it. if (!locale.empty()) { if (lc_all) -@@ -365,7 +365,7 @@ void ElectronBrowserMainParts::PostDestroyThreads() { +@@ -366,7 +366,7 @@ void ElectronBrowserMainParts::PostDestroyThreads() { } void ElectronBrowserMainParts::ToolkitInitialized() { @@ -72,7 +72,7 @@ auto linux_ui = BuildGtkUi(); linux_ui->Initialize(); DCHECK(ui::LinuxInputMethodContextFactory::instance()); -@@ -482,7 +482,9 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo +@@ -483,7 +483,9 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo ui::OzonePlatform::GetInstance()->PostCreateMainMessageLoop( std::move(shutdown_cb)); bluez::DBusBluezManagerWrapperLinux::Initialize(); @@ -82,7 +82,7 @@ // 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. -@@ -541,7 +543,7 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun( +@@ -542,7 +544,7 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun( fake_browser_process_->PostMainMessageLoopRun(); content::DevToolsAgentHost::StopRemoteDebuggingPipeHandler(); diff --git a/devel/electron19/files/patch-electron_shell_browser_electron__browser__main__parts.h b/devel/electron19/files/patch-electron_shell_browser_electron__browser__main__parts.h index f92fd4ce1bb9..bb5bad77d829 100644 --- a/devel/electron19/files/patch-electron_shell_browser_electron__browser__main__parts.h +++ b/devel/electron19/files/patch-electron_shell_browser_electron__browser__main__parts.h @@ -1,4 +1,4 @@ ---- electron/shell/browser/electron_browser_main_parts.h.orig 2022-05-18 15:31:32 UTC +--- electron/shell/browser/electron_browser_main_parts.h.orig 2022-08-03 15:31:58 UTC +++ electron/shell/browser/electron_browser_main_parts.h @@ -61,7 +61,7 @@ class ViewsDelegate; class ViewsDelegateMac; @@ -9,7 +9,16 @@ class DarkThemeObserver; #endif -@@ -139,7 +139,7 @@ class ElectronBrowserMainParts : public content::Brows +@@ -122,7 +122,7 @@ class ElectronBrowserMainParts : public content::Brows + const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); + #endif + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + void DetectOzonePlatform(); + #endif + +@@ -143,7 +143,7 @@ class ElectronBrowserMainParts : public content::Brows std::unique_ptr<display::Screen> screen_; #endif diff --git a/devel/electron19/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron19/files/patch-electron_shell_browser_native__window__views.cc index e809d6dd1a07..006ee76a3d4e 100644 --- a/devel/electron19/files/patch-electron_shell_browser_native__window__views.cc +++ b/devel/electron19/files/patch-electron_shell_browser_native__window__views.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/native_window_views.cc.orig 2022-07-21 18:53:47 UTC +--- electron/shell/browser/native_window_views.cc.orig 2022-08-03 15:31:58 UTC +++ electron/shell/browser/native_window_views.cc @@ -43,7 +43,7 @@ #include "ui/wm/core/shadow_types.h" @@ -54,7 +54,7 @@ void NativeWindowViews::Maximize() { if (IsVisible()) { widget()->Maximize(); -@@ -733,7 +733,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou +@@ -732,7 +732,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou } #endif @@ -63,7 +63,7 @@ // On Linux and Windows the minimum and maximum size should be updated with // window size when window is not resizable. if (!resizable_) { -@@ -965,7 +965,7 @@ bool NativeWindowViews::IsClosable() { +@@ -964,7 +964,7 @@ bool NativeWindowViews::IsClosable() { return false; } return !(info.fState & MFS_DISABLED); @@ -72,7 +72,7 @@ return true; #endif } -@@ -1357,7 +1357,7 @@ void NativeWindowViews::SetProgressBar(double progress +@@ -1356,7 +1356,7 @@ void NativeWindowViews::SetProgressBar(double progress NativeWindow::ProgressState state) { #if BUILDFLAG(IS_WIN) taskbar_host_.SetProgressBar(GetAcceleratedWidget(), progress, state); @@ -81,7 +81,7 @@ if (unity::IsRunning()) { unity::SetProgressFraction(progress); } -@@ -1419,7 +1419,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM +@@ -1418,7 +1418,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM #if BUILDFLAG(IS_WIN) window_handle = reinterpret_cast<content::DesktopMediaID::Id>(accelerated_widget); @@ -90,7 +90,7 @@ window_handle = static_cast<uint32_t>(accelerated_widget); #endif aura::WindowTreeHost* const host = -@@ -1522,7 +1522,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC +@@ -1521,7 +1521,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC SendMessage(hwnd, WM_SETICON, ICON_BIG, reinterpret_cast<LPARAM>(app_icon_.get())); } @@ -99,7 +99,7 @@ void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) { auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget( GetAcceleratedWidget()); -@@ -1592,7 +1592,7 @@ bool NativeWindowViews::CanMaximize() const { +@@ -1591,7 +1591,7 @@ bool NativeWindowViews::CanMaximize() const { bool NativeWindowViews::CanMinimize() const { #if BUILDFLAG(IS_WIN) return minimizable_; @@ -108,7 +108,7 @@ return true; #endif } -@@ -1666,7 +1666,7 @@ void NativeWindowViews::HandleKeyboardEvent( +@@ -1665,7 +1665,7 @@ void NativeWindowViews::HandleKeyboardEvent( if (widget_destroyed_) return; @@ -117,7 +117,7 @@ if (event.windows_key_code == ui::VKEY_BROWSER_BACK) NotifyWindowExecuteAppCommand(kBrowserBackward); else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD) -@@ -1685,7 +1685,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e +@@ -1684,7 +1684,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e // Alt+Click should not toggle menu bar. root_view_->ResetAltState(); diff --git a/devel/electron19/files/patch-electron_spec-main_api-browser-window-spec.ts b/devel/electron19/files/patch-electron_spec-main_api-browser-window-spec.ts index 64dc19292aac..d6a591af0853 100644 --- a/devel/electron19/files/patch-electron_spec-main_api-browser-window-spec.ts +++ b/devel/electron19/files/patch-electron_spec-main_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec-main/api-browser-window-spec.ts.orig 2022-07-21 18:53:47 UTC +--- electron/spec-main/api-browser-window-spec.ts.orig 2022-08-03 15:31:58 UTC +++ electron/spec-main/api-browser-window-spec.ts @@ -58,7 +58,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -108,7 +108,7 @@ const w = new BrowserWindow(); const minimize = emittedOnce(w, 'minimize'); w.minimize(); -@@ -4451,7 +4451,7 @@ describe('BrowserWindow module', () => { +@@ -4459,7 +4459,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. @@ -117,7 +117,7 @@ const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -4543,7 +4543,7 @@ describe('BrowserWindow module', () => { +@@ -4551,7 +4551,7 @@ describe('BrowserWindow module', () => { }); }); @@ -126,7 +126,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -5483,7 +5483,7 @@ describe('BrowserWindow module', () => { +@@ -5569,7 +5569,7 @@ describe('BrowserWindow module', () => { }); // Linux and arm64 platforms (WOA and macOS) do not return any capture sources @@ -135,7 +135,7 @@ const display = screen.getPrimaryDisplay(); const backgroundWindow = new BrowserWindow({ -@@ -5525,7 +5525,7 @@ describe('BrowserWindow module', () => { +@@ -5611,7 +5611,7 @@ describe('BrowserWindow module', () => { afterEach(closeAllWindows); // Linux/WOA doesn't return any capture sources. diff --git a/devel/electron19/files/patch-electron_spec-main_chromium-spec.ts b/devel/electron19/files/patch-electron_spec-main_chromium-spec.ts index c26929b09feb..d164c506c43a 100644 --- a/devel/electron19/files/patch-electron_spec-main_chromium-spec.ts +++ b/devel/electron19/files/patch-electron_spec-main_chromium-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec-main/chromium-spec.ts.orig 2022-06-30 15:53:29 UTC +--- electron/spec-main/chromium-spec.ts.orig 2022-08-03 15:31:58 UTC +++ electron/spec-main/chromium-spec.ts @@ -400,13 +400,13 @@ describe('command line switches', () => { it('should not set an invalid locale', async () => testLocale('asdfkl', currentLocale)); @@ -33,7 +33,7 @@ const html = ` <html lang="ja-JP"> <head> -@@ -1829,7 +1829,7 @@ describe('navigator.clipboard', () => { +@@ -1858,7 +1858,7 @@ describe('navigator.clipboard', () => { }); }); diff --git a/devel/electron19/files/patch-electron_spec-main_webview-spec.ts b/devel/electron19/files/patch-electron_spec-main_webview-spec.ts index 9a53856b7796..122d19e92c6b 100644 --- a/devel/electron19/files/patch-electron_spec-main_webview-spec.ts +++ b/devel/electron19/files/patch-electron_spec-main_webview-spec.ts @@ -1,6 +1,6 @@ ---- electron/spec-main/webview-spec.ts.orig 2022-06-01 15:32:20 UTC +--- electron/spec-main/webview-spec.ts.orig 2022-08-03 15:31:58 UTC +++ electron/spec-main/webview-spec.ts -@@ -456,7 +456,7 @@ describe('<webview> tag', function () { +@@ -482,7 +482,7 @@ describe('<webview> tag', function () { }); // FIXME(zcbenz): Fullscreen events do not work on Linux. diff --git a/devel/electron19/files/patch-third__party_boringssl_BUILD.generated.gni b/devel/electron19/files/patch-third__party_boringssl_BUILD.generated.gni index 62a9600e3cf8..0f047968f563 100644 --- a/devel/electron19/files/patch-third__party_boringssl_BUILD.generated.gni +++ b/devel/electron19/files/patch-third__party_boringssl_BUILD.generated.gni @@ -1,6 +1,6 @@ ---- third_party/boringssl/BUILD.generated.gni.orig 2022-06-10 05:37:11 UTC +--- third_party/boringssl/BUILD.generated.gni.orig 2022-07-22 06:18:59 UTC +++ third_party/boringssl/BUILD.generated.gni -@@ -81,10 +81,12 @@ crypto_sources = [ +@@ -81,8 +81,10 @@ crypto_sources = [ "src/crypto/cpu_aarch64_apple.c", "src/crypto/cpu_aarch64_fuchsia.c", "src/crypto/cpu_aarch64_linux.c", @@ -11,8 +11,6 @@ "src/crypto/cpu_arm_linux.c", "src/crypto/cpu_arm_linux.h", "src/crypto/cpu_intel.c", - "src/crypto/cpu_ppc64le.c", - "src/crypto/crypto.c", @@ -186,6 +188,7 @@ crypto_sources = [ "src/crypto/rand_extra/deterministic.c", "src/crypto/rand_extra/forkunsafe.c",