unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70896] [PATCH] gnu: Add wordwarvi.
@ 2024-05-12 15:08 Denis 'GNUtoo' Carikli
  2024-05-15  7:17 ` Nicolas Graves via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2024-05-12 15:08 UTC (permalink / raw)
  To: 70896
  Cc: Denis 'GNUtoo' Carikli, Adam Faiz, Liliana Marie Prikler,
	宋文武

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

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Change-Id: I2f48c12b780943c56e4d191d43fec3f247261607
---
 gnu/packages/games.scm | 58 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index d7b79907b0..23a6e0cbd2 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4710,6 +4710,64 @@ (define-public wesnoth-server
     (description "This package contains a dedicated server for @emph{The
 Battle for Wesnoth}.")))
 
+(define-public wordwarvi
+  (package
+    (name "wordwarvi")
+    (version "1.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/smcameron/wordwarvi")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0f9xhm7267g27f2k1v4dylzvrfyhr9y60f5ypq5a5kiqrqykm245"))))
+    (build-system gnu-build-system)
+    (inputs (list alsa-lib gtk+-2 libvorbis portaudio))
+    (native-inputs (list pkg-config))
+    (arguments
+     (list
+      #:make-flags #~(list "BINDIR=/bin"
+                           (string-append "CC="
+                                          #$(cc-for-target))
+                           (string-append "DATADIR="
+                                          #$output "")
+                           (string-append "DESTDIR="
+                                          #$output) "PREFIX=")
+      #:tests? #f ;no tests
+      #:phases #~(modify-phases %standard-phases
+                   (delete 'configure)
+                   (add-after 'unpack 'fix-makefile
+                     (lambda _
+                       (substitute* "Makefile"
+                         (("/bin/rm")
+                          "rm")
+                         (("-DDATADIR=\\\\\"\\$\\{DATADIR\\}/\\\\\"")
+                          "-DDATADIR=\\\"${DESTDIR}/${DATADIR}/\\\"")))))))
+    (synopsis "Arcade-style side scrolling space shooter")
+    (description
+     "In this game you pilot a combat space ship to rescue your lost
+\"vi\" .swp files avoiding OS defenses (missiles, other combat space
+ships, etc).  It contains several levels and the difficulty level is
+configurable on the command line.  It can be played with a
+keyboard (with standard arrow keys, or vi key bindings(hjkl)) or a
+joystick.  It is drawn mostly with lines, and support various display
+modes (color, black and white, etc).")
+    ;; For the code, most files are under GPLv2+, but since the ogg_to_pcm.c
+    ;; file is GPLv2 without 'any later version', we use 'gpl2' because of the
+    ;; ambiguity. For the sounds the licenses are declared in
+    ;; sounds/Attribution.txt and for aaaah_it_burns.ogg, it can be viewed with
+    ;; vorbiscomment -l.
+    (license (list license:gpl2 ;For the code
+                   ;; lucky-holiday-cornbread-stuffing-mono.ogg
+                   ;; lucky13-steve-mono-mix.ogg
+                   ;; aaaah_it_burns.ogg
+                   license:cc-by3.0
+                   ;; all other sounds are under cc-by-sa 3.0
+                   license:cc-by-sa3.0))
+    (home-page "https://smcameron.github.io/wordwarvi/")))
+
 (define-public gamine
   (package
     (name "gamine")

base-commit: 56980ea500a1db3c8586972b8abfaf5c4e24f82d
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#70896] [PATCH] gnu: Add wordwarvi.
  2024-05-12 15:08 [bug#70896] [PATCH] gnu: Add wordwarvi Denis 'GNUtoo' Carikli
@ 2024-05-15  7:17 ` Nicolas Graves via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-05-15  7:17 UTC (permalink / raw)
  To: Denis 'GNUtoo' Carikli, 70896
  Cc: 宋文武, Adam Faiz,
	Denis 'GNUtoo' Carikli, Liliana Marie Prikler


The order of package fields is a bit odd, but otherwise LGTM. Built and
rebuilt deterministically. No lints.

On 2024-05-12 17:08, Denis 'GNUtoo' Carikli wrote:

> * gnu/packages/games.scm (wordwarvi): New variable.
>
> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
> Change-Id: I2f48c12b780943c56e4d191d43fec3f247261607
> ---
>  gnu/packages/games.scm | 58 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 58 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index d7b79907b0..23a6e0cbd2 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -4710,6 +4710,64 @@ (define-public wesnoth-server
>      (description "This package contains a dedicated server for @emph{The
>  Battle for Wesnoth}.")))
>  
> +(define-public wordwarvi
> +  (package
> +    (name "wordwarvi")
> +    (version "1.0.4")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/smcameron/wordwarvi")
> +             (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0f9xhm7267g27f2k1v4dylzvrfyhr9y60f5ypq5a5kiqrqykm245"))))
> +    (build-system gnu-build-system)
> +    (inputs (list alsa-lib gtk+-2 libvorbis portaudio))
> +    (native-inputs (list pkg-config))
> +    (arguments
> +     (list
> +      #:make-flags #~(list "BINDIR=/bin"
> +                           (string-append "CC="
> +                                          #$(cc-for-target))
> +                           (string-append "DATADIR="
> +                                          #$output "")
> +                           (string-append "DESTDIR="
> +                                          #$output) "PREFIX=")
> +      #:tests? #f ;no tests
> +      #:phases #~(modify-phases %standard-phases
> +                   (delete 'configure)
> +                   (add-after 'unpack 'fix-makefile
> +                     (lambda _
> +                       (substitute* "Makefile"
> +                         (("/bin/rm")
> +                          "rm")
> +                         (("-DDATADIR=\\\\\"\\$\\{DATADIR\\}/\\\\\"")
> +                          "-DDATADIR=\\\"${DESTDIR}/${DATADIR}/\\\"")))))))
> +    (synopsis "Arcade-style side scrolling space shooter")
> +    (description
> +     "In this game you pilot a combat space ship to rescue your lost
> +\"vi\" .swp files avoiding OS defenses (missiles, other combat space
> +ships, etc).  It contains several levels and the difficulty level is
> +configurable on the command line.  It can be played with a
> +keyboard (with standard arrow keys, or vi key bindings(hjkl)) or a
> +joystick.  It is drawn mostly with lines, and support various display
> +modes (color, black and white, etc).")
> +    ;; For the code, most files are under GPLv2+, but since the ogg_to_pcm.c
> +    ;; file is GPLv2 without 'any later version', we use 'gpl2' because of the
> +    ;; ambiguity. For the sounds the licenses are declared in
> +    ;; sounds/Attribution.txt and for aaaah_it_burns.ogg, it can be viewed with
> +    ;; vorbiscomment -l.
> +    (license (list license:gpl2 ;For the code
> +                   ;; lucky-holiday-cornbread-stuffing-mono.ogg
> +                   ;; lucky13-steve-mono-mix.ogg
> +                   ;; aaaah_it_burns.ogg
> +                   license:cc-by3.0
> +                   ;; all other sounds are under cc-by-sa 3.0
> +                   license:cc-by-sa3.0))
> +    (home-page "https://smcameron.github.io/wordwarvi/")))
> +
>  (define-public gamine
>    (package
>      (name "gamine")
>
> base-commit: 56980ea500a1db3c8586972b8abfaf5c4e24f82d

-- 
Best regards,
Nicolas Graves




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-15  7:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-12 15:08 [bug#70896] [PATCH] gnu: Add wordwarvi Denis 'GNUtoo' Carikli
2024-05-15  7:17 ` Nicolas Graves via Guix-patches via

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