all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Roman Riabenko <roman@riabenko.com>, 54476@debbugs.gnu.org
Subject: [bug#54476] [PATCH] gnu: games: Add robotfindskitten.
Date: Mon, 21 Mar 2022 07:59:45 +0100	[thread overview]
Message-ID: <f3cc0d9be758f49247afb3088720657ebf3eb1c7.camel@gmail.com> (raw)
In-Reply-To: <d7b56d3619d5fea4effb0d428dfec8f48dd78f60.camel@riabenko.com>

Hi Roman,

Am Sonntag, dem 20.03.2022 um 16:28 +0200 schrieb Roman Riabenko:

> +    ;; Despite what guix lint says, version 2.8284271.702 is newer
> then
> +    ;; 1600003_201b. See ChangeLog for version history.
> +    (version "2.8284271.702")
> +    ;; The git version is the same as in the release tarball, but it
> bundles
> +    ;; convenient .desktop files, which were requested for Debian.
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url
> +                    
> "https://github.com/robotfindskitten/robotfindskitten")
> +                    (commit
> "1cae36621f9c19d19a40eacf63789913d4ef5d5c")))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +               
> "0ps3xrl1yh0h7jhl3bwhx5xw2hvhzync03y08i66rzw098r530qq"))))
Looking at the git repository, those are *not* the same.  Use git-
version or use the tag as commit, but don't mix conventions.
> +                  (replace 'bootstrap
> +                    (lambda _
> +                      (invoke "autoreconf" "-ifv"))) ;per README.md
The existing bootstrap should already correctly invoke autoreconf if no
bootstrap script exists.
> +                  (add-after 'unpack 'fix-install-path
> +                    (lambda _
> +                      ;; It is configured to install executable to
> /games or
> +                      ;; /usr/local/games per Filesystem Hierarchy
> Standard.
> +                      ;; We change that to get it in $PATH.
> +                      (substitute* "src/Makefile.am"
> +                        (("\\$\\(prefix\\)/games") "$(prefix)/bin"))
We could change this by using #:make-flags instead, I believe.
> +                      ;; When built with guix, all characters are
> displayed in
> +                      ;; the background colour pair. If it is not
> set manually,
> +                      ;; this is not happening, so we get back
> colour into the
> +                      ;; game. The background is redrawn anyway. See
> man bkgd.
> +                      (substitute* "src/robotfindskitten.c"
> +                        (("\\(void\\) bkgd \\( \\(chtype\\)
> COLOR_PAIR\\(WHITE\\) \\);")
> +                         "")))))
This should probably go into a "patch-source" phase.

> +    (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.")
Both synopsis and description could use some love.  Plain copypasta
with grammatical errors is not good optics.

Cheers




  reply	other threads:[~2022-03-21  7:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 14:28 [bug#54476] [PATCH] gnu: games: Add robotfindskitten Roman Riabenko
2022-03-21  6:59 ` Liliana Marie Prikler [this message]
2022-03-24 15:38   ` Roman Riabenko
2022-03-28 13:56     ` Roman Riabenko
2022-03-28 18:34       ` Liliana Marie Prikler
2022-04-11 10:34         ` Roman Riabenko
2022-04-12 18:43           ` bug#54476: " Liliana Marie Prikler
2022-04-12 11:59 ` [bug#54476] " Maxime Devos

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=f3cc0d9be758f49247afb3088720657ebf3eb1c7.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=54476@debbugs.gnu.org \
    --cc=roman@riabenko.com \
    /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.