From: Alberto EFG <albertoefg@posteo.mx>
To: 40035@debbugs.gnu.org
Subject: [bug#40035] Add widelands game
Date: Wed, 11 Mar 2020 22:29:26 -0600 [thread overview]
Message-ID: <87o8t2gpqx.fsf@posteo.mx> (raw)
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
Hello.
This is my first patch. I hope everything is correct, but I know there
might be some mistakes. Pleaste let me know.
guix lint - I ran it and I think I have no errors now.
guix size - Around 1.4 gb. I am not sure what to do
guix refresh --list-dependent - Nothing is dependent
Building in my platform (x86_64) works
Building with qemu -
armhf - not working
aarch64 - working
i68 - working
x86_64 - working
[-- Attachment #2: 0001-gnu-Add-widelands.patch --]
[-- Type: text/x-patch, Size: 2735 bytes --]
From a58ad8525f0293abbc7fd0b93214c40940b7870b 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 widelands.
* gnu/packages/games.scm (widelands): New variable.
---
gnu/packages/games.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 322e309591..020d31bb70 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,48 @@ best human chess grandmasters. It can be used with UCI-compatible GUIs like
ChessX.")
(home-page "https://stockfishchess.org/")
(license license:gpl3+)))
+
+(define-public widelands
+ (let ((commit "d9513d413f2558f9ef6f033a7685bf9881fbdbb3")
+ (revision "1"))
+ (package
+ (name "widelands")
+ (version (git-version "20" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/widelands/widelands.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0rsm25kb60xfvib8xk2hcqbppcyjgaiax1rpxxn6vlwrx68nndqp"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f
+ #:configure-flags
+ (let* ((out (assoc-ref %outputs "out"))
+ (share (string-append out "/share")))
+ (list "-DCMAKE_BUILD_TYPE=Release"
+ (string-append "-DCMAKE_INSTALL_PREFIX=" out "/bin")
+ (string-append "-DWL_INSTALL_BASEDIR=" share "/widelands")
+ (string-append "-DWL_INSTALL_DATADIR=" share "/widelands")
+ "-DOPTION_BUILD_WEBSITE_TOOLS=OFF"))))
+ (inputs
+ `(("sdl" ,(sdl-union (list sdl2
+ sdl2-image
+ sdl2-mixer
+ sdl2-ttf)))
+ ("gettext" ,gettext-minimal)
+ ("icu4c" ,icu4c)
+ ("libpng" ,libpng)
+ ("zlib" ,zlib)
+ ("boost" ,boost)
+ ("python" ,python)
+ ("glew" ,glew)))
+ (synopsis "Real-time strategy game")
+ (description
+ "Widelands is a free, open source real-time strategy game with
+ singleplayer campaigns and a multiplayer mode. The game was inspired
+ by Settlers II but has significantly more variety and depth to it. ")
+ (home-page "https://www.widelands.org/")
+ (license license:gpl2+))))
--
2.25.1
next reply other threads:[~2020-03-12 4:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-12 4:29 Alberto EFG [this message]
2020-03-12 14:31 ` [bug#40035] Add widelands game Nicolas Goaziou
2020-03-13 3:14 ` Alberto EFG
2020-03-13 8:16 ` Nicolas Goaziou
2020-06-18 21:22 ` Nicolas Goaziou
2020-06-18 22:58 ` Jonathan Brielmaier
2020-06-19 7:01 ` Nicolas Goaziou
2020-06-21 6:33 ` Efraim Flashner
2020-06-19 12:09 ` Tobias Geerinckx-Rice via Guix-patches via
2020-06-19 18:59 ` Nicolas Goaziou
2020-06-19 20:46 ` Nicolas Goaziou
2020-06-19 21:14 ` Tobias Geerinckx-Rice via Guix-patches via
2020-06-19 21:55 ` Nicolas Goaziou
2020-06-30 15:50 ` bug#40035: " Nicolas Goaziou
2020-06-19 12:30 ` [bug#40035] " Tobias Geerinckx-Rice via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8t2gpqx.fsf@posteo.mx \
--to=albertoefg@posteo.mx \
--cc=40035@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).