From: Sergey Trofimov <sarg@sarg.org.ru>
To: 62228@debbugs.gnu.org
Cc: "Sergey Trofimov" <sarg@sarg.org.ru>,
"Sergey Trofimov" <sarg@sarg.org.ru>,
"Bruno Victal" <mirai@makinata.eu>,
"Liliana Marie Prikler" <liliana.prikler@ist.tugraz.at>,
"Liliana Marie Prikler" <liliana.prikler@gmail.com>,
"Adam Faiz" <adam.faiz@disroot.org>, 宋文武 <iyzsong@envs.net>
Subject: [bug#62228] [PATCH v5 3/3] gnu: Add sgt-puzzles.
Date: Tue, 12 Mar 2024 17:47:35 +0100 [thread overview]
Message-ID: <702fe978787813cc7721d6ba94128513e349ef5d.1710262044.git.sarg@sarg.org.ru> (raw)
In-Reply-To: <5bb65698442012f2791ffbdd7748164e9de0044c.1710262044.git.sarg@sarg.org.ru>
* gnu/packages/games.scm (sgt-puzzles): New variable.
---
gnu/packages/games.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 9ff08e5e74..63df5b57aa 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -938,6 +938,41 @@ (define-public rogue
(home-page "https://github.com/Davidslv/rogue")
(license license:bsd-3)))
+(define-public sgt-puzzles
+ (let ((commit "80aac3104096aee4057b675c53ece8e60793aa90")
+ (revision "0"))
+ (package
+ (name "sgt-puzzles")
+ (version (git-version "20240302" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.tartarus.org/simon/puzzles.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0z4clv0xi98q28riz323ppn165cm62gj1c6h3xdd2sym4v8gy65z"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:tests? #f ;No tests.
+ #:configure-flags #~(list "-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)
+ (format #f "~a ~s~%" define
+ (search-input-file inputs "/bin/xdg-open")))))))))
+ (inputs (list gtk+ xdg-utils))
+ (native-inputs (list pkg-config perl imagemagick halibut))
+ (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.")
+ (license license:expat))))
(define-public bzflag
(package
--
2.41.0
next prev parent reply other threads:[~2024-03-12 16:50 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-16 21:19 [bug#62228] [PATCH 0/2] gnu: Add sgt-puzzles Sergey Trofimov
2023-03-16 21:24 ` [bug#62228] [PATCH 1/2] gnu: Add halibut Sergey Trofimov
2023-03-16 21:24 ` Sergey Trofimov
2023-03-17 7:50 ` Liliana Marie Prikler
2023-03-17 13:15 ` Bruno Victal
2023-03-17 17:16 ` Liliana Marie Prikler
2023-03-16 21:25 ` [bug#62228] [PATCH 2/2] gnu: Add sgt-puzzles Sergey Trofimov
2023-03-17 3:05 ` Bruno Victal
2023-03-16 21:46 ` [bug#62228] [PATCH] " Sergey Trofimov
2023-03-17 7:40 ` [bug#62228] [PATCH v1] " Sergey Trofimov
2023-03-17 8:29 ` [bug#62228] [PATCH v2 1/3] gnu: Prefix licenses in documentation.scm Sergey Trofimov
2023-03-17 8:29 ` [bug#62228] [PATCH v2 2/3] gnu: Add halibut Sergey Trofimov
2023-03-17 8:29 ` [bug#62228] [PATCH v2 3/3] gnu: Add sgt-puzzles Sergey Trofimov
2024-03-10 21:36 ` [bug#62228] [PATCH v3 1/3] gnu: Prefix licenses in documentation.scm Sergey Trofimov
2024-03-10 21:36 ` [bug#62228] [PATCH v3 2/3] gnu: Add halibut Sergey Trofimov
2024-03-10 21:36 ` [bug#62228] [PATCH v3 3/3] gnu: Add sgt-puzzles Sergey Trofimov
2024-03-11 19:31 ` Liliana Marie Prikler
2024-03-11 19:31 ` [bug#62228] [PATCH v3 1/3] gnu: Prefix licenses in documentation.scm Liliana Marie Prikler
2024-03-12 7:28 ` [bug#62228] [PATCH v4 " Sergey Trofimov
2024-03-12 7:28 ` [bug#62228] [PATCH v4 2/3] gnu: Add halibut Sergey Trofimov
2024-03-12 7:28 ` [bug#62228] [PATCH v4 3/3] gnu: Add sgt-puzzles Sergey Trofimov
2024-03-12 7:50 ` Liliana Marie Prikler
2024-03-12 8:11 ` Sergey Trofimov
2024-03-12 16:47 ` [bug#62228] [PATCH v5 1/3] gnu: Prefix licenses in documentation.scm Sergey Trofimov
2024-03-12 16:47 ` [bug#62228] [PATCH v5 2/3] gnu: Add halibut Sergey Trofimov
2024-03-12 16:47 ` Sergey Trofimov [this message]
2024-03-17 12:32 ` bug#62228: [PATCH v5 3/3] gnu: Add sgt-puzzles Liliana Marie Prikler
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=702fe978787813cc7721d6ba94128513e349ef5d.1710262044.git.sarg@sarg.org.ru \
--to=sarg@sarg.org.ru \
--cc=62228@debbugs.gnu.org \
--cc=adam.faiz@disroot.org \
--cc=iyzsong@envs.net \
--cc=liliana.prikler@gmail.com \
--cc=liliana.prikler@ist.tugraz.at \
--cc=mirai@makinata.eu \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).