Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2023 00:25:53 GMT
From:      Hiroki Tagato <tagattie@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9a3b076dfaa1 - main - devel/electron22: update to 22.3.2
Message-ID:  <202303060025.3260PriK032065@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a3b076dfaa14f6f32125c5df33e336951c43534

commit 9a3b076dfaa14f6f32125c5df33e336951c43534
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-03-06 00:24:50 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-03-06 00:25:45 +0000

    devel/electron22: update to 22.3.2
    
    Changelog: https://github.com/electron/electron/releases/tag/v22.3.2
---
 devel/electron22/Makefile                             |  3 +--
 devel/electron22/Makefile.version                     |  2 +-
 devel/electron22/distinfo                             | 10 +++++-----
 ..._shell_browser_api_electron__api__web__contents.cc |  4 ++--
 .../patch-electron_spec_api-browser-window-spec.ts    | 19 ++++++++++++++-----
 5 files changed, 23 insertions(+), 15 deletions(-)

diff --git a/devel/electron22/Makefile b/devel/electron22/Makefile
index 16126642d316..45d611dc4b18 100644
--- a/devel/electron22/Makefile
+++ b/devel/electron22/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER:S/-beta./.b/}
-PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v22.2.0/:chromium \
 		https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \
@@ -222,7 +221,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1677373220
+YARN_TIMESTAMP=	1678001755
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron22/Makefile.version b/devel/electron22/Makefile.version
index 2bc4f5d9a3a0..1acb33dbacba 100644
--- a/devel/electron22/Makefile.version
+++ b/devel/electron22/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	22.3.1
+ELECTRON_VER=	22.3.2
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron22/distinfo b/devel/electron22/distinfo
index bd904d0623c2..5941bdfdd0d7 100644
--- a/devel/electron22/distinfo
+++ b/devel/electron22/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1677373735
+TIMESTAMP = 1678002242
 SHA256 (electron/chromium-108.0.5359.215.tar.xz) = aba0730b347269efda217affe804f6fced296aa02f810c8c9a6fd7d46cd7bf9a
 SIZE (electron/chromium-108.0.5359.215.tar.xz) = 1584734880
 SHA256 (electron/f8b5da24d33317766d3933fb6711b0603fc4fb6f) = 63706737ca75e0e5c97885186b2a7ab019ca71d1315ee08870193bbfa7486bfc
 SIZE (electron/f8b5da24d33317766d3933fb6711b0603fc4fb6f) = 9900677
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-22.3.1.tar.xz) = 3596ed3067106923250423e0c11c7e3dea14e556019e7649f02fb318b5a8560e
-SIZE (electron/electron-yarn-cache-22.3.1.tar.xz) = 38901024
-SHA256 (electron/electron-electron-v22.3.1_GH0.tar.gz) = b09349697d95fe019d0a513a705f072fa134406d0c3d7bd2a8172e178bb604c9
-SIZE (electron/electron-electron-v22.3.1_GH0.tar.gz) = 10518115
+SHA256 (electron/electron-yarn-cache-22.3.2.tar.xz) = 795decea8dce3bfe53de21315dbb35f5764a9f8a039e7f9bb4b51ae0500f2bbd
+SIZE (electron/electron-yarn-cache-22.3.2.tar.xz) = 38904420
+SHA256 (electron/electron-electron-v22.3.2_GH0.tar.gz) = 525977208b1114bfba56c3b228c8aee22bad046859c7bbb339bfb9fac3b63e75
+SIZE (electron/electron-electron-v22.3.2_GH0.tar.gz) = 10519304
 SHA256 (electron/nodejs-node-v16.17.1_GH0.tar.gz) = e63378aa6aa18b9e05486e46eaca6c6e09904366e5100d7e04c6dbd344a42f60
 SIZE (electron/nodejs-node-v16.17.1_GH0.tar.gz) = 90485310
 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39
diff --git a/devel/electron22/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron22/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
index a9ae08a1d9eb..17bc44de302a 100644
--- a/devel/electron22/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+++ b/devel/electron22/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	2023-02-16 01:50:10 UTC
+--- electron/shell/browser/api/electron_api_web_contents.cc.orig	2023-03-02 11:49:02 UTC
 +++ electron/shell/browser/api/electron_api_web_contents.cc
 @@ -154,11 +154,11 @@
  #include "ui/base/cocoa/defaults_utils.h"
@@ -50,7 +50,7 @@
    if (owner_window())
      owner_window()->Focus(true);
  #endif
-@@ -3846,7 +3846,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -3854,7 +3854,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
  }
  #endif
  
diff --git a/devel/electron22/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron22/files/patch-electron_spec_api-browser-window-spec.ts
index f65db543a8a1..cd599979236d 100644
--- a/devel/electron22/files/patch-electron_spec_api-browser-window-spec.ts
+++ b/devel/electron22/files/patch-electron_spec_api-browser-window-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-browser-window-spec.ts.orig	2022-08-10 15:31:37 UTC
+--- electron/spec/api-browser-window-spec.ts.orig	2023-03-02 11:49:02 UTC
 +++ electron/spec/api-browser-window-spec.ts
 @@ -58,7 +58,7 @@ describe('BrowserWindow module', () => {
        }).not.to.throw();
@@ -90,7 +90,16 @@
      afterEach(closeAllWindows);
      it('emits an event when window is maximized', async () => {
        const w = new BrowserWindow({ show: false });
-@@ -3980,7 +3980,7 @@ describe('BrowserWindow module', () => {
+@@ -3981,7 +3981,7 @@ describe('BrowserWindow module', () => {
+     // TODO(zcbenz):
+     // This test does not run on Linux CI. See:
+     // https://github.com/electron/electron/issues/28699
+-    ifit(process.platform === 'linux' && !process.env.CI)('should bring a minimized maximized window back to maximized state', async () => {
++    ifit((process.platform === 'linux' || process.platform === 'freebsd') && !process.env.CI)('should bring a minimized maximized window back to maximized state', async () => {
+       const w = new BrowserWindow({});
+       const maximize = emittedOnce(w, 'maximize');
+       w.maximize();
+@@ -3998,7 +3998,7 @@ describe('BrowserWindow module', () => {
    });
  
    // TODO(dsanders11): Enable once maximize event works on Linux again on CI
@@ -99,7 +108,7 @@
      afterEach(closeAllWindows);
      it('should show the window if it is not currently shown', async () => {
        const w = new BrowserWindow({ show: false });
-@@ -4017,7 +4017,7 @@ describe('BrowserWindow module', () => {
+@@ -4035,7 +4035,7 @@ describe('BrowserWindow module', () => {
  
      // TODO(dsanders11): Enable once minimize event works on Linux again.
      //                   See https://github.com/electron/electron/issues/28699
@@ -108,7 +117,7 @@
        const w = new BrowserWindow();
        const minimize = emittedOnce(w, 'minimize');
        w.minimize();
-@@ -4380,7 +4380,7 @@ describe('BrowserWindow module', () => {
+@@ -4398,7 +4398,7 @@ describe('BrowserWindow module', () => {
        });
  
        // On Linux there is no "resizable" property of a window.
@@ -117,7 +126,7 @@
          const w = new BrowserWindow({ show: false });
          expect(w.resizable).to.be.true('resizable');
  
-@@ -4472,7 +4472,7 @@ describe('BrowserWindow module', () => {
+@@ -4490,7 +4490,7 @@ describe('BrowserWindow module', () => {
      });
    });
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303060025.3260PriK032065>