git: f261fb32a734 - main - devel/electron22: update to 22.2.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Tue, 07 Feb 2023 05:31:21 UTC
The branch main has been updated by tagattie:

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

commit f261fb32a734e355e40ce0c5a0a99486ee06babf
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-02-07 05:29:17 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-02-07 05:31:12 +0000

    devel/electron22: update to 22.2.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v22.2.0
---
 devel/electron22/Makefile                                  |  6 +++---
 devel/electron22/Makefile.version                          |  2 +-
 devel/electron22/distinfo                                  | 14 +++++++-------
 devel/electron22/files/patch-content_browser_BUILD.gn      |  4 ++--
 devel/electron22/files/patch-electron_BUILD.gn             | 10 +++++-----
 devel/electron22/files/patch-electron_filenames.gni        |  4 ++--
 ...ectron_shell_browser_api_electron__api__base__window.cc |  4 ++--
 .../files/patch-electron_shell_browser_native__window.cc   |  4 ++--
 8 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/devel/electron22/Makefile b/devel/electron22/Makefile
index 9d1b6a800ed0..f64d1f06852f 100644
--- a/devel/electron22/Makefile
+++ b/devel/electron22/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER:S/-beta./.b/}
 CATEGORIES=	devel
-MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v22.0.3/:chromium \
+MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v22.2.0/:chromium \
 		https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \
 		https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts
 PKGNAMESUFFIX=	${ELECTRON_VER_MAJOR}
@@ -205,7 +205,7 @@ SNDIO_VARS=		GN_ARGS+=use_sndio=true
 SNDIO_VARS_OFF=		GN_ARGS+=use_sndio=false
 
 # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER
-CHROMIUM_VER=			108.0.5359.179
+CHROMIUM_VER=			108.0.5359.215
 # See ${WRKSRC}/third_party/node/node_modules.tar.gz.sha1 for CHROMIUM_NODE_MODULES_HASH
 CHROMIUM_NODE_MODULES_HASH=	f8b5da24d33317766d3933fb6711b0603fc4fb6f
 # See ${WRKSRC}/third_party/test_fonts/test_fonts.tar.gz.sha1 for CHROMIUM_TEST_FONTS_HASH
@@ -221,7 +221,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1675054791
+YARN_TIMESTAMP=	1675635699
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron22/Makefile.version b/devel/electron22/Makefile.version
index 2c72596efedf..24747aebc490 100644
--- a/devel/electron22/Makefile.version
+++ b/devel/electron22/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	22.1.0
+ELECTRON_VER=	22.2.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron22/distinfo b/devel/electron22/distinfo
index f90fff0a63cf..ed905234a6ca 100644
--- a/devel/electron22/distinfo
+++ b/devel/electron22/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1675056031
-SHA256 (electron/chromium-108.0.5359.179.tar.xz) = 5e0e06cf8b43091347d908b651a919d5b94cdde2178d5e175dad4e2a75cf4ac8
-SIZE (electron/chromium-108.0.5359.179.tar.xz) = 1584561116
+TIMESTAMP = 1675641452
+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.1.0.tar.xz) = 8120999809490d73c9291295ffebaa49dcad2e4427720a773040f4a593e0cc50
-SIZE (electron/electron-yarn-cache-22.1.0.tar.xz) = 38469072
-SHA256 (electron/electron-electron-v22.1.0_GH0.tar.gz) = 9bd7fb2aa96402312f97111231cf343ce806b466fba1fc3e2e1a708a0ca0cbf6
-SIZE (electron/electron-electron-v22.1.0_GH0.tar.gz) = 10510560
+SHA256 (electron/electron-yarn-cache-22.2.0.tar.xz) = 3c6787e8db3f8e10d0107fefed0e54411b9f70b38e0fe333b270f51e5f8d3776
+SIZE (electron/electron-yarn-cache-22.2.0.tar.xz) = 38468224
+SHA256 (electron/electron-electron-v22.2.0_GH0.tar.gz) = 3d5c2e5f893b390770421944a78018b337ce247ac13366ddcf6025540705ba4f
+SIZE (electron/electron-electron-v22.2.0_GH0.tar.gz) = 10513710
 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-content_browser_BUILD.gn b/devel/electron22/files/patch-content_browser_BUILD.gn
index cb372dc6df6d..79c6d6a8fd81 100644
--- a/devel/electron22/files/patch-content_browser_BUILD.gn
+++ b/devel/electron22/files/patch-content_browser_BUILD.gn
@@ -1,6 +1,6 @@
---- content/browser/BUILD.gn.orig	2022-11-30 08:12:58 UTC
+--- content/browser/BUILD.gn.orig	2023-02-06 00:03:16 UTC
 +++ content/browser/BUILD.gn
