gnu: gajim: Update to 1.4.5.

* gnu/packages/messaging.scm (gajim)[version]: Update to 1.4.5.
[phases](disable-failing-tests): Remove phase.
(wrap-env): Modify phase.
[inputs]: Add gtksourceview and python-gssapi.
This commit is contained in:
Raghav Gururajan 2022-06-26 06:18:06 -04:00
parent 59363483f4
commit d89e75ee85
No known key found for this signature in database
GPG Key ID: 5F5816647F8BE551

View File

@ -1175,7 +1175,7 @@ of xmpppy.")
(define-public gajim (define-public gajim
(package (package
(name "gajim") (name "gajim")
(version "1.3.3") (version "1.4.5")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1184,7 +1184,7 @@ of xmpppy.")
(version-major+minor version) (version-major+minor version)
"/gajim-" version ".tar.gz")) "/gajim-" version ".tar.gz"))
(sha256 (sha256
(base32 "1337qkpcv7j0fgws9scnk82mn2l7s17060vmrbh3ihinmxmbxg6x")) (base32 "08a7kkc8vzjr5jxjkb96vs1bqnrgmmmcc5spy308z0zfxbpamsin"))
(patches (search-patches "gajim-honour-GAJIM_PLUGIN_PATH.patch")))) (patches (search-patches "gajim-honour-GAJIM_PLUGIN_PATH.patch"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
@ -1198,13 +1198,6 @@ of xmpppy.")
(guix build utils)) (guix build utils))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'disable-failing-tests
(lambda _
;; XXX Gajim builds fine on some (my) machines but fails elsewhere:
;; ModuleNotFoundError: No module named 'gajim.gui.emoji_data'
;; https://dev.gajim.org/gajim/gajim/-/issues/10478
(delete-file "test/lib/gajim_mocks.py")
(delete-file "test/unit/test_gui_interface.py")))
(replace 'check (replace 'check
(lambda _ (lambda _
;; Tests require a running X server. ;; Tests require a running X server.
@ -1232,7 +1225,7 @@ of xmpppy.")
(wrap-program file (wrap-program file
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))) `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))
'("gajim" "gajim-remote" "gajim-history-manager")))))))) '("gajim" "gajim-remote"))))))))
(native-search-paths (native-search-paths
(list (list
(search-path-specification (search-path-specification
@ -1274,6 +1267,7 @@ of xmpppy.")
("gstreamer" ,gstreamer) ("gstreamer" ,gstreamer)
("gst-plugins-base" ,gst-plugins-base) ("gst-plugins-base" ,gst-plugins-base)
("gtk+" ,gtk+) ("gtk+" ,gtk+)
("gtksourceview" ,gtksourceview)
("gupnp-igd" ,gupnp-igd) ("gupnp-igd" ,gupnp-igd)
("libnice" ,libnice) ("libnice" ,libnice)
("libsecret" ,libsecret) ("libsecret" ,libsecret)
@ -1282,6 +1276,7 @@ of xmpppy.")
("network-manager" ,network-manager) ("network-manager" ,network-manager)
("python-css-parser" ,python-css-parser) ("python-css-parser" ,python-css-parser)
("python-dbus" ,python-dbus) ("python-dbus" ,python-dbus)
("python-gssapi" ,python-gssapi)
("python-keyring" ,python-keyring) ("python-keyring" ,python-keyring)
("python-nbxmpp" ,python-nbxmpp) ("python-nbxmpp" ,python-nbxmpp)
("python-packaging" ,python-packaging) ("python-packaging" ,python-packaging)