mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-07 03:58:41 +08:00
Improve many more demo recipes
This commit is contained in:
parent
aaed7c3995
commit
616c16edaa
@ -1,8 +1,10 @@
|
|||||||
#TODO glutin crate error
|
#TODO glutin crate error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/alexheretic/gfx-shader-watch"
|
git = "https://github.com/alexheretic/gfx-shader-watch"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples watch-shaders
|
cookbook_cargo_examples watch-shaders
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
#TODO require rustc 1.81
|
#TODO not compiled or tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/ggez/ggez"
|
git = "https://github.com/ggez/ggez"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_examples 02_hello_world 04_snake cube hello_canvas input_test shader shadows sounds text vertex_shader
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo_examples 02_hello_world 04_snake cube \
|
||||||
|
hello_canvas input_test shader shadows sounds text vertex_shader
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
#TODO update the mio crate version (after cargo update)
|
#TODO update the mio crate version (after cargo update)
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/adamsky/globe"
|
git = "https://github.com/adamsky/globe"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_packages globe-cli
|
cookbook_cargo_packages globe-cli
|
||||||
mv "${COOKBOOK_STAGE}/usr/bin/globe" "${COOKBOOK_STAGE}/usr/bin/globe-rs"
|
mv "${COOKBOOK_STAGE}/usr/bin/globe" "${COOKBOOK_STAGE}/usr/bin/globe-rs"
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO hot-lib-reloader crate error
|
#TODO hot-lib-reloader crate error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/polymonster/hotline"
|
git = "https://github.com/polymonster/hotline"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples triangle
|
cookbook_cargo_examples triangle
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
#TODO require rustc 1.80.1
|
#TODO not compiled or tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/dcampbell24/iced_7guis"
|
git = "https://github.com/dcampbell24/iced_7guis"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "cargo"
|
template = "cargo"
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO require the "smol" feature flag
|
#TODO require the "smol" feature flag
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/mxinden/if-watch"
|
git = "https://github.com/mxinden/if-watch"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_examples if_watch
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo --example if_watch -F smol
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,6 +1,10 @@
|
|||||||
#TODO build sdl2 opengl examples, see: https://github.com/ocornut/imgui/pull/3027
|
#TODO not compiled or tested
|
||||||
|
#TODO discover minimum dependencies from cmake log
|
||||||
|
# pull request: https://github.com/ocornut/imgui/pull/3027
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/Qix-/imgui"
|
git = "https://github.com/Qix-/imgui"
|
||||||
branch = "cmake"
|
branch = "cmake"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "cmake"
|
template = "cmake"
|
||||||
|
#dependencies = ["sdl2"]
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
#TODO not compiled or tested
|
#TODO not compiled or tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/ccbrown/iocraft"
|
git = "https://github.com/ccbrown/iocraft"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples borders calculator counter \
|
cookbook_cargo_examples borders calculator counter \
|
||||||
fullscreen hello_world overlap progress_bar scrolling \
|
fullscreen hello_world overlap progress_bar scrolling \
|
||||||
table use_input use_output weather
|
table use_input use_output weather
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
#TODO ahash crate error
|
#TODO ahash crate error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/tesselode/kira-examples"
|
git = "https://github.com/tesselode/kira-examples"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_packages dynamic-music ghost-noise metronome score-counter spatial-audio simple-sound-playback
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo_packages dynamic-music ghost-noise metronome \
|
||||||
|
score-counter spatial-audio simple-sound-playback
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,12 @@
|
|||||||
#TODO winit crate error (even after cargo update)
|
#TODO winit crate error (even after cargo update)
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/sebcrozet/kiss3d"
|
git = "https://github.com/sebcrozet/kiss3d"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_examples camera cube lines multi_windows planar_lines points post_processing primitives primitives2d procedural rectangle screenshot stereo text texturing ui window
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo_examples camera cube lines multi_windows planar_lines \
|
||||||
|
points post_processing primitives primitives2d procedural rectangle \
|
||||||
|
screenshot stereo text texturing ui window
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
#TODO winit crate error (after cargo update)
|
#TODO winit crate error (after cargo update)
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/BirdbrainEngineer/lenia"
|
git = "https://github.com/BirdbrainEngineer/lenia"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "cargo"
|
template = "cargo"
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
#TODO compiled but not tested
|
#TODO compiled but not tested
|
||||||
#TODO fix the packaging
|
|
||||||
#TODO move to the "graphics" category
|
#TODO move to the "graphics" category
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/nical/lyon"
|
git = "https://github.com/nical/lyon"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_packages lyon_cli wgpu-example svg-rendering-example
|
cookbook_cargo_packages lyon_cli wgpu-example svg-rendering-example
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
#TODO compiled but not tested
|
#TODO compiled but not tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/not-fl3/macroquad"
|
git = "https://github.com/not-fl3/macroquad"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_examples 3d basic_shapes camera first_person particles_example platformer shadertoy snake text ui
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo_examples 3d basic_shapes camera first_person \
|
||||||
|
particles_example platformer shadertoy snake text ui
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO compiled but not tested
|
#TODO compiled but not tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/baad-c0de/mage-core"
|
git = "https://github.com/baad-c0de/mage-core"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples basic hello
|
cookbook_cargo_examples basic hello
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -2,12 +2,14 @@
|
|||||||
#TODO maybe need a patch to use the sdl2 dependency from redox
|
#TODO maybe need a patch to use the sdl2 dependency from redox
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/j-g00da/mousefood"
|
git = "https://github.com/j-g00da/mousefood"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"sdl2",
|
"sdl2",
|
||||||
]
|
]
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
recipe="$(basename "${COOKBOOK_RECIPE}")"
|
recipe="$(basename "${COOKBOOK_RECIPE}")"
|
||||||
for example in simulator
|
for example in simulator
|
||||||
do
|
do
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
#TODO not compiled or tested
|
#TODO not compiled or tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/Vaishnav-Sabari-Girish/nibble"
|
git = "https://github.com/Vaishnav-Sabari-Girish/nibble"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "cargo"
|
template = "cargo"
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
#TODO environment leak on CMake
|
#TODO environment leak on CMake
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/Nazariglez/notan"
|
git = "https://github.com/Nazariglez/notan"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples renderer_cube draw_path_flower \
|
cookbook_cargo_examples renderer_cube draw_path_flower \
|
||||||
game_pong game_of_life
|
game_pong game_of_life
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO jemalloc-sys crate error
|
#TODO jemalloc-sys crate error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/cloudflare/pingora"
|
git = "https://github.com/cloudflare/pingora"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples server client
|
cookbook_cargo_examples server client
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO libmalloc-sys crate error
|
#TODO libmalloc-sys crate error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/lhvy/pipes-rs"
|
git = "https://github.com/lhvy/pipes-rs"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_packages pipes-rs
|
cookbook_cargo_packages pipes-rs
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
#TODO glutin crate error
|
#TODO glutin crate error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/pistondevelopers/piston-examples"
|
git = "https://github.com/pistondevelopers/piston-examples"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_examples cube hello_world image multi_window shapes snake sprite
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo_examples cube hello_world image multi_window \
|
||||||
|
shapes snake sprite
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
#TODO not compiled or tested
|
#TODO not compiled or tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/lukexor/pix-engine"
|
git = "https://github.com/lukexor/pix-engine"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
@ -11,5 +12,8 @@ dependencies = [
|
|||||||
"sdl-gfx",
|
"sdl-gfx",
|
||||||
]
|
]
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_examples maze 2d_raycasting 3d_raycasting asteroids colors fluid_simulation gui hello_world image light matrix shapes textures tree windows
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo_examples maze 2d_raycasting 3d_raycasting \
|
||||||
|
asteroids colors fluid_simulation gui hello_world image \
|
||||||
|
light matrix shapes textures tree windows
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
#TODO webbrowser crate error
|
#TODO webbrowser crate error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/parasyte/pixels"
|
git = "https://github.com/parasyte/pixels"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_packages conway invaders minimal-egui minimal-winit tiny-skia-winit
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo_packages conway invaders minimal-egui \
|
||||||
|
minimal-winit tiny-skia-winit
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO compilation error
|
#TODO compilation error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/saschagrunert/rain"
|
git = "https://github.com/saschagrunert/rain"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples demo
|
cookbook_cargo_examples demo
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
#TODO x11rb, rustix and webbrowser crates error
|
#TODO x11rb, rustix and webbrowser crates error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/dimforge/rapier"
|
git = "https://github.com/dimforge/rapier"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_packages rapier-examples-2d rapier-examples-3d \
|
cookbook_cargo_packages rapier-examples-2d rapier-examples-3d \
|
||||||
rapier-examples-3d-f64
|
rapier-examples-3d-f64
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
#TODO compiled but not tested
|
#TODO compiled but not tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/orhun/ratzilla"
|
git = "https://github.com/orhun/ratzilla"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
recipe="$(basename "${COOKBOOK_RECIPE}")"
|
recipe="$(basename "${COOKBOOK_RECIPE}")"
|
||||||
function build_from_dir {
|
function build_from_dir {
|
||||||
prog_name=$1
|
prog_name=$1
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO webbrowser crate error
|
#TODO webbrowser crate error
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/BVE-Reborn/rend3"
|
git = "https://github.com/BVE-Reborn/rend3"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_packages rend3-examples-package
|
cookbook_cargo_packages rend3-examples-package
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO compiled but not tested
|
#TODO compiled but not tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/schell/renderling"
|
git = "https://github.com/schell/renderling"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_packages example
|
cookbook_cargo_packages example
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
#TODO not compiled or tested
|
#TODO not compiled or tested
|
||||||
# the protobuf compiler needs to be installed
|
# require protobuf
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/BeechatNetworkSystemsLtd/Reticulum-rs"
|
git = "https://github.com/BeechatNetworkSystemsLtd/Reticulum-rs"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples tcp_client kaonic_client
|
cookbook_cargo_examples tcp_client kaonic_client
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
#TODO compiled but not tested
|
#TODO compiled but not tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/MeadowlarkDAW/rootvg"
|
git = "https://github.com/MeadowlarkDAW/rootvg"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_examples demo
|
cookbook_cargo_examples demo
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -1,8 +1,12 @@
|
|||||||
#TODO compiled but not tested
|
#TODO compiled but not tested
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/ekzhang/rpt"
|
git = "https://github.com/ekzhang/rpt"
|
||||||
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cookbook_cargo_examples basic cylinder fractal_spheres fractal_teapots glass marbles metal rustacean sphere spheres teapot
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo_examples basic cylinder fractal_spheres \
|
||||||
|
fractal_teapots glass marbles metal rustacean sphere \
|
||||||
|
spheres teapot
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user