From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SHa/It1e5mIinwAAbAwnHQ (envelope-from ) for ; Sun, 31 Jul 2022 12:52:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iDC7It1e5mI0hAAA9RJhRA (envelope-from ) for ; Sun, 31 Jul 2022 12:52:13 +0200 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 10428124ED for ; Sun, 31 Jul 2022 12:52:13 +0200 (CEST) Received: from localhost ([::1]:54412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI6YN-0003Yp-UT for larch@yhetil.org; Sun, 31 Jul 2022 06:52:12 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659264733; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/npBiwGPve2zyRehL/U2kWeDM+NwAD+Bgu4N/wo0xSM=; b=subwoLKdICTEf+4xNEjNWkpy5uWwkgKF8LF0W0TTiSRsEzZNbxx8ZksR9spP/e/q5hMpUm f7tVyTYVR6OC1Xb4eXWXfO/pq8fZCmkZBtCfltC4zm7Lz8qJu5xX+HL+oK9E0UF63vtaTY Y1TVF3bmfGyInfWizadA+oHZ6SxS32epYSbFpPjj5Jtv8SeIvka4OMsYwQLExdIrT2iyb5 ydlw7zenfbQDTnFb7KrRL6rUDn6AuPXRHBZ5SasUYB1hbmGMvSHu4EColFqb9mEJ7JjgLs HJyAZ03VUVhofQq6S4wwx4H0dHUiVXTqBEXwnRi3r91fJyvNVifBSLGZd+5VNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659264733; a=rsa-sha256; cv=none; b=tkgrgh7hFxU5mc+ia4IK+gzg9WxpprVV2DEGDyc4EeHU9UFWgwPWqn/WSEwXxZot6K2VpO TTlNSnOlET8eGgvGjELrNVOeidbqxJOeX36Dmm/KAj6rBJ1ym7GPfa4A53RYSDQ+pAECYz vHUPSwZ2hJHLikLEWAGVVBis+0vHQoJyVxElAqh8ljDYgAM8FpDI3br5oWWv79+lqyKXv2 60HRaGWCXKUSorEi8SzoA+zTh23/eCm9aVPs6t2TwGwuPAdQrY2o/uMtsVtmXw+L20yb1X ZUA0jbl55PHtzOlKc5giK+Fxc1WOlftWmYjIEMYnpogsvxmmmZYdCDsxTa862A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=PD9gGH4I; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=PD9gGH4I; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 10428124ED X-Spam-Score: -3.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: 95AQ/gfJCdI+ * 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") -- 2.37.1