From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dR11R-0001NP-Vg for guix-patches@gnu.org; Fri, 30 Jun 2017 14:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dR11O-0008EW-Rm for guix-patches@gnu.org; Fri, 30 Jun 2017 14:52:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dR11O-0008EM-O1 for guix-patches@gnu.org; Fri, 30 Jun 2017 14:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dR11O-00062b-DV for guix-patches@gnu.org; Fri, 30 Jun 2017 14:52:02 -0400 Subject: [bug#27540] [PATCH] gnu: Add toxic. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dR119-0001ND-3W for guix-patches@gnu.org; Fri, 30 Jun 2017 14:51:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dR115-00086H-TQ for guix-patches@gnu.org; Fri, 30 Jun 2017 14:51:47 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:50395 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dR115-00084t-Jw for guix-patches@gnu.org; Fri, 30 Jun 2017 14:51:43 -0400 From: Theodoros Foradis Date: Fri, 30 Jun 2017 21:51:23 +0300 Message-Id: <20170630185123.13541-1-theodoros.for@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27540@debbugs.gnu.org * gnu/packages/messaging.scm (toxic): New variable. --- gnu/packages/messaging.scm | 51 ++++++++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 425a7c4c2..cac2084dc 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -11,6 +11,7 @@ ;;; Copyright =C2=A9 2017 Mekeor Melire ;;; Copyright =C2=A9 2017 Arun Isaac ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2017 Theodoros Foradis ;;; ;;; This file is part of GNU Guix. ;;; @@ -54,6 +55,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages xorg) #:use-module (gnu packages xdisorg) #:use-module (gnu packages libcanberra) @@ -74,6 +76,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages admin) #:use-module (gnu packages linux) + #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages icu4c) #:use-module (gnu packages qt) @@ -1394,4 +1397,52 @@ RFC standards as well as non-standard but popular = features. It can be used for building the IRC clients and bots.") (license license:lgpl3+))) =20 +(define-public toxic + (package + (name "toxic") + (version "0.8.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/JFreegman/toxic/ar= chive/v" + version ".tar.gz")) + (sha256 + (base32 + "0166lqb47f4kj34mhi57aqmnk9mh4hsicmbdsj6ag54sy1zicy20"))= )) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list + "CC=3Dgcc" + (string-append "PREFIX=3D" + (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'enable-python-scripting + (lambda _ + (setenv "ENABLE_PYTHON" "1")))))) + (inputs + `(("c-toxcore" ,c-toxcore) + ("curl" ,curl) + ("freealut" ,freealut) + ("gdk-pixbuf" ,gdk-pixbuf) ; for libnotify.pc + ("libconfig" ,libconfig) + ("libnotify" ,libnotify) + ("libpng" ,libpng) + ("libvpx" ,libvpx) + ("libx11" ,libx11) + ("ncurses" ,ncurses) + ("openal" ,openal) + ("python" ,python) + ("qrencode" ,qrencode))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/JFreegman/toxic") + (synopsis "Tox chat client using ncurses") + (description "@code{toxic} is a Tox-based instant messenging client +which formerly resided in the Tox core repository,and is now available +as a standalone application.") + (license license:gpl3+))) + ;;; messaging.scm ends here --=20 2.13.1