GNU bug report logs - #25924
[PATCH] gnu: Add prboom-plus.

Previous Next

Package: guix-patches;

Reported by: Kei Kebreau <kei <at> openmailbox.org>

Date: Wed, 1 Mar 2017 22:21:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

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 25924 in the body.
You can then email your comments to 25924 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#25924; Package guix-patches. (Wed, 01 Mar 2017 22:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kei Kebreau <kei <at> openmailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 01 Mar 2017 22:21:02 GMT) Full text and rfc822 format available.

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

From: Kei Kebreau <kei <at> openmailbox.org>
To: guix-patches <at> gnu.org
Cc: Kei Kebreau <kei <at> openmailbox.org>
Subject: [PATCH] gnu: Add prboom-plus.
Date: Wed,  1 Mar 2017 17:20:07 -0500
* gnu/packages/games.scm (prboom-plus): New variable.
---
 gnu/packages/games.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index d26669e68..19cdacaa8 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -19,7 +19,7 @@
 ;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837 <at> gmail.com>
 ;;; Copyright © 2016, 2017 ng0 <contact.ng0 <at> cryptolab.net>
 ;;; Copyright © 2016 Albin Söderqvist <albin <at> fripost.org>
-;;; Copyright © 2016 Kei Kebreau <kei <at> openmailbox.org>
+;;; Copyright © 2016, 2017 Kei Kebreau <kei <at> openmailbox.org>
 ;;; Copyright © 2016 Alex Griffin <a <at> ajgrf.com>
 ;;; Copyright © 2016 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke <at> gnu.org>
@@ -73,6 +73,7 @@
   #:use-module (gnu packages libunwind)
   #:use-module (gnu packages haskell)
   #:use-module (gnu packages mp3)
+  #:use-module (gnu packages music)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
   #:use-module (gnu packages ncurses)
@@ -195,6 +196,54 @@ scriptable with Guile.")
 Chess).  It is similar to standard chess but this variant is far more complicated.")
     (license license:gpl3+)))
 
+
+(define-public prboom-plus
+  (package
+    (name "prboom-plus")
+    (version "2.5.1.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/" name "/" name "/"
+                                  version "/" name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "151v6nign86m1a2vqz27krsccpc9m4d1jax4y43v2fa82wfj9qp0"))
+              (modules '((guix build utils)))
+              (snippet
+               '(substitute* "src/version.c"
+                  (("__DATE__") "")
+                  (("__TIME__") "")))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags '("--disable-cpu-opt")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'set-paths 'set-sdl-paths
+           (lambda* (#:key inputs #:allow-other-keys)
+             (setenv "CPATH"
+                     (string-append (assoc-ref inputs "sdl-union")
+                                    "/include/SDL"))
+             #t))
+         (add-before 'configure 'set-gamesdir
+           (lambda _
+             (substitute* "src/Makefile.in"
+               (("gamesdir = .*$") "gamesdir = $(prefix)/bin\n"))
+             #t)))))
+    (inputs
+     `(("fluidsynth" ,fluidsynth)
+       ("glu" ,glu)
+       ("libmad" ,libmad)
+       ("libpng" ,libpng)
+       ("mesa" ,mesa)
+       ("pcre" ,pcre)
+       ("portmidi" ,portmidi)
+       ("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-net)))))
+    (home-page "http://prboom-plus.sourceforge.net/")
+    (synopsis "Version of the classic 3D shoot'em'up game Doom")
+    (description
+     "PrBoom+ is a Doom source port developed from the original PrBoom project.")
+    (license license:gpl2+)))
+
 (define-public xshogi
   (package
     (name "xshogi")
-- 
2.12.0





Information forwarded to guix-patches <at> gnu.org:
bug#25924; Package guix-patches. (Wed, 15 Mar 2017 20:57:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Kei Kebreau <kei <at> openmailbox.org>
Cc: 25924 <at> debbugs.gnu.org
Subject: Re: bug#25924: [PATCH] gnu: Add prboom-plus.
Date: Wed, 15 Mar 2017 16:56:51 -0400
On Wed, Mar 01, 2017 at 05:20:07PM -0500, Kei Kebreau wrote:
> * gnu/packages/games.scm (prboom-plus): New variable.

LGTM!




Information forwarded to guix-patches <at> gnu.org:
bug#25924; Package guix-patches. (Thu, 16 Mar 2017 03:35:01 GMT) Full text and rfc822 format available.

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

From: Kei Kebreau <kei <at> openmailbox.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 25924 <at> debbugs.gnu.org
Subject: Re: bug#25924: [PATCH] gnu: Add prboom-plus.
Date: Wed, 15 Mar 2017 23:34:14 -0400
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> On Wed, Mar 01, 2017 at 05:20:07PM -0500, Kei Kebreau wrote:
>> * gnu/packages/games.scm (prboom-plus): New variable.
>
> LGTM!

Pushed to master with some simplifications. Thanks for the review!

P.S. How do I close a bug entry? TIA :-)
[signature.asc (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Thu, 16 Mar 2017 04:50:02 GMT) Full text and rfc822 format available.

Notification sent to Kei Kebreau <kei <at> openmailbox.org>:
bug acknowledged by developer. (Thu, 16 Mar 2017 04:50:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Kei Kebreau <kei <at> openmailbox.org>
Cc: 25924-done <at> debbugs.gnu.org
Subject: Re: bug#25924: [PATCH] gnu: Add prboom-plus.
Date: Thu, 16 Mar 2017 00:49:15 -0400
[Message part 1 (text/plain, inline)]
On Wed, Mar 15, 2017 at 11:34:14PM -0400, Kei Kebreau wrote:
> Leo Famulari <leo <at> famulari.name> writes:
> 
> > On Wed, Mar 01, 2017 at 05:20:07PM -0500, Kei Kebreau wrote:
> >> * gnu/packages/games.scm (prboom-plus): New variable.
> >
> > LGTM!
> 
> Pushed to master with some simplifications. Thanks for the review!
> 
> P.S. How do I close a bug entry? TIA :-)

Send a message to <25924-done <at> debbugs.gnu.org>, like this.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Apr 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 73 days ago.

Previous Next


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