From patchwork Sun May 17 15:52:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Timotej Lazar X-Patchwork-Id: 22138 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 12C8127BBE3; Sun, 17 May 2020 16:53:08 +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,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 A419D27BBE1 for ; Sun, 17 May 2020 16:53:07 +0100 (BST) Received: from localhost ([::1]:55844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaLb9-0008Vu-8q for patchwork@mira.cbaines.net; Sun, 17 May 2020 11:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaLb4-0008Vj-0P for guix-patches@gnu.org; Sun, 17 May 2020 11:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaLb3-0006QT-NS for guix-patches@gnu.org; Sun, 17 May 2020 11:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaLb3-0005Vb-Mq for guix-patches@gnu.org; Sun, 17 May 2020 11:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41365] [PATCH 0/5] Add superstarfighter Resent-From: Timotej Lazar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 May 2020 15:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41365 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41365@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158973073221096 (code B ref -1); Sun, 17 May 2020 15:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2020 15:52:12 +0000 Received: from localhost ([127.0.0.1]:44363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaLaF-0005UC-Lu for submit@debbugs.gnu.org; Sun, 17 May 2020 11:52:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:54896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaLaE-0005U5-Fq for submit@debbugs.gnu.org; Sun, 17 May 2020 11:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaLaC-0008SF-Vo for guix-patches@gnu.org; Sun, 17 May 2020 11:52:09 -0400 Received: from araneo.si ([90.157.193.204]:48346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaLa9-0006K2-Sb for guix-patches@gnu.org; Sun, 17 May 2020 11:52:08 -0400 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id 0167143b for ; Sun, 17 May 2020 15:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20180623; bh=CSKbl3zC8L7m16d6YMaXU eXu75g=; b=NSoSEcNK68cfG9aau1cA1Lrahe5AC3cQS+VM9/jY6r+MLdxaChYrV umOZZ2y3ryMjIpOahsFCZBu342RpoIHs78lLOGyeRBnezJQGxJjhaF+CtG7yeg0c RQpnKuSU7Opto8HgYDeqZv1dbVEQk63kvk4FmV85mq2MiZ2FxslZJbDlJyaUsqqH 4f45lovke6B5DRV2zDDBkK04sk0wHCwurdniepMZJXjNnL/zLY/fO6Nsy7u4NFHF C+ARyOmdbDe9hGhBlEMb3nsuHhw0IFqmDid94nvANRyTH6yI4qTEhc3V94VSuGrS XYU/HlcRxAxNb1q2kaJVPtjrAayVD4ftg== Received: by araneo.si (OpenSMTPD) with ESMTPSA id c0e0b1bb (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 17 May 2020 15:52:01 +0000 (UTC) From: Timotej Lazar Date: Sun, 17 May 2020 17:52:00 +0200 Message-ID: <878shqr23j.fsf@araneo.si> MIME-Version: 1.0 Received-SPF: pass client-ip=90.157.193.204; envelope-from=timotej.lazar@araneo.si; helo=araneo.si X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/17 11:52:03 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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 Hi, this series adds SuperStarfighter¹, a small game built with the Godot engine. I’m submitting it together with patches for godot needed to build the game, and some other improvements. I built the game for x86, x86_64 and aarch64 (can’t run it there due to missing 3D acceleration). The main change to godot is building the headless binary, which is used to compile game assets without requiring X. I put this into a separate output because it doubles the install size. Compile time is also nearly doubled, since most files get compiled twice. If the longer compile time (in total ~20 minutes on an old i7, and ~80 minutes on an even older core duo) is problematic, this can be split in two packages. The game depends on both versions to build and run though. Thoughts? I also enabled release build for Godot, removed an old workaround for aarch64 (disabling threads caused an infinite loop when building the game), and installed the icons to the correct location to be used with the .desktop file. Thanks! ¹ https://notapixel.itch.io/superstarfighter Timotej Lazar (5): gnu: godot: Enable release build. gnu: godot: Remove obsolete workaround for aarch64. gnu: godot: Build and install the headless version. gnu: godot: Install provided .desktop file and icons. gnu: Add superstarfighter. gnu/packages/game-development.scm | 68 ++++++++++++++-------------- gnu/packages/games.scm | 75 +++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 34 deletions(-)