From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH] gnu: Add toxic. Date: Thu, 22 Dec 2016 18:51:10 -0500 Message-ID: <8737hfzfo1.fsf@openmailbox.org> References: <20161222184746.14948-1-ng0@libertad.pw> <20161222184746.14948-2-ng0@libertad.pw> 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]:48578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKD92-0005tR-2Z for guix-devel@gnu.org; Thu, 22 Dec 2016 18:51:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKD8y-0002gB-W6 for guix-devel@gnu.org; Thu, 22 Dec 2016 18:51:32 -0500 Received: from mail2.openmailbox.org ([62.4.1.33]:56635) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cKD8y-0002dy-Hn for guix-devel@gnu.org; Thu, 22 Dec 2016 18:51:28 -0500 In-Reply-To: <20161222184746.14948-2-ng0@libertad.pw> (ng0@libertad.pw's message of "Thu, 22 Dec 2016 18:47:46 +0000") 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: ng0 Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ng0 writes: > * gnu/packages/messaging.scm (toxic): New variable. > --- > gnu/packages/messaging.scm | 47 ++++++++++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 47 insertions(+) > > diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm > index 4290a9f69..24728cc06 100644 > --- a/gnu/packages/messaging.scm > +++ b/gnu/packages/messaging.scm > @@ -40,6 +40,7 @@ > #:use-module (gnu packages autotools) > #:use-module (gnu packages avahi) > #:use-module (gnu packages check) > + #:use-module (gnu packages curl) > #:use-module (gnu packages crypto) > #:use-module (gnu packages cyrus-sasl) > #:use-module (gnu packages databases) > @@ -70,12 +71,14 @@ > #:use-module (gnu packages linux) > #:use-module (gnu packages tls) > #:use-module (gnu packages icu4c) > + #:use-module (gnu packages image) > #:use-module (gnu packages qt) > #:use-module (gnu packages video) > #:use-module (gnu packages web) > #:use-module (gnu packages xiph) > #:use-module (gnu packages audio) > #:use-module (gnu packages bison) > + #:use-module (gnu packages textutils) > #:use-module (gnu packages fontutils)) >=20=20 > (define-public libotr > @@ -767,6 +770,50 @@ guidelines. It provides an easy to use application = that allows you to > connect with friends and family without anyone else listening in.") > (license license:gpl3+))) >=20=20 > +(define-public toxic > + (package > + (name "toxic") > + (version "0.7.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/JFreegman/toxic/archive/" > + "v" version ".tar.gz")) > + (sha256 > + (base32 > + "0nbcj71ffl85l396bxc5cs8d7abn4b7absaj5asq9bvcfv52m5m2")) > + (file-name (string-append name "-" version ".tar.gz")))) > + (inputs > + `(("ncurses" ,ncurses) I'm not sure what's up here. IIRC, we don't install the ncurses *.pc files. If I'm wrong, someone please correct me. > + ("libconfig" ,libconfig) > + ("curl" ,curl) > + ("libsodium" ,libsodium) > + ("freealut" ,freealut) > + ("libnotify" ,libnotify) Adding gdk-pixbuf as a dependency satisfied pkg-config here. Apparently it's a dependency when you try to use "pkg-config --libs libnotify" with just libnotify installed. > + ("c-toxcore" ,c-toxcore) > + ("openal" ,openal) > + ("libvpx" ,libvpx) > + ("libx11" ,libx11) > + ("libpng" ,libpng) > + ("qrencode" ,qrencode))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("libconfig" ,libconfig))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; no tests > + #:make-flags (list (string-append "PREFIX=3D" (assoc-ref %outputs= "out"))) > + #:phases > + (modify-phases %standard-phases > + (delete 'configure)))) > + (home-page "https://github.com/JFreegman/toxic/") > + (synopsis "Tox client using an ncurses interface") > + (description > + "Toxic is a small tox clien. It provides an easy to use application *client. > +that allows you to connect with friends and family without anyone else > +listening in.") > + (license license:gpl3+))) > + > (define-public pybitmessage > (package > (name "pybitmessage") --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlhcZu4ACgkQ5qXuPBlG eg3lgw/9HuIGAXnTj6g4Vf2efyCLFV7m43EVI93EvJA7mN0iWfHnhxMn7SuWUhlw r5NMNMNnZ8Z0n+gqmpMY1Dfk72oCehXHM0YcWPsS9YRIMcOx/U095dLs44m9RJKX 4y6xS8bH1CyaU5usSf2uBTpYsyi1LgNfCe2Q2nBTbyn4Fwk3J8byE/ljA8coQkJR YZt/wg17e8qEbqrBUkgBVDYc36X8o2pFfTGRtDJiCY7iDhu8IBP5V+t0nBAh8rrT givV8Qskqa8N272W6GkMOcEVVMchNTKSqTonBvuaBOXFyiclFI5tpsy8CK6QZmCR zBm1PiJJmnRmGzHA+r6WLV/kVEBP2dMZwmQ6kiwQ+M32lICWkTcLGVUHe81kK/F8 N5jrXnpRQSYDgj0/mIigffu2SjoOYqbKk+gRU0sEP7EhX8QVa+TwCV7VPiqu8tHg kx6mfIsPGrkZOjyQsVM/NVDUlXGBuxzkbzhDVAA4Uc3IVl+5LB7xoxAFYJz5jJ0a gKq5dsFsHA8rXCjsrOxWn3vw2TiDL5ZUDt3VjacQ586z52xAYrzblkZHXpvRgXOU Xj5crHoASzkODk6mYs8BakgunO4+coQHkUOeC5odpDxrANebwVc/SVu0YQ67C2DP 0hsnx0m2SM4cZIIDD8rFKU4BSrUgwwK9zCecZh8+/TJp4V9n39c= =R7yM -----END PGP SIGNATURE----- --=-=-=--