[arch-commits] Commit in signal-desktop/repos/community-x86_64 (8 files)
Kpcyrd
kpcyrd at gemini.archlinux.org
Wed Nov 17 22:53:57 UTC 2021
Date: Wednesday, November 17, 2021 @ 22:53:57
Author: kpcyrd
Revision: 1051264
archrelease: copy trunk to community-x86_64
Added:
signal-desktop/repos/community-x86_64/PKGBUILD
(from rev 1051263, signal-desktop/trunk/PKGBUILD)
signal-desktop/repos/community-x86_64/TRADEMARK_CONSENT.txt
(from rev 1051263, signal-desktop/trunk/TRADEMARK_CONSENT.txt)
signal-desktop/repos/community-x86_64/expire-from-source-date-epoch.patch
(from rev 1051263, signal-desktop/trunk/expire-from-source-date-epoch.patch)
signal-desktop/repos/community-x86_64/signal-desktop.desktop
(from rev 1051263, 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 | 132 ++++++++++++++++------------------
expire-from-source-date-epoch.patch | 26 +++---
signal-desktop.desktop | 26 +++---
3 files changed, 89 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-17 22:53:34 UTC (rev 1051263)
+++ PKGBUILD 2021-11-17 22:53:57 UTC (rev 1051264)
@@ -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.23.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=('11f59c3aaa083d0d686bdafdb1fb3fafdbcfb42f21a81178c296e57ddc676498628d870570a44e4f676f1fb97d8a1e2feead781159552b643c6cef740da8142e'
- '90cfee563a985bc73c4e7984715d190ae0b5c7aa887a7dc15c665980ca5cc8420b02f6c7a54e032c29e18876d5d51cfbe5027a9f0a59de3903f50fd469d73ce0'
- '4bdb1812575072a838ce2183bab0b407e3f31bcdb81ee62f6a6424c459779bf7739e3c6c65cb06a191e5a10f940e140f51ddf50ab094023a8e8ce9497ed72e82')
-b2sums=('4ba850ffb7b06f42a45a48ab88c3a5cf20a81b21489cf94e4492b1f3154416bfeeac5dbff2f62cf089e7c1b840e3e50692bee6e3621007e87714f2d91c006e06'
- 'b0974f1409bf77e917a3ecce68a9d066eaf24a6cd35e0d52b0d61fcf2fb014f19962bb445b6eaf668081d370c69c01b08420c056902907574a29a71a4f0f2457'
- '4d1c85e4f5b0c797a679ad33f685c4ec1693a6d73b23dd10565d1b1a560558ca50c283e7e652dbab891150c70f0accb1d5dd011c7c87a11efb9714ef1ab5e8c5')
-
-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
-
- # patch better-sqlite3 to encapsulate sqlcipher
- # https://bugs.archlinux.org/task/69980
- # https://github.com/signalapp/better-sqlite3/pull/3
- grep -q 32828e03be0489572ab334239c5768c86697989 package.json
- sed 's|https://github\.com/signalapp/better-sqlite3#32828e03be0489572ab334239c5768c86697989|https://github.com/signalapp/better-sqlite3#917a6f5cf8b84d5ef4b8fe6dc0f4b8f59ca45bea|' -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 1051263, signal-desktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-17 22:53:57 UTC (rev 1051264)
@@ -0,0 +1,63 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Jean Lucas <jean at 4ray.co>
+
+pkgname=signal-desktop
+_pkgname=Signal-Desktop
+pkgver=5.24.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=('38d9212322b7cd60a7597e34249161bc8bea87a14a6e6dbcc3c4efd49b6bb8b953fbd7a2674f6241fde5a493e8efb528627ac79748c6d5e6b25ebb7c65675d06'
+ '90cfee563a985bc73c4e7984715d190ae0b5c7aa887a7dc15c665980ca5cc8420b02f6c7a54e032c29e18876d5d51cfbe5027a9f0a59de3903f50fd469d73ce0'
+ '4bdb1812575072a838ce2183bab0b407e3f31bcdb81ee62f6a6424c459779bf7739e3c6c65cb06a191e5a10f940e140f51ddf50ab094023a8e8ce9497ed72e82')
+b2sums=('c97f8e239dcdf19bc74789f89eab8b66180e59109bb57f9b482d5ba945e655db572aa468bc3b579594d4e8bb80fabeb26e4c0c1fa9b7759c3d092ec017f0e08f'
+ 'b0974f1409bf77e917a3ecce68a9d066eaf24a6cd35e0d52b0d61fcf2fb014f19962bb445b6eaf668081d370c69c01b08420c056902907574a29a71a4f0f2457'
+ '4d1c85e4f5b0c797a679ad33f685c4ec1693a6d73b23dd10565d1b1a560558ca50c283e7e652dbab891150c70f0accb1d5dd011c7c87a11efb9714ef1ab5e8c5')
+
+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
+
+ 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 1051263, signal-desktop/trunk/TRADEMARK_CONSENT.txt)
===================================================================
(Binary files differ)
Deleted: expire-from-source-date-epoch.patch
===================================================================
--- expire-from-source-date-epoch.patch 2021-11-17 22:53:34 UTC (rev 1051263)
+++ expire-from-source-date-epoch.patch 2021-11-17 22:53:57 UTC (rev 1051264)
@@ -1,13 +0,0 @@
---- a/Gruntfile.js
-+++ b/Gruntfile.js
-@@ -171,9 +171,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 buildCreation = Date.parse(committed);
- const buildExpiration = buildCreation + 1000 * 60 * 60 * 24 * 90;
- grunt.file.write(
Copied: signal-desktop/repos/community-x86_64/expire-from-source-date-epoch.patch (from rev 1051263, signal-desktop/trunk/expire-from-source-date-epoch.patch)
===================================================================
--- expire-from-source-date-epoch.patch (rev 0)
+++ expire-from-source-date-epoch.patch 2021-11-17 22:53:57 UTC (rev 1051264)
@@ -0,0 +1,13 @@
+--- a/Gruntfile.js
++++ b/Gruntfile.js
+@@ -171,9 +171,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 buildCreation = Date.parse(committed);
+ const buildExpiration = buildCreation + 1000 * 60 * 60 * 24 * 90;
+ grunt.file.write(
Deleted: signal-desktop.desktop
===================================================================
--- signal-desktop.desktop 2021-11-17 22:53:34 UTC (rev 1051263)
+++ signal-desktop.desktop 2021-11-17 22:53:57 UTC (rev 1051264)
@@ -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 1051263, signal-desktop/trunk/signal-desktop.desktop)
===================================================================
--- signal-desktop.desktop (rev 0)
+++ signal-desktop.desktop 2021-11-17 22:53:57 UTC (rev 1051264)
@@ -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