From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KCqIOXW0wmD1GQEAgWs5BA (envelope-from ) for ; Fri, 11 Jun 2021 02:55:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IBHbNHW0wmBMaQAAbx9fmQ (envelope-from ) for ; Fri, 11 Jun 2021 00:55:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 581AE22DAD for ; Fri, 11 Jun 2021 02:55:17 +0200 (CEST) Received: from localhost ([::1]:57786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrVS8-0005TM-C0 for larch@yhetil.org; Thu, 10 Jun 2021 20:55:16 -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 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-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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623372917; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mXN3TZaZ05VQ03oXoL4wGoWrFBPDlp2cN0vJoaN0ryg=; b=F6WZmJXhYshQxPacs0W0fFVG6rErpemAeAHGWBFm+63VnjJ/JTAhuwQYIQm7boyFzn7/yp cABVABe/XcUiwyadvYFcu14a2mihIVsPEmgpSUB+x7YiEyGAOg4XWzRbP6UEkeCRIKZ+FZ QRVLl0Hccf/46hlUQiJec/ivxR4GH8R8ntssy0HxlyhIIQpsSlYzomueWjQH12GEXZgRei FH/weqGYcapS+jIl4P5u1766qPwmE4n2TMCv/8JTEfwuEL6ADSZu/k+Dvx/DYKP6E6HF+F ha/bX3WhOYoQHReho5wKTQTvWYJQR0aSuhUirBMEVF6tvPstOGj0Xv4F8IM+qg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623372917; a=rsa-sha256; cv=none; b=XMXOGliq2YW8YTPh1JhPLLifDnPJnHMd1LL0y3HZXu6oFdXh8uEUpKAtcaZnBoimSsXFLe ++A3v+ThIBzTQHZU+SxN34Qh0JuPoquXf9s+gNtDXFXWEuo/w46Sq4f3CDCpVVZuMfeGDv AiA1dTh4fUrXKaXhkQy9Hry2Zws/2luMQzpquQxl2HQquZElanBAYUYMCHFzNYhslWyWmT 4SKh2t0XzLG8cBe+R8lzaUSph9OjmqRMdb8LUzmEjTOmzDqPVzG9+ZeHLycGOv3EBNMMs9 mUDW1B9MnoIUITEc+Q6uFW3XL5drZv6yH3q7jRXG/IwxcY3m0ihtuJvToxgYLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OsEZ0vrh; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OsEZ0vrh; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 581AE22DAD X-Spam-Score: 3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: AsYntUvx9WEH 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