GNU bug report logs - #40035
Add widelands game

Previous Next

Package: guix-patches;

Reported by: Alberto EFG <albertoefg <at> posteo.mx>

Date: Thu, 12 Mar 2020 04:30:01 UTC

Severity: normal

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: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#40035: closed (Add widelands game)
Date: Tue, 30 Jun 2020 15:51:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 30 Jun 2020 17:50:36 +0200
with message-id <87v9j8h7sj.fsf <at> nicolasgoaziou.fr>
and subject line Re: [bug#40035] Add widelands game
has caused the debbugs.gnu.org bug report #40035,
regarding Add widelands game
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
40035: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40035
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alberto EFG <albertoefg <at> posteo.mx>
To: guix-patches <at> gnu.org
Subject: Add widelands game
Date: Wed, 11 Mar 2020 22:29:26 -0600
[Message part 3 (text/plain, inline)]
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

[0001-gnu-Add-widelands.patch (text/x-patch, inline)]
From a58ad8525f0293abbc7fd0b93214c40940b7870b Mon Sep 17 00:00:00 2001
From: Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> 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 <at> araneo.si>
 ;;; Copyright © 2019 Josh Holland <josh <at> inv.alid.pw>
 ;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
+;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> 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

[Message part 5 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: Alberto EFG <albertoefg <at> posteo.mx>, 40035-done <at> debbugs.gnu.org
Subject: Re: [bug#40035] Add widelands game
Date: Tue, 30 Jun 2020 17:50:36 +0200
Hello,

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

>> I'm not lawyerly enough to know if the combined work can be
>> distributed as GPL2+.  I don't see how.  I'd love to be proved wrong!
>
> Debian does it nonetheless[²].

Since there was no further comment, I pushed widelands. We can always
reconsider the license later. 

Thank you for the feedback, and to Alberto for writing the patch in the
first place.

Regards,
-- 
Nicolas Goaziou


This bug report was last modified 4 years and 329 days ago.

Previous Next


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