unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72125] [PATCH 0/4] gajim: Update to latest version
@ 2024-07-15 11:19 Gisement
  2024-07-15 17:28 ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 Gisement
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Gisement @ 2024-07-15 11:19 UTC (permalink / raw)
  To: 72125; +Cc: Gisement

Hello Guix!

This patch series simply bumps Gajim to the latest version, along with all the
necessary dependencies.

The most significant change is updating python-protobuf to the 5.27.2.

It also adds an implementation of OMEMO Double Ratchet in Python.

Gisement (4):
  gnu: python-protobuf: Update to 5.27.2.
  gnu: Add python-omemo-dr.
  gnu: python-nbxmpp: Update to 5.0.1.
  gnu: gajim: Update to 1.9.1.

 gnu/packages/messaging.scm     | 16 +++++++++++-----
 gnu/packages/protobuf.scm      | 14 +++++++-------
 gnu/packages/python-crypto.scm | 19 +++++++++++++++++++
 3 files changed, 37 insertions(+), 12 deletions(-)


base-commit: eb508e32d2d359c94d2cabebfe90dc32ca5dcf4f
-- 
2.45.2





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

* [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2.
  2024-07-15 11:19 [bug#72125] [PATCH 0/4] gajim: Update to latest version Gisement
@ 2024-07-15 17:28 ` Gisement
  2024-07-15 21:27   ` [bug#72125] [PATCH 0/4] gajim: Update to latest version jgart via Guix-patches via
  2024-07-30 11:57   ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 宋文武 via Guix-patches via
  2024-07-15 17:41 ` [bug#72125] [PATCH 2/4] gnu: Add python-omemo-dr Gisement
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 11+ messages in thread
From: Gisement @ 2024-07-15 17:28 UTC (permalink / raw)
  To: 72125; +Cc: Gisement

Change-Id: Ibaf04dd3d66789ab0e2407e25e1a79e55f4d6e4d
---
 gnu/packages/protobuf.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index d47b67fa61..ef91a1b838 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -429,21 +429,21 @@ (define-public python-nanopb
 (define-public python-protobuf
   (package
     (name "python-protobuf")
-    (version "3.20.2")
+    (version "5.27.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "protobuf" version))
        (sha256
-        (base32
-         "0l0p2lczs5iahgkhzm3298pjl49bk9iiwngkglg7ll7fkqqwlbbi"))))
+        (base32 "0517bvr76daiwnz3jb099mckmklh5kzjg0pjfmh8bbxr4vrdxv7k"))))
     (build-system python-build-system)
     (inputs (list protobuf))
+    ;; The library moved to upb, a C implementation faster than C++ and
+    ;; native python. It requires no special installation.
     (arguments
-     `(;; Favor C++ implementation from protobuf over the native Python
-       ;; implementation. The additional dependency yields significant
-       ;; performance improvements for some workloads.
-       #:configure-flags '("--cpp_implementation")))
+     ;; There are no tests.
+     (list
+      #:tests? #f))
     (home-page "https://github.com/google/protobuf")
     (synopsis "Protocol buffers is a data interchange format")
     (description
-- 
2.45.2





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

* [bug#72125] [PATCH 2/4] gnu: Add python-omemo-dr.
  2024-07-15 11:19 [bug#72125] [PATCH 0/4] gajim: Update to latest version Gisement
  2024-07-15 17:28 ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 Gisement
@ 2024-07-15 17:41 ` Gisement
  2024-07-30 12:01   ` 宋文武 via Guix-patches via
  2024-07-15 17:43 ` [bug#72125] [PATCH 3/4] gnu: python-nbxmpp: Update to 5.0.1 Gisement
  2024-07-15 17:43 ` [bug#72125] [PATCH 4/4] gnu: gajim: Update to 1.9.1 Gisement
  3 siblings, 1 reply; 11+ messages in thread
From: Gisement @ 2024-07-15 17:41 UTC (permalink / raw)
  To: 72125; +Cc: Gisement

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

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index d25059c86b..64e7f1b887 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -758,6 +758,25 @@ (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 url-fetch)
+       (uri (pypi-uri "omemo-dr" version))
+       (sha256
+        (base32 "0qfk0b153cmc85icnlpfv8mjaqd2spa7hlipvndr8wqx4dvqr2ia"))))
+    (build-system python-build-system)
+    (home-page "https://pypi.org/project/omemo-dr/")
+    (synopsis "OMEMO Double Ratchet in Python")
+    (description
+     "Initial codebase was forked from
+ https://github.com/tgalal/python-axolotl but has since been heavily
+ rewritten.")
+    (license license:gpl3)
+    (native-inputs (list python-protobuf python-cryptography))))
 
 (define-public python-pyaes
   (package
-- 
2.45.2





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

* [bug#72125] [PATCH 3/4] gnu: python-nbxmpp: Update to 5.0.1.
  2024-07-15 11:19 [bug#72125] [PATCH 0/4] gajim: Update to latest version Gisement
  2024-07-15 17:28 ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 Gisement
  2024-07-15 17:41 ` [bug#72125] [PATCH 2/4] gnu: Add python-omemo-dr Gisement
@ 2024-07-15 17:43 ` Gisement
  2024-07-30 12:07   ` 宋文武 via Guix-patches via
  2024-07-15 17:43 ` [bug#72125] [PATCH 4/4] gnu: gajim: Update to 1.9.1 Gisement
  3 siblings, 1 reply; 11+ messages in thread
From: Gisement @ 2024-07-15 17:43 UTC (permalink / raw)
  To: 72125; +Cc: Gisement

Change-Id: I52bcc544a43544f682b705de6622982f539a787e
---
 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 0278653faf..ebe5a90be9 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1141,13 +1141,13 @@ (define-public znc
 (define-public python-nbxmpp
   (package
     (name "python-nbxmpp")
-    (version "4.2.2")
+    (version "5.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "nbxmpp" version))
        (sha256
-         (base32 "095nyy6vjildhrqigxk6vsh49in6mx17bvb3z5zpjmzhv9b8ix46"))))
+         (base32 "06876pqs44apqflgv1ijqbd446j5dai1alq833miy900kr8wg9ba"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-- 
2.45.2





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

* [bug#72125] [PATCH 4/4] gnu: gajim: Update to 1.9.1.
  2024-07-15 11:19 [bug#72125] [PATCH 0/4] gajim: Update to latest version Gisement
                   ` (2 preceding siblings ...)
  2024-07-15 17:43 ` [bug#72125] [PATCH 3/4] gnu: python-nbxmpp: Update to 5.0.1 Gisement
@ 2024-07-15 17:43 ` Gisement
  2024-07-30 12:06   ` 宋文武 via Guix-patches via
  3 siblings, 1 reply; 11+ messages in thread
From: Gisement @ 2024-07-15 17:43 UTC (permalink / raw)
  To: 72125; +Cc: Gisement

Change-Id: I3abfc061d43645ec4a4c5432a63db96ccd6a1f94
---
 gnu/packages/messaging.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index ebe5a90be9..f02b905e9d 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1176,7 +1176,7 @@ (define-public python-nbxmpp
 (define-public gajim
   (package
     (name "gajim")
-    (version "1.7.3")
+    (version "1.9.1")
     (source
      (origin
        (method url-fetch)
@@ -1184,7 +1184,7 @@ (define-public gajim
                            (version-major+minor version)
                            "/gajim-" version ".tar.gz"))
        (sha256
-         (base32 "066kvkjw3qcdanr3nczy0wgcwihk9jc9zhzfr5bwlqvcyxcv7k5p"))
+         (base32 "1sssxahqvk6hpd1vc3b4lr35x0kf1sb3lmgn4w0djbh6iwdg7xan"))
        (patches
          (search-patches "gajim-honour-GAJIM_PLUGIN_PATH.patch"))))
     (build-system python-build-system)
@@ -1297,18 +1297,24 @@ (define-public gajim
            libsoup
            libxscrnsaver
            network-manager
+           python-cryptography
            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-protobuf
            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] 11+ messages in thread

* [bug#72125] [PATCH 0/4] gajim: Update to latest version
  2024-07-15 17:28 ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 Gisement
@ 2024-07-15 21:27   ` jgart via Guix-patches via
  2024-07-15 23:09     ` [bug#72125] " Gisement
  2024-07-30 11:57   ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 宋文武 via Guix-patches via
  1 sibling, 1 reply; 11+ messages in thread
From: jgart via Guix-patches via @ 2024-07-15 21:27 UTC (permalink / raw)
  To: 72125; +Cc: Gisement, Arun Isaac



Hi,

I can't apply your patch with `mumi am`:

$ mumi current 72125
$ mumi am -- -s -S
Backtrace:
           3 (primitive-load "/gnu/store/p3xfvin2a76618144l39i4nn17a…")
In mumi/client.scm:
   701:26  2 (am-reroll-count #:reroll-count _ #:dry-run? _ # _)
In srfi/srfi-1.scm:
   365:28  1 (take-right (#<<patch> subject: "[PATCH 0/4] gajim: U…>) …)
In unknown file:
           0 (list-tail (#<<patch> subject: "[PATCH 0/4] gajim: Up…>) …)

ERROR: In procedure list-tail:
In procedure list-tail: Wrong type argument in position 1 (expecting
pair): ()

How was it that you sent it?

-- 
all the best,
jgart




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

* [bug#72125] Re: [PATCH 0/4] gajim: Update to latest version
  2024-07-15 21:27   ` [bug#72125] [PATCH 0/4] gajim: Update to latest version jgart via Guix-patches via
@ 2024-07-15 23:09     ` Gisement
  0 siblings, 0 replies; 11+ messages in thread
From: Gisement @ 2024-07-15 23:09 UTC (permalink / raw)
  To: 72125; +Cc: Arun Isaac, jgart

jgart <jgart@dismail.de> writes:

> Hi,
>
> I can't apply your patch with `mumi am`:
>
> How was it that you sent it?

Hi!

I sent them using git send-mail.

I think the problem comes from my end. The mail server apparently didn't
send the patches 2, 3 and 4 to debbugs, so I had to resend them using
the guix-patches address and putting the bug tag in the subject line.

I think it may work now. Thank you!

-- 
You will not survive.




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

* [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2.
  2024-07-15 17:28 ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 Gisement
  2024-07-15 21:27   ` [bug#72125] [PATCH 0/4] gajim: Update to latest version jgart via Guix-patches via
@ 2024-07-30 11:57   ` 宋文武 via Guix-patches via
  1 sibling, 0 replies; 11+ messages in thread
From: 宋文武 via Guix-patches via @ 2024-07-30 11:57 UTC (permalink / raw)
  To: Gisement; +Cc: 72125

Gisement <sisiutl@egregore.fun> writes:

> Change-Id: Ibaf04dd3d66789ab0e2407e25e1a79e55f4d6e4d
> ---
>  gnu/packages/protobuf.scm | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
> index d47b67fa61..ef91a1b838 100644
> --- a/gnu/packages/protobuf.scm
> +++ b/gnu/packages/protobuf.scm
> @@ -429,21 +429,21 @@ (define-public python-nanopb
>  (define-public python-protobuf
>    (package
>      (name "python-protobuf")
> -    (version "3.20.2")
> +    (version "5.27.2")

Hello, this will broke packages (eg: onnx) which still depends on
protobuf < 4, the packages list can be get via:
  guix refresh --list-dependent python-protobuf

I guess onnx is not the only one will fail.

Maybe introduce as a new 'python-protobuf-5' package?




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

* [bug#72125] [PATCH 2/4] gnu: Add python-omemo-dr.
  2024-07-15 17:41 ` [bug#72125] [PATCH 2/4] gnu: Add python-omemo-dr Gisement
@ 2024-07-30 12:01   ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 11+ messages in thread
From: 宋文武 via Guix-patches via @ 2024-07-30 12:01 UTC (permalink / raw)
  To: Gisement; +Cc: 72125

Gisement <sisiutl@egregore.fun> writes:

> [...]
>
> +(define-public python-omemo-dr
> +  (package
> +    (name "python-omemo-dr")
> +    (version "1.0.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "omemo-dr" version))
> +       (sha256
> +        (base32 "0qfk0b153cmc85icnlpfv8mjaqd2spa7hlipvndr8wqx4dvqr2ia"))))
> +    (build-system python-build-system)
> +    (home-page "https://pypi.org/project/omemo-dr/")
> +    (synopsis "OMEMO Double Ratchet in Python")
> +    (description
> +     "Initial codebase was forked from
> + https://github.com/tgalal/python-axolotl but has since been heavily
> + rewritten.")

Hello, It's not clear what this package does from synopsis and
description, could you give a more descriptive one?  Thanks.  




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

* [bug#72125] [PATCH 4/4] gnu: gajim: Update to 1.9.1.
  2024-07-15 17:43 ` [bug#72125] [PATCH 4/4] gnu: gajim: Update to 1.9.1 Gisement
@ 2024-07-30 12:06   ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 11+ messages in thread
From: 宋文武 via Guix-patches via @ 2024-07-30 12:06 UTC (permalink / raw)
  To: Gisement; +Cc: 72125

Gisement <sisiutl@egregore.fun> writes:

> Change-Id: I3abfc061d43645ec4a4c5432a63db96ccd6a1f94
> ---
>  gnu/packages/messaging.scm | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)

Hello, the patch is missing commit message here, which should look like:

* gnu/packages/messaging.scm (gajim): Update to 1.9.1.
[inputs]: Add ......

Could you send an update patch series with commit messages?
Thank you!




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

* [bug#72125] [PATCH 3/4] gnu: python-nbxmpp: Update to 5.0.1.
  2024-07-15 17:43 ` [bug#72125] [PATCH 3/4] gnu: python-nbxmpp: Update to 5.0.1 Gisement
@ 2024-07-30 12:07   ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 11+ messages in thread
From: 宋文武 via Guix-patches via @ 2024-07-30 12:07 UTC (permalink / raw)
  To: Gisement; +Cc: 72125

Gisement <sisiutl@egregore.fun> writes:

> Change-Id: I52bcc544a43544f682b705de6622982f539a787e
> ---
>  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 0278653faf..ebe5a90be9 100644
> --- a/gnu/packages/messaging.scm
> +++ b/gnu/packages/messaging.scm
> @@ -1141,13 +1141,13 @@ (define-public znc
>  (define-public python-nbxmpp
>    (package
>      (name "python-nbxmpp")
> -    (version "4.2.2")
> +    (version "5.0.1")

5.0.3 is out, also missing commit message.




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

end of thread, other threads:[~2024-07-30 12:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 11:19 [bug#72125] [PATCH 0/4] gajim: Update to latest version Gisement
2024-07-15 17:28 ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 Gisement
2024-07-15 21:27   ` [bug#72125] [PATCH 0/4] gajim: Update to latest version jgart via Guix-patches via
2024-07-15 23:09     ` [bug#72125] " Gisement
2024-07-30 11:57   ` [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2 宋文武 via Guix-patches via
2024-07-15 17:41 ` [bug#72125] [PATCH 2/4] gnu: Add python-omemo-dr Gisement
2024-07-30 12:01   ` 宋文武 via Guix-patches via
2024-07-15 17:43 ` [bug#72125] [PATCH 3/4] gnu: python-nbxmpp: Update to 5.0.1 Gisement
2024-07-30 12:07   ` 宋文武 via Guix-patches via
2024-07-15 17:43 ` [bug#72125] [PATCH 4/4] gnu: gajim: Update to 1.9.1 Gisement
2024-07-30 12:06   ` 宋文武 via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).