From: Vitaliy Shatrov via Guix-patches via <guix-patches@gnu.org>
To: "40495@debbugs.gnu.org" <40495@debbugs.gnu.org>
Subject: [bug#40495] update
Date: Sun, 12 Apr 2020 04:10:49 +0000 [thread overview]
Message-ID: <BW8sagR6kOM_CyTwBeVmzOXrfi8LkboaHPEfcAnFRkLXZK4t2QegueiFr0mqQ1dY7wm1Blk8X65fSkimdUByl-mO1ZfJgMuMdblNyAcdy60=@protonmail.com> (raw)
In-Reply-To: <jZkvxKPG3fdbqhUupvY_Q8AqB9plnxUshnYZxzubWH1q3jMfdBbErjtrCb3wMAZI8wQI2-voDbET4rcZc4jlfreWlYzbpLkAquavgn1rq0E=@protonmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 923 bytes --]
### taisei ###
>>> 'release' or 'developer'?
IDK how valuable those diagnostics is, but during testing found the 'developer' mode cheat-keys to easy to hit. Changed to 'release'.
>>> (synopsis "Shoot'em up game set in a world full of Japanese folklore")
I know nothing about Japan (seen this variant too). Changed to "Shoot'em up fangame and libre clone of Touhou Project"..?
>>> comments in '(license'
done
### spirv-cross ###
>>> remove '(string-append' from '(commit'
done
>>> tests fail, more info
nckx may know (idk, sorry): http://logs.guix.gnu.org/guix/2020-04-11.log#172304
("-cross yet have a multiple failures").
>>> (substitute*
Why: 'fix-tests-to-find-deps, i can't fix tests myself, thought i'm prepare the ground.
'(string-append' is to stay < 80 cols.
>>> (native-inputs, (inputs order
seems done
>>> drop 'note:', \"
done
________
Sent with [ProtonMail](https://protonmail.com) Secure Email.
[-- Attachment #1.2: Type: text/html, Size: 1725 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-taisei-and-spirv-cross.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-taisei-and-spirv-cross.patch", Size: 5308 bytes --]
From 0440101d84decf1e8cb21904dbf4258dcf12335b Mon Sep 17 00:00:00 2001
From: Vitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com>
Date: Sun, 12 Apr 2020 11:08:30 +0700
Subject: [PATCH] gnu: Add taisei, and spirv-cross
* gnu/packages/games.scm (taisei): new variable
* gnu/packages/vulkan.scm (spirv-cross): new variable
---
gnu/packages/games.scm | 54 +++++++++++++++++++++++++++++++++++++++++
gnu/packages/vulkan.scm | 48 ++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 31e1936795..82b47d4643 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10534,3 +10534,57 @@ and shovers to get to the goal. Race against the clock to collect coins to
earn extra balls. Also included is Neverputt, which is a 3D miniature golf
game.") ;thanks to Debian for description
(license license:gpl2+))))
+
+(define-public taisei
+ (package
+ (name "taisei")
+ (version "1.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/taisei-project/"
+ "taisei/releases/download/v" version
+ "/taisei-v" version ".tar.xz"))
+ (sha256
+ (base32
+ "11f9mlqmzy1lszwcc1nsbar9q1hs4ml6pbm52hqfd4q0f4x3ln46"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:build-type "release" ;comment out for bug-reporting (and cheats)
+ #:configure-flags
+ (list "-Dr_default=gles30"
+ "-Dr_gles20=true"
+ "-Dr_gles30=true"
+ "-Dshader_transpiler=true")))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("python" ,python)
+ ("python-docutils" ,python-docutils)
+ ("python-pygments" ,python-pygments)))
+ (inputs
+ `(("freetype" ,freetype)
+ ("libpng" ,libpng)
+ ("libwebp" ,libwebp)
+ ("libzip" ,libzip)
+ ("mesa" ,mesa)
+ ("openssl" ,openssl)
+ ("opusfile" ,opusfile)
+ ("sdl2" ,sdl2)
+ ("sdl2-mixer" ,sdl2-mixer)
+ ("shaderc" ,shaderc)
+ ("spirv-cross" ,spirv-cross)
+ ("zlib" ,zlib)))
+ (home-page "https://taisei-project.org/")
+ (synopsis "Shoot'em up fangame and libre clone of Touhou Project")
+ (description
+ "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 ;;game
+ license:expat
+ ;;resources/00-taisei.pkgdir/bgm/
+ ;;atlas/portraits/
+ license:cc-by4.0
+ ;;miscellaneous
+ license:cc0
+ license:public-domain))))
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 6a2c219aac..f8ab357349 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -107,6 +107,54 @@ SPIR-V modules. The project includes an assembler, binary module
parser,disassembler, validator, and optimizer for SPIR-V.")
(license license:asl2.0)))
+(define-public spirv-cross
+ (package
+ (name "spirv-cross")
+ (version "2020-04-03")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KhronosGroup/SPIRV-Cross")
+ (commit version)))
+ (sha256
+ (base32
+ "0489s29kqgq20clxqg22y299yxz23p0yjh87yhka705hm9skx4sa"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ;FIXME: Tests fail.
+ #: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"))
+ (string-append "PATHS "
+ (assoc-ref inputs "glslang") "/bin")))
+ (substitute* "CMakeLists.txt"
+ (((string-append "PATHS "
+ "\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}"
+ "/external/spirv-tools-build/output/bin"))
+ (string-append "PATHS "
+ (assoc-ref inputs "spirv-tools") "/bin")))
+ #t)))))
+ (native-inputs `(("glslang" ,glslang)
+ ("python" ,python)
+ ("spirv-headers" ,spirv-headers)
+ ("spirv-tools" ,spirv-tools)))
+ (home-page "https://github.com/KhronosGroup/SPIRV-Cross")
+ (synopsis "Parser for and converter of SPIR-V to other shader languages")
+ (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.")
+ (license license:asl2.0)))
+
(define-public glslang
(package
(name "glslang")
--
2.26.0
next prev parent reply other threads:[~2020-04-12 4:12 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
2020-04-12 4:10 ` Vitaliy Shatrov via Guix-patches via [this message]
2020-06-30 15:27 ` [bug#40495] update 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='BW8sagR6kOM_CyTwBeVmzOXrfi8LkboaHPEfcAnFRkLXZK4t2QegueiFr0mqQ1dY7wm1Blk8X65fSkimdUByl-mO1ZfJgMuMdblNyAcdy60=@protonmail.com' \
--to=guix-patches@gnu.org \
--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).