GNU bug report logs -
#26677
[PATCH] gnu: Add enigma.
Previous Next
Reported by: Ricardo Wurmus <rekado <at> elephly.net>
Date: Thu, 27 Apr 2017 09:20:02 UTC
Severity: normal
Tags: patch
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26677 in the body.
You can then email your comments to 26677 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#26677
; Package
guix-patches
.
(Thu, 27 Apr 2017 09:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 27 Apr 2017 09:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/games.scm (enigma): New variable.
---
gnu/packages/games.scm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 18ea6148c..b31bb93db 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -84,6 +84,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages netpbm)
+ #:use-module (gnu packages networking)
#:use-module (gnu packages ocaml)
#:use-module (gnu packages python)
#:use-module (gnu packages readline)
@@ -3743,6 +3744,65 @@ settings.link.libs:Add(\"wavpack\")\n"))
The Flag. You can even design your own maps!")
(license license:bsd-3)))
+(define-public enigma
+ (package
+ (name "enigma")
+ (version "1.21")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/enigma-game/"
+ "Release%20" version "/enigma-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "00ffh9pypj1948pg3q9sjp1nmiabh52p5c8wpg9n1dcfgl3cywnq"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "--with-system-enet")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'find-sdl
+ (lambda _
+ (substitute* "configure"
+ (("SDL_ttf.h") "SDL/SDL_ttf.h"))
+ (substitute* '("tools/ttf2bmf.cc"
+ "lib-src/enigma-core/ecl_font.cc"
+ "lib-src/enigma-core/ecl_video.cc"
+ "lib-src/enigma-core/ecl_buffer.hh"
+ "src/SoundEngine.cc"
+ "src/SoundEngine.hh"
+ "src/MusicManager.cc"
+ "src/MusicManager.hh"
+ "src/d_models.cc"
+ "src/main.cc"
+ "src/network.cc")
+ (("#include \"SDL_(image|ttf|mixer|types|syswm|mutex).h\"" line header)
+ (string-append "#include \"SDL/SDL_" header ".h\"")))
+ (substitute* "src/main.cc"
+ (("#include <SDL_(image|ttf|mixer).h>" line header)
+ (string-append "#include \"SDL/SDL_" header ".h\"")))
+ #t)))))
+ (inputs
+ `(("xerces-c" ,xerces-c)
+ ("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-ttf)))
+ ("curl" ,curl)
+ ("enet" ,enet)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("imagemagick" ,imagemagick)))
+ (home-page "http://www.nongnu.org/enigma")
+ (synopsis "Puzzle game with a dexterity component")
+ (description "Enigma is a puzzle game with 550 unique levels. The object
+of the game is to find and uncover pairs of identically colored ‘Oxyd’ stones.
+Simple? Yes. Easy? Certainly not! Hidden traps, vast mazes, laser beams,
+and most of all, countless hairy puzzles usually block your direct way to the
+Oxyd stones. Enigma’s game objects (and there are hundreds of them, lest you
+get bored) interact in many unexpected ways, and since many of them follow the
+laws of physics (Enigma’s special laws of physics, that is), controlling them
+with the mouse isn’t always trivial.")
+ (license license:gpl2+)))
+
(define-public fillets-ng
(package
(name "fillets-ng")
--
2.12.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#26677
; Package
guix-patches
.
(Thu, 27 Apr 2017 13:31:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 26677 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:
> * gnu/packages/games.scm (enigma): New variable.
LGTM.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Fri, 28 Apr 2017 15:49:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
bug acknowledged by developer.
(Fri, 28 Apr 2017 15:49:03 GMT)
Full text and
rfc822 format available.
Message #13 received at 26677-done <at> debbugs.gnu.org (full text, mbox):
Marius Bakke <mbakke <at> fastmail.com> writes:
> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> * gnu/packages/games.scm (enigma): New variable.
>
> LGTM.
Thanks. Pushed with commit 162a4a032.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 27 May 2017 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.