git: 2ce6c4227250 - main - net-im/signal-desktop: Update to 6.9.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Thu, 09 Mar 2023 11:39:14 UTC
The branch main has been updated by mikael:

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

commit 2ce6c4227250ecb8a59049836c26151c1f1bc0e1
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-03-09 11:33:40 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-03-09 11:39:11 +0000

    net-im/signal-desktop: Update to 6.9.0
    
    Changes:
      https://github.com/signalapp/Signal-Desktop/releases/tag/v6.9.0
---
 net-im/signal-desktop/Makefile                   |  8 +++-----
 net-im/signal-desktop/distinfo                   | 10 +++++-----
 net-im/signal-desktop/files/patch-signal-desktop | 11 -----------
 net-im/signal-desktop/get_deps.sh                |  2 +-
 4 files changed, 9 insertions(+), 22 deletions(-)

diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile
index 0b293d7b3a7c..6fd03248d5b3 100644
--- a/net-im/signal-desktop/Makefile
+++ b/net-im/signal-desktop/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	signal-desktop
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.8.0
+DISTVERSION=	6.9.0
 CATEGORIES=	net-im
 MASTER_SITES=	LOCAL/mikael/signal-desktop/:npm \
 		LOCAL/mikael/signal-desktop/:sqlite \
@@ -107,15 +107,13 @@ YARN_TIMESTAMP=	1661146515
 fetch-yarn:
 	if [ ! -f ${DISTDIR}/signal-desktop-${DISTVERSION}-yarn-cache.tar.gz ]; then \
 		${MKDIR} /tmp/signal-desktop; \
-		# fetch package.json and update node engine
 		${FETCH_CMD} -o - https://raw.githubusercontent.com/signalapp/Signal-Desktop/v${DISTVERSION}/package.json | \
 			${PREFIX}/bin/jq '.engines.node = "${NODE_VERSION}"' > /tmp/signal-desktop/package.json; \
 		${FETCH_CMD} -o /tmp/signal-desktop/yarn.lock https://raw.githubusercontent.com/signalapp/Signal-Desktop/v${DISTVERSION}/yarn.lock; \
 		${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> \
 			/tmp/signal-desktop/.yarnrc; \
-		# remove mock-server as it doesn't build and is useless
-		${PREFIX}/bin/jq 'del(.devDependencies."@signalapp/mock-server")' /tmp/signal-desktop/package.json > /tmp/signal-desktop/package.json.tmp
-		${MV} /tmp/signal-desktop/package.json.tmp /tmp/signal-desktop/package.json
+		${PREFIX}/bin/jq 'del(.devDependencies."@signalapp/mock-server")' /tmp/signal-desktop/package.json > /tmp/signal-desktop/package.json.tmp; \
+		${MV} /tmp/signal-desktop/package.json.tmp /tmp/signal-desktop/package.json; \
 		cd /tmp/signal-desktop && ${SETENV} HOME=/tmp/signal-desktop XDG_CACHE_HOME=/tmp/signal-desktop/.cache \
 			yarn --frozen-lockfile --ignore-scripts; \
 		${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \
diff --git a/net-im/signal-desktop/distinfo b/net-im/signal-desktop/distinfo
index 09439fdd2560..4bc99162a918 100644
--- a/net-im/signal-desktop/distinfo
+++ b/net-im/signal-desktop/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1678031122
-SHA256 (signal-desktop-6.8.0-yarn-cache.tar.gz) = 18f292ac8c53901ff1a36fefc70b8ec6b9b7128517ae9066e713063947933aa3
-SIZE (signal-desktop-6.8.0-yarn-cache.tar.gz) = 368458040
+TIMESTAMP = 1678360837
+SHA256 (signal-desktop-6.9.0-yarn-cache.tar.gz) = 18f292ac8c53901ff1a36fefc70b8ec6b9b7128517ae9066e713063947933aa3
+SIZE (signal-desktop-6.9.0-yarn-cache.tar.gz) = 368458040
 SHA256 (signal-desktop-6.4.1-npm-cache.tar.gz) = 8acc503a579760faf8ea660d504f3b3ffadc495bf09584228da4cc9af20e33fe
 SIZE (signal-desktop-6.4.1-npm-cache.tar.gz) = 4466353
 SHA256 (node-v16.19.1-headers.tar.gz) = b2d010190ad40b52ab2fb92131db51375ef682a37f924fe2ce3813767d68fee9
@@ -9,5 +9,5 @@ SHA256 (node-v22.2.0-headers.tar.gz) = 5eae2935fc89486e4b6ce020bd23df2069edb21e1
 SIZE (node-v22.2.0-headers.tar.gz) = 263490
 SHA256 (sqlcipher-4.5.3-fts--3.0.7--0.2.1-b633825cf7e0fdd39a6cdf128f2bd76552a88d325f2b9cd07bb87a457cefb986.tar.gz) = b633825cf7e0fdd39a6cdf128f2bd76552a88d325f2b9cd07bb87a457cefb986
 SIZE (sqlcipher-4.5.3-fts--3.0.7--0.2.1-b633825cf7e0fdd39a6cdf128f2bd76552a88d325f2b9cd07bb87a457cefb986.tar.gz) = 74755812
-SHA256 (signalapp-Signal-Desktop-v6.8.0_GH0.tar.gz) = 0f216192e73f5481682ac683ccc05e134c3f0a386e058944467008f3b24af53c
-SIZE (signalapp-Signal-Desktop-v6.8.0_GH0.tar.gz) = 38655554
+SHA256 (signalapp-Signal-Desktop-v6.9.0_GH0.tar.gz) = 5cf68e2e33c86d1dc53bf9f9c510c2d7871061eecb59d10d6968d46315560185
+SIZE (signalapp-Signal-Desktop-v6.9.0_GH0.tar.gz) = 38784965
diff --git a/net-im/signal-desktop/files/patch-signal-desktop b/net-im/signal-desktop/files/patch-signal-desktop
index 0ea5c7ffb64b..848ea806949d 100644
--- a/net-im/signal-desktop/files/patch-signal-desktop
+++ b/net-im/signal-desktop/files/patch-signal-desktop
@@ -149,15 +149,4 @@
 +    osName = 'freebsd';
    }
  
-   return {
---- ts/state/smart/App.tsx.orig	2023-02-05 15:04:08.452070000 +0100
-+++ ts/state/smart/App.tsx	2023-02-05 15:04:45.605611000 +0100
-@@ -49,6 +49,8 @@ const mapStateToProps = (state: StateType) => {
-     osClassName = 'os-macos';
-   } else if (osName === 'linux') {
-     osClassName = 'os-linux';
-+  } else if (osName === 'freebsd') {
-+    osClassName = 'os-freebsd';
-   }
- 
    return {
diff --git a/net-im/signal-desktop/get_deps.sh b/net-im/signal-desktop/get_deps.sh
index 4a660ae3800a..cde2ee570839 100644
--- a/net-im/signal-desktop/get_deps.sh
+++ b/net-im/signal-desktop/get_deps.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
-SIGNAL_VERS=v6.8.0
+SIGNAL_VERS=v6.9.0
 
 fetch -qo /tmp/package.json https://raw.githubusercontent.com/signalapp/Signal-Desktop/${SIGNAL_VERS}/package.json
 ringrtc_version=$(grep '@signalapp/ringrtc"' /tmp/package.json | awk -F ":" '{print $2}' | sed -E 's#("|,| )##g')