git: ca080d2618e2 - main - net-im/signal-desktop: Update to 6.29.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Wed, 23 Aug 2023 18:21:17 UTC
The branch main has been updated by mikael:

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

commit ca080d2618e2d5d73c8306166aade83e4c7eaff3
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-08-23 18:20:50 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-08-23 18:20:50 +0000

    net-im/signal-desktop: Update to 6.29.0
    
    Changes:
      https://github.com/signalapp/Signal-Desktop/releases/tag/v6.29.0
---
 net-im/signal-desktop/Makefile                   |  6 +++++-
 net-im/signal-desktop/distinfo                   | 10 +++++-----
 net-im/signal-desktop/files/patch-signal-desktop | 11 -----------
 net-im/signal-desktop/get_deps.sh                |  4 +---
 4 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile
index 4997d5f833e9..0ae0783515cc 100644
--- a/net-im/signal-desktop/Makefile
+++ b/net-im/signal-desktop/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	signal-desktop
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.28.0
+DISTVERSION=	6.29.0
 CATEGORIES=	net-im
 MASTER_SITES=	LOCAL/mikael/signal-desktop/:npm \
 		LOCAL/mikael/signal-desktop/:sqlite \
@@ -211,6 +211,10 @@ do-install:
 	${RM} -r ${STAGEDIR}${DATADIR}/resources/completions
 	${RLN} ${STAGEDIR}${DATADIR}/signal-desktop ${STAGEDIR}${PREFIX}/bin
 
+# This seems to be only required for Windows:
+	${RM} -r ${STAGEDIR}${DATADIR}/resources/app.asar.unpacked/node_modules/@nodert-win10-rs4
+	${RM} -r ${STAGEDIR}${DATADIR}/resources/app.asar.unpacked/node_modules/@signalapp/windows-dummy-keystroke
+
 create-caches-tarball:
 	# do some cleanup first
 	${RM} -r  ${WRKDIR}/.npm/_logs ${WRKDIR}/.npm/_update-notifier-last-checked ${WRKDIR}/.cache/yarn/v6/.tmp
diff --git a/net-im/signal-desktop/distinfo b/net-im/signal-desktop/distinfo
index 7a3c504699d3..5afece95e31d 100644
--- a/net-im/signal-desktop/distinfo
+++ b/net-im/signal-desktop/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1692030296
-SHA256 (signal-desktop-6.28.0-yarn-cache.tar.gz) = dfbb622862047d5bc52f37f8a920f228e3c8e49df8ab50d64b6afef9d7c736db
-SIZE (signal-desktop-6.28.0-yarn-cache.tar.gz) = 359528832
+TIMESTAMP = 1692713589
+SHA256 (signal-desktop-6.29.0-yarn-cache.tar.gz) = dde8a98c0641b5259901dca4db2fcb5246a42f8f8cf2fd1b97d6918110adb1d2
+SIZE (signal-desktop-6.29.0-yarn-cache.tar.gz) = 359721800
 SHA256 (signal-desktop-6.4.1-npm-cache.tar.gz) = 8acc503a579760faf8ea660d504f3b3ffadc495bf09584228da4cc9af20e33fe
 SIZE (signal-desktop-6.4.1-npm-cache.tar.gz) = 4466353
 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.28.0_GH0.tar.gz) = 57e9af3e6740a7d6006c7fbb01c21c57ebe3dd8290a2428b1b0e5e7577fd214f
-SIZE (signalapp-Signal-Desktop-v6.28.0_GH0.tar.gz) = 42313780
+SHA256 (signalapp-Signal-Desktop-v6.29.0_GH0.tar.gz) = 7ae52d5666d3a3b1eda519f6078c1d05f804c2c6a8dc4d76692057539de3fdae
+SIZE (signalapp-Signal-Desktop-v6.29.0_GH0.tar.gz) = 42327785
diff --git a/net-im/signal-desktop/files/patch-signal-desktop b/net-im/signal-desktop/files/patch-signal-desktop
index 9461e6cbe434..50395b07cf2c 100644
--- a/net-im/signal-desktop/files/patch-signal-desktop
+++ b/net-im/signal-desktop/files/patch-signal-desktop
@@ -18,17 +18,6 @@
      if (shouldIncludeEmoji) {
        return window.i18n('message--getNotificationText--text-with-emoji', {
          text: modifiedText,
---- ts/services/notifications.ts	2022-02-12 02:48:01.000000000 +0100
-+++ ts/services/notifications.ts	2022-02-18 20:39:11.725928000 +0100
-@@ -143,7 +143,7 @@ class NotificationService extends EventEmitter {
-     const audioNotificationSupport = getAudioNotificationSupport();
- 
-     const notification = new window.Notification(title, {
--      body: OS.isLinux() ? filterNotificationText(message) : message,
-+      body: (OS.isFreeBSD() || OS.isLinux()) ? filterNotificationText(message) : message,
-       icon,
-       silent:
-         silent || audioNotificationSupport !== AudioNotificationSupport.Native,
 --- ts/util/getUserAgent.ts	2022-02-12 02:48:01.000000000 +0100
 +++ ts/util/getUserAgent.ts	2022-02-18 20:43:07.232944000 +0100
 @@ -7,6 +7,7 @@ const PLATFORM_STRINGS: { [platform: string]: string }
diff --git a/net-im/signal-desktop/get_deps.sh b/net-im/signal-desktop/get_deps.sh
index 24be87d65578..450750386764 100644
--- a/net-im/signal-desktop/get_deps.sh
+++ b/net-im/signal-desktop/get_deps.sh
@@ -1,7 +1,5 @@
 #!/bin/sh
-# XXX node
-
-SIGNAL_VERS=v6.28.0
+SIGNAL_VERS=v6.29.0
 
 fetch -qo /tmp/package.json https://raw.githubusercontent.com/signalapp/Signal-Desktop/${SIGNAL_VERS}/package.json
 node_version=$(awk /'"node":'/'{print $2}' package.json | sed 's/"//g')