From patchwork Mon Mar 28 13:56:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roman Riabenko X-Patchwork-Id: 38162 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 2CEE027BBEA; Mon, 28 Mar 2022 14:57:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1CA2C27BBE9 for ; Mon, 28 Mar 2022 14:57:34 +0100 (BST) Received: from localhost ([::1]:56020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYpsD-0000Li-5n for patchwork@mira.cbaines.net; Mon, 28 Mar 2022 09:57:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYpri-0000KC-Mq for guix-patches@gnu.org; Mon, 28 Mar 2022 09:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYpri-0003m8-9H for guix-patches@gnu.org; Mon, 28 Mar 2022 09:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYpri-0002XQ-4p for guix-patches@gnu.org; Mon, 28 Mar 2022 09:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54476] [PATCH] gnu: games: Add robotfindskitten. Resent-From: Roman Riabenko Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Mar 2022 13:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54476 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54476@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 54476-submit@debbugs.gnu.org id=B54476.16484757849706 (code B ref 54476); Mon, 28 Mar 2022 13:57:02 +0000 Received: (at 54476) by debbugs.gnu.org; 28 Mar 2022 13:56:24 +0000 Received: from localhost ([127.0.0.1]:58891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYpr5-0002WT-LA for submit@debbugs.gnu.org; Mon, 28 Mar 2022 09:56:24 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:34873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYpr2-0002WE-4J for 54476@debbugs.gnu.org; Mon, 28 Mar 2022 09:56:21 -0400 Received: (Authenticated sender: roman@riabenko.com) by mail.gandi.net (Postfix) with ESMTPSA id 2098D240017; Mon, 28 Mar 2022 13:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riabenko.com; s=gm1; t=1648475773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yb+vGNW5gChaY+rhWSDI6B56g4uzJXYUXZpKIvFyGtg=; b=A/DpjsZjcXhKXATJLDkyP/EhvQWuZ6FgTxiRSHkhoNl4UIXkvMe1fWY1dwKFoLiNrCbPE7 03Lww2r06rqmmOZqbkbA6DZmVhWfrg+zeoTKi5ki/nkUum1pfov7U+LoL39tFCLlW+71XE XPiPdJ/WLCMiCrzmS7bskwxWRl81NIEf1Xd+C4VUBcr9zvsBWsN/s5OJObjExJxGDLAEyF PCVBkbQK+iGroUEaCMAYcG3CRofubY6atgRENH/sEq6o4Kxa1hzk7t/AX3+hJdBBDA1sH2 DVmGjYJ7vQAJy1210M/DWzmmr7I3mgEeOZPtMZnotJUrd3pSb6wtYnKUqMxryg== Message-ID: <8a0d6013e738fe0ea9fb7808aae2d1e7bc014669.camel@riabenko.com> From: Roman Riabenko Date: Mon, 28 Mar 2022 16:56:10 +0300 In-Reply-To: <0eac7e2692804e6668a0246f79c0e88c495b336e.camel@riabenko.com> References: <0eac7e2692804e6668a0246f79c0e88c495b336e.camel@riabenko.com> User-Agent: Evolution 3.42.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 Hello I thought that I was working around a local implementation of ncurses, but now I am convinced that there is a local bug, which I filed a report against. See issue 54607. [1] [1]: https://issues.guix.gnu.org/54607 Assuming that the bug will be fixed, there is no need for the snippet which I proposed in previous patches. I attach a new patch to add robotfindskitten, which is my offer in place of previous patches. Meanwhile, even with that bug not being fixed, robotfindskitten is still playable. It is just monochrome, which is a mode natively supported by the game design. Roman From 470ab9d236a780425679f4d24776640e7bb766cc Mon Sep 17 00:00:00 2001 From: Roman Riabenko Date: Mon, 28 Mar 2022 16:49:03 +0300 Subject: [PATCH] gnu: games: Add robotfindskitten. * gnu/packages/games.scm (robotfindskitten): 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 8cc29b3487..7a23140508 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -69,6 +69,7 @@ ;;; Copyright © 2021 Christopher Baines ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022 Yovan Naumovski +;;; Copyright © 2022 Roman Riabenko ;;; ;;; This file is part of GNU Guix. ;;; @@ -2250,6 +2251,48 @@ (define-public retux license:gpl2+ license:gpl3+))))) +(define-public robotfindskitten + ;; Despite what guix lint says, version 2.8284271.702 is newer than + ;; 1600003_201b. See ChangeLog for version history. + (package + (name "robotfindskitten") + (version "2.8284271.702") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/" + name + "/" + name + "/releases/download/" + version + "/" + name + "-" + version + ".tar.gz")) + (sha256 + (base32 + "1bwrkxm83r9ajpkd6x03nqvmdfpf5vz6yfy0c97pq3v3ykj74082")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--enable-silent-rules") + #:make-flags ;install to /bin instead of /game + (list (string-append "execgamesdir=" + (assoc-ref %outputs "out") "/bin")))) + (inputs (list ncurses)) + (outputs '("out" "debug")) + ;; The following are the original synopsis and description by the authors. + (synopsis "Zen Simulation of robot finding kitten") + (description + "In this simulation, you play the part of robot. Your task is to +complete the simulation by finding kitten, as is your destiny, and indeed your +wont. You (robot) are represented by the # character, and you move around with +the arrow keys touching things. If the thing you touch is kitten, you get a +cute little animation (which was cuter in the DOS version) and the simulation +ends. Otherwise, you get a brief description of what it is you touched.") + (home-page "http://robotfindskitten.org/") + (license license:gpl2+))) + (define-public roguebox-adventures (package (name "roguebox-adventures") base-commit: 738da660ff51e03b5ef63af9fa81eb50cb222928 -- 2.34.0