diff --git a/recipes/wip/demos/rsille/recipe.toml b/recipes/wip/demos/rsille/recipe.toml index f2cd28e89..344a9a7e0 100644 --- a/recipes/wip/demos/rsille/recipe.toml +++ b/recipes/wip/demos/rsille/recipe.toml @@ -1,9 +1,11 @@ #TODO compiled but not tested [source] git = "https://github.com/nidhoggfgg/rsille" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples anime-mix obj-mix cube cube-colorful recipe="$(basename "${COOKBOOK_RECIPE}")" for example in imgille diff --git a/recipes/wip/demos/rui/recipe.toml b/recipes/wip/demos/rui/recipe.toml index 00c861daf..67d5fba9c 100644 --- a/recipes/wip/demos/rui/recipe.toml +++ b/recipes/wip/demos/rui/recipe.toml @@ -1,9 +1,13 @@ #TODO compiled but not tested [source] git = "https://github.com/audulus/rui" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages calculator synth -cookbook_cargo_examples action background basic canvas counter counter2 font_size gallery list menu shapes slider text_editor toggle +cookbook_cargo_examples action background basic canvas \ +counter counter2 font_size gallery list menu shapes slider \ +text_editor toggle """ diff --git a/recipes/wip/demos/ruscii/recipe.toml b/recipes/wip/demos/ruscii/recipe.toml index e47657cab..400e6012d 100644 --- a/recipes/wip/demos/ruscii/recipe.toml +++ b/recipes/wip/demos/ruscii/recipe.toml @@ -1,8 +1,10 @@ #TODO device_query crate error [source] git = "https://github.com/lemunozm/ruscii" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples pong space_invaders """ diff --git a/recipes/wip/demos/rustubble/recipe.toml b/recipes/wip/demos/rustubble/recipe.toml index 022603b18..259672c2b 100644 --- a/recipes/wip/demos/rustubble/recipe.toml +++ b/recipes/wip/demos/rustubble/recipe.toml @@ -1,8 +1,13 @@ #TODO compiled but not tested [source] git = "https://github.com/warpy-ai/rustubble" +shallow_clone = true [build] template = "custom" script = """ -cookbook_cargo_examples list_example menu_list_example progress_bar_example spinner_example stopwatch_example table_example text_area_example text_input_example timer_example viewport_example +DYNAMIC_INIT +cookbook_cargo_examples list_example menu_list_example \ +progress_bar_example spinner_example stopwatch_example \ +table_example text_area_example text_input_example \ +timer_example viewport_example """ diff --git a/recipes/wip/demos/rustui/recipe.toml b/recipes/wip/demos/rustui/recipe.toml index cda858c7b..a5b0deeae 100644 --- a/recipes/wip/demos/rustui/recipe.toml +++ b/recipes/wip/demos/rustui/recipe.toml @@ -1,9 +1,11 @@ #TODO not compiled or tested [source] git = "https://github.com/broccolingual/rustui" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples hello_world colors inputs file_reader cookbook_cargo_packages tetris """ diff --git a/recipes/wip/demos/rusty-rain/recipe.toml b/recipes/wip/demos/rusty-rain/recipe.toml index e1e799b2e..d8a47e542 100644 --- a/recipes/wip/demos/rusty-rain/recipe.toml +++ b/recipes/wip/demos/rusty-rain/recipe.toml @@ -1,5 +1,6 @@ -#TODO working but don't exit and hang the orbterm window +#TODO compiled but not tested for a long time [source] git = "https://github.com/cowboy8625/rusty-rain" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/demos/servo-gtk/recipe.toml b/recipes/wip/demos/servo-gtk/recipe.toml index c512b5467..1a32ba039 100644 --- a/recipes/wip/demos/servo-gtk/recipe.toml +++ b/recipes/wip/demos/servo-gtk/recipe.toml @@ -1,11 +1,13 @@ #TODO not compiled or tested [source] git = "https://github.com/nacho/servo-gtk" +shallow_clone = true [build] template = "custom" dependencies = [ "gtk4" ] script = """ +DYNAMIC_INIT cookbook_cargo_examples browser """ diff --git a/recipes/wip/demos/simdjson-rs/recipe.toml b/recipes/wip/demos/simdjson-rs/recipe.toml index 464baef0e..385d27fa1 100644 --- a/recipes/wip/demos/simdjson-rs/recipe.toml +++ b/recipes/wip/demos/simdjson-rs/recipe.toml @@ -1,8 +1,10 @@ #TODO compiled but not tested [source] git = "https://github.com/simd-lite/simd-json" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples perf """ diff --git a/recipes/wip/demos/slint/recipe.toml b/recipes/wip/demos/slint/recipe.toml index ccdff83c1..8a3708720 100644 --- a/recipes/wip/demos/slint/recipe.toml +++ b/recipes/wip/demos/slint/recipe.toml @@ -1,12 +1,11 @@ -#TODO make libwayland work +#TODO not compiled or tested [source] git = "https://github.com/slint-ui/slint" +shallow_clone = true [build] template = "custom" -dependencies = [ - "libwayland", -] script = """ +DYNAMIC_INIT cookbook_cargo_packages gallery energy-monitor carousel \ memory imagefilter plotter opengl_underlay opengl_texture \ maps virtual_keyboard 7guis diff --git a/recipes/wip/demos/soft-ratatui/recipe.toml b/recipes/wip/demos/soft-ratatui/recipe.toml index 581486de3..2fee98520 100644 --- a/recipes/wip/demos/soft-ratatui/recipe.toml +++ b/recipes/wip/demos/soft-ratatui/recipe.toml @@ -1,6 +1,10 @@ #TODO glutin crate error [source] git = "https://github.com/gold-silver-copper/soft_ratatui" +shallow_clone = true [build] -template = "cargo" -package_path = "egui_colors_example" +template = "custom" +script = """ +DYNAMIC_INIT +cookbook_cargo_packages egui_colors_example +""" diff --git a/recipes/wip/demos/speedy2d/recipe.toml b/recipes/wip/demos/speedy2d/recipe.toml index 5a84ea166..42de4fa7d 100644 --- a/recipes/wip/demos/speedy2d/recipe.toml +++ b/recipes/wip/demos/speedy2d/recipe.toml @@ -1,8 +1,10 @@ #TODO glutin crate error [source] git = "https://github.com/QuantumBadger/Speedy2D" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples animation hello_world moving_text """ diff --git a/recipes/wip/demos/spinners/recipe.toml b/recipes/wip/demos/spinners/recipe.toml index 42bd81e8c..d99ca635f 100644 --- a/recipes/wip/demos/spinners/recipe.toml +++ b/recipes/wip/demos/spinners/recipe.toml @@ -1,8 +1,11 @@ #TODO compiled but not tested [source] git = "https://github.com/FGRibreau/spinners" +shallow_clone = true [build] template = "custom" script = """ -cookbook_cargo_examples cycle simple stop_persist stop_symbol timer +DYNAMIC_INIT +cookbook_cargo_examples cycle simple stop_persist \ +stop_symbol timer """ diff --git a/recipes/wip/demos/spinoff/recipe.toml b/recipes/wip/demos/spinoff/recipe.toml index c531d028d..6b06f8ea1 100644 --- a/recipes/wip/demos/spinoff/recipe.toml +++ b/recipes/wip/demos/spinoff/recipe.toml @@ -1,8 +1,10 @@ #TODO compiled but not tested [source] git = "https://github.com/ad4mx/spinoff" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples simple stop_and_persist stream """ diff --git a/recipes/wip/demos/tachyonfx/recipe.toml b/recipes/wip/demos/tachyonfx/recipe.toml index 840d1d58c..716935e96 100644 --- a/recipes/wip/demos/tachyonfx/recipe.toml +++ b/recipes/wip/demos/tachyonfx/recipe.toml @@ -1,8 +1,10 @@ #TODO compiled but not tested [source] git = "https://github.com/junkdog/tachyonfx" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples basic-effects open-window tweens """ diff --git a/recipes/wip/demos/taffy/recipe.toml b/recipes/wip/demos/taffy/recipe.toml index 0be378225..9b28c45c4 100644 --- a/recipes/wip/demos/taffy/recipe.toml +++ b/recipes/wip/demos/taffy/recipe.toml @@ -1,8 +1,10 @@ #TODO compiled but not tested [source] git = "https://github.com/DioxusLabs/taffy" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples basic """ diff --git a/recipes/wip/demos/tenki/recipe.toml b/recipes/wip/demos/tenki/recipe.toml index cd4343c87..a30667fb5 100644 --- a/recipes/wip/demos/tenki/recipe.toml +++ b/recipes/wip/demos/tenki/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/ckaznable/tenki" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/demos/termtree/recipe.toml b/recipes/wip/demos/termtree/recipe.toml index d23b074fe..dd6c6203a 100644 --- a/recipes/wip/demos/termtree/recipe.toml +++ b/recipes/wip/demos/termtree/recipe.toml @@ -1,8 +1,10 @@ #TODO compiled but not tested [source] git = "https://github.com/rust-cli/termtree" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples tree """ diff --git a/recipes/wip/demos/ternimal/recipe.toml b/recipes/wip/demos/ternimal/recipe.toml index 9132d89ff..f638d40ba 100644 --- a/recipes/wip/demos/ternimal/recipe.toml +++ b/recipes/wip/demos/ternimal/recipe.toml @@ -1,8 +1,15 @@ -#TODO probably wrong script, see https://github.com/p-e-w/ternimal#building +#TODO not compiled or tested +#TODO add condition script for multiarch compilation +# build instructions: https://github.com/p-e-w/ternimal#building [source] git = "https://github.com/p-e-w/ternimal" +shallow_clone = true [build] template = "custom" script = """ -rustc -O "${COOKBOOK_SOURCE}"/ternimal.rs +DYNAMIC_INIT +cp -v "${COOKBOOK_SOURCE}"/ternimal.rs "${COOKBOOK_BUILD}" +rustc -O "${COOKBOOK_BUILD}"/ternimal.rs --target x86_64-unknown-redox +mkdir -pv "${COOKBOOK_STAGE}/usr/bin" +cp -v "${COOKBOOK_BUILD}"/ternimal "${COOKBOOK_STAGE}/usr/bin" """ diff --git a/recipes/wip/demos/terra/recipe.toml b/recipes/wip/demos/terra/recipe.toml index 098123fe5..496c9d20c 100644 --- a/recipes/wip/demos/terra/recipe.toml +++ b/recipes/wip/demos/terra/recipe.toml @@ -1,9 +1,10 @@ #TODO not compiled or tested [source] git = "https://github.com/fintelia/terra" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", "mesa", ] diff --git a/recipes/wip/demos/three-d/recipe.toml b/recipes/wip/demos/three-d/recipe.toml index 1bc0882b0..9b2f62225 100644 --- a/recipes/wip/demos/three-d/recipe.toml +++ b/recipes/wip/demos/three-d/recipe.toml @@ -1,11 +1,16 @@ #TODO glutin crate error [source] git = "https://github.com/asny/three-d" +shallow_clone = true [build] template = "custom" dependencies = [ - "openssl1", + "openssl3", ] script = """ -cookbook_cargo_examples animation environment fireworks fog forest image instanced_shapes lighting lights logo mandelbrot multiwindow pbr shapes shapes2d sprites statues terrain texture triangle +DYNAMIC_INIT +cookbook_cargo_examples animation environment fireworks \ +fog forest image instanced_shapes lighting lights logo \ +mandelbrot multiwindow pbr shapes shapes2d sprites statues \ +terrain texture triangle """ diff --git a/recipes/wip/demos/tquic/recipe.toml b/recipes/wip/demos/tquic/recipe.toml index 18850514b..f4bab83b5 100644 --- a/recipes/wip/demos/tquic/recipe.toml +++ b/recipes/wip/demos/tquic/recipe.toml @@ -1,9 +1,11 @@ #TODO tikv-jemalloc-sys crate error [source] git = "https://github.com/Tencent/tquic" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages tquic_tools mv "${COOKBOOK_STAGE}/usr/bin/tquic_server" "${COOKBOOK_STAGE}/usr/bin/tquic-server" mv "${COOKBOOK_STAGE}/usr/bin/tquic_client" "${COOKBOOK_STAGE}/usr/bin/tquic-client" diff --git a/recipes/wip/demos/uniocr/recipe.toml b/recipes/wip/demos/uniocr/recipe.toml index c46f893fd..d52658f39 100644 --- a/recipes/wip/demos/uniocr/recipe.toml +++ b/recipes/wip/demos/uniocr/recipe.toml @@ -1,11 +1,13 @@ #TODO xcap crate error [source] git = "https://github.com/mediar-ai/uniOCR" +shallow_clone = true [build] template = "custom" dependencies = [ - "openssl1", + "openssl3", ] script = """ +DYNAMIC_INIT cookbook_cargo_examples basic batch_processing """ diff --git a/recipes/wip/demos/usfx/recipe.toml b/recipes/wip/demos/usfx/recipe.toml index 4d7eca8d8..5280d1279 100644 --- a/recipes/wip/demos/usfx/recipe.toml +++ b/recipes/wip/demos/usfx/recipe.toml @@ -1,6 +1,7 @@ #TODO not compiled or tested [source] git = "https://github.com/tversteeg/usfx" +shallow_clone = true [build] template = "custom" dependencies = [ @@ -8,5 +9,6 @@ dependencies = [ "sdl2", ] script = """ +DYNAMIC_INIT cookbook_cargo_examples cpal music sdl2 """ diff --git a/recipes/wip/demos/vizia/recipe.toml b/recipes/wip/demos/vizia/recipe.toml index 661efd38b..e7de869a6 100644 --- a/recipes/wip/demos/vizia/recipe.toml +++ b/recipes/wip/demos/vizia/recipe.toml @@ -1,11 +1,13 @@ -#TODO make libwayland work +#TODO not compiled or tested [source] git = "https://github.com/vizia/vizia" +shallow_clone = true [build] template = "custom" -dependencies = [ - "libwayland", -] +#dependencies = [ +# "libwayland", +#] script = """ +DYNAMIC_INIT cookbook_cargo_examples animation dragdrop number input timers """ diff --git a/recipes/wip/demos/wavy/recipe.toml b/recipes/wip/demos/wavy/recipe.toml index 8dc2e261f..5b5bcc30b 100644 --- a/recipes/wip/demos/wavy/recipe.toml +++ b/recipes/wip/demos/wavy/recipe.toml @@ -1,8 +1,10 @@ #TODO compiled but not tested [source] git = "https://github.com/ardaku/wavy" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples monitor play query record """ diff --git a/recipes/wip/demos/wgpu-sky-rendering/recipe.toml b/recipes/wip/demos/wgpu-sky-rendering/recipe.toml index b46016b45..a05e809ec 100644 --- a/recipes/wip/demos/wgpu-sky-rendering/recipe.toml +++ b/recipes/wip/demos/wgpu-sky-rendering/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/bmatthieu3/wgpu-sky-rendering" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/demos/xaos/recipe.toml b/recipes/wip/demos/xaos/recipe.toml index a13d2112a..82ff73f53 100644 --- a/recipes/wip/demos/xaos/recipe.toml +++ b/recipes/wip/demos/xaos/recipe.toml @@ -1,10 +1,13 @@ -#TODO missing script for QMake, see https://github.com/xaos-project/XaoS/wiki/Developer's-Guide#build-instructions-for-version-43 +#TODO not compiled or tested +#TODO determine minimum dependencies from cmake log +# build instructions: https://github.com/xaos-project/XaoS/wiki/Developer's-Guide#build-instructions-for-version-433 [source] git = "https://github.com/xaos-project/XaoS" -rev = "7f36177f32a23eea88911afb90878046912d7e2d" +rev = "release-4.3.4" +shallow_clone = true [build] -template = "custom" -dependencies = [ - "qt6-base", - "mesa", -] +template = "cmake" +#dependencies = [ +# "qt6-base", +# "mesa", +#] diff --git a/recipes/wip/demos/xilem/recipe.toml b/recipes/wip/demos/xilem/recipe.toml index 75f76028a..08ac1a8a0 100644 --- a/recipes/wip/demos/xilem/recipe.toml +++ b/recipes/wip/demos/xilem/recipe.toml @@ -1,8 +1,10 @@ #TODO xilem_core crate error [source] git = "https://github.com/linebender/xilem" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_examples components """