From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add libtoxcore. Date: Sun, 21 Aug 2016 17:31:02 +0000 Message-ID: <87a8g69gh5.fsf@we.make.ritual.n0.is> References: <871t1iuacb.fsf@we.make.ritual.n0.is> <87mvk67f6g.fsf@gmail.com> <87pop2qvir.fsf@we.make.ritual.n0.is> <87shtyvzyi.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbWaR-0005As-S6 for guix-devel@gnu.org; Sun, 21 Aug 2016 13:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbWaQ-0006Q5-6W for guix-devel@gnu.org; Sun, 21 Aug 2016 13:31:07 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:35942 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbWaP-0006PX-SH for guix-devel@gnu.org; Sun, 21 Aug 2016 13:31:06 -0400 In-Reply-To: <87shtyvzyi.fsf@we.make.ritual.n0.is> 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: Alex Kost Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain I have started a request with other people to let tox* publish release tarballs instead of just git and github's "master.tar.gz". --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0002-gnu-Add-libtoxcore.patch Content-Transfer-Encoding: 8bit >From 3df3eee3c5841f954aca35c1024e54ec09e28f24 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 20 Aug 2016 22:14:17 +0000 Subject: [PATCH 2/5] gnu: Add libtoxcore. * gnu/packages/messaging.scm (libtoxcore): New variable. --- gnu/packages/messaging.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index de9ac17..e3c0c0b 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2015 Efraim Flashner +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system python) @@ -35,6 +37,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages avahi) #:use-module (gnu packages check) + #:use-module (gnu packages crypto) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages databases) #:use-module (gnu packages documentation) @@ -58,7 +61,9 @@ #:use-module (gnu packages admin) #:use-module (gnu packages linux) #:use-module (gnu packages tls) - #:use-module (gnu packages icu4c)) + #:use-module (gnu packages icu4c) + #:use-module (gnu packages video) + #:use-module (gnu packages xiph)) (define-public libotr (package @@ -492,4 +497,45 @@ transformation; audio and video conferences; file transfer; TLS, GPG and end-to-end encryption support; XML console.") (license gpl3+))) +(define-public libtoxcore + (let ((revision "1") + (commit "755f084e8720b349026c85afbad58954cb7ff1d4")) + (package + (name "libtoxcore") + (version (string-append "0.0.0" "-" + revision (string-take commit 8))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/irungentoo/toxcore.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0ap1gvlyihnfivv235dbrgsxsiiz70bhlmlr5gn1027w3h5kqz8w")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ;; TODO: Add when test suite is capable of passing. + ;; ("check" ,check) + ("pkg-config" ,pkg-config))) + (inputs + `(("libsodium" ,libsodium) + ("opus" ,opus) + ("libvpx" ,libvpx))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda _ + (zero? (system* "./autogen.sh"))))) + #:tests? #f)) ; FIXME: Testsuite fails, reasons unspecific. + (synopsis "Library for the Tox encrypted messenger protocol") + (description + "C library implementation of the Tox encrypted messenger protocol.") + (license gpl3+) + (home-page "https://tox.chat")))) + ;;; messaging.scm ends here -- 2.9.3 --=-=-= Content-Type: text/plain About the very short description of freealut: I have 0 clue what exactly this is other than what the description says and that it is needed for tox client "toxic". --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0003-gnu-Add-freealut.patch Content-Transfer-Encoding: 8bit >From b04d4bf50354dbe481d237380428b4e2de3c22fe Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 21 Aug 2016 02:17:27 +0000 Subject: [PATCH 3/5] gnu: Add freealut. * gnu/packages/audio.scm (freealut): New variable. --- gnu/packages/audio.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index a214ef3..900fb4b 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2015, 2016 Mark H Weaver ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Alex Griffin +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -1509,6 +1510,32 @@ buffers, and audio capture.") (home-page "http://kcat.strangesoft.net/openal.html") (license license:lgpl2.0+))) +(define-public freealut + (package + (name "freealut") + (version "1.1.0") + (source (origin + (method url-fetch) + ;; Upstream url is unclear, many systems use Fedora, there is also + ;; https://github.com/vancegroup/freealut though the status of it + ;; (official? unofficial?) is not clear. + (uri (string-append + "https://pkgs.fedoraproject.org/repo/pkgs/" name "/" name "-" + version ".tar.gz" "/e089b28a0267faabdb6c079ee173664a/" name + "-" version ".tar.gz")) + (sha256 + (base32 + "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; no check target + (inputs + `(("openal" ,openal))) + (synopsis "Free implementation of OpenAL's ALUT standard") + (description "freealut is the OpenAL Utility Toolkit.") + (home-page "http://kcat.strangesoft.net/openal.html") + (license license:lgpl2.0))) + (define-public patchage (package (name "patchage") -- 2.9.3 --=-=-= Content-Type: text/plain I will not add toxic unless https://github.com/JFreegman/toxic/issues/405 is solved. -- ng0 For non-prism friendly talk find me on http://www.psyced.org --=-=-=--