summaryrefslogtreecommitdiff
path: root/gnu/packages/messaging.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/messaging.scm')
-rw-r--r--gnu/packages/messaging.scm133
1 files changed, 77 insertions, 56 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 89cb304a14..8b135ff067 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -74,6 +74,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages certs)
@@ -414,17 +415,12 @@ conferencing.")
(arguments
`(#:configure-flags (list "-DBUILD_EXAMPLES=false"
"-DWITH_GSTREAMER=true")
- #:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "ctest" "-E"
- (string-join ;; These tests use the network.
- (list "tst_qxmppiceconnection"
- "tst_qxmppcallmanager"
- "tst_qxmpptransfermanager")
- "|"))))))))
+ #:test-exclude
+ (string-join ;; These tests use the network.
+ (list "tst_qxmppiceconnection"
+ "tst_qxmppcallmanager"
+ "tst_qxmpptransfermanager")
+ "|")))
(native-inputs
(list pkg-config))
(inputs
@@ -574,8 +570,8 @@ your private keys, no previous conversation is compromised.")
(base32
"0z5p03vk15i6h870azfjgyfgxhv31q2vq6rfhnybrnkxq2wqzwhk"))))
(arguments
- `(;; Required for proper linking and for tests to run.
- #:configure-flags '("-DBUILD_SHARED_LIBS=on" "-DBUILD_TESTING=1")))
+ `(;; Required for proper linking.
+ #:configure-flags '("-DBUILD_SHARED_LIBS=on")))
(build-system cmake-build-system)
(inputs (list ;; Required for tests:
check openssl))
@@ -633,9 +629,10 @@ by Dino to provide OMEMO support.")))
(git-file-name name version))
(sha256
(base32 "0b02b9flri374f8aw6xfz7mm9s57rb7393r8mdphv7kcsf76i7i5"))))
- (build-system cmake-build-system)
+ (build-system gnu-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
+ `(#:test-target "test"
+ #:phases (modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@@ -665,15 +662,17 @@ It implements the necessary interfaces using @code{libgcrypt} and
(git-file-name name version))
(sha256
(base32 "1q3vyj8zk3vm0a4v6w8qya5dhk2yw04bga8799a0zl6907nf122k"))))
- (build-system cmake-build-system)
+ (build-system gnu-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (setenv "CC" "gcc")
- (setenv "PREFIX" out)))))
- #:parallel-tests? #f))
+ (list
+ #:parallel-tests? #f
+ #:test-target "test"
+ #:phases #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (setenv "CC" "gcc")
+ (setenv "PREFIX" out)))))))
(native-inputs (list cmocka pkg-config))
(inputs (list glib libgcrypt minixml sqlite))
(synopsis "OMEMO C library")
@@ -1149,7 +1148,8 @@ control of your private keys, no previous conversation is compromised.")
"06bb6c2nciwbknfschxd2fjkpigd6i0zgwl6jiz5lm7gcadssrdy"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags
+ `(#:tests? #f
+ #:configure-flags
(list "-DWANT_CYRUS=ON"
"-DWANT_I18N=ON"
"-DWANT_PERL=ON"
@@ -2391,7 +2391,7 @@ notifications, and Python scripting support.")
(define-public libqmatrixclient
(package
(name "libqmatrixclient")
- (version "0.6.11")
+ (version "0.9.3")
(source
(origin
(method git-fetch)
@@ -2400,16 +2400,28 @@ notifications, and Python scripting support.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "072d3irpdd0p4w77s5pp0baqf74hk7vqggw7ic7i42lzjdwp3yql"))))
- (build-system cmake-build-system)
+ (base32 "0liidazw1ff1f73lb476pvrhzkmmk9dbgf5qsfajkxdj4xvy047k"))))
+ (build-system qt-build-system)
(inputs
- (list qtbase-5 qtmultimedia-5))
+ (list olm openssl qtkeychain-qt6 qtmultimedia))
(arguments
- `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON")
- #:tests? #f)) ; no tests
- (home-page "https://matrix.org/docs/projects/sdk/libqmatrixclient.html")
- (synopsis "Qt5 client library for the Matrix instant messaging protocol")
- (description "libqmatrixclient is a Qt5 library to write clients for the
+ (list #:qtbase qtbase
+ #:configure-flags
+ #~(list "-DBUILD_TESTING=ON"
+ "-DBUILD_SHARED_LIBS=ON")
+ #:phases
+ #~[modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "HOME" "/tmp")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; This test requires internet.
+ (invoke "ctest" "-E" "testolmaccount"))))]))
+ (home-page "https://quotient-im.github.io/libQuotient/")
+ (synopsis "Qt client library for the Matrix instant messaging protocol")
+ (description "libqmatrixclient is a Qt library to write clients for the
Matrix instant messaging protocol. Quaternion is the reference client
implementation. Quaternion and libqmatrixclient together form the
QMatrixClient project.")
@@ -2549,7 +2561,7 @@ notification, emojis, E2E encryption, and voip calls.")
(define-public quaternion
(package
(name "quaternion")
- (version "0.0.95.1")
+ (version "0.0.97.1")
(outputs '("out" "debug"))
(source
(origin
@@ -2559,28 +2571,28 @@ notification, emojis, E2E encryption, and voip calls.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "10mzcr4rpyq5bl3h8wzxxlk8rdz7slhiq863xs77bmsq2pzf6lp8"))))
+ (base32 "1628rnj025zz84vvp3zrhq912n27maznhszky2yd4w7ackg08zhf"))))
(build-system qt-build-system)
+ (arguments
+ (list #:qtbase qtbase
+ #:tests? #f)) ;no tests
+ (native-inputs
+ (list qttools))
(inputs
(list libqmatrixclient
- qtbase-5
- qtdeclarative-5
- qtgraphicaleffects
- qtmultimedia-5
- qtquickcontrols-5
- qtquickcontrols2-5
- qtsvg-5
- qttools-5
- qtwayland-5
+ olm
+ openssl
+ qtdeclarative
+ qtkeychain-qt6
+ qtmultimedia
+ qtsvg
+ qtwayland
xdg-utils))
- (arguments
- `(#:tests? #f)) ; no tests
- (home-page "https://matrix.org/docs/projects/client/quaternion.html")
+ (home-page "https://matrix.org/ecosystem/clients/quaternion/")
(synopsis "Graphical client for the Matrix instant messaging protocol")
- (description "Quaternion is a Qt5 desktop client for the Matrix instant
+ (description "Quaternion is a Qt desktop client for the Matrix instant
messaging protocol. It uses libqmatrixclient and is its reference client
-implementation. Quaternion and libqmatrixclient together form the
-QMatrixClient project.")
+implementation.")
(license (list license:gpl3+ ; all source code
license:lgpl3+)))) ; icons/breeze
@@ -2810,10 +2822,11 @@ support for high performance Telegram Bot creation.")
(git-file-name name version))
(sha256
(base32 "1ipd9gwh04wbqv6c10yxi02lc2yjsr02hwjycgxhl4r9x8b33psd"))))
- (build-system cmake-build-system)
+ (build-system gnu-build-system)
(arguments
(list
#:parallel-tests? #f
+ #:test-target "test"
#:phases
#~(modify-phases %standard-phases
(replace 'configure
@@ -2866,11 +2879,18 @@ asynchronicity.")
(base32
"06y3mh1d1mks6d0ynxp3980g712nkf8l5nyljpybsk326b246hg9"))))
(arguments
- `(#:test-target "tests"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'change-directory
- (lambda _ (chdir "cpp"))))))
+ (list
+ #:modules '((guix build cmake-build-system)
+ ((guix build gnu-build-system) #:prefix gnu:)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'change-directory
+ (lambda _ (chdir "cpp")))
+ (replace 'check
+ (lambda* (#:rest args)
+ (apply (assoc-ref gnu:%standard-phases 'check)
+ #:test-target "tests" args))))))
(build-system cmake-build-system)
(native-inputs
(list googletest pkg-config))
@@ -2964,6 +2984,7 @@ as well as on desktop platforms. It's based on libpurple and ModemManager.")
(build-system cmake-build-system)
(arguments
(list
+ #:tests? #f
#:configure-flags
#~(list "-DWITH_WEBSOCKETS=ON")))
(inputs (list openssl libxslt libwebsockets-for-mosquitto))