From patchwork Fri Jun 11 00:53:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 157 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 E3BDC27BC81; Fri, 11 Jun 2021 01:55:16 +0100 (BST) 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,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id A996627BC78 for ; Fri, 11 Jun 2021 01:55:16 +0100 (BST) Received: from localhost ([::1]:57786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrVS7-0005TM-Qa for patchwork@mira.cbaines.net; Thu, 10 Jun 2021 20:55:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrVRu-0005TD-GJ for guix-patches@gnu.org; Thu, 10 Jun 2021 20:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrVRu-0005UX-8l for guix-patches@gnu.org; Thu, 10 Jun 2021 20:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrVRu-0008Uh-6T for guix-patches@gnu.org; Thu, 10 Jun 2021 20:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48952] [PATCH 0/3] build-system: Add godot-build-system. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Jun 2021 00:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48952 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48952@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162337286332602 (code B ref -1); Fri, 11 Jun 2021 00:55:01 +0000 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 Date: Fri, 11 Jun 2021 00:53:43 +0000 Message-Id: <20210611005343.428719-1-monego@posteo.net> MIME-Version: 1.0 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 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