GNU bug report logs - #38211
[PATCH 0/9] Update Jami to 20111101

Previous Next

Package: guix-patches;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Thu, 14 Nov 2019 18:05:01 UTC

Severity: normal

Tags: patch

Done: Pierre Neidhardt <mail <at> ambrevar.xyz>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38211 in the body.
You can then email your comments to 38211 AT debbugs.gnu.org in the normal way.

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#38211; Package guix-patches. (Thu, 14 Nov 2019 18:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 14 Nov 2019 18:05:02 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/9] Update Jami to 20111101
Date: Thu, 14 Nov 2019 19:04:22 +0100
I believe this patchset to be mostly finished.
When I start Jami however, I get the tray icon but I cannot bring up the main interface, it does not show anything.

The console output is the following:


> (jami-gnome:4326): libnotify-WARNING **: 19:01:21.432: Failed to connect to proxy
>
> (jami-gnome:4326): Gtk-WARNING **: 19:01:21.432: Child name 'calls' not found in GtkStack
>
> (jami-gnome:4326): Gtk-CRITICAL **: 19:01:21.631: gtk_scrolled_window_add: assertion 'child_widget == NULL' failed
>
> (jami-gnome:4326): dconf-WARNING **: 19:01:21.653: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
>
> (jami-gnome:4326): dconf-WARNING **: 19:01:21.680: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
>
> (jami-gnome:4326): dconf-WARNING **: 19:01:21.680: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
>
> (jami-gnome:4326): dconf-WARNING **: 19:01:21.684: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
>
> (jami-gnome:4326): dconf-WARNING **: 19:01:21.684: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
> lookup name NOT FOUND: "" "35f9fe00a5e52f6c"
>
> (jami-gnome:4326): dconf-WARNING **: 19:01:21.701: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
> lookup name NOT FOUND: "" "35f9fe00a5e52f6c"
>
> (jami-gnome:4326): dconf-WARNING **: 19:01:21.701: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files


Note that I have this issue with the non-update package as well, so I don't think this is related to the update in this patch.

Maybe because I'm on EXWM?  It used to work a couple months ago though.

We might have something broken in our GTK / GNOME / dconf.
Can anyone test if Jami works on GNOME?

Jan Wielkiewicz (3):
  gnu: Add resample.
  gnu: Add sobjectizer.
  gnu: opendht: Update to 2.0.0beta2.

Pierre Neidhardt (6):
  gnu: Add restinio.
  gnu: pjproject: Update to 2.9.
  gnu: jami: Update to 20191101.3.67671e7.
  gnu: pjproject-jami: Update to 2.9
  gnu: libring: Update to 20191101.
  gnu: jami: Fix wrapper.

 gnu/packages/audio.scm      | 24 ++++++++++
 gnu/packages/cpp.scm        | 32 ++++++++++++++
 gnu/packages/networking.scm | 79 +++++++++++++++++++++++++++++----
 gnu/packages/telephony.scm  | 87 +++++++++++++++++++++++--------------
 4 files changed, 180 insertions(+), 42 deletions(-)

-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 14 Nov 2019 18:07:02 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 38211 <at> debbugs.gnu.org
Subject: [PATCH 2/9] gnu: Add sobjectizer.
Date: Thu, 14 Nov 2019 19:06:27 +0100
From: Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>

* gnu/packages/cpp.scm (sobjectizer): New variable.
---
 gnu/packages/cpp.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 12e766761f..97b6073705 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2018 Ludovic Courtès <ludo <at> gnu.org>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe <at> gmail.com>
 ;;; Copyright © 2019 Pierre Neidhardt <mail <at> ambrevar.xyz>
+;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -350,3 +351,34 @@ tools:
 @item CPU checker.
 @end itemize\n")
     (license license:bsd-3)))
