Subject: Re: [bug#62228] [PATCH 2/2] gnu: Add sgt-puzzles.

From: Bruno Victal <[email-masked]>
Date: Fri, 17 Mar 2023 03:05:35 +0000

Hi,

On 2023-03-16 21:25, Sergey Trofimov wrote:
> +    (arguments
> +     `(#:tests? #f                      ; No tests.
> +       #:configure-flags '("-DNAME_PREFIX=sgt-")
> +       #:phases (modify-phases %standard-phases
> +                  (add-after 'unpack 'set-xdg-open-path
> +                    (lambda* (#:key inputs #:allow-other-keys)
> +                      (substitute* "gtk.c"
> +                        (("(#define HELP_BROWSER_PATH ).+" all define)
> +                         (string-append define "\""
> +                          (search-input-file inputs "/bin/xdg-open") "\"" "\n")))
> +                      #t)))))

Use G-Expressions here.
You can drop the trailing #t as well.

> +    (home-page "https://www.chiark.greenend.org.uk/~sgtatham/puzzles/")
> +    (synopsis "Simon Tatham's portable puzzle collection")
> +    (description "Simon Tatham's Portable Puzzle Collection contains a number of
> +popular puzzle games for one player.  It currently consists of these games:
> + * Black Box, ball-finding puzzle
> + * Bridges, bridge-placing puzzle
> + * Cube, rolling cube puzzle
> + * Dominosa, domino tiling puzzle
> + * Fifteen, sliding block puzzle
> + * Filling, polyomino puzzle
> + * Flip, tile inversion puzzle
> + * Galaxies, symmetric polyomino puzzle
> + * Guess, combination-guessing puzzle
> + * Inertia, gem-collecting puzzle
> + * Keen, arithmetic Latin square puzzle
> + * Light Up, light-bulb placing puzzle
> + * Loopy, loop-drawing puzzle
> + * Magnets, magnet-placing puzzle
> + * Map, map-colouring puzzle
> + * Mines, mine-finding puzzle
> + * Net, network jigsaw puzzle
> + * Netslide, toroidal sliding network puzzle
> + * Pattern
> + * Pearl, loop-drawing puzzle
> + * Pegs, peg solitaire puzzle
> + * Range, visible-distance puzzle
> + * Rectangles
> + * Same Game, block-clearing puzzle
> + * Signpost, square-connecting puzzle
> + * Singles, number-removing puzzle
> + * Sixteen, toroidal sliding block puzzle
> + * Slant, maze-drawing puzzle
> + * Solo, number placement puzzle
> + * Tents, tent-placing puzzle
> + * Towers, tower-placing Latin square puzzle
> + * Twiddle, rotational sliding block puzzle
> + * Undead, monster-placing puzzle
> + * Unequal, Latin square puzzle
> + * Unruly, black and white grid puzzle
> + * Untangle, planar graph layout puzzle")

Format with @itemize here:
@itemize
@item Black Box, ball-finding puzzle
...
@end itemize

Cheers,
Bruno