GNU bug report logs -
#74487
[PATCH] gnu: Add the-powder-toy.
Previous Next
Reported by: Ron Nazarov <ron <at> noisytoot.org>
Date: Sat, 23 Nov 2024 01:38:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74487 in the body.
You can then email your comments to 74487 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#74487
; Package
guix-patches
.
(Sat, 23 Nov 2024 01:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ron Nazarov <ron <at> noisytoot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 23 Nov 2024 01:38:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 <david <at> pflug.io>
;;; Copyright © 2021, 2022 Felix Gruber <felgru <at> posteo.net>
;;; Copyright © 2021 Solene Rapenne <solene <at> perso.pw>
-;;; Copyright © 2021, 2022 Noisytoot <ron <at> noisytoot.org>
+;;; Copyright © 2021, 2022, 2024 Noisytoot <ron <at> noisytoot.org>
;;; Copyright © 2021 Petr Hodina <phodina <at> protonmail.com>
;;; Copyright © 2021, 2022 Brendan Tildesley <mail <at> brendan.scot>
;;; Copyright © 2021 Christopher Baines <mail <at> cbaines.net>
@@ -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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74487
; Package
guix-patches
.
(Sat, 23 Nov 2024 18:21:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 74487 <at> debbugs.gnu.org (full text, mbox):
Thanks for the patch! It works well on my end :)
Make sure to end your code comments with dots. Also IIRC quasiquotes in arguments should be replaced with the new g-exp style.
Items marked as checked: Lint warnings, Package builds, Commit messages, New package licenses, New package tests
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Tue, 26 Nov 2024 09:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ron Nazarov <ron <at> noisytoot.org>
:
bug acknowledged by developer.
(Tue, 26 Nov 2024 09:18:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 74487-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks for the patch. I followed up with a second patch adding support
for building on riscv64 and powerpc64le using lua-5.2.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 24 Dec 2024 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.