[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/14: gnu: qtox: Remove input labels.
From: |
guix-commits |
Subject: |
14/14: gnu: qtox: Remove input labels. |
Date: |
Sat, 18 Dec 2021 11:40:23 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 094313032ab9c2e3701280f68286fd2b27412213
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Dec 18 05:21:41 2021 +0100
gnu: qtox: Remove input labels.
* gnu/packages/messaging.scm (qtox)[native-inputs]: Remove input labels.
[arguments]: Gexp, use SEARCH-INPUT-DIRECTORY, and don't explicitly
return #t from phases.
---
gnu/packages/messaging.scm | 52 ++++++++++++++++++++++------------------------
1 file changed, 25 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 016e236..68d95bd 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -138,6 +138,7 @@
#:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix hg-download)
#:use-module ((guix licenses) #:prefix license:)
@@ -1702,30 +1703,30 @@ instant messenger with audio and video chat
capabilities.")
(file-name (string-append name "-" version ".tar.gz"))))
(build-system cmake-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-reproducibility-issues
- (lambda _
- (substitute* "src/main.cpp"
- (("__DATE__") "\"\"")
- (("__TIME__") "\"\"")
- (("TIMESTAMP") "\"\""))
- #t))
- (add-after 'unpack 'disable-network-tests
- (lambda _
- ;; These tests require network access.
- (substitute* "cmake/Testing.cmake"
- (("auto_test\\(core core\\)") "# auto_test(core core)")
- (("auto_test\\(net bsu\\)") "# auto_test(net bsu)"))
- #t))
- ;; Ensure that icons are found at runtime.
- (add-after 'install 'wrap-executable
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (wrap-program (string-append out "/bin/qtox")
- `("QT_PLUGIN_PATH" prefix
- ,(list (string-append (assoc-ref inputs "qtsvg")
- "/lib/qt5/plugins/"))))))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-reproducibility-issues
+ (lambda _
+ (substitute* "src/main.cpp"
+ (("__DATE__") "\"\"")
+ (("__TIME__") "\"\"")
+ (("TIMESTAMP") "\"\""))))
+ (add-after 'unpack 'disable-network-tests
+ (lambda _
+ ;; These tests require network access.
+ (substitute* "cmake/Testing.cmake"
+ (("auto_test\\(core core\\)") "# auto_test(core core)")
+ (("auto_test\\(net bsu\\)") "# auto_test(net bsu)"))))
+ ;; Ensure that icons are found at runtime.
+ (add-after 'install 'wrap-executable
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/qtox")
+ `("QT_PLUGIN_PATH" prefix
+ ,(list (search-input-directory
+ inputs "lib/qt5/plugins/"))))))))))
+ (native-inputs
+ (list pkg-config qttools))
(inputs
(list ffmpeg
filteraudio
@@ -1743,9 +1744,6 @@ instant messenger with audio and video chat
capabilities.")
qtbase-5
qtsvg
sqlcipher))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("qmake" ,qttools)))
(home-page "https://qtox.github.io/")
(synopsis "Tox chat client using Qt")
(description "qTox is a Tox client that follows the Tox design
- branch master updated (3aef0e7 -> 0943130), guix-commits, 2021/12/18
- 03/14: gnu: pgpdump: Update to 0.34., guix-commits, 2021/12/18
- 06/14: gnu: qd: Omit static library., guix-commits, 2021/12/18
- 07/14: gnu: rofi: Update to 1.7.2., guix-commits, 2021/12/18
- 08/14: gnu: rofi: Remove input labels., guix-commits, 2021/12/18
- 01/14: gnu: microcom: Update to 2019.01.0., guix-commits, 2021/12/18
- 05/14: gnu: qd: Update to 2.3.23., guix-commits, 2021/12/18
- 02/14: gnu: restinio: Update to 0.6.14., guix-commits, 2021/12/18
- 11/14: gnu: imv: Remove input labels., guix-commits, 2021/12/18
- 14/14: gnu: qtox: Remove input labels.,
guix-commits <=
- 04/14: gnu: pgpdump: Remove bogus DESTDIR usage., guix-commits, 2021/12/18
- 12/14: gnu: imv: Remove unused inputs., guix-commits, 2021/12/18
- 10/14: gnu: imv: Update to 4.3.1., guix-commits, 2021/12/18
- 13/14: gnu: qtox: Update to 1.17.4., guix-commits, 2021/12/18
- 09/14: gnu: mtools: Update to 4.0.36., guix-commits, 2021/12/18