From patchwork Sun Dec 24 15:46:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 58023 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 7CF2D27BBE9; Sun, 24 Dec 2023 15:48:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ED6C127BBE2 for ; Sun, 24 Dec 2023 15:48:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHQhp-0006JC-Ta; Sun, 24 Dec 2023 10:47:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHQho-0006Iz-HJ for guix-patches@gnu.org; Sun, 24 Dec 2023 10:47:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHQho-00035k-96 for guix-patches@gnu.org; Sun, 24 Dec 2023 10:47:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHQht-0006B2-V3 for guix-patches@gnu.org; Sun, 24 Dec 2023 10:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67950] [PATCH v2 1/3] gnu: Add inform. References: In-Reply-To: Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Dec 2023 15:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67950 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67950@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 67950-submit@debbugs.gnu.org id=B67950.170343282923561 (code B ref 67950); Sun, 24 Dec 2023 15:48:01 +0000 Received: (at 67950) by debbugs.gnu.org; 24 Dec 2023 15:47:09 +0000 Received: from localhost ([127.0.0.1]:53365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHQh2-00067u-KH for submit@debbugs.gnu.org; Sun, 24 Dec 2023 10:47:08 -0500 Received: from layka.disroot.org ([178.21.23.139]:57070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHQgz-00067i-Rr for 67950@debbugs.gnu.org; Sun, 24 Dec 2023 10:47:07 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4C6EE41A72; Sun, 24 Dec 2023 16:46:57 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eAT_fN6cLZU7; Sun, 24 Dec 2023 16:46:56 +0100 (CET) Message-ID: <2ae87a7c-ae7c-28fd-b6ae-14d3f87d39e5@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1703432816; bh=wfv/gTXGtGuUOMIsg28BhWc8LI76KR9hs2VCalQAB+Y=; h=Date:To:Cc:From:Subject; b=MdiWphG8p8BCiKhZt6rXuWI0vRzIAqW5M08nF4sRkuTQbKnoDIPHgRKlU9Uqh3xHk OYI6YPXh6uVUBtwQqtZ75X+NQ+s3BfaKXCgQvNsO1sCEWsWA7B0/lFtUnoJEnkn5WT H4kNPOGNaiTHzCkTGYK501nqsPGZDT14iJWcIrNfMAStJMFokqiCcjL7UxDRq7B1gd 6dRWFE2DW8ztOeXpCljTq2JZ6ycCwv+7CqaiXQnmcoE7cvET5ha2rXaPqKM+zhwl/6 stZ12ah4NTFvTFjKLX6V3ZeXqfvGvQR4z7NtUsjN5oS2GD5tUMJMBrKhwpSgVIo9L3 SapkE7Ck+9uoQ== Date: Sun, 24 Dec 2023 23:46:31 +0800 MIME-Version: 1.0 Content-Language: en-US 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From eaf206d6a1a29a2334fa31e9692bf6f584d73409 Mon Sep 17 00:00:00 2001 Message-ID: From: AwesomeAdam54321 Date: Thu, 21 Dec 2023 18:15:41 +0800 Subject: [PATCH v2 1/3] gnu: Add inform. * gnu/packages/game-development.scm (inform): New variable. --- gnu/packages/game-development.scm | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) base-commit: 29c94dd522833b2603a651c14a5b06120bcf1829 diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index a2d7c5ea63..72349a8d9b 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -2771,6 +2771,40 @@ (define-public ioquake3 people base their games, ports to new platforms, and other projects.") (license license:gpl2)))) +(define-public inform + (package + (name "inform") + (version "6.41") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://jxself.org/git/inform.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1g2misbp4lacaqa96wk0ad59ybr2dvjnhjsrz98byx4i99s2m2nr")))) + (build-system copy-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'build + (lambda _ + (apply invoke #$(cc-for-target) "-o" "inform" + (find-files "src" "\\.c$"))))) + #:install-plan + #~'(("inform" "bin/inform")))) + (native-inputs (list autoconf automake)) + (synopsis "The Inform 6 compiler") + (description + "Inform 6 is a C-like programming language designed +for interactive fiction. This version of the compiler has been modified +slightly to work better when the Inform standard library is in a non-standard +location.") + (home-page "https://jxself.org/git/inform.git") + (license license:gpl3+))) + (define-public instead (package (name "instead") From patchwork Sun Dec 24 15:49:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 58024 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 73A2727BBEA; Sun, 24 Dec 2023 15:51:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7716A27BBE2 for ; Sun, 24 Dec 2023 15:51:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHQkn-0006tX-M2; Sun, 24 Dec 2023 10:51:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHQki-0006tD-GF for guix-patches@gnu.org; Sun, 24 Dec 2023 10:50:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHQki-0003bx-7x for guix-patches@gnu.org; Sun, 24 Dec 2023 10:50:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHQko-0006Kk-0T for guix-patches@gnu.org; Sun, 24 Dec 2023 10:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67950] [PATCH v2 2/3] gnu: Add informlib. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Dec 2023 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67950 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67950@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 67950-submit@debbugs.gnu.org id=B67950.170343300924267 (code B ref 67950); Sun, 24 Dec 2023 15:51:01 +0000 Received: (at 67950) by debbugs.gnu.org; 24 Dec 2023 15:50:09 +0000 Received: from localhost ([127.0.0.1]:53374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHQjx-0006JK-2l for submit@debbugs.gnu.org; Sun, 24 Dec 2023 10:50:09 -0500 Received: from layka.disroot.org ([178.21.23.139]:52246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHQjv-0006JC-8u for 67950@debbugs.gnu.org; Sun, 24 Dec 2023 10:50:08 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B4FB341940; Sun, 24 Dec 2023 16:50:00 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MdCdVqTpakDG; Sun, 24 Dec 2023 16:49:59 +0100 (CET) Message-ID: <37765b77-c544-8c9a-d760-899c93ebf2c8@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1703432999; bh=1Xzsz5YgHfTjt2TlS+bN0i6pOzyo8F1hjaT16ys6A9Q=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=F2IXoIH8qUxabQocuK1uVgHeE2SA30zoJnSQoFiJ7g/f6sggRE2IfjGOOmkq+/KAQ 1iLhF+2+ZctD7dOpbvnqW8T1x1lCenJJzTI0FFJUb6J4uYPzCEs7W/tgWYl/l1FWTl oySspxY5hX2ckjL+tS5Ni7dErAlSD4B60pBbSncDxUZNbKMgwlKxeJ2ht9GLnI48MC NTgpHjF6ot/8s3Ngzx9RZEAv0qOMVmBDdvTeazV9F15z156FhpH6ps18FMv28hdOf7 TqHkvCJqiQsmeMBCW72SOX3LjyFjpITLy3Lgrc3FOugoDEeB/vnEW7dOy0NrY5vHPP +W2KfHVTfsXrw== Date: Sun, 24 Dec 2023 23:49:35 +0800 MIME-Version: 1.0 Content-Language: en-US References: <2ae87a7c-ae7c-28fd-b6ae-14d3f87d39e5@disroot.org> In-Reply-To: <2ae87a7c-ae7c-28fd-b6ae-14d3f87d39e5@disroot.org> 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From c1fa9c53f3dda536d372257b876918376734b9d5 Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: AwesomeAdam54321 Date: Sun, 24 Dec 2023 23:14:31 +0800 Subject: [PATCH v2 2/3] gnu: Add informlib. * gnu/packages/game-development.scm (informlib): New variable. --- gnu/packages/game-development.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 72349a8d9b..dec0209d6b 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -2805,6 +2805,30 @@ (define-public inform (home-page "https://jxself.org/git/inform.git") (license license:gpl3+))) +(define-public informlib + (package + (name "informlib") + (version "6.12.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://jxself.org/git/informlib.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0fcnw4jjzln402qk097n2s8y24vw1p3mmlmh6k1mbr2zfajjcn5r")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("." "lib")))) + (synopsis "Inform 6 standard library") + (description + "This package provides the standard library for Inform 6.") + (home-page "https://jxself.org/git/informlib.git") + (license license:agpl3+))) + (define-public instead (package (name "instead") From patchwork Sun Dec 24 15:52:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 58025 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 1326527BBE9; Sun, 24 Dec 2023 15:54:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A3DEF27BBE2 for ; Sun, 24 Dec 2023 15:54:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHQnf-0007EI-7A; Sun, 24 Dec 2023 10:53:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHQnb-0007Dw-Vj for guix-patches@gnu.org; Sun, 24 Dec 2023 10:53:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHQnb-0004Wj-Nd for guix-patches@gnu.org; Sun, 24 Dec 2023 10:53:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHQnh-0006Pw-L2 for guix-patches@gnu.org; Sun, 24 Dec 2023 10:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67950] [PATCH v2 3/3] gnu: Add devours. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Dec 2023 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67950 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67950@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 67950-submit@debbugs.gnu.org id=B67950.170343318224579 (code B ref 67950); Sun, 24 Dec 2023 15:54:01 +0000 Received: (at 67950) by debbugs.gnu.org; 24 Dec 2023 15:53:02 +0000 Received: from localhost ([127.0.0.1]:53379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHQmj-0006OD-NI for submit@debbugs.gnu.org; Sun, 24 Dec 2023 10:53:02 -0500 Received: from layka.disroot.org ([178.21.23.139]:56266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHQmi-0006O6-7v for 67950@debbugs.gnu.org; Sun, 24 Dec 2023 10:53:00 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BECE341AA5; Sun, 24 Dec 2023 16:52:53 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7uYAvgBkYuDF; Sun, 24 Dec 2023 16:52:52 +0100 (CET) Message-ID: <7ab61443-ec64-3f26-c977-8afb67527d62@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1703433172; bh=QabjcnJYEr7g2a8rX5bQTvOa9hyViQAMn0WTZzvkVys=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=G0MBHBcmahd/QK4E/I5jIsTaZsuuIsED2mqOAmP3GQ/OZiE/ZAjgaEgsvi+zUuCTP XWsXUX4tCnV2YO73GVdPxQ7MRHFgZAVbN1iSCaBP/YoHag4HqHUZ/6/Qau49jrPWUU aUIvbaASUk0t7RES+ROzHsWsuMYGubYluOEB8saYVfW2eyMUEPVTRYm0iNvjgSMcSe 0yA2KIy2jLeq6J3HsehrP+/n7vBnaiLisRGYVac5W/PUMfB18X5USIguu/zuhV59d0 ul5qaaghztGXcRtM+ApuYVeIPcCITx1+vYLid3zgvWh6LHXSVhCGYWcb1wbjU1zCRv G71Wt3oqe5VPw== Date: Sun, 24 Dec 2023 23:52:29 +0800 MIME-Version: 1.0 Content-Language: en-US References: <2ae87a7c-ae7c-28fd-b6ae-14d3f87d39e5@disroot.org> In-Reply-To: <2ae87a7c-ae7c-28fd-b6ae-14d3f87d39e5@disroot.org> 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From a68ffe27e91e72d85f450141afe6df020906597b Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: AwesomeAdam54321 Date: Sun, 24 Dec 2023 23:15:53 +0800 Subject: [PATCH v2 3/3] gnu: Add devours. * gnu/packages/games.scm (devours): New variable. --- gnu/packages/games.scm | 74 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 66739d7a6b..f7ff5cadf7 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -11100,6 +11100,80 @@ (define-public curseofwar available.") (license license:gpl3+))) +(define-public devours + (let ((commit "d50e745aa14aa48f7555ae12eb3d1000de1cc150") + (revision "0")) + (package + (name "devours") + (version (git-version "3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://jxself.org/git/devours.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ksl6mh76jfx64rmasz2571f88ws45vby2977srhgkh355zp3lzn")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no tests + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; no configure + (replace 'build + (lambda _ + (invoke "inform" + (string-append "+include_path=" + #$(this-package-native-input "informlib") + "/lib") + "devours.inf"))) + (replace 'install + (lambda* (#:key inputs #:allow-other-keys) + ;; Create standalone executable. + (let* ((bash (search-input-file inputs "/bin/bash")) + (share (string-append #$output "/share")) + (scummvm (search-input-file inputs "/bin/scummvm")) + (bin (string-append #$output "/bin")) + (executable (string-append bin "/devours"))) + (mkdir-p share) + (copy-file "devours.z5" (string-append share "/devours.z5")) + (mkdir-p bin) + (with-output-to-file executable + (lambda () + (format #t "#!~a~%" bash) + (format #t + "exec ~a --path=~a glk:zcode~%" + scummvm share))) + (chmod executable #o755)))) + (add-after 'install-executable 'install-desktop-file + (lambda _ + (let* ((apps (string-append #$output "/share/applications")) + (share (string-append #$output ""))) + (mkdir-p apps) + (make-desktop-entry-file + (string-append apps "/devours.desktop") + #:name "All Things Devours" + #:generic-name "All Things Devours" + #:exec (string-append #$output "/bin/devours") + #:categories '("AdventureGame" "Game" "RolePlaying") + #:keywords '("game" "adventure" "sci-fi") + #:comment '((#f "Sci-fi text adventure game"))))))))) + (inputs + (list bash scummvm)) + (native-inputs + (list inform informlib)) + (synopsis "All Things Devours") + (description + "All Things Devours is a short piece of sci-fi interactive fiction, +leaning strongly towards the text-adventure end of the spectrum. +Any move you make may put things into an unwinnable state. You are therefore +encouraged to save frequently, and also to realise that you will probably have +to start over several times to find the most satisfactory ending.") + (home-page "https://jxself.org/git/devours.git") + (license license:agpl3+)))) + (define-public schiffbruch ;; There haven't been any releases for several years, so I've taken the most ;; recent commit from the master branch that didn't fail to build (the last