From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eKxcFSTy+WBhaQEAgWs5BA (envelope-from ) for ; Fri, 23 Jul 2021 00:33:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sCzvECTy+WCYFAAAB5/wlQ (envelope-from ) for ; Thu, 22 Jul 2021 22:33:08 +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 F1C671D1F5 for ; Fri, 23 Jul 2021 00:33:07 +0200 (CEST) Received: from localhost ([::1]:58280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6hFb-0001dM-3J for larch@yhetil.org; Thu, 22 Jul 2021 18:33:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6hFX-0001d4-42 for guix-patches@gnu.org; Thu, 22 Jul 2021 18:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6hFW-0004BL-Sk for guix-patches@gnu.org; Thu, 22 Jul 2021 18:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m6hFW-00063O-Gq for guix-patches@gnu.org; Thu, 22 Jul 2021 18:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43630] [PATCH] gnu: Add tic-80. Resent-From: Chris Lemmer-Webber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jul 2021 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43630 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 43630@debbugs.gnu.org, foo.dogsquared@gmail.com X-Debbugs-Original-Cc: 43630@debbugs.gnu.org, Gabriel Arazas , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162699315123228 (code B ref -1); Thu, 22 Jul 2021 22:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jul 2021 22:32:31 +0000 Received: from localhost ([127.0.0.1]:41773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6hF1-00062Z-Hu for submit@debbugs.gnu.org; Thu, 22 Jul 2021 18:32:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:45778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6hEw-00062G-Vf for submit@debbugs.gnu.org; Thu, 22 Jul 2021 18:32:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6hEw-0001bA-OT for guix-patches@gnu.org; Thu, 22 Jul 2021 18:32:26 -0400 Received: from dustycloud.org ([50.116.34.160]:33322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6hEv-0003kt-4e; Thu, 22 Jul 2021 18:32:26 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id E75CF2663C; Thu, 22 Jul 2021 18:32:22 -0400 (EDT) References: <20200926101738.18925-1-foo.dogsquared@gmail.com> <20200926101738.18925-2-foo.dogsquared@gmail.com> <87lffq1j3o.fsf@gnu.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Chris Lemmer-Webber In-reply-to: <87lffq1j3o.fsf@gnu.org> Date: Thu, 22 Jul 2021 18:32:22 -0400 Message-ID: <87lf5y7zex.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=50.116.34.160; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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=1626993188; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=1Y0a2euXFaFKZaonVKnYF2qAs4zYhL6k2yB/B1UHqkE=; b=sx6cRwLlLRn3fpYUmBvWOvsaBbuFpuSVeqzxov0/Xn1BVdyT55eUMuWn0GBUs4Xxib81lu US/RxfIXsAV9LsHNyZdJjv8Gpp/8JO/fGFgjuDld+VYOvaSRgwc71XQKdsE8X7d14/D4MN MXA9mDsOOBpOtUafCJA300sXzt4BE30oXU67UEZTFF8Lb2XJS9h+RKZF5uAmz1PyaCCSBJ YT3TON6h7FWnbxhuC1vC7VriYPWd5pd5YVISB4Wd/uoOmOi9PandMJzZykooFyFpkE7MNC 6B8nH6YbrhhIjuJizRHOeFB/dcv2PJH64n4clt41JCYvfzgQ1VAAM0Yg7ms/dQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626993188; a=rsa-sha256; cv=none; b=VqSvsc9vkfiT4j6myoWGPxdAjAWiLsVDq2AoJgVFK8iQHSJnQjN1jE9JxAHn/KIMzcyABa PBtOStJUjvAucacL6FMg+8FVzNgF3VwCXUuZDu6GGA2N8DK0e8Es9AXLg13PJF7jzHL8It AD7apq74nP8ucZdu1Iag8u2WiSNQsc97Ef2wCXZViRs+iAdir+pXxdUp2OVUGm1FDOET8/ l5vqNpo4ojvt0FRoz4rYccajGh9SxEDSC+7lm8jdC1WZN7LMRHDXasZKKGsbmpBOnCx8Sz YpYLZXifhyHvN2/5LpZxyPWM4m9fx/irEH+mZ9Z9TkIa63fhdyncf+bdmqIDVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: F1C671D1F5 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: G4PqSCrgmM4a I don't have a version fulfilling all the changes Ludo' recommended, but I got this to build and run on my computer based on Gabriel's patch. I also tried bumping to the latest version (v0.90.1706) but curiously that one built fine but segfaults when you try to run it... some floating point exception. Just noting that in case someone is picking this up and trying to advance it. Ludovic Court=C3=A8s writes: > Hi Gabriel, > > Sorry for the long delay! > > Gabriel Arazas skribis: > >> * gnu/packages/game-development.scm (tic-80): New variable. > > [...] > >> + (description >> + "A fantasy computer featuring built-in tools such as a sprite edit= or, >> +music tracker, and a text editor. This package builds the free version= of the >> +software which you can override the package and build the PRO version >> +yourself.") > > We need full sentences and, as per the FSDG, we won=E2=80=99t advertise t= he > =E2=80=9CPRO=E2=80=9D version (which is non-free I guess?) here. So inst= ead I propose > this: > > (description > "TIC-80 is a fantasy computer for making, playing and sharing tiny g= ames. > There are built-in tools for development: code, sprites, maps, sound edit= ors > and the command line, which is enough to create a mini retro game. At the > exit you will get a cartridge file, which can be stored and played on the > website.") > > Another issue: the code bundles quite a few libraries. We should remove > them in a snippet and use the corresponding packages instead. Here=E2=80= =99s > what I see in the log: > > --8<---------------cut here---------------start------------->8--- > Cloning into '/gnu/store/hb5kz8vrk5ykyc3xmx30h20f2bm7pmcp-tic-80-0.80.134= 4-checkout/vendor/sdl2'... > Cloning into '/gnu/store/hb5kz8vrk5ykyc3xmx30h20f2bm7pmcp-tic-80-0.80.134= 4-checkout/vendor/sokol'... > Cloning into '/gnu/store/hb5kz8vrk5ykyc3xmx30h20f2bm7pmcp-tic-80-0.80.134= 4-checkout/vendor/squirrel'... > Cloning into '/gnu/store/hb5kz8vrk5ykyc3xmx30h20f2bm7pmcp-tic-80-0.80.134= 4-checkout/vendor/wren'... > Cloning into '/gnu/store/hb5kz8vrk5ykyc3xmx30h20f2bm7pmcp-tic-80-0.80.134= 4-checkout/vendor/zip'... > Cloning into '/gnu/store/hb5kz8vrk5ykyc3xmx30h20f2bm7pmcp-tic-80-0.80.134= 4-checkout/vendor/zlib'... > --8<---------------cut here---------------end--------------->8--- > > =E2=80=98sokol=E2=80=99 and =E2=80=98wren=E2=80=99 are apparently not pac= kaged yet in Guix. As a first > step, you could remove everything but these two libraries, leaving a > FIXME about them. > > Could you send an updated patch? > > Thanks, > Ludo=E2=80=99.