diff --git a/recipes/incoming/cargo-generate.toml b/recipes/cargo-generate.toml similarity index 100% rename from recipes/incoming/cargo-generate.toml rename to recipes/cargo-generate.toml diff --git a/recipes/incoming/cargo-outdated.toml b/recipes/cargo-outdated.toml similarity index 100% rename from recipes/incoming/cargo-outdated.toml rename to recipes/cargo-outdated.toml diff --git a/recipes/incoming/monolith.toml b/recipes/monolith.toml similarity index 100% rename from recipes/incoming/monolith.toml rename to recipes/monolith.toml diff --git a/recipes/system-libs.patch b/recipes/system-libs.patch new file mode 100644 index 00000000..f0e2b4d6 --- /dev/null +++ b/recipes/system-libs.patch @@ -0,0 +1,26 @@ +diff --git a/kalk/Cargo.toml b/kalk/Cargo.toml +index 99915ea..1d00a9c 100644 +--- a/kalk/Cargo.toml ++++ b/kalk/Cargo.toml +@@ -19,4 +19,9 @@ + wasm-bindgen = "0.2.69" ++ ++[dependencies.gmp-mpfr-sys] ++version = "1.6.2" ++default-features = false ++features = ["use-system-libs"] + + [dev-dependencies] + wasm-bindgen-test = "0.3.19" +diff --git a/Cargo.lock b/Cargo.lock +index 99915ea..1d00a9c 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -165,6 +165,7 @@ + name = "kalk" + version = "3.2.0" + dependencies = [ ++ "gmp-mpfr-sys", + "lazy_static", + "regex", + "rug", diff --git a/recipes/system-lua.patch b/recipes/system-lua.patch new file mode 100644 index 00000000..ee43908b --- /dev/null +++ b/recipes/system-lua.patch @@ -0,0 +1,132 @@ +diff --git a/yazi-actor/Cargo.toml b/yazi-actor/Cargo.toml +index 71830932..2ef6f5b6 100644 +--- a/yazi-actor/Cargo.toml ++++ b/yazi-actor/Cargo.toml +@@ -12,7 +12,6 @@ repository = "https://github.com/sxyazi/yazi" + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-binding/Cargo.toml b/yazi-binding/Cargo.toml +index bcb2fa1f..ebd96416 100644 +--- a/yazi-binding/Cargo.toml ++++ b/yazi-binding/Cargo.toml +@@ -12,7 +12,6 @@ repository = "https://github.com/sxyazi/yazi" + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-core/Cargo.toml b/yazi-core/Cargo.toml +index 9feeb567..23a04000 100644 +--- a/yazi-core/Cargo.toml ++++ b/yazi-core/Cargo.toml +@@ -13,7 +13,6 @@ rust-version.workspace = true + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-dds/Cargo.toml b/yazi-dds/Cargo.toml +index 0262ba94..ad87041e 100644 +--- a/yazi-dds/Cargo.toml ++++ b/yazi-dds/Cargo.toml +@@ -12,7 +12,6 @@ repository = "https://github.com/sxyazi/yazi" + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-fm/Cargo.toml b/yazi-fm/Cargo.toml +index bfa2f30b..5411c3cb 100644 +--- a/yazi-fm/Cargo.toml ++++ b/yazi-fm/Cargo.toml +@@ -22,7 +22,6 @@ inherits = "release" + panic = "unwind" + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-parser/Cargo.toml b/yazi-parser/Cargo.toml +index a3147d2a..39702b94 100644 +--- a/yazi-parser/Cargo.toml ++++ b/yazi-parser/Cargo.toml +@@ -12,7 +12,6 @@ repository = "https://github.com/sxyazi/yazi" + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-plugin/Cargo.toml b/yazi-plugin/Cargo.toml +index ef0553c4..7cdf7f48 100644 +--- a/yazi-plugin/Cargo.toml ++++ b/yazi-plugin/Cargo.toml +@@ -12,7 +12,6 @@ repository = "https://github.com/sxyazi/yazi" + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-runner/Cargo.toml b/yazi-runner/Cargo.toml +index 97434127..2d4d14ce 100644 +--- a/yazi-runner/Cargo.toml ++++ b/yazi-runner/Cargo.toml +@@ -13,7 +13,6 @@ rust-version.workspace = true + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-scheduler/Cargo.toml b/yazi-scheduler/Cargo.toml +index 549e3b0b..ff8e528a 100644 +--- a/yazi-scheduler/Cargo.toml ++++ b/yazi-scheduler/Cargo.toml +@@ -13,7 +13,6 @@ rust-version.workspace = true + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-shim/Cargo.toml b/yazi-shim/Cargo.toml +index a98a4a5a..01c50ed7 100644 +--- a/yazi-shim/Cargo.toml ++++ b/yazi-shim/Cargo.toml +@@ -13,7 +13,6 @@ rust-version.workspace = true + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] +diff --git a/yazi-widgets/Cargo.toml b/yazi-widgets/Cargo.toml +index bcf1f357..bcaff88b 100644 +--- a/yazi-widgets/Cargo.toml ++++ b/yazi-widgets/Cargo.toml +@@ -13,7 +13,6 @@ rust-version.workspace = true + workspace = true + + [features] +-default = [ "vendored-lua" ] + vendored-lua = [ "mlua/vendored" ] + + [dependencies] diff --git a/recipes/incoming/tuc.toml b/recipes/tuc.toml similarity index 100% rename from recipes/incoming/tuc.toml rename to recipes/tuc.toml