From 332fb5e78561e6805ddd87bc8758093f02f564ba Mon Sep 17 00:00:00 2001 From: Ribbon Date: Mon, 12 Oct 2026 19:29:36 -0300 Subject: [PATCH] Fix and update more recipes --- recipes/wip/bench/stress-ng/recipe.toml | 2 +- recipes/wip/demos/anima/recipe.toml | 2 +- recipes/wip/demos/black-hole-glfw/recipe.toml | 13 +++++++++---- recipes/wip/demos/black-hole-sdl/recipe.toml | 2 +- recipes/wip/demos/fonterator/recipe.toml | 2 +- recipes/wip/demos/franken-solver/recipe.toml | 2 +- recipes/wip/demos/gl-flightsim/recipe.toml | 7 ++++--- recipes/wip/demos/myth/recipe.toml | 2 +- recipes/wip/demos/nibble/recipe.toml | 2 +- recipes/wip/demos/nms/recipe.toml | 2 +- recipes/wip/demos/nobubbles/recipe.toml | 4 ++++ recipes/wip/demos/orbit-sim/recipe.toml | 2 +- recipes/wip/demos/plush/recipe.toml | 2 +- recipes/wip/demos/raclettui/recipe.toml | 6 +----- recipes/wip/demos/rayt/recipe.toml | 2 +- recipes/wip/demos/raytracer-rs/recipe.toml | 3 +-- recipes/wip/demos/rs-cube/recipe.toml | 2 +- recipes/wip/demos/rustracer/recipe.toml | 4 ++-- recipes/wip/demos/scamp-cat/recipe.toml | 2 +- recipes/wip/demos/solar-system-sim/recipe.toml | 2 +- recipes/wip/demos/stars-sdl/recipe.toml | 5 +++-- recipes/wip/demos/terminal-rain/recipe.toml | 2 +- recipes/wip/demos/topcat/recipe.toml | 2 +- recipes/wip/demos/vk-examples-rs/recipe.toml | 2 +- recipes/wip/demos/voxelspace-sdl/recipe.toml | 2 +- recipes/wip/libs/graphics/glfw3/recipe.toml | 7 ++++++- recipes/wip/libs/other/libglm/recipe.toml | 2 +- recipes/wip/libs/suite/raylib/recipe.toml | 2 +- 28 files changed, 50 insertions(+), 39 deletions(-) diff --git a/recipes/wip/bench/stress-ng/recipe.toml b/recipes/wip/bench/stress-ng/recipe.toml index 783783bd3..e28d80584 100644 --- a/recipes/wip/bench/stress-ng/recipe.toml +++ b/recipes/wip/bench/stress-ng/recipe.toml @@ -1,4 +1,4 @@ -#TODO build and test +#TODO '_SC_MAPPED_FILES' undeclared #TODO determine minimum dependencies [source] git = "https://github.com/ColinIanKing/stress-ng" diff --git a/recipes/wip/demos/anima/recipe.toml b/recipes/wip/demos/anima/recipe.toml index f53447d79..4550c56f5 100644 --- a/recipes/wip/demos/anima/recipe.toml +++ b/recipes/wip/demos/anima/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO compiled but untested [source] git = "https://github.com/Yazelix/anima" shallow_clone = true diff --git a/recipes/wip/demos/black-hole-glfw/recipe.toml b/recipes/wip/demos/black-hole-glfw/recipe.toml index 55d5e100d..29bbb6734 100644 --- a/recipes/wip/demos/black-hole-glfw/recipe.toml +++ b/recipes/wip/demos/black-hole-glfw/recipe.toml @@ -1,13 +1,18 @@ -#TODO compile and test +#TODO compiled but untested +#TODO ninja error: unknown target 'install' [source] git = "https://github.com/kavan010/black_hole" rev = "dc263bb5a1b72f5a24190d2e38b84b5c8fe9a317" shallow_clone = true [build] -template = "cmake" +template = "custom" dependencies = [ "glew", "glfw3", - "glm", - "mesa-x11", + "libglm", + "mesa", ] +script = """ +DYNAMIC_INIT +cookbook_cmake +""" diff --git a/recipes/wip/demos/black-hole-sdl/recipe.toml b/recipes/wip/demos/black-hole-sdl/recipe.toml index 6dbe52959..e39439f1c 100644 --- a/recipes/wip/demos/black-hole-sdl/recipe.toml +++ b/recipes/wip/demos/black-hole-sdl/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO fix sdl3 dep [source] git = "https://github.com/jsoulier/black_hole_simulation" rev = "6205903db7f22d86d2dbc328831bfc2f68108b7a" diff --git a/recipes/wip/demos/fonterator/recipe.toml b/recipes/wip/demos/fonterator/recipe.toml index d9de36d5f..0f0f33014 100644 --- a/recipes/wip/demos/fonterator/recipe.toml +++ b/recipes/wip/demos/fonterator/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO compiled but untested [source] git = "https://github.com/ardaku/fonterator" shallow_clone = true diff --git a/recipes/wip/demos/franken-solver/recipe.toml b/recipes/wip/demos/franken-solver/recipe.toml index 6f3ba2800..500f03333 100644 --- a/recipes/wip/demos/franken-solver/recipe.toml +++ b/recipes/wip/demos/franken-solver/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO build error: can be cross-compiled? [source] git = "https://github.com/prp/franken-solver" shallow_clone = true diff --git a/recipes/wip/demos/gl-flightsim/recipe.toml b/recipes/wip/demos/gl-flightsim/recipe.toml index d52156af3..2fcebe202 100644 --- a/recipes/wip/demos/gl-flightsim/recipe.toml +++ b/recipes/wip/demos/gl-flightsim/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO GLM_GTX_component_wise is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it. [source] git = "https://github.com/gue-ni/OpenGL_Flightsim" rev = "7b865b085e18fc3b9e242651f3bd12073e3071dd" @@ -9,9 +9,10 @@ dependencies = [ "sdl2", "sdl2-image", "glew", - "glm", + "libglm", ] script = """ +COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/OpenGL_Flightsim" DYNAMIC_INIT -cookbook_cmake "${COOKBOOK_SOURCE}"/OpenGL_Flightsim +cookbook_cmake """ diff --git a/recipes/wip/demos/myth/recipe.toml b/recipes/wip/demos/myth/recipe.toml index 3214aa415..651063b85 100644 --- a/recipes/wip/demos/myth/recipe.toml +++ b/recipes/wip/demos/myth/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO rfd crate error [source] git = "https://github.com/panxinmiao/myth" shallow_clone = true diff --git a/recipes/wip/demos/nibble/recipe.toml b/recipes/wip/demos/nibble/recipe.toml index 7198424ab..e817a7648 100644 --- a/recipes/wip/demos/nibble/recipe.toml +++ b/recipes/wip/demos/nibble/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO compiled but untested [source] git = "https://github.com/Vaishnav-Sabari-Girish/nibble" shallow_clone = true diff --git a/recipes/wip/demos/nms/recipe.toml b/recipes/wip/demos/nms/recipe.toml index 73540e493..f7393e1ba 100644 --- a/recipes/wip/demos/nms/recipe.toml +++ b/recipes/wip/demos/nms/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO compiled but untested [source] git = "https://github.com/bartobri/no-more-secrets" rev = "v1.0.1" diff --git a/recipes/wip/demos/nobubbles/recipe.toml b/recipes/wip/demos/nobubbles/recipe.toml index 891d6b095..bc514db62 100644 --- a/recipes/wip/demos/nobubbles/recipe.toml +++ b/recipes/wip/demos/nobubbles/recipe.toml @@ -4,3 +4,7 @@ git = "https://github.com/romancitodev/nobubbles" shallow_clone = true [build] template = "cargo" +cargoexamples = [ + "counter", + "fx", +] diff --git a/recipes/wip/demos/orbit-sim/recipe.toml b/recipes/wip/demos/orbit-sim/recipe.toml index 734049224..f95ccf83e 100644 --- a/recipes/wip/demos/orbit-sim/recipe.toml +++ b/recipes/wip/demos/orbit-sim/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO fix raylib dep [source] git = "https://github.com/IceWizard7/simulation-orbit" rev = "e772641909df7a0876093b9ffea0377e5bea82bf" diff --git a/recipes/wip/demos/plush/recipe.toml b/recipes/wip/demos/plush/recipe.toml index 4ea8b4ff9..a62bb27e8 100644 --- a/recipes/wip/demos/plush/recipe.toml +++ b/recipes/wip/demos/plush/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO error[E0658]: use of unstable library feature `float_algebraic` [source] git = "https://github.com/maximecb/plush" shallow_clone = true diff --git a/recipes/wip/demos/raclettui/recipe.toml b/recipes/wip/demos/raclettui/recipe.toml index 2664fda42..713174ba6 100644 --- a/recipes/wip/demos/raclettui/recipe.toml +++ b/recipes/wip/demos/raclettui/recipe.toml @@ -4,8 +4,4 @@ git = "https://github.com/ishrut/raclettui" shallow_clone = true [build] template = "cargo" -cargoexamples = [ - "cpu_ratatui", - "test", - "wgpu_ratatui", -] +cargoexamples = ["hello"] diff --git a/recipes/wip/demos/rayt/recipe.toml b/recipes/wip/demos/rayt/recipe.toml index 2d4745060..11a5ed7f7 100644 --- a/recipes/wip/demos/rayt/recipe.toml +++ b/recipes/wip/demos/rayt/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO termios crate error (after cargo update) [source] git = "https://github.com/Dalamar42/rayt" shallow_clone = true diff --git a/recipes/wip/demos/raytracer-rs/recipe.toml b/recipes/wip/demos/raytracer-rs/recipe.toml index 85d20ec48..bc6a6d3d9 100644 --- a/recipes/wip/demos/raytracer-rs/recipe.toml +++ b/recipes/wip/demos/raytracer-rs/recipe.toml @@ -1,10 +1,9 @@ -#TODO compile and test +#TODO error[E0425]: cannot find function, tuple struct or tuple variant `ImageRgb8` in crate `image` [source] git = "https://github.com/ranveeraggarwal/rust-raytracer" shallow_clone = true [build] template = "cargo" -cargopath = "examples" cargoexamples = [ "basic_sphere", "one_weekend", diff --git a/recipes/wip/demos/rs-cube/recipe.toml b/recipes/wip/demos/rs-cube/recipe.toml index 905672677..8ec319366 100644 --- a/recipes/wip/demos/rs-cube/recipe.toml +++ b/recipes/wip/demos/rs-cube/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO compiled but not tested [source] git = "https://github.com/doprz/rs-cube" shallow_clone = true diff --git a/recipes/wip/demos/rustracer/recipe.toml b/recipes/wip/demos/rustracer/recipe.toml index 8e60fe877..8b845c23f 100644 --- a/recipes/wip/demos/rustracer/recipe.toml +++ b/recipes/wip/demos/rustracer/recipe.toml @@ -1,7 +1,7 @@ -#TODO compile and test +#TODO shared_library crate error: cannot find module or crate `dl` in this scope [source] git = "https://github.com/KaminariOS/rustracer" shallow_clone = true [build] template = "cargo" -cargoexamples = ["gltf-renderer"] +cargopackages = ["gltf-renderer"] diff --git a/recipes/wip/demos/scamp-cat/recipe.toml b/recipes/wip/demos/scamp-cat/recipe.toml index 449b7cafa..8939a7d84 100644 --- a/recipes/wip/demos/scamp-cat/recipe.toml +++ b/recipes/wip/demos/scamp-cat/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO outdated ioctl-rs crate error [source] git = "https://github.com/LordAizen1/scamp-cat" shallow_clone = true diff --git a/recipes/wip/demos/solar-system-sim/recipe.toml b/recipes/wip/demos/solar-system-sim/recipe.toml index 0262c4b27..b78778600 100644 --- a/recipes/wip/demos/solar-system-sim/recipe.toml +++ b/recipes/wip/demos/solar-system-sim/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO compiled but untested [source] git = "https://github.com/exor2008/solar-system-sim" shallow_clone = true diff --git a/recipes/wip/demos/stars-sdl/recipe.toml b/recipes/wip/demos/stars-sdl/recipe.toml index 3c090f987..212d53510 100644 --- a/recipes/wip/demos/stars-sdl/recipe.toml +++ b/recipes/wip/demos/stars-sdl/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO can't find SDL2/_real_SDL_config.h #TODO add a command to install [source] git = "https://github.com/Patater/demokit" @@ -8,7 +8,8 @@ shallow_clone = true template = "custom" dependencies = ["sdl2"] script = """ -rsync -av --delete "${COOKBOOK_SOURCE}/stars" ./ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +cd source/stars DYNAMIC_INIT "${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" """ diff --git a/recipes/wip/demos/terminal-rain/recipe.toml b/recipes/wip/demos/terminal-rain/recipe.toml index 1ea0a5dfa..a4e8d662d 100644 --- a/recipes/wip/demos/terminal-rain/recipe.toml +++ b/recipes/wip/demos/terminal-rain/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO compiled but not tested [source] git = "https://github.com/Oakamoore/terminal-rain" rev = "c46946f5a1ab71dc8b7f826f9ab634d46cb81c71" diff --git a/recipes/wip/demos/topcat/recipe.toml b/recipes/wip/demos/topcat/recipe.toml index b3cf50bb4..35b54d725 100644 --- a/recipes/wip/demos/topcat/recipe.toml +++ b/recipes/wip/demos/topcat/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO use of unstable library feature `int_format_into` [source] git = "https://github.com/tokio-rs/topcoat" shallow_clone = true diff --git a/recipes/wip/demos/vk-examples-rs/recipe.toml b/recipes/wip/demos/vk-examples-rs/recipe.toml index 4be0789b1..a7d3d202d 100644 --- a/recipes/wip/demos/vk-examples-rs/recipe.toml +++ b/recipes/wip/demos/vk-examples-rs/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO rfd crate error [source] git = "https://github.com/adrien-ben/vulkan-examples-rs" shallow_clone = true diff --git a/recipes/wip/demos/voxelspace-sdl/recipe.toml b/recipes/wip/demos/voxelspace-sdl/recipe.toml index 40257900f..931158142 100644 --- a/recipes/wip/demos/voxelspace-sdl/recipe.toml +++ b/recipes/wip/demos/voxelspace-sdl/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO compiled but not tested #TODO add manual installation on script [source] git = "https://github.com/gustavopezzi/voxelspace-sdl" diff --git a/recipes/wip/libs/graphics/glfw3/recipe.toml b/recipes/wip/libs/graphics/glfw3/recipe.toml index a54244977..d1cf720c3 100644 --- a/recipes/wip/libs/graphics/glfw3/recipe.toml +++ b/recipes/wip/libs/graphics/glfw3/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO compiled but untested # build instructions: https://www.glfw.org/docs/latest/compile.html [source] git = "https://github.com/glfw/glfw" @@ -13,4 +13,9 @@ cmakeflags = [ ] dependencies = [ "libxkbcommon", + "libx11", + "libxrandr", + "libxinerama", + "libxcursor", + "libxi", ] diff --git a/recipes/wip/libs/other/libglm/recipe.toml b/recipes/wip/libs/other/libglm/recipe.toml index 83f270530..7569eea0a 100644 --- a/recipes/wip/libs/other/libglm/recipe.toml +++ b/recipes/wip/libs/other/libglm/recipe.toml @@ -1,4 +1,4 @@ -#TODO Needs to determine the script +#TODO compiled but untested [source] git = "https://github.com/g-truc/glm" rev = "1.0.3" diff --git a/recipes/wip/libs/suite/raylib/recipe.toml b/recipes/wip/libs/suite/raylib/recipe.toml index f5fdd7329..b28479aa6 100644 --- a/recipes/wip/libs/suite/raylib/recipe.toml +++ b/recipes/wip/libs/suite/raylib/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO implicit declaration of function 'sched_get_priority_min' [-Werror=implicit-function-declaration] # build instructions: https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux [source] git = "https://github.com/raysan5/raylib"