git: 91fea6a0f030 - main - net-im/signal-desktop: Update to 5.53.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Fri, 05 Aug 2022 14:49:20 UTC
The branch main has been updated by mikael:

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

commit 91fea6a0f0302ab318806ad8e6cf7c6a5f3a5d8c
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2022-08-05 11:53:57 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-08-05 14:48:56 +0000

    net-im/signal-desktop: Update to 5.53.0
    
    Changes: https://github.com/signalapp/Signal-Desktop/releases/tag/v5.53.0
---
 net-im/signal-desktop/Makefile                 |  4 ++--
 net-im/signal-desktop/distinfo                 | 18 +++++++++---------
 net-im/signal-desktop/files/patch-package.json | 19 +++++--------------
 net-im/signal-desktop/files/patch-yarn.lock    | 17 -----------------
 net-im/signal-desktop/get_deps.sh              |  8 ++++----
 net-im/signal-desktop/pkg-plist                |  1 +
 6 files changed, 21 insertions(+), 46 deletions(-)

diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile
index 8c7d7b644995..1de87c9043ee 100644
--- a/net-im/signal-desktop/Makefile
+++ b/net-im/signal-desktop/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	signal-desktop
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.52.0
+DISTVERSION=	5.53.0
 CATEGORIES=	net-im
 MASTER_SITES=	LOCAL/mikael/signal-desktop/:yarn \
 		LOCAL/mikael/signal-desktop/:electron_gyp \
@@ -86,7 +86,7 @@ _BUILD_DATE=	$$(date +'%s')
 ELECTRON_VER_MAJOR=	19
 
 NPM_SIGNAL_DIR=		npm-@signalapp-libsignal-client-0.18.1-6b499cdcc952f1981c6367f68484cf3275be3b31-integrity
-NPM_RINGRTC_DIR=	npm-ringrtc-2.20.11-3e05d7ec7b1878df69e0d7b215b693d82b3b3791
+NPM_RINGRTC_DIR=	npm-ringrtc-2.20.12-d2a43fa1e5bf46f4fd2e0bb04c017f0d9e824c7e
 NPM_SQLITE3_DIR=	npm-better-sqlite3-7.5.0-3c4a7eebba3d5f5d8cb88fe83be1c01b8c0dea7d
 NPM_PLAYWRITE_DIR=	npm-playwright-core-1.17.1-a16e0f89284a0ed8ae6d77e1c905c84b8a2ba022-integrity
 NPM_ESBUILD_VERS=	0.14.28
diff --git a/net-im/signal-desktop/distinfo b/net-im/signal-desktop/distinfo
index 700a7f737886..d5150bd42b13 100644
--- a/net-im/signal-desktop/distinfo
+++ b/net-im/signal-desktop/distinfo
@@ -1,11 +1,11 @@
-TIMESTAMP = 1659106489
-SHA256 (signal-desktop-5.52.0-yarn-cache.tar.gz) = 1aab4d21cb02dacd9f4aa07d1d7980a84e57827120c2c7bf0e8c639c1bb312ac
-SIZE (signal-desktop-5.52.0-yarn-cache.tar.gz) = 1023111576
-SHA256 (signal-desktop-5.52.0-electron-gyp-cache.tar.gz) = 8444013476d532a60ecfaa14affc0be301beb10eb89cb6d00f11feaf05eca504
-SIZE (signal-desktop-5.52.0-electron-gyp-cache.tar.gz) = 261608
-SHA256 (signal-desktop-5.52.0-npm-cache.tar.gz) = b16daa38df71083e58550a43455a6067f46d56124424e8d1225b46472de61941
-SIZE (signal-desktop-5.52.0-npm-cache.tar.gz) = 4376059
+TIMESTAMP = 1659700408
+SHA256 (signal-desktop-5.53.0-yarn-cache.tar.gz) = 9eb08a3557ea6121d06ba5d68b7580f1dfb3422741fb22968ebc0603c8bc01cb
+SIZE (signal-desktop-5.53.0-yarn-cache.tar.gz) = 1023584594
+SHA256 (signal-desktop-5.53.0-electron-gyp-cache.tar.gz) = a68336062619cf687f648c95d7aef7bac6ab312ea328ea678964b5834a74222a
+SIZE (signal-desktop-5.53.0-electron-gyp-cache.tar.gz) = 260172
+SHA256 (signal-desktop-5.53.0-npm-cache.tar.gz) = 2b9b7b3d1f64528d9c222ffa1401a93e2eb95f4fed6e2389bfa663b2091c249f
+SIZE (signal-desktop-5.53.0-npm-cache.tar.gz) = 4387630
 SHA256 (sqlcipher.tar.gz) = fe8bdc5e2f182970fb63a71ec4c519c8192453800bf142f755d7ed99e79fff84
 SIZE (sqlcipher.tar.gz) = 25833894
