From d6cae1bc6a4bc05f147264e3966c64814f30e1ba Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:01:06 +0100 Subject: [PATCH 1/2] Minor simplification for wayland config --- config/wayland.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/wayland.toml b/config/wayland.toml index 0e3c372f8..f750313c8 100644 --- a/config/wayland.toml +++ b/config/wayland.toml @@ -68,10 +68,7 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ cosmic-comp wayland-session # For smallvil (easier to debug) -#export WAYLAND_DISPLAY=wayland-1 -#smallvil & -#sleep 2 -#wayland-session +#smallvil -c wayland-session& """ [[files]] From 7302a32d9508fabad83858f5f6eab8fc9600bdf4 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:02:28 +0100 Subject: [PATCH 2/2] Simplify and fix anvil recipe Also share sources between smallvil and anvil recipes. --- recipes/wip/wayland/anvil/recipe.toml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/recipes/wip/wayland/anvil/recipe.toml b/recipes/wip/wayland/anvil/recipe.toml index ea5816f42..a1c4fdea6 100644 --- a/recipes/wip/wayland/anvil/recipe.toml +++ b/recipes/wip/wayland/anvil/recipe.toml @@ -1,21 +1,14 @@ #TODO not compiled or tested [source] -git = "https://github.com/Smithay/smithay" +same_as = "../smallvil" + [build] +template = "cargo" dependencies = [ + "libffi", "libwayland", "libxkbcommon", ] -template = "custom" -script = """ -package=anvil -"${COOKBOOK_CARGO}" build \ - --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ - --package "${package}" \ - --release - --winit - mkdir -pv "${COOKBOOK_STAGE}/usr/bin" - cp -v \ - "target/${TARGET}/release/${package}" \ - "${COOKBOOK_STAGE}/usr/bin/${package}" -""" +cargopackages = [ + "anvil" +]