From b997f7abd9f7d67fc3db65af72ee6ff3de3a8a59 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 10 Mar 2026 17:07:34 +0700 Subject: [PATCH 1/2] Replace rustpython to python312 --- native_bootstrap.sh | 2 +- recipes/dev/rustpython/recipe.toml | 2 +- recipes/groups/desktop/recipe.toml | 1 - recipes/groups/dev-essential/recipe.toml | 4 ++-- recipes/other/cookbook/recipe.toml | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/native_bootstrap.sh b/native_bootstrap.sh index b3fea5b6d..4b5411bd3 100755 --- a/native_bootstrap.sh +++ b/native_bootstrap.sh @@ -893,8 +893,8 @@ redox() patch \ pkgar \ pkg-config \ + python312 \ rust \ - rustpython \ sdl1 \ sdl2-ttf \ vim" diff --git a/recipes/dev/rustpython/recipe.toml b/recipes/dev/rustpython/recipe.toml index 267313109..bbed445a6 100644 --- a/recipes/dev/rustpython/recipe.toml +++ b/recipes/dev/rustpython/recipe.toml @@ -1,6 +1,6 @@ [source] git = "https://github.com/RustPython/RustPython" -# newer rev requires TLS 1.3 (openssl3) and 'bits/libc-header-start.h' for bindgen +# newer rev requires 'bits/libc-header-start.h' for bindgen rev = "2025-10-13-main-51" shallow_clone = true patches = [ diff --git a/recipes/groups/desktop/recipe.toml b/recipes/groups/desktop/recipe.toml index 36544a83a..a6503ae19 100644 --- a/recipes/groups/desktop/recipe.toml +++ b/recipes/groups/desktop/recipe.toml @@ -16,6 +16,5 @@ dependencies = [ "orbutils", "patchelf", "pop-icon-theme", - "rustpython", "shared-mime-info", ] diff --git a/recipes/groups/dev-essential/recipe.toml b/recipes/groups/dev-essential/recipe.toml index 31fc40b80..eb24f5703 100644 --- a/recipes/groups/dev-essential/recipe.toml +++ b/recipes/groups/dev-essential/recipe.toml @@ -7,13 +7,13 @@ dependencies = [ "gnu-binutils", "gnu-make", "gnu-grep", + "perl5", + "python312", "ripgrep", - "rustpython", "lua54", "nasm", "patch", "pkg-config", "rust", "sed", - "strace", ] diff --git a/recipes/other/cookbook/recipe.toml b/recipes/other/cookbook/recipe.toml index 44dfa7cf6..17cfee67d 100644 --- a/recipes/other/cookbook/recipe.toml +++ b/recipes/other/cookbook/recipe.toml @@ -25,7 +25,7 @@ dependencies = [ "nasm", "pkg-config", "pkgar", - "rustpython", + "python312", "sed", "wget", ] From 26901322032c02effd058d53406e035e0983b68c Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 10 Mar 2026 17:12:57 +0700 Subject: [PATCH 2/2] Make lua dynamically linked --- recipes/dev/lua54/recipe.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes/dev/lua54/recipe.toml b/recipes/dev/lua54/recipe.toml index ea9e54065..6ff71a4be 100644 --- a/recipes/dev/lua54/recipe.toml +++ b/recipes/dev/lua54/recipe.toml @@ -5,12 +5,13 @@ blake3 = "e51c2f347e3185479d5ff95cae8ac77511db486853269443c56bedaa0a6ae629" [build] template = "custom" script = """ +DYNAMIC_INIT rsync -av --delete "${COOKBOOK_SOURCE}/" ./ "${COOKBOOK_MAKE}" -j"${COOKBOOK_MAKE_JOBS}" posix \ - AR="${TARGET}-ar rcu" \ - CC="${CC_WRAPPER} ${TARGET}-gcc -std=gnu99" \ - RANLIB="${TARGET}-ranlib" \ - SYSLDFLAGS="-static" + AR="${AR} rcu" \ + CC="${CC} -std=gnu99" \ + RANLIB="${RANLIB}" \ + SYSLDFLAGS="$LDFLAGS" "${COOKBOOK_MAKE}" install INSTALL_TOP="${COOKBOOK_STAGE}" """