From debbugs-submit-bounces@debbugs.gnu.org Mon May 22 18:30:00 2017 Received: (at submit) by debbugs.gnu.org; 22 May 2017 22:30:00 +0000 Received: from localhost ([127.0.0.1]:33394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCvpw-0003u5-Ju for submit@debbugs.gnu.org; Mon, 22 May 2017 18:30:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCvpu-0003tr-Kz for submit@debbugs.gnu.org; Mon, 22 May 2017 18:29:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCvpo-0005Q8-6C for submit@debbugs.gnu.org; Mon, 22 May 2017 18:29:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCvpo-0005Q4-37 for submit@debbugs.gnu.org; Mon, 22 May 2017 18:29:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCvpm-0002is-Pq for guix-patches@gnu.org; Mon, 22 May 2017 18:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCvpi-0005PJ-PL for guix-patches@gnu.org; Mon, 22 May 2017 18:29:50 -0400 Received: from cock.li ([185.100.85.212]:37874) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCvpi-0005Ol-D1 for guix-patches@gnu.org; Mon, 22 May 2017 18:29:46 -0400 From: nee DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail; t=1495492183; bh=/yJET774VohocsD8EcV6HCW4rwbEeQpwrFswExI4Ls8=; h=From:To:Subject:Date:From; b=0Ry8Yyc6bkpd2z1FhnyydFLrzoqhQYnSXTVAjLmaQLuf1W559gYtWbq3mCp5PhvCV z0I8/ORQ8r/y2EjRmy+V1vVrnvFOawGKmxOtKWjzPyqFDSAaJV96xmu0G5ElD7kMSA yUoMayM49o/zr35BYjuCJ1/mS2BetETlqm3eJW7iMG3QzZUtRYeenVrWDdG+iyoz+i 5W7j/YK36u1zqwhVeznphYELXaszy5JGf7mtpc10w0HqYOA9JHCyMuYo+5Pk91O8Fi vdEhLyWlyFo7y5sxPBaOGkawCI5CN1WFZL0p3GwS3ODX5wOVvGgL+hw9D90o5yr350 e5qPczZC/CbwQ== To: guix-patches@gnu.org Subject: [PATCH] gnu: Add crawl-tiles. Message-ID: Date: Tue, 23 May 2017 00:29:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------64CDF3C15546B8BF29A69560" Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) This is a multi-part message in MIME format. --------------64CDF3C15546B8BF29A69560 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello here is the graphical package for crawl. * Executable name I renamed the executable to crawl-tiles (GAME makeflag), so it won't collide with the console version. Other distros (NixOS, Ubuntu) use the same name. * Test cases I asked on ##crawl-devel and the test cases are currently only written to work with the debug build of the console version. So I overwrite the 'TILES=3D' flag in the crawl base package. * Optional png optimization Crawl uses 'which' to check if advpng (from advanceCOMP) or pngcrush is available to optimize the png compression of it's pngs. Optimizing png compression is not very important, and both programs are not packaged, so I did not include any of them for now, but left a TODO for if they get packaged. - advanceCOMP has bundled dependencies and no options in the build script to use external ones. - pngcrush has a weird zlib-like license and a bundled header-library that also has some similar custom zlib-like license. I might package that later. * Happy hacking Thanks for merging my previous patches, and don't worry when I don't reply for a few days. --------------64CDF3C15546B8BF29A69560 Content-Type: text/x-patch; name="0001-gnu-Add-crawl-tiles.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gnu-Add-crawl-tiles.patch" =46rom 68cafa670b92c421853e243d4bb4bf3174e092ce Mon Sep 17 00:00:00 2001 From: nee Date: Mon, 22 May 2017 23:34:22 +0200 Subject: [PATCH] gnu: Add crawl-tiles. * gnu/packages/games.scm (crawl-tiles): New variable. --- gnu/packages/games.scm | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index fc1e3dcf3..1bc82fb6c 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3979,8 +3979,6 @@ fish. The whole game is accompanied by quiet, comf= orting music.") (list (string-append "SQLITE_INCLUDE_DIR=3D" sqlite "/include")= (string-append "prefix=3D" out) "SAVEDIR=3D~/.crawl" - ;; TODO: build graphical client - "TILES=3D" ;; don't build any bundled dependencies "BUILD_LUA=3D" "BUILD_SQLITE=3D" @@ -3999,7 +3997,10 @@ fish. The whole game is accompanied by quiet, com= forting music.") (setenv "TERM" "xterm-256color") (zero? (apply system* "make" "debug" "test" (format #f "-j~d" (parallel-job-count)) - make-flags))))))) + ;; force commandline build for test cases. + (append make-flags + '("GAME=3Dcrawl" + "TILES=3D"))))))))) (synopsis "Roguelike dungeon crawler game") (description "Dungeon Crawl Stone Soup is a roguelike adventure thro= ugh dungeons filled with dangerous monsters in a quest to find the mystifyin= gly @@ -4013,6 +4014,36 @@ fabulous Orb of Zot.") license:zlib license:asl2.0)))) =20 +(define-public crawl-tiles + (package + (inherit crawl) + (name "crawl-tiles") + (arguments + (substitute-keyword-arguments + (package-arguments crawl) + ((#:make-flags flags) + `(let* ((dejavu (assoc-ref %build-inputs "font-dejavu"))) + (cons* (string-append "PROPORTIONAL_FONT=3D" dejavu + "/share/fonts/truetype/DejaVuSans.ttf")= + (string-append "MONOSPACED_FONT=3D" dejavu + "/share/fonts/truetype/DejaVuSansMono.t= tf") + "TILES=3Dy" + ;; rename the binary to allow parallel installation wi= th crawl. + "GAME=3Dcrawl-tiles" + ,flags))))) + (inputs `(,@(package-inputs crawl) + ("font-dejavu" ,font-dejavu) + ("freetype6" ,freetype) + ("glu" ,glu) + ("libpng" ,libpng) + ("sdl2" ,sdl2) + ("sdl2-image" ,sdl2-image) + ("sdl2-mixer" ,sdl2-mixer))) + (native-inputs `(,@(package-native-inputs crawl) + ;; TODO: add advpng or pngcrush for png additional = optimization. + ("which" ,which))) + (synopsis "Graphical roguelike dungeon crawler game"))) + (define-public lugaru (package (name "lugaru") --=20 2.13.0 --------------64CDF3C15546B8BF29A69560-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 22 21:11:46 2017 Received: (at 27031) by debbugs.gnu.org; 23 May 2017 01:11:46 +0000 Received: from localhost ([127.0.0.1]:33538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCyMU-0007dw-19 for submit@debbugs.gnu.org; Mon, 22 May 2017 21:11:46 -0400 Received: from o133.p8.mailjet.com ([87.253.233.133]:60178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <5f548112.AEEAK4arnrIAAAAAAAAAAAPCjAMAAAACwQwAAAAAAAW9WABZI4xP@bnc3.mailjet.com>) id 1dCyMS-0007dp-P1 for 27031@debbugs.gnu.org; Mon, 22 May 2017 21:11:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=1FPiaQ4VTrqizN+YIHcrTq2LcGo=; b=Cxa5rxmI63pRw4e1msqI33cO6ZVHfSXuySyKoc7ilFssTMAO+AoSY8Kpn ghdp80zO+tNkku3r+6PtTu7ITUHP2xTlhLMqq5rlD5GnCcGNyc76FEDgEr+5 obM/HRO2peIn4GFvXCxiXiOfzWLOgjvcNQ9BZpS8XakFddaMTWen2Y= Message-Id: <5f548112.AEEAK4arnrIAAAAAAAAAAAPCjAMAAAACwQwAAAAAAAW9WABZI4xP@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: nee Subject: Re: bug#27031: [PATCH] gnu: Add crawl-tiles. Date: Tue, 23 May 2017 06:41:23 +0530 In-reply-to: References: X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAK4arnrIAAAAAAAAAAAPCjAMAAAACwQwAAAAAAAW9WABZI4xPYhTSTPRDQVq8537PnnHB0QAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27031 Cc: 27031@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > Hello here is the graphical package for crawl. > > * Happy hacking > Thanks for merging my previous patches, and don't worry when I don't > reply for a few days. Nice to have you back! :-) I'll get back to you on this patch in (hopefully) 24 hours. = From debbugs-submit-bounces@debbugs.gnu.org Tue May 23 19:48:11 2017 Received: (at 27031-done) by debbugs.gnu.org; 23 May 2017 23:48:11 +0000 Received: from localhost ([127.0.0.1]:35224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDJX9-0007t3-Fr for submit@debbugs.gnu.org; Tue, 23 May 2017 19:48:11 -0400 Received: from o114.p8.mailjet.com ([87.253.233.114]:48107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <32237018.AEAAKfawZckAAAAAAAAAAAPEV9MAAAACwQwAAAAAAAW9WABZJMo5@bnc3.mailjet.com>) id 1dDJX8-0007sw-Kk for 27031-done@debbugs.gnu.org; Tue, 23 May 2017 19:48:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=469psx87fxLrbUpFjOH+dbRXbXI=; b=BoVmhVSCUmph4Uzs9UwR7knxg3a7MyLUn3C9CzFzreqKU6WO/bs6RvcV/ asXTKMI3Cf/xvDt+uemxx+gZWmvyqa6evvGK4iWcG/70I6dH2XaZgLvV2q47 1k70a1D8Z/1JJXQWJT4HTXNx4586EZKg7Yl1SEDmeCzDA20NjFiMiE= Message-Id: <32237018.AEAAKfawZckAAAAAAAAAAAPEV9MAAAACwQwAAAAAAAW9WABZJMo5@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: nee Subject: Re: bug#27031: [PATCH] gnu: Add crawl-tiles. Date: Wed, 24 May 2017 05:17:50 +0530 In-reply-to: References: X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAKfawZckAAAAAAAAAAAPEV9MAAAACwQwAAAAAAAW9WABZJMo5g7vKWfnKQF2VPjou0BPo5QAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 27031-done Cc: 27031-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) Pushed with a few minor changes! = From unknown Mon Jun 23 04:13:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Jun 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator