GNU bug report logs - #70635
[PATCH] gnu: Add hexahop.

Previous Next

Package: guix-patches;

Reported by: Sébastien Lerique <sl <at> eauchat.org>

Date: Sun, 28 Apr 2024 21:13:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

To reply to this bug, email your comments to 70635 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#70635; Package guix-patches. (Sun, 28 Apr 2024 21:13:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sébastien Lerique <sl <at> eauchat.org>:
New bug report received and forwarded. Copy sent to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org. (Sun, 28 Apr 2024 21:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: guix-patches <at> gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH] gnu: Add hexahop.
Date: Sun, 28 Apr 2024 23:10:36 +0200
* gnu/packages/games.scm (hexahop): New variable.

Change-Id: Id7a998d18c391af8d9722d2e637988ca019db304
---
 gnu/packages/games.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 57e6c23f41..8646b195f6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -81,6 +81,7 @@
 ;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev <at> gmail.com>
 ;;; Copyright © 2023 Wilko Meyer <w <at> wmeyer.eu>
 ;;; Copyright © 2024 Vagrant Cascadian <vagrant <at> debian.org>
+;;; Copyright © 2024 Sébastien Lerique <sl <at> eauchat.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -241,6 +242,41 @@ (define-module (gnu packages games)
   #:use-module ((srfi srfi-1) #:hide (zip))
   #:use-module (srfi srfi-26))
 
+(define-public hexahop
+  (package
+    (name "hexahop")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       ;; FIXME: the "mirror://" url leads to
+       ;;   https://web.archive.org/web/.../https://sourceforge.net/create/
+       ;;   instead of .../hexahop/1.1.0/hex-a-hop-1.1.0.tar.gz or similar.
+       (uri (string-append "https://download.sourceforge.net/project/hexahop/"
+                           version "/hex-a-hop-" version ".tar.gz"))
+       (sha256
+        (base32 "1mm069wpwc8nrrzfn2f64vh550634xlfws64bfmhqhx86vcikgw0"))))
+    (build-system gnu-build-system)
+   (arguments
+    '(#:phases
+      (modify-phases %standard-phases
+        (add-after 'set-paths 'set-sdl'paths
+          (lambda* (#:key inputs #:allow-other-keys)
+            (setenv "CPATH"
+                    (string-append
+                     (search-input-directory inputs "/include/SDL")
+                     ":" (or (getenv "CPATH") ""))))))))
+    (native-inputs
+     (list pkg-config))
+    (inputs
+     (list (sdl-union (list sdl sdl-mixer sdl-ttf))))
+    (home-page "https://sourceforge.net/projects/hexahop/")
+    (synopsis "Puzzle game navigating paths over hexagons")
+    (description
+     "Hex-a-hop is a puzzle game in which a girl has to destroy green hexagons
+by stepping on them.")
+    (license license:gpl2+)))
+
 (define-public abe
   (package
     (name "abe")

base-commit: 4178eaf3b2eeea8f6c2e49b1d65cd60a1663c4a9
-- 
2.41.0





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Mon, 29 Apr 2024 00:48:01 GMT) Full text and rfc822 format available.

Notification sent to Sébastien Lerique <sl <at> eauchat.org>:
bug acknowledged by developer. (Mon, 29 Apr 2024 00:48:01 GMT) Full text and rfc822 format available.

Message #10 received at 70635-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Sébastien Lerique <sl <at> eauchat.org>
Cc: 70635-done <at> debbugs.gnu.org,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Adam Faiz <adam.faiz <at> disroot.org>
Subject: Re: [bug#70635] [PATCH] gnu: Add hexahop.
Date: Mon, 29 Apr 2024 08:46:47 +0800
Sébastien Lerique <sl <at> eauchat.org> writes:

> * gnu/packages/games.scm (hexahop): New variable.
>
> Change-Id: Id7a998d18c391af8d9722d2e637988ca019db304

Pushed to master as commit f1bcbdbde7, with changes:
- Use "mirror://sourceforge" for uri.
- Use "--with-sdl-prefix".

Thank you!




This bug report was last modified 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.