git: a7dd6805ff89 - main - net-im/signal-desktop: Update to 7.20.1

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Thu, 22 Aug 2024 16:39:27 UTC
The branch main has been updated by mikael:

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

commit a7dd6805ff89c11ce9da7baa6b1e74c93989218c
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-08-22 16:39:02 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-08-22 16:39:21 +0000

    net-im/signal-desktop: Update to 7.20.1
---
 net-im/signal-desktop/Makefile                 |  7 +++----
 net-im/signal-desktop/distinfo                 | 10 +++++-----
 net-im/signal-desktop/files/patch-package.json | 21 ++++++++++-----------
 net-im/signal-desktop/get_deps.sh              |  2 +-
 4 files changed, 19 insertions(+), 21 deletions(-)

diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile
index ad2b4a8fe94c..4121324477bf 100644
--- a/net-im/signal-desktop/Makefile
+++ b/net-im/signal-desktop/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	signal-desktop
 DISTVERSIONPREFIX=	v
-DISTVERSION=	7.16.0
-PORTREVISION=	3
+DISTVERSION=	7.20.1
 CATEGORIES=	net-im
 MASTER_SITES=	LOCAL/mikael/signal-desktop/:npm \
 		https://build-artifacts.signal.org/desktop/:sqlcipher
@@ -112,7 +111,7 @@ post-extract:
 	${PREFIX}/bin/jq 'del(.devDependencies."@signalapp/mock-server")' ${WRKSRC}/package.json > ${WRKSRC}/package.json.tmp
 	${MV} ${WRKSRC}/package.json.tmp ${WRKSRC}/package.json
 
-	# for online build
+#	# for online build
 #	cd ${WRKSRC} && \
 #		${SETENV} ${MAKE_ENV} npm install --ignore-optional --ignore-scripts || ${TRUE}
 
@@ -147,7 +146,7 @@ do-build:
 
 	@${RM} -r ${WRKSRC}/node_modules/fs-xattr
 
-	# online build
+#	# online build
 #	cd ${WRKSRC} && \
 #		${SETENV} ${MAKE_ENV} npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers npm install --ignore-optional
 #	cd ${WRKSRC} && \
diff --git a/net-im/signal-desktop/distinfo b/net-im/signal-desktop/distinfo
index 87017b0e4703..5b23023271aa 100644
--- a/net-im/signal-desktop/distinfo
+++ b/net-im/signal-desktop/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1721311427
-SHA256 (signal-desktop-7.16.0-npm-cache.tar.gz) = 954b5510cb7889cecb970196abe432318cdcb7adc9cec1b094af1b023c3a7a15
-SIZE (signal-desktop-7.16.0-npm-cache.tar.gz) = 322698652
+TIMESTAMP = 1724162534
+SHA256 (signal-desktop-7.20.1-npm-cache.tar.gz) = d540be9fe682918e44ad2aebafbe29696249c809d2de9679a52dc594af3d748d
+SIZE (signal-desktop-7.20.1-npm-cache.tar.gz) = 320272079
 SHA256 (sqlcipher-4.5.5-fts5-fix--3.0.7--0.2.1-ef53ea45ed92b928ecfd33c552d8d405263e86e63dec38e1ec63e1b0193b630b.tar.gz) = ef53ea45ed92b928ecfd33c552d8d405263e86e63dec38e1ec63e1b0193b630b
 SIZE (sqlcipher-4.5.5-fts5-fix--3.0.7--0.2.1-ef53ea45ed92b928ecfd33c552d8d405263e86e63dec38e1ec63e1b0193b630b.tar.gz) = 75708533
-SHA256 (signalapp-Signal-Desktop-v7.16.0_GH0.tar.gz) = faf2597e80616ff791860e5b7ee40c503366b567aa5bb8bfa5967c92d88aa0cd
-SIZE (signalapp-Signal-Desktop-v7.16.0_GH0.tar.gz) = 42220016
+SHA256 (signalapp-Signal-Desktop-v7.20.1_GH0.tar.gz) = 871c5583a68c71c1ca5189b120106c764ffde0400daa9c095617f7594c9081a8
+SIZE (signalapp-Signal-Desktop-v7.20.1_GH0.tar.gz) = 42301457
diff --git a/net-im/signal-desktop/files/patch-package.json b/net-im/signal-desktop/files/patch-package.json
index f4d3e78d2b39..90f469c31af1 100644
--- a/net-im/signal-desktop/files/patch-package.json
+++ b/net-im/signal-desktop/files/patch-package.json
@@ -1,11 +1,10 @@
---- package.json.orig	2024-07-08 15:06:16.491473000 +0200
-+++ package.json	2024-07-08 15:06:50.596796000 +0200
-@@ -19,7 +19,7 @@
-     "postinstall": "npm run build:acknowledgments && patch-package && npm run electron:install-app-deps",
-     "postuninstall": "npm run build:acknowledgments",
-     "start": "electron .",
--    "generate": "npm-run-all build-protobuf build:esbuild build:dns-fallback build:icu-types build:compact-locales sass get-expire-time copy-components",
-+    "generate": "npm-run-all build-protobuf build:esbuild build:icu-types build:compact-locales sass get-expire-time copy-components",
-     "build-release": "npm run build",
-     "sign-release": "node ts/updater/generateSignature.js",
-     "notarize": "echo 'No longer necessary'",
+--- package.json.orig	2024-07-08 15:06:16 UTC
++++ package.json
+@@ -76,7 +76,6 @@
+     "build": "run-s --print-label generate build:esbuild:prod build:release",
+     "build-linux": "run-s generate build:esbuild:prod && npm run build:release -- --publish=never",
+     "build:acknowledgments": "node scripts/generate-acknowledgments.js",
+-    "build:dns-fallback": "node ts/scripts/generate-dns-fallback.js",
+     "build:icu-types": "node ts/scripts/generate-icu-types.js",
+     "build:compact-locales": "node ts/scripts/generate-compact-locales.js",
+     "build:dev": "run-s --print-label generate build:esbuild:prod",
diff --git a/net-im/signal-desktop/get_deps.sh b/net-im/signal-desktop/get_deps.sh
index 0dc268be29fe..7d2b47293476 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=v7.16.0
+SIGNAL_VERS=v7.20.1
 
 fetch -qo /tmp/package.json https://raw.githubusercontent.com/signalapp/Signal-Desktop/${SIGNAL_VERS}/package.json
 node_version=$(awk /'"node":'/'{print $2}' /tmp/package.json | sed 's/"//g')