GNU bug report logs - #27161
COLOSSAL CAVE!

Previous Next

Package: guix-patches;

Reported by: ng0 <ng0 <at> pragmatique.xyz>

Date: Wed, 31 May 2017 13:22:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ng0 <ng0 <at> pragmatique.xyz>
To: 27161 <at> debbugs.gnu.org
Subject: bug#27161: COLOSSAL CAVE!
Date: Wed, 31 May 2017 18:59:05 +0000
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.
> -- 
> ng0
> OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588

> From 603186e67720056adc778bc8a623d6f39e758326 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0 <at> no-reply.pragmatique.xyz>
> Date: Tue, 30 May 2017 13:56:26 +0000
> Subject: [PATCH] gnu: Add open-adventure.

I have just received feedback on the bug report, the parallel building
bug might be solved. I'm sending an updated patch soon.

> * 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 © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli <at> gmail.com>
>  ;;; Copyright © 2016, 2017 Rodger Fox <thylakoid <at> openmailbox.org>
>  ;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837 <at> gmail.com>
> -;;; Copyright © 2016, 2017 ng0 <contact.ng0 <at> cryptolab.net>
> +;;; Copyright © 2016, 2017 ng0 <ng0 <at> no-reply.pragmatique.xyz>
>  ;;; Copyright © 2016 Albin Söderqvist <albin <at> fripost.org>
>  ;;; Copyright © 2016, 2017 Kei Kebreau <kei <at> openmailbox.org>
>  ;;; Copyright © 2016 Alex Griffin <a <at> ajgrf.com>
> @@ -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 prowess.
>                     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=gcc")
> +         #: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))))
> -- 
> 2.13.0
> 




-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588




This bug report was last modified 8 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.