2014-07-08 12:59:09 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright 2014 John Darrington <jmd@gnu.org>
|
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages telephony)
|
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages gnupg)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (guix licenses)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
(define-public commoncpp
|
|
|
|
(package
|
|
|
|
(name "commoncpp")
|
|
|
|
(version "1.8.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/" name "/commoncpp2-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"0kmgr5w3b1qwzxnsnw94q6rqs0hr8nbv9clf07ca2a2fyypx9kjk"))))
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(alist-cons-before
|
|
|
|
'configure 'pre-configure
|
|
|
|
(lambda _
|
|
|
|
(substitute* "src/applog.cpp"
|
|
|
|
(("^// TODO sc.*") "#include <sys/types.h>\n#include <sys/stat.h>\n")))
|
|
|
|
%standard-phases)))
|
|
|
|
(build-system gnu-build-system)
|
2014-11-05 17:23:38 -05:00
|
|
|
(synopsis "(u)Common C++ framework for threaded applications")
|
2014-07-08 12:59:09 -04:00
|
|
|
(description "GNU Common C++ is an portable, optimized class framework for
|
|
|
|
threaded applications, supporting concurrent synchronization, inter-process
|
|
|
|
communications via sockets, and various methods for data handling, such as
|
|
|
|
serialization and XML parsing. It includes the uCommon C++ library, a smaller
|
|
|
|
reimplementation.")
|
|
|
|
(license gpl2+) ; plus runtime exception
|
|
|
|
(home-page "http://www.gnu.org/software/commoncpp")))
|
|
|
|
|
|
|
|
(define-public ucommon
|
|
|
|
(package
|
|
|
|
(name "ucommon")
|
2014-09-27 04:25:22 -04:00
|
|
|
(version "6.1.11")
|
2014-07-08 12:59:09 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/commoncpp/" name "-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
2014-09-27 04:25:22 -04:00
|
|
|
"0hpwxiyd7c3qnzksk6vw94cdig1v8yy6khgcaa87a7hb3zbkv4zg"))))
|
2014-07-08 12:59:09 -04:00
|
|
|
(build-system gnu-build-system)
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
(synopsis "Common C++ framework for threaded applications")
|
|
|
|
(description "GNU uCommon C++ is meant as a very light-weight C++ library
|
|
|
|
to facilitate using C++ design patterns even for very deeply embedded
|
|
|
|
applications, such as for systems using uclibc along with posix threading
|
|
|
|
support.")
|
2014-07-08 12:59:09 -04:00
|
|
|
(license gpl2+) ; plus runtime exception
|
|
|
|
(home-page "http://www.gnu.org/software/commoncpp")))
|
|
|
|
|
|
|
|
(define-public ccrtp
|
|
|
|
(package
|
|
|
|
(name "ccrtp")
|
|
|
|
(version "2.0.9")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/ccrtp/ccrtp-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"1prh2niwa4lzvskk12j4ckr7dv141dfh8yjmpkbhbnv4gmpifci0"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("ucommon" ,ucommon)
|
|
|
|
("libgcrypt" ,libgcrypt)))
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
(synopsis "Implementation of RTP (real-time transport protocol)")
|
|
|
|
(description "GNU ccRTP is an implementation of RTP, the real-time transport
|
|
|
|
protocol from the IETF. It is suitable both for high capacity servers and
|
|
|
|
personal client applications. It is flexible in its design, allowing it to
|
|
|
|
function as a framework for the framework, rather than just being a
|
|
|
|
packet-manipulation library.")
|
|
|
|
(license gpl2+) ; plus runtime exception
|
|
|
|
(home-page "http://www.gnu.org/software/ccrtp")))
|
|
|
|
|
|
|
|
|
|
|
|
(define-public osip
|
|
|
|
(package
|
|
|
|
(name "osip")
|
|
|
|
(version "4.1.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/osip/libosip2-" version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"014503kqv7z63az6lgxr5fbajlrqylm5c4kgbf8p3a0n6cva0slr"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
|
|
|
(synopsis "Library implementing SIP (RFC-3261)")
|
|
|
|
(description "GNU oSIP is an implementation of the SIP protocol. It is
|
|
|
|
used to provide multimedia and telecom software developers with an interface
|
|
|
|
to initiate and control SIP sessions.")
|
|
|
|
(license lgpl2.1+)
|
|
|
|
(home-page "http://www.gnu.org/software/osip")))
|
|
|
|
|
|
|
|
|
|
|
|
(define-public exosip
|
|
|
|
(package
|
|
|
|
(name "exosip")
|
|
|
|
(version "4.1.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://download.savannah.gnu.org/releases/exosip/libeXosip2-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"17cna8kpc8nk1si419vgr6r42k2lda0rdk50vlxrw8rzg0xp2xrw"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("osip" ,osip)))
|
|
|
|
(synopsis "Sip abstraction library")
|
|
|
|
(description "EXosip is a library that hides the complexity of using the
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
SIP protocol for mutlimedia session establishement. This protocol is mainly to
|
2014-07-08 12:59:09 -04:00
|
|
|
be used by VoIP telephony applications (endpoints or conference server) but
|
|
|
|
might be also usefull for any application that wish to establish sessions like
|
|
|
|
multiplayer games.")
|
|
|
|
(license gpl2+)
|
|
|
|
;; (plus OpenSSL linking exception)
|
|
|
|
;; http://git.savannah.gnu.org/cgit/exosip.git/plain/LICENSE.OpenSSL
|
|
|
|
(home-page "http://savannah.nongnu.org/projects/exosip")))
|
|
|
|
|
|
|
|
(define-public sipwitch
|
|
|
|
(package
|
|
|
|
(name "sipwitch")
|
|
|
|
(version "1.9.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/sipwitch/sipwitch-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"0cf0zrdfi4w9qn50ags3rvwc29km2k526f6sm6i7jb0hsrvg0k8x"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
;; The configure.ac uses pkg-config but in a kludgy way which breaks when
|
|
|
|
;; cross-compiling. Among other issues there the program name "pkg-config"
|
|
|
|
;; is hard coded instead of respecting the PKG_CONFIG environment variable.
|
|
|
|
;; Fortunately we can avoid the use of pkg-config and set the dependency
|
|
|
|
;; flags ourselves.
|
|
|
|
(arguments `(#:configure-flags
|
|
|
|
`("--without-pkg-config"
|
|
|
|
,(string-append "UCOMMON_CFLAGS=-I"
|
|
|
|
(assoc-ref %build-inputs "ucommon") "/include")
|
|
|
|
"UCOMMON_LIBS=-lusecure -lucommon -lrt -ldl -lpthread"
|
|
|
|
,(string-append "LIBOSIP2_CFLAGS=-I"
|
|
|
|
(assoc-ref %build-inputs "osip") "/include")
|
|
|
|
"LIBOSIP2_LIBS=-losipparser2 -losip2"
|
|
|
|
,(string-append "--sysconfdir=" (assoc-ref %outputs "out")
|
|
|
|
"/etc")
|
|
|
|
"EXOSIP2_LIBS=-leXosip2"
|
|
|
|
,(string-append "EXOSIP2_CFLAGS=-I"
|
|
|
|
(assoc-ref %build-inputs "exosip")
|
|
|
|
"/include"))))
|
|
|
|
(inputs `(("ucommon" ,ucommon)
|
|
|
|
("exosip" ,exosip)
|
|
|
|
("osip" ,osip)))
|
|
|
|
(synopsis "Secure peer-to-peer VoIP server for the SIP protocol")
|
|
|
|
(description "GNU SIP Witch is a peer-to-peer Voice-over-IP server that
|
|
|
|
uses the SIP protocol. Calls can be made from behind NAT firewalls and
|
|
|
|
without the need for a service provider. Its peer-to-peer design ensures that
|
|
|
|
there is no central point for media intercept or capture and thus it can be
|
|
|
|
used to construct a secure telephone system that operates over the public
|
|
|
|
internet.")
|
|
|
|
(license gpl3+)
|
|
|
|
(home-page "http://www.gnu.org/software/sipwitch")))
|
|
|
|
|