From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kIiFFhMyQWc+aAEAe85BDQ:P1 (envelope-from ) for ; Sat, 23 Nov 2024 01:38:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kIiFFhMyQWc+aAEAe85BDQ (envelope-from ) for ; Sat, 23 Nov 2024 02:38:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Zm7RgfJT; dkim=fail ("headers rsa verify failed") header.d=noisytoot.org header.s=20210810-rsa header.b="V3/f2uwt"; dkim=fail ("headers eddsa verify failed") header.d=noisytoot.org header.s=20210810-ed25519 header.b=2DwCFuoE; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732325907; a=rsa-sha256; cv=none; b=TVi1+P4I7DJXKplqbAEHPXPRiaTeDgbKG6ust0E5zfBtJcUMQr1VrZM7RJrlWQzfF5pCl+ JY6sistmR/t8lQ5dtHCj9EjEarC/dGzZGsjREmb5xPXY6X7ICcdmgp8o+LxcMAIGv7Xgqo pUVrqm0InmA26VLixJj9dd/RmRcLK7NCZ2Q3bAs+/ukaL4VmaUlqs3i1g9HfT8+RL0ydqE dmhKiioiB+EXDKdBGeIPNupS22FikQi7muaeEnCfxKAh7XGGuvGBq3vTxUL/uzHTD4vmiV ywF8WOjSQTr5/b5/OxjrR2cguQ3BTvNJCqKZ+LQXspZX+ZPS/t9ZUGmEczhqdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Zm7RgfJT; dkim=fail ("headers rsa verify failed") header.d=noisytoot.org header.s=20210810-rsa header.b="V3/f2uwt"; dkim=fail ("headers eddsa verify failed") header.d=noisytoot.org header.s=20210810-ed25519 header.b=2DwCFuoE; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732325907; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gwEx7MFypOlZ+qiU2cSmvMOtdpT01OSzkKUf395uDVk=; b=VjpeSMiuixpgGsUTwq3dIiBpoLuvmIgomlshmQyu8eqwGyyajGbL3z0y1//semyX7bw4ay gTKIQaBXStY8pxNhZgTz5bfVzx8rsHP2ZsAZ76dmNx1AG7mDRtVIu136cX5NO8/XtC2nlJ cj/2AxlthOORq9rdZHAw8Dk9gSkZiQOPnbQDSIvnLW9IDctJy3LmSQBsV4r645xA9kyOpd ruqClPVDlRHw4P6Hr6Qi730bsqJITZQfMrg+su+oUdnAyHTpIUDmEV/FFBrHHWcSFn4e4v 3J4atOVlMk3pL4s0cApr0LaL5FmAgY6iEwY/9kMahk8av+Hs5Di8xxzDH3bjUg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8513F74BCE for ; Sat, 23 Nov 2024 02:38:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEf65-0000Qs-7S; Fri, 22 Nov 2024 20:38:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEf63-0000QG-B9 for guix-patches@gnu.org; Fri, 22 Nov 2024 20:38:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEf63-0008V4-3B for guix-patches@gnu.org; Fri, 22 Nov 2024 20:38:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=gwEx7MFypOlZ+qiU2cSmvMOtdpT01OSzkKUf395uDVk=; b=Zm7RgfJTEey9ZpQDkU43rhEmgUDjVu5L0Vg+9E22Okm9ocdrVlSVIunO0OIWP5YZHST8pz1gpiT35rNFi/H1XnwDcCf8B718L7SplBQ+npjF/inIn2X/2Xknha/U5gWcxTb/JocKJDCvMx7iyab9heBaNE/p5G6v9HNJIMSi54TOXRgT68zl0ZiY10/D55RfkOFtrL58cSx85n/ghxFoMh1+dpC+5TMl6qh35tf3w2bfBTvdNLgDNJ73Bwf+uGwO9mDv4BLskO+ODK2kKCAPnVFHYjs52SgqTm/xHKneR8bxlNCZcSSDwPjSA1kbn7H3YZWQi9Mvbk6XQdPRdkz7JA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEf62-0006Oo-VR for guix-patches@gnu.org; Fri, 22 Nov 2024 20:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74487] [PATCH] gnu: Add the-powder-toy. Resent-From: Ron Nazarov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Nov 2024 01:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74487 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74487@debbugs.gnu.org Cc: Ron Nazarov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173232586524544 (code B ref -1); Sat, 23 Nov 2024 01:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2024 01:37:45 +0000 Received: from localhost ([127.0.0.1]:56126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEf5j-0006Ng-JG for submit@debbugs.gnu.org; Fri, 22 Nov 2024 20:37:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:39398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEcdQ-0006po-VY for submit@debbugs.gnu.org; Fri, 22 Nov 2024 18:00:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEcdQ-0006G3-EM for guix-patches@gnu.org; Fri, 22 Nov 2024 18:00:20 -0500 Received: from mail.noisytoot.org ([198.244.238.61]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEcdO-0004bk-4M for guix-patches@gnu.org; Fri, 22 Nov 2024 18:00:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noisytoot.org; s=20210810-rsa; t=1732316413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gwEx7MFypOlZ+qiU2cSmvMOtdpT01OSzkKUf395uDVk=; b=V3/f2uwt6e7kBEv17+BnIHu7JXZFMz9a7iKoYf+ickUq0Zb9XM+j01NYL4fLE8sitvZdCz JSvXljH/RdIsSYmORnRlKTwP5N+07dQPX91LLmkCPctUVuhO/vm6WK56q5oQORNR0n/TPl IFucVgepD7WPWD00kYIUS3uyAGEZX6+gxzS18RCZ1PrvaqsnELHWzW+LGmKZHCvvdP+YAD toAnxYxy3e3kJBDbP8e92XJ+wV51kHpT+QCb0Xv0YA2TJVdogYafYxmM7FEG0vekCf0694 ak6hAKRu+9Eg6CxLsoogYhA/SG9n3fkmOzbTNpSldP0fqMl6hJpAXP8oG8LgIw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=noisytoot.org; s=20210810-ed25519; t=1732316413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gwEx7MFypOlZ+qiU2cSmvMOtdpT01OSzkKUf395uDVk=; b=2DwCFuoEZjTBowFsntLEyM8kiCcb4K8atESvCYsFERDpxoIG2ylKk7/saytArfcE3jXd24 nhPXPplNlANtlTBg== Received: by mail.noisytoot.org (OpenSMTPD) with ESMTPSA id a7a49176 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 22 Nov 2024 23:00:13 +0000 (UTC) Date: Fri, 22 Nov 2024 23:00:01 +0000 Message-ID: <20241122230003.16577-1-ron@noisytoot.org> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.244.238.61; envelope-from=ron@noisytoot.org; helo=mail.noisytoot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 22 Nov 2024 20:37:41 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ron Nazarov X-ACL-Warn: , Ron Nazarov via Guix-patches From: Ron Nazarov via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.03 X-Spam-Score: 1.03 X-Migadu-Queue-Id: 8513F74BCE X-Migadu-Scanner: mx10.migadu.com X-TUID: OD3GCA9q5aQG * gnu/packages/games.scm (the-powder-toy): New variable. Change-Id: I140d21cab40a522a5079de51980874dae93b4304 --- gnu/packages/games.scm | 71 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 39e3b6dc0b..686a1e48e7 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -63,7 +63,7 @@ ;;; Copyright © 2021, 2024 David Pflug ;;; Copyright © 2021, 2022 Felix Gruber ;;; Copyright © 2021 Solene Rapenne -;;; Copyright © 2021, 2022 Noisytoot +;;; Copyright © 2021, 2022, 2024 Noisytoot ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021, 2022 Brendan Tildesley ;;; Copyright © 2021 Christopher Baines @@ -8163,6 +8163,75 @@ (define-public the-butterfly-effect (license (list license:gpl2 license:public-domain license:expat license:cc-by-sa3.0 license:gpl3+ license:wtfpl2)))) +(define-public the-powder-toy + (package + (name "the-powder-toy") + (version "98.2.365") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/The-Powder-Toy/The-Powder-Toy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06l39w3ggrzn8799dqll606by4f88kjr60r879w8j26csx1py76g")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags (list (string-append + "-Dworkaround_elusive_bzip2_include_dir=" + (assoc-ref %build-inputs "bzip2"))) + ;; No install target + #:phases (modify-phases %standard-phases + (replace 'install + (lambda _ + (let* ((output (assoc-ref %outputs "out")) + (bin (string-append output "/bin")) + (share (string-append output "/share")) + (apps (string-append share "/applications"))) + (mkdir-p bin) + (mkdir-p apps) + (install-file "powder" bin) + (install-file "resources/powder.desktop" apps) + (for-each (lambda (size) + (let ((dir (string-append share + "/icons/hicolor/" + size + "x" + size + "/apps"))) + (mkdir-p dir) + (copy-file (string-append (assoc-ref + %build-inputs + "source") + "/resources/generated_icons/icon_exe_" + size ".png") + (string-append dir + "/powdertoy-powder.png")))) + '("16" "32" "48")))))))) + (native-inputs (list pkg-config)) + (inputs (list luajit + jsoncpp + libpng + zlib + fftwf + bzip2 + curl + sdl2)) + (synopsis "Free physics sandbox game") + (description + "The Powder Toy is a free physics sandbox game, which simulates air +pressure and velocity, heat, gravity and a countless number of interactions +between different substances! The game provides you with various building +materials, liquids, gases and electronic components which can be used to +construct complex machines, guns, bombs, realistic terrains and almost +anything else. You can then mine them and watch cool explosions, add +intricate wirings, play with little stickmen or operate your machine.") + (home-page "https://powdertoy.co.uk/") + ;; The few files that have a license header specify GPLv3+, but most don't + ;; and it's not otherwise specified anywhere. + (license license:gpl3))) + (define-public pioneer (package (name "pioneer") -- 2.46.0