Subject: bug#29800: closed (Re: [bug#29800] [PATCH] gnu: Add meandmyshadow.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 22 Dec 2017 06:59:02 +0000

Your bug report

#29800: [PATCH] gnu: Add meandmyshadow.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29800: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29800
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#29800] [PATCH] gnu: Add meandmyshadow.
From: Ricardo Wurmus <[email-masked]>
To: Eric Bavier <[email-masked]>
Cc: [email-masked]
Date: Fri, 22 Dec 2017 07:57:50 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Eric Bavier <[email-masked]> writes:

> On Thu, 21 Dec 2017 16:22:54 +0100
> Ricardo Wurmus <[email-masked]> wrote:
>
>> * gnu/packages/games.scm (meandmyshadow): New variable.
>
> Fun game.  Looks good, builds and runs fine by me.

Thanks for checking!

Pushed to master with commit 5145001a1.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

Subject: [PATCH] gnu: Add meandmyshadow.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Cc: Ricardo Wurmus <[email-masked]>
Date: Thu, 21 Dec 2017 16:22:54 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/games.scm (meandmyshadow): New variable.
---
 gnu/packages/games.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c494d0beb..2b1bddb2f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -354,6 +354,56 @@ played.  Freedoom complements the Doom engine with free levels, artwork, sound
 effects and music to make a completely free game.")
    (license license:bsd-3)))
 
+(define-public meandmyshadow
+  (package
+    (name "meandmyshadow")
+    (version "0.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/meandmyshadow/"
+                                  version "/meandmyshadow-" version
+                                  "-src.tar.gz"))
+              (sha256
+               (base32
+                "1dpb7s32b2psj5w3nr5kqibib8nndi86mw8gxp4hmxwrfiisf86d"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f ; there are no tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'set-sdl'paths
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "cmake/Modules/FindSDL_gfx.cmake"
+               (("/usr/local/include/SDL")
+                (string-append (assoc-ref inputs "sdl")
+                               "/include/SDL")))
+             ;; Because SDL provides lib/libX11.so.6 we need to explicitly
+             ;; link with libX11, even though we're using the GL backend.
+             (substitute* "CMakeLists.txt"
+               (("\\$\\{X11_LIBRARIES\\}") "-lX11"))
+             )))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("sdl" ,(sdl-union (list sdl
+                                sdl-image
+                                sdl-gfx
+                                sdl-mixer
+                                sdl-ttf)))
+       ("libx11" ,libx11) ; needed by sdl's libX11
+       ("libarchive" ,libarchive)
+       ("openssl" ,openssl)
+       ("mesa" ,mesa)
+       ("glu" ,glu)
+       ("curl" ,curl)))
+    (home-page "http://meandmyshadow.sourceforge.net/")
+    (synopsis "Puzzle/platform game")
+    (description "Me and My Shadow is a puzzle/platform game in which you try
+to reach the exit by solving puzzles.  Spikes, moving blocks, fragile blocks
+and much more stand between you and the exit.  Record your moves and let your
+shadow mimic them to reach blocks you couldn't reach alone.")
+    (license license:gpl3+)))
+
 (define-public knights
   (package
     (name "knights")
-- 
2.15.0