git: 48fb0f8eb21f - main - net-im/signal-desktop: Update to 6.17.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 May 2023 16:13:36 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=48fb0f8eb21f26cf4f97e1f6057348ce767e2434 commit 48fb0f8eb21f26cf4f97e1f6057348ce767e2434 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-05-11 09:18:14 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-05-12 16:13:32 +0000 net-im/signal-desktop: Update to 6.17.1 Changes: https://github.com/signalapp/Signal-Desktop/releases/tag/v6.17.0 https://github.com/signalapp/Signal-Desktop/releases/tag/v6.17.1 --- net-im/signal-desktop/Makefile | 4 +- net-im/signal-desktop/distinfo | 10 ++--- net-im/signal-desktop/files/patch-signal-desktop | 57 +++++++++++++++--------- net-im/signal-desktop/get_deps.sh | 2 +- 4 files changed, 45 insertions(+), 28 deletions(-) diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile index 35db6d84e423..06eebaa22975 100644 --- a/net-im/signal-desktop/Makefile +++ b/net-im/signal-desktop/Makefile @@ -1,6 +1,6 @@ PORTNAME= signal-desktop DISTVERSIONPREFIX= v -DISTVERSION= 6.16.0 +DISTVERSION= 6.17.1 CATEGORIES= net-im MASTER_SITES= LOCAL/mikael/signal-desktop/:npm \ LOCAL/mikael/signal-desktop/:sqlite \ @@ -86,7 +86,7 @@ ELECTRON_VER_MAJOR= 22 # sh get_deps.sh NPM_SIGNAL_DIR= npm-@signalapp-libsignal-client-0.22.0-d57441612df46f90df68fc5d9ad45b857b9d2c44-integrity -NPM_RINGRTC_DIR= npm-@signalapp-ringrtc-2.26.2-6ca91cd4b2d3ed545eb87c4aaddcb3f8735ad85a-integrity +NPM_RINGRTC_DIR= npm-@signalapp-ringrtc-2.26.4-0d0e4ee9f7afc93d951a27ab3d23b53a4b9ab76a-integrity NPM_SQLITE3_DIR= npm-@signalapp-better-sqlite3-8.4.3-7ffa8d03d2a12543247936bfb7b9f74cdbc6fe9b-integrity NPM_ESBUILD_VERS= 0.17.11 SQLCIPHER= sqlcipher-4.5.3-fts--3.0.7--0.2.1-b633825cf7e0fdd39a6cdf128f2bd76552a88d325f2b9cd07bb87a457cefb986 diff --git a/net-im/signal-desktop/distinfo b/net-im/signal-desktop/distinfo index cf0550ec7871..11b548824a67 100644 --- a/net-im/signal-desktop/distinfo +++ b/net-im/signal-desktop/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1683650911 -SHA256 (signal-desktop-6.16.0-yarn-cache.tar.gz) = d61d4177e2d71e19c941831b109018c274f64fa4b48b1a5f64c9c8404d163224 -SIZE (signal-desktop-6.16.0-yarn-cache.tar.gz) = 356106776 +TIMESTAMP = 1683906146 +SHA256 (signal-desktop-6.17.1-yarn-cache.tar.gz) = e0ba41e624c8d59c09a9378f993186640de19b34b19ef53021b6869901da6085 +SIZE (signal-desktop-6.17.1-yarn-cache.tar.gz) = 356982672 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.16.0_GH0.tar.gz) = cfd68731007b41f72026a1cb32fb8f25c7131eb6e61edb0db4f9ebfd4878300c -SIZE (signalapp-Signal-Desktop-v6.16.0_GH0.tar.gz) = 40416690 +SHA256 (signalapp-Signal-Desktop-v6.17.1_GH0.tar.gz) = 37625d977bbf0e64494662e4d9cd45fa7ff04cca68f7ea53a3e13d7b23cc7fdd +SIZE (signalapp-Signal-Desktop-v6.17.1_GH0.tar.gz) = 43747369 diff --git a/net-im/signal-desktop/files/patch-signal-desktop b/net-im/signal-desktop/files/patch-signal-desktop index 848ea806949d..a19bfa4869ed 100644 --- a/net-im/signal-desktop/files/patch-signal-desktop +++ b/net-im/signal-desktop/files/patch-signal-desktop @@ -18,26 +18,6 @@ if (shouldIncludeEmoji) { return window.i18n('message--getNotificationText--text-with-emoji', { text: modifiedText, ---- ts/OS.ts.orig 2023-02-02 21:51:07.000000000 +0100 -+++ ts/OS.ts 2023-02-03 18:15:27.645364000 +0100 -@@ -22,6 +22,7 @@ export const isWindows = createIsPlatform('win32'); - export const isMacOS = createIsPlatform('darwin'); - export const isLinux = createIsPlatform('linux'); - export const isWindows = createIsPlatform('win32'); -+export const isFreeBSD = createIsPlatform('freebsd'); - - // Windows 10 and above - export const hasCustomTitleBar = (): boolean => -@@ -33,6 +34,9 @@ export const getName = (): string => { - } - if (isWindows()) { - return 'Windows'; -+ } -+ if (isFreeBSD()) { -+ return 'FreeBSD'; - } - return 'Linux'; - }; --- 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 { @@ -150,3 +130,40 @@ } return { +--- ts/util/os/shared.ts.orig 2023-05-11 11:10:27.504955000 +0200 ++++ ts/util/os/shared.ts 2023-05-11 11:11:17.326542000 +0200 +@@ -32,6 +32,7 @@ export function getOSFunctions(osRelease: string): OST + const isMacOS = createIsPlatform('darwin', osRelease); + const isLinux = createIsPlatform('linux', osRelease); + const isWindows = createIsPlatform('win32', osRelease); ++ const isFreeBSD = createIsPlatform('freebsd', osRelease); + + // Windows 10 and above + const hasCustomTitleBar = (): boolean => +@@ -44,6 +45,9 @@ export function getOSFunctions(osRelease: string): OST + if (isWindows()) { + return 'Windows'; + } ++ if (isFreeBSD()) { ++ return 'FreeBSD'; ++ } + return 'Linux'; + }; + +@@ -54,6 +58,9 @@ export function getOSFunctions(osRelease: string): OST + if (isWindows()) { + return 'os-windows'; + } ++ if (isFreeBSD()) { ++ return 'os-freebsd'; ++ } + return 'os-linux'; + }; + +@@ -64,5 +71,6 @@ export function getOSFunctions(osRelease: string): OST + isLinux, + isMacOS, + isWindows, ++ isFreeBSD, + }; + } diff --git a/net-im/signal-desktop/get_deps.sh b/net-im/signal-desktop/get_deps.sh index 609ae930d087..7fbc105aff82 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.16.0 +SIGNAL_VERS=v6.17.1 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')