From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG3Ze-0002NI-Cz for guix-patches@gnu.org; Wed, 31 May 2017 09:22:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dG3Za-0007gh-53 for guix-patches@gnu.org; Wed, 31 May 2017 09:22:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43640) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dG3Za-0007gd-2e for guix-patches@gnu.org; Wed, 31 May 2017 09:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dG3ZZ-00078t-Qm for guix-patches@gnu.org; Wed, 31 May 2017 09:22:01 -0400 Subject: bug#27161: COLOSSAL CAVE! Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG3Yb-0001Wy-0X for guix-patches@gnu.org; Wed, 31 May 2017 09:21:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dG3YW-0007Ol-K5 for guix-patches@gnu.org; Wed, 31 May 2017 09:21:00 -0400 Received: from aibo.runbox.com ([91.220.196.211]:45960) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dG3YW-0007M0-CH for guix-patches@gnu.org; Wed, 31 May 2017 09:20:56 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dG3YS-00018Q-VW for guix-patches@gnu.org; Wed, 31 May 2017 15:20:53 +0200 Received: from tor-exit4-readme.dfri.se ([171.25.193.78] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dG3Xp-00010O-IZ for guix-patches@gnu.org; Wed, 31 May 2017 15:20:13 +0200 Date: Wed, 31 May 2017 13:20:11 +0000 From: ng0 Message-ID: <20170531132011.xbce7xxppoq2inrt@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="donnlwotghuajdya" Content-Disposition: inline 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 --donnlwotghuajdya Content-Type: multipart/mixed; boundary="aigyhx72agcfnuf6" Content-Disposition: inline --aigyhx72agcfnuf6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Have a piece of interactive fiction history: This adds 'open-adventure', a port of Collosal Cave just recently released under BSD-2 license. --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --aigyhx72agcfnuf6 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-open-adventure.patch" Content-Transfer-Encoding: quoted-printable =46rom 603186e67720056adc778bc8a623d6f39e758326 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 | 62 ++++++++++++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 60d885500..40c2a335a 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,62 @@ at their peak of economic growth and military prowes= s. license:lgpl3 license:mpl2.0 license:zlib)))) + +(define-public open-adventure + (let* ((commit "edc11a1f04663df13baa8178af610f5c91878d8f") + (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 + "1grh5cak2vg3pglmbdax78h03m3d6zczddp6k29acfijvwdcawjf")))) + (build-system gnu-build-system) + (arguments + `(;; https://gitlab.com/esr/open-adventure/issues/4 + #:parallel-build? #f ;Parallel builds fail. + #: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 _ + (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) + ("docbook-xsl" ,docbook-xsl))) + (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 --aigyhx72agcfnuf6-- --donnlwotghuajdya Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlkuwwsACgkQ4i+bv+40 hYhwOQ//df0KdFlRreAYPa5GOqiGqyTzC9SkkhIiJ+EgtHXz2K3W36ld65hroFLX juoU/jmMtaQb6Z+pZw52Kx+i2ROEvDpnhNi6zJA77ON5YgAxeVkjd/vRN6ms++jP cac5GmTUGYQ7kHIq2+t5rkyD43/0j3PPTE6Usvq80jXVaDyh2ACSAA8Ic++n8XWu JsqAHiVhjPUargMFhDoT2GfTT8gNuwUISkfxwMhOqmduR3GYg5fcJVpbDmFTkmoR ibQtGmuVXEMrg6/UFY1fX/8hYWvAv8VHwn2CECdvp3tm8KfgDyS3RVwYDnugyH4g aKDR3dUVjxF/T6lXX5yZs5lp77qUy19H2/APywSUp33M/Tcs3s+lfaNld/B7NqFn bzLTEjabM8IczTAiMk4QgyIG8tW2wAGskg9oJwtzxCRXGwrW5RUAgRObpDQ0IMGv qyuZ3NpU2bqWHcuo4OYitXMYYRG0YEopqifVW7CIzf3jasQ1KTb0OCZmEkb0rsSS R3e83yD+/HJGnmQTfHsygHiBpypOSdQp5E2P8tKmdvb7RWtJFrm/hZYwgu68+xdc +WNee85/k1MP3TTWcWoVO1QizkKPw05Ty0eYrrdPqgccOjZVeXiiG3M6NSgGEdxT A7PmlfwETTUucU4jHdDkg5QJWuxjEc2MCUAcIiIxo43ViaHMEJY= =KIkS -----END PGP SIGNATURE----- --donnlwotghuajdya--