From patchwork Wed Apr 10 13:07:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: pkill9 X-Patchwork-Id: 3261 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 E423516E35; Wed, 10 Apr 2019 14:08:11 +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 59E2716E1E for ; Wed, 10 Apr 2019 14:08:11 +0100 (BST) Received: from localhost ([127.0.0.1]:59725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hECxW-0003hm-NY for patchwork@mira.cbaines.net; Wed, 10 Apr 2019 09:08:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hECxT-0003g2-UT for guix-patches@gnu.org; Wed, 10 Apr 2019 09:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hECxO-0002CN-PZ for guix-patches@gnu.org; Wed, 10 Apr 2019 09:08:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hECxO-0002Bx-5u for guix-patches@gnu.org; Wed, 10 Apr 2019 09:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hECxN-0003Z6-Re for guix-patches@gnu.org; Wed, 10 Apr 2019 09:08: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: Wed, 10 Apr 2019 13:08: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: "swedebugia" Received: via spool by 34523-submit@debbugs.gnu.org id=B34523.155490164513644 (code B ref 34523); Wed, 10 Apr 2019 13:08:01 +0000 Received: (at 34523) by debbugs.gnu.org; 10 Apr 2019 13:07:25 +0000 Received: from localhost ([127.0.0.1]:52476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hECwn-0003Xz-4T for submit@debbugs.gnu.org; Wed, 10 Apr 2019 09:07:25 -0400 Received: from aibo.runbox.com ([91.220.196.211]:54546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hECwi-0003Xn-8N for 34523@debbugs.gnu.org; Wed, 10 Apr 2019 09:07:21 -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=f5+/sry7OU9eMOnqo1HljL9v7ObgxajfzFDm26EM1l4=; b=g+W4ltbVUzyM xNHJesaZmvZ3Lq5EWRafrXris9tY+WhaytfBCdK5EvBJJLR6yX0Szytu57Ni4CuI2bMl9JvOLlI90 8971laoUFJ3GNtzDy0v36W0Qjvmf0qecAEU4J/dTKLz/NO6JZyjMj5ytpwhsDwavGuAjH1jaE7Z4q Rtot5Pm3XjLZJYxRUExWc8poTFe16Xm7Up2hSwa36zsN955IV95H9+Z5BQGYi78Zw7rvHpqFOllWT PbPdoh0Fc2pr9YHaYrVQ31AFUChQq5KonZ3p0vAfupJKZ3Hno4DtF9LUzYon5pFagu3lb2j15S9ND ru/oFdDhQFTP1KbjW3dcxA==; Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1hECwe-0002W8-DA; Wed, 10 Apr 2019 15:07:16 +0200 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1hECwe-0005K1-Bj; Wed, 10 Apr 2019 15:07:16 +0200 MIME-Version: 1.0 Received: from [Authenticated user (850733)] by runbox.com with http (RMM6); Wed, 10 Apr 2019 13:07:16 GMT From: Date: Wed, 10 Apr 2019 14:07:16 +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 I've attached a patch with an updated source url pointing to the git repository which is served via https. From 24fb08762c1cb3108495c492ea5f1c7ee855a804 Mon Sep 17 00:00:00 2001 From: Pkill -9 Date: Wed, 10 Apr 2019 13:49:25 +0100 Subject: [PATCH] gnu: Add tetrinet. * gnu/packages/games.scm (tetrinet): New variable. --- gnu/packages/games.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index f82af0e8c3..6d5b154927 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,44 @@ 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 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