From patchwork Sun Jun 30 09:33:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: pkill9 X-Patchwork-Id: 14428 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 BDFFF17133; Sun, 30 Jun 2019 10:34:10 +0100 (BST) 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=ham 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 57EEB17074 for ; Sun, 30 Jun 2019 10:34:10 +0100 (BST) Received: from localhost ([::1]:43622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhWDo-0001UD-Gp for patchwork@mira.cbaines.net; Sun, 30 Jun 2019 05:34:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39510) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhWDj-0001Tv-S0 for guix-patches@gnu.org; Sun, 30 Jun 2019 05:34:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhWDi-000832-Gk for guix-patches@gnu.org; Sun, 30 Jun 2019 05:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhWDh-000827-Sa for guix-patches@gnu.org; Sun, 30 Jun 2019 05:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hhWDh-0003ct-MI for guix-patches@gnu.org; Sun, 30 Jun 2019 05:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#34523] Add tetrinet References: In-Reply-To: Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Jun 2019 09:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34523 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "pkill9" Received: via spool by 34523-submit@debbugs.gnu.org id=B34523.156188721713907 (code B ref 34523); Sun, 30 Jun 2019 09:34:01 +0000 Received: (at 34523) by debbugs.gnu.org; 30 Jun 2019 09:33:37 +0000 Received: from localhost ([127.0.0.1]:45366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhWDF-0003cC-S0 for submit@debbugs.gnu.org; Sun, 30 Jun 2019 05:33:37 -0400 Received: from aibo.runbox.com ([91.220.196.211]:43780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhWDD-0003c3-Nr for 34523@debbugs.gnu.org; Sun, 30 Jun 2019 05:33:33 -0400 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:CC:To:From: MIME-Version; bh=rqeiErRJcyggcRvO/Ej4gaJ00KdqSPlY9ZD3+r+Ph6Y=; b=h8z7ZjgjN9O/ R7A8xQ8bkZvZ3x0ejXHwQCAtYqUn+Xml6YZ1WzUzpfH8P9otRvamYGFXN5RTka2TeiLALd2qeftoo ZlC2JZ1zGNgn+zH+uXxQi3rQ0XuJU44Fpa1fH8lS75cSMZR6UJN630/cqWBYkgn8vp6m7nN9Qm8f7 G9jHIfBUBxZyg80QJW8/qZyOFUrXK/yJslsrn9968WPCysECJqgK0J3apnNEbV0Gp9jOwAwTkWbsl 3W2Gu+htOn7xa69qxT//o+4WBYxi86wqfwz2Soz2qyO8bRcSjkaWX5TPg6wa0NSS0L7SvYwGPrt0r lt/DqByEJFvuTjsMIoet3A==; Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1hhWD9-0003sG-UE; Sun, 30 Jun 2019 11:33:28 +0200 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1hhWD9-0005ds-T2; Sun, 30 Jun 2019 11:33:27 +0200 MIME-Version: 1.0 Received: from [Authenticated alias (780724)] by runbox.com with http (RMM6); Sun, 30 Jun 2019 09:33:27 GMT From: Date: Sun, 30 Jun 2019 10:33:27 +0100 (BST) X-Mailer: RMM6 Message-Id: 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: , Cc: 34523 <34523@debbugs.gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches On Wed, 10 Apr 2019 14:07:16 +0100 (BST), wrote: > I've attached a patch with an updated source url pointing to the git repository which is served via https. Since this patch no longer applies, I have attached an updated patch that applies to the guix repository. From 62f05ce32274d20cddbf6e28649bac1055080292 Mon Sep 17 00:00:00 2001 From: Pkill -9 Date: Sun, 30 Jun 2019 10:29:33 +0100 Subject: [PATCH] gnu: Add tetrinet. * gnu/packages/games.scm (tetrinet): New variable. --- gnu/packages/games.scm | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a5aaf56fb2..0a516d50da 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -43,6 +43,7 @@ ;;; Copyright © 2019 Jesse Gibbons ;;; Copyright © 2019 Dan Frumin ;;; Copyright © 2019 Guillaume Le Vaillant +;;; Copyright © 2019 Pkill -9 ;;; ;;; This file is part of GNU Guix. ;;; @@ -7631,3 +7632,45 @@ remake of that series or any other game.") the AlphaGo Zero paper. The current best network weights file for the engine can be downloaded from @url{https://zero.sjeng.org/best-network}.") (license license:gpl3+))) + +(define-public tetrinet + (package + (name "tetrinet") + (version "0.11") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://repo.or.cz/tetrinet.git") + (commit "REL_0_11"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zxd78kwc3p4f10r64z9cqjq77shgyinyrigcx1zn0l4d7qsxg6m")))) + (build-system gnu-build-system) + (inputs + `(("ncurses" ,ncurses))) + (arguments + `(#:tests? #f ; no tests + #:make-flags '("CC=gcc") + #:phases (modify-phases %standard-phases + (delete 'configure) ; no configure script. + (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")))))) + (add-after 'install 'install-documentation + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/" ,name "-" ,version))) + (for-each (lambda (file) + (install-file file doc)) + (list "README" "tetrinet.txt")) + #t)))))) + (home-page "http://tetrinet.or.cz") + (synopsis "Multiplayer tetris game") + (description "TetriNET is a console multiplayer online Tetris game for +up to six people. This package includes the server.") + (license license:public-domain))) -- 2.21.0