* [bug#72564] [PATCH v2 2/6] gnu: Add python-protobuf-5.
2024-11-23 16:58 ` [bug#72564] [PATCH v2 1/6] gnu: python-nbxmpp: Update to 5.0.3 Luca Matei Pintilie via Guix-patches via
@ 2024-11-23 16:58 ` Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 3/6] gnu: Add python-omemo-dr Luca Matei Pintilie via Guix-patches via
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Luca Matei Pintilie via Guix-patches via @ 2024-11-23 16:58 UTC (permalink / raw)
To: 72564
Cc: Morgan Smith, Luca Matei Pintilie, lars, marius, me, sharlatanus,
tanguy, jga
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/protobuf.scm (python-protobuf-5): New variable.
Change-Id: Ic181a92bc0e3eb66adf535d98b192cbb006028ad
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
---
gnu/packages/protobuf.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index b8679eff25..59f49c8cf4 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -436,6 +436,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.47.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72564] [PATCH v2 3/6] gnu: Add python-omemo-dr.
2024-11-23 16:58 ` [bug#72564] [PATCH v2 1/6] gnu: python-nbxmpp: Update to 5.0.3 Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 2/6] gnu: Add python-protobuf-5 Luca Matei Pintilie via Guix-patches via
@ 2024-11-23 16:58 ` Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 4/6] gnu: gajim: Update to 1.9.3 Luca Matei Pintilie via Guix-patches via
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Luca Matei Pintilie via Guix-patches via @ 2024-11-23 16:58 UTC (permalink / raw)
To: 72564
Cc: Morgan Smith, Luca Matei Pintilie, lars, marius, me, sharlatanus,
tanguy, jga
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/python-crypto.scm (python-omemo-dr): New variable.
Change-Id: I06b31e62dff1a740fee832e17200f8905810860a
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
---
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 3a7f53abee..19df7ef3a9 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -751,6 +751,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.47.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72564] [PATCH v2 4/6] gnu: gajim: Update to 1.9.3.
2024-11-23 16:58 ` [bug#72564] [PATCH v2 1/6] gnu: python-nbxmpp: Update to 5.0.3 Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 2/6] gnu: Add python-protobuf-5 Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 3/6] gnu: Add python-omemo-dr Luca Matei Pintilie via Guix-patches via
@ 2024-11-23 16:58 ` Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 5/6] gnu: Deprecate gajim-omemo Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 6/6] gnu: gajim-openpgp: Update to 1.6.1 Luca Matei Pintilie via Guix-patches via
4 siblings, 0 replies; 9+ messages in thread
From: Luca Matei Pintilie via Guix-patches via @ 2024-11-23 16:58 UTC (permalink / raw)
To: 72564
Cc: Morgan Smith, Luca Matei Pintilie, lars, marius, me, sharlatanus,
tanguy, jga
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 --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")
--
2.47.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72564] [PATCH v2 5/6] gnu: Deprecate gajim-omemo.
2024-11-23 16:58 ` [bug#72564] [PATCH v2 1/6] gnu: python-nbxmpp: Update to 5.0.3 Luca Matei Pintilie via Guix-patches via
` (2 preceding siblings ...)
2024-11-23 16:58 ` [bug#72564] [PATCH v2 4/6] gnu: gajim: Update to 1.9.3 Luca Matei Pintilie via Guix-patches via
@ 2024-11-23 16:58 ` Luca Matei Pintilie via Guix-patches via
2024-11-23 16:58 ` [bug#72564] [PATCH v2 6/6] gnu: gajim-openpgp: Update to 1.6.1 Luca Matei Pintilie via Guix-patches via
4 siblings, 0 replies; 9+ messages in thread
From: Luca Matei Pintilie via Guix-patches via @ 2024-11-23 16:58 UTC (permalink / raw)
To: 72564
Cc: Morgan Smith, Luca Matei Pintilie, lars, marius, me, sharlatanus,
tanguy, jga
From: Morgan Smith <Morgan.J.Smith@outlook.com>
This plugin is no longer needed. The functionality is build into gajim now.
* gnu/packages/messaging.scm (gajim-omemo): Deprecate package.
Change-Id: Ib2e76eab9ace8486396f6dab590b830866693d87
Co-authored-by: Luca Matei Pintilie <luca@lucamatei.com>
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
---
gnu/packages/messaging.scm | 35 +----------------------------------
1 file changed, 1 insertion(+), 34 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 762381fe0e..a70bb8152e 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1343,40 +1343,7 @@ (define-public gajim
(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+)))
+ (deprecated-package "gajim-omemo" gajim))
(define-public gajim-openpgp
(package
--
2.47.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72564] [PATCH v2 6/6] gnu: gajim-openpgp: Update to 1.6.1.
2024-11-23 16:58 ` [bug#72564] [PATCH v2 1/6] gnu: python-nbxmpp: Update to 5.0.3 Luca Matei Pintilie via Guix-patches via
` (3 preceding siblings ...)
2024-11-23 16:58 ` [bug#72564] [PATCH v2 5/6] gnu: Deprecate gajim-omemo Luca Matei Pintilie via Guix-patches via
@ 2024-11-23 16:58 ` Luca Matei Pintilie via Guix-patches via
4 siblings, 0 replies; 9+ messages in thread
From: Luca Matei Pintilie via Guix-patches via @ 2024-11-23 16:58 UTC (permalink / raw)
To: 72564
Cc: Morgan Smith, Luca Matei Pintilie, lars, marius, me, sharlatanus,
tanguy, jga
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/messaging.scm (gajim-openpgp): Update to 1.6.1.
Change-Id: Iab263d7905b869895889a70c1a3c13d71bae1e51
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
---
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 a70bb8152e..af7f9926a0 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1348,7 +1348,7 @@ (define-public gajim-omemo
(define-public gajim-openpgp
(package
(name "gajim-openpgp")
- (version "1.5.0")
+ (version "1.6.1")
(source
(origin
(method url-fetch/zipbomb)
@@ -1357,7 +1357,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.47.0
^ permalink raw reply related [flat|nested] 9+ messages in thread