From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: 40495@debbugs.gnu.org
Cc: D0dyBo0D0dyBo0@protonmail.com
Subject: [bug#40495] v3-- fixed indentation
Date: Sat, 11 Apr 2020 22:23:30 +0200 [thread overview]
Message-ID: <875ze53h6l.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <YzYUluYRyjbN7XNaC6-XZa4G5dFix4yxWu6KjaUEQjjNgml0MH2u76bo_E_O8Ld48PadLcQm6eFOvS_0Ud2YSI-DE6gs8rxd4UBn2-puk6Q=@protonmail.com> (Vitaliy Shatrov via Guix-patches via's message of "Sat, 11 Apr 2020 12:29:10 +0000")
Hello,
Vitaliy Shatrov via Guix-patches via <guix-patches@gnu.org> writes:
> Subject: [PATCH] gnu: Add taisei, and spirv-cross
>
> * gnu/packages/games.scm (taisei): new variable
> * gnu/packages/vulkan.scm (spirv-cross): new variable
It works nicely, thank you.
> + `(;;configure option developer=true enables the diagnostics
> + ;;needed for bug reports. it is 'true' if not "release"
> + ;;#:build-type "release"
So, what do you suggest here? Use release or developer build?
> + (synopsis "Fangame and libre clone of Touhou Project")
I would suggest something like
Shoot'em up game set in a world full of Japanese folklore
> + (description
> + "Taisei is a shoot-em-up game: The player controls a character (one of
> +three: Good, Bad, and Dead), dodges the missiles (lots of it cover the screen,
> +but the character's hitbox is very small), and shoot at the adversaries that
> +keep appear on the screen.")
> + (license (list license:expat ;game
> + license:cc-by4.0 ;resources/00-taisei.pkgdir/bgm/
> + ;atlas/portraits/
> + ;;miscellaneous
> + license:cc0
> + license:public-domain))))
It would be clearer to explain in a comment above the license field what
is subject to what terms.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/KhronosGroup/SPIRV-Cross")
> + (commit (string-append version))))
You can remove the `string-append' here.
> + (sha256
> + (base32
> + "0489s29kqgq20clxqg22y299yxz23p0yjh87yhka705hm9skx4sa"))
> + (file-name (git-file-name name version))))
> + (build-system cmake-build-system)
> + (arguments
> + `(#:tests? #f ;FIXME: Tests fail.
IMO, this is not a blocker. However, if you have more information than
"Tests fail", it would be nice to add it in a comment.
> + #:configure-flags
> + (list "-DSPIRV_CROSS_SHARED=YES")
> + #:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'fix-tests-to-find-deps
> + (lambda* (#:key inputs #:allow-other-keys)
> + (substitute* "CMakeLists.txt"
> + (((string-append "PATHS "
> + "\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}"
> + "/external/glslang-build/output/bin"))
Why do you need this? What about simply writing the full string without
`string-append'?
> + (substitute* "CMakeLists.txt"
> + (((string-append "PATHS "
> + "\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}"
> + "/external/spirv-tools-build/output/bin"))
Ditto.
> + (native-inputs `(("glslang" ,glslang)
> + ("python" ,python)
> + ("spirv-headers" ,spirv-headers)
> + ("spirv-tools" ,spirv-tools)))
Nitpick: I would move the inputs below the `native-inputs' line.
> + (description
> + "SPIRV-Cross tries hard to emit readable and clean output from the
> +SPIR-V. The goal is to emit GLSL or MSL that looks like it was written by a
> +human and not awkward IR/assembly-like code. NOTE: Individual features are
You can drop the "NOTE:" prefix.
Actually, I think you can drop everything after "NOTE:". Is it useful
information for someone looking at the package?
> +expected to be mostly complete, but it is possible that certain obscure GLSL
> +features are not yet supported. However, most missing features are expected
> +to be \"trivial\" improvements at this stage.")
If you disagree with my suggestion, you need to remove these double
quotes. Texinfo uses ``trivial'', but you could also write
@emph{trivial}.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2020-04-11 20:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 19:52 [bug#40495] [PATCH] Add taisei, and spirv-cross Vitaliy Shatrov via Guix-patches via
2020-04-08 6:54 ` Vitaliy Shatrov via Guix-patches via
2020-04-10 17:13 ` Nicolas Goaziou
2020-04-11 7:31 ` [bug#40495] Update Vitaliy Shatrov via Guix-patches via
2020-04-11 11:11 ` [bug#40495] v2, spirv tests steel fail Vitaliy Shatrov via Guix-patches via
2020-04-11 12:29 ` [bug#40495] v3-- fixed indentation Vitaliy Shatrov via Guix-patches via
2020-04-11 20:23 ` Nicolas Goaziou [this message]
2020-04-12 4:10 ` [bug#40495] update Vitaliy Shatrov via Guix-patches via
2020-06-30 15:27 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875ze53h6l.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=40495@debbugs.gnu.org \
--cc=D0dyBo0D0dyBo0@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).