From patchwork Wed Feb 27 07:01:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: pkill9 X-Patchwork-Id: 1247 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 EAC5D16C93; Wed, 27 Feb 2019 07:02:19 +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 2BD3816C48 for ; Wed, 27 Feb 2019 07:02:19 +0000 (GMT) Received: from localhost ([127.0.0.1]:39149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gytEQ-0000Sm-J5 for patchwork@mira.cbaines.net; Wed, 27 Feb 2019 02:02:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gytEL-0000SX-VF for guix-patches@gnu.org; Wed, 27 Feb 2019 02:02:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gytEJ-0006pJ-2S for guix-patches@gnu.org; Wed, 27 Feb 2019 02:02:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39938) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gytEA-0006ik-RZ for guix-patches@gnu.org; Wed, 27 Feb 2019 02:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gytEA-0003c3-LT for guix-patches@gnu.org; Wed, 27 Feb 2019 02:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34523] Add tetrinet References: Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Feb 2019 07:02:02 +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.155125088013830 (code B ref 34523); Wed, 27 Feb 2019 07:02:02 +0000 Received: (at 34523) by debbugs.gnu.org; 27 Feb 2019 07:01:20 +0000 Received: from localhost ([127.0.0.1]:53482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gytDK-0003aq-FX for submit@debbugs.gnu.org; Wed, 27 Feb 2019 02:01:20 -0500 Received: from aibo.runbox.com ([91.220.196.211]:41516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gytDH-0003ag-2d for 34523@debbugs.gnu.org; Wed, 27 Feb 2019 02:01:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Message-Id:Content-Type:In-Reply-To:Date:Subject:CC:To:From :MIME-Version; bh=829B3TC6oVzXm4LvicboavYWHDkljevpPkWZCPsq5ig=; b=A3BB9jlsWIY acBWUjOy0D8ix5G97ptSd+dC8JkmeWLl9CVHw7u+OKmWqfjkdFek0rEmXeXnI7MzInPzJlf5BdT4x m/DTCVDFH5Y6aarxPjb6MvO5DFI8meJf9MFZp74iZyQ1Z+0ETeVz2SuSC9BhVOcTxRrEIjkWwfmIm h9ZsCx4Dj5h/KdBlYUKAqTWd1aT6fgfkv47sM1tYosZ1TnmKIUtM1+RY1m0V8ZAzp/JuB+hMcU97C UWHD0j4OXemjSF6GuPX4rx9GlYSzvPO7fFGhU4DZTkBtE43zhv3ORkjkKZmafjGUy2nLmR+azq/M1 vLAqW6gia1VKsOAixZ8MjDA==; Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gytDD-0005eQ-Oj; Wed, 27 Feb 2019 08:01:03 +0100 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1gytDD-0006xH-NR; Wed, 27 Feb 2019 08:01:03 +0100 MIME-Version: 1.0 Received: from [Authenticated user (850733)] by runbox.com with http (RMM6); Wed, 27 Feb 2019 07:01:03 GMT From: Date: Wed, 27 Feb 2019 07:01:03 +0000 (GMT) X-Mailer: RMM6 In-Reply-To: <2A2F7912-1C25-40C6-9324-EB85A5A41A9D@riseup.net> 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 > A ha, I completely missed the imbedded server. Maybe we should mention in the description that it includes a client and server. Ok I added that On Tue, 26 Feb 2019 21:40:34 +0100, swedebugia wrote: > pkill9@runbox.com skrev: (26 februari 2019 16:44:44 CET) > >Here is a patch that: > > - Removes the full stop after 'no tests' > >- Changes the synopsis from "Multiplayer tetris" to "Multiplayer tetris > >game". > > - Replaces the description with what you (swedebugia) suggested. > > > >> As an aside I did not find a working server anywhere ... There is a > >possibility to host your own server with jetrix though. > > > >Oh I realised you meant a server program - the tetrinet package builds > >one called 'tetrinet-server', I tested it just now by running these > >commands in separate terminals: > > > >`tetrinet-server` > >`tetrinet player1 localhost` > >`tetrinet player2 localhost` > > > >Sending messages as the two different players shows up correctly in > >each tetrinet client, so I think the server works fine. > > > >On Tue, 26 Feb 2019 15:20:28 +0000 (GMT), wrote: > > > >> Hi Swedebugia, > >> > >> > having looked it up online I prefer the WP synopsis: > >> > "TetriNET is a console multiplayer online Tetris game for up to six > >people." > >> > > >> > There is a gnome version also. We should state clearly that this is > >a > >> > console/text-mode client. > >> > >> What does 'WP' mean? > >> > >> > As an aside I did not find a working server anywhere and the > >homepage of > >> > the project is dead. There is a possibility to host your own server > >with > >> > jetrix though. > >> > >> I played Tetrinet with someone over a server, but I can't remember > >what the address was. > >> > >> You can't access the homepage of the project? I can access > >http://tetrinet.or.cz fine. Or do you mean it hasn't been updated in > >ages? > >> > >> > There could be trademark issues with the name/game also see > >> > https://en.wikipedia.org/wiki/The_Tetris_Company > >> > >> Regarding the potential trademark issues, both FSF-approved distros > >Parabola and PureOS have Tetrinet in their repositories[1][2], so I > >think it would be acceptable to add it to Guix. And if a copyright > >claim is made in the future it can always be removed. > >> > >> [1] Tetrinet in Parabola - > >https://www.parabola.nu/packages/?q=tetrinet > >> [2] Tetrinet in PureOS - > >https://software.pureos.net/search_pkg?term=tetrinet > >> > >> Thanks > >> > >> On Sat, 23 Feb 2019 07:23:43 +0100, swedebugia > > wrote: > >> > >> > On 2019-02-23 10:26, swedebugia wrote: > >> > > For the sake of making it easy to find when searching synopsies I > >> > > suggest you add "game" to the end of yours. > >> > > -- > >> > > Sent from my k-9 mail for Android. > >> > > >> > having looked it up online I prefer the WP synopsis: > >> > "TetriNET is a console multiplayer online Tetris game for up to six > >people." > >> > > >> > There is a gnome version also. We should state clearly that this is > >a > >> > console/text-mode client. > >> > > >> > As an aside I did not find a working server anywhere and the > >homepage of > >> > the project is dead. There is a possibility to host your own server > >with > >> > jetrix though. > >> > > >> > There could be trademark issues with the name/game also see > >> > https://en.wikipedia.org/wiki/The_Tetris_Company > >> > > >> > -- > >> > Cheers Swedebugia > > A ha, I completely missed the imbedded server. Maybe we should mention in the description that it includes a client and server. > -- > Sent from my k-9 mail for Android. From a033d578d57b2d777f5e9b8277dcb4cd42a26ea3 Mon Sep 17 00:00:00 2001 From: Pkill -9 Date: Wed, 27 Feb 2019 06:54:46 +0000 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 f82af0e8c..dedaa922d 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 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) ; 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.20.1