From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukas Gradl Subject: [Patch 9/10] Add libringclient. Date: Mon, 12 Sep 2016 21:30:50 -0500 Message-ID: <87h99kzg2t.fsf@openmailbox.org> References: <87mvjc1quq.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjdUy-00010Q-Do for guix-devel@gnu.org; Mon, 12 Sep 2016 22:31:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjdUs-0003b3-Vl for guix-devel@gnu.org; Mon, 12 Sep 2016 22:30:59 -0400 Received: from smtp10.openmailbox.org ([62.4.1.44]:56041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjdUs-0003am-Li for guix-devel@gnu.org; Mon, 12 Sep 2016 22:30:54 -0400 In-Reply-To: <87mvjc1quq.fsf@openmailbox.org> (Lukas Gradl's message of "Mon, 12 Sep 2016 21:22:05 -0500") 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: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0009-gnu-Add-libringclient.patch Content-Transfer-Encoding: quoted-printable From=20f0215630412c195bee5c2bf53982911e2d155eff Mon Sep 17 00:00:00 2001 From: Lukas Gradl Date: Sun, 28 Aug 2016 13:07:16 -0500 Subject: [PATCH 09/10] gnu: Add libringclient. * gnu/packages/telephony.scm (libringclient): New variable. =2D-- gnu/packages/telephony.scm | 48 ++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 96b7489..7acb2dc 100644 =2D-- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -40,6 +40,7 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages qt) #:use-module (gnu packages serialization) #:use-module (gnu packages tls) #:use-module (gnu packages video) @@ -48,6 +49,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu)) =20 (define-public commoncpp @@ -563,3 +565,49 @@ This package provides a library and daemon implementin= g the Ring core functional (home-page "https://ring.cx/") (license license:gpl3+)))) =20 +(define-public libringclient + (let ((commit "9f223051f401185fdb6aaaaf5b842027555f9ea9")) ; This is the + ; commit used by the AUR package. + (package + (name "libringclient") + (version (string-append "1.0.0-1." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gerrit-ring.savoirfairelinux.com/ring-lrc") + (commit commit))) + (sha256 + (base32 + "04j80ip7y0723dnasm45zdcrhhnp5fiqhb6d4zcppgp2gakhkxs5")))) + (build-system cmake-build-system) + (propagated-inputs + `(("libring" ,libring) ; For 'dring'. + ("qtbase" ,qtbase) ; Qt is included in several installed headers. + ("qttools" ,qttools))) + (arguments + `(#:tests? #f ; There is no testsuite. + #:configure-flags + (list (string-append + "-DRING_BUILD_DIR=3D" + (assoc-ref %build-inputs "libring") + "/include")) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'find-dbus-interfaces + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "CMakeFiles/ringclient.dir/build.make" + (((string-append (assoc-ref outputs "out") + "/share/dbus-1/interfaces")) + (string-append (assoc-ref inputs "libring") + "/share/dbus-1/interfaces")))))))) + (synopsis "Distributed multimedia communications platform") + (description "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 IAX +protocols, as well as decentralized calling using P2P-DHT. + +This package provides a library common to all Ring clients.") + (home-page "https://ring.cx/") + (license license:gpl3+)))) =2D-=20 2.9.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX12TaAAoJEFP7dyh+2DCRrNwQAI8uwe0ZRbd8P04XrZA4YBoi zizDfQNezVB+g2xybHIQ8J3XkDYi/PgVKCdCtXrbwcuA7QRFJYHYUyuE6Z/sKuCQ bw/USDI3SOnbF48GnwvqTBkZku+ikTM00IAtY7w85av+XK0HHFeUCV5wF/0Xxrgb +k2Izipix6eiIz+gTdH8UdzyZr7Fgp1mBKqf5O07fmyv7aEwLYY0d0pcA7t2FHsg hClpf6QbJ3SAk5bya/0y7BPkOVvPpSDqs0IidcDcgawNoPGusSYPUAbJ8FS+3ULs 0zFhtO0kWDxcQtaWr1fDfx6hn5hiq70fHjjvy4A3fJmFjqN/niImG//5+SJWv/K6 JDfEhLO6L/rtL8pnSBve1Xn1pG9krifObzUbcWLO8O/gA/vQQsn8xFHSsdIgRiDG gfox5Mwr/FSMLCkruEuIhXRrY1K+U2mKq+4PDULkoXRpXoDUTE0bW8l2WYY0Wiwu RVp8aZ7wwIoBm3VFnvVzrmbFWa67E/G/+rT8N431+7YqKF0kkmbWMXB1yW+4hg0c 648CZck9rpqSIAoZPNxXzEMsdW0m9eXub3GGeu1QedEo6XPrbMGVO6EcU1K9ER4v hNrhZ9G3QEUU/YCfS7P2cRH2EFap++kxFIKJ7cIxBHvbzpFXoguIafZoRZP+qOOh MuINP5tnO7nlGtRGZJWi =iKhi -----END PGP SIGNATURE----- --==-=-=--