From: <pkill9@runbox.com>
To: pkill9 <pkill9@runbox.com>
Cc: 34523 <34523@debbugs.gnu.org>
Subject: [bug#34523] Add tetrinet
Date: Sun, 30 Jun 2019 10:33:27 +0100 (BST) [thread overview]
Message-ID: <E1hhWD9-0005ds-T2@rmmprod05.runbox> (raw)
In-Reply-To: <E1gvcri-0006jX-4B@rmmprod05.runbox>
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
On Wed, 10 Apr 2019 14:07:16 +0100 (BST), <pkill9@runbox.com> 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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-tetrinet.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-tetrinet.patch", Size: 2845 bytes --]
From 62f05ce32274d20cddbf6e28649bac1055080292 Mon Sep 17 00:00:00 2001
From: Pkill -9 <pkill9@runbox.com>
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 <jgibbons2357+guix@gmail.com>
;;; Copyright © 2019 Dan Frumin <dfrumin@cs.ru.nl>
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2019 Pkill -9 <pkill9@runbox.com>
;;;
;;; 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
prev parent reply other threads:[~2019-06-30 9:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-18 6:57 [bug#34523] Add tetrinet pkill9
2019-02-18 10:36 ` Ricardo Wurmus
2019-02-18 14:11 ` Tobias Geerinckx-Rice
2019-02-18 14:41 ` Danny Milosavljevic
2019-02-23 9:23 ` swedebugia
2019-02-19 7:51 ` pkill9
2019-02-23 9:26 ` swedebugia
2019-02-23 6:23 ` swedebugia
2019-02-26 15:20 ` pkill9
2019-02-26 20:45 ` swedebugia
2019-02-27 7:10 ` pkill9
2021-08-06 3:20 ` bug#34523: " Maxim Cournoyer
2019-02-26 15:44 ` [bug#34523] " pkill9
2019-02-26 20:40 ` swedebugia
2019-02-27 7:01 ` pkill9
2019-02-27 14:11 ` pkill9
2019-02-28 4:03 ` swedebugia
2019-03-02 20:10 ` pkill9
2019-03-31 11:44 ` pkill9
2019-04-10 13:07 ` pkill9
2019-06-30 9:33 ` pkill9 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1hhWD9-0005ds-T2@rmmprod05.runbox \
--to=pkill9@runbox.com \
--cc=34523@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.