gnu: mtxclient: Update to 0.6.1.

* gnu/packages/messaging.scm (mtxclient): Update to 0.6.1.
[inputs]: Add curl, coeurl and libevent.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
raingloom 2021-12-10 02:39:56 +01:00 committed by Nicolas Goaziou
parent a693f4e04b
commit f36a175a3a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -89,6 +89,7 @@ (define-module (gnu packages messaging)
#:use-module (gnu packages kerberos) #:use-module (gnu packages kerberos)
#:use-module (gnu packages less) #:use-module (gnu packages less)
#:use-module (gnu packages libcanberra) #:use-module (gnu packages libcanberra)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi) #:use-module (gnu packages libffi)
#:use-module (gnu packages libidn) #:use-module (gnu packages libidn)
#:use-module (gnu packages libreoffice) #:use-module (gnu packages libreoffice)
@ -550,31 +551,31 @@ (define-public libotr
(define-public libsignal-protocol-c (define-public libsignal-protocol-c
(package (package
(name "libsignal-protocol-c") (name "libsignal-protocol-c")
(version "2.3.3") (version "2.3.3")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/WhisperSystems/libsignal-protocol-c") (url "https://github.com/WhisperSystems/libsignal-protocol-c")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0z5p03vk15i6h870azfjgyfgxhv31q2vq6rfhnybrnkxq2wqzwhk")))) "0z5p03vk15i6h870azfjgyfgxhv31q2vq6rfhnybrnkxq2wqzwhk"))))
(arguments (arguments
`(;; Required for proper linking and for tests to run. `(;; Required for proper linking and for tests to run.
#:configure-flags '("-DBUILD_SHARED_LIBS=on" "-DBUILD_TESTING=1"))) #:configure-flags '("-DBUILD_SHARED_LIBS=on" "-DBUILD_TESTING=1")))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (list ;; Required for tests: (inputs (list ;; Required for tests:
check openssl)) check openssl))
(native-inputs (list pkg-config)) (native-inputs (list pkg-config))
(home-page "https://github.com/WhisperSystems/libsignal-protocol-c") (home-page "https://github.com/WhisperSystems/libsignal-protocol-c")
(synopsis "Implementation of a ratcheting forward secrecy protocol") (synopsis "Implementation of a ratcheting forward secrecy protocol")
(description "libsignal-protocol-c is an implementation of a ratcheting (description "libsignal-protocol-c is an implementation of a ratcheting
forward secrecy protocol that works in synchronous and asynchronous forward secrecy protocol that works in synchronous and asynchronous
messaging environments. It can be used with messaging software to provide messaging environments. It can be used with messaging software to provide
end-to-end encryption.") end-to-end encryption.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public axc (define-public axc
(package (package
@ -1665,9 +1666,9 @@ (define-public utox
(wrap-program (string-append (assoc-ref outputs "out") (wrap-program (string-append (assoc-ref outputs "out")
"/bin/utox") "/bin/utox")
;; For GtkFileChooserDialog. ;; For GtkFileChooserDialog.
`("GSETTINGS_SCHEMA_DIR" = `("GSETTINGS_SCHEMA_DIR" =
(,(string-append (assoc-ref inputs "gtk+") (,(string-append (assoc-ref inputs "gtk+")
"/share/glib-2.0/schemas"))))))))) "/share/glib-2.0/schemas")))))))))
(inputs (inputs
`(("dbus" ,dbus) `(("dbus" ,dbus)
("filteraudio" ,filteraudio) ("filteraudio" ,filteraudio)
@ -2288,7 +2289,7 @@ (define-public libqmatrixclient
(define-public mtxclient (define-public mtxclient
(package (package
(name "mtxclient") (name "mtxclient")
(version "0.5.1") (version "0.6.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -2297,7 +2298,7 @@ (define-public mtxclient
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1xznfx2bhw0ahwmkxm0rs05vz05ijk5k4190rj6qp3bvb9byiajh")))) (base32 "1a3ki45rf1fm7y4b74li76aqd4qc4y5ga5r163s0cwcpj9mp8c45"))))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (list
@ -2308,13 +2309,16 @@ (define-public mtxclient
(add-before 'configure 'disable-network-tests (add-before 'configure 'disable-network-tests
(lambda _ (lambda _
(substitute* "CMakeLists.txt" (substitute* "CMakeLists.txt"
(("add_test\\((BasicConnectivity|ClientAPI|MediaAPI|Encryption|Pushrules)") (("add_test\\((BasicConnectivity|ClientAPI|Devices|MediaAPI|Encryption|Pushrules)")
"# add_test")) "# add_test"))
#t))))) #t)))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
(list boost (list boost
coeurl
curl
json-modern-cxx json-modern-cxx
libevent
libolm libolm
libsodium libsodium
openssl openssl