git: a282f3d3200d - main - devel/electron23: update to 23.3.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 01:55:13 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=a282f3d3200d52d634c646cf7962e3ffbf4bb0eb commit a282f3d3200d52d634c646cf7962e3ffbf4bb0eb Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2023-05-27 01:53:50 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2023-05-27 01:55:03 +0000 devel/electron23: update to 23.3.4 Changelog: https://github.com/electron/electron/releases/tag/v23.3.4 Reported by: GitHub (watch releases) --- devel/electron23/Makefile | 2 +- devel/electron23/Makefile.version | 2 +- devel/electron23/distinfo | 10 +++++----- ...electron_shell_browser_native__window__views.cc | 16 ++++++++-------- .../patch-electron_spec_api-browser-window-spec.ts | 22 +++++++++++----------- 5 files changed, 26 insertions(+), 26 deletions(-) diff --git a/devel/electron23/Makefile b/devel/electron23/Makefile index 9ac381ecda45..4d9bf89f6796 100644 --- a/devel/electron23/Makefile +++ b/devel/electron23/Makefile @@ -222,7 +222,7 @@ REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 -YARN_TIMESTAMP= 1684476173 +YARN_TIMESTAMP= 1685090647 .include "Makefile.version" .include <bsd.port.pre.mk> diff --git a/devel/electron23/Makefile.version b/devel/electron23/Makefile.version index 70f9c7e9f7bc..e74341322ad8 100644 --- a/devel/electron23/Makefile.version +++ b/devel/electron23/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 23.3.3 +ELECTRON_VER= 23.3.4 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron23/distinfo b/devel/electron23/distinfo index 5c61b17d369f..82ceef294dd2 100644 --- a/devel/electron23/distinfo +++ b/devel/electron23/distinfo @@ -1,14 +1,14 @@ -TIMESTAMP = 1684476846 +TIMESTAMP = 1685091412 SHA256 (electron/chromium-110.0.5481.208.tar.xz) = 9f364e9a61a961b808ac241076fe25f8c48e5d7349a3236a9023a51018890ccc SIZE (electron/chromium-110.0.5481.208.tar.xz) = 1554639732 SHA256 (electron/32dc8abec1486818f6ef4afc4996abc002b5218e) = b7f797156b45c21a104f732366dad74e5b401bae8e3ce75fe1e54769cda3c0c2 SIZE (electron/32dc8abec1486818f6ef4afc4996abc002b5218e) = 9903987 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734 -SHA256 (electron/electron-yarn-cache-23.3.3.tar.xz) = 027f1fa58cf24d3461042885141fdf3ee7762230467827162796daf130beae67 -SIZE (electron/electron-yarn-cache-23.3.3.tar.xz) = 38873020 -SHA256 (electron/electron-electron-v23.3.3_GH0.tar.gz) = 0fa75e83ef92c2a0a889e6b3eebb10949403426a4c2dcac0b89c5fa890fae94b -SIZE (electron/electron-electron-v23.3.3_GH0.tar.gz) = 10489446 +SHA256 (electron/electron-yarn-cache-23.3.4.tar.xz) = b74962705fb3471a4c8b80abf23d3f84d177c7db2849840abced14f96d29e9c2 +SIZE (electron/electron-yarn-cache-23.3.4.tar.xz) = 38873020 +SHA256 (electron/electron-electron-v23.3.4_GH0.tar.gz) = 5526ad4d90833cdef46af8695989a381a3ef5061e49564e0628f4d57fea6af84 +SIZE (electron/electron-electron-v23.3.4_GH0.tar.gz) = 10488860 SHA256 (electron/nodejs-node-v18.12.1_GH0.tar.gz) = 7e7962209d25ed6c28b722b78a0b0ca304307d7bf536aca142be330901b11d50 SIZE (electron/nodejs-node-v18.12.1_GH0.tar.gz) = 108947341 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39 diff --git a/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc index 452dd51f395d..0ce80aecff4e 100644 --- a/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc +++ b/devel/electron23/files/patch-electron_shell_browser_native__window__views.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/native_window_views.cc.orig 2023-05-17 12:49:10 UTC +--- electron/shell/browser/native_window_views.cc.orig 2023-05-22 19:20:12 UTC +++ electron/shell/browser/native_window_views.cc @@ -42,7 +42,7 @@ #include "ui/wm/core/shadow_types.h" @@ -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_) { -@@ -968,7 +968,7 @@ bool NativeWindowViews::IsClosable() { +@@ -972,7 +972,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 +@@ -1360,7 +1360,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 +@@ -1422,7 +1422,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 = -@@ -1516,7 +1516,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC +@@ -1520,7 +1520,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()); -@@ -1586,7 +1586,7 @@ bool NativeWindowViews::CanMaximize() const { +@@ -1590,7 +1590,7 @@ bool NativeWindowViews::CanMaximize() const { bool NativeWindowViews::CanMinimize() const { #if BUILDFLAG(IS_WIN) return minimizable_; @@ -108,7 +108,7 @@ return true; #endif } -@@ -1638,7 +1638,7 @@ void NativeWindowViews::HandleKeyboardEvent( +@@ -1642,7 +1642,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) -@@ -1657,7 +1657,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e +@@ -1661,7 +1661,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e // Alt+Click should not toggle menu bar. root_view_->ResetAltState(); diff --git a/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts index da71e6c724a9..92e9628d86de 100644 --- a/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron23/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2023-05-17 12:49:10 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2023-05-22 19:20:12 UTC +++ electron/spec/api-browser-window-spec.ts @@ -58,7 +58,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -63,7 +63,7 @@ it('checks normal bounds when minimized', async () => { const bounds = w.getBounds(); const minimize = emittedOnce(w, 'minimize'); -@@ -2333,7 +2333,7 @@ describe('BrowserWindow module', () => { +@@ -2350,7 +2350,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.setOpacity(opacity)', () => { afterEach(closeAllWindows); @@ -72,7 +72,7 @@ it('make window with initial opacity', () => { const w = new BrowserWindow({ show: false, opacity: 0.5 }); expect(w.getOpacity()).to.equal(0.5); -@@ -2359,7 +2359,7 @@ describe('BrowserWindow module', () => { +@@ -2376,7 +2376,7 @@ describe('BrowserWindow module', () => { }); }); @@ -81,7 +81,7 @@ it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3287,7 +3287,7 @@ describe('BrowserWindow module', () => { +@@ -3304,7 +3304,7 @@ describe('BrowserWindow module', () => { expect(test.versions).to.deep.equal(process.versions); expect(test.contextId).to.be.a('string'); @@ -90,7 +90,7 @@ expect(test.creationTime).to.be.null('creation time'); expect(test.systemMemoryInfo).to.be.null('system memory info'); } else { -@@ -3793,7 +3793,7 @@ describe('BrowserWindow module', () => { +@@ -3810,7 +3810,7 @@ describe('BrowserWindow module', () => { }); }); @@ -99,7 +99,7 @@ afterEach(closeAllWindows); it('emits an event when window is maximized', async () => { const w = new BrowserWindow({ show: false }); -@@ -4053,7 +4053,7 @@ describe('BrowserWindow module', () => { +@@ -4070,7 +4070,7 @@ describe('BrowserWindow module', () => { // TODO(zcbenz): // This test does not run on Linux CI. See: // https://github.com/electron/electron/issues/28699 @@ -108,7 +108,7 @@ const w = new BrowserWindow({}); const maximize = emittedOnce(w, 'maximize'); w.maximize(); -@@ -4070,7 +4070,7 @@ describe('BrowserWindow module', () => { +@@ -4087,7 +4087,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI @@ -117,7 +117,7 @@ afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -4107,7 +4107,7 @@ describe('BrowserWindow module', () => { +@@ -4124,7 +4124,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 @@ -126,7 +126,7 @@ const w = new BrowserWindow(); const minimize = emittedOnce(w, 'minimize'); w.minimize(); -@@ -4470,7 +4470,7 @@ describe('BrowserWindow module', () => { +@@ -4487,7 +4487,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. @@ -135,7 +135,7 @@ const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -4562,7 +4562,7 @@ describe('BrowserWindow module', () => { +@@ -4579,7 +4579,7 @@ describe('BrowserWindow module', () => { }); }); @@ -144,7 +144,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -5626,7 +5626,7 @@ describe('BrowserWindow module', () => { +@@ -5643,7 +5643,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows);