From: tibequadorian <tibequadorian@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Signal-Desktop: update to 5.30.0.
Date: Mon, 07 Feb 2022 21:46:08 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35463@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]
There is a new pull request by tibequadorian against master on the void-packages repository
https://github.com/tibequadorian/void-packages signal-desktop
https://github.com/void-linux/void-packages/pull/35463
Signal-Desktop: update to 5.30.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/35463.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signal-desktop-35463.patch --]
[-- Type: text/x-diff, Size: 2902 bytes --]
From f6614016f3d91ebf04a6b109478a6f431e3e3cd9 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Mon, 7 Feb 2022 21:28:45 +0100
Subject: [PATCH] Signal-Desktop: update to 5.30.0.
---
.../expire-from-source-date-epoch.patch | 22 +++++++++----------
srcpkgs/Signal-Desktop/template | 7 +++---
2 files changed, 13 insertions(+), 16 deletions(-)
diff --git a/srcpkgs/Signal-Desktop/patches/expire-from-source-date-epoch.patch b/srcpkgs/Signal-Desktop/patches/expire-from-source-date-epoch.patch
index d29c79835179..597692654bbb 100644
--- a/srcpkgs/Signal-Desktop/patches/expire-from-source-date-epoch.patch
+++ b/srcpkgs/Signal-Desktop/patches/expire-from-source-date-epoch.patch
@@ -1,13 +1,11 @@
---- a/Gruntfile.js
-+++ b/Gruntfile.js
-@@ -203,9 +203,7 @@ module.exports = grunt => {
- });
+--- a/ts/scripts/get-expire-time.ts
++++ b/ts/scripts/get-expire-time.ts
+@@ -8,7 +8,7 @@ import { writeFileSync } from 'fs';
+ import { DAY } from '../util/durations';
- grunt.registerTask('getExpireTime', () => {
-- grunt.task.requires('gitinfo');
-- const gitinfo = grunt.config.get('gitinfo');
-- const committed = gitinfo.local.branch.current.lastCommitTime;
-+ const committed = parseInt(process.env.SOURCE_DATE_EPOCH, 10) * 1000;
- const time = Date.parse(committed) + 1000 * 60 * 60 * 24 * 90;
- grunt.file.write(
- 'config/local-production.json',
+ const unixTimestamp = parseInt(
+- execSync('git show -s --format=%ct').toString('utf8'),
++ process.env.SOURCE_DATE_EPOCH || execSync('git show -s --format=%ct').toString('utf8'),
+ 10
+ );
+ const buildCreation = unixTimestamp * 1000;
diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template
index 33e43a9878d5..cd83c7856a6b 100644
--- a/srcpkgs/Signal-Desktop/template
+++ b/srcpkgs/Signal-Desktop/template
@@ -1,6 +1,6 @@
# Template file for 'Signal-Desktop'
pkgname=Signal-Desktop
-version=5.16.0
+version=5.30.0
revision=1
# Signal officially only supports x86_64 (also due to Electron)
# discontinued Electron 32-bit support: https://www.electronjs.org/blog/linux-32bit-support
@@ -10,11 +10,11 @@ archs="x86_64"
hostmakedepends="git git-lfs nodejs python3 tar yarn"
depends="cairo gtk+3 libvips pango"
short_desc="Signal Private Messenger for Linux"
-maintainer="Julio Galvan <juliogalvan@protonmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
license="AGPL-3.0-only"
homepage="https://github.com/signalapp/Signal-Desktop"
distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz"
-checksum=c4d8628395ce86b06af85610fb2a1bdcd53784684d796a02abdfc04b24829629
+checksum=2c363162468a7c35db9b84460203f3cab09cecb4fccaedcecafaaa92642b3f63
nostrip_files="signal-desktop"
post_extract() {
@@ -28,7 +28,6 @@ post_extract() {
}
do_build() {
- yarn grunt
yarn generate
yarn build-release
}
next reply other threads:[~2022-02-07 20:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-07 20:46 tibequadorian [this message]
2022-02-11 22:16 ` [PR PATCH] [Merged]: " leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35463@inbox.vuxu.org \
--to=tibequadorian@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).