-@@ -2491,6 +2491,13 @@ source_set("browser") {
+@@ -2493,6 +2493,13 @@ source_set("browser") {
      ]
    }
  
diff --git a/devel/electron22/files/patch-electron_BUILD.gn b/devel/electron22/files/patch-electron_BUILD.gn
index f69f9feea2db..9ae9d9a9333f 100644
--- a/devel/electron22/files/patch-electron_BUILD.gn
+++ b/devel/electron22/files/patch-electron_BUILD.gn
@@ -1,4 +1,4 @@
---- electron/BUILD.gn.orig	2022-08-03 15:31:32 UTC
+--- electron/BUILD.gn.orig	2023-01-31 17:36:58 UTC
 +++ electron/BUILD.gn
 @@ -111,8 +111,6 @@ electron_version = exec_script("script/print-version.p
                                 [],
@@ -31,7 +31,7 @@
    if (is_linux) {
      libs = [ "xshmfence" ]
      deps += [
-@@ -1239,7 +1243,7 @@ if (is_mac) {
+@@ -1237,7 +1241,7 @@ if (is_mac) {
        ":electron_lib",
        ":electron_win32_resources",
        ":packed_resources",
@@ -40,7 +40,7 @@
        "//content:sandbox_helper_win",
        "//electron/buildflags",
        "//ui/strings",
-@@ -1265,7 +1269,7 @@ if (is_mac) {
+@@ -1263,7 +1267,7 @@ if (is_mac) {
        public_deps = [ "//tools/v8_context_snapshot:v8_context_snapshot" ]
      }
  
@@ -49,7 +49,7 @@
        data_deps += [ "//components/crash/core/app:chrome_crashpad_handler" ]
      }
  
-@@ -1332,7 +1336,7 @@ if (is_mac) {
+@@ -1330,7 +1334,7 @@ if (is_mac) {
          configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
        }
  
@@ -58,7 +58,7 @@
          deps += [ "//sandbox/linux:chrome_sandbox" ]
        }
      }
-@@ -1459,7 +1463,7 @@ dist_zip("electron_dist_zip") {
+@@ -1457,7 +1461,7 @@ dist_zip("electron_dist_zip") {
      ":electron_version_file",
      ":licenses",
    ]
diff --git a/devel/electron22/files/patch-electron_filenames.gni b/devel/electron22/files/patch-electron_filenames.gni
index 68bee7cda7cc..ce0af219698a 100644
--- a/devel/electron22/files/patch-electron_filenames.gni
+++ b/devel/electron22/files/patch-electron_filenames.gni
@@ -1,6 +1,6 @@
---- electron/filenames.gni.orig	2023-01-24 16:58:16 UTC
+--- electron/filenames.gni.orig	2023-01-31 17:36:58 UTC
 +++ electron/filenames.gni
-@@ -246,8 +246,8 @@ filenames = {
+@@ -252,8 +252,8 @@ filenames = {
      "shell/app/command_line_args.h",
      "shell/app/electron_content_client.cc",
      "shell/app/electron_content_client.h",
diff --git a/devel/electron22/files/patch-electron_shell_browser_api_electron__api__base__window.cc b/devel/electron22/files/patch-electron_shell_browser_api_electron__api__base__window.cc
index 2affea904cfe..59538d96bcc0 100644
--- a/devel/electron22/files/patch-electron_shell_browser_api_electron__api__base__window.cc
+++ b/devel/electron22/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-01-24 16:58:16 UTC
+--- electron/shell/browser/api/electron_api_base_window.cc.orig	2023-01-31 17:36:58 UTC
 +++ electron/shell/browser/api/electron_api_base_window.cc
-@@ -1038,7 +1038,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate,
+@@ -1048,7 +1048,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/electron22/files/patch-electron_shell_browser_native__window.cc b/devel/electron22/files/patch-electron_shell_browser_native__window.cc
index 90c5ac8bad53..6f0070e346c6 100644
--- a/devel/electron22/files/patch-electron_shell_browser_native__window.cc
+++ b/devel/electron22/files/patch-electron_shell_browser_native__window.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/native_window.cc.orig	2022-05-18 15:31:32 UTC
+--- electron/shell/browser/native_window.cc.orig	2023-01-31 17:36:58 UTC
 +++ electron/shell/browser/native_window.cc
-@@ -185,7 +185,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D
+@@ -189,7 +189,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D
    } else {
      SetSizeConstraints(size_constraints);
    }