From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 25 16:10:16 2017 Received: (at submit) by debbugs.gnu.org; 25 Nov 2017 21:10:16 +0000 Received: from localhost ([127.0.0.1]:58268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIhiC-0003Vs-SM for submit@debbugs.gnu.org; Sat, 25 Nov 2017 16:10:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIhi5-0003VF-Na for submit@debbugs.gnu.org; Sat, 25 Nov 2017 16:10:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIhhz-00044c-8v for submit@debbugs.gnu.org; Sat, 25 Nov 2017 16:09:56 -0500 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]:33562) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eIhhz-00044Y-5R for submit@debbugs.gnu.org; Sat, 25 Nov 2017 16:09:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIhhx-0007La-MS for guix-patches@gnu.org; Sat, 25 Nov 2017 16:09:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIhhu-00043g-FM for guix-patches@gnu.org; Sat, 25 Nov 2017 16:09:53 -0500 Received: from mout01.posteo.de ([185.67.36.141]:35530) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eIhhu-000419-10 for guix-patches@gnu.org; Sat, 25 Nov 2017 16:09:50 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5C70E20DE8 for ; Sat, 25 Nov 2017 22:09:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1511644180; bh=rbhOUxxtMc0hSU/gCA+d0CzEYUpSVRcsICgteQUlkUw=; h=From:To:Cc:Subject:Date:From; b=jTHCDvZ9hSzNawxzLAIDgsIK7B56C+TjzEDWRrCNLbPdJCgTjYeFCtX2IsO7zeCDH F71u6YcILhNdag5QSq22K1nyZ0mWZa5sEFjy20SxngbYIzqe84+wSCPaW1mOaDxyqY aIimc+JlhNQGaFmok8g8rsp4IbCHUiv+NRvORkS9VGW12pGnzuf8YuMhI6y/vbcLNP zzjr0cbFyz9S//GX7uhMYP6qnqkGvPvoTe2bAffGJocvwoG892VQbqc/C1atv30JJq MxQsIL6p0o3XLCagSx2FxmWpFMWLahUw44IgLKcMQCekKacGzG7IfagXECxbjT+cnH X6SsvkikSCnqw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3ykm0L4WfKz9rxM; Sat, 25 Nov 2017 22:09:38 +0100 (CET) From: Kei Kebreau To: guix-patches@gnu.org Subject: [PATCH] gnu: Add roguebox-adventures. Date: Sat, 25 Nov 2017 16:09:28 -0500 Message-Id: <20171125210928.24879-1-kkebreau@posteo.net> X-Mailer: git-send-email 2.15.0 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.0 (----) X-Debbugs-Envelope-To: submit Cc: Kei Kebreau 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: 1.0 (+) From: Kei Kebreau * gnu/packages/games.scm (roguebox-adventures): New variable. --- gnu/packages/games.scm | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index b1ba28a62..5b1558c6f 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -580,6 +580,90 @@ utilizing the art assets from the @code{SuperTux} project.") license:gpl2+ license:gpl3+)))) +(define-public roguebox-adventures + (let ((commit "19a2c340b34d5b4e7cc89118c7aedc058babbd93") + (revision "1")) + (package + (name "roguebox-adventures") + (version (string-append "2.1.2." revision "." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.postactiv.com/themightyglider/RogueBoxAdventures") + (commit commit))) + (sha256 + (base32 + "0afmg8fjdcs3sqdp5rc7irgr7riil8jwysfjn1imfxslf1wcx5ah")))) + (build-system python-build-system) + (arguments + '(#:tests? #f ; no check target + #:phases + (modify-phases %standard-phases + ;; no setup.py script + (replace 'build + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (data (string-append + out "/share/games/roguebox-adventures"))) + ;; Use the correct data directory. + (substitute* '("main.py" "LIB/getch.py" "LIB/getch_gcwz.py") + (("basic_path + os\\.sep + 'DATA'") + (string-append "'" data "'")) + (("^basic_path.*$") + (string-append "basic_path ='" data "'\n"))) + (substitute* "LIB/gra_files.py" + (("basic_path = b_path\\.replace\\('/LIB',''\\)") + (string-append "basic_path ='" data "'\n"))) + + ;; The game must save in the user's home directory because + ;; the store is read-only. + (substitute* "main.py" + (("home_save = False") "home_save = True") + (("'icon_small.png'") + (string-append "'" data "/icon_small.png'")))) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (data (string-append + out "/share/games/roguebox-adventures")) + (doc (string-append out "/share/doc"))) + (mkdir-p bin) + (mkdir-p doc) + + (copy-file "main.py" + (string-append bin "/roguebox-adventures")) + (chmod (string-append bin "/roguebox-adventures") #o555) + + (for-each (lambda (file) + (copy-recursively file + (string-append data "/" file))) + '("AUDIO" "FONT" "GRAPHIC" "LIB" "LICENSE" + "icon_big.png" "icon_small.png")) + + (copy-file "DOC" (string-append doc "/roguebox-adventures")) + + (wrap-program (string-append bin "/roguebox-adventures") + `("PYTHONPATH" ":" prefix (,(string-append data "/LIB"))))) + #t))))) + (inputs + `(("python-pygame" ,python-pygame) + ("python-tmx" ,python-tmx))) + (home-page "https://rogueboxadventures.tuxfamily.org") + (synopsis "A classical roguelike/sandbox game") + (description + "RogueBox Adventures is a graphical roguelike with strong influences +from sandbox games like Minecraft or Terraria. The main idea of RogueBox +Adventures is to offer the player a kind of roguelike toy-world. This world +can be explored and changed freely.") + ;; The GPL3+ is for code, the rest are for art. + (license (list license:cc0 + license:cc-by3.0 + license:gpl3+ + license:silofl1.1))))) + (define-public xshogi (package (name "xshogi") -- 2.15.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 26 18:13:21 2017 Received: (at 29445) by debbugs.gnu.org; 26 Nov 2017 23:13:21 +0000 Received: from localhost ([127.0.0.1]:59760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ66z-0000UR-Fm for submit@debbugs.gnu.org; Sun, 26 Nov 2017 18:13:21 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:40329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ66w-0000UG-30 for 29445@debbugs.gnu.org; Sun, 26 Nov 2017 18:13:18 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 555D820BC4; Sun, 26 Nov 2017 18:13:17 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 26 Nov 2017 18:13:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=FkyUGdwWbAO0HyI1S4OZzhmBQTziRsAR6yUb8CsLzqo=; b=NAkrV yzz1rOWFCuOHEvyReCJm5ScXCnYBeHc2TUhJPhmVZBd10XZiWcq47VZ/aiOl0YzJ jvAsMeSoOKa2bB2rAsvLJ2GpW3p9NMGkXwH5LOpTLuoMtBB379dToATZM2fK4KSQ 4UTd0X9A7O96B+Tv1PufEYdGo4LwOmZvKOTmzM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=FkyUGdwWbAO0HyI1S4OZzhmBQTziR sAR6yUb8CsLzqo=; b=HWxjhzIIdR72xx3dXnbNBUZllHV1mL+AdsrF1SLCr6HK7 qWjF2eZ0wAnOKpHedT8L2hfcEqvWCGdld9FZ964e5BdNBIFksB6RPkLRYg8yC+lF FXfyCfFZnMr4qNtFK/MGOMwF7jfFpRLxIFASxaw97eNWgtf+uGVjw7adHilkiVD+ MA0Lw1c4AWZoiXBCCcP9WFrw8Fexr8wWjA1Owury28vk+ifgtWIajg6d9haH4jSQ Q8KmGCqDznaudOhrte2ANjd54Sb9XpG4Okf7SOJZA9Xax5oJ/FKlWzy0TP1gcZ66 7x/FS3maEoWDmeRgUDD5nm6og/U8Gx7aubVnTjqOA== X-ME-Sender: Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id 0C3C924136; Sun, 26 Nov 2017 18:13:17 -0500 (EST) Date: Sun, 26 Nov 2017 18:13:16 -0500 From: Leo Famulari To: Kei Kebreau Subject: Re: [bug#29445] [PATCH] gnu: Add roguebox-adventures. Message-ID: <20171126231316.GA22939@jasmine.lan> References: <20171125210928.24879-1-kkebreau@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20171125210928.24879-1-kkebreau@posteo.net> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29445 Cc: Kei Kebreau , 29445@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.7 (/) --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Nov 25, 2017 at 04:09:28PM -0500, Kei Kebreau wrote: Thanks! Overall LGTM, but I have some nitpicks... > + (package > + (name "roguebox-adventures") > + (version (string-append "2.1.2." revision "." (string-take commit 7))) How about (version (git-version "2.1.2" revision commit)) ? > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://git.postactiv.com/themightyglider/RogueBoxAdventures") > + (commit commit))) And similarly, (file-name (git-file-name name version)) > + (replace 'build > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (data (string-append ^ There are too many spaces here --| and also in the install phase. > + (mkdir-p bin) > + (mkdir-p doc) > + > + (copy-file "main.py" > + (string-append bin "/roguebox-adventures")) > + (chmod (string-append bin "/roguebox-adventures") #o555) > + > + (for-each (lambda (file) > + (copy-recursively file > + (string-append data "/" file))) > + '("AUDIO" "FONT" "GRAPHIC" "LIB" "LICENSE" > + "icon_big.png" "icon_small.png")) > + > + (copy-file "DOC" (string-append doc "/roguebox-adventures")) And we could simplify a bit by using install-file instead of mkdir-p and copy-file. --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlobSosACgkQJkb6MLrK fwiUXhAA6i5jS3qy1GB2XEX8AmSyS54HFcTydjq0k9ghJ8z6/SO0a1F6cbIlgsKv mYBKVepb2X9U9j3cl+gVr5hNc7pPNnGNwjtNFAO5wT+Wdv/CntFVJm9Ekid/arzW TGrX1Zy+akXZTA8Go2zyO/C71bUWzwfLimtRqDhIpK97vwXpFlQpRmmkAbWiLhjA /D1B/fj4r3HK1YA2FRS6ZKulDKR7fQF75NPDy+zKqMvY6/35fHh2h0/z+H2xKhXU BeapeuoYNHAvj2tDUkb509CeNSIsizzQFmdzDJCRZEIntkW9EvfuoBg8FRrsRI1G M290la7ddY7+groKbIv2FAYj8mZFz81NlGktbjPzvMs6YVbv49xUooFXN4LEsUWL ibudELRXGKsYOiWo62ljN7L0b1WveKiJSUfxAjDsfdTfAxJZVT5KJWUJC03p4ON/ 4wsPRdsOKysVS9pW2ENWljieUNXsORdfpfcxXP8FuXh0v0CmWEirON6tpGOcTRwg 8nBcCjycJR6axvBdmyA+mwj1xUe+397H1YnHfRovbp5BrU6Bi5IPAVUm/3T6OEyH iapvBn6v2zzVehVkSBrH7Zo0fF6HzSIlqsOI7HxU98+ktTTSQMr7Z1Zd8Sb3hc+P CqxAG1+0D16tR4fto0+z02NjaRCY7pZ5hMCp8R0VA/ENXGogEJA= =TNPp -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 27 20:45:49 2017 Received: (at 29445) by debbugs.gnu.org; 28 Nov 2017 01:45:49 +0000 Received: from localhost ([127.0.0.1]:33244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJUy5-0007Un-Fn for submit@debbugs.gnu.org; Mon, 27 Nov 2017 20:45:49 -0500 Received: from mout01.posteo.de ([185.67.36.65]:37751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJUy2-0007UY-Hh for 29445@debbugs.gnu.org; Mon, 27 Nov 2017 20:45:47 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 33D8220E5F for <29445@debbugs.gnu.org>; Tue, 28 Nov 2017 02:45:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1511833540; bh=kpvGc0cjiBjUeynWePiUBI7TC3SeGkeicrUyKoY9bok=; h=From:To:Cc:Subject:Date:From; b=MWQ6Pk2xxWabg/BwzB6QqVzunHS6Gy9ZZGKusdEhqmg+rLXktUnHrHJySuMr2sC4L nBEdxiiHqKppFBDX9+HyxNCF9Z8IrImyc2koZf/7By2XlMUc/YKcybMgO1UKGyd4s9 F0wpjerrwHMQK49mBfahSsyqoOOYeQD5UW9DOswsQXG4FoE0L6eLoVkB9gGW9gn1hM AcbpXXlF9nnkkz+FLZ3+lbIdfcjOayNZan7QoXXUHBvDuvJ3JmNdC304YJ02386Cxo ASoLvaun66BJ+R8TPi3wFuiXwa/3Gm8MMys2bf9wG+phMJX0OVb/wkNAtdnnGowT6F ek44OZf2F+ieg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3ym61r4wSfz9rxK; Tue, 28 Nov 2017 02:45:36 +0100 (CET) From: Kei Kebreau To: Leo Famulari Subject: Re: [bug#29445] [PATCH] gnu: Add roguebox-adventures. Date: Mon, 27 Nov 2017 19:12:54 -0500 References: <20171125210928.24879-1-kkebreau@posteo.net> <20171126231316.GA22939@jasmine.lan> Message-ID: <87zi7741nf.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29445 Cc: 29445@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.3 (--) --=-=-= Content-Type: text/plain Leo Famulari writes: > On Sat, Nov 25, 2017 at 04:09:28PM -0500, Kei Kebreau wrote: > > Thanks! Overall LGTM, but I have some nitpicks... > >> + (package >> + (name "roguebox-adventures") >> + (version (string-append "2.1.2." revision "." (string-take commit >> 7))) > > How about (version (git-version "2.1.2" revision commit)) ? > >> + (source >> + (origin >> + (method git-fetch) >> + (uri (git-reference >> + (url >> "https://git.postactiv.com/themightyglider/RogueBoxAdventures") >> + (commit commit))) > > And similarly, (file-name (git-file-name name version)) > >> + (replace 'build >> + (lambda* (#:key outputs #:allow-other-keys) >> + (let* ((out (assoc-ref outputs "out")) >> + (data (string-append > ^ > There are too many spaces here --| and also in the install phase. > >> + (mkdir-p bin) >> + (mkdir-p doc) >> + >> + (copy-file "main.py" >> + (string-append bin "/roguebox-adventures")) >> + (chmod (string-append bin "/roguebox-adventures") #o555) >> + >> + (for-each (lambda (file) >> + (copy-recursively file >> + (string-append data "/" file))) >> + '("AUDIO" "FONT" "GRAPHIC" "LIB" "LICENSE" >> + "icon_big.png" "icon_small.png")) >> + >> + (copy-file "DOC" (string-append doc "/roguebox-adventures")) > > And we could simplify a bit by using install-file instead of mkdir-p and > copy-file. Is there a way to rename the file when using install-file? It's a bit weird to have to run "main.py" to launch the game. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlocv6UACgkQ5qXuPBlG eg0hqhAAhA3xcDmJM1wiQWDDX3wgeqiC8mxSnAfn/BN9nrez0B/VbsPO2VubAdTT UN9epHTBvFTAmRHjYnSjWjVf3yVMl0vKnCELPti6vMDmOHCY15GVJeME3t9/v8Wo bc8tPHBm/sfou9LtkM+03Q7TZ4Eri0EeWif9lQA7sDKXEriE46sy3vwAIwOK1YgF ogd2NDEe2viSG8Zh4BUKF70JkgCtXmkBusr5igmPP5UwvE1ePnsToWaox9sicZkW 0PUdV9MVtNizDKBY7QZONFC5NHgtQrTwJDNhBNWrpaxiurqOabdpYenUUyrPsMeM QixxzgqQn0UIebgWE/UACpbMnlYKsKevSbxFOAqZBj4iAXwG2adbHah6KlAv4btP tCH9MWscYGrMOCDrBJ7Ve8IloNGF5QpwEtXJYBhLZgDGHoCxYPOCnScAQSDb8dbb pjkadGf1kaXWfWXZVTpqA/DtzdCKuk8rvV2jriKGpVEGgzGyPvuCa1zXTarH/++M cr3Mq2YcfCrE3kOYH50eBNpTXSoWqwth0dpPfOJNMFiDuv/eWmu2XrnQJW9hAhWh tu5lquoXiCX5o600lhFHNwxS3+iLEmyEgzoWx6P1KlTQ3WT4Z2oeJo9uTY7uD8EO GyusWo3fhzixmGzGoW/Qq6FZ1r5TFOW3xJvykfMITdNmHRM+pNA= =leoC -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 27 21:17:12 2017 Received: (at 29445) by debbugs.gnu.org; 28 Nov 2017 02:17:12 +0000 Received: from localhost ([127.0.0.1]:33269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJVSR-0001h8-PX for submit@debbugs.gnu.org; Mon, 27 Nov 2017 21:17:11 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:57225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJVSQ-0001h1-Ds for 29445@debbugs.gnu.org; Mon, 27 Nov 2017 21:17:10 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3FA4920C27; Mon, 27 Nov 2017 21:17:10 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 27 Nov 2017 21:17:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=NzopXMszSN/DR5TR5+J9PHg5iNA0G5o/C39gKtM+8Ek=; b=LyLEc 0w2GzyybSedrEXRNIE0kpshGlaL5x6toYLvlVr01e/3LxkIouXoZaDVS4Xxo+nmU BQNKoVR6Wc6A/7PlCqxDRPIf9qSJUdEW4jvHC+4sCc9XpjkU/OU5K6KNwW/Us8jf mZmntC5h/UZF1DZLDbWLSbEzUJZvbK4tIycf1k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=NzopXMszSN/DR5TR5+J9PHg5iNA0G 5o/C39gKtM+8Ek=; b=kzt4zQ7wx+TcIRgn1074IZg6HNfK6nE1wZ5IPTxnBalx6 M8YHZUrp/OxVsQA+ObiGg6mD1OpoBlqdPwlf5O2b1h/LSm1qWv0jM3tJkd/UX/hL zoIIHyfclrT/wTW/bYUX/x1aM5o6yjDZPVD3A+dxAE/YLwPG1fM6/8T1GwVaH/PO WUOhmfLds15/ddibH4T+plkfw4+MJ/FKEavUhd2YeoAQa73Dk3ffoRmtziozSa7l kOniL+0OpLB+RHHbPbjGCen0Vv0xM1iwzxllCX2HiNpq/xt7Iv/DqC1fCgItFKFO lqo6vlnOvgm6v4LsUidJ4Zy0qxtG7L7iN1UEk7svw== X-ME-Sender: Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id F335824660; Mon, 27 Nov 2017 21:17:09 -0500 (EST) Date: Mon, 27 Nov 2017 21:17:08 -0500 From: Leo Famulari To: Kei Kebreau Subject: Re: [bug#29445] [PATCH] gnu: Add roguebox-adventures. Message-ID: <20171128021708.GA6171@jasmine.lan> References: <20171125210928.24879-1-kkebreau@posteo.net> <20171126231316.GA22939@jasmine.lan> <87zi7741nf.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <87zi7741nf.fsf@posteo.net> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29445 Cc: 29445@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.7 (/) --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 27, 2017 at 07:12:54PM -0500, Kei Kebreau wrote: > Leo Famulari writes: > > On Sat, Nov 25, 2017 at 04:09:28PM -0500, Kei Kebreau wrote: > >> + (copy-file "main.py" > >> + (string-append bin "/roguebox-adventure= s")) > > > > And we could simplify a bit by using install-file instead of mkdir-p and > > copy-file. >=20 > Is there a way to rename the file when using install-file? It's a bit > weird to have to run "main.py" to launch the game. Oh, I missed that we were renaming things here. No, install-file doesn't let you rename the file, so mkdir-p and copy-file are the way to go. --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlocxyQACgkQJkb6MLrK fwgXohAA1Zj482Jx9BsIpufHf9XHMKqsjiT+G07G7Og0FdpV1FQtdcNwWRK6LpBF 0pnt4ARM0QU3ZRJ/BPj56kISQs8DAc/0F/Ph33UMkL6JM2fmOBtdEqSdWsh6iGrI aC1ldv+PB1s39o3lDJo1G2GjmbpryMOZqFzbMS2aW+xi9RhEWJS1EasJIRaLWn+D XgCahpwjswArpl2NXCvcbQ6gBUtwGYzwArJXpNG23/2XBZAVfgk6ZlvWpJXf0Jbv X8pworoAMBISUS7wV5kGIXhBOfYj4p7jousgQNSjuur5oSf5SHR6Mrxd8wb8eQGt hlClVJLZm7UGt2PehqMG3XxOGFw7E90L3xQQhjWxWATITmzF+Qka/srbWvODN5Qi uYnbyYFvU4Wtc9C6L5njwu++lw4ovs0svqzhUCXjLyiNKOdHOmp+EyllEib4Qw00 qw4uz5H/gHKa5+K+ekHtbFYkHYTOcDo58kG2/sg9EVeoMqGciEsYtR9WsDcZwbHC VNSlQiThfjC3Qkbt+quQsIDlwizw908MpJ2z6Btk0yGEkAiYIQHrImorALcrdgUi OX8EG55SZbsxJbO25AikD/7ZJhGOY+E/m39bDAWUfoPT6Xo/TBcIbLCwPYvoDyuq tLkdW7rpInM2r10QIOFZuMh2wyHMx7bqpssgRkdq22pbP+7C/0k= =xdtT -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 09:55:34 2017 Received: (at 29445-done) by debbugs.gnu.org; 28 Nov 2017 14:55:34 +0000 Received: from localhost ([127.0.0.1]:34757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJhIM-00076L-0Q for submit@debbugs.gnu.org; Tue, 28 Nov 2017 09:55:34 -0500 Received: from mout01.posteo.de ([185.67.36.65]:59019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJhII-00076F-Q3 for 29445-done@debbugs.gnu.org; Tue, 28 Nov 2017 09:55:31 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3BE24211D2 for <29445-done@debbugs.gnu.org>; Tue, 28 Nov 2017 15:55:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1511880921; bh=OFatoKdFm9rvD76NJq/qDOXNH2hRG1ukeB4gD+FTLjo=; h=From:To:Cc:Subject:Date:From; b=r1yhkBT8wFqOE6HM6XVtEoPM1fs/IcVRO2xAIIymV35mH97m+OejVga4M1zf7JuiR U96jlpaxBStULwlXc3gZqZDZqNEYYkMP4G83KGt8jIQ2PkorVMa1loj0AYnFgQtIRW vUN6QsbMgV14IBVVxFkx58L+gd8NiBJyV3aD4nTk2D94UACMgiYXMTtBtnoeO2Wops r2mEC2z4RDUQ6OJKfA1/YsO0MqTH+IHmXVCNA1GR9lXr3FFKqPZyPgAY8EhiDDNHEy TLeO78SN4sEpOUNxQFVDxK/rIUEN4kQXH0qMlU3SWu5fJ1CHJqiy+bl1K6stK7Z9bc ryzHhUMAXqEcQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3ymRY33WN0z9rxS; Tue, 28 Nov 2017 15:55:19 +0100 (CET) From: Kei Kebreau To: Leo Famulari Subject: Re: [bug#29445] [PATCH] gnu: Add roguebox-adventures. References: <20171125210928.24879-1-kkebreau@posteo.net> <20171126231316.GA22939@jasmine.lan> <87zi7741nf.fsf@posteo.net> <20171128021708.GA6171@jasmine.lan> Date: Tue, 28 Nov 2017 09:55:05 -0500 In-Reply-To: <20171128021708.GA6171@jasmine.lan> (Leo Famulari's message of "Mon, 27 Nov 2017 21:17:08 -0500") Message-ID: <87vahu4fna.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29445-done Cc: 29445-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.3 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > On Mon, Nov 27, 2017 at 07:12:54PM -0500, Kei Kebreau wrote: >> Leo Famulari writes: >> > On Sat, Nov 25, 2017 at 04:09:28PM -0500, Kei Kebreau wrote: >> >> + (copy-file "main.py" >> >> + (string-append bin "/roguebox-adventur= es")) >> > >> > And we could simplify a bit by using install-file instead of mkdir-p a= nd >> > copy-file. >>=20 >> Is there a way to rename the file when using install-file? It's a bit >> weird to have to run "main.py" to launch the game. > > Oh, I missed that we were renaming things here. No, install-file doesn't > let you rename the file, so mkdir-p and copy-file are the way to go. Alright, thank you for the review! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlodeMkACgkQ5qXuPBlG eg2O6A//RB4XpKjwwV5/y/C095y9yhrM21zNfKbEicCMzpiBaI/a7JzXgurU0fhO jEQQu9feoPT6DKJ1aUv4WHusyth4qTzmGc2jgcU63N4XfXLwnAegDSFibuCqTjIJ 77/3NWgBg8tUpAcAaMk9O69zmFlF084u+jvnO37/0hEZS26t5GP3cZL1CMMiy2LR BA8/Smi9iqLoSaIu9jGkVOHNQwYwWxJxRGZb4DAvLbjf04qnLVahcf8/PxILdp+f 2DRj7mDlgKxwI1lKz5zQ+PiNnh6c0aOkQWb2wiKYxAnGXZWsvauj2NCmp8hulsON TDHJvKMSYIJzQWY/4SYvS39usSiLhf/xusfnlo7A5aO1MLlX9sFH0tWzF+f3QzVy FzzsjgTq5YrdR0oCokr7fWCRk3YaGGjJgie8zsdFkBoR4kU0h7xf9+cPUohIOypg j0ICIiKNPW91xwOwk43mkTimitOzZrLx5zQnPCgbqZDn7tuwuK0gOrwhkc7bhrVe 6wGAyYwiijpslAA51pz7y9PiaAV2WQIDg1kAn+OpFWzUT6ClX8Q4gQKVuLVCcZwk 0sTW13eAAUeMHOomAKDIP7muSc52lqGNPaWWLesyLt3sj13H3Wd/A697mcOM5J81 bq2o+SsHm1hkKm33iRNiBuEPS4teDtsWnjQoteaiLMQ9l77+H0k= =+Yk5 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 10:22:23 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, 27 Dec 2017 12:24:05 +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