From patchwork Mon Feb 18 06:57:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: pkill9 X-Patchwork-Id: 1159 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2AB6D16B6A; Mon, 18 Feb 2019 06:58:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id B6BEB16B4B for ; Mon, 18 Feb 2019 06:58:09 +0000 (GMT) Received: from localhost ([127.0.0.1]:51787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvcsT-00080r-7y for patchwork@mira.cbaines.net; Mon, 18 Feb 2019 01:58:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvcsN-0007zp-HQ for guix-patches@gnu.org; Mon, 18 Feb 2019 01:58:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvcsM-00047L-F2 for guix-patches@gnu.org; Mon, 18 Feb 2019 01:58:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvcsM-000479-BS for guix-patches@gnu.org; Mon, 18 Feb 2019 01:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvcsM-0007Ei-6M for guix-patches@gnu.org; Mon, 18 Feb 2019 01:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34523] Add tetrinet Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Feb 2019 06:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34523 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 34523@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches" Received: via spool by submit@debbugs.gnu.org id=B.155047306827790 (code B ref -1); Mon, 18 Feb 2019 06:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2019 06:57:48 +0000 Received: from localhost ([127.0.0.1]:51978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvcs8-0007EA-6w for submit@debbugs.gnu.org; Mon, 18 Feb 2019 01:57:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvcs2-0007Dt-9h for submit@debbugs.gnu.org; Mon, 18 Feb 2019 01:57:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:48494) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvcrw-0003pf-Om for submit@debbugs.gnu.org; Mon, 18 Feb 2019 01:57:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvcrv-0007z5-Mf for guix-patches@gnu.org; Mon, 18 Feb 2019 01:57:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvcrt-0003nL-O0 for guix-patches@gnu.org; Mon, 18 Feb 2019 01:57:35 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33212) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvcrq-0003ff-3t for guix-patches@gnu.org; Mon, 18 Feb 2019 01:57:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Message-Id:Content-Type:Date:Subject:To:From:MIME-Version; bh=tLWWJ8ck/qDEYbOmwf0DCiAAlsiRT+GMSJWUckqDsHo=; b=Qm8hODVzWOQMpkbqGQnSDxtPi La9eE/j1vqpUlHwT8E3LO2Zzst4R8bh9qgMOIAhAv3dZdRibG5njzLUq6pQL97855ZmpvjyHCU0T0 IoggswtdHnm4yCD7X10oQbHR/YDHyqs3h3DFF8r7j8OYtdv3SGR0QOp/EBEWi2tJTE99Mjk64ZIeT MiCsiZhER49ABjUo5baFKL/SrRVRbdXtxpr3YrXW+qvoz2Lz+ja0SLcydq39C9qe/xfbpfLvSD1+x KkDtJxTkTqoCIsBObaB6LlIiJxKgLJzukoozUiYGutIk+7B3Hh+bR7YnjJhHbEkqbVGxx2yPGhlzQ uVtaQGa2A==; Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gvcri-0006et-4x for guix-patches@gnu.org; Mon, 18 Feb 2019 07:57:22 +0100 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1gvcri-0006jX-4B for guix-patches@gnu.org; Mon, 18 Feb 2019 07:57:22 +0100 MIME-Version: 1.0 Received: from [Authenticated user (850733)] by runbox.com with http (RMM6); for ; Mon, 18 Feb 2019 06:57:22 GMT From: Date: Mon, 18 Feb 2019 06:57:22 +0000 (GMT) X-Mailer: RMM6 Message-Id: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Tetrinet is a multiplayer tetris game. There are two versions: a command line implementation and a GTK implementation - this package is the command line implementation. http://tetrinet.or.cz/ The license is written in the README as ``` Distribution/license information -------------------------------- This program is public domain, and may be modified and distributed without limitation. ``` So I don't know what license to put it as, so I set it as 'expat'. From 1e36c7b0cafac68dcac43bfe301ae979ced67800 Mon Sep 17 00:00:00 2001 From: Pkill -9 Date: Mon, 18 Feb 2019 06:52:14 +0000 Subject: [PATCH] gnu: Add tetrinet. * gnu/packages/games.scm (tetrinet): New variable. --- gnu/packages/games.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index f82af0e8c..5a83efcc2 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2018 Madalin Ionel-Patrascu ;;; Copyright © 2018 Benjamin Slade ;;; Copyright © 2018 Alex Vong +;;; Copyright © 2019 Pkill -9 ;;; ;;; This file is part of GNU Guix. ;;; @@ -6102,3 +6103,36 @@ to download and install them in @file{$HOME/.stepmania-X.Y/Songs} directory.") (home-page "https://www.stepmania.com") (license license:expat))) +(define-public tetrinet + (package + (name "tetrinet") + (version "0.11") + (source + (origin + (method url-fetch) + (uri (string-append + "http://tetrinet.or.cz/download/tetrinet-" + version + ".tar.bz2")) + (sha256 + (base32 + "0b4pddqz6is1771qmvcj8qqlr4in2djdbkk13agvp9yhfah2v8x7")))) + (build-system gnu-build-system) + (inputs + `(("ncurses" ,ncurses))) + (arguments + `(#:tests? #f ; No tests. + #:make-flags '("CC=gcc") + #:phases (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'fix-install-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/bin")) + (substitute* "Makefile" + (("/usr/games") (string-append out "/bin"))))))))) + (home-page "http://tetrinet.or.cz") + (synopsis "Multiplayer tetris") + (description "Tetrinet is a multiplayer tetris game with powerups and +attacks you can use on opponents.") + (license license:expat))) -- 2.20.1