From patchwork Sun Jul 31 10:46:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 41072 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 5B69727BBEA; Sun, 31 Jul 2022 11:52:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A 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 C733B27BBE9 for ; Sun, 31 Jul 2022 11:52:09 +0100 (BST) Received: from localhost ([::1]:54412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI6YK-0003Yp-VF for patchwork@mira.cbaines.net; Sun, 31 Jul 2022 06:52:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI6TO-00023C-WF for guix-patches@gnu.org; Sun, 31 Jul 2022 06:47:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI6TO-0000nd-2p for guix-patches@gnu.org; Sun, 31 Jul 2022 06:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oI6TN-0001Zy-R1 for guix-patches@gnu.org; Sun, 31 Jul 2022 06:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56852] [PATCH] gnu: Add exult. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 Jul 2022 10:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56852 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56852@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16592644186052 (code B ref -1); Sun, 31 Jul 2022 10:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jul 2022 10:46:58 +0000 Received: from localhost ([127.0.0.1]:36474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oI6TK-0001ZX-0j for submit@debbugs.gnu.org; Sun, 31 Jul 2022 06:46:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:39766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oI6TG-0001ZO-Ff for submit@debbugs.gnu.org; Sun, 31 Jul 2022 06:46:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI6TG-00020s-7j for guix-patches@gnu.org; Sun, 31 Jul 2022 06:46:54 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:51086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI6TC-0000n9-Iw for guix-patches@gnu.org; Sun, 31 Jul 2022 06:46:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=/npBiwGPve2zy RehL/U2kWeDM+NwAD+Bgu4N/wo0xSM=; h=date:subject:to:from; d=tobias.gr; b=PD9gGH4IPAr9Q3EwznxMJVDcLHsOB5MdL4Z6XRhXHJL/Cw2zVr2bjbYNKc721CvOFFD3 QmYkLTtsbeqjFfQXq7WfUXhTsytT2YDop0Os746JruUqNiQ3MySVkZ1Cbw7Rrn6DQaeEMv 8P5C55CbSZGpYU+zyd6uQIniILo3wYPqw5igcQ88nKTgOt7XYDXyxQZ6eE7leEvaO7Q57v SIAa01H79MJtV1+T2SPz4Hgwaq83GfPi6atHko84Vbp5uEZmblvfI+w5QT2pFpPuLF5GoZ 7M9hCQx6sAL7ZoounhXnFzgmPnrjvwB7HWUWPboRrMs06ZmfgQCmPs3K4h90McLA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 24df4861 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 31 Jul 2022 10:46:44 +0000 (UTC) Date: Sun, 31 Jul 2022 12:46:35 +0200 Message-Id: <20220731104635.31835-1-me@tobias.gr> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches X-Patchwork-Original-From: Tobias Geerinckx-Rice via Guix-patches via From: Tobias Geerinckx-Rice X-getmail-retrieved-from-mailbox: Patches * gnu/packages/games.scm (exult): New public variable. --- Hi Guix, This started as a series of ‘guix shell’ questions by ncbfg36 in #guix, and as those tend to turn into packages, especially when you're waiting for Dell firmware to decide how it's going to fail to boot in 2 minutes, here's one. gnu/packages/games.scm | 64 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index b00bff3e7b..f7b86ae3d5 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3909,6 +3909,70 @@ (define-public extremetuxracer (home-page "https://sourceforge.net/projects/extremetuxracer/") (license license:gpl2+))) +(define-public exult + (package + (name "exult") + (version "1.8") + (source + (origin + ;; The release tarball isn't bootstrapped, and Git is more robust (SWH). + (method git-fetch) + (uri (git-reference + (url "https://github.com/exult/exult") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qfbkz05w8989vafc6dvw1wmdi1mvkr4kkgk3ccixadf4616kcb3")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--enable-shared" + "--disable-static" + "--enable-lto" + "--enable-exult-studio" + "--enable-exult-studio-support" + "--enable-compiler" + "--enable-mods" + "--enable-gimp-plugin" + ;; A few lines on stdout can save a lot of head-scratching: + "CPPFLAGS=-DDEBUG_PATHS=1") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-game-home-directory + (lambda _ + (substitute* "gamemgr/modmgr.cc" + ;; EXULT_DATADIR is in the store where it's rather hard for + ;; users to put game assets. Use a more writable home by + ;; default, which users can override in their ~/.exult.cfg. + (("") + (string-append "/.local/share/exult")) + ;; …however, this causes a regression: the mods which we'll + ;; install to EXULT_DATADIR are no longer found. So: don't + ;; look for mods alongside the assets by default. This too + ;; can be overridden in users' ~/.exult.cfg. + (("game_path( \\+ \"/mods\")" _ +suffix) + (string-append "get_system_path(\"/\") + " + "cfgname" +suffix)))))))) + (native-inputs + (list autoconf automake libtool pkg-config + ;; The following are needed only by the Usecode compiler. + bison flex)) + (inputs + (list fluidsynth freetype libvorbis sdl2 + ;; GTK is needed only by Exult Studio. + gtk+)) + (synopsis "Role-playing game engine compatible with Ultima VII") + (description + "Exult is an Ultima 7 game engine that runs on modern operating systems. +Ultima 7 (or Ultima VII) is a two-part @acronym{RPG, role-playing game} from the +early 1990s. + +Exult is fully compatible with the original Ultima 7, but doesn't require any +of its data files to be useful. Explore entirely new game worlds---or create +your own with the included game and map editor, Exult Studio.") + (home-page "http://exult.info/") + (license license:gpl2+))) + (define-public supertuxkart (package (name "supertuxkart")