From 0ff9e502f6857b5d1a48657dfeeb94244e322cb9 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 9 Aug 2026 22:36:42 +0800 Subject: [PATCH] fix(build): declare compatibility packages exactly Move ftxui and the gtest development dependency under the compat namespace, and refresh the lockfile so ftxui and the transitive Lua C library retain their canonical identities.\n\nRefs #520 --- mcpp.lock | 24 ++++++++++++------------ mcpp.toml | 6 ++---- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/mcpp.lock b/mcpp.lock index 47786cdd..f02d1892 100644 --- a/mcpp.lock +++ b/mcpp.lock @@ -11,12 +11,24 @@ version = "1.0.8" source = "index+compat@1.0.8" hash = "fnv1a:3672c2797c5f2faf" +[package."compat.ftxui"] +namespace = "compat" +version = "6.1.9" +source = "index+compat@6.1.9" +hash = "fnv1a:f4f0f58dc9107814" + [package."compat.libarchive"] namespace = "compat" version = "3.8.7" source = "index+compat@3.8.7" hash = "fnv1a:e412742c0533bef7" +[package."compat.lua"] +namespace = "compat" +version = "5.4.7" +source = "index+compat@5.4.7" +hash = "fnv1a:6bda787e2c850eac" + [package."compat.lz4"] namespace = "compat" version = "1.10.0" @@ -53,18 +65,6 @@ version = "0.0.2" source = "index+mcpplibs@0.0.2" hash = "fnv1a:8ee8a8e51ac69885" -[package."ftxui"] -namespace = "mcpplibs" -version = "6.1.9" -source = "index+mcpplibs@6.1.9" -hash = "fnv1a:b3ae3d5c6e5a7a91" - -[package."lua"] -namespace = "mcpplibs" -version = "5.4.7" -source = "index+mcpplibs@5.4.7" -hash = "fnv1a:baac1cce64264c57" - [package."mcpplibs.tinyhttps"] namespace = "mcpplibs" version = "0.2.9" diff --git a/mcpp.toml b/mcpp.toml index 9210bc1c..0e0f06f1 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -31,10 +31,8 @@ linkage = "static" [target.aarch64-linux-musl] linkage = "static" -[dependencies] -ftxui = "6.1.9" - [dependencies.compat] +ftxui = "6.1.9" libarchive = "3.8.7" [dependencies.mcpplibs] @@ -43,5 +41,5 @@ xpkg = "0.0.54" tinyhttps = "0.2.9" capi.lua = "0.0.3" -[dev-dependencies] +[dev-dependencies.compat] gtest = "1.15.2"