From 64064962a95eb810054ebd344cc1cc0ad2b0c4fe Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 17 May 2026 15:25:38 +0700 Subject: [PATCH] Wholesale /usr tidyup part II --- recipes/dev/luarocks/recipe.toml | 5 +-- recipes/dev/rustpython/recipe.toml | 6 ++-- recipes/games/openjk/recipe.toml | 40 +++-------------------- recipes/libs/openssl1/recipe.toml | 8 ++--- recipes/libs/sdl-gfx/recipe.toml | 20 +++--------- recipes/libs/sdl-gfx/redox.patch | 20 ------------ recipes/libs/sdl1/recipe.toml | 23 ++++++------- recipes/libs/sdl2-mixer/recipe.toml | 4 +-- recipes/wip/libs/other/libicu/recipe.toml | 5 ++- recipes/wip/x11/xcb-proto/recipe.toml | 3 ++ 10 files changed, 35 insertions(+), 99 deletions(-) delete mode 100644 recipes/libs/sdl-gfx/redox.patch diff --git a/recipes/dev/luarocks/recipe.toml b/recipes/dev/luarocks/recipe.toml index 799913a7..991d11d6 100644 --- a/recipes/dev/luarocks/recipe.toml +++ b/recipes/dev/luarocks/recipe.toml @@ -7,9 +7,10 @@ dependencies = [ "lua54" ] script = """ - +DYNAMIC_INIT COOKBOOK_CONFIGURE_FLAGS=( - --sysconfdir=$COOKBOOK_SYSROOT + --prefix=/usr + --sysconfdir=/etc --with-lua-include=$COOKBOOK_SYSROOT/include --with-lua-bin=$COOKBOOK_SYSROOT/bin --with-lua-lib=$COOKBOOK_SYSROOT/lib diff --git a/recipes/dev/rustpython/recipe.toml b/recipes/dev/rustpython/recipe.toml index bbed445a..e0085c89 100644 --- a/recipes/dev/rustpython/recipe.toml +++ b/recipes/dev/rustpython/recipe.toml @@ -16,15 +16,15 @@ template = "custom" script = """ DYNAMIC_INIT -export BUILDTIME_RUSTPYTHONPATH=/lib/rustpython +export BUILDTIME_RUSTPYTHONPATH=/usr/lib/rustpython export OPENSSL_DIR="${COOKBOOK_SYSROOT}" export ZLIB_STATIC=1 cookbook_cargo --features ssl -mkdir -p "${COOKBOOK_STAGE}/lib" +mkdir -p "${COOKBOOK_STAGE}/usr/lib" rsync -aE \ --exclude 'test/' \ --exclude '__pycache__/' \ --exclude '*.pyc' \ --exclude '/README.md' \ - "${COOKBOOK_SOURCE}"/Lib/ "${COOKBOOK_STAGE}/lib/rustpython" + "${COOKBOOK_SOURCE}"/Lib/ "${COOKBOOK_STAGE}/usr/lib/rustpython" """ diff --git a/recipes/games/openjk/recipe.toml b/recipes/games/openjk/recipe.toml index b1c8322e..04bc3075 100644 --- a/recipes/games/openjk/recipe.toml +++ b/recipes/games/openjk/recipe.toml @@ -14,36 +14,8 @@ dependencies = [ ] script = """ DYNAMIC_INIT - -export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" -export CXXFLAGS="${CXXFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" -cat > redox.cmake <