git: 17e9764ab5ce - main - devel/electron26: update to 26.5.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 09 Nov 2023 14:31:14 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17e9764ab5ce1afc3ce20f496c45dddf1c075068

commit 17e9764ab5ce1afc3ce20f496c45dddf1c075068
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-11-09 14:29:39 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-11-09 14:31:06 +0000

    devel/electron26: update to 26.5.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v26.5.0
    
    Reported by:    GitHub (watch releases)
    Security:       5558dded-a870-4fbe-8b0a-ba198db47007
---
 devel/electron26/Makefile                          |  2 +-
 devel/electron26/Makefile.version                  |  2 +-
 devel/electron26/distinfo                          | 10 +++++-----
 ...hell_browser_api_electron__api__base__window.cc |  4 ++--
 .../patch-electron_spec_api-browser-window-spec.ts | 22 +++++++++++-----------
 5 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/devel/electron26/Makefile b/devel/electron26/Makefile
index 3daf88696651..0550592d66e0 100644
--- a/devel/electron26/Makefile
+++ b/devel/electron26/Makefile
@@ -232,7 +232,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1699051461
+YARN_TIMESTAMP=	1699527246
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron26/Makefile.version b/devel/electron26/Makefile.version
index 691f49b33d5e..0de8e73021d1 100644
--- a/devel/electron26/Makefile.version
+++ b/devel/electron26/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	26.4.3
+ELECTRON_VER=	26.5.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron26/distinfo b/devel/electron26/distinfo
index 4915bc02b178..7ccf4600a810 100644
--- a/devel/electron26/distinfo
+++ b/devel/electron26/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1699052229
+TIMESTAMP = 1699527633
 SHA256 (electron/chromium-116.0.5845.228.tar.xz) = ccf3d7f2e17fd2fcda6ebaef576787b2aaba7a6b2b4e3103b92260ac26fbc6a1
 SIZE (electron/chromium-116.0.5845.228.tar.xz) = 1447024772
 SHA256 (electron/937cea04689b7b8dcf3cb9adbb12c79d1d6c38bb) = f7f7f38661b107fc1d91b7918f36362d9180e87f34e3027562eb5db8735746fe
 SIZE (electron/937cea04689b7b8dcf3cb9adbb12c79d1d6c38bb) = 8881070
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-26.4.3.tar.xz) = db9f148bb5454fb6009f25f7c929116e26d90fe203c275a9a69457ae03ba7a9e
-SIZE (electron/electron-yarn-cache-26.4.3.tar.xz) = 32344660
-SHA256 (electron/electron-electron-v26.4.3_GH0.tar.gz) = 0f52b7f3eae5d1c19b2505c29636af54735c83b685bbf8e12f706ca1463219d9
-SIZE (electron/electron-electron-v26.4.3_GH0.tar.gz) = 11342102
+SHA256 (electron/electron-yarn-cache-26.5.0.tar.xz) = 4b783d49103f13dc3920440eb63c1770131a1375306d5c5b39832299fe8e002b
+SIZE (electron/electron-yarn-cache-26.5.0.tar.xz) = 32345708
+SHA256 (electron/electron-electron-v26.5.0_GH0.tar.gz) = 09f705db9ee4cca334ec2ba16e58a1fc1e0f5becbfc16bd8a39d5956f0d62672
+SIZE (electron/electron-electron-v26.5.0_GH0.tar.gz) = 11348675
 SHA256 (electron/nodejs-node-v18.16.1_GH0.tar.gz) = 750b09907a0b7054bda042bfc26879b9ccb84f9f436182a820ea188b654ce77b
 SIZE (electron/nodejs-node-v18.16.1_GH0.tar.gz) = 112039326
 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39
