[arch-commits] Commit in signal-desktop/repos/community-x86_64 (8 files)
Kpcyrd
kpcyrd at archlinux.org
Sun May 23 11:27:35 UTC 2021
Date: Sunday, May 23, 2021 @ 11:27:35
Author: kpcyrd
Revision: 943212
archrelease: copy trunk to community-x86_64
Added:
signal-desktop/repos/community-x86_64/PKGBUILD
(from rev 943211, signal-desktop/trunk/PKGBUILD)
signal-desktop/repos/community-x86_64/TRADEMARK_CONSENT.txt
(from rev 943211, signal-desktop/trunk/TRADEMARK_CONSENT.txt)
signal-desktop/repos/community-x86_64/expire-from-source-date-epoch.patch
(from rev 943211, signal-desktop/trunk/expire-from-source-date-epoch.patch)
signal-desktop/repos/community-x86_64/signal-desktop.desktop
(from rev 943211, signal-desktop/trunk/signal-desktop.desktop)
Deleted:
signal-desktop/repos/community-x86_64/PKGBUILD
signal-desktop/repos/community-x86_64/TRADEMARK_CONSENT.txt
signal-desktop/repos/community-x86_64/expire-from-source-date-epoch.patch
signal-desktop/repos/community-x86_64/signal-desktop.desktop
-------------------------------------+
PKGBUILD | 138 +++++++++++++++++-----------------
expire-from-source-date-epoch.patch | 26 +++---
signal-desktop.desktop | 26 +++---
3 files changed, 95 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-23 11:27:14 UTC (rev 943211)
+++ PKGBUILD 2021-05-23 11:27:35 UTC (rev 943212)
@@ -1,69 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: Jean Lucas <jean at 4ray.co>
-
-pkgname=signal-desktop
-_pkgname=Signal-Desktop
-pkgver=5.2.0
-pkgrel=1
-pkgdesc="Signal Private Messenger for Linux"
-license=('AGPL3')
-arch=('x86_64')
-url="https://signal.org"
-depends=('gtk3' 'libvips' 'libxss' 'hicolor-icon-theme')
-makedepends=('yarn' 'git' 'git-lfs' 'nodejs-lts-fermium' 'npm6' 'python')
-source=(
- "${pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/v${pkgver}.tar.gz"
- "${pkgname}.desktop"
- "expire-from-source-date-epoch.patch"
-)
-sha512sums=('4273b24bb182f1e57bbf3ea3c637474e0eba5aa7dadbe75d09c80aabc93240dfd497a4a7545e1e6264372e9e391f82bd8c4164ccee0bb19ee3e58a77ef960dc1'
- '90cfee563a985bc73c4e7984715d190ae0b5c7aa887a7dc15c665980ca5cc8420b02f6c7a54e032c29e18876d5d51cfbe5027a9f0a59de3903f50fd469d73ce0'
- '6673066172d6c367961f3e2d762dd483e51a9f733d52e27d0569b333ad397375fd41d61b8a414b8c9e8dbba560a6c710678b3d105f8d285cb94d70561368d5a2')
-b2sums=('051dd1fb8c060eec2c97d8edec744f8f46000848c34e78b8e172bbd28174d3bb8ee8d0724d952795c2e7c7a9e1cd4a30d7a97091da03cd66f5ae2bfd68feac85'
- 'b0974f1409bf77e917a3ecce68a9d066eaf24a6cd35e0d52b0d61fcf2fb014f19962bb445b6eaf668081d370c69c01b08420c056902907574a29a71a4f0f2457'
- 'b8171e6d881a6ffd5588d1cae00ed81412eff1602670003fc1f48b7e6cb2d680340d464b7b38ee8886a8bd8193166ad71e3ad10b0de8b2a397b383b72434e289')
-
-prepare() {
- cd "${_pkgname}-${pkgver}"
-
- # git-lfs hook needs to be installed for one of the dependencies
- git lfs install
-
- # Allow higher Node versions
- sed 's#"node": "#&>=#' -i package.json
-
- # Select node-gyp versions with python3 support
- sed 's#"node-gyp": "5.0.3"#"node-gyp": "6.1.0"#' -i package.json
- # https://github.com/sass/node-sass/pull/2841
- # https://github.com/sass/node-sass/issues/2716
- sed -r 's#("resolutions": \{)#"resolutions": {"node-sass/node-gyp": "^6.0.0",#' -i package.json
-
- yarn install --ignore-engines
-
- # We can't read the release date from git so we use SOURCE_DATE_EPOCH instead
- patch --forward --strip=1 --input="${srcdir}/expire-from-source-date-epoch.patch"
-}
-
-build() {
- cd "${_pkgname}-${pkgver}"
- yarn generate
- yarn build
-}
-
-package() {
- cd "${_pkgname}-${pkgver}"
-
- install -d "${pkgdir}/usr/"{lib,bin}
- cp -a release/linux-unpacked "${pkgdir}/usr/lib/${pkgname}"
- ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/"
-
- chmod u+s "${pkgdir}/usr/lib/signal-desktop/chrome-sandbox"
-
- install -Dm 644 "../${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
- for i in 16 24 32 48 64 128 256 512 1024; do
- install -Dm 644 "build/icons/png/${i}x${i}.png" \
- "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png"
- done
-}
-
-# vim: ts=2 sw=2 et:
Copied: signal-desktop/repos/community-x86_64/PKGBUILD (from rev 943211, signal-desktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-23 11:27:35 UTC (rev 943212)
@@ -0,0 +1,69 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Jean Lucas <jean at 4ray.co>
+
+pkgname=signal-desktop
+_pkgname=Signal-Desktop
+pkgver=5.2.1
+pkgrel=1
+pkgdesc="Signal Private Messenger for Linux"
+license=('AGPL3')
+arch=('x86_64')
+url="https://signal.org"
+depends=('gtk3' 'libvips' 'libxss' 'hicolor-icon-theme')
+makedepends=('yarn' 'git' 'git-lfs' 'nodejs-lts-fermium' 'npm6' 'python')
+source=(
+ "${pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/v${pkgver}.tar.gz"
+ "${pkgname}.desktop"
+ "expire-from-source-date-epoch.patch"
+)
+sha512sums=('98c8c1f77fdc3c1f4c78a217cfb1d4c6f23483735243ba1833a9cfee17375974a4994122c7cee23530be86c826058b328a953fdf7cccab91625b3c9725f3f2cf'
+ '90cfee563a985bc73c4e7984715d190ae0b5c7aa887a7dc15c665980ca5cc8420b02f6c7a54e032c29e18876d5d51cfbe5027a9f0a59de3903f50fd469d73ce0'
+ '6673066172d6c367961f3e2d762dd483e51a9f733d52e27d0569b333ad397375fd41d61b8a414b8c9e8dbba560a6c710678b3d105f8d285cb94d70561368d5a2')
+b2sums=('996744f31b82a57818237f9dd42a3de3bf9d8faed16e297682b9aab267b83de46b07cf4ad0d28ea0d11549bafd2b2c399720ea699a79af7f6bb3f2349381d23d'
+ 'b0974f1409bf77e917a3ecce68a9d066eaf24a6cd35e0d52b0d61fcf2fb014f19962bb445b6eaf668081d370c69c01b08420c056902907574a29a71a4f0f2457'
+ 'b8171e6d881a6ffd5588d1cae00ed81412eff1602670003fc1f48b7e6cb2d680340d464b7b38ee8886a8bd8193166ad71e3ad10b0de8b2a397b383b72434e289')
+
+prepare() {
+ cd "${_pkgname}-${pkgver}"
+
+ # git-lfs hook needs to be installed for one of the dependencies
+ git lfs install
+
+ # Allow higher Node versions
+ sed 's#"node": "#&>=#' -i package.json
+
+ # Select node-gyp versions with python3 support
+ sed 's#"node-gyp": "5.0.3"#"node-gyp": "6.1.0"#' -i package.json
+ # https://github.com/sass/node-sass/pull/2841
+ # https://github.com/sass/node-sass/issues/2716
+ sed -r 's#("resolutions": \{)#"resolutions": {"node-sass/node-gyp": "^6.0.0",#' -i package.json
+
+ yarn install --ignore-engines
+
+ # We can't read the release date from git so we use SOURCE_DATE_EPOCH instead
+ patch --forward --strip=1 --input="${srcdir}/expire-from-source-date-epoch.patch"
+}
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+ yarn generate
+ yarn build
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+
+ install -d "${pkgdir}/usr/"{lib,bin}
+ cp -a release/linux-unpacked "${pkgdir}/usr/lib/${pkgname}"
+ ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/"
+
+ chmod u+s "${pkgdir}/usr/lib/signal-desktop/chrome-sandbox"
+
+ install -Dm 644 "../${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
+ for i in 16 24 32 48 64 128 256 512 1024; do
+ install -Dm 644 "build/icons/png/${i}x${i}.png" \
+ "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png"
+ done
+}
+
+# vim: ts=2 sw=2 et:
Deleted: TRADEMARK_CONSENT.txt
===================================================================
(Binary files differ)
Copied: signal-desktop/repos/community-x86_64/TRADEMARK_CONSENT.txt (from rev 943211, signal-desktop/trunk/TRADEMARK_CONSENT.txt)
===================================================================
(Binary files differ)
Deleted: expire-from-source-date-epoch.patch
===================================================================
--- expire-from-source-date-epoch.patch 2021-05-23 11:27:14 UTC (rev 943211)
+++ expire-from-source-date-epoch.patch 2021-05-23 11:27:35 UTC (rev 943212)
@@ -1,13 +0,0 @@
---- a/Gruntfile.js
-+++ b/Gruntfile.js
-@@ -203,9 +203,7 @@ module.exports = grunt => {
- });
-
- 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',
Copied: signal-desktop/repos/community-x86_64/expire-from-source-date-epoch.patch (from rev 943211, signal-desktop/trunk/expire-from-source-date-epoch.patch)
===================================================================
--- expire-from-source-date-epoch.patch (rev 0)
+++ expire-from-source-date-epoch.patch 2021-05-23 11:27:35 UTC (rev 943212)
@@ -0,0 +1,13 @@
+--- a/Gruntfile.js
++++ b/Gruntfile.js
+@@ -203,9 +203,7 @@ module.exports = grunt => {
+ });
+
+ 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',
Deleted: signal-desktop.desktop
===================================================================
--- signal-desktop.desktop 2021-05-23 11:27:14 UTC (rev 943211)
+++ signal-desktop.desktop 2021-05-23 11:27:35 UTC (rev 943212)
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Signal
-Comment=Signal - Private Messenger
-Comment[de]=Signal - Sicherer Messenger
-Icon=signal-desktop
-Exec=signal-desktop -- %u
-Terminal=false
-Categories=Network;InstantMessaging;
-StartupWMClass=Signal
-MimeType=x-scheme-handler/sgnl;
-Keywords=sgnl;chat;im;messaging;messenger;sms;security;privat;
-X-GNOME-UsesNotifications=true
Copied: signal-desktop/repos/community-x86_64/signal-desktop.desktop (from rev 943211, signal-desktop/trunk/signal-desktop.desktop)
===================================================================
--- signal-desktop.desktop (rev 0)
+++ signal-desktop.desktop 2021-05-23 11:27:35 UTC (rev 943212)
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Type=Application
+Name=Signal
+Comment=Signal - Private Messenger
+Comment[de]=Signal - Sicherer Messenger
+Icon=signal-desktop
+Exec=signal-desktop -- %u
+Terminal=false
+Categories=Network;InstantMessaging;
+StartupWMClass=Signal
+MimeType=x-scheme-handler/sgnl;
+Keywords=sgnl;chat;im;messaging;messenger;sms;security;privat;
+X-GNOME-UsesNotifications=true
More information about the arch-commits
mailing list