From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46881) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKKbH-0001la-Mg for guix-patches@gnu.org; Fri, 03 Apr 2020 07:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKKbG-0007gJ-9S for guix-patches@gnu.org; Fri, 03 Apr 2020 07:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57969) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKKbG-0007fw-6F for guix-patches@gnu.org; Fri, 03 Apr 2020 07:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKKbG-0000Kz-2a for guix-patches@gnu.org; Fri, 03 Apr 2020 07:35:02 -0400 Subject: [bug#40264] Linphone: 12-add-belle-sip-v2 Resent-Message-ID: Date: Fri, 3 Apr 2020 13:34:35 +0200 From: Danny Milosavljevic Message-ID: <20200403133435.57d546b5@scratchpost.org> In-Reply-To: <326baae6c830af093895314ee72572a9@disroot.org> References: <20200402132447.1db0ed9b@scratchpost.org> <03bed573467e87d60306402b6772d4b6@disroot.org> <326baae6c830af093895314ee72572a9@disroot.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/yULOV2vrQo99c3EjJFKuT.f"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Raghav Gururajan Cc: 40264@debbugs.gnu.org --Sig_/yULOV2vrQo99c3EjJFKuT.f Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Raghav, On Thu, 02 Apr 2020 17:19:29 +0000 "Raghav Gururajan" wrote: > I suspect it could be due to having two different definitions for bctoolb= ox and ortp. Could you try belle-sip after applying the patch http://debbug= s.gnu.org/cgi/bugreport.cgi?bug=3D40326 I tried and it didn't help. However, I found and fixed the problem: =46rom 1f847861de4ab73011d6243fb652f098e16106cb Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 1 Apr 2020 20:42:33 -0400 Subject: [FIXME 2/2] gnu: Add belle-sip. Tags: patch * gnu/packages/linphone.scm (belle-sip): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/linphone.scm | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index 18a11776e8..9cbbd5e7d6 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -22,11 +22,13 @@ #:use-module (gnu packages admin) #:use-module (gnu packages audio) #:use-module (gnu packages base) + #:use-module (gnu packages compression) #:use-module (gnu packages documentation) #:use-module (gnu packages gl) #:use-module (gnu packages gnome) #:use-module (gnu packages graphviz) #:use-module (gnu packages image) + #:use-module (gnu packages java) #:use-module (gnu packages linux) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) @@ -335,3 +337,43 @@ is responsible for receiving and sending all multimedi= a streams in Linphone, including media capture, encoding and decoding, and rendering.") (home-page "https://gitlab.linphone.org/BC/public/mediastreamer2") (license license:gpl2+))) + +(define-public belle-sip + (package + (name "belle-sip") + (version "1.6.3") + (source + (origin + (method url-fetch) + (uri + (string-append "https://www.linphone.org/releases/sources/" name + "/" name "-" version ".tar.gz")) + (sha256 + (base32 "0s55kggmgxap54dkw5856bgk4xg7yvbzialpxnjm0zhpic3hff1z")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; Requires network access + #:configure-flags + (list + "-DENABLE_STATIC=3DNO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "src/CMakeLists.txt" + ;; ANTLR would use multithreaded DFA generation + ;; otherwise--which would not be reproducible. + (("-Xmultithreaded ") "")) + #t))))) + (inputs + `(("antlr3" ,antlr3-3.3) + ("antlr3c" ,libantlr3c) + ("bctoolbox" ,bctoolbox) + ("java" ,icedtea) + ("zlib" ,zlib))) + (synopsis "Belledonne Communications SIP Library") + (description "Belle-sip is a modern library implementing SIP transport, +transaction and dialog layers. It is written in C, with an object-oriented +API. It also comprises a simple HTTP/HTTPS client implementation.") + (home-page "https://gitlab.linphone.org/BC/public/belle-sip") + (license license:gpl2+))) --Sig_/yULOV2vrQo99c3EjJFKuT.f Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6HH0sACgkQ5xo1VCww uqXpeAf/fOvoBrSHAqTgLSAaww/E0Nl/QwiyzjIfGnr8YzAfdW5h026VKs/Flls5 C4d32cESkCwOSDWHfk83C/0+Q9US8y2sTzS3aSZnd+Ocv2eKj/700wqaH1nJ86Qb RG+ozrvigBRcA8IIXISCtH+fEqw+hFYQzhnmrgKgadU/0xMWRi0qH0KKqyRhNbRS O9+/PMfJKA/b3A3hTUGs8mYsDcZUffccqwdv576POEd+Tk0gwYGHH+JxFIenPgK8 UNFvZahSIXoPqgZKFVHWXO7tXhpqCqgp/eWLQ687PJovJ80jbMPXpGaPInIOlCvv YRLtpn0yb2NqRnAJc6BWW1yCh9esgg== =PfBy -----END PGP SIGNATURE----- --Sig_/yULOV2vrQo99c3EjJFKuT.f--