From unknown Sun Jun 22 00:14:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#29836] [PATCH] Add The Butterfly Effect (tbe) Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Dec 2017 15:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 29836@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1514128300498 (code B ref -1); Sun, 24 Dec 2017 15:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Dec 2017 15:11:40 +0000 Received: from localhost ([127.0.0.1]:50781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eT7w8-00007u-K8 for submit@debbugs.gnu.org; Sun, 24 Dec 2017 10:11:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eT7w7-00007e-0K for submit@debbugs.gnu.org; Sun, 24 Dec 2017 10:11:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eT7w0-0004ty-Lr for submit@debbugs.gnu.org; Sun, 24 Dec 2017 10:11:29 -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]:34485) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eT7w0-0004tq-Hj for submit@debbugs.gnu.org; Sun, 24 Dec 2017 10:11:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eT7vz-0002M4-6E for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eT7vv-0004ly-4U for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:27 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53289) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eT7vu-0004k3-TP for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:23 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 881E1C5A49 for ; Sun, 24 Dec 2017 16:11:20 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eT7vs-0005Xz-3l for guix-patches@gnu.org; Sun, 24 Dec 2017 16:11:20 +0100 From: Nicolas Goaziou User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Sun, 24 Dec 2017 16:11:20 +0100 Message-ID: <87lghsgnzb.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.4 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) --=-=-= Content-Type: text/plain Hello, This patch adds The Butterfly Effect game. Regards, -- Nicolas Goaziou 0x80A93738 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-games-Add-tbe.patch Content-Description: Add tbe. >From e2ff716723aadd9bab7a09998d5ee65641e8d063 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 24 Dec 2017 16:09:57 +0100 Subject: [PATCH] gnu: games: Add tbe. * gnu/packages/games.scm (tbe): New variable. --- gnu/packages/games.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 981163c3d..0d9eca6c9 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5294,3 +5294,58 @@ making Yamagi Quake II one of the most solid Quake II implementations available. "file://LICENSE" "See Info-Zip section.") license:public-domain)))) ; stb + +(define-public tbe + (package + (name "tbe") + (version "0.9.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/the-butterfly-effect/tbe/archive/" + "v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18qkp7fgdvyl3haqqa693mgyic7afsznsxgz98z9wn4csaqxsnby")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + ;; There is no "install" phase. By default, tbe is installed + ;; in the build directory. Provide our own installation. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (and (system* "make" "DESTDIR=.." "install") + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share"))) + (install-file "usr/games/tbe" bin) + (mkdir-p share) + (copy-recursively "usr/share" share) + #t))))) + ;; Test suite requires a running Xorg server. Even when + ;; provided, it fails with "D-Bus library appears to be + ;; incorrectly set up; failed to read machine uuid: Failed to + ;; open "/etc/machine-id": No such file or directory" along + ;; with multiple "QPainter:: ... Painter not active" warnings. + #:tests? #f)) + (inputs + `(("gettext-minimal" ,gettext-minimal) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtxmlpatternn" ,qtxmlpatterns))) + (native-inputs + `(("cmake" ,cmake) + ("qttools" ,qttools))) + (synopsis "Realistic physics puzzle game") + (description "The Butterfly Effect (tbe) is a game that uses +realistic physics simulations to combine lots of simple mechanical +elements to achieve a simple goal in the most complex way possible.") + (home-page "http://the-butterfly-effect.org/") + ;; Main license is GPL2-only. However, artwork is distributed + ;; under various licenses, listed here. + (license (list license:gpl2 license:public-domain license:expat + license:cc-by-sa3.0 license:gpl3+ license:wtfpl2)))) -- 2.15.1 --=-=-=-- From unknown Sun Jun 22 00:14:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#29836] [PATCH] Add The Butterfly Effect (tbe) Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Dec 2017 19:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 29836@debbugs.gnu.org Received: via spool by 29836-submit@debbugs.gnu.org id=B29836.151414528227437 (code B ref 29836); Sun, 24 Dec 2017 19:55:02 +0000 Received: (at 29836) by debbugs.gnu.org; 24 Dec 2017 19:54:42 +0000 Received: from localhost ([127.0.0.1]:50951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTCM6-00078T-9g for submit@debbugs.gnu.org; Sun, 24 Dec 2017 14:54:42 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:60125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTCM4-00078L-Qz for 29836@debbugs.gnu.org; Sun, 24 Dec 2017 14:54:41 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 382A520CE1; Sun, 24 Dec 2017 14:54:40 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 24 Dec 2017 14:54:40 -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=lyVc3/gDBMP+Y9m4xaZNSYP5Amr1JrydCrCm3/hC/Vw=; b=XW0Ec yOfK3w7u1cKx9CgHFWkPPo4u1YpvYqL1qese0qYHK0k0ZFkDVS7URahVanzxNnvB PU1NUV8gTdCveV87EORFohIiuoXTapF+hT5a53n10sJFOkQzF6YwGuPq4gbckUNI ItpkWPWA1uILHXSN9Sz0Ul8LdCkH+Vg0kFuz9w= 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=lyVc3/gDBMP+Y9m4xaZNSYP5Amr1J rydCrCm3/hC/Vw=; b=CjcDhtwu196UdwTgLjvuziTsWuSF3qDTKrrsyRh/Z6R49 qIC2ij6Ax4DkxUwfqkR7rpGlE87vgV6vssFBW/5tUFdVfF6+09sOHgeZR6Mv3yD6 gRBnknZPqlUbMaYvutRj5tbYufI7YTOPmG9Sw0HFZXA+FOGU2v28gvxWF+GVOsnM JDJDJU1bZbxFfYO9BeJvreM27OkdhK9dPwraR6Wr3nl0Z5ZK4SuNm5BceDz8JIzo x0kkJNYDpc55MWtsxyUwTClJM3DXr0znEyBUdtwV9lH11oPfU6pndiogIpocIjjX 0ASoMJVumH1aVshnhDDDao/SCi50QsTefgq5Km68g== X-ME-Sender: Received: from localhost (c-76-109-243-109.hsd1.fl.comcast.net [76.109.243.109]) by mail.messagingengine.com (Postfix) with ESMTPA id DB0BF243B8; Sun, 24 Dec 2017 14:54:39 -0500 (EST) Date: Sun, 24 Dec 2017 14:54:38 -0500 From: Leo Famulari Message-ID: <20171224195438.GB5611@jasmine.lan> References: <87lghsgnzb.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr" Content-Disposition: inline In-Reply-To: <87lghsgnzb.fsf@nicolasgoaziou.fr> User-Agent: Mutt/1.9.2 (2017-12-15) 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 (/) --MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 24, 2017 at 04:11:20PM +0100, Nicolas Goaziou wrote: > Hello, >=20 > This patch adds The Butterfly Effect game. Cool! > +(define-public tbe > + (package > + (name "tbe") How about calling it the-butterfly-effect, which I think is more clear? > + (inputs > + `(("gettext-minimal" ,gettext-minimal) > + ("qtbase" ,qtbase) > + ("qtsvg" ,qtsvg) > + ("qtxmlpatternn" ,qtxmlpatterns))) > + (native-inputs > + `(("cmake" ,cmake) > + ("qttools" ,qttools))) gettext-minimal can be a native-input. qtxmlpatterns doesn't seem to be used. At least, it's not referenced by the built package: $ guix gc --references $(./pre-inst-env guix build tbe) /gnu/store/14gzwy1hyzyqnrdwcfcnpvm0wl0v7bs6-qtsvg-5.9.3 /gnu/store/3x53yv4v144c9xp02rs64z7j597kkqax-gcc-5.4.0-lib /gnu/store/jzh36z7bvwkv363xjmxsp5vvlaa7ajf0-qtbase-5.9.3 /gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25 /gnu/store/pmgb6kgwpci0iv06v0pq190048i258rm-the-butterfly-effect-0.9.3.1 --MW5yreqqjyrRcusr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpABf4ACgkQJkb6MLrK fwhZQA//fHeCyIZ4NOEuQbilhPR3+gcaL6lqj9stQqpnHDSEU3v7UwGN++DENOns w/oPURNHNKy//e+IosCWyCitK3MN1ldS7qMIGz4uU0z1pPJCyh1Mij3+FE2fq8CB lLnPWwV9O8e6zxTMgnDecO7g3rMez6isFTVKGq+PHixwGzkN69RoBqZErxpsyc75 xszl5Q0RG3h2KU71dHEdKaf9MBT02woYmCW7pAv7GXhYrlJ8RbtV/LDhIwrzq0T+ lkQOpLG71yWKQG8wvtAW2PbU26u96e8zhPa+C2Pe2DMdBHVx6O6gAuMHljApyw5D +SkAdFHL3gkHWlYYruwPtD9e1iGY1Q6TssbPDrexaS/qWwvqh/EdeV+2nYfU6r7O jmFPwn52srmRqowq3F93PdUv8ISCPdnOobOfjN9f91Mv+p+8amUpl16o889vwFIV 0o0i27ZvaFW0ZkXCKh5nS6tak/oBwNR4FkQedsxcTgaznYKZMZoSqfOxkJSElzzf 0dZNLWbXti+2YO/TTGFWN96/E2Jn1aXEdT5J3OnUAyUlY99ZxQPJrw6GsYV3GXc9 ceaRyyd/8Z9kQbVxEV+6AFEJIffyMiu2LO+qVW1lPtFXqgBi6BHMVo+jik60NeLA XQfBQslDczbux5bBuyIW0wOsHx8ZbOxYtbslqPG2WBbB8Wc0ge0= =U7PQ -----END PGP SIGNATURE----- --MW5yreqqjyrRcusr-- From unknown Sun Jun 22 00:14:09 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#29836: closed (Re: [bug#29836] [PATCH] Add The Butterfly Effect (tbe)) Message-ID: References: <87zi67g351.fsf@nicolasgoaziou.fr> <87lghsgnzb.fsf@nicolasgoaziou.fr> X-Gnu-PR-Message: they-closed 29836 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 29836@debbugs.gnu.org Date: Sun, 24 Dec 2017 22:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1514155322-11082-1" This is a multi-part message in MIME format... ------------=_1514155322-11082-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #29836: [PATCH] Add The Butterfly Effect (tbe) 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 29836@debbugs.gnu.org. --=20 29836: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29836 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1514155322-11082-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 29836-done) by debbugs.gnu.org; 24 Dec 2017 22:41:35 +0000 Received: from localhost ([127.0.0.1]:51016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTExZ-0002rs-N8 for submit@debbugs.gnu.org; Sun, 24 Dec 2017 17:41:35 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:51621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTExY-0002rl-7i for 29836-done@debbugs.gnu.org; Sun, 24 Dec 2017 17:41:32 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 05CFD172097; Sun, 24 Dec 2017 23:41:30 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eTExW-0006sf-8g; Sun, 24 Dec 2017 23:41:30 +0100 From: Nicolas Goaziou To: Leo Famulari Subject: Re: [bug#29836] [PATCH] Add The Butterfly Effect (tbe) In-Reply-To: <20171224195438.GB5611@jasmine.lan> (Leo Famulari's message of "Sun, 24 Dec 2017 14:54:38 -0500") References: <87lghsgnzb.fsf@nicolasgoaziou.fr> <20171224195438.GB5611@jasmine.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Sun, 24 Dec 2017 23:41:30 +0100 Message-ID: <87zi67g351.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29836-done Cc: 29836-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 (/) Leo Famulari writes: > How about calling it the-butterfly-effect, which I think is more > clear? Fair enough. I renamed the variable and updated the `name' field. > gettext-minimal can be a native-input. Fixed. > qtxmlpatterns doesn't seem to be used. At least, it's not referenced by > the built package: Indeed. Also fixed. I pushed the commit with the changes above and an additional fix. Thank you for the review. Regards, ------------=_1514155322-11082-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Dec 2017 15:11:40 +0000 Received: from localhost ([127.0.0.1]:50781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eT7w8-00007u-K8 for submit@debbugs.gnu.org; Sun, 24 Dec 2017 10:11:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eT7w7-00007e-0K for submit@debbugs.gnu.org; Sun, 24 Dec 2017 10:11:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eT7w0-0004ty-Lr for submit@debbugs.gnu.org; Sun, 24 Dec 2017 10:11:29 -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]:34485) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eT7w0-0004tq-Hj for submit@debbugs.gnu.org; Sun, 24 Dec 2017 10:11:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eT7vz-0002M4-6E for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eT7vv-0004ly-4U for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:27 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53289) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eT7vu-0004k3-TP for guix-patches@gnu.org; Sun, 24 Dec 2017 10:11:23 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 881E1C5A49 for ; Sun, 24 Dec 2017 16:11:20 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eT7vs-0005Xz-3l for guix-patches@gnu.org; Sun, 24 Dec 2017 16:11:20 +0100 From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] Add The Butterfly Effect (tbe) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Sun, 24 Dec 2017 16:11:20 +0100 Message-ID: <87lghsgnzb.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.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) --=-=-= Content-Type: text/plain Hello, This patch adds The Butterfly Effect game. Regards, -- Nicolas Goaziou 0x80A93738 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-games-Add-tbe.patch Content-Description: Add tbe. >From e2ff716723aadd9bab7a09998d5ee65641e8d063 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 24 Dec 2017 16:09:57 +0100 Subject: [PATCH] gnu: games: Add tbe. * gnu/packages/games.scm (tbe): New variable. --- gnu/packages/games.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 981163c3d..0d9eca6c9 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5294,3 +5294,58 @@ making Yamagi Quake II one of the most solid Quake II implementations available. "file://LICENSE" "See Info-Zip section.") license:public-domain)))) ; stb + +(define-public tbe + (package + (name "tbe") + (version "0.9.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/the-butterfly-effect/tbe/archive/" + "v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18qkp7fgdvyl3haqqa693mgyic7afsznsxgz98z9wn4csaqxsnby")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + ;; There is no "install" phase. By default, tbe is installed + ;; in the build directory. Provide our own installation. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (and (system* "make" "DESTDIR=.." "install") + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share"))) + (install-file "usr/games/tbe" bin) + (mkdir-p share) + (copy-recursively "usr/share" share) + #t))))) + ;; Test suite requires a running Xorg server. Even when + ;; provided, it fails with "D-Bus library appears to be + ;; incorrectly set up; failed to read machine uuid: Failed to + ;; open "/etc/machine-id": No such file or directory" along + ;; with multiple "QPainter:: ... Painter not active" warnings. + #:tests? #f)) + (inputs + `(("gettext-minimal" ,gettext-minimal) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtxmlpatternn" ,qtxmlpatterns))) + (native-inputs + `(("cmake" ,cmake) + ("qttools" ,qttools))) + (synopsis "Realistic physics puzzle game") + (description "The Butterfly Effect (tbe) is a game that uses +realistic physics simulations to combine lots of simple mechanical +elements to achieve a simple goal in the most complex way possible.") + (home-page "http://the-butterfly-effect.org/") + ;; Main license is GPL2-only. However, artwork is distributed + ;; under various licenses, listed here. + (license (list license:gpl2 license:public-domain license:expat + license:cc-by-sa3.0 license:gpl3+ license:wtfpl2)))) -- 2.15.1 --=-=-=-- ------------=_1514155322-11082-1--