net-im/signal-desktop: Update to 6.9.0

Changes:
  https://github.com/signalapp/Signal-Desktop/releases/tag/v6.9.0
This commit is contained in:
Mikael Urankar 2023-03-09 12:33:40 +01:00
parent 67de7ad43c
commit 2ce6c42272
4 changed files with 9 additions and 22 deletions

View file

@ -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} \

View file

@ -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

View file

@ -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 {

View file

@ -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')