From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 15 01:42:26 2018 Received: (at submit) by debbugs.gnu.org; 15 Jul 2018 05:42:26 +0000 Received: from localhost ([127.0.0.1]:60433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feZne-0004TO-9i for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:42:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feZnb-0004T4-JT for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feZnV-00083h-0a for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:42:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,T_DKIM_INVALID, URIBL_SBL autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1feZnU-00083P-Qg for submit@debbugs.gnu.org; Sun, 15 Jul 2018 01:42:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feZnT-0001pU-4N for guix-patches@gnu.org; Sun, 15 Jul 2018 01:42:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feZnQ-0007yO-01 for guix-patches@gnu.org; Sun, 15 Jul 2018 01:42:15 -0400 Received: from cock.li ([185.100.85.212]:45774) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1feZnP-0007w6-CR for guix-patches@gnu.org; Sun, 15 Jul 2018 01:42:11 -0400 To: guix-patches@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail; t=1531633327; bh=nZVquZJTS5WsLl95cz6XT7Gc7OP92AqTFZemvJpdA5w=; h=To:From:Subject:Date:From; b=sYaeTmUf+2WXia7rdvcKR2Y4ricnRoQP7RN9umDr8tGC7jtO7skp3VFpF25i+3vfN ZKbNjPQk97kURyVKPK6G7IsgUp59Y6mbXnqQljUJn321s8pboA3mHq2Soo9A1bXiif QhiOEEp3xjMv0sQWwPC2p98r4ZXc6CzHAknsIpSoAMHcycmX1iiyQszVDBOILUKEZz 2FAQGndgPsyOfEMtyjLvQziTd8kuurScSvV0KuIjkLneI8/ls+nNepVkStPThg9i5P mriQjjYk2tx0jY8eP8p8samYZQNJlkdyCueAhe54sPzxWFOBBcc1IvSYAEvBJ2i2Ze lmmVUf1b737yg== From: Anonymous Subject: [PATCH] gnu: Add nethack Message-ID: Date: Sat, 14 Jul 2018 22:42:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------07B281EEAB211B60C03ACDEC" Content-Language: en-US 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: -5.1 (-----) This is a multi-part message in MIME format. --------------07B281EEAB211B60C03ACDEC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I've created a package for nethack by basically copying the package from NixOS. This is my first time writing a guix package, so feel free to make corrections. --------------07B281EEAB211B60C03ACDEC Content-Type: text/plain; charset=UTF-8; name="add-nethack.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="add-nethack.patch" ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9nYW1lcy5zY20gYi9nbnUvcGFja2FnZXMvZ2Ft ZXMuc2NtCmluZGV4IDRhZjBiNTJlOC4uMzAxNzVjZjBiIDEwMDY0NAotLS0gYS9nbnUvcGFj a2FnZXMvZ2FtZXMuc2NtCisrKyBiL2dudS9wYWNrYWdlcy9nYW1lcy5zY20KQEAgLTg3LDYg Kzg3LDcgQEAKICAgIzp1c2UtbW9kdWxlIChnbnUgcGFja2FnZXMgZ3RrKQogICAjOnVzZS1t b2R1bGUgKGdudSBwYWNrYWdlcyBndWlsZSkKICAgIzp1c2UtbW9kdWxlIChnbnUgcGFja2Fn ZXMgaW1hZ2VtYWdpY2spCisgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGxlc3MpCiAg ICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGxpYmNhbmJlcnJhKQogICAjOnVzZS1tb2R1 bGUgKGdudSBwYWNrYWdlcyBsaWJlZGl0KQogICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdl cyBsaWJ1bndpbmQpCkBAIC02NjUsNiArNjY2LDEyNSBAQCByZW1vdmVkIGxpbmVzIHRvIGFs bCBvcHBvbmVudHMuICBUaGVyZSBpcyBhbHNvIGEgRGVtbyBtb2RlIGluIHdoaWNoIHlvdSBj YW4KIHdhdGNoIHlvdXIgQ1BVIHBsYXlpbmcgd2hpbGUgZW5qb3lpbmcgYSBjdXAgb2YgdGVh ISIpCiAgICAgKGxpY2Vuc2UgbGljZW5zZTpncGwyKykpKQogCisoZGVmaW5lLXB1YmxpYyBu ZXRoYWNrCisgIChwYWNrYWdlCisgICAgKG5hbWUgIm5ldGhhY2siKQorICAgICh2ZXJzaW9u ICIzLjYuMSIpCisgICAgKHNvdXJjZQorICAgICAgKG9yaWdpbgorICAgICAgICAobWV0aG9k IHVybC1mZXRjaCkKKyAgICAgICAgKHVyaSAoc3RyaW5nLWFwcGVuZAorICAgICAgICAgICAg ICAgImh0dHBzOi8vd3d3Lm5ldGhhY2sub3JnL2Rvd25sb2FkLyIKKyAgICAgICAgICAgICAg IHZlcnNpb24gIi8iIG5hbWUgIi0zNjEtc3JjLnRneiIpKQorICAgICAgICAoc2hhMjU2Cisg ICAgICAgICAgKGJhc2UzMiAiMWRoYTBpanZ4aHg3YzlocjA0NTJoOTN4ODFpaXFzbGw4YmM5 bXNkbnA3eGRxY2ZiejMyYiIpKSkpCisgICAgKGlucHV0cworICAgICAgYCgoIm5jdXJzZXMi ICxuY3Vyc2VzKQorICAgICAgICAoImJpc29uIiAsYmlzb24pCisgICAgICAgICgiZmxleCIg LGZsZXgpCisgICAgICAgICgibGVzcyIgLGxlc3MpKSkKKyAgICAoYnVpbGQtc3lzdGVtIGdu dS1idWlsZC1zeXN0ZW0pCisgICAgKGFyZ3VtZW50cworICAgICAgJygjOm1ha2UtZmxhZ3MK KyAgICAgICAgYCgsKHN0cmluZy1hcHBlbmQgIlBSRUZJWD0iIChhc3NvYy1yZWYgJW91dHB1 dHMgIm91dCIpKSkKKyAgICAgICAgIzpwaGFzZXMKKyAgICAgICAgKG1vZGlmeS1waGFzZXMg JXN0YW5kYXJkLXBoYXNlcworICAgICAgICAgIChhZGQtYmVmb3JlICdjb25maWd1cmUgJ3Bh dGNoLXBhdGhzCisgICAgICAgICAgICAobGFtYmRhIF8KKyAgICAgICAgICAgICAgKHN1YnN0 aXR1dGUqICJzeXMvdW5peC9uZXRoYWNrLnNoIgorICAgICAgICAgICAgICAgICgoIl4gKmNk IC4qJCIpICIiKSkKKyAgICAgICAgICAgICAgKHN1YnN0aXR1dGUqICJzeXMvdW5peC9NYWtl ZmlsZS51dGwiCisgICAgICAgICAgICAgICAgKCgiXllBQ0MgKj0uKiQiKSAiWUFDQyA9IGJp c29uIC15XG4iKQorICAgICAgICAgICAgICAgICgoIl5MRVggKj0uKiQiKSAiTEVYID0gZmxl eFxuIikKKyAgICAgICAgICAgICAgICAoKCJeIyBDQyA9IGdjYyIpICJDQyA9IGdjYyIpKQor ICAgICAgICAgICAgICAoc3Vic3RpdHV0ZSogInN5cy91bml4L2hpbnRzL2xpbnV4IgorICAg ICAgICAgICAgICAgICgoIi9iaW4vZ3ppcCIpIChzdHJpbmctYXBwZW5kCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAoYXNzb2MtcmVmICVidWlsZC1pbnB1dHMgImd6aXAi KQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi9iaW4vZ3ppcCIpKQorICAg ICAgICAgICAgICAgICgoIl5XSU5UVFlMSUI9LioiKSAiV0lOVFRZTElCPS1sbmN1cnNlcyIp KQorICAgICAgICAgICAgICAoc3Vic3RpdHV0ZSogImluY2x1ZGUvY29uZmlnLmgiCisgICAg ICAgICAgICAgICAgKCgiXi4qZGVmaW5lIENIRElSLiokIikgIiIpKQorICAgICAgICAgICAg ICAoc3Vic3RpdHV0ZSogInN5cy91bml4L01ha2VmaWxlLnNyYyIKKyAgICAgICAgICAgICAg ICAgKCgiXiMgQ0MgPSBnY2MiKSAiQ0MgPSBnY2MiKSkKKyAgICAgICAgICAgICAgI3QpKQor ICAgICAgICAgIChyZXBsYWNlICdjb25maWd1cmUKKyAgICAgICAgICAgIChsYW1iZGEgXwor ICAgICAgICAgICAgICAobGV0ICgoYmFzaCAoc3RyaW5nLWFwcGVuZAorICAgICAgICAgICAg ICAgICAgICAgICAgICAgIChhc3NvYy1yZWYgJWJ1aWxkLWlucHV0cyAiYmFzaCIpCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIi9iaW4vYmFzaCIpKSkKKyAgICAgICAgICAgICAg ICAoY2hkaXIgInN5cy91bml4IikKKyAgICAgICAgICAgICAgICAoc3Vic3RpdHV0ZSogInNl dHVwLnNoIiAoKCIvYmluL3NoIikgYmFzaCkpCisgICAgICAgICAgICAgICAgKGludm9rZSBi YXNoICJzZXR1cC5zaCIgImhpbnRzL2xpbnV4IikKKyAgICAgICAgICAgICAgICAoY2hkaXIg Ii4uLy4uIikKKyAgICAgICAgICAgICAgICAjdCkpKQorICAgICAgICAgIChhZGQtYWZ0ZXIg J2luc3RhbGwgJ2ZpeHVwLXBhdGhzCisgICAgICAgICAgICAobGFtYmRhIF8KKyAgICAgICAg ICAgICAgKGxldCogKChvdXRwdXQgKGFzc29jLXJlZiAlb3V0cHV0cyAib3V0IikpCisgICAg ICAgICAgICAgICAgICAgICAobmV0aGFjay1zY3JpcHQgKHN0cmluZy1hcHBlbmQgb3V0cHV0 ICIvYmluL25ldGhhY2siKSkpCisgICAgICAgICAgICAgICAgKG1rZGlyLXAgKHN0cmluZy1h cHBlbmQgb3V0cHV0ICIvZ2FtZXMvbGliL25ldGhhY2t1c2VyZGlyIikpCisgICAgICAgICAg ICAgICAgKG1hcAorICAgICAgICAgICAgICAgICAgKGxhbWJkYSAoaSkKKyAgICAgICAgICAg ICAgICAgICAgKGludm9rZSAibXYiCisgICAgICAgICAgICAgICAgICAgICAgKHN0cmluZy1h cHBlbmQgb3V0cHV0ICIvZ2FtZXMvbGliL25ldGhhY2tkaXIvIiBpKQorICAgICAgICAgICAg ICAgICAgICAgIChzdHJpbmctYXBwZW5kIG91dHB1dCAiL2dhbWVzL2xpYi9uZXRoYWNrdXNl cmRpciIpKSkKKyAgICAgICAgICAgICAgICAgICcoInhsb2dmaWxlIiAibG9nZmlsZSIgInBl cm0iICJyZWNvcmQiICJzYXZlIikpCisgICAgICAgICAgICAgICAgKG1rZGlyLXAgKHN0cmlu Zy1hcHBlbmQgb3V0cHV0ICIvYmluIikpCisgICAgICAgICAgICAgICAgKGxldCAoKG91dGZp bGUgKG9wZW4tZmlsZSBuZXRoYWNrLXNjcmlwdCAidyIpKQorICAgICAgICAgICAgICAgICAg ICAgICh1c2VyLWRpciAifi8uY29uZmlnL25ldGhhY2siKSkKKyAgICAgICAgICAgICAgICAg IChtYXAKKyAgICAgICAgICAgICAgICAgICAgKGxhbWJkYSAobGluZSkKKyAgICAgICAgICAg ICAgICAgICAgICAoZGlzcGxheSAoc3RyaW5nLWFwcGVuZCBsaW5lICJcbiIpIG91dGZpbGUp KQorICAgICAgICAgICAgICAgICAgICBgKCwoc3RyaW5nLWFwcGVuZCAiIyEiIChhc3NvYy1y ZWYgJWJ1aWxkLWlucHV0cyAiYmFzaCIpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICIvYmluL2Jhc2giKQorICAgICAgICAgICAgICAgICAgICAgICwoc3RyaW5n LWFwcGVuZAorICAgICAgICAgICAgICAgICAgICAgICAgICAiUEFUSD0iCisgICAgICAgICAg ICAgICAgICAgICAgICAgIChsaXN0LT5zZWFyY2gtcGF0aC1hcy1zdHJpbmcKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAobGlzdCAoc3RyaW5nLWFwcGVuZAorICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgKGFzc29jLXJlZiAlYnVpbGQtaW5wdXRzICJjb3Jl dXRpbHMiKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi9iaW4iKQor ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChzdHJpbmctYXBwZW5kCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYXNzb2MtcmVmICVidWlsZC1pbnB1 dHMgImxlc3MiKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi9iaW4i KSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAiOiIpKQorICAgICAgICAgICAgICAg ICAgICAgICwoc3RyaW5nLWFwcGVuZCAiaWYgWyAhIC1kICIgdXNlci1kaXIgIiBdOyB0aGVu IikKKyAgICAgICAgICAgICAgICAgICAgICAsKHN0cmluZy1hcHBlbmQgIiAgbWtkaXIgLXAg IiB1c2VyLWRpcikKKyAgICAgICAgICAgICAgICAgICAgICAsKHN0cmluZy1hcHBlbmQgIiAg Y3AgLXIgIiBvdXRwdXQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg Ii9nYW1lcy9saWIvbmV0aGFja3VzZXJkaXIvKiAiIHVzZXItZGlyKQorICAgICAgICAgICAg ICAgICAgICAgICwoc3RyaW5nLWFwcGVuZCAiICBjaG1vZCAtUiArdyAiIHVzZXItZGlyKQor ICAgICAgICAgICAgICAgICAgICAgICJmaSIKKyAgICAgICAgICAgICAgICAgICAgICAiUlVO RElSPSQobWt0ZW1wIC1kKSIKKyAgICAgICAgICAgICAgICAgICAgICAiY2xlYW51cCgpIHsi CisgICAgICAgICAgICAgICAgICAgICAgIiAgcm0gLXJmICRSVU5ESVIiCisgICAgICAgICAg ICAgICAgICAgICAgIn0iCisgICAgICAgICAgICAgICAgICAgICAgInRyYXAgY2xlYW51cCBF WElUIgorICAgICAgICAgICAgICAgICAgICAgICJjZCAkUlVORElSIgorICAgICAgICAgICAg ICAgICAgICAgICwoc3RyaW5nLWFwcGVuZCAiZm9yIGkgaW4gIiB1c2VyLWRpciAiLyo7IGRv IikKKyAgICAgICAgICAgICAgICAgICAgICAiICBsbiAtcyAkaSAkKGJhc2VuYW1lICRpKSIK KyAgICAgICAgICAgICAgICAgICAgICAiZG9uZSIKKyAgICAgICAgICAgICAgICAgICAgICAs KHN0cmluZy1hcHBlbmQgImZvciBpIGluICIgb3V0cHV0CisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICIvZ2FtZXMvbGliL25ldGhhY2tkaXIvKjsgZG8iKQorICAg ICAgICAgICAgICAgICAgICAgICIgIGxuIC1zICRpICQoYmFzZW5hbWUgJGkpIgorICAgICAg ICAgICAgICAgICAgICAgICJkb25lIgorICAgICAgICAgICAgICAgICAgICAgICwoc3RyaW5n LWFwcGVuZCBvdXRwdXQgIi9nYW1lcy9uZXRoYWNrIikpKSkKKyAgICAgICAgICAgICAgICAo Y2htb2QgbmV0aGFjay1zY3JpcHQgI281NTUpCisgICAgICAgICAgICAgICAgI3QpKSkKKyAg ICAgICAgICAoZGVsZXRlICdjaGVjaykpKSkKKyAgICAoaG9tZS1wYWdlICJodHRwczovL25l dGhhY2sub3JnIikKKyAgICAoc3lub3BzaXMgIkNsYXNzaWMgZHVuZ2VvbiBjcmF3bCBnYW1l IikKKyAgICAoZGVzY3JpcHRpb24gIk5ldEhhY2sgaXMgYSBzaW5nbGUgcGxheWVyIGR1bmdl b24gZXhwbG9yYXRpb24gZ2FtZSB0aGF0IHJ1bnMKK29uIGEgd2lkZSB2YXJpZXR5IG9mIGNv bXB1dGVyIHN5c3RlbXMsIHdpdGggYSB2YXJpZXR5IG9mIGdyYXBoaWNhbCBhbmQgdGV4dAor aW50ZXJmYWNlcyBhbGwgdXNpbmcgdGhlIHNhbWUgZ2FtZSBlbmdpbmUuICBVbmxpa2UgbWFu eSBvdGhlciBEdW5nZW9ucyAmCitEcmFnb25zLWluc3BpcmVkIGdhbWVzLCB0aGUgZW1waGFz aXMgaW4gTmV0SGFjayBpcyBvbiBkaXNjb3ZlcmluZyB0aGUgZGV0YWlsIG9mCit0aGUgZHVu Z2VvbiBhbmQgbm90IHNpbXBseSBraWxsaW5nIGV2ZXJ5dGhpbmcgaW4gc2lnaHQgLSBpbiBm YWN0LCBraWxsaW5nCitldmVyeXRoaW5nIGluIHNpZ2h0IGlzIGEgZ29vZCB3YXkgdG8gZGll IHF1aWNrbHkuICBFYWNoIGdhbWUgcHJlc2VudHMgYQorZGlmZmVyZW50IGxhbmRzY2FwZSAt IHRoZSByYW5kb20gbnVtYmVyIGdlbmVyYXRvciBwcm92aWRlcyBhbiBlc3NlbnRpYWxseQor dW5saW1pdGVkIG51bWJlciBvZiB2YXJpYXRpb25zIG9mIHRoZSBkdW5nZW9uIGFuZCBpdHMg ZGVuaXplbnMgdG8gYmUgZGlzY292ZXJlZAorYnkgdGhlIHBsYXllciBpbiBvbmUgb2YgYSBu dW1iZXIgb2YgY2hhcmFjdGVyczogeW91IGNhbiBwaWNrIHlvdXIgcmFjZSwgeW91cgorcm9s ZSwgYW5kIHlvdXIgZ2VuZGVyLiIpCisgICAgKGxpY2Vuc2UKKyAgICAgIChsaWNlbnNlOmZz ZGctY29tcGF0aWJsZQorICAgICAgICAiaHR0cHM6Ly9uZXRoYWNrLm9yZy9jb21tb24vbGlj ZW5zZS5odG1sIikpKSkKKwogKGRlZmluZS1wdWJsaWMgcHJib29tLXBsdXMKICAgKHBhY2th Z2UKICAgIChuYW1lICJwcmJvb20tcGx1cyIpCg== --------------07B281EEAB211B60C03ACDEC-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 08:45:48 2018 Received: (at 32162) by debbugs.gnu.org; 17 Jul 2018 12:45:48 +0000 Received: from localhost ([127.0.0.1]:44565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffPMS-0003Hs-1E for submit@debbugs.gnu.org; Tue, 17 Jul 2018 08:45:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffPMQ-0003Hb-DD for 32162@debbugs.gnu.org; Tue, 17 Jul 2018 08:45:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffPMG-0004Hd-SI for 32162@debbugs.gnu.org; Tue, 17 Jul 2018 08:45:41 -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.3 required=5.0 tests=BAYES_00,URIBL_SBL autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffPMG-0004HJ-Dy; Tue, 17 Jul 2018 08:45:36 -0400 Received: from [193.50.110.117] (port=48496 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ffPMD-0004J4-3R; Tue, 17 Jul 2018 08:45:35 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Anonymous Subject: Re: [bug#32162] [PATCH] gnu: Add nethack References: Date: Tue, 17 Jul 2018 14:45:31 +0200 In-Reply-To: (Anonymous's message of "Sat, 14 Jul 2018 22:42:05 -0700") Message-ID: <87tvoy81zo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 32162 Cc: 32162@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: -5.3 (-----) Hello, Anonymous skribis: > I've created a package for nethack by basically copying the package > from NixOS. > > This is my first time writing a guix package, so feel free to make > corrections. That=E2=80=99s a very good start, thanks for your patch and welcome! I have a few comments below, but the package looks pretty good to me. As a general comment: note that Nixpkgs uses Bash for the =E2=80=9Cbuild-si= de=E2=80=9D code (actions performed when building the derivation), whereas Guix uses Scheme. There=E2=80=99s a bunch of utility functions in the (guix build ut= ils) modules that usually allow us to not resort to Bash scripting. Most of my comments below are about using the Scheme equivalent to the Bash script. > + (replace 'configure > + (lambda _ > + (let ((bash (string-append > + (assoc-ref %build-inputs "bash") > + "/bin/bash"))) > + (chdir "sys/unix") > + (substitute* "setup.sh" (("/bin/sh") bash)) > + (invoke bash "setup.sh" "hints/linux") > + (chdir "../..") I recommend writing it like this: (with-directory-excursion "sys/unix" (substitute* =E2=80=A6) (invoke =E2=80=A6)) It takes care of chdir=E2=80=99ing back and it=E2=80=99s somewhat easier to= read IMO. > + (map > + (lambda (i) > + (invoke "mv" > + (string-append output "/games/lib/nethackdir/" i) > + (string-append output "/games/lib/nethackuserdir")= )) > + '("xlogfile" "logfile" "perm" "record" "save")) Rather: (for-each (lambda (file) (install-file file (string-append =E2=80=A6 "/games/lib/nethackuse= rdir"))) '(=E2=80=A6)) > + (let ((outfile (open-file nethack-script "w")) > + (user-dir "~/.config/nethack")) > + (map > + (lambda (line) > + (display (string-append line "\n") outfile)) > + `(,(string-append "#!" (assoc-ref %build-inputs "bas= h") > + "/bin/bash") > + ,(string-append > + "PATH=3D" > + (list->search-path-as-string > + (list (string-append > + (assoc-ref %build-inputs "coreutils") > + "/bin") > + (string-append > + (assoc-ref %build-inputs "less") > + "/bin")) > + ":")) > + ,(string-append "if [ ! -d " user-dir " ]; then") > + ,(string-append " mkdir -p " user-dir) > + ,(string-append " cp -r " output > + "/games/lib/nethackuserdir/* " use= r-dir) > + ,(string-append " chmod -R +w " user-dir) > + "fi" > + "RUNDIR=3D$(mktemp -d)" > + "cleanup() {" > + " rm -rf $RUNDIR" > + "}" > + "trap cleanup EXIT" > + "cd $RUNDIR" > + ,(string-append "for i in " user-dir "/*; do") > + " ln -s $i $(basename $i)" > + "done" > + ,(string-append "for i in " output > + "/games/lib/nethackdir/*; do") > + " ln -s $i $(basename $i)" > + "done" > + ,(string-append output "/games/nethack")))) For improved readability, how about: (call-with-output-file nethack-script (lambda (port) (format port "#!~a/bin/sh first line second line =E2=80=A6\n" (assoc-ref inputs "bash")))) ? Could you send an updated patch? If that=E2=80=99s fine with you, please u= se: git format-patch master in your branch to produce the patch, and then: git send-email --to=3D32162@debbugs.gnu.org 000*.patch to send the patch. That way the commit will get proper attribution. See . Let me know if you have any questions. Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 14:08:35 2018 Received: (at 32162) by debbugs.gnu.org; 17 Jul 2018 18:08:35 +0000 Received: from localhost ([127.0.0.1]:45679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffUOo-0002tH-P1 for submit@debbugs.gnu.org; Tue, 17 Jul 2018 14:08:35 -0400 Received: from [137.79.219.41] (port=57248 helo=MT-111134.localdomain) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffUOj-0002sz-NB for 32162@debbugs.gnu.org; Tue, 17 Jul 2018 14:08:31 -0400 Received: by MT-111134.localdomain (Postfix, from userid 1695924010) id BA1C3895EC3; Tue, 17 Jul 2018 11:08:21 -0700 (PDT) From: mcrfan96@cock.li To: 32162@debbugs.gnu.org Subject: [PATCH] gnu: Add nethack. Date: Tue, 17 Jul 2018 11:07:58 -0700 Message-Id: <20180717180758.17538-1-mcrfan96@cock.li> X-Mailer: git-send-email 2.18.0 X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Anonymous * gnu/packages/games.scm (nethack): New variable. --- gnu/packages/games.scm | 118 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a3c770a0b..bc12e07b7 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -87,6 +87,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages less) #:use-module (gnu packages libcanberra) #:use-module (gnu packages libedit) #:use-module (gnu packages libunwind) @@ -665,6 +666,123 @@ removed lines to all opponents. There is also a Demo mode in which you can watch your CPU playing while enjoying a cup of tea!") (license license:gpl2+))) [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: cock.li] 0.4 NO_DNS_FOR_FROM DNS: Envelope sender has no MX or A DNS records 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: cock.li] 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 32162 Cc: Anonymous 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.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Anonymous * gnu/packages/games.scm (nethack): New variable. --- gnu/packages/games.scm | 118 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a3c770a0b..bc12e07b7 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -87,6 +87,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages less) #:use-module (gnu packages libcanberra) #:use-module (gnu packages libedit) #:use-module (gnu packages libunwind) @@ -665,6 +666,123 @@ removed lines to all opponents. There is also a Demo mode in which you can watch your CPU playing while enjoying a cup of tea!") (license license:gpl2+))) [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.4 NO_DNS_FOR_FROM DNS: Envelope sender has no MX or A DNS records 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: cock.li] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: cock.li] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager From: Anonymous * gnu/packages/games.scm (nethack): New variable. --- gnu/packages/games.scm | 118 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a3c770a0b..bc12e07b7 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -87,6 +87,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages less) #:use-module (gnu packages libcanberra) #:use-module (gnu packages libedit) #:use-module (gnu packages libunwind) @@ -665,6 +666,123 @@ removed lines to all opponents. There is also a Demo mode in which you can watch your CPU playing while enjoying a cup of tea!") (license license:gpl2+))) +(define-public nethack + (package + (name "nethack") + (version "3.6.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://www.nethack.org/download/" + version "/" name "-361-src.tgz")) + (sha256 + (base32 "1dha0ijvxhx7c9hr0452h93x81iiqsll8bc9msdnp7xdqcfbz32b")))) + (inputs + `(("ncurses" ,ncurses) + ("bison" ,bison) + ("flex" ,flex) + ("less" ,less))) + (build-system gnu-build-system) + (arguments + '(#:make-flags + `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-paths + (lambda _ + (substitute* "sys/unix/nethack.sh" + (("^ *cd .*$") "")) + (substitute* "sys/unix/Makefile.utl" + (("^YACC *=.*$") "YACC = bison -y\n") + (("^LEX *=.*$") "LEX = flex\n") + (("^# CC = gcc") "CC = gcc")) + (substitute* "sys/unix/hints/linux" + (("/bin/gzip") (string-append + (assoc-ref %build-inputs "gzip") + "/bin/gzip")) + (("^WINTTYLIB=.*") "WINTTYLIB=-lncurses")) + (substitute* "include/config.h" + (("^.*define CHDIR.*$") "")) + (substitute* "sys/unix/Makefile.src" + (("^# CC = gcc") "CC = gcc")) + #t)) + (replace 'configure + (lambda _ + (let ((bash (string-append + (assoc-ref %build-inputs "bash") + "/bin/bash"))) + (with-directory-excursion "sys/unix" + (substitute* "setup.sh" (("/bin/sh") bash)) + (invoke bash "setup.sh" "hints/linux")) + #t))) + (add-after 'install 'fixup-paths + (lambda _ + (let* ((output (assoc-ref %outputs "out")) + (nethack-script (string-append output "/bin/nethack"))) + (mkdir-p (string-append output "/games/lib/nethackuserdir")) + (for-each + (lambda (file) + (invoke "mv" + (string-append output "/games/lib/nethackdir/" file) + (string-append output "/games/lib/nethackuserdir"))) + '("xlogfile" "logfile" "perm" "record" "save")) + (mkdir-p (string-append output "/bin")) + (call-with-output-file nethack-script + (lambda (port) + (format port "#!~a/bin/sh +PATH=~a:$PATH +if [ ! -d ~~/.config/nethack ]; then + mkdir -p ~~/.config/nethack + cp -r ~a/games/lib/nethackuserdir/* ~~/.config/nethack + chmod -R +w ~~/.config/nethack +fi + +RUNDIR=$(mktemp -d) + +cleanup() { + rm -rf $RUNDIR +} +trap cleanup EXIT + +cd $RUNDIR +for i in ~~/.config/nethack/*; do + ln -s $i $(basename $i) +done +for i in ~a/games/lib/nethackdir/*; do + ln -s $i $(basename $i) +done +~a/games/nethack" + (assoc-ref %build-inputs "bash") + (list->search-path-as-string + (list + (string-append + (assoc-ref %build-inputs "coreutils") "/bin") + (string-append + (assoc-ref %build-inputs "less") "/bin")) + ":") + output + output + output))) + (chmod nethack-script #o555) + #t))) + (delete 'check)))) + (home-page "https://nethack.org") + (synopsis "Classic dungeon crawl game") + (description "NetHack is a single player dungeon exploration game that runs +on a wide variety of computer systems, with a variety of graphical and text +interfaces all using the same game engine. Unlike many other Dungeons & +Dragons-inspired games, the emphasis in NetHack is on discovering the detail of +the dungeon and not simply killing everything in sight - in fact, killing +everything in sight is a good way to die quickly. Each game presents a +different landscape - the random number generator provides an essentially +unlimited number of variations of the dungeon and its denizens to be discovered +by the player in one of a number of characters: you can pick your race, your +role, and your gender.") + (license + (license:fsdg-compatible + "https://nethack.org/common/license.html")))) + (define-public prboom-plus (package (name "prboom-plus") -- 2.18.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 14:13:04 2018 Received: (at 32162) by debbugs.gnu.org; 17 Jul 2018 18:13:04 +0000 Received: from localhost ([127.0.0.1]:45686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffUTA-00030G-Kn for submit@debbugs.gnu.org; Tue, 17 Jul 2018 14:13:04 -0400 Received: from cock.li ([185.100.85.212]:38146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffUT8-0002zj-Ln for 32162@debbugs.gnu.org; Tue, 17 Jul 2018 14:13:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on cock.li X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MIME_QP_LONG_LINE,NO_RECEIVED,NO_RELAYS shortcircuit=_SCTYPE_ autolearn=disabled version=3.4.1 User-Agent: Microsoft-MacOutlook/10.f.0.180709 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail; t=1531851176; bh=antgr3Iew3Vd2UJ38yPTMULb2xNsXB3elx1PvjUtUO0=; h=Date:Subject:From:To:CC:References:In-Reply-To:From; b=SSY0fj4+kynFRxP1wQpGsjFNKA7HJvpYcUeHvmVrEcS5lkg7hWVP+A2DUULSdVqDA xfRjhkXwh76eHl+i1QDyBxr7R9VqFdazEWFBJ+UIq5M5wxQL2ILKme3tUt6K5tvmNj 5RjjoU6X+cPgp1KSbojS/6nIGfHl45m/1IxKn0OtLj6xu5TMblf4/nI64lNGoDTUqY tE7FVNLXmiFHmislWBrX7ikblmqFxY9d7Q7GEeLN8bCGhk8eakvYU7gscmAaZ+Bkh2 zJapm5tUNMHNNTllptFzak+bX8KrsVD2zAo5XOpsGOh8W6dkPW6CD72MZ9NcW33m5a bwIR8uE3xvW0A== Date: Tue, 17 Jul 2018 11:12:47 -0700 Subject: Re: [bug#32162] [PATCH] gnu: Add nethack From: Anonymous To: Ludovic Court=C3=A8s Message-ID: <2AF4134E-59DA-4ED2-8AF7-23EE1DE4A762@cock.li> Thread-Topic: [bug#32162] [PATCH] gnu: Add nethack References: <87tvoy81zo.fsf@gnu.org> In-Reply-To: <87tvoy81zo.fsf@gnu.org> Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32162 Cc: 32162@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: -1.0 (-) > Rather: > > (for-each (lambda (file) > (install-file file > (string-append =E2=80=A6 "/games/lib/nethackuserdir= "))) > '(=E2=80=A6)) I wasn't able to use install-file, since I want the file to be moved, not copied. Let me know if there's a guile way to move a file (I couldn't find one). The other changes are incorporated into the patch which I think I jus= t send with git send-email. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 17:00:49 2018 Received: (at 32162) by debbugs.gnu.org; 17 Jul 2018 21:00:49 +0000 Received: from localhost ([127.0.0.1]:45794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffX5V-0000ga-DX for submit@debbugs.gnu.org; Tue, 17 Jul 2018 17:00:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffX5T-0000gM-Cd for 32162@debbugs.gnu.org; Tue, 17 Jul 2018 17:00:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffX5N-0000mr-0R for 32162@debbugs.gnu.org; Tue, 17 Jul 2018 17:00:42 -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.3 required=5.0 tests=BAYES_00,URIBL_SBL autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffX5M-0000mh-S1; Tue, 17 Jul 2018 17:00:40 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33778 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ffX5M-0005s1-Ed; Tue, 17 Jul 2018 17:00:40 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Anonymous Subject: Re: [bug#32162] [PATCH] gnu: Add nethack References: <87tvoy81zo.fsf@gnu.org> <2AF4134E-59DA-4ED2-8AF7-23EE1DE4A762@cock.li> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Messidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 17 Jul 2018 23:00:38 +0200 In-Reply-To: <2AF4134E-59DA-4ED2-8AF7-23EE1DE4A762@cock.li> (Anonymous's message of "Tue, 17 Jul 2018 11:12:47 -0700") Message-ID: <87d0vl8tmx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 32162 Cc: 32162@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: -5.3 (-----) Anonymous skribis: >> Rather: >> >> (for-each (lambda (file) >> (install-file file >> (string-append =E2=80=A6 "/games/lib/nethack= userdir"))) >> '(=E2=80=A6)) > > I wasn't able to use install-file, since I want the file to be moved, not > copied. Let me know if there's a guile way to move a file (I couldn't find > one). You could use =E2=80=98rename-file=E2=80=99, which works like rename(2) in = C. > The other changes are incorporated into the patch which I think I just > send with git send-email. Alright, thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 17:08:21 2018 Received: (at 32162) by debbugs.gnu.org; 17 Jul 2018 21:08:21 +0000 Received: from localhost ([127.0.0.1]:45817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffXCm-0000se-5R for submit@debbugs.gnu.org; Tue, 17 Jul 2018 17:08:21 -0400 Received: from cock.li ([185.100.85.212]:47060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffXCk-0000sP-Bn for 32162@debbugs.gnu.org; Tue, 17 Jul 2018 17:08:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on cock.li X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MIME_QP_LONG_LINE,NO_RECEIVED,NO_RELAYS shortcircuit=_SCTYPE_ autolearn=disabled version=3.4.1 User-Agent: Microsoft-MacOutlook/10.f.0.180709 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail; t=1531861692; bh=LsjMgbU/ygiaex0gO4AGus5OWmIeWXsPweT3e34Fdho=; h=Date:Subject:From:To:References:In-Reply-To:From; b=h8flbGRujWBpWZD5gnd/EIZ+t4otY9fWyD4kj4cB1YaChQ4TIQ9qJ90K3RPGTYteE EcZcGGldzkoBYvt3GkhJpdO0wahqwhvX1qS+mvLZ22rtOC+GRhNmdpk22usQ51+1pe IYV+Dv3X+pAtk9waxPLAJP2rDDeuyEYjs9HpolL1qdJV4h7H0hSWc7E3ln1H3tGVME XBn+MhTfXm0XiwSukeD0CBE3K/Ng8BowldLU7RGEoSK5Xr1ZkJYlu2Eo2FUNq+CP9w XQogz2Y4rQA6c3VGK3IdkA4lNkbYmHM4nT+os3HiRIE8Sw45tC4AMXAskFJr83FlV1 a36NxSSfH5WpQ== Date: Tue, 17 Jul 2018 14:08:03 -0700 Subject: FW: [bug#32162] [PATCH] gnu: Add nethack From: Anonymous To: "32162@debbugs.gnu.org" <32162@debbugs.gnu.org> Message-ID: <642AA233-EAF7-4C43-9FC6-C946F096C8DA@cock.li> Thread-Topic: [bug#32162] [PATCH] gnu: Add nethack References: <87tvoy81zo.fsf@gnu.org> <2AF4134E-59DA-4ED2-8AF7-23EE1DE4A762@cock.li> <87d0vl8tmx.fsf@gnu.org> In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 32162 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.2 (/) =EF=BB=BFOn 7/17/18, 2:07 PM, "Anonymous" wrote: On 7/17/18, 2:00 PM, "Ludovic Court=3DC3=3DA8s" wrote: =20 Anonymous skribis: =20 >> Rather: >> >> (for-each (lambda (file) >> (install-file file >> (string-append =E2=80=A6 "/games/lib/netha= ckuserdir"))) >> '(=E2=80=A6)) > > I wasn't able to use install-file, since I want the file to be mo= ved, not > copied. Let me know if there's a guile way to move a file (I coul= dn't find > one). =20 You could use =E2=80=98rename-file=E2=80=99, which works like rename(2) in C. =20 Unfortunately, rename-file doesn't appear to work on directories, and a= t least "save" is a directory. Is it worth trying to address this, or is = using "mv" ok? =20 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 17:08:34 2018 Received: (at 32162) by debbugs.gnu.org; 17 Jul 2018 21:08:34 +0000 Received: from localhost ([127.0.0.1]:45821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffXCz-0000t7-Qk for submit@debbugs.gnu.org; Tue, 17 Jul 2018 17:08:33 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffXCw-0000sy-HV for 32162@debbugs.gnu.org; Tue, 17 Jul 2018 17:08:30 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7DF3E21BA0; Tue, 17 Jul 2018 17:08:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 17 Jul 2018 17:08:30 -0400 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=fSmIIjTIYs7oQtf9bX0VVVuLnbF6KZzJQnCTm9enmC8=; b=IucNE b1KQNnEDA+SESt9YuJVWT/ZP5OhwVxtBkRTOTaq9jeWr+jxvnOusiuXytNrUo87f KZdHperUDRBQ/WJKNOorz5T9Hx3ssGbamhjRGkGMSxsBOZf2XxWkBlHPEDYgEXHR HpiA2A7R92PPiL3Zvy57xCxtfoDjPNeB67eXj4= 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=fm3; bh=fSmIIjTIYs7oQtf9bX0VVVuLnbF6K ZzJQnCTm9enmC8=; b=sD0MBGOLBAQau3irxFSOf3q+lQ4wBfscl74HcrjEYXG5L mplZ3+bBRvabTeLKCCzjWNG+gSd9af6OfxqVQCMh0rB7zbb9dQ6DO6xEnUNRYtM3 uHt/3md3w4dRFRUwR4l0S1EFxAJWJPZUujyZG3qqjVzK0LqfG/x1aSJy9BPssys/ qrhye82J1obyGTcFHJLZSlR6YPwiaVp9vSd4wjXUBZgpfk47oxAkuEWtznje/D1S J7St5Q5P8rCfefkRjl94ymYnjjtqmhPUnBworRnhjHOyhRVQnZ+4BkI2XwvE1J/e gM9FPHZGfB7+ZS2FR/BpKqR/6teFhJhLlFJCd7rKw== X-ME-Proxy: X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id BCD6410273; Tue, 17 Jul 2018 17:08:29 -0400 (EDT) Date: Tue, 17 Jul 2018 17:08:28 -0400 From: Leo Famulari To: Anonymous Subject: Re: [bug#32162] [PATCH] gnu: Add nethack Message-ID: <20180717210828.GD12949@jasmine.lan> References: <87tvoy81zo.fsf@gnu.org> <2AF4134E-59DA-4ED2-8AF7-23EE1DE4A762@cock.li> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fOHHtNG4YXGJ0yqR" Content-Disposition: inline In-Reply-To: <2AF4134E-59DA-4ED2-8AF7-23EE1DE4A762@cock.li> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32162 Cc: Ludovic Court=C3=A8s , 32162@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: -1.7 (-) --fOHHtNG4YXGJ0yqR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 17, 2018 at 11:12:47AM -0700, Anonymous wrote: > > Rather: > > > > (for-each (lambda (file) > > (install-file file > > (string-append =E2=80=A6 "/games/lib/nethac= kuserdir"))) > > '(=E2=80=A6)) >=20 > I wasn't able to use install-file, since I want the file to be moved, not > copied. Let me know if there's a guile way to move a file (I couldn't find > one). The other changes are incorporated into the patch which I think I j= ust > send with git send-email. You can use rename-file (similar to the `mv` command). --fOHHtNG4YXGJ0yqR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAltOWswACgkQJkb6MLrK fwhULg//djcNvnS5mQ6949xOUDTZDn/A6tQze/AZ70mDA3Zb/YNdA/KZ3GxudL29 eKkNqcJDdSPMePynASt4ENM3bQu2u8fUstfmSVGrZ8TQgsm9qKklWXW8g9JWWPuU w/IKui+jj9NQv4FQ4oDREM+DhV0xjRCdrrXhAoVO4aGGTeenz3i9W3LvyLR8On24 VhsgUSXvoQSt5SV22BGqGa86sVDDkQIvrJczprB8ow1Wm/Reqw72X0hIe8ho4afG dxo4DIjxfeWjinD9cgY9hWz4X2zFb8W1Sop7HOGh4ommKf6XknYpieL6nNF88i30 kIPh8zTlDkdse3alV5ji99FtlxNadZgEFGOrLlQFyM79fV7IhCMGUXF47uu+weeU eZlyTL8I6zVG64nOy1lXbXJToNSTObOkUJWMYtJ5IWCJOFLN3bLxGzKtkQbRmd55 fABBoMjEaeR9pIhdg8UfuYABwpSGazn5dT32PdrJfWLN4csxwm5TJY4RK3/m1X3N J7YLw/nQ3F5Zt3HugaumMrVX8B9nWpXHYgPGCZ/tdkjkZE5K14/6lWRE1L+dDx7X zoLh2AVfr2ID8ZPvEQUdJjFgzMlHyobWCIreEIsRA+eLBtZwPLOU3RzqOjmZ4NEE uQ3N37HVsJC6hBJWeTKhyQ/dq3N/QmUmGV6PTZKA6RjVl01kQDs= =WhYU -----END PGP SIGNATURE----- --fOHHtNG4YXGJ0yqR-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 18:11:57 2018 Received: (at 32162-done) by debbugs.gnu.org; 17 Jul 2018 22:11:57 +0000 Received: from localhost ([127.0.0.1]:45863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffYCL-0002MF-Ld for submit@debbugs.gnu.org; Tue, 17 Jul 2018 18:11:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffYCJ-0002M3-Tn for 32162-done@debbugs.gnu.org; Tue, 17 Jul 2018 18:11:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffYCD-0003OD-TQ for 32162-done@debbugs.gnu.org; Tue, 17 Jul 2018 18:11:50 -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.3 required=5.0 tests=BAYES_00,URIBL_SBL autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffYCD-0003Nx-P3; Tue, 17 Jul 2018 18:11:49 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34190 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ffYCD-0004rk-AU; Tue, 17 Jul 2018 18:11:49 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: mcrfan96@cock.li Subject: Re: [bug#32162] [PATCH] gnu: Add nethack. References: <20180717180758.17538-1-mcrfan96@cock.li> Date: Wed, 18 Jul 2018 00:11:48 +0200 In-Reply-To: <20180717180758.17538-1-mcrfan96@cock.li> (mcrfan's message of "Tue, 17 Jul 2018 11:07:58 -0700") Message-ID: <87wottseaj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 32162-done Cc: 32162-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: -5.3 (-----) mcrfan96@cock.li skribis: > From: Anonymous > > * gnu/packages/games.scm (nethack): New variable. Applied with the =E2=80=98rename-file=E2=80=99 change. In a separate commit I enabled reproducible builds: =E2=80=9Cguix build net= hack --rounds=3D2 -K=E2=80=9D showed that a timestamp was embedded. Thanks! Ludo=E2=80=99. From unknown Sat Jun 21 05:19:06 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, 15 Aug 2018 11:24:08 +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