From patchwork Thu Mar 12 04:29:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alberto EFG X-Patchwork-Id: 20653 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6D99927BBEA; Thu, 12 Mar 2020 13:48:41 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D6FFF27BBE4 for ; Thu, 12 Mar 2020 13:48:40 +0000 (GMT) Received: from localhost ([::1]:41828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCOCW-0006oy-Ep for patchwork@mira.cbaines.net; Thu, 12 Mar 2020 09:48:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37589) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCFTv-0007ub-Ns for guix-patches@gnu.org; Thu, 12 Mar 2020 00:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCFTu-0001bO-CG for guix-patches@gnu.org; Thu, 12 Mar 2020 00:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49834) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCFTu-0001ar-7U for guix-patches@gnu.org; Thu, 12 Mar 2020 00:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCFTu-0000Bz-3Q for guix-patches@gnu.org; Thu, 12 Mar 2020 00:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40035] Add widelands game Resent-From: Alberto EFG Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Mar 2020 04:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40035 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40035@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1583987392695 (code B ref -1); Thu, 12 Mar 2020 04:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2020 04:29:52 +0000 Received: from localhost ([127.0.0.1]:55807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCFTe-0000B3-RT for submit@debbugs.gnu.org; Thu, 12 Mar 2020 00:29:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:44473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCFTd-0000At-54 for submit@debbugs.gnu.org; Thu, 12 Mar 2020 00:29:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37563) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCFTb-0007r1-Gp for guix-patches@gnu.org; Thu, 12 Mar 2020 00:29:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCFTZ-0001F7-VT for guix-patches@gnu.org; Thu, 12 Mar 2020 00:29:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51400) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCFTZ-0001AH-Ah for guix-patches@gnu.org; Thu, 12 Mar 2020 00:29:41 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C5C2916005C for ; Thu, 12 Mar 2020 05:29:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.mx; s=2017; t=1583987378; bh=5MzScsjLU/MZW6jgpGJa0/BQJDDOGy1oXmNQeZfLWZw=; h=From:To:Subject:Date:From; b=Hhm7Y7i3fOcUvfj2PXSQmaSpPJC0rNBt/NaJxpR7tKekyX0BRIB7OEt4DyHeeho8R +7tl68WBED3Rf9uw4jMuJSoXr2M3Cnn4vsH/MGWDCfxwTce/z1V7av6EOMAcC/dwLb ADjGkwBjZdd7hDL1v+jQ4NHWjhe6zBHquA1zXmDub0Pg4HJSojdLeCcWDfNAPhQCLE vr4g9XBREKWXbWYhUSkbnIrmFoPlWwAPOm1E2GfQqm3PaOvUlkcs+Qb2QJMYkcrwCh IZQNrx47/2B8W5Ka7n/xNsetoIAmjCFAQbhvzuoOglqhIR2Gt6cFL2rNmACNB6lJuv nVhgUJxE1g3Mw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48dG7j3f9pz6tn8 for ; Thu, 12 Mar 2020 05:29:36 +0100 (CET) User-agent: mu4e 1.2.0; emacs 26.3 From: Alberto EFG Date: Wed, 11 Mar 2020 22:29:26 -0600 Message-ID: <87o8t2gpqx.fsf@posteo.mx> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-Mailman-Approved-At: Thu, 12 Mar 2020 09:47:50 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 From a58ad8525f0293abbc7fd0b93214c40940b7870b Mon Sep 17 00:00:00 2001 From: Alberto Eleuterio Flores Guerrero 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 ;;; Copyright © 2019 Josh Holland ;;; Copyright © 2017, 2019 Hartmut Goebel +;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero ;;; ;;; 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