From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 20:54:23 2021 Received: (at submit) by debbugs.gnu.org; 11 Jun 2021 00:54:23 +0000 Received: from localhost ([127.0.0.1]:37848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrVRH-0008Tm-Hv for submit@debbugs.gnu.org; Thu, 10 Jun 2021 20:54:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:45290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrVRE-0008Td-1D for submit@debbugs.gnu.org; Thu, 10 Jun 2021 20:54:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrVRD-0005RP-1N for guix-patches@gnu.org; Thu, 10 Jun 2021 20:54:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrVR8-00052S-LK for guix-patches@gnu.org; Thu, 10 Jun 2021 20:54:16 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2F0432400E5 for ; Fri, 11 Jun 2021 02:54:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623372850; bh=rARN5L/XugKZqBAT0CxSL7sCAt1rIHu82xquTdQSI7Y=; h=From:To:Cc:Subject:Date:From; b=OsEZ0vrhgzYPBDWfCJpcyRLaKOhlCNqkPXntHY51SJGy4u8K1wMe+xgmpcY+yzvQO LkgCNaHFimoQjYzYzHcUykCEWtM+oFzvl7ud/1V7VZia+S/ZgqAVN6mYCkwK6gptSj lQ3JahN22iyCupNfMO9w55FWGYdnAUvsV6UvhGqAgIPD6/xoCK6puLrZjuZmYLnD7g Nh00LjjLjO6F4GoYJn8Hgb9N0SDr7KUTviCfnMtNfcFrVMeiD15NjMyXJtVOCLzqp1 sCzQTNwzAG43I4g6kgFf8VFqDahOTPysfcTOBYndd8cyHNA9dcKmLS29tjHCEXKALd OkAWT84zMRn3Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G1Mmc4NSjz6tmJ; Fri, 11 Jun 2021 02:54:08 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH 0/3] build-system: Add godot-build-system. Date: Fri, 11 Jun 2021 00:53:43 +0000 Message-Id: <20210611005343.428719-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This patchset adds a build system for Godot games. There is some TODO for the future: _ I had to add a #:game keyword because it is difficult to parse the name of games in the source files. I'd like to remove it when possible. _ I expect that most projects will begin to ship export_presets.cfg and desktop files in the future. Librerama is the only project that I found shipping both and the desktop file is in export/freedesktop. I don't know if that location is autogenerated or not. In any case, I left the desktop files out of the build system for now. _ Support unit tests for games. I don't know how it works in Godot, and very few games have them at the moment. I also tested the build system with Tux Builder (reimplementation of SuperTux in Godot) and Circle Jump and both are working. Side note: Godot 3.3.2-stable is fully compatible with 3.2.* (it was supposed to be 3.2.4 but the versioning change) and a recomended upgrade in case anyone wants to upgrade it. Vinicius Monego (3): build-system: Add godot-build-system. gnu: superstarfighter: Use godot-build-system. gnu: Add librerama. Makefile.am | 3 + doc/guix.texi | 19 ++++ gnu/packages/games.scm | 100 ++++++++++----------- guix/build-system/godot.scm | 142 ++++++++++++++++++++++++++++++ guix/build/godot-build-system.scm | 113 ++++++++++++++++++++++++ 5 files changed, 330 insertions(+), 49 deletions(-) create mode 100644 guix/build-system/godot.scm create mode 100644 guix/build/godot-build-system.scm -- 2.32.0