+
+(define-public sobjectizer
+  (package
+    (name "sobjectizer")
+    (version "5.6.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Stiffstream/sobjectizer.git")
+             (commit (string-append "v." version))))
+       (sha256
+        (base32 "0jfai7sqxnnjkms38krm7mssj5l79nb3pllkbyj4j581a7l5j6l5"))
+       (file-name (git-file-name name version))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'change-directory
+           (lambda _
+             (chdir "dev")
+             #t)))))
+    (home-page "https://stiffstream.com/en/products/sobjectizer.html")
+    (synopsis "Cross-platform actor framework for C++")
+    (description
+     "SObjectizer is a cross-platform \"actor frameworks\" for C++.
+SObjectizer supports not only the Actor Model but also the Publish-Subscribe
+Model and CSP-like channels.  The goal of SObjectizer is to simplify
+development of concurrent and multithreaded applications in C++.")
+    (license license:bsd-3)))
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 14 Nov 2019 18:07:02 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 38211 <at> debbugs.gnu.org
Subject: [PATCH 1/9] gnu: Add resample.
Date: Thu, 14 Nov 2019 19:06:26 +0100
From: Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>

* gnu/packages/audio.scm (resample): New variable.
---
 gnu/packages/audio.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 15ba454edd..c59161a080 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2019 Arun Isaac <arunisaac <at> systemreboot.net>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe <at> gmail.com>
 ;;; Copyright © 2019 Alexandros Theodotou <alex <at> zrythm.org>
+;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2299,6 +2300,29 @@ aimed at audio/musical applications.")
                  (base32
                   "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr")))))))
 
+(define-public resample
+  (package
+    (name "resample")
+    (version "1.8.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://ccrma.stanford.edu/~jos/gz/resample-"
+                                  version
+                                  ".tar.gz"))
+              (sha256 (base32
+                       "074zj8ydp05yy1hjcglfv3hkvj4cm50f9nralka1992pm6yf8yvy"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)
+       ("libtool" ,libtool)))
+    (synopsis "Real-time library for sampling rate conversion")
+    (description "The @command{resample} software package contains free
+sampling-rate conversion and filter design utilities.")
+    (home-page "https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html")
+    (license license:lgpl2.1+)))
+
 (define-public rubberband
   (package
     (name "rubberband")
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 14 Nov 2019 18:08:03 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 38211 <at> debbugs.gnu.org
Subject: [PATCH 3/9] gnu: Add restinio.
Date: Thu, 14 Nov 2019 19:07:02 +0100
* gnu/packages/networking.scm (restinio): New variable.
---
 gnu/packages/networking.scm | 51 +++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 87cabee645..53822c427e 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2019 Brice Waegeneire <brice <at> waegenei.re>
 ;;; Copyright © 2019 Tonton <tonton <at> riseup.net>
 ;;; Copyright © 2019 Alex Griffin <a <at> ajgrf.com>
+;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -72,6 +73,7 @@
   #:use-module (gnu packages check)
   #:use-module (gnu packages code)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpp)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages dejagnu)
@@ -95,6 +97,7 @@
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
@@ -2520,6 +2523,54 @@ communication over HTTP.")
       (home-page "https://github.com/Corvusoft/restbed")
       (license license:agpl3+))))
 
