From unknown Sat Sep 06 02:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30443] [PATCH] Add colobot Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2018 01:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30443@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.151848415714030 (code B ref -1); Tue, 13 Feb 2018 01:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2018 01:09:17 +0000 Received: from localhost ([127.0.0.1]:40278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elP5r-0003e6-BM for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:09:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elP5p-0003dt-QD for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:09:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elP5i-0000TQ-Rz for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:09:04 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elP5i-0000T0-NP for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:09:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elP5h-0003qr-8T for guix-patches@gnu.org; Mon, 12 Feb 2018 20:09:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elP5d-0000I5-EL for guix-patches@gnu.org; Mon, 12 Feb 2018 20:09:01 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:48252) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elP5d-0000EL-5p for guix-patches@gnu.org; Mon, 12 Feb 2018 20:08:57 -0500 Received: from saiph (00004301a5269e39f4247da5.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301:a526:9e39:f424:7da5]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 4404DC5A44 for ; Tue, 13 Feb 2018 02:08:54 +0100 (CET) Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1elP5a-0003VK-I0 for guix-patches@gnu.org; Tue, 13 Feb 2018 02:08:54 +0100 From: Nicolas Goaziou User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Tue, 13 Feb 2018 02:08:54 +0100 Message-ID: <873725vgpl.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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.3 (----) 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 (/) --=-=-= Content-Type: text/plain Hello, The following patch adds the educational game: Colobot (Gold Edition). Feedback welcome. Regards, -- Nicolas Goaziou 0x80A93738 --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-colobot.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add Colobot >From c924704e440118a1aeede1f237b56744967cab66 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 13 Feb 2018 01:26:27 +0100 Subject: [PATCH] gnu: Add colobot. * gnu/packages/games.scm (colobot): New variable. --- gnu/packages/games.scm | 86 ++++++++++++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 85 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 286d0feef..9c3b7cfa8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -32,7 +32,7 @@ ;;; Copyright =C2=A9 2017 Marius Bakke ;;; Copyright =C2=A9 2017 Rutger Helling ;;; Copyright =C2=A9 2017 Roel Janssen -;;; Copyright =C2=A9 2017 Nicolas Goaziou +;;; Copyright =C2=A9 2017, 2018 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -5549,3 +5549,87 @@ hacking the gamification of contribution graphs on p= latforms such as Github or Gitlab.") (home-page "https://github.com/umayr/badass") (license license:expat)))) + +(define-public colobot + (package + (name "colobot") + (version "0.1.11-alpha") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/colobot/colobot/archive/" + "colobot-gold-" version ".tar.gz")) + (sha256 + (base32 + "160rq9fp5vd0qaqr3jvzvzrcxk9cac532y8vx4cvq0a8hgylrbad")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;no test + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-data + (lambda* (#:key inputs #:allow-other-keys) + (let ((data (assoc-ref inputs "colobot-data"))) + (invoke "tar" "-xvf" data "-Cdata" "--strip-components=3D1") + #t))) + (add-after 'unpack-data 'install-music + (lambda* (#:key inputs #:allow-other-keys) + ;; Installation process tries to download music files using + ;; "wget" if not already present. Since we are going to inst= all + ;; them, skip "wget" command check. + (substitute* "data/music/CMakeLists.txt" + (("find_program\\(WGET wget\\)") "")) + ;; Effectively install music. + (let ((data (assoc-ref inputs "colobot-music"))) + (invoke "tar" "-xvf" data "-Cdata/music") + #t))) + (add-after 'install 'fix-install-directory + ;; Move binary from "games/" to "bin/". + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (rename-file (string-append out "/games") + (string-append out "/bin")) + #t)))))) + (native-inputs + `(("colobot-data" + ,(origin + (method url-fetch) + (uri (string-append + "https://github.com/colobot/colobot-data/archive/" + "colobot-gold-" version ".tar.gz")) + (sha256 + (base32 + "1pdpsyr41g7xmk03k2g76l214f53ahk04qnkzmsv1fdbbaq7p109")))) + ("colobot-music" + ,(origin + (method url-fetch) + ;; Music also exists in FLAC, with a cost of 230Mo. It can lat= er + ;; be converted using "oggenc" for a better sound quality. + (uri (string-append "https://colobot.info/files/music/" + "colobot-music_ogg_" version ".tar.gz")) + (sha256 + (base32 + "1s86cd36rwkff329mb1ay1wi5qqyi35564ppgr3f4qqz9wj9vs2m")))) + ("gettext" ,gettext-minimal) + ("librsvg" ,librsvg) + ("po4a" ,po4a) + ("python" ,python-wrapper))) + (inputs + `(("boost" ,boost) + ("glew" ,glew) + ("libogg" ,libogg) + ("libpng" ,libpng) + ("libsndfile" ,libsndfile) + ("libvorbis" ,libvorbis) + ("openal" ,openal) + ("physfs" ,physfs) + ("sdl2" ,sdl2) + ("sdl2-image", sdl2-image) + ("sdl2-ttf" ,sdl2-ttf))) + (synopsis "Educational programming strategy game") + (description "Colobot: Gold Edition is a real-time strategy game, where +you can program your units (bots) in a language called CBOT, which is simi= lar +to C++ and Java. Your mission is to find a new planet to live and survive. +You can save the humanity and get programming skills!") + (home-page "https://colobot.info") + (license license:gpl3+))) --=20 2.16.1 --=-=-=-- From unknown Sat Sep 06 02:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30443] [PATCH] Add colobot Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2018 01:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30443@debbugs.gnu.org Received: via spool by 30443-submit@debbugs.gnu.org id=B30443.151848472614861 (code B ref 30443); Tue, 13 Feb 2018 01:19:02 +0000 Received: (at 30443) by debbugs.gnu.org; 13 Feb 2018 01:18:46 +0000 Received: from localhost ([127.0.0.1]:40286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elPF8-0003rd-2W for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:18:46 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elPF5-0003rR-Ql for 30443@debbugs.gnu.org; Mon, 12 Feb 2018 20:18:44 -0500 Received: from saiph (00004301a5269e39f4247da5.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301:a526:9e39:f424:7da5]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id EAC59A80C1 for <30443@debbugs.gnu.org>; Tue, 13 Feb 2018 02:18:42 +0100 (CET) Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1elPF4-0003Wg-BX for 30443@debbugs.gnu.org; Tue, 13 Feb 2018 02:18:42 +0100 From: Nicolas Goaziou In-Reply-To: <873725vgpl.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 13 Feb 2018 02:08:54 +0100") References: <873725vgpl.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Tue, 13 Feb 2018 02:18:42 +0100 Message-ID: <87y3jxu1ot.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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 (/) > + ("sdl2" ,sdl2) > + ("sdl2-image", sdl2-image) ^^^^^ I will fix this typo. From unknown Sat Sep 06 02:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30443] [PATCH] Add colobot Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2018 19:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 30443@debbugs.gnu.org Received: via spool by 30443-submit@debbugs.gnu.org id=B30443.1518551316668 (code B ref 30443); Tue, 13 Feb 2018 19:49:01 +0000 Received: (at 30443) by debbugs.gnu.org; 13 Feb 2018 19:48:36 +0000 Received: from localhost ([127.0.0.1]:41825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elgZ9-0000Ai-Nt for submit@debbugs.gnu.org; Tue, 13 Feb 2018 14:48:35 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elgZ4-0000AW-35 for 30443@debbugs.gnu.org; Tue, 13 Feb 2018 14:48:30 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E63EA20E54; Tue, 13 Feb 2018 14:48:29 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 13 Feb 2018 14:48:29 -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=oRFuDPWhGfbpFtPndCR4d7KEJ/qjYh2/DutIik9vd+0=; b=0VpAw 4I13iL+lvxKPSvCdMxmt52F9OqzAvlJephSLHOtf1Zh7PhHBpoKqdUne20JpqkAp 2EeJd2LfXyeeOZqcW2Hk0iQctsNHCwIXR/gCP05GSbGxl/DieV2cHuBmmgI3csth G13jPp9tISV+ddi4OESR3IokrZKuPH5N/h5bRc= 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=fm2; bh=oRFuDPWhGfbpFtPndCR4d7KEJ/qjY h2/DutIik9vd+0=; b=degPXBWX1P1+lcHix5soXGIGdPjoJzIUB37nlaYTUwbhz L2qad0z9RP3QVNsoW9UDSxvgufnbZCuERvYRsoTQc3yjr1FGWHgU+6aVCn1Dpo55 UVbg8EAchl8KaSHJx0Dy3CeEp99ISVj33O5J2ITTpB26fhoEVug69cXL+rDWFis+ mlOfIKGu5fvLamVxldTyA2xLMTU8+8O8PsoHYfp5LF1irWD3R7bCgb8fGI5ncmV7 ErelWu3XgvVRw/cxa2vkMSchGN3h4FmvKK+Uzum2OIg++h1L/PUbAiChMi4ZJrff v0OzCpX5kyvX4LGyRh4eNavfX7t1lSGw4LZ4B05UQ== X-ME-Sender: Received: from localhost (unknown [172.58.225.135]) by mail.messagingengine.com (Postfix) with ESMTPA id 904B57E4E9; Tue, 13 Feb 2018 14:48:29 -0500 (EST) Date: Tue, 13 Feb 2018 14:48:28 -0500 From: Leo Famulari Message-ID: <20180213194828.GB1536@jasmine.lan> References: <873725vgpl.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="O5XBE6gyVG5Rl6Rj" Content-Disposition: inline In-Reply-To: <873725vgpl.fsf@nicolasgoaziou.fr> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) 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 (/) --O5XBE6gyVG5Rl6Rj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 13, 2018 at 02:08:54AM +0100, Nicolas Goaziou wrote: > + ;; Music also exists in FLAC, with a cost of 230Mo. It can later > + ;; be converted using "oggenc" for a better sound quality. > + (uri (string-append "https://colobot.info/files/music/" > + "colobot-music_ogg_" version ".tar.gz")) I think this comment is mistaken. Audio quality cannot be improved by transcoding to another format. --O5XBE6gyVG5Rl6Rj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqDQQwACgkQJkb6MLrK fwjJ0BAAoP34K8hk4n6ddd6t28oeApbi4UdERqaut5CycHL2nP87pEpRIDJl9OMe 4FDGG+LlK5zrvYB/GuVf09+9dpiP+cYotNsRZC1QdQyk/yahiWb4UIRyom8tVWZF t8sPMQP6AJzlQwgh+mLEouLHn4stKapgohNpXoUHW/ObV2418UAjeujol60dg3mh nE2UTXbmlrNNZOShitOAoeHji6rVcFDnsb6qaKl069M5WB/BEZtx70iH9zZJTIN8 kj0NYa0Vbknr9oJxxHYrPnWU0opKkEua/Ac9P1LTwn7L46ys5HVJ4Dp02hGimyuK p6Z5AcRffDzJ6FIXzLf3OHhekYAsA/u4nKkh8zhdwCaGSOyFHgMlKX7yiroEaAp8 OVe1gNZ3/urvqX9UaeJ/hqr39HbzVQn0IoM5bptZqz+vNrJB61kI5e8dJZOU2VCv 2ESvzdlOWwKinQ7QTrrBItGtDfQSvX6KGdZsgG5ERN+HrKIMvMmo6AvEFYugFHBj XAUu9VLU1yzl6ddGGPHynH4pxDxyUsJm/IPXJy8t2jmhLgpaupKypxxhA9nlM2mH EOBRaWot9hYIpcEO5/z3BKnY0Z3cpqNHvxN1OnZfEgAfRguHxZ7/k0EBxuejgiV8 9fekVYEknhFSE97UoWGzOoOP2RFaepsbAWB7zgVn/JXRthsmV70= =6nRU -----END PGP SIGNATURE----- --O5XBE6gyVG5Rl6Rj-- From unknown Sat Sep 06 02:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30443] [PATCH] Add colobot Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2018 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 30443@debbugs.gnu.org Received: via spool by 30443-submit@debbugs.gnu.org id=B30443.15185515701034 (code B ref 30443); Tue, 13 Feb 2018 19:53:02 +0000 Received: (at 30443) by debbugs.gnu.org; 13 Feb 2018 19:52:50 +0000 Received: from localhost ([127.0.0.1]:41830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elgdG-0000Gc-9r for submit@debbugs.gnu.org; Tue, 13 Feb 2018 14:52:50 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:36449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elgdE-0000GT-VX for 30443@debbugs.gnu.org; Tue, 13 Feb 2018 14:52:49 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 68827213DD; Tue, 13 Feb 2018 14:52:48 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 13 Feb 2018 14:52:48 -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=uevQuyDjan44bTtkSokSBURcDA75860IlOMi/yRdJMc=; b=Z0Isq 7sxqDw/cKBYmEdnyURVNNQlqzKzdMnDNrktd+17sFG6Ek/TnDFZjKo6ksyVbj68A dQug0FeL8+5rDENgGXn0CQLp3RdJTTsdoi24Qfho7t0eMgoMFTcugAh5IAmCE0Ok 6A6EIJc1jz9AszM5rzCZuF7No3QIJ47wV/b4D0= 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=fm2; bh=uevQuyDjan44bTtkSokSBURcDA758 60IlOMi/yRdJMc=; b=dreEQ+DMGrHiSWbiH188MMKqsCgq91srhqJGE9XtvHvm1 LlwPKk4Nd94ySVLzKM8EBV2cFO6KhHC2d7a8Y0hN/KehJlGdT7kNTUOq/X5aaFgV JvBEVgwKxFbnVjk0qWtlqyRhRRXpCWScIT01Niw4O1jfcMOmu5rZvWD++M0uuFG8 Jy/4BgKUDH1aVHDnubcd7T2zEhlCH4sQkYGVZsDehQud9aBXiPjT66VNaI06uD9k EQIsxZNv64nTTr72SWzrD9HN/fPqO7bvgqVl66Shybr1CO6rHrPownouq6DN9lbh YA+5o9Zvoz+1gzlPUym4dpnmA6rURizR3dndnyKrw== X-ME-Sender: Received: from localhost (unknown [172.58.225.135]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A14B7E4E9; Tue, 13 Feb 2018 14:52:48 -0500 (EST) Date: Tue, 13 Feb 2018 14:52:47 -0500 From: Leo Famulari Message-ID: <20180213195247.GC1536@jasmine.lan> References: <873725vgpl.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m51xatjYGsM+13rf" Content-Disposition: inline In-Reply-To: <873725vgpl.fsf@nicolasgoaziou.fr> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) 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 (/) --m51xatjYGsM+13rf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2018 at 02:08:54AM +0100, Nicolas Goaziou wrote: > Subject: [PATCH] gnu: Add colobot. >=20 > * gnu/packages/games.scm (colobot): New variable. Thanks! > + ("sdl2" ,sdl2) > + ("sdl2-image", sdl2-image) > + ("sdl2-ttf" ,sdl2-ttf))) I didn't try building or playing the game, but I know that SDL dependencies often need to be provided in a union using the sdl-union procedure. So, please make sure this is working :) --m51xatjYGsM+13rf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqDQg8ACgkQJkb6MLrK fwhojQ//ZU4A+QU7DC7tsl4hZuSSjDwyAbzAsOVkJsaDj02jBHuYbl6hkBSsJpb9 bnH1B1okHPzEdbiQnKfIJ9+CtS8mZ0IHkAxfw7YYuqcnhKX9ePsc1vqOa3apbJ/C tpZXZxLewBVSa01gR4j10vENic3br8j66a2i5nYTF3LbKbOqiqfHhZ+Mandncmig LzQtUs2w35XVP1TT0ctCmO61W3+MAPDga27lZnE7CfdSdNzpH6y+O77L/GeYe9A/ kmkv1U5ehPk2efV/Nb1DO9qCNv0adsTuHpKMOQkkDfEhgDlFAwjGUbuLk43QzOx0 1+dFOY+D3bjHbf76ohXc375Dho0d4kJXNH4MteEs3pu8FKMOdsKFSugyqteQuS9q TWe1GQW+kD9UZYzv0zXbM5Tj7sHHXissvvO3IpWrOdJ6cYeAS1Qp0ogR6zilsmTY rHCHx+/W0Th0BokO8pQvZWB8HyN7f9eJzgsqaEfOfl0k7s3RIP5t3tJIhuswCZLN IvjZlbOgFsBoT1fWzIcnux67YG8mLjcXRSzxW1SzMLMdsrvN3F3mHR5hAn/uVEeQ MEfwzxRcjU8RDwHy+TlXJzYFc7Ex0FMIjcKM0YauZH/ypcGAlOhwL/2Hd5XnkS8V dit0cRYLTmgBI68+QI+fF6szavSEBEGWkV8eaXFT9nQxTBobXTo= =sRXD -----END PGP SIGNATURE----- --m51xatjYGsM+13rf-- From unknown Sat Sep 06 02:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30443] [PATCH] Add colobot Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2018 21:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 30443@debbugs.gnu.org Received: via spool by 30443-submit@debbugs.gnu.org id=B30443.15185573409419 (code B ref 30443); Tue, 13 Feb 2018 21:29:02 +0000 Received: (at 30443) by debbugs.gnu.org; 13 Feb 2018 21:29:00 +0000 Received: from localhost ([127.0.0.1]:41868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eli8K-0002Rr-0X for submit@debbugs.gnu.org; Tue, 13 Feb 2018 16:29:00 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:59878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eli8I-0002Rj-J8 for 30443@debbugs.gnu.org; Tue, 13 Feb 2018 16:28:59 -0500 Received: from saiph (00004301a5269e39f4247da5.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301:a526:9e39:f424:7da5]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 28E97A80C2; Tue, 13 Feb 2018 22:28:56 +0100 (CET) Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1eli8G-0001cW-69; Tue, 13 Feb 2018 22:28:56 +0100 From: Nicolas Goaziou In-Reply-To: <20180213194828.GB1536@jasmine.lan> (Leo Famulari's message of "Tue, 13 Feb 2018 14:48:28 -0500") References: <873725vgpl.fsf@nicolasgoaziou.fr> <20180213194828.GB1536@jasmine.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Tue, 13 Feb 2018 22:28:56 +0100 Message-ID: <874lmk1svb.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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 (/) Hello, Leo Famulari writes: > On Tue, Feb 13, 2018 at 02:08:54AM +0100, Nicolas Goaziou wrote: >> + ;; Music also exists in FLAC, with a cost of 230Mo. It can later >> + ;; be converted using "oggenc" for a better sound quality. >> + (uri (string-append "https://colobot.info/files/music/" >> + "colobot-music_ogg_" version ".tar.gz")) > > I think this comment is mistaken. Audio quality cannot be improved by > transcoding to another format. This is not what I meant. The game expects ogg files for its music. The package provides default ogg files, of medium quality. If you want better audio quality, you can download (lossless?) FLAC files instead and convert them to ogg files with a better quality (and a lesser compression). If this comment is confusing, I can remove it. I guess one doesn't play this game for sound quality (even though some scores are nice). WDYT? Regards, -- Nicolas Goaziou 0x80A93738 From unknown Sat Sep 06 02:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30443] [PATCH] Add colobot Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2018 22:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 30443@debbugs.gnu.org Received: via spool by 30443-submit@debbugs.gnu.org id=B30443.151855951212678 (code B ref 30443); Tue, 13 Feb 2018 22:06:02 +0000 Received: (at 30443) by debbugs.gnu.org; 13 Feb 2018 22:05:12 +0000 Received: from localhost ([127.0.0.1]:41892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elihM-0003IQ-HB for submit@debbugs.gnu.org; Tue, 13 Feb 2018 17:05:12 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elihJ-0003IG-PV for 30443@debbugs.gnu.org; Tue, 13 Feb 2018 17:05:10 -0500 Received: from saiph (00004301a5269e39f4247da5.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301:a526:9e39:f424:7da5]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 9B0ED1720AE; Tue, 13 Feb 2018 23:05:08 +0100 (CET) Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1elihH-0002ZK-LI; Tue, 13 Feb 2018 23:05:07 +0100 From: Nicolas Goaziou In-Reply-To: <20180213195247.GC1536@jasmine.lan> (Leo Famulari's message of "Tue, 13 Feb 2018 14:52:47 -0500") References: <873725vgpl.fsf@nicolasgoaziou.fr> <20180213195247.GC1536@jasmine.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Tue, 13 Feb 2018 23:05:07 +0100 Message-ID: <87zi4czgto.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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 (/) Hello, Leo Famulari writes: > On Tue, Feb 13, 2018 at 02:08:54AM +0100, Nicolas Goaziou wrote: >> Subject: [PATCH] gnu: Add colobot. >> >> * gnu/packages/games.scm (colobot): New variable. > > Thanks! > >> + ("sdl2" ,sdl2) >> + ("sdl2-image", sdl2-image) >> + ("sdl2-ttf" ,sdl2-ttf))) > > I didn't try building or playing the game, but I know that SDL > dependencies often need to be provided in a union using the sdl-union > procedure. So, please make sure this is working :) The game builds and is playable with the current patch. I tested it with guix environment --pure --ad-hoc colobot -- colobot It also builds and is playable with sdl-union. Regards, -- Nicolas Goaziou 0x80A93738 From unknown Sat Sep 06 02:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30443] [PATCH] Add colobot Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Feb 2018 02:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 30443@debbugs.gnu.org Received: via spool by 30443-submit@debbugs.gnu.org id=B30443.151857713812671 (code B ref 30443); Wed, 14 Feb 2018 02:59:02 +0000 Received: (at 30443) by debbugs.gnu.org; 14 Feb 2018 02:58:58 +0000 Received: from localhost ([127.0.0.1]:42003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elnHe-0003IJ-45 for submit@debbugs.gnu.org; Tue, 13 Feb 2018 21:58:58 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:57099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elnHb-0003I9-UT for 30443@debbugs.gnu.org; Tue, 13 Feb 2018 21:58:56 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9178A217D0; Tue, 13 Feb 2018 21:58:55 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 13 Feb 2018 21:58:55 -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=53nJGZI9lTSA+3KQJEbyUqCdVM5wyHCUu9ZrGi+W2f8=; b=LWuvm i5Ohd4wsiXnt42dtnHzkNrHq5Tu6PqUa6FZGW5Q/16Rx00Z+f7XMdML7Gu92KaEk sxHf3p4SUPy2LIUVcYmcgi1it0vKKZzctaxP2tka8MNkId7I6nEhT0wQPqsVeHGJ qsh4CEI1aapDyvDfrMi2a0qa+DpdHYAE3glqIg= 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=fm2; bh=53nJGZI9lTSA+3KQJEbyUqCdVM5wy HCUu9ZrGi+W2f8=; b=XJVDuvmWxPBprhtm1gYEumI/4okotr7SHNwYpvyyzYZBe VQTSeIADRKbcttwfp9xbkAmT8iPtAINBbnh6Sf0dDMyEnTaFeQfG37x2QRjG8fRV oB3/fXkkg5YFoZGxLoIz9swt/pvF1ojR9OlXhoN1xZkxECVWdGMvr6VdMPTI6Q3+ McP8Cn8JnYmebrKqpEx6B6UIgAMsxUYpLrkNr00hK2NaZvt4/BH9z9lh2VlxOMrD 0Z1vgR9ono1+0vWZEcjJ16ETs/rTE60YmGdQVPEpLw/12Yhig9qRHnQaUlNshqrK lFjb7sD5D7l8OHUrH1aveqh+MiRFOvxcnVPBSl45g== X-ME-Sender: Received: from localhost (unknown [172.58.225.24]) by mail.messagingengine.com (Postfix) with ESMTPA id 4BBEC7E4B2; Tue, 13 Feb 2018 21:58:55 -0500 (EST) Date: Tue, 13 Feb 2018 21:58:54 -0500 From: Leo Famulari Message-ID: <20180214025853.GA2349@jasmine.lan> References: <873725vgpl.fsf@nicolasgoaziou.fr> <20180213194828.GB1536@jasmine.lan> <874lmk1svb.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <874lmk1svb.fsf@nicolasgoaziou.fr> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) 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 (/) --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2018 at 10:28:56PM +0100, Nicolas Goaziou wrote: > >> + ;; Music also exists in FLAC, with a cost of 230Mo. It ca= n later > >> + ;; be converted using "oggenc" for a better sound quality. > >> + (uri (string-append "https://colobot.info/files/music/" > >> + "colobot-music_ogg_" version ".tar.gz"= )) > > > > I think this comment is mistaken. Audio quality cannot be improved by > > transcoding to another format. >=20 > This is not what I meant.=20 >=20 > The game expects ogg files for its music. The package provides default > ogg files, of medium quality. If you want better audio quality, you can > download (lossless?) FLAC files instead and convert them to ogg files > with a better quality (and a lesser compression). >=20 > If this comment is confusing, I can remove it. I guess one doesn't play > this game for sound quality (even though some scores are nice). The comment is confusing, but your reply to my question is not :) So, I recommend either rewriting the comment or leaving it out. --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqDpeoACgkQJkb6MLrK fwgn5A/+OnaArEd5JNblC4tWdCXaiSRhGJmAtMmpPe4w34bkc77dlGVSQzn2aYta 7Y8J/5Pf1zyuloq7q996vqAFQTah0xGiqi0ivzBfIcaCi3OIlnNeXlK9m1re5W0d kk0lDSZfVY7v/iBDb8D5YA0fbkuvS2y2u0bDVRm7WYk8jhF3K1yrUaLF/8nl+UOG knspZ1qAVi6+cMn6KwbAoaaqbeI2qM9+cS7zHdbFGMjCaKE3wi56/AC2BHHngVI3 ueaTvKofRvQXXehUf0mM5l3Ex+Mk988YppFW+AQuCvsF1wwKZEIXU/1i0Bnc5EDS dXeT4+/JaGjXY4/jawUfpgdc9gruR2g1nVkLGiVbFC9WoEVUuU8OX9nwt7cuvAbv Y3GLPb5baEmkTCdxD/vGxMoG9dfjelRJ+w17Gjn03H7lLsh7nFH8aLfSQtZQSLa6 7J8/NcukMY+8Td3eAiR8sbVD/nmdgUmtZgpGloqX1vmNWK6+I6InqQG+bjXnNk76 ua13/RT397pfGb2jy2A9FUI4GTf9Nl/7WH5WwOHvxEAzGezY35RDs0sSxjxnDtPa JoNZdwyqezreRxr/gz4yJiDYDwleYGtG9dpBHjoLQa+SVqnCRn3rLj32JnDzTHSU La97oHohYANGfOgxtsOh7Z1pHuNguqYH0tinYVw4TA1zXtL+wF4= =QVAN -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm-- From unknown Sat Sep 06 02:32:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nicolas Goaziou Subject: bug#30443: closed (Re: [bug#30443] [PATCH] Add colobot) Message-ID: References: <87r2pkhfh4.fsf@nicolasgoaziou.fr> <873725vgpl.fsf@nicolasgoaziou.fr> X-Gnu-PR-Message: they-closed 30443 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 30443@debbugs.gnu.org Date: Fri, 16 Feb 2018 20:01:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1518811262-17326-1" This is a multi-part message in MIME format... ------------=_1518811262-17326-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30443: [PATCH] Add colobot which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30443@debbugs.gnu.org. --=20 30443: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30443 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1518811262-17326-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30443-done) by debbugs.gnu.org; 16 Feb 2018 20:00:43 +0000 Received: from localhost ([127.0.0.1]:47247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emmBW-0004Uq-V6 for submit@debbugs.gnu.org; Fri, 16 Feb 2018 15:00:43 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:51252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emmBV-0004Ui-Lx for 30443-done@debbugs.gnu.org; Fri, 16 Feb 2018 15:00:42 -0500 Received: from saiph (00004301cd5dec2954a4d6ad.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301:cd5d:ec29:54a4:d6ad]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 5C64AC5A54; Fri, 16 Feb 2018 21:00:39 +0100 (CET) Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1emmBT-0004Hs-9y; Fri, 16 Feb 2018 21:00:39 +0100 From: Nicolas Goaziou To: Leo Famulari Subject: Re: [bug#30443] [PATCH] Add colobot In-Reply-To: <20180214025853.GA2349@jasmine.lan> (Leo Famulari's message of "Tue, 13 Feb 2018 21:58:54 -0500") References: <873725vgpl.fsf@nicolasgoaziou.fr> <20180213194828.GB1536@jasmine.lan> <874lmk1svb.fsf@nicolasgoaziou.fr> <20180214025853.GA2349@jasmine.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Fri, 16 Feb 2018 21:00:39 +0100 Message-ID: <87r2pkhfh4.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30443-done Cc: 30443-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: -0.7 (/) Hello, Leo Famulari writes: > The comment is confusing, but your reply to my question is not :) > > So, I recommend either rewriting the comment or leaving it out. I eventually left it out. I also used `sdl-union', just to be on the safe side. Thank you for the review. Regards, -- Nicolas Goaziou 0x80A93738 ------------=_1518811262-17326-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Feb 2018 01:09:17 +0000 Received: from localhost ([127.0.0.1]:40278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elP5r-0003e6-BM for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:09:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elP5p-0003dt-QD for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:09:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elP5i-0000TQ-Rz for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:09:04 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elP5i-0000T0-NP for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:09:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elP5h-0003qr-8T for guix-patches@gnu.org; Mon, 12 Feb 2018 20:09:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elP5d-0000I5-EL for guix-patches@gnu.org; Mon, 12 Feb 2018 20:09:01 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:48252) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elP5d-0000EL-5p for guix-patches@gnu.org; Mon, 12 Feb 2018 20:08:57 -0500 Received: from saiph (00004301a5269e39f4247da5.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301:a526:9e39:f424:7da5]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 4404DC5A44 for ; Tue, 13 Feb 2018 02:08:54 +0100 (CET) Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1elP5a-0003VK-I0 for guix-patches@gnu.org; Tue, 13 Feb 2018 02:08:54 +0100 From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] Add colobot User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Tue, 13 Feb 2018 02:08:54 +0100 Message-ID: <873725vgpl.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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.3 (----) 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: 0.7 (/) --=-=-= Content-Type: text/plain Hello, The following patch adds the educational game: Colobot (Gold Edition). Feedback welcome. Regards, -- Nicolas Goaziou 0x80A93738 --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-colobot.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add Colobot >From c924704e440118a1aeede1f237b56744967cab66 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 13 Feb 2018 01:26:27 +0100 Subject: [PATCH] gnu: Add colobot. * gnu/packages/games.scm (colobot): New variable. --- gnu/packages/games.scm | 86 ++++++++++++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 85 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 286d0feef..9c3b7cfa8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -32,7 +32,7 @@ ;;; Copyright =C2=A9 2017 Marius Bakke ;;; Copyright =C2=A9 2017 Rutger Helling ;;; Copyright =C2=A9 2017 Roel Janssen -;;; Copyright =C2=A9 2017 Nicolas Goaziou +;;; Copyright =C2=A9 2017, 2018 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -5549,3 +5549,87 @@ hacking the gamification of contribution graphs on p= latforms such as Github or Gitlab.") (home-page "https://github.com/umayr/badass") (license license:expat)))) + +(define-public colobot + (package + (name "colobot") + (version "0.1.11-alpha") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/colobot/colobot/archive/" + "colobot-gold-" version ".tar.gz")) + (sha256 + (base32 + "160rq9fp5vd0qaqr3jvzvzrcxk9cac532y8vx4cvq0a8hgylrbad")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;no test + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-data + (lambda* (#:key inputs #:allow-other-keys) + (let ((data (assoc-ref inputs "colobot-data"))) + (invoke "tar" "-xvf" data "-Cdata" "--strip-components=3D1") + #t))) + (add-after 'unpack-data 'install-music + (lambda* (#:key inputs #:allow-other-keys) + ;; Installation process tries to download music files using + ;; "wget" if not already present. Since we are going to inst= all + ;; them, skip "wget" command check. + (substitute* "data/music/CMakeLists.txt" + (("find_program\\(WGET wget\\)") "")) + ;; Effectively install music. + (let ((data (assoc-ref inputs "colobot-music"))) + (invoke "tar" "-xvf" data "-Cdata/music") + #t))) + (add-after 'install 'fix-install-directory + ;; Move binary from "games/" to "bin/". + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (rename-file (string-append out "/games") + (string-append out "/bin")) + #t)))))) + (native-inputs + `(("colobot-data" + ,(origin + (method url-fetch) + (uri (string-append + "https://github.com/colobot/colobot-data/archive/" + "colobot-gold-" version ".tar.gz")) + (sha256 + (base32 + "1pdpsyr41g7xmk03k2g76l214f53ahk04qnkzmsv1fdbbaq7p109")))) + ("colobot-music" + ,(origin + (method url-fetch) + ;; Music also exists in FLAC, with a cost of 230Mo. It can lat= er + ;; be converted using "oggenc" for a better sound quality. + (uri (string-append "https://colobot.info/files/music/" + "colobot-music_ogg_" version ".tar.gz")) + (sha256 + (base32 + "1s86cd36rwkff329mb1ay1wi5qqyi35564ppgr3f4qqz9wj9vs2m")))) + ("gettext" ,gettext-minimal) + ("librsvg" ,librsvg) + ("po4a" ,po4a) + ("python" ,python-wrapper))) + (inputs + `(("boost" ,boost) + ("glew" ,glew) + ("libogg" ,libogg) + ("libpng" ,libpng) + ("libsndfile" ,libsndfile) + ("libvorbis" ,libvorbis) + ("openal" ,openal) + ("physfs" ,physfs) + ("sdl2" ,sdl2) + ("sdl2-image", sdl2-image) + ("sdl2-ttf" ,sdl2-ttf))) + (synopsis "Educational programming strategy game") + (description "Colobot: Gold Edition is a real-time strategy game, where +you can program your units (bots) in a language called CBOT, which is simi= lar +to C++ and Java. Your mission is to find a new planet to live and survive. +You can save the humanity and get programming skills!") + (home-page "https://colobot.info") + (license license:gpl3+))) --=20 2.16.1 --=-=-=-- ------------=_1518811262-17326-1--