guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two incomplete game patches: jumpnbump & eunuchs-orbital-sniper


From: Christopher Allan Webber
Subject: Two incomplete game patches: jumpnbump & eunuchs-orbital-sniper
Date: Tue, 28 Apr 2015 13:31:26 -0500

I tried adding two games to Guix while listening to people argue about
some things on a conference call today.  I ran into problems with both
of these though!

 - jumpnbump has just a makefile and nothing else, and I don't know enough
   to fix up the path stuff.
 - eunuchs-orbital-sniper is hitting some weird issues while compiling
   and I'm not sure if they're path things or what.

Maybe someone else will want to finish these, I think I'm not
motivated/skilled enough to follow through myself!

>From dfe1d9733573c30577dd619a8e5299f6531be13b Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <address@hidden>
Date: Tue, 28 Apr 2015 13:12:50 -0500
Subject: [PATCH] jumpnbump, but doesn't really compile because no configure

---
 gnu/packages/games.scm | 33 +++++++++++++++++++++++++++++++++
 gnu/packages/sdl.scm   |  3 ++-
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index d86e151..8d07541 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -31,6 +31,7 @@
   #:use-module (guix utils)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages admin)
@@ -879,3 +880,35 @@ bones.
 This game is based on the GPL version of the famous game TuxRacer.")
     (home-page "http://sourceforge.net/projects/extremetuxracer/";)
     (license license:gpl2+)))
+
+(define-public jumpnbump
+  (package
+    (name "jumpnbump")
+    (version "20040627.e2bcb0a")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "git://git.icculus.org/crow/jumpnbump.git")
+                    (commit "e2bcb0a928cee4190ef0b86b06eb7ec083bf23f8")))
+              (sha256
+               (base32
+                "13x2iqdwxnklyknywimcv6h0qp6ra3xnij5krb03g3xz9knw9pgj"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (delete 'configure))
+       #:make-flags '("CC=gcc")))
+    (inputs
+     `(("sdl" ,sdl)
+       ("sdl-mixer" ,sdl-mixer)
+       ("sdl-image" ,sdl-image)
+       ("sdl-net" ,sdl-net)
+       ("sdl-union" ,sdl-union)
+       ("libmikmod" ,libmikmod)))
+    (synopsis "Bunny mayhem with lots of ketchup!")
+    (description "Cute and cuddly competetive multiplayer platformer where
+bunnies attempt to kill each other by jumping on each others' heads.")
+    ;; Homepage lists CVS only, but https://icculus.org/ lists git
+    (home-page "https://icculus.org/jumpnbump/";)
+    (license license:gpl2+)))
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 4e9ebfb..7cc4198 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -42,7 +42,8 @@
             sdl-image
             sdl-mixer
             sdl-net
-            sdl-ttf))
+            sdl-ttf
+            sdl-union))
 
 (define sdl
   (package
-- 
2.1.4

>From ab916c25db60dbed74b4c7a74f75a4c9b882d3e7 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <address@hidden>
Date: Tue, 28 Apr 2015 13:29:38 -0500
Subject: [PATCH] Add orbital sniper game.  Not compiling right though!

---
 gnu/packages/games.scm | 28 ++++++++++++++++++++++++++++
 gnu/packages/sdl.scm   |  3 ++-
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index d86e151..694d3a7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -879,3 +879,31 @@ bones.
 This game is based on the GPL version of the famous game TuxRacer.")
     (home-page "http://sourceforge.net/projects/extremetuxracer/";)
     (license license:gpl2+)))
+
+(define-public orbital-eunuchs-sniper
+  (package
+    (name "orbital-eunuchs-sniper")
+    (version "1.30")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://icculus.org/oes/orbital_eunuchs_sniper-";
+                    version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "02p7kq2j2p84hzxvynfmm74z2scc7zqzwr3zjv5hjwyjhf8r172c"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags
+       (list (string-append "--with-sdl-prefix="
+                            (assoc-ref %build-inputs "sdl-union")))))
+    (inputs
+     `(("sdl-union" ,sdl-union)))
+    (synopsis "Overhead shooting game: snipe terrorists to protect the VIP")
+    (description "Orbital Eunuchs Sniper is an overhead shooting game.
+You (the Eunuch on the orbital laser platform) are tasked with protecting the
+VIPs (blue) from the terrorists (red)!  You view a city from overhead, from
+the point of a view of an orbiting satellite.")
+    (home-page "https://icculus.org/oes/";)
+    (license license:zlib)))
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 4e9ebfb..7cc4198 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -42,7 +42,8 @@
             sdl-image
             sdl-mixer
             sdl-net
-            sdl-ttf))
+            sdl-ttf
+            sdl-union))
 
 (define sdl
   (package
-- 
2.1.4


reply via email to

[Prev in Thread] Current Thread [Next in Thread]