* [PATCH] gnu: Add freeciv.
@ 2017-02-01 14:19 Arun Isaac
2017-02-01 16:45 ` ng0
2017-02-01 17:13 ` Arun Isaac
0 siblings, 2 replies; 5+ messages in thread
From: Arun Isaac @ 2017-02-01 14:19 UTC (permalink / raw)
To: guix-devel
* gnu/packages/games.scm (freeciv): New variable.
---
gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 0edd585fa..81588aabb 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -104,6 +104,7 @@
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages tls)
#:use-module (gnu packages pcre)
+ #:use-module (gnu packages cyrus-sasl)
#:use-module (guix build-system gnu)
#:use-module (guix build-system haskell)
#:use-module (guix build-system python)
@@ -3071,3 +3072,33 @@ symbols, the game needs graphics to render the non-euclidean world.")
for Un*x systems with X11.")
(home-page "http://olofson.net/kobodl/")
(license license:gpl2+)))
+
+(define-public freeciv
+ (package
+ (name "freeciv")
+ (version "2.5.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://download.gna.org/freeciv/stable/freeciv-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "16wrnsx5rmbz6rjs03bhy0vn20i6n6g73lx7fjpai98ixhzc5bfg"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("curl" ,curl)
+ ("cyrus-sasl" ,cyrus-sasl)
+ ("gtk+" ,gtk+)
+ ("sdl-mixer" ,sdl-mixer)
+ ("zlib" ,zlib)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "http://www.freeciv.org/")
+ (synopsis "Turn based empire building strategy game")
+ (description "Freeciv is a turn based empire building strategy game
+inspired by the history of human civilization. The game commences in
+prehistory and your mission is to lead your tribe from the Stone Age
+to the Space Age.")
+ (license license:gpl2+)))
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: Add freeciv.
2017-02-01 14:19 [PATCH] gnu: Add freeciv Arun Isaac
@ 2017-02-01 16:45 ` ng0
2017-02-01 17:13 ` Arun Isaac
1 sibling, 0 replies; 5+ messages in thread
From: ng0 @ 2017-02-01 16:45 UTC (permalink / raw)
To: Arun Isaac; +Cc: guix-devel
Arun Isaac writes:
> * gnu/packages/games.scm (freeciv): New variable.
Nice :)
> ---
> gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 0edd585fa..81588aabb 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -104,6 +104,7 @@
> #:use-module (gnu packages xdisorg)
> #:use-module (gnu packages tls)
> #:use-module (gnu packages pcre)
> + #:use-module (gnu packages cyrus-sasl)
> #:use-module (guix build-system gnu)
> #:use-module (guix build-system haskell)
> #:use-module (guix build-system python)
> @@ -3071,3 +3072,33 @@ symbols, the game needs graphics to render the non-euclidean world.")
> for Un*x systems with X11.")
> (home-page "http://olofson.net/kobodl/")
> (license license:gpl2+)))
> +
> +(define-public freeciv
> + (package
> + (name "freeciv")
> + (version "2.5.6")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://download.gna.org/freeciv/stable/freeciv-"
> + version ".tar.bz2"))
I'd write it like this:
(uri (string-append "http://download.gna.org/freeciv/"
"stable/freeciv-" version ".tar.bz2"))
but that's just cosmetic.
> + (sha256
> + (base32
> + "16wrnsx5rmbz6rjs03bhy0vn20i6n6g73lx7fjpai98ixhzc5bfg"))))
> + (build-system gnu-build-system)
> + (inputs
> + `(("curl" ,curl)
> + ("cyrus-sasl" ,cyrus-sasl)
> + ("gtk+" ,gtk+)
> + ("sdl-mixer" ,sdl-mixer)
> + ("zlib" ,zlib)))
> + (native-inputs
> + `(("pkg-config" ,pkg-config)))
> + (home-page "http://www.freeciv.org/")
> + (synopsis "Turn based empire building strategy game")
> + (description "Freeciv is a turn based empire building strategy game
> +inspired by the history of human civilization. The game commences in
> +prehistory and your mission is to lead your tribe from the Stone Age
> +to the Space Age.")
> + (license license:gpl2+)))
The rest looks good to me.
I don't really played very long, but the game doesn't segfault,
so I suppose it works as intended.
--
ng0 . https://www.inventati.org/patternsinthechaos/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: Add freeciv.
2017-02-01 14:19 [PATCH] gnu: Add freeciv Arun Isaac
2017-02-01 16:45 ` ng0
@ 2017-02-01 17:13 ` Arun Isaac
2017-02-01 17:13 ` Arun Isaac
1 sibling, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2017-02-01 17:13 UTC (permalink / raw)
To: guix-devel
I have made the modification to the URI. New patch coming through...
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] gnu: Add freeciv.
2017-02-01 17:13 ` Arun Isaac
@ 2017-02-01 17:13 ` Arun Isaac
2017-02-01 19:56 ` Kei Kebreau
0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2017-02-01 17:13 UTC (permalink / raw)
To: guix-devel
* gnu/packages/games.scm (freeciv): New variable.
---
gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 0edd585fa..98a4d6901 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -104,6 +104,7 @@
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages tls)
#:use-module (gnu packages pcre)
+ #:use-module (gnu packages cyrus-sasl)
#:use-module (guix build-system gnu)
#:use-module (guix build-system haskell)
#:use-module (guix build-system python)
@@ -3071,3 +3072,33 @@ symbols, the game needs graphics to render the non-euclidean world.")
for Un*x systems with X11.")
(home-page "http://olofson.net/kobodl/")
(license license:gpl2+)))
+
+(define-public freeciv
+ (package
+ (name "freeciv")
+ (version "2.5.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://download.gna.org/freeciv/"
+ "stable/freeciv-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "16wrnsx5rmbz6rjs03bhy0vn20i6n6g73lx7fjpai98ixhzc5bfg"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("curl" ,curl)
+ ("cyrus-sasl" ,cyrus-sasl)
+ ("gtk+" ,gtk+)
+ ("sdl-mixer" ,sdl-mixer)
+ ("zlib" ,zlib)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "http://www.freeciv.org/")
+ (synopsis "Turn based empire building strategy game")
+ (description "Freeciv is a turn based empire building strategy game
+inspired by the history of human civilization. The game commences in
+prehistory and your mission is to lead your tribe from the Stone Age
+to the Space Age.")
+ (license license:gpl2+)))
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: Add freeciv.
2017-02-01 17:13 ` Arun Isaac
@ 2017-02-01 19:56 ` Kei Kebreau
0 siblings, 0 replies; 5+ messages in thread
From: Kei Kebreau @ 2017-02-01 19:56 UTC (permalink / raw)
To: Arun Isaac; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]
Arun Isaac <arunisaac@systemreboot.net> writes:
> * gnu/packages/games.scm (freeciv): New variable.
> ---
> gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 0edd585fa..98a4d6901 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -104,6 +104,7 @@
> #:use-module (gnu packages xdisorg)
> #:use-module (gnu packages tls)
> #:use-module (gnu packages pcre)
> + #:use-module (gnu packages cyrus-sasl)
> #:use-module (guix build-system gnu)
> #:use-module (guix build-system haskell)
> #:use-module (guix build-system python)
> @@ -3071,3 +3072,33 @@ symbols, the game needs graphics to render the non-euclidean world.")
> for Un*x systems with X11.")
> (home-page "http://olofson.net/kobodl/")
> (license license:gpl2+)))
> +
> +(define-public freeciv
> + (package
> + (name "freeciv")
> + (version "2.5.6")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://download.gna.org/freeciv/"
> + "stable/freeciv-" version ".tar.bz2"))
> + (sha256
> + (base32
> + "16wrnsx5rmbz6rjs03bhy0vn20i6n6g73lx7fjpai98ixhzc5bfg"))))
> + (build-system gnu-build-system)
> + (inputs
> + `(("curl" ,curl)
> + ("cyrus-sasl" ,cyrus-sasl)
> + ("gtk+" ,gtk+)
> + ("sdl-mixer" ,sdl-mixer)
> + ("zlib" ,zlib)))
> + (native-inputs
> + `(("pkg-config" ,pkg-config)))
> + (home-page "http://www.freeciv.org/")
> + (synopsis "Turn based empire building strategy game")
> + (description "Freeciv is a turn based empire building strategy game
> +inspired by the history of human civilization. The game commences in
> +prehistory and your mission is to lead your tribe from the Stone Age
> +to the Space Age.")
> + (license license:gpl2+)))
Thanks! Pushed as 5430dbd95b812d8fa566725885d50ba4024402eb.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-02-01 20:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-01 14:19 [PATCH] gnu: Add freeciv Arun Isaac
2017-02-01 16:45 ` ng0
2017-02-01 17:13 ` Arun Isaac
2017-02-01 17:13 ` Arun Isaac
2017-02-01 19:56 ` Kei Kebreau
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).