gnu: messaging: Enable OMEMO for dino.

* gnu/packages/messaging.scm (dino): Update to commit
f6ac5bbd26638412a2289fd1d28ef12de1d7e8b5.
[inputs]: Add libsignal-protocol-c and libgcrypt.
[arguments]: Change #configure-flags to "-DSHARED_SIGNAL_PROTOCOL=yes".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Rutger Helling 2017-11-08 11:18:38 +01:00 committed by Ludovic Courtès
parent 0d549f60df
commit d9cd1c2272
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 7 deletions

View File

@ -567,7 +567,7 @@ end-to-end encryption support; XML console.")
(define-public dino (define-public dino
;; The only release tarball is for version 0.0, but it is very old and fails ;; The only release tarball is for version 0.0, but it is very old and fails
;; to build. ;; to build.
(let ((commit "54a25fd926070a977138cec94908c55806e22f4a") (let ((commit "f6ac5bbd26638412a2289fd1d28ef12de1d7e8b5")
(revision "1")) (revision "1"))
(package (package
(name "dino") (name "dino")
@ -576,19 +576,19 @@ end-to-end encryption support; XML console.")
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/dino/dino.git") (url "https://github.com/dino/dino.git")
(commit commit))) (commit commit)
(recursive? #t))) ; Needed for the 'libsignal-protocol-c'
; submodule.
(file-name (string-append name "-" version "-checkout")) (file-name (string-append name "-" version "-checkout"))
(sha256 (sha256
(base32 (base32
"1m100wzr5xqaj3r4vprxj0961833wqk0p7z94nmjsf2f0s67v5r3")))) "14vk5jmvn8igjikrvg7pinrzahw8gryysb1v9y3vw47ncyic8b7p"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ; there are no tests `(#:tests? #f ; there are no tests
#:parallel-build? #f ; not supported #:parallel-build? #f ; not supported
#:configure-flags ; Use our libsignal-protocol-c instead of the git submodule.
;; FIXME: we disable the omemo plugin because it needs #:configure-flags '("-DSHARED_SIGNAL_PROTOCOL=yes")
;; libsignal-protocol, for which we don't have a package yet.
'("-DDISABLED_PLUGINS=omemo")
#:modules ((guix build cmake-build-system) #:modules ((guix build cmake-build-system)
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
(guix build utils)) (guix build utils))
@ -601,6 +601,8 @@ end-to-end encryption support; XML console.")
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(inputs (inputs
`(("libgee" ,libgee) `(("libgee" ,libgee)
("libsignal-protocol-c", libsignal-protocol-c)
("libgcrypt", libgcrypt)
("libsoup" ,libsoup) ("libsoup" ,libsoup)
("sqlite" ,sqlite) ("sqlite" ,sqlite)
("gpgme" ,gpgme) ("gpgme" ,gpgme)