Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Signal-Desktop: update to 5.30.0.
@ 2022-02-07 20:46 tibequadorian
  2022-02-11 22:16 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: tibequadorian @ 2022-02-07 20:46 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: Signal-Desktop: update to 5.30.0.
  2022-02-07 20:46 [PR PATCH] Signal-Desktop: update to 5.30.0 tibequadorian
@ 2022-02-11 22:16 ` leahneukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2022-02-11 22:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

There's a merged pull request on the void-packages repository

Signal-Desktop: update to 5.30.0.
https://github.com/void-linux/void-packages/pull/35463

Description:
<!-- 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
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-11 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 20:46 [PR PATCH] Signal-Desktop: update to 5.30.0 tibequadorian
2022-02-11 22:16 ` [PR PATCH] [Merged]: " leahneukirchen

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).