unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Add libiax
@ 2016-05-28 23:08 Lukas Gradl
  2016-05-29  0:48 ` Leo Famulari
  2016-05-29  0:55 ` Leo Famulari
  0 siblings, 2 replies; 14+ messages in thread
From: Lukas Gradl @ 2016-05-28 23:08 UTC (permalink / raw)
  To: guix-devel

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


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!



[-- Attachment #2: 0001-gnu-telephony-Add-libiax.patch --]
[-- Type: text/x-patch, Size: 2609 bytes --]

From b6319840932e87b40c1f8ae4a7546727f7547d91 Mon Sep 17 00:00:00 2001
From: Lukas Gradl <lgradl@openmailbox.org>
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 © 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
 ;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,6 +22,7 @@
 
 (define-module (gnu packages telephony)
   #:use-module (gnu packages)
+  #:use-module (gnu packages autotools)  
   #: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 Security 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="
+           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 relaying
+Voice-over-IP (VoIP) comminications.")
+      (license lgpl2.0))))
-- 
2.7.4


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

end of thread, other threads:[~2016-06-02  1:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-28 23:08 [PATCH] Add libiax Lukas Gradl
2016-05-29  0:48 ` Leo Famulari
2016-05-30 19:47   ` Lukas Gradl
2016-05-31 19:02     ` Andreas Enge
2016-05-31 21:02       ` Leo Famulari
2016-06-01 14:40         ` Lukas Gradl
2016-06-02  1:44           ` Leo Famulari
2016-05-29  0:55 ` Leo Famulari
2016-05-30 19:50   ` Lukas Gradl
2016-05-31 16:25     ` Leo Famulari
2016-05-31 17:40       ` Efraim Flashner
2016-05-31 19:13       ` Andreas Enge
2016-05-31 21:01         ` Leo Famulari
2016-05-31 20:59       ` Leo Famulari

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