git: 91c8e8af1b48 - main - devel/electron29: update to 29.4.6

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sun, 18 Aug 2024 20:49:37 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=91c8e8af1b48f5fcc27132f34da5164daac5f228

commit 91c8e8af1b48f5fcc27132f34da5164daac5f228
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2024-08-18 20:46:08 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2024-08-18 20:49:27 +0000

    devel/electron29: update to 29.4.6
    
    Changelog: https://github.com/electron/electron/releases/tag/v29.4.6
    
    Reported by:    GitHub (watch releases)
    MFH:            2024Q3
    Security:       ac025402-4cbc-4177-bd99-c20c03a07f23
---
 devel/electron29/Makefile.version                              |  2 +-
 devel/electron29/distinfo                                      | 10 +++++-----
 ...ctron_shell_browser_api_electron__api__desktop__capturer.cc |  6 +++---
 devel/electron29/files/patch-electron_spec_api-app-spec.ts     |  8 ++++----
 .../electron29/files/patch-electron_spec_version-bump-spec.ts  |  8 ++++----
 5 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/devel/electron29/Makefile.version b/devel/electron29/Makefile.version
index 1514ed93cfb5..082a659efb08 100644
--- a/devel/electron29/Makefile.version
+++ b/devel/electron29/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	29.4.5
+ELECTRON_VER=	29.4.6
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron29/distinfo b/devel/electron29/distinfo
index b77963271b68..f31b9d341f6e 100644
--- a/devel/electron29/distinfo
+++ b/devel/electron29/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1721377739
+TIMESTAMP = 1723946432
 SHA256 (electron/chromium-122.0.6261.156.tar.xz) = c29e0d546920a788d664f241739c1b9ee6f5235cfab91f8d4cf3026f42bceead
 SIZE (electron/chromium-122.0.6261.156.tar.xz) = 1660787092
 SHA256 (electron/e0b8a95aed06c02287872a2d15c28509b9808446) = 6c964b838cc8b73e6014d6f57ae132455e3b0787449a10d4cf12b1415f2abda2
 SIZE (electron/e0b8a95aed06c02287872a2d15c28509b9808446) = 9601507
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-29.4.5.tar.xz) = 7bf31c8b9c55ee317c217cd6605eb85ed015cef96246188be0ab3b2681200368
-SIZE (electron/electron-yarn-cache-29.4.5.tar.xz) = 29229388
-SHA256 (electron/electron-electron-v29.4.5_GH0.tar.gz) = e195aa6f3f9172a8f3265fc9058cf03cb825d5f0c026f06284fac6f24926caf2
-SIZE (electron/electron-electron-v29.4.5_GH0.tar.gz) = 13457835
+SHA256 (electron/electron-yarn-cache-29.4.6.tar.xz) = 7bf31c8b9c55ee317c217cd6605eb85ed015cef96246188be0ab3b2681200368
+SIZE (electron/electron-yarn-cache-29.4.6.tar.xz) = 29229388
+SHA256 (electron/electron-electron-v29.4.6_GH0.tar.gz) = ef722f74add871e557b08731b3362c5f4080f3e84ccb89149536ebd197387b3c
+SIZE (electron/electron-electron-v29.4.6_GH0.tar.gz) = 13454437
 SHA256 (electron/nodejs-node-v20.9.0_GH0.tar.gz) = 97fa9283e5472d4252794c930ad59270e4851cc523fe5469f37f65a344f5f2e2
 SIZE (electron/nodejs-node-v20.9.0_GH0.tar.gz) = 114905754
 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb
diff --git a/devel/electron29/files/patch-electron_shell_browser_api_electron__api__desktop__capturer.cc b/devel/electron29/files/patch-electron_shell_browser_api_electron__api__desktop__capturer.cc
index c7fef3ceb47c..de8c1b9a82cd 100644
--- a/devel/electron29/files/patch-electron_shell_browser_api_electron__api__desktop__capturer.cc
+++ b/devel/electron29/files/patch-electron_shell_browser_api_electron__api__desktop__capturer.cc
@@ -1,7 +1,7 @@
---- electron/shell/browser/api/electron_api_desktop_capturer.cc.orig	2024-02-21 16:26:48 UTC
+--- electron/shell/browser/api/electron_api_desktop_capturer.cc.orig	2024-08-09 17:08:27 UTC
 +++ electron/shell/browser/api/electron_api_desktop_capturer.cc
-@@ -41,7 +41,7 @@
- #include "ui/gfx/x/randr.h"
+@@ -45,7 +45,7 @@
+ #include "ui/base/cocoa/permissions_utils.h"
  #endif
  
 -#if BUILDFLAG(IS_LINUX)
diff --git a/devel/electron29/files/patch-electron_spec_api-app-spec.ts b/devel/electron29/files/patch-electron_spec_api-app-spec.ts
index a4edc810ba96..79fb0e020864 100644
--- a/devel/electron29/files/patch-electron_spec_api-app-spec.ts
+++ b/devel/electron29/files/patch-electron_spec_api-app-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-app-spec.ts.orig	2024-07-10 22:38:05 UTC
+--- electron/spec/api-app-spec.ts.orig	2024-08-09 17:08:27 UTC
 +++ electron/spec/api-app-spec.ts
 @@ -123,11 +123,11 @@ describe('app module', () => {
    });
@@ -128,6 +128,6 @@
  
 -  ifdescribe(!(process.platform === 'linux' && (process.arch === 'arm64' || process.arch === 'arm')))('sandbox options', () => {
 +  ifdescribe(!((process.platform === 'linux' || process.platform === 'freebsd') && (process.arch === 'arm64' || process.arch === 'arm')))('sandbox options', () => {
-     // Our ARM tests are run on VSTS rather than CircleCI, and the Docker
-     // setup on VSTS disallows syscalls that Chrome requires for setting up
-     // sandboxing.
+     let appProcess: cp.ChildProcess = null as any;
+     let server: net.Server = null as any;
+     const socketPath = process.platform === 'win32' ? '\\\\.\\pipe\\electron-mixed-sandbox' : '/tmp/electron-mixed-sandbox';
diff --git a/devel/electron29/files/patch-electron_spec_version-bump-spec.ts b/devel/electron29/files/patch-electron_spec_version-bump-spec.ts
index b21840512b7c..6c1f583bef15 100644
--- a/devel/electron29/files/patch-electron_spec_version-bump-spec.ts
+++ b/devel/electron29/files/patch-electron_spec_version-bump-spec.ts
@@ -1,9 +1,9 @@
---- electron/spec/version-bump-spec.ts.orig	2023-01-24 16:58:16 UTC
+--- electron/spec/version-bump-spec.ts.orig	2024-08-09 17:08:27 UTC
 +++ electron/spec/version-bump-spec.ts
-@@ -92,7 +92,7 @@ describe('version-bumper', () => {
+@@ -90,7 +90,7 @@ describe('version-bumper', () => {
+     });
+   });
  
-   // On macOS Circle CI we don't have a real git environment due to running
-   // gclient sync on a linux machine. These tests therefore don't run as expected.
 -  ifdescribe(!(process.platform === 'linux' && process.arch.indexOf('arm') === 0) && process.platform !== 'darwin')('nextVersion', () => {
 +  ifdescribe(!((process.platform === 'linux' || process.platform === 'freebsd') && process.arch.indexOf('arm') === 0) && process.platform !== 'darwin')('nextVersion', () => {
      describe('bump versions', () => {