From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [PATCH] gnu: Add angband. (almost working!) Date: Mon, 12 Sep 2016 20:36:04 -0500 Message-ID: <87inu04m4b.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjcdy-0000YL-Tr for guix-devel@gnu.org; Mon, 12 Sep 2016 21:36:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjcdv-00088y-Lx for guix-devel@gnu.org; Mon, 12 Sep 2016 21:36:14 -0400 Received: from dustycloud.org ([50.116.34.160]:43498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjcdv-00086J-HJ for guix-devel@gnu.org; Mon, 12 Sep 2016 21:36:11 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id B5882266EC for ; Mon, 12 Sep 2016 21:36:04 -0400 (EDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain At the risk of totally destroying my productivity, I thought I'd take a short of packaging a common roguelike. Unfortunately, it seems like every roguelike I try to package runs into some snag. In this case, angband can't find ncurses. I don't know why! Apparently this is related: https://lists.freebsd.org/pipermail/freebsd-ports-bugs/2014-January/271203.html ... but I don't really know enough. Anyone who wants to help contribute to the downfall of various GuixSD users by assisting getting roguelikes into the distribution: this is pretty close, if we can solve that one thing! :) - Chris --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-angband.patch Content-Transfer-Encoding: quoted-printable >From 5a97d5dffa12a3282b57313db8aa609f27729074 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 12 Sep 2016 20:28:51 -0500 Subject: [PATCH] gnu: Add angband. * gnu/packages/games.scm (angband): New variable. --- gnu/packages/games.scm | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index d386e2c..08c00b9 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -10,7 +10,7 @@ ;;; Copyright =C2=A9 2014, 2015 Mark H Weaver ;;; Copyright =C2=A9 2015, 2016 Andreas Enge ;;; Copyright =C2=A9 2015 David Hashe -;;; Copyright =C2=A9 2015 Christopher Allan Webber +;;; Copyright =C2=A9 2015, 2106 Christopher Allan Webber ;;; Copyright =C2=A9 2015 Ricardo Wurmus ;;; Copyright =C2=A9 2015, 2016 Alex Kost ;;; Copyright =C2=A9 2015 Paul van der Walt @@ -223,6 +223,38 @@ them, called Jean Raymond, found an old church in wh= ich to hide, not knowing that beneath its ruins lay buried an ancient evil.") (license license:gpl3+))) =20 +(define-public angband + (package + (name "angband") + (version "4.0.5") + (source + (origin + (method url-fetch) + (uri (string-append "http://rephial.org/downloads/4.0/" + "angband-" version ".tar.gz")) + (sha256 + (base32 + "0lpq2kms7hp421vrasx2bkkn9w08kr581ldwik3v0hlq6h7rlxhd")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no check target + ;; #:configure-flags '("--enable-sdl") + #:phases (modify-phases %standard-phases + (add-after + 'unpack 'autogen.sh + (lambda _ + (zero? (system* "sh" "autogen.sh")))))))=20 + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (inputs `(("ncurses" ,ncurses))) + (home-page "http://rephial.org/") + (synopsis "Dungeon exploration roguelike") + (description "Classic dungeon exploration roguelike. Explore the de= pths +below Angband, seeking riches, fighting monsters, and preparing to fight +Morgoth, the Lord of Darkness.") + (license license:gpl2))) + (define-public pingus (package (name "pingus") --=20 2.9.3 --=-=-=--