From 775eb5a9d710daaa189170feeb9e303be06559e3 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sat, 20 Jun 2026 23:14:54 -0300 Subject: [PATCH] Improve/updates some recipes and add/improve TODOs --- .../wip/emu/game-console/rpcs3/recipe.toml | 4 +-- .../wip/emu/game-console/shadps4/recipe.toml | 8 +++--- .../wip/games/open-world/veloren/recipe.toml | 26 +++++++++---------- recipes/wip/libs/other/libinput/recipe.toml | 2 +- .../wip/sys-info/mission-center/recipe.toml | 4 +-- recipes/wip/wayland/anvil/recipe.toml | 2 +- .../wayland/cosmic-app-library/recipe.toml | 3 ++- recipes/wip/wayland/cosmic-comp/recipe.toml | 2 +- recipes/wip/wayland/cosmic-panel/recipe.toml | 3 ++- .../wip/wayland/fht-compositor/recipe.toml | 4 ++- recipes/wip/wayland/hyprland/recipe.toml | 6 +++-- recipes/wip/wayland/iced-wayland/recipe.toml | 10 +++---- .../wip/wayland/libcosmic-wayland/recipe.toml | 3 ++- recipes/wip/wayland/niri/recipe.toml | 9 ++++--- recipes/wip/wayland/pinnacle/recipe.toml | 12 ++++----- recipes/wip/wayland/smallvil/recipe.toml | 4 +-- .../wayland/softbuffer-wayland/recipe.toml | 3 ++- recipes/wip/wayland/sway/recipe.toml | 12 ++++++--- .../wip/wayland/wayland-protocols/recipe.toml | 1 + recipes/wip/wayland/wayland-rs/recipe.toml | 4 +-- recipes/wip/wayland/wayland-utils/recipe.toml | 1 + recipes/wip/wayland/waylandpp/recipe.toml | 2 ++ recipes/wip/wayland/winit-wayland/recipe.toml | 3 ++- 23 files changed, 73 insertions(+), 55 deletions(-) diff --git a/recipes/wip/emu/game-console/rpcs3/recipe.toml b/recipes/wip/emu/game-console/rpcs3/recipe.toml index 6b8245bf2..bb5b6e557 100644 --- a/recipes/wip/emu/game-console/rpcs3/recipe.toml +++ b/recipes/wip/emu/game-console/rpcs3/recipe.toml @@ -4,7 +4,7 @@ # customization: https://wiki.rpcs3.net/index.php?title=Help:Building_RPCS3#CMake_Build_Options [source] git = "https://github.com/RPCS3/rpcs3" -rev = "db8437b01cf24ba1146cf7d22e1be02202cc98f4" +rev = "e32d19ffac500c6194f93b0338a4a64c51399b38" shallow_clone = true [build] template = "cmake" @@ -30,12 +30,12 @@ dependencies = [ "curl", "opencv4", "sdl3", - #"eudev", #"glew", "openal", "zlib", "zstd", #"libpng", + #"libhidapi", #"libevdev", #"libedit", #"libvulkan", diff --git a/recipes/wip/emu/game-console/shadps4/recipe.toml b/recipes/wip/emu/game-console/shadps4/recipe.toml index da6ba97ee..59d0e87c8 100644 --- a/recipes/wip/emu/game-console/shadps4/recipe.toml +++ b/recipes/wip/emu/game-console/shadps4/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested #TODO missing dependencies +#TODO verify if udev is optional # build instructions - https://github.com/shadps4-emu/shadPS4/blob/main/documents/building-linux.md [source] git = "https://github.com/shadps4-emu/shadPS4" @@ -9,12 +10,11 @@ template = "cmake" #"-DENABLE_QT_GUI=ON" #] dependencies = [ - "libpulse", - "openal", + #"libpulse", + #"openal", "openssl3", "libedit", - "eudev", - "libevdev", + #"libevdev", "sdl2", "sndio", #"qt6-base", diff --git a/recipes/wip/games/open-world/veloren/recipe.toml b/recipes/wip/games/open-world/veloren/recipe.toml index 0265a9d8b..16ace3d20 100644 --- a/recipes/wip/games/open-world/veloren/recipe.toml +++ b/recipes/wip/games/open-world/veloren/recipe.toml @@ -1,17 +1,17 @@ #TODO quinn-udp crate error +#TODO verify if udev is optional [source] -git = "https://github.com/veloren/veloren" -shallow = true +git = "https://gitlab.com/veloren/veloren" +shallow_clone = true [build] template = "cargo" -package_path="client" -dependencies = [ - "glib", - "cairo", - "pango", - "atk", - "gdk-pixbuf", - "gtk3", - "eudev", - "mesa", -] +cargopackages = ["veloren-client"] +#dependencies = [ + #"glib", + #"cairo", + #"pango", + #"atk", + #"gdk-pixbuf", + #"gtk3", + #"mesa", +#] diff --git a/recipes/wip/libs/other/libinput/recipe.toml b/recipes/wip/libs/other/libinput/recipe.toml index bebce1392..89f58fc0b 100644 --- a/recipes/wip/libs/other/libinput/recipe.toml +++ b/recipes/wip/libs/other/libinput/recipe.toml @@ -1,4 +1,5 @@ #TODO not compiled or tested +#TODO disable udev codepath or translate udev api to redox like freebsd does? # build instructions: https://wayland.freedesktop.org/libinput/doc/latest/building.html#building [source] tar = "https://gitlab.freedesktop.org/libinput/libinput/-/archive/1.30.2/libinput-1.30.2.tar.bz2" @@ -11,6 +12,5 @@ mesonflags = [ "-Dtests=false", ] dependencies = [ - "eudev", "libevdev", ] diff --git a/recipes/wip/sys-info/mission-center/recipe.toml b/recipes/wip/sys-info/mission-center/recipe.toml index d5f56bee4..2abcfa615 100644 --- a/recipes/wip/sys-info/mission-center/recipe.toml +++ b/recipes/wip/sys-info/mission-center/recipe.toml @@ -1,6 +1,7 @@ #TODO not compiled or tested -# build instructions: https://gitlab.com/mission-center-devs/mission-center#building---native +#TODO disable udev codepath or translate udev api to redox like freebsd does? #TODO patch to disable libgbm +# build instructions: https://gitlab.com/mission-center-devs/mission-center#building---native [source] git = "https://gitlab.com/mission-center-devs/mission-center" [build] @@ -8,7 +9,6 @@ template = "meson" dependencies = [ "gtk4", "libadwaita", - "eudev", "libdrm", "dbus", ] diff --git a/recipes/wip/wayland/anvil/recipe.toml b/recipes/wip/wayland/anvil/recipe.toml index a1c4fdea6..ce3448ce3 100644 --- a/recipes/wip/wayland/anvil/recipe.toml +++ b/recipes/wip/wayland/anvil/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO fix bad performance [source] same_as = "../smallvil" diff --git a/recipes/wip/wayland/cosmic-app-library/recipe.toml b/recipes/wip/wayland/cosmic-app-library/recipe.toml index e5c98ac74..2c0bc3639 100644 --- a/recipes/wip/wayland/cosmic-app-library/recipe.toml +++ b/recipes/wip/wayland/cosmic-app-library/recipe.toml @@ -1,7 +1,8 @@ +#TODO fix bad wayland performance [source] git = "https://github.com/jackpot51/cosmic-app-library" branch = "redox" - +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/wayland/cosmic-comp/recipe.toml b/recipes/wip/wayland/cosmic-comp/recipe.toml index 9e587bea5..f67694381 100644 --- a/recipes/wip/wayland/cosmic-comp/recipe.toml +++ b/recipes/wip/wayland/cosmic-comp/recipe.toml @@ -2,7 +2,7 @@ [source] git = "https://github.com/jackpot51/cosmic-comp" branch = "redox" - +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/wayland/cosmic-panel/recipe.toml b/recipes/wip/wayland/cosmic-panel/recipe.toml index c7a78f4bc..d7e82717e 100644 --- a/recipes/wip/wayland/cosmic-panel/recipe.toml +++ b/recipes/wip/wayland/cosmic-panel/recipe.toml @@ -1,7 +1,8 @@ +#TODO fix bad wayland performance [source] git = "https://github.com/jackpot51/cosmic-panel" branch = "redox" - +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/wayland/fht-compositor/recipe.toml b/recipes/wip/wayland/fht-compositor/recipe.toml index 33ada5d7f..21ea71ac3 100644 --- a/recipes/wip/wayland/fht-compositor/recipe.toml +++ b/recipes/wip/wayland/fht-compositor/recipe.toml @@ -1,7 +1,8 @@ #TODO not compiled or tested -#TODO enable the "opt" profile once wayland and eudev is working +#TODO enable the "opt" profile once wayland is working [source] git = "https://github.com/nferhat/fht-compositor" +shallow_clone = true [build] template = "custom" dependencies = [ @@ -10,6 +11,7 @@ dependencies = [ "mesa", ] script = """ +DYNAMIC_INIT mkdir -pv "${COOKBOOK_STAGE}"/usr/share/wayland-sessions cp -rv "${COOKBOOK_SOURCE}"/res/fht-compositor.desktop "${COOKBOOK_STAGE}"/usr/share/wayland-sessions package=fht-compositor diff --git a/recipes/wip/wayland/hyprland/recipe.toml b/recipes/wip/wayland/hyprland/recipe.toml index 4512978b5..1b4fede52 100644 --- a/recipes/wip/wayland/hyprland/recipe.toml +++ b/recipes/wip/wayland/hyprland/recipe.toml @@ -1,8 +1,7 @@ #TODO not compiled or tested # build instructions: https://wiki.hyprland.org/Getting-Started/Installation/#cmake-recommended [source] -git = "https://github.com/hyprwm/Hyprland" -rev = "ed936430216e7aa5f6f53d22eff713f8e9ed69ac" +tar = "https://github.com/hyprwm/Hyprland/releases/download/v0.55.4/source-v0.55.4.tar.gz" [build] template = "custom" dependencies = [ @@ -21,6 +20,9 @@ dependencies = [ ] script = """ DYNAMIC_INIT +COOKBOOK_CMAKE_FLAGS+=( + -DNO_SYSTEMD=ON +) cookbook_cmake mkdir -pv "${COOKBOOK_STAGE}"/usr/share/wayland-sessions cp -rv "${COOKBOOK_SOURCE}"/example/hyprland.desktop "${COOKBOOK_STAGE}"/usr/share/wayland-sessions diff --git a/recipes/wip/wayland/iced-wayland/recipe.toml b/recipes/wip/wayland/iced-wayland/recipe.toml index 843af017c..247b1b115 100644 --- a/recipes/wip/wayland/iced-wayland/recipe.toml +++ b/recipes/wip/wayland/iced-wayland/recipe.toml @@ -1,14 +1,12 @@ +#TODO fix bad wayland performance [source] git = "https://github.com/jackpot51/iced.git" branch = "redox-wayland" - +shallow_clone = true [build] dependencies = [ "libwayland", "libxkbcommon", ] -template = "custom" -script = """ -DYNAMIC_INIT -COOKBOOK_CARGO_PATH="examples/sctk_lazy" cookbook_cargo_build -""" +template = "cargo" +cargopackages = ["sctk_lazy"] diff --git a/recipes/wip/wayland/libcosmic-wayland/recipe.toml b/recipes/wip/wayland/libcosmic-wayland/recipe.toml index fd81d2b14..06efa6f31 100644 --- a/recipes/wip/wayland/libcosmic-wayland/recipe.toml +++ b/recipes/wip/wayland/libcosmic-wayland/recipe.toml @@ -1,7 +1,8 @@ +#TODO fix bad wayland performance [source] git = "https://github.com/jackpot51/libcosmic.git" branch = "redox-wayland" - +shallow_clone = true [build] dependencies = [ "libwayland", diff --git a/recipes/wip/wayland/niri/recipe.toml b/recipes/wip/wayland/niri/recipe.toml index 861d71148..16a29c96e 100644 --- a/recipes/wip/wayland/niri/recipe.toml +++ b/recipes/wip/wayland/niri/recipe.toml @@ -1,18 +1,21 @@ -#TODO Port Smithay -#TODO probably wrong script for configuration, see https://github.com/YaLTeR/niri#installation +#TODO not compiled or tested +#TODO enable "backend_winit" and "renderer_pixman" feature flags from smithay +# configuration: https://github.com/YaLTeR/niri#installation [source] git = "https://github.com/YaLTeR/niri" +shallow_clone = true [build] template = "custom" dependencies = [ "libwayland", ] script = """ +DYNAMIC_INIT +cookbook_cargo --no-default-features mkdir -pv "${COOKBOOK_STAGE}"/usr/bin mkdir -pv "${COOKBOOK_STAGE}"/usr/share/wayland-sessions mkdir -pv "${COOKBOOK_STAGE}"/usr/share/xdg-desktop-portal cp -rv "${COOKBOOK_SOURCE}"/resources/niri-session "${COOKBOOK_STAGE}"/usr/bin cp -rv "${COOKBOOK_SOURCE}"/resources/niri.desktop "${COOKBOOK_STAGE}"/usr/share/wayland-sessions cp -rv "${COOKBOOK_SOURCE}"/resources/niri-portals.conf "${COOKBOOK_STAGE}"/usr/share/xdg-desktop-portal -cookbook_cargo """ diff --git a/recipes/wip/wayland/pinnacle/recipe.toml b/recipes/wip/wayland/pinnacle/recipe.toml index 36c101c01..405adbf9a 100644 --- a/recipes/wip/wayland/pinnacle/recipe.toml +++ b/recipes/wip/wayland/pinnacle/recipe.toml @@ -1,15 +1,13 @@ -#TODO make all dependencies work +#TODO not compiled or tested [source] git = "https://github.com/pinnacle-comp/pinnacle" +shallow_clone = true [build] -template = "custom" +template = "cargo" +cargopackages = ["pinnacle"] dependencies = [ "libwayland", "libxkbcommon", - "libinput", - "libeudev", + #"libinput", "seatd", ] -script = """ -cookbook_cargo_packages pinnacle -""" diff --git a/recipes/wip/wayland/smallvil/recipe.toml b/recipes/wip/wayland/smallvil/recipe.toml index bca7f5124..390dedaa6 100644 --- a/recipes/wip/wayland/smallvil/recipe.toml +++ b/recipes/wip/wayland/smallvil/recipe.toml @@ -1,8 +1,8 @@ -#TODO make libwayland work +#TODO fix bad performance [source] git = "https://github.com/jackpot51/smithay" branch = "redox" - +shallow_clone = true [build] template = "cargo" dependencies = [ diff --git a/recipes/wip/wayland/softbuffer-wayland/recipe.toml b/recipes/wip/wayland/softbuffer-wayland/recipe.toml index 5205096ee..2bc068e6d 100644 --- a/recipes/wip/wayland/softbuffer-wayland/recipe.toml +++ b/recipes/wip/wayland/softbuffer-wayland/recipe.toml @@ -1,7 +1,8 @@ +#TODO fix bad wayland performance [source] git = "https://github.com/jackpot51/softbuffer.git" branch = "redox-wayland" - +shallow_clone = true [build] dependencies = [ "libwayland" diff --git a/recipes/wip/wayland/sway/recipe.toml b/recipes/wip/wayland/sway/recipe.toml index bb93c00f5..9886284cc 100644 --- a/recipes/wip/wayland/sway/recipe.toml +++ b/recipes/wip/wayland/sway/recipe.toml @@ -1,11 +1,17 @@ -#TODO not compiled or tested +#TODO update wlroots version to 0.20 or above # build instructions: https://github.com/swaywm/sway#compiling-from-source [source] -tar = "https://github.com/swaywm/sway/releases/download/1.9/sway-1.9.tar.gz" -blake3 = "6ae892f82daedef76d26e32c64ebd09cc454ae71f416d2179a512f7764138268" +tar = "https://github.com/swaywm/sway/releases/download/1.12/sway-1.12.tar.gz" +#blake3 = "6ae892f82daedef76d26e32c64ebd09cc454ae71f416d2179a512f7764138268" [build] template = "meson" +mesonflags = [ + "-Dman-pages=disabled", + "-Dtray=disabled", + "-Dswaynag=false", + "-Dgdk-pixbuf=disabled", +] dependencies = [ "cairo", "expat", diff --git a/recipes/wip/wayland/wayland-protocols/recipe.toml b/recipes/wip/wayland/wayland-protocols/recipe.toml index 4fc0fc877..6b73243f3 100644 --- a/recipes/wip/wayland/wayland-protocols/recipe.toml +++ b/recipes/wip/wayland/wayland-protocols/recipe.toml @@ -1,3 +1,4 @@ +#TODO promote [source] tar = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.32/downloads/wayland-protocols-1.32.tar.xz" blake3 = "7ae608d3b04be91e89fd07b8e326fa6dcf718beda85cccc33e7cc2afe746a8ba" diff --git a/recipes/wip/wayland/wayland-rs/recipe.toml b/recipes/wip/wayland/wayland-rs/recipe.toml index 235c9d999..354cefd79 100644 --- a/recipes/wip/wayland/wayland-rs/recipe.toml +++ b/recipes/wip/wayland/wayland-rs/recipe.toml @@ -1,8 +1,8 @@ -#TODO make libwayland work +#TODO promote [source] git = "https://github.com/jackpot51/wayland-rs" branch = "redox" - +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/wayland/wayland-utils/recipe.toml b/recipes/wip/wayland/wayland-utils/recipe.toml index fa94decf0..de235635b 100644 --- a/recipes/wip/wayland/wayland-utils/recipe.toml +++ b/recipes/wip/wayland/wayland-utils/recipe.toml @@ -4,3 +4,4 @@ tar = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/releases/1.2.0/downloads/wayland-utils-1.2.0.tar.xz" [build] template = "meson" +mesonflags = ["-Ddrm=disabled"] diff --git a/recipes/wip/wayland/waylandpp/recipe.toml b/recipes/wip/wayland/waylandpp/recipe.toml index 6bc1a0350..106596948 100644 --- a/recipes/wip/wayland/waylandpp/recipe.toml +++ b/recipes/wip/wayland/waylandpp/recipe.toml @@ -2,5 +2,7 @@ # build instructions: https://github.com/NilsBrause/waylandpp#building [source] git = "https://github.com/NilsBrause/waylandpp" +rev = "1.0.1" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/wayland/winit-wayland/recipe.toml b/recipes/wip/wayland/winit-wayland/recipe.toml index e3f73c66a..1cdf90f42 100644 --- a/recipes/wip/wayland/winit-wayland/recipe.toml +++ b/recipes/wip/wayland/winit-wayland/recipe.toml @@ -1,7 +1,8 @@ +#TODO fix bad wayland performance [source] git = "https://github.com/jackpot51/winit.git" branch = "redox-wayland" - +shallow_clone = true [build] dependencies = [ "libwayland"