gnu: gajim: Update to 1.1.0.

* gnu/packages/messaging.scm (gajim): Update to 1.1.0.
[arguments]: Set #:test-target to "test_nogui".  Remove the
'remove-test-resolver' and 'start-xserver' phases.
[inputs]: Remove python-pyasn1.  Add python-cssutils, python-keyring and
python-precis-i18n.
This commit is contained in:
Clément Lassieur 2018-11-08 10:13:44 +01:00
parent a311f42e1b
commit 992a496503
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7
1 changed files with 7 additions and 18 deletions

View File

@ -574,7 +574,7 @@ was initially a fork of xmpppy, but uses non-blocking sockets.")
(define-public gajim (define-public gajim
(package (package
(name "gajim") (name "gajim")
(version "1.0.3") (version "1.1.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://gajim.org/downloads/" (uri (string-append "https://gajim.org/downloads/"
@ -582,10 +582,11 @@ was initially a fork of xmpppy, but uses non-blocking sockets.")
"/gajim-" version ".tar.bz2")) "/gajim-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0ds4rqwfrpj89a489w6yih8gx5zi7qa4ffgld950fk7s0qxvcfnb")))) "1qis8vs7y7g1zn5i5dshwrszidc22qpflycwb4nixvp9lbmkq0va"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:test-target "test_nogui"
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'install 'wrap-program (add-after 'install 'wrap-program
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -598,20 +599,6 @@ was initially a fork of xmpppy, but uses non-blocking sockets.")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))) `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))
'("gajim" "gajim-remote" "gajim-history-manager"))) '("gajim" "gajim-remote" "gajim-history-manager")))
#t)) #t))
(add-before 'check 'remove-test-resolver
;; This test requires network access.
(lambda _
(substitute* "test/runtests.py"
(("'integration.test_resolver',") ""))
#t))
(add-before 'check 'start-xserver
;; Tests require a running X server.
(lambda* (#:key inputs #:allow-other-keys)
(let ((xorg-server (assoc-ref inputs "xorg-server"))
(display ":1"))
(setenv "DISPLAY" display)
(zero? (system (string-append xorg-server "/bin/Xvfb "
display " &"))))))
(add-after 'install 'install-icons (add-after 'install 'install-icons
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
@ -648,12 +635,14 @@ was initially a fork of xmpppy, but uses non-blocking sockets.")
("hicolor-icon-theme" ,hicolor-icon-theme) ("hicolor-icon-theme" ,hicolor-icon-theme)
("libsecret" ,libsecret) ("libsecret" ,libsecret)
("python-axolotl" ,python-axolotl) ("python-axolotl" ,python-axolotl)
("python-cssutils" ,python-cssutils)
("python-dbus" ,python-dbus) ("python-dbus" ,python-dbus)
("python-docutils" ,python-docutils) ("python-docutils" ,python-docutils)
("python-gnupg" ,python-gnupg) ("python-gnupg" ,python-gnupg)
("python-keyring" ,python-keyring)
("python-nbxmpp" ,python-nbxmpp) ("python-nbxmpp" ,python-nbxmpp)
("python-pillow" ,python-pillow) ("python-pillow" ,python-pillow)
("python-pyasn1" ,python-pyasn1) ("python-precis-i18n" ,python-precis-i18n)
("python-pycairo" ,python-pycairo) ("python-pycairo" ,python-pycairo)
("python-pygobject" ,python-pygobject) ("python-pygobject" ,python-pygobject)
("python-pyopenssl" ,python-pyopenssl) ("python-pyopenssl" ,python-pyopenssl)