From nobody Thu Sep 08 20:42:11 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MNrdv3ln8z4bjLB; Thu, 8 Sep 2022 20:42:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MNrdv3bYJz3qnq; Thu, 8 Sep 2022 20:42:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662669731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hDEGQMqmkNyAUTzLGYWAQLrARKa42dV5Jh8aYgduhLY=; b=I3gsibNzWjqj6fubmu4FeiE+eK5+5o+3dkZwSLoXC75kYdDy27+8ZwuhJP4s+HGQZOkBHm eBknX/sH+IaCt2+ZrTthdfZ+4TJpsUCHntYgeG+tKxQ3+M2NH4X2hu5aYP2iKOVjiRISwe qwJ1OhB+yxYUOlt2rig1NhfGw6k5ZfBl7fsjgX66qKCMXC21lnQlgK404ck6gNVhLldO7C 7AG1c0Yp9SAfeimjgByqME6d/ZkiCr6lt5sw0gn+NKch1+y+BepwoKWK4VGzcc/rnRA38D h9QFI/desGJ6Of2FUpmodlkzEdeA3xryF+04qrjpVqhJp0btXrvF/jIF9sxV2A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MNrdv2gtVz10Wj; Thu, 8 Sep 2022 20:42:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 288KgBkI009662; Thu, 8 Sep 2022 20:42:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 288KgBeY009661; Thu, 8 Sep 2022 20:42:11 GMT (envelope-from git) Date: Thu, 8 Sep 2022 20:42:11 GMT Message-Id: <202209082042.288KgBeY009661@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 0f293754fda9 - main - devel/electron19: update to 19.0.15 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f293754fda9e03762e658e0570468d6c2cd05e7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662669731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hDEGQMqmkNyAUTzLGYWAQLrARKa42dV5Jh8aYgduhLY=; b=haT1wtuL75SWi+jM47DzwoZZjpqp2q8Nd7cU7MKkRWbfSEPjH3lBrclZpFUZNOmS2DFHUY YCZmQkKdzvf+HZwB1+bOI0lbjnW7WUugEJ0m79NOuRVkci9dnQrlPp/QPzYEpp3oDVaSrQ FKsZTBAR4jclSKu1qaQOpa3GjFlzrYVYRqXzdL2RnaXQppEjO0uFae4k3dEmzoko8Dtl1G 2xVavz2XfUFbKh3ulxGflJzTJeq51sG0NTwbCQA9oonY6xAbH3baj4lRhE1FYJLMxiYpHS B21LC1OLD3vRBttUAyjnkjOOVMOjfof3cIpI6tZk8R7TmnjNTfb8Wu1GezWGxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662669731; a=rsa-sha256; cv=none; b=BS2Ti8jucmVctKg84Pa2ea2Awn/hM+bVTVqYCWb4I4NZZ9zxhtyFBQMt13dDBTv17YxDoD Ly8fTYmf5gBqYL1DcR9rMsA9cLStao5qsI1na+30i85ljpIWt8ZLhOxr93o0VoJ09HwZiQ ZpMUvoYJkk3Tayw2+jE0egA0fPR2GAw+8I1We4qlof8aybh0MjXpFPYW/Z0mGJhx/MhHE9 xv3TFQWUFRb5tzk8CR4gUml2dOdqspvfE7hUO8i7xHqfhkkGxtmUeIfKdpnxpxDIgtNofz Pmd/NSBERuVs7lfl52oBgclEYvPP7TjfYFauFhZvrLEIUanrdxwksrtbIT/Z3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f293754fda9e03762e658e0570468d6c2cd05e7 commit 0f293754fda9e03762e658e0570468d6c2cd05e7 Author: Hiroki Tagato AuthorDate: 2022-09-08 20:40:55 +0000 Commit: Hiroki Tagato CommitDate: 2022-09-08 20:42:04 +0000 devel/electron19: update to 19.0.15 Changelog: https://github.com/electron/electron/releases/tag/v19.0.15 --- devel/electron19/Makefile | 2 +- devel/electron19/Makefile.version | 2 +- devel/electron19/distinfo | 10 ++++----- devel/electron19/files/package.json | 2 +- ...electron_shell_browser_native__window__views.cc | 26 +++++++++++----------- .../patch-electron_shell_common_node__bindings.cc | 10 ++++----- ...h-electron_spec-main_api-browser-window-spec.ts | 22 +++++++++--------- 7 files changed, 37 insertions(+), 37 deletions(-) diff --git a/devel/electron19/Makefile b/devel/electron19/Makefile index 41d887bf7db1..c13088666c71 100644 --- a/devel/electron19/Makefile +++ b/devel/electron19/Makefile @@ -154,7 +154,7 @@ REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 -YARN_TIMESTAMP= 1661457908 +YARN_TIMESTAMP= 1662535038 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 2caf549c8d9e..063d691d16ae 100644 --- a/devel/electron19/Makefile.version +++ b/devel/electron19/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 19.0.14 +ELECTRON_VER= 19.0.15 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron19/distinfo b/devel/electron19/distinfo index 7cf27a753ecf..edd8a333c65f 100644 --- a/devel/electron19/distinfo +++ b/devel/electron19/distinfo @@ -1,14 +1,14 @@ -TIMESTAMP = 1661459122 +TIMESTAMP = 1662536492 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.14.tar.xz) = 4c0dc47759e502c324170b0585ac724cee9fdca985765081b1405018bfd72e93 -SIZE (electron/electron-yarn-cache-19.0.14.tar.xz) = 37911808 -SHA256 (electron/electron-electron-v19.0.14_GH0.tar.gz) = 30b08539acd1ab8df840650b1da74abd7bd4b4b91b5907daaade056a9b0aceba -SIZE (electron/electron-electron-v19.0.14_GH0.tar.gz) = 10498155 +SHA256 (electron/electron-yarn-cache-19.0.15.tar.xz) = 0b39a12041b90a98204b67f69b3452bc45debf13a4b9753d88a70b5906a34541 +SIZE (electron/electron-yarn-cache-19.0.15.tar.xz) = 37910588 +SHA256 (electron/electron-electron-v19.0.15_GH0.tar.gz) = 47e01fa2778c9991a4c441b5e0e4c62543f890e27250354c4a7b0f5512215703 +SIZE (electron/electron-electron-v19.0.15_GH0.tar.gz) = 10505520 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 5f40103977e4..1a86b1cbe443 100644 --- a/devel/electron19/files/package.json +++ b/devel/electron19/files/package.json @@ -1,6 +1,6 @@ { "name": "electron", - "version": "19.0.14", + "version": "19.0.15", "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_shell_browser_native__window__views.cc b/devel/electron19/files/patch-electron_shell_browser_native__window__views.cc index 006ee76a3d4e..63488a36b891 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-08-03 15:31:58 UTC +--- electron/shell/browser/native_window_views.cc.orig 2022-08-31 15:31:43 UTC +++ electron/shell/browser/native_window_views.cc @@ -43,7 +43,7 @@ #include "ui/wm/core/shadow_types.h" @@ -18,7 +18,7 @@ std::string name = Browser::Get()->GetName(); // Set WM_WINDOW_ROLE. params.wm_role_name = "browser-window"; -@@ -290,7 +290,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: +@@ -307,7 +307,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: std::string window_type; options.Get(options::kType, &window_type); @@ -27,7 +27,7 @@ // Set _GTK_THEME_VARIANT to dark if we have "dark-theme" option set. bool use_dark_theme = false; if (options.Get(options::kDarkTheme, &use_dark_theme) && use_dark_theme) { -@@ -397,7 +397,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: +@@ -414,7 +414,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: if (window) window->AddPreTargetHandler(this); @@ -36,7 +36,7 @@ // On linux after the widget is initialized we might have to force set the // bounds if the bounds are smaller than the current display SetBounds(gfx::Rect(GetPosition(), bounds.size()), false); -@@ -547,7 +547,7 @@ bool NativeWindowViews::IsVisible() { +@@ -564,7 +564,7 @@ bool NativeWindowViews::IsVisible() { bool NativeWindowViews::IsEnabled() { #if BUILDFLAG(IS_WIN) return ::IsWindowEnabled(GetAcceleratedWidget()); @@ -45,7 +45,7 @@ #if defined(USE_OZONE_PLATFORM_X11) if (IsX11()) return !event_disabler_.get(); -@@ -605,7 +605,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable +@@ -622,7 +622,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable #endif } @@ -54,7 +54,7 @@ void NativeWindowViews::Maximize() { if (IsVisible()) { widget()->Maximize(); -@@ -732,7 +732,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou +@@ -749,7 +749,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_) { -@@ -964,7 +964,7 @@ bool NativeWindowViews::IsClosable() { +@@ -981,7 +981,7 @@ bool NativeWindowViews::IsClosable() { return false; } return !(info.fState & MFS_DISABLED); @@ -72,7 +72,7 @@ return true; #endif } -@@ -1356,7 +1356,7 @@ void NativeWindowViews::SetProgressBar(double progress +@@ -1373,7 +1373,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); } -@@ -1418,7 +1418,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM +@@ -1435,7 +1435,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM #if BUILDFLAG(IS_WIN) window_handle = reinterpret_cast(accelerated_widget); @@ -90,7 +90,7 @@ window_handle = static_cast(accelerated_widget); #endif aura::WindowTreeHost* const host = -@@ -1521,7 +1521,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC +@@ -1538,7 +1538,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC SendMessage(hwnd, WM_SETICON, ICON_BIG, reinterpret_cast(app_icon_.get())); } @@ -99,7 +99,7 @@ void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) { auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget( GetAcceleratedWidget()); -@@ -1591,7 +1591,7 @@ bool NativeWindowViews::CanMaximize() const { +@@ -1608,7 +1608,7 @@ bool NativeWindowViews::CanMaximize() const { bool NativeWindowViews::CanMinimize() const { #if BUILDFLAG(IS_WIN) return minimizable_; @@ -108,7 +108,7 @@ return true; #endif } -@@ -1665,7 +1665,7 @@ void NativeWindowViews::HandleKeyboardEvent( +@@ -1682,7 +1682,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) -@@ -1684,7 +1684,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e +@@ -1701,7 +1701,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_shell_common_node__bindings.cc b/devel/electron19/files/patch-electron_shell_common_node__bindings.cc index e523ba2752a0..812c74881a8f 100644 --- a/devel/electron19/files/patch-electron_shell_common_node__bindings.cc +++ b/devel/electron19/files/patch-electron_shell_common_node__bindings.cc @@ -1,15 +1,15 @@ ---- electron/shell/common/node_bindings.cc.orig 2022-08-17 15:33:41 UTC +--- electron/shell/common/node_bindings.cc.orig 2022-08-31 15:31:43 UTC +++ electron/shell/common/node_bindings.cc -@@ -38,7 +38,7 @@ - #include "shell/common/node_includes.h" +@@ -39,7 +39,7 @@ #include "third_party/blink/renderer/bindings/core/v8/v8_initializer.h" // nogncheck + #include "third_party/electron_node/src/debug_utils.h" -#if !defined(MAS_BUILD) +#if !defined(MAS_BUILD) && !defined(OS_BSD) #include "shell/common/crash_keys.h" #endif -@@ -143,7 +143,7 @@ bool g_is_initialized = false; +@@ -144,7 +144,7 @@ bool g_is_initialized = false; 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 -@@ -370,7 +370,7 @@ void NodeBindings::Initialize() { +@@ -371,7 +371,7 @@ void NodeBindings::Initialize() { TRACE_EVENT0("electron", "NodeBindings::Initialize"); // Open node's error reporting system for browser process. 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 d6a591af0853..a04fe7073cb7 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-08-03 15:31:58 UTC +--- electron/spec-main/api-browser-window-spec.ts.orig 2022-08-31 15:31:43 UTC +++ electron/spec-main/api-browser-window-spec.ts @@ -58,7 +58,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -54,7 +54,7 @@ it('checks normal bounds when minimized', async () => { const bounds = w.getBounds(); const minimize = emittedOnce(w, 'minimize'); -@@ -2269,7 +2269,7 @@ describe('BrowserWindow module', () => { +@@ -2274,7 +2274,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.setOpacity(opacity)', () => { afterEach(closeAllWindows); @@ -63,7 +63,7 @@ it('make window with initial opacity', () => { const w = new BrowserWindow({ show: false, opacity: 0.5 }); expect(w.getOpacity()).to.equal(0.5); -@@ -2295,7 +2295,7 @@ describe('BrowserWindow module', () => { +@@ -2300,7 +2300,7 @@ describe('BrowserWindow module', () => { }); }); @@ -72,7 +72,7 @@ it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3227,7 +3227,7 @@ describe('BrowserWindow module', () => { +@@ -3232,7 +3232,7 @@ describe('BrowserWindow module', () => { expect(test.versions).to.deep.equal(process.versions); expect(test.contextId).to.be.a('string'); @@ -81,7 +81,7 @@ expect(test.creationTime).to.be.null('creation time'); expect(test.systemMemoryInfo).to.be.null('system memory info'); } else { -@@ -3800,7 +3800,7 @@ describe('BrowserWindow module', () => { +@@ -3805,7 +3805,7 @@ describe('BrowserWindow module', () => { }); }); @@ -90,7 +90,7 @@ afterEach(closeAllWindows); it('emits an event when window is maximized', async () => { const w = new BrowserWindow({ show: false }); -@@ -4059,7 +4059,7 @@ describe('BrowserWindow module', () => { +@@ -4064,7 +4064,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI @@ -99,7 +99,7 @@ afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -4096,7 +4096,7 @@ describe('BrowserWindow module', () => { +@@ -4101,7 +4101,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 @@ -108,7 +108,7 @@ const w = new BrowserWindow(); const minimize = emittedOnce(w, 'minimize'); w.minimize(); -@@ -4459,7 +4459,7 @@ describe('BrowserWindow module', () => { +@@ -4464,7 +4464,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'); -@@ -4551,7 +4551,7 @@ describe('BrowserWindow module', () => { +@@ -4556,7 +4556,7 @@ describe('BrowserWindow module', () => { }); }); @@ -126,7 +126,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -5569,7 +5569,7 @@ describe('BrowserWindow module', () => { +@@ -5574,7 +5574,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({ -@@ -5611,7 +5611,7 @@ describe('BrowserWindow module', () => { +@@ -5616,7 +5616,7 @@ describe('BrowserWindow module', () => { afterEach(closeAllWindows); // Linux/WOA doesn't return any capture sources.