From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Schenkel Subject: Re: [PATCH] gnu: Add cmatrix. Date: Tue, 01 Jul 2014 13:07:00 +0200 Message-ID: <87fvilqqwb.fsf@gmail.com> References: <87k37xqtr3.fsf@gmail.com> <87egy5z83r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1vty-0006x7-A3 for guix-devel@gnu.org; Tue, 01 Jul 2014 07:07:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1vtw-0003ba-Ex for guix-devel@gnu.org; Tue, 01 Jul 2014 07:07:06 -0400 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:37186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1vtw-0003bU-3Y for guix-devel@gnu.org; Tue, 01 Jul 2014 07:07:04 -0400 Received: by mail-wi0-f176.google.com with SMTP id n3so7564220wiv.3 for ; Tue, 01 Jul 2014 04:07:02 -0700 (PDT) Received: from SIRIUS09 ([2a02:1205:5016:3160:beae:c5ff:fe67:f585]) by mx.google.com with ESMTPSA id 20sm45668221wjt.42.2014.07.01.04.07.01 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 01 Jul 2014 04:07:01 -0700 (PDT) In-Reply-To: <87egy5z83r.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 01 Jul 2014 12:28:08 +0200") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Also, what about putting it in games.scm instead? Done. >> + (build-system gnu-build-system) >> + (arguments >> + '(#:phases >> + (alist-cons-before >> + 'patch-source-shebangs 'autoreconf >> + (lambda args >> + (system* "autoreconf" "-fi")) >> + %standard-phases))) > > This shouldn=E2=80=99t be needed because the tarballs includes ./configur= e, > Makefile.in, etc. Actually it is needed because the configure which comes with the tarball was generated with a very old version of autotools and doesn't support the passing of variables (like SHELL).=20 >> + (synopsis "CMatrix simulates the display from \"The Matrix\"") > > In general the synopsis shouldn=E2=80=99t repeat the package name, so: > > Simulate the display from \"The Matrix\" Done. > > Could you send an updated patch? An updated patch is attached. Regards Cyrill --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-cmatrix.patch Content-Transfer-Encoding: quoted-printable >From f0da309bfd8187d8d63386bb908c462fa12fc6f9 Mon Sep 17 00:00:00 2001 From: Cyrill Schenkel Date: Tue, 1 Jul 2014 13:02:53 +0200 Subject: [PATCH] gnu: Add cmatrix. * gnu/packages/games.scm (cmatrix): New variable. --- gnu/packages/games.scm | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 8a2b2df..946f56b 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2013 John Darrington ;;; Copyright =C2=A9 2014 David Thompson ;;; Copyright =C2=A9 2014 Eric Bavier +;;; Copyright =C2=A9 2014 Cyrill Schenkel ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,6 +24,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (gnu packages) + #:use-module (gnu packages autotools) #:use-module (gnu packages boost) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) @@ -32,13 +34,15 @@ #:use-module (gnu packages guile) #:use-module (gnu packages libcanberra) #:use-module (gnu packages image) + #:use-module (gnu packages ncurses) #:use-module (gnu packages python) #:use-module (gnu packages readline) #:use-module (gnu packages xorg) #:use-module (gnu packages pkg-config) #:use-module (gnu packages sqlite) #:use-module (gnu packages sdl) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build gnu-build-system)) =20 (define-public gnubg (package @@ -228,3 +232,33 @@ into stereotyped or otherwise humorous dialects. The = filters are provided as a C library, so they can easily be integrated into other programs.") (license gpl2+))) =20=20 +(define-public cmatrix + (package + (name "cmatrix") + (version "1.2a") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.asty.org/cmatrix/dist/cmatrix-" ver= sion + ".tar.gz")) + (sha256 + (base32 + "0k06fw2n8nzp1pcdynhajp5prba03gfgsbj91bknyjr5xb5fd9hz")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (alist-cons-before + 'patch-source-shebangs 'autoreconf + (lambda args + (system* "autoreconf" "-fi")) + %standard-phases))) + (inputs `(("ncurses" ,ncurses) + ("autoconf" ,autoconf) + ("automake" ,automake))) + (home-page "http://wwww.asty.org/cmatrix") + (synopsis "Simulate the display from \"The Matrix\"") + (description "CMatrix simulates the display from \"The Matrix\" and is +based on the screensaver from the movie's website. It works with terminal +settings up to 132x300 and can scroll lines all at the same rate or +asynchronously and at a user-defined speed.") + (license gpl2+))) --=20 2.0.0 --=-=-=--