diff --git a/devel/electron26/files/patch-electron_shell_browser_api_electron__api__base__window.cc b/devel/electron26/files/patch-electron_shell_browser_api_electron__api__base__window.cc
index 0cb677f5b085..d066b6bae209 100644
--- a/devel/electron26/files/patch-electron_shell_browser_api_electron__api__base__window.cc
+++ b/devel/electron26/files/patch-electron_shell_browser_api_electron__api__base__window.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_base_window.cc.orig	2023-09-20 06:47:47 UTC
+--- electron/shell/browser/api/electron_api_base_window.cc.orig	2023-11-07 13:23:25 UTC
 +++ electron/shell/browser/api/electron_api_base_window.cc
-@@ -1063,7 +1063,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate,
+@@ -1071,7 +1071,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate,
    static_cast<NativeWindowViews*>(window_.get())
        ->SetIcon(native_image->GetHICON(GetSystemMetrics(SM_CXSMICON)),
                  native_image->GetHICON(GetSystemMetrics(SM_CXICON)));
diff --git a/devel/electron26/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron26/files/patch-electron_spec_api-browser-window-spec.ts
index f14895fa453a..ba5dd0c7df0c 100644
--- a/devel/electron26/files/patch-electron_spec_api-browser-window-spec.ts
+++ b/devel/electron26/files/patch-electron_spec_api-browser-window-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-browser-window-spec.ts.orig	2023-10-18 09:32:19 UTC
+--- electron/spec/api-browser-window-spec.ts.orig	2023-11-07 13:23:25 UTC
 +++ electron/spec/api-browser-window-spec.ts
 @@ -65,7 +65,7 @@ describe('BrowserWindow module', () => {
        }).not.to.throw();
@@ -63,7 +63,7 @@
          it('checks normal bounds when minimized', async () => {
            const bounds = w.getBounds();
            const minimize = once(w, 'minimize');
-@@ -2782,7 +2782,7 @@ describe('BrowserWindow module', () => {
+@@ -2791,7 +2791,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);
-@@ -2808,7 +2808,7 @@ describe('BrowserWindow module', () => {
+@@ -2817,7 +2817,7 @@ describe('BrowserWindow module', () => {
        });
      });
  
@@ -81,7 +81,7 @@
        it('sets 1 regardless of parameter', () => {
          const w = new BrowserWindow({ show: false });
          w.setOpacity(0);
-@@ -3737,7 +3737,7 @@ describe('BrowserWindow module', () => {
+@@ -3746,7 +3746,7 @@ describe('BrowserWindow module', () => {
          expect(test.nodeTimers).to.equal(true);
          expect(test.nodeUrl).to.equal(true);
  
@@ -90,7 +90,7 @@
            expect(test.creationTime).to.be.null('creation time');
            expect(test.systemMemoryInfo).to.be.null('system memory info');
          } else {
-@@ -4242,7 +4242,7 @@ describe('BrowserWindow module', () => {
+@@ -4251,7 +4251,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 });
-@@ -4513,7 +4513,7 @@ describe('BrowserWindow module', () => {
+@@ -4522,7 +4522,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 = once(w, 'maximize');
        w.maximize();
-@@ -4530,7 +4530,7 @@ describe('BrowserWindow module', () => {
+@@ -4539,7 +4539,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 });
-@@ -4567,7 +4567,7 @@ describe('BrowserWindow module', () => {
+@@ -4576,7 +4576,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 = once(w, 'minimize');
        w.minimize();
-@@ -5041,7 +5041,7 @@ describe('BrowserWindow module', () => {
+@@ -5050,7 +5050,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');
  
-@@ -5131,7 +5131,7 @@ describe('BrowserWindow module', () => {
+@@ -5140,7 +5140,7 @@ describe('BrowserWindow module', () => {
      });
    });
  
@@ -144,7 +144,7 @@
      // Not implemented on Linux.
      afterEach(closeAllWindows);
  
-@@ -6285,7 +6285,7 @@ describe('BrowserWindow module', () => {
+@@ -6294,7 +6294,7 @@ describe('BrowserWindow module', () => {
    describe('"transparent" option', () => {
      afterEach(closeAllWindows);