unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Two incomplete game patches: jumpnbump & eunuchs-orbital-sniper
@ 2015-04-28 18:31 Christopher Allan Webber
  0 siblings, 0 replies; only message in thread
From: Christopher Allan Webber @ 2015-04-28 18:31 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

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!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-jumpnbump-incomplete.patch --]
[-- Type: text/x-diff, Size: 2502 bytes --]

From dfe1d9733573c30577dd619a8e5299f6531be13b Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0001-Add-orbital-sniper-game.patch --]
[-- Type: text/x-diff, Size: 2197 bytes --]

From ab916c25db60dbed74b4c7a74f75a4c9b882d3e7 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-28 18:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28 18:31 Two incomplete game patches: jumpnbump & eunuchs-orbital-sniper Christopher Allan Webber

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).