diff options
Diffstat (limited to 'gnu/packages/messaging.scm')
-rw-r--r-- | gnu/packages/messaging.scm | 69 |
1 files changed, 38 insertions, 31 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index a72596e17b..8a32f2a75a 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -414,17 +414,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 +569,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 +628,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 +661,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 +1147,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" @@ -2406,7 +2405,6 @@ notifications, and Python scripting support.") (list olm openssl qtkeychain-qt6 qtmultimedia)) (arguments (list #:qtbase qtbase - #:cmake cmake-next #:configure-flags #~(list "-DBUILD_TESTING=ON" "-DBUILD_SHARED_LIBS=ON") @@ -2823,10 +2821,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 @@ -2879,11 +2878,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)) @@ -2977,6 +2983,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)) |