GNU bug report logs - #72125
[PATCH 0/4] gajim: Update to latest version

Previous Next

Package: guix-patches;

Reported by: Gisement <sisiutl <at> egregore.fun>

Date: Mon, 15 Jul 2024 16:47:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 72125 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Mon, 15 Jul 2024 16:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gisement <sisiutl <at> egregore.fun>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 15 Jul 2024 16:47:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gisement <sisiutl <at> egregore.fun>
To: guix-patches <at> gnu.org
Cc: Gisement <sisiutl <at> egregore.fun>
Subject: [PATCH 0/4] gajim: Update to latest version
Date: Mon, 15 Jul 2024 13:19:43 +0200
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





Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Mon, 15 Jul 2024 17:33:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gisement <sisiutl <at> egregore.fun>
To: guix-patches <at> gnu.org
Cc: Gisement <sisiutl <at> egregore.fun>
Subject: bug#72125 [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2.
Date: Mon, 15 Jul 2024 19:28:54 +0200
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





Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Mon, 15 Jul 2024 21:28:02 GMT) Full text and rfc822 format available.

Message #11 received at 72125 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 72125 <at> debbugs.gnu.org
Cc: Gisement <sisiutl <at> egregore.fun>, Arun Isaac <arunisaac <at> systemreboot.net>
Subject: Re: [PATCH 0/4] gajim: Update to latest version
Date: Mon, 15 Jul 2024 16:27:10 -0500

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




Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Mon, 15 Jul 2024 22:11:02 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gisement <sisiutl <at> egregore.fun>
To: guix-patches <at> gnu.org
Cc: Gisement <sisiutl <at> egregore.fun>
Subject: bug#72125: [PATCH 2/4] gnu: Add python-omemo-dr.
Date: Mon, 15 Jul 2024 19:34:52 +0200
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





Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Mon, 15 Jul 2024 22:11:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Mon, 15 Jul 2024 22:11:03 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gisement <sisiutl <at> egregore.fun>
To: guix-patches <at> gnu.org
Cc: Gisement <sisiutl <at> egregore.fun>
Subject: bug#72125 [PATCH 3/4] gnu: python-nbxmpp: Update to 5.0.1.
Date: Mon, 15 Jul 2024 19:43:19 +0200
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





Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Mon, 15 Jul 2024 22:11:03 GMT) Full text and rfc822 format available.

Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gisement <sisiutl <at> egregore.fun>
To: guix-patches <at> gnu.org
Cc: Gisement <sisiutl <at> egregore.fun>
Subject: bug#72125 [PATCH 4/4] gnu: gajim: Update to 1.9.1.
Date: Mon, 15 Jul 2024 19:43:47 +0200
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





Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Mon, 15 Jul 2024 23:10:02 GMT) Full text and rfc822 format available.

Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gisement <sisiutl <at> egregore.fun>
To: guix-patches <at> gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>, jgart <jgart <at> dismail.de>
Subject: bug#72125 Re: [PATCH 0/4] gajim: Update to latest version
Date: Tue, 16 Jul 2024 01:09:06 +0200
jgart <jgart <at> 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.




Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Tue, 30 Jul 2024 11:59:02 GMT) Full text and rfc822 format available.

Message #29 received at 72125 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Gisement <sisiutl <at> egregore.fun>
Cc: 72125 <at> debbugs.gnu.org
Subject: Re: [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2.
Date: Tue, 30 Jul 2024 19:57:44 +0800
Gisement <sisiutl <at> 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?




Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Tue, 30 Jul 2024 12:05:01 GMT) Full text and rfc822 format available.

Message #32 received at 72125 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Gisement <sisiutl <at> egregore.fun>
Cc: 72125 <at> debbugs.gnu.org
Subject: Re: [bug#72125] [PATCH 2/4] gnu: Add python-omemo-dr.
Date: Tue, 30 Jul 2024 20:01:00 +0800
Gisement <sisiutl <at> 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.  




Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Tue, 30 Jul 2024 12:08:02 GMT) Full text and rfc822 format available.

Message #35 received at 72125 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Gisement <sisiutl <at> egregore.fun>
Cc: 72125 <at> debbugs.gnu.org
Subject: Re: [bug#72125] [PATCH 4/4] gnu: gajim: Update to 1.9.1.
Date: Tue, 30 Jul 2024 20:06:43 +0800
Gisement <sisiutl <at> 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!




Information forwarded to guix-patches <at> gnu.org:
bug#72125; Package guix-patches. (Tue, 30 Jul 2024 12:23:02 GMT) Full text and rfc822 format available.

Message #38 received at 72125 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Gisement <sisiutl <at> egregore.fun>
Cc: 72125 <at> debbugs.gnu.org
Subject: Re: [bug#72125] [PATCH 3/4] gnu: python-nbxmpp: Update to 5.0.1.
Date: Tue, 30 Jul 2024 20:07:10 +0800
Gisement <sisiutl <at> 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.




This bug report was last modified 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.