[arch-commits] Commit in signal-desktop/trunk (2 files)

Kpcyrd kpcyrd at gemini.archlinux.org
Wed Jan 5 02:56:13 UTC 2022


    Date: Wednesday, January 5, 2022 @ 02:56:13
  Author: kpcyrd
Revision: 1093203

upgpkg: signal-desktop 5.27.0-1

Modified:
  signal-desktop/trunk/PKGBUILD
  signal-desktop/trunk/expire-from-source-date-epoch.patch

-------------------------------------+
 PKGBUILD                            |   10 +++++-----
 expire-from-source-date-epoch.patch |   22 ++++++++++------------
 2 files changed, 15 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-05 01:28:40 UTC (rev 1093202)
+++ PKGBUILD	2022-01-05 02:56:13 UTC (rev 1093203)
@@ -3,7 +3,7 @@
 
 pkgname=signal-desktop
 _pkgname=Signal-Desktop
-pkgver=5.26.1
+pkgver=5.27.0
 pkgrel=1
 pkgdesc="Signal Private Messenger for Linux"
 license=('AGPL3')
@@ -16,12 +16,12 @@
   "${pkgname}.desktop"
   "expire-from-source-date-epoch.patch"
 )
-sha512sums=('cabf63a8af3822d0b2e745dda03a1a87b86445693afe9b8e694f959389180f531e0844cd6bf19ec12112c73734b0eb967750ecfc44ebe560627ad8bb798505b2'
+sha512sums=('0a4c977c606a7778a7312806bc42decef6b21f88bea06c5bfbb62bb0ca7b64b667b901095e452f63cf353babf72cd6ef6aca66c2be4898dcd6d405e02daee050'
             '90cfee563a985bc73c4e7984715d190ae0b5c7aa887a7dc15c665980ca5cc8420b02f6c7a54e032c29e18876d5d51cfbe5027a9f0a59de3903f50fd469d73ce0'
-            '4bdb1812575072a838ce2183bab0b407e3f31bcdb81ee62f6a6424c459779bf7739e3c6c65cb06a191e5a10f940e140f51ddf50ab094023a8e8ce9497ed72e82')
-b2sums=('dc1123bd2f928dd3bba8423ec5214fe0483885764a4ccad2cf87893bba0bb21d8535137968de165ea34c3c1436c32346036580df3c0a4a1a1f50ea787198d4cd'
+            '1154859e87d8a2d649bc23210f2dd8aa473f268166559a51a2a64fe6ae094c101121535623b05b711bd87aab1f219627e9274fa542fdb0e5fe6f34b46fd7b7df')
+b2sums=('7022e0fde68359b1f7ac735a9a88363159bc4c199feab71f12aa58e90eb652220798fb9db49327cac5d42ea25e447efde9d2631253348de3ce391d7f48e58f46'
         'b0974f1409bf77e917a3ecce68a9d066eaf24a6cd35e0d52b0d61fcf2fb014f19962bb445b6eaf668081d370c69c01b08420c056902907574a29a71a4f0f2457'
-        '4d1c85e4f5b0c797a679ad33f685c4ec1693a6d73b23dd10565d1b1a560558ca50c283e7e652dbab891150c70f0accb1d5dd011c7c87a11efb9714ef1ab5e8c5')
+        '5a6dba4bfa799403ace721b143c5b54d3bff97ab0c3d30e94d312cf58ede2498886720247b0efcbbeffc0c95611a493625cef1f8bc06d3647b53ef2e44de96be')
 
 prepare() {
   cd "${_pkgname}-${pkgver}"

Modified: expire-from-source-date-epoch.patch
===================================================================
--- expire-from-source-date-epoch.patch	2022-01-05 01:28:40 UTC (rev 1093202)
+++ expire-from-source-date-epoch.patch	2022-01-05 02:56:13 UTC (rev 1093203)
@@ -1,13 +1,11 @@
---- a/Gruntfile.js
-+++ b/Gruntfile.js
-@@ -171,9 +171,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 buildCreation = Date.parse(committed);
-     const buildExpiration = buildCreation + 1000 * 60 * 60 * 24 * 90;
-     grunt.file.write(
+ 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;



More information about the arch-commits mailing list