From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukas Gradl Subject: [PATCH] Add libiax Date: Sat, 28 May 2016 18:08:57 -0500 Message-ID: <87shx17pbq.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6nM0-0007P3-PZ for guix-devel@gnu.org; Sat, 28 May 2016 19:09:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6nLv-0002A8-Q3 for guix-devel@gnu.org; Sat, 28 May 2016 19:09:11 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:60984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6nLv-00029z-Fy for guix-devel@gnu.org; Sat, 28 May 2016 19:09:07 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hi Guix, Attached is a patch for LibIAX, a library that is used by the Ring (formerly SFLphone). Upstream seems to use no version numbers. I used the git commit ID that is also refered to in the version that is bundeled with Ring. This is also the latest commit to libiax. Thank you! --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-telephony-Add-libiax.patch Content-Transfer-Encoding: quoted-printable >From b6319840932e87b40c1f8ae4a7546727f7547d91 Mon Sep 17 00:00:00 2001 From: Lukas Gradl Date: Sat, 28 May 2016 17:50:28 -0500 Subject: [PATCH] gnu: telephony: Add libiax. * gnu/packages/telephony.scm (libiax): New variable. --- gnu/packages/telephony.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 50a83fb..754c4c5 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2015 Andreas Enge ;;; Copyright =C2=A9 2015 David Hashe ;;; Copyright =C2=A9 2015 Efraim Flashner +;;; Copyright =C2=A9 2016 Lukas Gradl ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,6 +22,7 @@ =20 (define-module (gnu packages telephony) #:use-module (gnu packages) + #:use-module (gnu packages autotools)=20=20 #:use-module (gnu packages gnupg) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) @@ -211,3 +213,36 @@ Real-time Transport Protocol (SRTP), the Universal Sec= urity Transform (UST), and a supporting cryptographic kernel.") (home-page "https://github.com/cisco/libsrtp") (license bsd-3))) + +(define-public libiax + (let ((commit "0e5980f1d78ce462e2d1ed6bc39ff35c8341f201")) + ;; This is the commit used by the Ring Project. + (package + (name "libiax") + (version (string-append "2-" (string-take commit 7))) + (source + (origin + (method url-fetch) + (uri + (string-append + "https://gitlab.savoirfairelinux.com/sflphone/libiax2/" + "repository/archive.tar.gz?ref=3D" + commit)) + (sha256 + (base32 + "0cj5293bixp3k5x3hjwyd0iq7z8w5p7yavxvvkqk5817hjq386y2")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'configure 'autoconf + (lambda _ + (zero? (system* "autoreconf" "-vfi"))))))) + (home-page "https://gitlab.savoirfairelinux.com/sflphone/libiax2") + (synopsis "Inter-Asterisk-Protocol library") + (description "LibIAX implements the Inter-Asterisk-Protocol for rela= ying +Voice-over-IP (VoIP) comminications.") + (license lgpl2.0)))) --=20 2.7.4 --=-=-=--