+(define fmt-restinio
+  (package
+    (inherit fmt)
+    (arguments
+     '(#:configure-flags '("-DCMAKE_CXX_FLAGS=-fPIC")))))
+
+(define-public restinio
+  (package
+    (name "restinio")
+    (version "0.6.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Stiffstream/restinio.git")
+                    (commit (string-append "v." version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1c25kpx652nng8m1sqf5an2c3c4g3k6zj85mkkaxzk88iwfzq1s8"))))
+    (build-system cmake-build-system)
+    (inputs                             ; TODO: Need to force-keep references on some inputs, e.g. boost.
+     `(("zlib" ,zlib)
+       ("catch2" ,catch-framework2)
+       ("openssl" ,openssl)
+       ("boost" ,boost)
+       ("pcre" ,pcre)
+       ("pcre2" ,pcre2)
+       ("sobjectizer" ,sobjectizer)))
+    (propagated-inputs
+     `(("asio", asio)
+       ("fmt" ,fmt-restinio)
+       ("http-parser", http-parser)))
+    (arguments
+     `(#:configure-flags '("-DRESTINIO_INSTALL=on")
+       #:tests? #f ; TODO: The tests are called from the root CMakelist, need RESTINIO_TEST=on.
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'change-directory
+           (lambda _
+             (chdir "dev/restinio")
+             #t)))))
+    (home-page "https://stiffstream.com/en/products/restinio.html")
+    (synopsis "C++14 library that gives you an embedded HTTP/Websocket server")
+    (description "RESTinio is a header-only C++14 library that gives you an embedded
+HTTP/Websocket server.  It is based on standalone version of ASIO
+and targeted primarily for asynchronous processing of HTTP-requests.")
+    (license license:bsd-3)))
+
 (define-public opendht
   (package
     (name "opendht")
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 14 Nov 2019 18:08:04 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 38211 <at> debbugs.gnu.org
Subject: [PATCH 4/9] gnu: opendht: Update to 2.0.0beta2.
Date: Thu, 14 Nov 2019 19:07:03 +0100
From: Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>

* gnu/packages/networking.scm (opendht): Update to 2.0.0beta2.
---
 gnu/packages/networking.scm | 28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 53822c427e..ba48b8c6a6 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2574,7 +2574,7 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
 (define-public opendht
   (package
     (name "opendht")
-    (version "1.8.1")
+    (version "2.0.0beta2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2583,26 +2583,36 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0vninb5mak27wigajslyvr05vq7wbrwqhbr4wzl2nmqcb20wmlq2"))))
-    (build-system gnu-build-system)
+                "02ix0rvvyhq22gd5djcq84qz08ji7ln93faf23b27zjzni2klzv5"))))
+    ;; Since 2.0, the gnu-build-system does not seem to work anymore, upstream bug?
+    (build-system cmake-build-system)
     (inputs
      `(("gnutls" ,gnutls)
        ("nettle" ,nettle)
        ("readline" ,readline)
        ("jsoncpp" ,jsoncpp)
-       ("restbed" ,restbed)))
+       ("openssl" ,openssl)
+       ("fmt" ,fmt-restinio)))
     (propagated-inputs
-     `(("argon2" ,argon2)               ; TODO: Needed for the pkg-config .pc file to work?
+     `(("argon2" ,argon2)  ; TODO: Needed for the pkg-config .pc file to work?
        ("msgpack" ,msgpack)))           ;included in several installed headers
     (native-inputs
      `(("autoconf" ,autoconf)
        ("pkg-config" ,pkg-config)
+       ("restinio" ,restinio)
        ("automake" ,automake)
-       ("libtool" ,libtool)))
+       ("libtool" ,libtool)
+       ("cppunit" ,cppunit)))
     (arguments
-     `(#:configure-flags '("--disable-tools"
-                           "--disable-python"
-                           "--with-argon2")))
+     `(#:tests? #f                      ; Tests require network connection.
+       #:configure-flags
+       '(;; "-DOPENDHT_TESTS=on"
+         "-DOPENDHT_TOOLS=off"
+         "-DOPENDHT_PYTHON=off"
+         "-DOPENDHT_PROXY_SERVER=on"
+         "-DOPENDHT_PUSH_NOTIFICATIONS=on"
+         "-DOPENDHT_PROXY_SERVER_IDENTITY=on"
+         "-DOPENDHT_PROXY_CLIENT=on")))
     (home-page "https://github.com/savoirfairelinux/opendht/")
     (synopsis "Distributed Hash Table (DHT) library")
     (description "OpenDHT is a Distributed Hash Table (DHT) library.  It may
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 14 Nov 2019 18:08:04 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 38211 <at> debbugs.gnu.org
Subject: [PATCH 8/9] gnu: libring: Update to 20191101.
Date: Thu, 14 Nov 2019 19:07:07 +0100
* gnu/packages/telephony.scm (libring)[inputs]: Replace restbed with restinio,
  add asio.
---
 gnu/packages/telephony.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 2d6e5b2154..a3bc18f6f7 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -792,8 +792,9 @@ Initiation Protocol (SIP) and a multimedia framework.")
        ("libsecp256k1" ,libsecp256k1)
        ("python" ,python)
        ("python-wrapper" ,python-wrapper)
-       ("restbed" ,restbed)
+       ("restinio" ,restinio)
        ("libx11" ,libx11)
+       ("asio" ,asio)
        ;; TODO: Upstream seems to rely on a custom pjproject (a.k.a. pjsip) version.
        ;; See https://git.jami.net/savoirfairelinux/ring-daemon/issues/24.
        ("pjproject" ,pjproject-jami)))
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 14 Nov 2019 18:08:05 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 38211 <at> debbugs.gnu.org
Subject: [PATCH 9/9] gnu: jami: Fix wrapper.
Date: Thu, 14 Nov 2019 19:07:08 +0100
* gnu/packages/telephony.scm (jami)[arguments]: Wrap around jami-gnome instead
  of gnome-ring.
  [synopsis]: Make it more sensible.
---
 gnu/packages/telephony.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index a3bc18f6f7..5b6c578fce 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -897,7 +897,7 @@ This package provides a library common to all Jami clients.")
        ("glib:bin" ,glib "bin")
        ("doxygen" ,doxygen)))
     (propagated-inputs
-     `(("libring" ,libring)             ; Contains `dring', the daemon, which is automatically by d-bus.
+     `(("libring" ,libring) ; Contains `dring', the daemon, which is automatically by d-bus.
        ("adwaita-icon-theme" ,adwaita-icon-theme)
        ("evolution-data-server" ,evolution-data-server)))
     (arguments
@@ -912,10 +912,10 @@ This package provides a library common to all Jami clients.")
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
                     (path (string-append (assoc-ref inputs "sqlite") "/lib")))
-               (wrap-program (string-append out "/bin/gnome-ring")
+               (wrap-program (string-append out "/bin/jami-gnome")
                  `("LD_LIBRARY_PATH" ":" prefix (,path))))
              #t)))))
-    (synopsis "Distributed multimedia communications platform")
+    (synopsis "Distributed, privacy-respecting communication program")
     (description "Jami (formerly GNU Ring) is a secure and distributed voice,
 video and chat communication platform that requires no centralized server and
 leaves the power of privacy in the hands of the user.  It supports the SIP and
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 14 Nov 2019 18:08:05 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 38211 <at> debbugs.gnu.org
Subject: [PATCH 7/9] gnu: pjproject-jami: Update to 2.9
Date: Thu, 14 Nov 2019 19:07:06 +0100
* gnu/packages/telephony.scm (pjproject-jami)[arguments]: Fix flags, make
  files writable, update patch set.
---
 gnu/packages/telephony.scm | 36 ++++++++++++++++++++++++++----------
 1 file changed, 26 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index e6d52bc832..2d6e5b2154 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit <at> riseup.net>
 ;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>
 ;;; Copyright © 2019 Pierre Neidhardt <mail <at> ambrevar.xyz>
+;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -685,14 +686,20 @@ Initiation Protocol (SIP) and a multimedia framework.")
              "--disable-openh264"
              "--disable-resample"
              "--disable-libwebrtc"
-             ;; "-fPIC" is required for libring.  Bug?
-             "CFLAGS=-fPIC -DPJ_ENABLE_EXTRA_CHECK=1 -DPJ_ICE_MAX_CAND=256 -DPJ_ICE_MAX_CHECKS=1024 -DPJ_ICE_COMP_BITS=2 -DPJ_ICE_MAX_STUN=3 -DPJSIP_MAX_PKT_LEN=8000 -DPJ_ICE_ST_MAX_CAND=32"
-             "CXXFLAGS=-fPIC -DPJ_ENABLE_EXTRA_CHECK=1 -DPJ_ICE_MAX_CAND=256 -DPJ_ICE_MAX_CHECKS=1024 -DPJ_ICE_COMP_BITS=2 -DPJ_ICE_MAX_STUN=3 -DPJSIP_MAX_PKT_LEN=8000 -DPJ_ICE_ST_MAX_CAND=32"
-             ;; Now deviating from the rules.mak file.
-             "--enable-ssl=gnutls"
-             "--with-external-srtp")
+             "--with-gnutls"
+             "--with-external-srtp"
+             ;; We need -fPIC or else we get the following error when linking
+             ;; against pjproject-jami:
+             ;;   relocation R_X86_64_32S against `.rodata' can not be used when
+             ;;   making a shared object;
+             "CFLAGS=-fPIC"
+             "CXXFLAGS=-fPIC")
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'make-git-checkout-writable
+           (lambda _
+             (for-each make-file-writable (find-files "."))
+             #t))
          (add-after 'unpack 'apply-patches
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((savoir-faire-linux-patches-directory "Savoir-faire Linux patches")
@@ -700,19 +707,28 @@ Initiation Protocol (SIP) and a multimedia framework.")
                    ;; "ring-project/daemon/contrib/src/pjproject/rules.mak".
                    ;; WARNING: These amount for huge changes in pjproject.
                    (savoir-faire-linux-patches
-                    '("gnutls"
+                    '("fix_turn_alloc_failure"
                       "rfc2466"
                       "ipv6"
-                      "ice_config"
                       "multiple_listeners"
                       "pj_ice_sess"
                       "fix_turn_fallback"
                       "fix_ioqueue_ipv6_sendto"
                       "add_dtls_transport"
-                      "rfc6062")))
+                      "rfc6544"
+                      "ice_config"
+                      "sip_config"
+                      "fix_first_packet_turn_tcp"
+                      "fix_ebusy_turn"
+                      "ignore_ipv6_on_transport_check"
+                      "fix_turn_connection_failure"
+                      ;; "uwp_vs" ; for windows
+                      "disable_local_resolution")))
                (mkdir-p savoir-faire-linux-patches-directory)
                (invoke "tar" "-xvf" (assoc-ref inputs "savoir-faire-linux-patches")
-                       "-C" savoir-faire-linux-patches-directory "--strip-components=5" "ring-project/daemon/contrib/src/pjproject")
+                       "-C" savoir-faire-linux-patches-directory
+                       "--strip-components=5"
+                       "ring-project/daemon/contrib/src/pjproject")
                (for-each
                 (lambda (file)
                   (invoke "patch" "--force" "-p1" "-i"
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Sat, 16 Nov 2019 13:09:02 GMT) Full text and rfc822 format available.

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

From: Jan <tona_kosmicznego_smiecia <at> interia.pl>
To: 38211 <at> debbugs.gnu.org
Subject: [PATCH 0/9] Update Jami to 20111101
Date: Sat, 16 Nov 2019 14:08:04 +0100
>When I start Jami however, I get the tray icon but I cannot bring up
>the main interface, it does not show anything
> Maybe because I'm on EXWM?  It used to work a couple months ago
> though.
Works on my machine with XFCE, guix pulled, upgraded and reconfigured
yesterday.


Jan Wielkiewicz




Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Wed, 27 Nov 2019 11:25:02 GMT) Full text and rfc822 format available.

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

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Wed, 27 Nov 2019 16:54:05 +0530
[Message part 1 (text/plain, inline)]
Hi,

Patches 5 and 6 are missing in this patchset. I even checked the debbugs
web page for this bug at
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38211 , but it isn't
there. Did you forget to send them?

Thanks,
Arun.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Wed, 27 Nov 2019 12:06:02 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Wed, 27 Nov 2019 13:05:27 +0100
[Message part 1 (text/plain, inline)]
This is very strange.  In my Eshell history, patch 5 and 6 are part of
the command I've used to send patches from 3 to 9.  No clue why 2
patches would be missing in the middle.

Anyways, sending again.

Thanks for noticing!

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 28 Nov 2019 09:48:02 GMT) Full text and rfc822 format available.

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

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Thu, 28 Nov 2019 15:17:40 +0530
[Message part 1 (text/plain, inline)]
> Anyways, sending again.

I still don't see the missing patches on the debbugs page for this
bug. Did you resend them?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Thu, 28 Nov 2019 10:11:01 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Thu, 28 Nov 2019 11:10:42 +0100
[Message part 1 (text/plain, inline)]
What the hell?!?
Yes I did.  I don't get this.

I'm attaching them here, seems like git send-email fails to send those 2
patches for some reason.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]
[0005-gnu-pjproject-Update-to-2.9.patch (text/x-patch, attachment)]
[0006-gnu-jami-Update-to-20191101.3.67671e7.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Sat, 30 Nov 2019 19:06:01 GMT) Full text and rfc822 format available.

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

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Sun, 01 Dec 2019 00:34:49 +0530
[Message part 1 (text/plain, inline)]
> I believe this patchset to be mostly finished.

This patchset builds successfully. I am able to bring up the main jami
GUI. But, it tries to connect to the Jami daemon, fails and quits
immediately. I get a message box which says "Could not re-connect to the
Jami daemon (dring). Jami will now quit."

Am I missing something? Do I need to start dring somehow?

> Maybe because I'm on EXWM?  It used to work a couple months ago though.

I'm also on EXWM. I don't see any dconf errors in my console
output. Instead, I see the following.

** (jami-gnome:21234): WARNING **: 00:13:08.460: dring has possibly crashed, or has been killed... will wait 2.5 seconds and try to r
econnect                                                                                                                            

** (jami-gnome:21234): WARNING **: 00:13:10.977: Error : dring is not available, make sure it is running

** (jami-gnome:21234): WARNING **: 00:13:10.977: Error : dring is not available, make sure it is running

** (jami-gnome:21234): WARNING **: 00:13:10.977: could not reconnect to the daemon
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Sat, 30 Nov 2019 20:03:01 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Sat, 30 Nov 2019 21:02:06 +0100
[Message part 1 (text/plain, inline)]
This is great news!

You should start ring with ring.cx, _not_ gnome-ring.

If it still does not work, try launching dring:

/gnu/store/v9scpdy0zip94gsfl75zlw1alvgi6xkq-libring-20190319.4.a16a99f/lib/ring/dring -dcp

Now if it works for you I really wonder what's wrong with the GUI on my end...

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Sun, 01 Dec 2019 11:17:02 GMT) Full text and rfc822 format available.

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

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Sun, 01 Dec 2019 16:46:26 +0530
[Message part 1 (text/plain, inline)]
> You should start ring with ring.cx, _not_ gnome-ring.
>
> If it still does not work, try launching dring:
>
> /gnu/store/v9scpdy0zip94gsfl75zlw1alvgi6xkq-libring-20190319.4.a16a99f/lib/ring/dring -dcp

It works for me now, but only after launching dring manually like you
said. Running ring.cx without starting dring failed.

Thank you very much for your work on jami! :-) Jami is of great
importance to the decentralized internet, and it's nice to have it in
Guix.

> Now if it works for you I really wonder what's wrong with the GUI on
> my end...

This is strange, but I think someone who actually understands dconf and
dbus should comment on this. I'm sorry, I don't know enough.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Sun, 01 Dec 2019 12:25:01 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Sun, 01 Dec 2019 13:24:19 +0100
[Message part 1 (text/plain, inline)]
I'll merge the patch then, thanks for testing!

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38211; Package guix-patches. (Sun, 01 Dec 2019 12:47:01 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 38211 <at> debbugs.gnu.org
Subject: Re: [bug#38211] [PATCH 0/9] Update Jami to 20111101
Date: Sun, 01 Dec 2019 13:46:37 +0100
[Message part 1 (text/plain, inline)]
Merged.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 38211 <at> debbugs.gnu.org and Pierre Neidhardt <mail <at> ambrevar.xyz> Request was from Pierre Neidhardt <mail <at> ambrevar.xyz> to control <at> debbugs.gnu.org. (Sun, 01 Dec 2019 12:48:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 30 Dec 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 111 days ago.

Previous Next


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