-SHA256 (signalapp-Signal-Desktop-v5.52.0_GH0.tar.gz) = acb8666617f13c41b64d437f14678169d1b7fe9af06411cef50659036f7b4de3
-SIZE (signalapp-Signal-Desktop-v5.52.0_GH0.tar.gz) = 38098334
+SHA256 (signalapp-Signal-Desktop-v5.53.0_GH0.tar.gz) = 48341c3e1195c0feeb15ed6362765d8a84607a307fcaa4f05dbfc87f0d674caf
+SIZE (signalapp-Signal-Desktop-v5.53.0_GH0.tar.gz) = 38326315
diff --git a/net-im/signal-desktop/files/patch-package.json b/net-im/signal-desktop/files/patch-package.json
index 27c8bae1b547..9c07999e8ef7 100644
--- a/net-im/signal-desktop/files/patch-package.json
+++ b/net-im/signal-desktop/files/patch-package.json
@@ -1,28 +1,19 @@
---- package.json.orig	2022-06-23 21:39:35 UTC
+--- package.json.orig	2022-08-05 12:53:58 UTC
 +++ package.json
 @@ -190,7 +190,6 @@
      "@babel/preset-typescript": "7.17.12",
      "@electron/fuses": "1.5.0",
      "@mixer/parallel-prettier": "2.0.1",
--    "@signalapp/mock-server": "2.0.1",
+-    "@signalapp/mock-server": "2.1.0",
      "@storybook/addon-a11y": "6.5.6",
      "@storybook/addon-actions": "6.5.6",
      "@storybook/addon-controls": "6.5.6",
