GNU bug report logs -
#31156
Update Gajim to 1.0.1
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31156 in the body.
You can then email your comments to 31156 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#31156
; Package
guix-patches
.
(Sat, 14 Apr 2018 22:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Clément Lassieur <clement <at> lassieur.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 14 Apr 2018 22:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
These two patches update Gajim to 1.0.1.
Comments are welcome!
Clément
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31156
; Package
guix-patches
.
(Sat, 14 Apr 2018 22:37:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 31156 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/messaging.scm (python-nbxmpp): Update to 0.6.4.
---
gnu/packages/messaging.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 917d5ed8e..8635cbf44 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2015 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2016, 2017 Nils Gillmann <ng0 <at> n0.is>
;;; Copyright © 2016 Andy Patterson <ajpatter <at> uwaterloo.ca>
-;;; Copyright © 2016, 2017 Clément Lassieur <clement <at> lassieur.org>
+;;; Copyright © 2016, 2017, 2018 Clément Lassieur <clement <at> lassieur.org>
;;; Copyright © 2017 Mekeor Melire <mekeor.melire <at> gmail.com>
;;; Copyright © 2017 Arun Isaac <arunisaac <at> systemreboot.net>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me <at> tobias.gr>
@@ -485,14 +485,14 @@ simultaneously and therefore appear under the same nickname on IRC.")
(define-public python-nbxmpp
(package
(name "python-nbxmpp")
- (version "0.6.1")
+ (version "0.6.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "nbxmpp" version))
(sha256
(base32
- "0qvkiscy42nhzhccszi049ws8cnhpxgc13g8naq1rsa5x9zy163c"))))
+ "12rfmp613alh3mi8f94008sx7x1a8c1izs3icrvw7bf4gnf2pi31"))))
(build-system python-build-system)
(arguments
`(#:tests? #f)) ; no tests
--
2.17.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31156
; Package
guix-patches
.
(Sat, 14 Apr 2018 22:37:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 31156 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/messaging.scm (python2-nbxmpp): Remove variable.
(gajim): Update to 1.0.1.
[build-system]: Change to PYTHON-BUILD-SYSTEM.
[arguments]: Remove the PYTHONPATH wrapper. Don't override "APP". Add a
GI_TYPELIB_PATH wrapper. Add 'remove-test-resolver, 'start-xserver and
'install-icons phases.
[native-inputs]: Add XORG-SERVER.
[inputs]: Remove PYTHON2-AXOLOTL, PYTHON2-NBXMPP, PYTHON2-PYOPENSSL,
PYTHON2-GNUPG, PYTHON2-PYGTK, PYTHON-2. Add ADWAITA-ICON-THEME,
GNOME-KEYRING, GTK+, GTKSPELL3, HICOLOR-ICON-THEME, LIBSECRET, PYTHON-DBUS,
PYTHON-DOCUTILS, PYTHON-GNUPG, PYTHON-NBXMPP, PYTHON-PILLOW, PYTHON-PYASN1,
PYTHON-PYCAIRO, PYTHON-PYGOBJECT, PYTHON-PYOPENSSL.
---
gnu/packages/messaging.scm | 85 ++++++++++++++++++++++++++------------
1 file changed, 59 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 8635cbf44..fe45fb7fc 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -504,13 +504,10 @@ applications to use Jabber/XMPP networks in a non-blocking way. This library
was initially a fork of xmpppy, but uses non-blocking sockets.")
(license license:gpl3+)))
-(define-public python2-nbxmpp
- (package-with-python2 python-nbxmpp))
-
(define-public gajim
(package
(name "gajim")
- (version "0.16.9")
+ (version "1.0.1")
(source (origin
(method url-fetch)
(uri (string-append "https://gajim.org/downloads/"
@@ -518,36 +515,72 @@ was initially a fork of xmpppy, but uses non-blocking sockets.")
"/gajim-" version ".tar.bz2"))
(sha256
(base32
- "0v08zdvpqaig0wxpxn1l8rsj3wr3fqvnagn8cnvch17vfqv9gcr1"))))
- (build-system gnu-build-system)
+ "16ynws10vhx6rhjjjmzw6iyb3hc19823xhx4gsb14hrc7l8vzd1c"))))
+ (build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda* (#:key outputs #:allow-other-keys)
- ;; Make sure all Python scripts run with the correct PYTHONPATH.
- (let ((out (assoc-ref outputs "out"))
- (path (getenv "PYTHONPATH")))
- (for-each (lambda (name)
- (let ((file (string-append out "/bin/" name)))
- ;; Wrapping destroys identification of intended
- ;; application, so we need to override "APP".
- (substitute* file
- (("APP=`basename \\$0`")
- (string-append "APP=" name)))
- (wrap-program file
- `("PYTHONPATH" ":" prefix (,path)))))
- '("gajim" "gajim-remote" "gajim-history-manager")))
+ (let ((out (assoc-ref outputs "out")))
+ (for-each
+ (lambda (name)
+ (let ((file (string-append out "/bin/" name))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (wrap-program file
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))
+ '("gajim" "gajim-remote" "gajim-history-manager")))
+ #t))
+ (add-before 'check 'remove-test-resolver
+ ;; This test requires network access.
+ (lambda _
+ (substitute* "test/runtests.py"
+ (("'integration.test_resolver',") ""))
+ #t))
+ (add-before 'check 'start-xserver
+ ;; Tests require a running X server.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((xorg-server (assoc-ref inputs "xorg-server"))
+ (display ":1"))
+ (setenv "DISPLAY" display)
+ (zero? (system (string-append xorg-server "/bin/Xvfb "
+ display " &"))))))
+ (add-after 'install 'install-icons
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (adwaita (string-append
+ (assoc-ref inputs "adwaita-icon-theme")
+ "/share/icons/Adwaita"))
+ (hicolor (string-append
+ (assoc-ref inputs "hicolor-icon-theme")
+ "/share/icons/hicolor"))
+ (icons (string-append
+ out "/lib/python"
+ ,(version-major+minor (package-version python))
+ "/site-packages/gajim/data/icons")))
+ (with-directory-excursion icons
+ (symlink adwaita "Adwaita")
+ (copy-recursively hicolor "hicolor")))
#t)))))
(native-inputs
- `(("intltool" ,intltool)))
+ `(("intltool" ,intltool)
+ ("xorg-server" ,xorg-server)))
(inputs
- `(("python2-axolotl" ,python2-axolotl)
- ("python2-nbxmpp" ,python2-nbxmpp)
- ("python2-pyopenssl" ,python2-pyopenssl)
- ("python2-gnupg" ,python2-gnupg)
- ("python2-pygtk" ,python2-pygtk)
- ("python" ,python-2)))
+ `(("adwaita-icon-theme" ,adwaita-icon-theme)
+ ("gnome-keyring" ,gnome-keyring)
+ ("gtk+" ,gtk+)
+ ("gtkspell3" ,gtkspell3)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)
+ ("libsecret" ,libsecret)
+ ("python-dbus" ,python-dbus)
+ ("python-docutils" ,python-docutils)
+ ("python-gnupg" ,python-gnupg)
+ ("python-nbxmpp" ,python-nbxmpp)
+ ("python-pillow" ,python-pillow)
+ ("python-pyasn1" ,python-pyasn1)
+ ("python-pycairo" ,python-pycairo)
+ ("python-pygobject" ,python-pygobject)
+ ("python-pyopenssl" ,python-pyopenssl)))
(home-page "https://gajim.org/")
(synopsis "Jabber (XMPP) client")
(description "Gajim is a feature-rich and easy to use Jabber/XMPP client.
--
2.17.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31156
; Package
guix-patches
.
(Sun, 15 Apr 2018 08:32:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 31156 <at> debbugs.gnu.org (full text, mbox):
Clément Lassieur <clement <at> lassieur.org> writes:
> (inputs
> - `(("python2-axolotl" ,python2-axolotl)
> - ("python2-nbxmpp" ,python2-nbxmpp)
> - ("python2-pyopenssl" ,python2-pyopenssl)
> - ("python2-gnupg" ,python2-gnupg)
> - ("python2-pygtk" ,python2-pygtk)
> - ("python" ,python-2)))
> + `(("adwaita-icon-theme" ,adwaita-icon-theme)
> + ("gnome-keyring" ,gnome-keyring)
> + ("gtk+" ,gtk+)
> + ("gtkspell3" ,gtkspell3)
> + ("hicolor-icon-theme" ,hicolor-icon-theme)
> + ("libsecret" ,libsecret)
> + ("python-dbus" ,python-dbus)
> + ("python-docutils" ,python-docutils)
> + ("python-gnupg" ,python-gnupg)
> + ("python-nbxmpp" ,python-nbxmpp)
> + ("python-pillow" ,python-pillow)
> + ("python-pyasn1" ,python-pyasn1)
> + ("python-pycairo" ,python-pycairo)
> + ("python-pygobject" ,python-pygobject)
> + ("python-pyopenssl" ,python-pyopenssl)))
I'll also add python-axolotl and python-qrcode to add OMEMO support.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31156
; Package
guix-patches
.
(Mon, 16 Apr 2018 22:19:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 31156 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Clément Lassieur <clement <at> lassieur.org> writes:
> * gnu/packages/messaging.scm (python-nbxmpp): Update to 0.6.4.
LGTM.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31156
; Package
guix-patches
.
(Mon, 16 Apr 2018 22:24:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 31156 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Clément Lassieur <clement <at> lassieur.org> writes:
> * gnu/packages/messaging.scm (python2-nbxmpp): Remove variable.
> (gajim): Update to 1.0.1.
> [build-system]: Change to PYTHON-BUILD-SYSTEM.
> [arguments]: Remove the PYTHONPATH wrapper. Don't override "APP". Add a
> GI_TYPELIB_PATH wrapper. Add 'remove-test-resolver, 'start-xserver and
> 'install-icons phases.
> [native-inputs]: Add XORG-SERVER.
> [inputs]: Remove PYTHON2-AXOLOTL, PYTHON2-NBXMPP, PYTHON2-PYOPENSSL,
> PYTHON2-GNUPG, PYTHON2-PYGTK, PYTHON-2. Add ADWAITA-ICON-THEME,
> GNOME-KEYRING, GTK+, GTKSPELL3, HICOLOR-ICON-THEME, LIBSECRET, PYTHON-DBUS,
> PYTHON-DOCUTILS, PYTHON-GNUPG, PYTHON-NBXMPP, PYTHON-PILLOW, PYTHON-PYASN1,
> PYTHON-PYCAIRO, PYTHON-PYGOBJECT, PYTHON-PYOPENSSL.
Wooow, nice work. Is there any reason to remove python2-nbmxmpp? I
understand gajim was the only consumer in Guix, but it may be needed
again in the future, or be in use by downstreams.
If upstream no longer supports Python2, maybe it would be better as a
separate change/squashed in the previous commit?
Anyway, thanks for this, the Gajim changes LGTM!
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Clément Lassieur <clement <at> lassieur.org>
:
You have taken responsibility.
(Tue, 17 Apr 2018 09:25:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Clément Lassieur <clement <at> lassieur.org>
:
bug acknowledged by developer.
(Tue, 17 Apr 2018 09:25:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 31156-done <at> debbugs.gnu.org (full text, mbox):
Marius Bakke <mbakke <at> fastmail.com> writes:
> Clément Lassieur <clement <at> lassieur.org> writes:
>
>> * gnu/packages/messaging.scm (python2-nbxmpp): Remove variable.
>> (gajim): Update to 1.0.1.
>> [build-system]: Change to PYTHON-BUILD-SYSTEM.
>> [arguments]: Remove the PYTHONPATH wrapper. Don't override "APP". Add a
>> GI_TYPELIB_PATH wrapper. Add 'remove-test-resolver, 'start-xserver and
>> 'install-icons phases.
>> [native-inputs]: Add XORG-SERVER.
>> [inputs]: Remove PYTHON2-AXOLOTL, PYTHON2-NBXMPP, PYTHON2-PYOPENSSL,
>> PYTHON2-GNUPG, PYTHON2-PYGTK, PYTHON-2. Add ADWAITA-ICON-THEME,
>> GNOME-KEYRING, GTK+, GTKSPELL3, HICOLOR-ICON-THEME, LIBSECRET, PYTHON-DBUS,
>> PYTHON-DOCUTILS, PYTHON-GNUPG, PYTHON-NBXMPP, PYTHON-PILLOW, PYTHON-PYASN1,
>> PYTHON-PYCAIRO, PYTHON-PYGOBJECT, PYTHON-PYOPENSSL.
>
> Wooow, nice work. Is there any reason to remove python2-nbmxmpp? I
> understand gajim was the only consumer in Guix, but it may be needed
> again in the future, or be in use by downstreams.
>
> If upstream no longer supports Python2, maybe it would be better as a
> separate change/squashed in the previous commit?
>
> Anyway, thanks for this, the Gajim changes LGTM!
Hi Marius,
I'm fine with keeping python2-nbxmpp, just in case someone needs it
later, so I re-added it and pushed.
Thank you for reviewing!
Clément
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 15 May 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 36 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.