From 20a523f414cd16483824135d6f58506478a7f639 Mon Sep 17 00:00:00 2001 From: Wildan Mubarok Date: Wed, 3 Sep 2025 03:28:57 +0000 Subject: [PATCH 1/2] Port htop --- recipes/wip/monitors/htop/recipe.toml | 30 +++++++++++++++------------ 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/recipes/wip/monitors/htop/recipe.toml b/recipes/wip/monitors/htop/recipe.toml index 6116bcbc0..8730648ea 100644 --- a/recipes/wip/monitors/htop/recipe.toml +++ b/recipes/wip/monitors/htop/recipe.toml @@ -1,18 +1,22 @@ -#TODO compilation error -#TODO port to redox -#TODO make ncursesw work -# build instructions - https://github.com/htop-dev/htop#build-instructions +#TODO "unsupported architecture" [source] -tar = "https://github.com/htop-dev/htop/releases/download/3.3.0/htop-3.3.0.tar.xz" +git = "https://github.com/willnode/htop" +branch = "redox" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + [build] -template = "custom" +template = "configure" +configureflags = [ + "--disable-unicode", +] dependencies = [ "ncurses", ] -script = """ -export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include/ncurses" -COOKBOOK_CONFIGURE_FLAGS+=( - --disable-unicode -) -cookbook_configure -""" + +[package] +dependencies = [ + "terminfo" +] From 9596f24ad00cd06c36053678a0f2fc2601561678 Mon Sep 17 00:00:00 2001 From: Wildan Mubarok Date: Fri, 10 Oct 2025 01:31:44 +0000 Subject: [PATCH 2/2] Update reading --- recipes/wip/monitors/htop/recipe.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/wip/monitors/htop/recipe.toml b/recipes/wip/monitors/htop/recipe.toml index 8730648ea..f4e554be4 100644 --- a/recipes/wip/monitors/htop/recipe.toml +++ b/recipes/wip/monitors/htop/recipe.toml @@ -1,4 +1,4 @@ -#TODO "unsupported architecture" +#TODO Promote [source] git = "https://github.com/willnode/htop" branch = "redox"