-@@ -270,7 +269,7 @@
-     "cross-env": "5.2.0",
-     "css-loader": "3.2.0",
-     "debug": "4.3.3",
--    "electron": "19.0.7",
-+    "electron": "19.0.8",
-     "electron-builder": "23.0.8",
-     "electron-mocha": "11.0.2",
-     "electron-notarize": "1.2.1",
-@@ -317,7 +316,7 @@
-     "sharp/color/color-string": "1.7.4"
+@@ -318,7 +317,7 @@
+     "sharp/color/color-string": "1.9.0"
    },
    "engines": {
 -    "node": "16.13.2"
-+    "node": "16.15.1"
++    "node": "16.16.0"
    },
    "build": {
      "appId": "org.whispersystems.signal-desktop",
diff --git a/net-im/signal-desktop/files/patch-yarn.lock b/net-im/signal-desktop/files/patch-yarn.lock
deleted file mode 100644
index b7132c5ed653..000000000000
--- a/net-im/signal-desktop/files/patch-yarn.lock
+++ /dev/null
@@ -1,17 +0,0 @@
---- yarn.lock.orig	2022-06-23 21:39:35 UTC
-+++ yarn.lock
-@@ -7254,10 +7254,10 @@ electron-window@^0.8.0:
-   dependencies:
-     is-electron-renderer "^2.0.0"
- 
--electron@19.0.7:
--  version "19.0.7"
--  resolved "https://registry.yarnpkg.com/electron/-/electron-19.0.7.tgz#c7a7841646adc6457de70b93661cc400bfdf9d38"
--  integrity sha512-Wyg+oGkY8cWYmm8tVka6CZmhJxnyUx+Us2ALyWiY4w73+dO9XUNB/c7vQNIm1Uk/DLMn9vFzgvcS9YtOOMqpbg==
-+electron@19.0.8:
-+  version "19.0.8"
-+  resolved "https://registry.yarnpkg.com/electron/-/electron-19.0.8.tgz#c4d4ba915de554f2926261eb37d3527d2b092d4c"
-+  integrity sha512-OWK3P/NbDFfBUv+wbYv1/OV4jehY5DQPT7n1maQJfN9hsnrWTMktXS/bmS05eSUAjNAzHmKPKfiKH2c1Yr7nGw==
-   dependencies:
-     "@electron/get" "^1.14.1"
-     "@types/node" "^16.11.26"
diff --git a/net-im/signal-desktop/get_deps.sh b/net-im/signal-desktop/get_deps.sh
index 3f59fbd78994..eee124615b88 100644
--- a/net-im/signal-desktop/get_deps.sh
+++ b/net-im/signal-desktop/get_deps.sh
@@ -1,14 +1,14 @@
 #!/bin/sh
-SIGNAL_VERS=v5.52.0
+SIGNAL_VERS=v5.53.0
 
 ringrtc_hash=$(fetch -qo - https://raw.githubusercontent.com/signalapp/Signal-Desktop/${SIGNAL_VERS}/package.json | grep '"ringrtc": "https' | awk -F "#" '{print $2}' | sed 's#",##')
-# echo "RINGRTC_HASH= ${ringrtc_hash}"
+# echo "RINGRTC_HASH= ${ringrtc_hash} ; https://raw.githubusercontent.com/signalapp/Signal-Desktop/${SIGNAL_VERS}/package.json"
 
 ringrtc_version=$(fetch -qo - https://raw.githubusercontent.com/signalapp/signal-ringrtc-node/${ringrtc_hash}/package.json | grep '"version":' | awk -F ":" '{print $2}' | sed -e 's# "##' -e 's#",##')
-echo "RINGRTC_VERSION= ${ringrtc_version}"
+echo "RINGRTC_VERSION= ${ringrtc_version} ; https://raw.githubusercontent.com/signalapp/signal-ringrtc-node/${ringrtc_hash}/package.json"
 
 webrtc_version=$(fetch -qo - https://raw.githubusercontent.com/signalapp/ringrtc/v${ringrtc_version}/config/version.sh | awk -F '=' /WEBRTC_VERSION/'{print $2}')
-echo "WEBRTC_REV= ${webrtc_version}"
+echo "WEBRTC_REV= ${webrtc_version} ; https://raw.githubusercontent.com/signalapp/ringrtc/v${ringrtc_version}/config/version.sh"
 
 libsignalclient_version=$(fetch -qo - https://raw.githubusercontent.com/signalapp/Signal-Desktop/${SIGNAL_VERS}/yarn.lock | grep 'signalapp/libsignal-client@' | awk -F '@' '{print $3}' | sed 's#", "##')
 echo "LIBSIGNAL_VERSION= ${libsignalclient_version}"
diff --git a/net-im/signal-desktop/pkg-plist b/net-im/signal-desktop/pkg-plist
index 5cf884a30329..b685c6740f9c 100644
--- a/net-im/signal-desktop/pkg-plist
+++ b/net-im/signal-desktop/pkg-plist
@@ -51,6 +51,7 @@ share/pixmaps/signal-desktop.png
 %%DATADIR%%/locales/kn.pak
 %%DATADIR%%/locales/ko.pak
 %%DATADIR%%/locales/ku.pak
+%%DATADIR%%/locales/ky.pak
 %%DATADIR%%/locales/lo.pak
 %%DATADIR%%/locales/lt.pak
 %%DATADIR%%/locales/lv.pak