From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CMPWMLvKiGVwHgEAkFu2QA (envelope-from ) for ; Mon, 25 Dec 2023 01:20:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sNjjKbvKiGVFGgAAqHPOHw (envelope-from ) for ; Mon, 25 Dec 2023 01:20:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=W1oXU3BT; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703463611; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=mBKXt290c9wbnCn1t9rPmEx6e09/USZNTAmkYn0l/v8=; b=pbVD2EneKUGe2qZgVhuv5DFic/qL5PqjMcbB5pEmwlH3iklWkxr0J17He6Bnujbg/Ezo1T Fc2ZL1L3BjoZygdfK9v8sKYLZ2yuIgup5BT9N4dUvWL+bLlW62lXjs+7SAg9DUezq7o2I7 W084FXTA1S0tWRMs/tS3wo1xJQwXog6/I7ebKI3edCqUFhoBsuUgYtkIDFfhJhnQ0Hcq9t Hio37fxNBR7diDUj1p1GyIplv7j/Io2zaNxjDcVPt0j/X2MNY26Vk8DtrdtbjNuLFuQDHA +1+INvEVhXE1nGFh0HZtHyeDuuZPuVedlsEjH8HgslAT7Mf0Q+aeWIyeuiMC/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=W1oXU3BT; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703463611; a=rsa-sha256; cv=none; b=H1C7CZPnwXy3xro/6GQ15CSJ4x9j8gmzj4iUBFQ8y6c6rUsWAfaI6B9OvlrGLbq0onzhYf SXIfZ/pZKkAOml/z/fMOotuOkAG8/cCDig7cy8UrZfrKZJHLvNti3gqbemU+25UgmfsPRi /frcYpMmZPMly9WJnwSyRCP/YNrdDA+alLaJwkuohm2NBYyHxv2MNV+rh69TAMt0u1fFAe QxpGgMSMGO9X1a64NDYRcMKyaGyTzbLO+Sc0W3XUqZ5fyYSdGwL0EZ35v5lO4s5JD/8ZfY 4RuvbU5gLfBHkO4CBZHB3jysSWPkZ2N+tG7n/TfPttwbKitNJbBYpMQnann39w== 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 7503214C00 for ; Mon, 25 Dec 2023 01:20:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHYhJ-00036A-Pl; Sun, 24 Dec 2023 19:19: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 1rHYhI-00035j-1F for guix-patches@gnu.org; Sun, 24 Dec 2023 19:19: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 1rHYhH-0000YR-Or for guix-patches@gnu.org; Sun, 24 Dec 2023 19:19:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHYhN-0007eh-Tl for guix-patches@gnu.org; Sun, 24 Dec 2023 19:20:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67950] [PATCH v3 3/3] gnu: Add devours. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 00:20: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.170346355029353 (code B ref 67950); Mon, 25 Dec 2023 00:20:01 +0000 Received: (at 67950) by debbugs.gnu.org; 25 Dec 2023 00:19:10 +0000 Received: from localhost ([127.0.0.1]:53728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHYgX-0007dK-LC for submit@debbugs.gnu.org; Sun, 24 Dec 2023 19:19:09 -0500 Received: from layka.disroot.org ([178.21.23.139]:48330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHYgV-0007dC-BC for 67950@debbugs.gnu.org; Sun, 24 Dec 2023 19:19:08 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 76B9041CBD; Mon, 25 Dec 2023 01:19: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 VQMNJGt_vNAU; Mon, 25 Dec 2023 01:18:59 +0100 (CET) Message-ID: <33266423-9748-86a6-3e4e-c786c3d002be@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1703463539; bh=YwYq3gSPv5FxxrE8n36YsJe3ekxPZxzd4lQFYHOI/AM=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=W1oXU3BTuVeqQ0k/BzOvYEsOifG4i71vw11Vd8pbDnB+6yR6SohBWl7Byu66/uhrH McWgko/chXfIOF7Jqaa67OKE33wWDgnq18z19QPLmE0SHgGXBKf0VnOshtpKZRfCN3 w8a6iqvKjA+4jqtWxlFYzWZHtdO9+iWTd14tP6wobT/MjfS5/oZCf9bE68HFThocVF S74hv1SzaXmwYH5p4l+Vv0r3jIEFrtB58nUFUZE7NdGVBYjya4hnV+edvuNH9dXZVn AZlXrC6j1FySK/qzWgnP6v0dSa2lAUHrycBAiXg1ayikaj6FuCJ11zkuXU+OJT4mkq ToHhp0xDlZevQ== Date: Mon, 25 Dec 2023 08:18:35 +0800 MIME-Version: 1.0 Content-Language: en-US References: <672f883c-b530-af90-673c-85d78b705583@disroot.org> In-Reply-To: <672f883c-b530-af90-673c-85d78b705583@disroot.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 From: Adam Faiz via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.71 X-Spam-Score: -6.71 X-Migadu-Queue-Id: 7503214C00 X-TUID: g2UTaxN+EPWw >From b21aaee0b84af2a916a0855740ba25b61a0d594f 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 v3 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 -- 2.41.0