GNU bug report logs - #40621
[PATCH] gnu: Add blobwars.

Previous Next

Package: guix-patches;

Reported by: Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>

Date: Tue, 14 Apr 2020 06:36:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>
Subject: bug#40621: closed (Re: [bug#40621] [PATCH] gnu: Add blobwars.)
Date: Tue, 14 Apr 2020 08:31:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#40621: [PATCH] gnu: Add blobwars.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 40621 <at> debbugs.gnu.org.

-- 
40621: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40621
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>
Cc: 40621-done <at> debbugs.gnu.org
Subject: Re: [bug#40621] [PATCH] gnu: Add blobwars.
Date: Tue, 14 Apr 2020 10:30:07 +0200
Hello,

Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx> writes:

> * gnu/packages/games.scm (blobwars): New variable.

Thank you! I applied your patch (as
dcf9a7dc017a626113fb670298d6103d8b78e37c) with the following changes:

> +              (uri (string-append "https://downloads.sourceforge.net/project/"
> +                                  name "/" name "-"
> +                                  version ".tar.gz"))

I used Sourceforge mirrors:

    (uri (string-append "mirror://sourceforge/blobwars/"
                         "blobwars-" version ".tar.gz"))

> +         (add-after 'unpack 'werror-begone
> +           (lambda _ (substitute* "Makefile" (("-Werror") ""))))

I added #t at the end of the phase.

> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ("gettext" ,gettext-minimal)))

I re-ordered the inputs.

Regards,

-- 
Nicolas Goaziou

[Message part 3 (message/rfc822, inline)]
From: Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add blobwars.
Date: Tue, 14 Apr 2020 01:34:09 -0500
* gnu/packages/games.scm (blobwars): New variable.
---
 gnu/packages/games.scm | 51 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index ba3a199b97..a345e2fece 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -397,6 +397,57 @@ Playing bastet can be a painful experience, especially if you usually make
 canyons and wait for the long I-shaped block to clear four rows at a time.")
     (license license:gpl3+)))
 
+(define-public blobwars
+  (package
+    (name "blobwars")
+    (version "2.00")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://downloads.sourceforge.net/project/"
+                                  name "/" name "-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "16aagvkx6azf75gm5kaa94bh5npydvhqp3fvdqyfsanzdjgjf1n4"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (let* ((out (assoc-ref %outputs "out")))
+         (list (string-append "PREFIX=" out)
+               (string-append "BINDIR=" out "/bin/")
+               "USEPAK=1"
+               "RELEASE=1"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'werror-begone
+           (lambda _ (substitute* "Makefile" (("-Werror") ""))))
+         ;; No configure script.
+         (delete 'configure))
+       ;; there are no tests
+       #:tests? #f))
+    (inputs
+     `(("hicolor-icon-theme" ,hicolor-icon-theme)
+       ("sdl" ,(sdl-union (list sdl2
+                                sdl2-image
+                                sdl2-mixer
+                                sdl2-ttf
+                                sdl2-net)))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("gettext" ,gettext-minimal)))
+    (home-page "https://sourceforge.net/projects/blobwars/")
+    (synopsis "Platform action game featuring a blob with a lot of weapons")
+    (description "Blobwars: Metal Blob Solid is a 2D platform game, the first
+in the Blobwars series.  You take on the role of a fearless Blob agent.  Your
+mission is to infiltrate various enemy bases and rescue as many MIAs as possible,
+while battling many vicious aliens.")
+    (license (list license:gpl2      ; For code and graphics
+                   license:cc0       ; Music and sounds have specific licenses
+                   license:cc-by3.0  ; see /doc/readme
+                   license:cc-by-sa3.0
+                   license:lgpl2.1+
+                   license:bsd-2))))
+
 (define-public cataclysm-dda
   (package
     (name "cataclysm-dda")
-- 
2.26.0




This bug report was last modified 5 years and 96 days ago.

Previous Next


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