all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72564] [PATCH 2/6] gnu: Add python-protobuf-5.
       [not found] <5ff608d7b5b82aa3f57b2d2f757bb7713d93eafc.1723310831.git.Morgan.J.Smith@outlook.com>
@ 2024-08-10 17:27 ` Morgan Smith
  2024-08-10 17:27 ` [bug#72564] [PATCH 3/6] gnu: Add python-omemo-dr Morgan Smith
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Morgan Smith @ 2024-08-10 17:27 UTC (permalink / raw)
  To: 72564; +Cc: Morgan Smith

* gnu/packages/protobuf.scm (python-protobuf-5): New variable.

Change-Id: Ic181a92bc0e3eb66adf535d98b192cbb006028ad
---
 gnu/packages/protobuf.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index d47b67fa61..f1a3259709 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -426,6 +426,39 @@ (define-public python-nanopb
     (propagated-inputs (list python-protobuf))
     (synopsis "Small code-size Protocol Buffers implementation in Python")))
 
+(define-public python-protobuf-5
+  (package
+    (name "python-protobuf")
+    (version "5.27.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "protobuf" version))
+       (sha256
+        (base32
+         "0b6qxb6hnhzmiz1wnjrjdmwxx2ddv9zr86p89vivgwj0wq1hjil2"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; FIXME: ImportError: 'testing_refleaks' module incorrectly imported from
+      ;; '/gnu/store/...-python-protobuf-5.27.3/lib/python3.10/site-packages/google/protobuf/internal'.
+      ;; Expected '/tmp/guix-build-python-protobuf-5.27.3.drv-0/protobuf-5.27.3/google/protobuf/internal'.
+      ;; Is this module globally installed?
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "python" "-m" "unittest" )))))))
+    (inputs (list protobuf))
+    (home-page "https://github.com/protocolbuffers/protobuf")
+    (synopsis "Protocol buffers is a data interchange format")
+    (description
+     "Protocol buffers are a language-neutral, platform-neutral extensible
+mechanism for serializing structured data.")
+    (license license:bsd-3)))
+
 (define-public python-protobuf
   (package
     (name "python-protobuf")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#72564] [PATCH 3/6] gnu: Add python-omemo-dr.
       [not found] <5ff608d7b5b82aa3f57b2d2f757bb7713d93eafc.1723310831.git.Morgan.J.Smith@outlook.com>
  2024-08-10 17:27 ` [bug#72564] [PATCH 2/6] gnu: Add python-protobuf-5 Morgan Smith
@ 2024-08-10 17:27 ` Morgan Smith
  2024-08-10 17:27 ` [bug#72564] [PATCH 4/6] gnu: gajim: Update to 1.9.3 Morgan Smith
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Morgan Smith @ 2024-08-10 17:27 UTC (permalink / raw)
  To: 72564
  Cc: Morgan Smith, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

* gnu/packages/python-crypto.scm (python-omemo-dr): New variable.

Change-Id: I06b31e62dff1a740fee832e17200f8905810860a
---
 gnu/packages/python-crypto.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 86a826b7ed..0da6ff49f6 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -758,6 +758,27 @@ (define-public python-axolotl
 asynchronous messaging environments.")
     (license license:gpl3)))
 
+(define-public python-omemo-dr
+  (package
+    (name "python-omemo-dr")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://dev.gajim.org/gajim/omemo-dr")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1gx0znbfvs8jg9s754hha81l8wpghswkfsqx2jzpgv6gigf3sm8z"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-axolotl-curve25519 python-cryptography python-protobuf-5))
+    (home-page "https://dev.gajim.org/gajim/omemo-dr")
+    (synopsis "OMEMO cryptography library")
+    (description "OMEMO cryptography library that was forked from python-axolotl.")
+    (license license:gpl3)))
 
 (define-public python-pyaes
   (package
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#72564] [PATCH 4/6] gnu: gajim: Update to 1.9.3.
       [not found] <5ff608d7b5b82aa3f57b2d2f757bb7713d93eafc.1723310831.git.Morgan.J.Smith@outlook.com>
  2024-08-10 17:27 ` [bug#72564] [PATCH 2/6] gnu: Add python-protobuf-5 Morgan Smith
  2024-08-10 17:27 ` [bug#72564] [PATCH 3/6] gnu: Add python-omemo-dr Morgan Smith
@ 2024-08-10 17:27 ` Morgan Smith
  2024-08-10 17:27 ` [bug#72564] [PATCH 5/6] gnu: Remove gajim-omemo Morgan Smith
  2024-08-10 17:27 ` [bug#72564] [PATCH 6/6] gnu: gajim-openpgp: Update to 1.6.1 Morgan Smith
  4 siblings, 0 replies; 5+ messages in thread
From: Morgan Smith @ 2024-08-10 17:27 UTC (permalink / raw)
  To: 72564; +Cc: Morgan Smith

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

Change-Id: I302a02e6ea9c0f974055a5f44f06c61bcf2fb93e
---
 gnu/packages/messaging.scm | 31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c2089260da..657da86c10 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1180,7 +1180,7 @@ (define-public python-nbxmpp
 (define-public gajim
   (package
     (name "gajim")
-    (version "1.7.3")
+    (version "1.9.3")
     (source
      (origin
        (method url-fetch)
@@ -1188,7 +1188,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)
@@ -1226,14 +1226,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))
@@ -1273,15 +1274,14 @@ (define-public gajim
           "/site-packages"))))))
     (native-inputs
      (list gettext-minimal
-           `(,glib "bin")
            gobject-introspection
-           `(,gtk+ "bin")
            python-distutils-extra
            python-pypa-build
            python-setuptools
            xorg-server-for-tests))
     (inputs
      (list avahi
+           bash-minimal
            dbus
            farstream
            geoclue
@@ -1297,22 +1297,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")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#72564] [PATCH 5/6] gnu: Remove gajim-omemo.
       [not found] <5ff608d7b5b82aa3f57b2d2f757bb7713d93eafc.1723310831.git.Morgan.J.Smith@outlook.com>
                   ` (2 preceding siblings ...)
  2024-08-10 17:27 ` [bug#72564] [PATCH 4/6] gnu: gajim: Update to 1.9.3 Morgan Smith
@ 2024-08-10 17:27 ` Morgan Smith
  2024-08-10 17:27 ` [bug#72564] [PATCH 6/6] gnu: gajim-openpgp: Update to 1.6.1 Morgan Smith
  4 siblings, 0 replies; 5+ messages in thread
From: Morgan Smith @ 2024-08-10 17:27 UTC (permalink / raw)
  To: 72564; +Cc: Morgan Smith

This plugin is no longer needed.  The functionality is build into gajim now.

* gnu/packages/messaging.scm (gajim-omemo): Delete variable.

Change-Id: Ib2e76eab9ace8486396f6dab590b830866693d87
---
 gnu/packages/messaging.scm | 36 ------------------------------------
 1 file changed, 36 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 657da86c10..4102737ff1 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1327,42 +1327,6 @@ (define-public gajim
     (home-page "https://gajim.org/")
     (license license:gpl3)))
 
-(define-public gajim-omemo
-  (package
-    (name "gajim-omemo")
-    (version "2.9.0")
-    (source
-     (origin
-       (method url-fetch/zipbomb)
-       (uri
-        (string-append
-         "https://ftp.gajim.org/plugins/master/omemo/omemo_"
-         version ".zip"))
-       (sha256
-        (base32 "0yy9r9fsrlgdywiln8bskhi8faj9hnz7b19jcap5nkhv8jn9cqq7"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (let* ((out (assoc-ref %outputs "out"))
-                (share (in-vicinity out "share/gajim/plugins/omemo"))
-                (source (assoc-ref %build-inputs "source")))
-           (mkdir-p share)
-           (copy-recursively source share)
-           #t))))
-    (propagated-inputs
-     (list python-axolotl python-axolotl-curve25519 python-cryptography
-           python-qrcode))
-    (synopsis "Gajim OMEMO plugin")
-    (description "Gajim-OMEMO is a plugin that adds support for the OMEMO
-Encryption to Gajim.  OMEMO is an XMPP Extension Protocol (XEP) for secure
-multi-client end-to-end encryption.")
-    (home-page
-     "https://dev.gajim.org/gajim/gajim-plugins/-/wikis/OmemoGajimPlugin")
-    (license license:gpl3+)))
-
 (define-public gajim-openpgp
   (package
     (name "gajim-openpgp")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#72564] [PATCH 6/6] gnu: gajim-openpgp: Update to 1.6.1.
       [not found] <5ff608d7b5b82aa3f57b2d2f757bb7713d93eafc.1723310831.git.Morgan.J.Smith@outlook.com>
                   ` (3 preceding siblings ...)
  2024-08-10 17:27 ` [bug#72564] [PATCH 5/6] gnu: Remove gajim-omemo Morgan Smith
@ 2024-08-10 17:27 ` Morgan Smith
  4 siblings, 0 replies; 5+ messages in thread
From: Morgan Smith @ 2024-08-10 17:27 UTC (permalink / raw)
  To: 72564; +Cc: Morgan Smith

* gnu/packages/messaging.scm (gajim-openpgp): Update to 1.6.1.

Change-Id: Iab263d7905b869895889a70c1a3c13d71bae1e51
---
 gnu/packages/messaging.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 4102737ff1..07e34a8f91 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1330,7 +1330,7 @@ (define-public gajim
 (define-public gajim-openpgp
   (package
     (name "gajim-openpgp")
-    (version "1.5.0")
+    (version "1.6.1")
     (source
      (origin
        (method url-fetch/zipbomb)
@@ -1339,7 +1339,7 @@ (define-public gajim-openpgp
          "https://ftp.gajim.org/plugins/master/openpgp/openpgp_"
          version ".zip"))
        (sha256
-        (base32 "193pbh9iri7bkamvjwp236i8g5zxxiqgsv64kll5sy76vx4q73c4"))))
+        (base32 "0m1g5wajpc3kfz5jv8y3i9xy1nqhq15ripv49lgsq7j1f0a3w3wh"))))
     (build-system trivial-build-system)
     (arguments
      `(#:modules ((guix build utils))
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-10 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5ff608d7b5b82aa3f57b2d2f757bb7713d93eafc.1723310831.git.Morgan.J.Smith@outlook.com>
2024-08-10 17:27 ` [bug#72564] [PATCH 2/6] gnu: Add python-protobuf-5 Morgan Smith
2024-08-10 17:27 ` [bug#72564] [PATCH 3/6] gnu: Add python-omemo-dr Morgan Smith
2024-08-10 17:27 ` [bug#72564] [PATCH 4/6] gnu: gajim: Update to 1.9.3 Morgan Smith
2024-08-10 17:27 ` [bug#72564] [PATCH 5/6] gnu: Remove gajim-omemo Morgan Smith
2024-08-10 17:27 ` [bug#72564] [PATCH 6/6] gnu: gajim-openpgp: Update to 1.6.1 Morgan Smith

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.