diff mbox series

[bug#72564,v2,4/6] gnu: gajim: Update to 1.9.3.

Message ID 20241123165855.23312-4-luca@lucamatei.com
State New
Headers show
Series [bug#72564,v2,1/6] gnu: python-nbxmpp: Update to 5.0.3. | expand

Commit Message

Luca Matei Pintilie Nov. 23, 2024, 4:58 p.m. UTC
From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/messaging.scm (gajim): Update to 1.9.3.

Change-Id: I302a02e6ea9c0f974055a5f44f06c61bcf2fb93e
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
---
 gnu/packages/messaging.scm | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 92910b8977..762381fe0e 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1195,7 +1195,7 @@  (define-public python-nbxmpp
 (define-public gajim
   (package
     (name "gajim")
-    (version "1.7.3")
+    (version "1.9.3")
     (source
      (origin
        (method url-fetch)
@@ -1203,7 +1203,7 @@  (define-public gajim
                            (version-major+minor version)
                            "/gajim-" version ".tar.gz"))
        (sha256
-         (base32 "066kvkjw3qcdanr3nczy0wgcwihk9jc9zhzfr5bwlqvcyxcv7k5p"))
+         (base32 "10rz8pd43a9308kj6csixsmvdc6ccnqkw83adc5cggh1798b45ag"))
        (patches
          (search-patches "gajim-honour-GAJIM_PLUGIN_PATH.patch"))))
     (build-system python-build-system)
@@ -1241,14 +1241,15 @@  (define-public gajim
               (invoke "./pep517build/install_metadata.py" "dist/metadata"
                       (string-append "--prefix=" #$output))))
           (replace 'check
-            (lambda _
-              ;; Tests require a running X server.
-              (system "Xvfb :1 +extension GLX &")
-              (setenv "DISPLAY" ":1")
-              ;; For missing '/etc/machine-id'.
-              (setenv "DBUS_FATAL_WARNINGS" "0")
-              (invoke "dbus-launch" "python" "-m" "unittest"
-                      "discover" "-s" "test")))
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                ;; Tests require a running X server.
+                (system "Xvfb :1 +extension GLX &")
+                (setenv "DISPLAY" ":1")
+                ;; For missing '/etc/machine-id'.
+                (setenv "DBUS_FATAL_WARNINGS" "0")
+                (invoke "dbus-launch" "python" "-m" "unittest"
+                        "discover" "-s" "test"))))
           (add-after 'install 'glib-or-gtk-compile-schemas
             (assoc-ref glib-or-gtk:%standard-phases
                        'glib-or-gtk-compile-schemas))
@@ -1288,9 +1289,7 @@  (define-public gajim
           "/site-packages"))))))
     (native-inputs
      (list gettext-minimal
-           `(,glib "bin")
            gobject-introspection
-           `(,gtk+ "bin")
            python-distutils-extra
            python-pypa-build
            python-setuptools
@@ -1313,22 +1312,27 @@  (define-public gajim
            gupnp-igd
            libappindicator
            libnice
+           libomemo
            libsecret
            libsoup
            libxscrnsaver
            network-manager
            python-css-parser
            python-dbus
+           python-emoji
            python-gssapi
            python-idna
            python-keyring
            python-nbxmpp
+           python-omemo-dr
            python-packaging
            python-pillow
            python-precis-i18n
            python-pycairo
            python-pygobject
-           python-pyopenssl))
+           python-pyopenssl
+           python-qrcode
+           python-sqlalchemy-2))
     (propagated-inputs
      (list dconf))
     (synopsis "Fully-featured XMPP client")