[arch-commits] Commit in signal-desktop/repos/community-x86_64 (9 files)
Kpcyrd
kpcyrd at archlinux.org
Wed May 12 14:10:15 UTC 2021
Date: Wednesday, May 12, 2021 @ 14:10:15
Author: kpcyrd
Revision: 931694
archrelease: copy trunk to community-x86_64
Added:
signal-desktop/repos/community-x86_64/PKGBUILD
(from rev 931693, signal-desktop/trunk/PKGBUILD)
signal-desktop/repos/community-x86_64/TRADEMARK_CONSENT.txt
(from rev 931693, signal-desktop/trunk/TRADEMARK_CONSENT.txt)
signal-desktop/repos/community-x86_64/expire-from-source-date-epoch.patch
(from rev 931693, signal-desktop/trunk/expire-from-source-date-epoch.patch)
signal-desktop/repos/community-x86_64/signal-desktop.desktop
(from rev 931693, 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/openssl-linking.patch
signal-desktop/repos/community-x86_64/signal-desktop.desktop
-------------------------------------+
PKGBUILD | 149 +++++++++++++++-------------------
expire-from-source-date-epoch.patch | 26 ++---
openssl-linking.patch | 19 ----
signal-desktop.desktop | 26 ++---
4 files changed, 95 insertions(+), 125 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-12 14:09:54 UTC (rev 931693)
+++ PKGBUILD 2021-05-12 14:10:15 UTC (rev 931694)
@@ -1,80 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: Jean Lucas <jean at 4ray.co>
-
-pkgname=signal-desktop
-_pkgname=Signal-Desktop
-pkgver=5.0.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-erbium' 'npm6' 'python')
-source=(
- "${pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/v${pkgver}.tar.gz"
- "${pkgname}.desktop"
- "openssl-linking.patch"
- "expire-from-source-date-epoch.patch"
-)
-sha512sums=('6a41151735ca44e08cf6f2e6a8839b86a63084ecd94ea96c5e63a9fd4a1a3725196343bdeafae3a31304fa632b1bc9a74858e5c1adab55bc517907f9e91c5895'
- '90cfee563a985bc73c4e7984715d190ae0b5c7aa887a7dc15c665980ca5cc8420b02f6c7a54e032c29e18876d5d51cfbe5027a9f0a59de3903f50fd469d73ce0'
- '6b846fdf70dae6c4657de523ec133d2f08325740863660b86e75d032bb07a4b97834ba0eeea4c77000c2c20b11739b8e8deaf06584f9279638e640c4b7633dd5'
- '6673066172d6c367961f3e2d762dd483e51a9f733d52e27d0569b333ad397375fd41d61b8a414b8c9e8dbba560a6c710678b3d105f8d285cb94d70561368d5a2')
-b2sums=('f82e42383925722f4863f09bcf44a39ee580cfb5eeb4cf2fc8fb7dd944d2c7b6428d40edb43814824cc617fcd5d3bf1cb664cc3ba3c5abbf8f6da0cb0dbc80ec'
- 'b0974f1409bf77e917a3ecce68a9d066eaf24a6cd35e0d52b0d61fcf2fb014f19962bb445b6eaf668081d370c69c01b08420c056902907574a29a71a4f0f2457'
- '91fe76cd2ef32bd523aa857a219209f93ca5a6a3f5caa35f67c489a8eb79c8e1e404f453bed9e866e543ed48b9df8e17b45ad2ea8891b48d1502a97589a144af'
- '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
-
- # Have SQLCipher dynamically link from OpenSSL
- # See https://github.com/signalapp/Signal-Desktop/issues/2634
- patch --forward --strip=1 --input="${srcdir}/openssl-linking.patch"
-
- # 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}"
-
- # Gruntfile expects Git commit information which we don't have in a tarball download
- # See https://github.com/signalapp/Signal-Desktop/issues/2376
- yarn generate exec:build-protobuf exec:transpile concat copy:deps sass
-
- yarn build-release --dir
-}
-
-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 931693, signal-desktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-12 14:10:15 UTC (rev 931694)
@@ -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.1.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=('006c7a57beb0627db9b5101b383a90ec35da0708825a0af01a13e259878a2eff9f8e988618e17c2cfb629de65442b799566b2b2576c827478410daf56ea9ea67'
+ '90cfee563a985bc73c4e7984715d190ae0b5c7aa887a7dc15c665980ca5cc8420b02f6c7a54e032c29e18876d5d51cfbe5027a9f0a59de3903f50fd469d73ce0'
+ '6673066172d6c367961f3e2d762dd483e51a9f733d52e27d0569b333ad397375fd41d61b8a414b8c9e8dbba560a6c710678b3d105f8d285cb94d70561368d5a2')
+b2sums=('a577a99b230e0bb956a0738c9cf9025d403ee5c6b488ff5295555b3d218c2c44f380b06c179527650295e0b993a154fe999e7e6fe7691b9ec89abd2dbb7261b8'
+ '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 931693, signal-desktop/trunk/TRADEMARK_CONSENT.txt)
===================================================================
(Binary files differ)
Deleted: expire-from-source-date-epoch.patch
===================================================================
--- expire-from-source-date-epoch.patch 2021-05-12 14:09:54 UTC (rev 931693)
+++ expire-from-source-date-epoch.patch 2021-05-12 14:10:15 UTC (rev 931694)
@@ -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 931693, 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-12 14:10:15 UTC (rev 931694)
@@ -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: openssl-linking.patch
===================================================================
--- openssl-linking.patch 2021-05-12 14:09:54 UTC (rev 931693)
+++ openssl-linking.patch 2021-05-12 14:10:15 UTC (rev 931694)
@@ -1,19 +0,0 @@
---- a/node_modules/@journeyapps/sqlcipher/deps/sqlite3.gyp 2019-10-27 01:53:29.860275405 -0400
-+++ b/node_modules/@journeyapps/sqlcipher/deps/sqlite3.gyp 2019-10-27 01:51:32.001730882 -0400
-@@ -73,7 +73,7 @@
- 'link_settings': {
- 'libraries': [
- # This statically links libcrypto, whereas -lcrypto would dynamically link it
-- '<(SHARED_INTERMEDIATE_DIR)/sqlcipher-amalgamation-<@(sqlite_version)/OpenSSL-Linux/libcrypto.a'
-+ '-lcrypto'
- ]
- }
- }]
-@@ -141,7 +141,6 @@
- { # linux
- 'include_dirs': [
- '<(SHARED_INTERMEDIATE_DIR)/sqlcipher-amalgamation-<@(sqlite_version)/',
-- '<(SHARED_INTERMEDIATE_DIR)/sqlcipher-amalgamation-<@(sqlite_version)/openssl-include/'
- ]
- }]
- ],
Deleted: signal-desktop.desktop
===================================================================
--- signal-desktop.desktop 2021-05-12 14:09:54 UTC (rev 931693)
+++ signal-desktop.desktop 2021-05-12 14:10:15 UTC (rev 931694)
@@ -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 931693, signal-desktop/trunk/signal-desktop.desktop)
===================================================================
--- signal-desktop.desktop (rev 0)
+++ signal-desktop.desktop 2021-05-12 14:10:15 UTC (rev 931694)
@@ -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