unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38211] [PATCH 0/9] Update Jami to 20111101
@ 2019-11-14 18:04 Pierre Neidhardt
  2019-11-14 18:06 ` [bug#38211] [PATCH 1/9] gnu: Add resample Pierre Neidhardt
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 18:04 UTC (permalink / raw)
  To: 38211

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

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

* [bug#38211] [PATCH 1/9] gnu: Add resample.
  2019-11-14 18:04 [bug#38211] [PATCH 0/9] Update Jami to 20111101 Pierre Neidhardt
@ 2019-11-14 18:06 ` Pierre Neidhardt
  2019-11-14 18:06   ` [bug#38211] [PATCH 2/9] gnu: Add sobjectizer Pierre Neidhardt
  2019-11-14 18:07 ` [bug#38211] [PATCH 3/9] gnu: Add restinio Pierre Neidhardt
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 18:06 UTC (permalink / raw)
  To: 38211

From: Jan Wielkiewicz <tona_kosmicznego_smiecia@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@systemreboot.net>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
+;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@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

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

* [bug#38211] [PATCH 2/9] gnu: Add sobjectizer.
  2019-11-14 18:06 ` [bug#38211] [PATCH 1/9] gnu: Add resample Pierre Neidhardt
@ 2019-11-14 18:06   ` Pierre Neidhardt
  0 siblings, 0 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 18:06 UTC (permalink / raw)
  To: 38211

From: Jan Wielkiewicz <tona_kosmicznego_smiecia@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@gnu.org>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
+;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@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

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

* [bug#38211] [PATCH 3/9] gnu: Add restinio.
  2019-11-14 18:04 [bug#38211] [PATCH 0/9] Update Jami to 20111101 Pierre Neidhardt
  2019-11-14 18:06 ` [bug#38211] [PATCH 1/9] gnu: Add resample Pierre Neidhardt
@ 2019-11-14 18:07 ` Pierre Neidhardt
  2019-11-14 18:07   ` [bug#38211] [PATCH 4/9] gnu: opendht: Update to 2.0.0beta2 Pierre Neidhardt
                     ` (3 more replies)
  2019-11-16 13:08 ` [bug#38211] [PATCH 0/9] Update Jami to 20111101 Jan
                   ` (2 subsequent siblings)
  4 siblings, 4 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 18:07 UTC (permalink / raw)
  To: 38211

* 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@waegenei.re>
 ;;; Copyright © 2019 Tonton <tonton@riseup.net>
 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
+;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@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

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

* [bug#38211] [PATCH 4/9] gnu: opendht: Update to 2.0.0beta2.
  2019-11-14 18:07 ` [bug#38211] [PATCH 3/9] gnu: Add restinio Pierre Neidhardt
@ 2019-11-14 18:07   ` Pierre Neidhardt
  2019-11-14 18:07   ` [bug#38211] [PATCH 7/9] gnu: pjproject-jami: Update to 2.9 Pierre Neidhardt
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 18:07 UTC (permalink / raw)
  To: 38211

From: Jan Wielkiewicz <tona_kosmicznego_smiecia@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

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

* [bug#38211] [PATCH 7/9] gnu: pjproject-jami: Update to 2.9
  2019-11-14 18:07 ` [bug#38211] [PATCH 3/9] gnu: Add restinio Pierre Neidhardt
  2019-11-14 18:07   ` [bug#38211] [PATCH 4/9] gnu: opendht: Update to 2.0.0beta2 Pierre Neidhardt
@ 2019-11-14 18:07   ` Pierre Neidhardt
  2019-11-14 18:07   ` [bug#38211] [PATCH 8/9] gnu: libring: Update to 20191101 Pierre Neidhardt
  2019-11-14 18:07   ` [bug#38211] [PATCH 9/9] gnu: jami: Fix wrapper Pierre Neidhardt
  3 siblings, 0 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 18:07 UTC (permalink / raw)
  To: 38211

* 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@riseup.net>
 ;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
 ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
+;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@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

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

* [bug#38211] [PATCH 8/9] gnu: libring: Update to 20191101.
  2019-11-14 18:07 ` [bug#38211] [PATCH 3/9] gnu: Add restinio Pierre Neidhardt
  2019-11-14 18:07   ` [bug#38211] [PATCH 4/9] gnu: opendht: Update to 2.0.0beta2 Pierre Neidhardt
  2019-11-14 18:07   ` [bug#38211] [PATCH 7/9] gnu: pjproject-jami: Update to 2.9 Pierre Neidhardt
@ 2019-11-14 18:07   ` Pierre Neidhardt
  2019-11-14 18:07   ` [bug#38211] [PATCH 9/9] gnu: jami: Fix wrapper Pierre Neidhardt
  3 siblings, 0 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 18:07 UTC (permalink / raw)
  To: 38211

* 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

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

* [bug#38211] [PATCH 9/9] gnu: jami: Fix wrapper.
  2019-11-14 18:07 ` [bug#38211] [PATCH 3/9] gnu: Add restinio Pierre Neidhardt
                     ` (2 preceding siblings ...)
  2019-11-14 18:07   ` [bug#38211] [PATCH 8/9] gnu: libring: Update to 20191101 Pierre Neidhardt
@ 2019-11-14 18:07   ` Pierre Neidhardt
  3 siblings, 0 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 18:07 UTC (permalink / raw)
  To: 38211

* 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

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-11-14 18:04 [bug#38211] [PATCH 0/9] Update Jami to 20111101 Pierre Neidhardt
  2019-11-14 18:06 ` [bug#38211] [PATCH 1/9] gnu: Add resample Pierre Neidhardt
  2019-11-14 18:07 ` [bug#38211] [PATCH 3/9] gnu: Add restinio Pierre Neidhardt
@ 2019-11-16 13:08 ` Jan
  2019-11-27 11:24 ` Arun Isaac
  2019-11-30 19:04 ` Arun Isaac
  4 siblings, 0 replies; 18+ messages in thread
From: Jan @ 2019-11-16 13:08 UTC (permalink / raw)
  To: 38211

>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

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-11-14 18:04 [bug#38211] [PATCH 0/9] Update Jami to 20111101 Pierre Neidhardt
                   ` (2 preceding siblings ...)
  2019-11-16 13:08 ` [bug#38211] [PATCH 0/9] Update Jami to 20111101 Jan
@ 2019-11-27 11:24 ` Arun Isaac
  2019-11-27 12:05   ` Pierre Neidhardt
  2019-11-30 19:04 ` Arun Isaac
  4 siblings, 1 reply; 18+ messages in thread
From: Arun Isaac @ 2019-11-27 11:24 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 38211

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]


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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-11-27 11:24 ` Arun Isaac
@ 2019-11-27 12:05   ` Pierre Neidhardt
  2019-11-28  9:47     ` Arun Isaac
  0 siblings, 1 reply; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-27 12:05 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 38211

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

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/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-11-27 12:05   ` Pierre Neidhardt
@ 2019-11-28  9:47     ` Arun Isaac
  2019-11-28 10:10       ` Pierre Neidhardt
  0 siblings, 1 reply; 18+ messages in thread
From: Arun Isaac @ 2019-11-28  9:47 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 38211

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]


> Anyways, sending again.

I still don't see the missing patches on the debbugs page for this
bug. Did you resend them?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-11-28  9:47     ` Arun Isaac
@ 2019-11-28 10:10       ` Pierre Neidhardt
  0 siblings, 0 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-28 10:10 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 38211


[-- Attachment #1.1: Type: text/plain, Size: 199 bytes --]

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/

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0005-gnu-pjproject-Update-to-2.9.patch --]
[-- Type: text/x-patch, Size: 3892 bytes --]

From 0b9e60dbd4c3cd9a20d1273517c8a501fa252449 Mon Sep 17 00:00:00 2001
From: Pierre Neidhardt <mail@ambrevar.xyz>
Date: Thu, 14 Nov 2019 18:03:12 +0100
Subject: [PATCH 5/9] gnu: pjproject: Update to 2.9.

* gnu/packages/telephony.scm (pjproject): Update to 2.9.
---
 gnu/packages/telephony.scm | 35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index abb68f62b2..ce65648e76 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -553,29 +553,32 @@ calls and messages")
 (define-public pjproject
   (package
     (name "pjproject")
-    (version "2.7.2")
+    (version "2.9")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "http://www.pjsip.org/release/" ;
-             version "/" name "-" version ".tar.bz2"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pjsip/pjproject.git")
+             (commit "5dfa75be7d69047387f9b0436dd9492bbbf03fe4")))
        (modules '((guix build utils)))
        (snippet
         '(begin
            (let ((third-party-directories
-                  (list "BaseClasses" "bdsound" "bin" "g7221" "gsm"
-                        "ilbc" "lib" "milenage" "mp3" "speex" "srtp"
-                        "resample"
+                  ;; Things we don't need:
+                  ;; BaseClasses - contains libraries from Windows SDK
+                  ;; we don't need it, at least not now.
+                  (list "BaseClasses" "g7221" "ilbc" "milenage"
+                        "speex" "threademulation" "yuv" "bdsound"
+                        "gsm" "mp3" "resample" "srtp" "webrtc"
                         ;; Keep only resample, build and README.txt.
                         "build/baseclasses" "build/g7221" "build/gsm"
-                        "build/ilbc" "build/milenage" "build/samplerate"
-                        "build/speex" "build/srtp"
-                        "build/resample" "build/yuv")))
+                        "build/ilbc" "build/milenage" "build/resample"
+                        "build/samplerate" "build/speex" "build/srtp"
+                        "build/webrtc" "build/yuv")))
              ;; Keep only Makefiles related to resample.
-             (for-each (lambda (file)
+             (for-each (lambda (directory)
                          (delete-file-recursively
-                          (string-append "third_party/" file)))
+                          (string-append "third_party/" directory)))
                        third-party-directories)
              #t)
            (let ((third-party-dirs
@@ -586,9 +589,10 @@ calls and messages")
                 (substitute* "third_party/build/os-linux.mak"
                   (((string-append "DIRS += " dirs)) "")))
               third-party-dirs))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0wiph6g51wanzwjjrpwsz63amgvly8g08jz033gnwqmppa584b4w"))))
+         "1ayj6n7zd5wvd1nzj2k9s57fb4ckc2fv92k5sjvhd87yg69k3393"))))
     (build-system gnu-build-system)
     (inputs
      `(("portaudio" ,portaudio)))
@@ -598,6 +602,7 @@ calls and messages")
      `(("speex" ,speex)
        ("libsrtp" ,libsrtp)
        ("gnutls" ,gnutls)
+       ("resample", resample)
        ("util-linux" ,util-linux)))
     (native-inputs
      `(("autoconf" ,autoconf)
@@ -615,7 +620,7 @@ calls and messages")
            (lambda _ (invoke "make" "dep")))
          (add-before 'patch-source-shebangs 'autoconf
            (lambda _
-             (invoke "autoconf" "-vfi" "-o"
+             (invoke "autoconf" "-v" "-f" "-i" "-o"
                      "aconfigure" "aconfigure.ac")))
          (add-before 'autoconf 'disable-some-tests
            ;; Three of the six test programs fail due to missing network
-- 
2.23.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0006-gnu-jami-Update-to-20191101.3.67671e7.patch --]
[-- Type: text/x-patch, Size: 1862 bytes --]

From 298c0fb463306846f3e97f6a89b9a78bef036599 Mon Sep 17 00:00:00 2001
From: Pierre Neidhardt <mail@ambrevar.xyz>
Date: Thu, 14 Nov 2019 18:03:44 +0100
Subject: [PATCH 6/9] gnu: jami: Update to 20191101.3.67671e7.

* gnu/packages/telephony.scm (jami): Update to 20191101.3.67671e7.
---
 gnu/packages/telephony.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index ce65648e76..e6d52bc832 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -636,12 +636,12 @@ calls and messages")
 Initiation Protocol (SIP) and a multimedia framework.")
     (license license:gpl2+)))
 
-(define %jami-version "20190319.4.a16a99f")
+(define %jami-version "20191101.3.67671e7")
 
 (define* (jami-source #:key without-daemon)
   (origin
     (method url-fetch)
-    (uri (string-append "http://dl.jami.net/ring-release/tarballs/ring_"
+    (uri (string-append "https://dl.jami.net/ring-release/tarballs/ring_"
                         %jami-version
                         ".tar.gz"))
     (modules '((guix build utils)))
@@ -652,7 +652,7 @@ Initiation Protocol (SIP) and a multimedia framework.")
        #f))
     (sha256
      (base32
-      "1c6n6sm7skw83v25g33g4jzbragz9j4przbzaz7asxw54jy33dwl"))))
+      "0kw172w2ccyz438kf5xqw14nhfm4xk6a2libnzib9j2wvhlpf4q0"))))
 
 (define-public pjproject-jami
   (package
@@ -699,7 +699,6 @@ Initiation Protocol (SIP) and a multimedia framework.")
                    ;; Comes from
                    ;; "ring-project/daemon/contrib/src/pjproject/rules.mak".
                    ;; WARNING: These amount for huge changes in pjproject.
-                   ;; Particularly, they add support for GnuTLS.
                    (savoir-faire-linux-patches
                     '("gnutls"
                       "rfc2466"
-- 
2.23.0


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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-11-14 18:04 [bug#38211] [PATCH 0/9] Update Jami to 20111101 Pierre Neidhardt
                   ` (3 preceding siblings ...)
  2019-11-27 11:24 ` Arun Isaac
@ 2019-11-30 19:04 ` Arun Isaac
  2019-11-30 20:02   ` Pierre Neidhardt
  4 siblings, 1 reply; 18+ messages in thread
From: Arun Isaac @ 2019-11-30 19:04 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 38211

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]


> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-11-30 19:04 ` Arun Isaac
@ 2019-11-30 20:02   ` Pierre Neidhardt
  2019-12-01 11:16     ` Arun Isaac
  0 siblings, 1 reply; 18+ messages in thread
From: Pierre Neidhardt @ 2019-11-30 20:02 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 38211

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

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/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-11-30 20:02   ` Pierre Neidhardt
@ 2019-12-01 11:16     ` Arun Isaac
  2019-12-01 12:24       ` Pierre Neidhardt
  0 siblings, 1 reply; 18+ messages in thread
From: Arun Isaac @ 2019-12-01 11:16 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 38211

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]


> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-12-01 11:16     ` Arun Isaac
@ 2019-12-01 12:24       ` Pierre Neidhardt
  2019-12-01 12:46         ` Pierre Neidhardt
  0 siblings, 1 reply; 18+ messages in thread
From: Pierre Neidhardt @ 2019-12-01 12:24 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 38211

[-- Attachment #1: Type: text/plain, Size: 96 bytes --]

I'll merge the patch then, thanks for testing!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38211] [PATCH 0/9] Update Jami to 20111101
  2019-12-01 12:24       ` Pierre Neidhardt
@ 2019-12-01 12:46         ` Pierre Neidhardt
  0 siblings, 0 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2019-12-01 12:46 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 38211

[-- Attachment #1: Type: text/plain, Size: 57 bytes --]

Merged.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2019-12-01 12:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 18:04 [bug#38211] [PATCH 0/9] Update Jami to 20111101 Pierre Neidhardt
2019-11-14 18:06 ` [bug#38211] [PATCH 1/9] gnu: Add resample Pierre Neidhardt
2019-11-14 18:06   ` [bug#38211] [PATCH 2/9] gnu: Add sobjectizer Pierre Neidhardt
2019-11-14 18:07 ` [bug#38211] [PATCH 3/9] gnu: Add restinio Pierre Neidhardt
2019-11-14 18:07   ` [bug#38211] [PATCH 4/9] gnu: opendht: Update to 2.0.0beta2 Pierre Neidhardt
2019-11-14 18:07   ` [bug#38211] [PATCH 7/9] gnu: pjproject-jami: Update to 2.9 Pierre Neidhardt
2019-11-14 18:07   ` [bug#38211] [PATCH 8/9] gnu: libring: Update to 20191101 Pierre Neidhardt
2019-11-14 18:07   ` [bug#38211] [PATCH 9/9] gnu: jami: Fix wrapper Pierre Neidhardt
2019-11-16 13:08 ` [bug#38211] [PATCH 0/9] Update Jami to 20111101 Jan
2019-11-27 11:24 ` Arun Isaac
2019-11-27 12:05   ` Pierre Neidhardt
2019-11-28  9:47     ` Arun Isaac
2019-11-28 10:10       ` Pierre Neidhardt
2019-11-30 19:04 ` Arun Isaac
2019-11-30 20:02   ` Pierre Neidhardt
2019-12-01 11:16     ` Arun Isaac
2019-12-01 12:24       ` Pierre Neidhardt
2019-12-01 12:46         ` Pierre Neidhardt

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).