From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGNkv-0004FG-Ri for guix-patches@gnu.org; Thu, 01 Jun 2017 06:55:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGNks-0006OU-Mq for guix-patches@gnu.org; Thu, 01 Jun 2017 06:55:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGNks-0006OO-In for guix-patches@gnu.org; Thu, 01 Jun 2017 06:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dGNks-0005IM-5H for guix-patches@gnu.org; Thu, 01 Jun 2017 06:55:02 -0400 Subject: bug#27161: COLOSSAL CAVE! Resent-Message-ID: Date: Thu, 1 Jun 2017 10:54:26 +0000 From: ng0 Message-ID: <20170601105426.mjzqporqmn4fsgqj@abyayala> References: <20170531132011.xbce7xxppoq2inrt@abyayala> <20170531185905.otwephk36hnxtdov@abyayala> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ops55qgdtchw3hrn" Content-Disposition: inline In-Reply-To: <20170531185905.otwephk36hnxtdov@abyayala> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27161@debbugs.gnu.org --ops55qgdtchw3hrn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline ng0 transcribed 4.6K bytes: > ng0 transcribed 5.6K bytes: > > Have a piece of interactive fiction history: > > This adds 'open-adventure', a port of Collosal Cave > > just recently released under BSD-2 license. > I have just received feedback on the bug report, the parallel building > bug might be solved. I'm sending an updated patch soon. This commit is more recent and includes the fix for bug #4. -- ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --ops55qgdtchw3hrn Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-open-adventure.patch" Content-Transfer-Encoding: quoted-printable =46rom d4d300a0568a166155ba42810a51cdc49eed286e Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Tue, 30 May 2017 13:56:26 +0000 Subject: [PATCH] gnu: Add open-adventure. * gnu/packages/games.scm (open-adventure): New variable. --- gnu/packages/games.scm | 61 ++++++++++++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 60d885500..ddd1ce9ca 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -17,7 +17,7 @@ ;;; Copyright =C2=A9 2015 Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer ;;; Copyright =C2=A9 2016, 2017 Rodger Fox ;;; Copyright =C2=A9 2016 Manolis Fragkiskos Ragkousis -;;; Copyright =C2=A9 2016, 2017 ng0 +;;; Copyright =C2=A9 2016, 2017 ng0 ;;; Copyright =C2=A9 2016 Albin S=C3=B6derqvist ;;; Copyright =C2=A9 2016, 2017 Kei Kebreau ;;; Copyright =C2=A9 2016 Alex Griffin @@ -66,6 +66,7 @@ #:use-module (gnu packages avahi) #:use-module (gnu packages boost) #:use-module (gnu packages documentation) + #:use-module (gnu packages docbook) #:use-module (gnu packages fltk) #:use-module (gnu packages fribidi) #:use-module (gnu packages game-development) @@ -4272,3 +4273,61 @@ at their peak of economic growth and military prowes= s. license:lgpl3 license:mpl2.0 license:zlib)))) + +(define-public open-adventure + (let* ((commit "2483a23690d205f01ecb66165cf4522b541cd991") + (revision "1")) + (package + (name "open-adventure") + (version (string-append "2.5-" revision "." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/esr/open-adventure") + (commit commit))) + (sha256 + (base32 + "1gkvkwbq5cl3llfc7nl41van8awn4myx782pg33bxpbx5l9scwb4")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "CC=3Dgcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'use-echo + (lambda _ + (substitute* "tests/Makefile" + (("/bin/echo") + (which "echo"))))) + (add-after 'build 'build-manpage + (lambda _ + ;; The '.asc.6' target of the Makefile does not work, + ;; we run it manually here. + (zero? (system* "a2x" "--doctype" "manpage" "--format" + "manpage" "advent.txt")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + ;; There is no 'make install'. + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (man (string-append out "/share/man/man6"))) + (install-file "advent" bin) + (install-file "advent.6" man)) + #t))))) + (native-inputs + `(("asciidoc" ,asciidoc))) + (synopsis "Colossal Cave Adventure") + (description + "Forward-port of the Crowther/Woods Adventure 2.5 from 1995, +last version in the main line of Colossal Cave Adventure development +written by the original authors. The authors have given permission +and encouragement for this release. +This project is called \"Open Adventure\" because it's not at all clear +how to number Adventure past 2.5 without misleading or causing +collisions or both. See the history file for discussion. The +original 6-character name on the PDP-10 has been reverted to for the +executable in order to avoid a collision with the BSD games port of +the ancestral 1977 version.") + (home-page "https://gitlab.com/esr/open-adventure") + (license license:bsd-2)))) --=20 2.13.0 --ops55qgdtchw3hrn--