* [bug#40048] Add barrage game
@ 2020-03-13 4:58 Alberto EFG
2020-03-13 20:46 ` Nicolas Goaziou
2020-04-13 16:35 ` Vincent Legoll
0 siblings, 2 replies; 4+ messages in thread
From: Alberto EFG @ 2020-03-13 4:58 UTC (permalink / raw)
To: 40048
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
Hello.
My second patch, I tried to avoid the same mistakes of the last one.
Everything seems to work.
guix size is around 800 MB
Please let me know of any mistakes I made :)
[-- Attachment #2: 0001-gnu-Add-barrage.patch --]
[-- Type: text/x-patch, Size: 2307 bytes --]
From 74e954b5ef5caee3634be2067f32541a0f05c294 Mon Sep 17 00:00:00 2001
From: Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
Date: Wed, 11 Mar 2020 21:50:14 -0600
Subject: [PATCH] gnu: Add barrage.
* gnu/packages/games.scm (barrage): New variable.
---
gnu/packages/games.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 322e309591..7581a429f8 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -46,6 +46,7 @@
;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2019 Josh Holland <josh@inv.alid.pw>
;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -10157,3 +10158,34 @@ best human chess grandmasters. It can be used with UCI-compatible GUIs like
ChessX.")
(home-page "https://stockfishchess.org/")
(license license:gpl3+)))
+
+(define-public barrage
+ (package
+ (name "barrage")
+ (version "1.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/lgames/barrage/"
+ "barrage-" version ".tar.gz"))
+ (sha256
+ (base32 "0139wxyrir10cbkvkjn548xgmp84wax8mfwk80yxbxlcdamrg257"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("sdl" ,sdl)
+ ("sdl-mixer" ,sdl-mixer)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)))
+ (arguments
+ `(#:configure-flags
+ (list
+ (string-append "CFLAGS="
+ "-I" (assoc-ref %build-inputs "sdl-mixer")
+ "/include/SDL"))))
+ (home-page "http://lgames.sourceforge.net/Barrage/")
+ (synopsis "Violent point-and-click shooting game with nice effects")
+ (description "Barrage is a rather destructive action game that
+ puts you on a shooting range with the objective to hit as many dummy
+ targets as possible within 3 minutes. You control a gun that may either
+ fire small or large grenades at soldiers, jeeps and tanks.
+ Targets are fast pace.")
+ (license license:gpl2+)))
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#40048] Add barrage game
2020-03-13 4:58 [bug#40048] Add barrage game Alberto EFG
@ 2020-03-13 20:46 ` Nicolas Goaziou
2020-04-13 16:35 ` Vincent Legoll
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-03-13 20:46 UTC (permalink / raw)
To: Alberto EFG; +Cc: 40048
Hello,
Alberto EFG <albertoefg@posteo.mx> writes:
> My second patch, I tried to avoid the same mistakes of the last one.
> Everything seems to work.
> guix size is around 800 MB
I applied the patch with the changes below:
> + (inputs
> + `(("sdl" ,sdl)
> + ("sdl-mixer" ,sdl-mixer)
> + ("hicolor-icon-theme" ,hicolor-icon-theme)))
I re-ordered inputs alphabetically.
> + (synopsis "Violent point-and-click shooting game with nice effects")
> + (description "Barrage is a rather destructive action game that
> + puts you on a shooting range with the objective to hit as many dummy
> + targets as possible within 3 minutes. You control a gun that may either
> + fire small or large grenades at soldiers, jeeps and tanks.
> + Targets are fast pace.")
The last sentence seemed to be cut off. I changed the ending according
to upstream REAMDE.
Thank you!
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#40048] Add barrage game
2020-03-13 4:58 [bug#40048] Add barrage game Alberto EFG
2020-03-13 20:46 ` Nicolas Goaziou
@ 2020-04-13 16:35 ` Vincent Legoll
2020-04-13 16:52 ` bug#40048: " Nicolas Goaziou
1 sibling, 1 reply; 4+ messages in thread
From: Vincent Legoll @ 2020-04-13 16:35 UTC (permalink / raw)
To: 40048; +Cc: Alberto EFG, Nicolas Goaziou
Hello,
I think this issue should be closed
WDYT ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#40048: Add barrage game
2020-04-13 16:35 ` Vincent Legoll
@ 2020-04-13 16:52 ` Nicolas Goaziou
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-04-13 16:52 UTC (permalink / raw)
To: Vincent Legoll; +Cc: Alberto EFG, 40048-done
Hello,
Vincent Legoll <vincent.legoll@gmail.com> writes:
> I think this issue should be closed
>
> WDYT ?
You are right. I forgot to do it. Thanks for the heads up.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-13 16:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 4:58 [bug#40048] Add barrage game Alberto EFG
2020-03-13 20:46 ` Nicolas Goaziou
2020-04-13 16:35 ` Vincent Legoll
2020-04-13 16:52 ` bug#40048: " Nicolas Goaziou
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).