Fix the ratzilla recipe and update TODOs

This commit is contained in:
Ribbon 2025-07-04 04:11:52 -03:00
parent 0dcdfc5961
commit c9fc74c2f0
4 changed files with 25 additions and 14 deletions

View File

@ -1,20 +1,31 @@
#TODO fix the script
#TODO not compiled or tested
[source]
git = "https://github.com/orhun/ratzilla"
[build]
template = "custom"
script = """
recipe="$(basename "${COOKBOOK_RECIPE}")"
for package in animations canvas-stress-test canvas-waves \
colors-rgb demo demo2 minimal pong text-area user-input website world-map
do
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/examples/${package}/Cargo.toml" \
--package "${package}" \
--release
function build_from_dir {
prog_name=$1
dir_name=$2
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/examples/${dir_name}/Cargo.toml" \
"${build_flags}"
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/${build_type}/examples/${package}" \
"${COOKBOOK_STAGE}/usr/bin/${recipe}_${package}"
done
"target/${TARGET}/${build_type}/${prog_name}" \
"${COOKBOOK_STAGE}/usr/bin/${recipe}_${prog_name}"
}
build_from_dir animations animations
build_from_dir canvas-stress-test canvas_stress_test
build_from_dir canvas-waves canvas_waves
build_from_dir color-rgb colors_rgb
build_from_dir demo demo
build_from_dir demo2 demo2
build_from_dir minimal minimal
build_from_dir pong pong
build_from_dir text_area text_area
build_from_dir user-input user_input
build_from_dir website website
build_from_dir world-map world_map
"""

View File

@ -1,4 +1,4 @@
#TODO update redox_syscall crate
#TODO compilation error
[source]
git = "https://github.com/ecumene/rust-sloth"
script = "rm Cargo.lock"

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
#TODO compiled but not tested
[source]
git = "https://github.com/tapnisu/tapciify"
[build]

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
#TODO wayland-backend crate error
[source]
git = "https://github.com/dngulin/gpcl"
[build]