From 87d71b053d13a4fc90f16895cc86d8ed661398dc Mon Sep 17 00:00:00 2001 From: David Campbell Date: Mon, 22 Dec 2025 18:03:07 -0500 Subject: [PATCH 1/2] Depend on dejavu, install some more binaries. --- .../games/strategy/hnefatafl-copenhagen/recipe.toml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml b/recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml index 50b08f452..e5c994678 100644 --- a/recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml +++ b/recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml @@ -2,8 +2,7 @@ # 1. The CJK and runes fonts don't load. # 2. On a button press two characters are read in instead of one. # 3. Backspace does not work. -# 4. The command line prompt prints 'deprecated: legacy path "time:4" used by /usr/games/hnefatafl-client'. -# 5. TcpStream.shutdown(): shutdown call failed: Os { code: 38, kind: Unsupported, message: "Function not implemented" } +# 4. TcpStream.shutdown() is not implemented. [source] git = "https://github.com/dcampbell24/hnefatafl" @@ -13,15 +12,16 @@ template = "custom" script = """ "${COOKBOOK_CARGO}" build \ --manifest-path "${COOKBOOK_SOURCE}/${PACKAGE_PATH}/Cargo.toml" \ - --bin hnefatafl-client \ --features client \ --release \ --no-default-features mkdir -pv "${COOKBOOK_STAGE}/usr/bin" -cp -v \ - "target/${TARGET}/release/hnefatafl-client" \ - "${COOKBOOK_STAGE}/usr/bin/hnefatafl-client" + +cp -v "target/${TARGET}/release/hnefatafl-ai" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-ai" +cp -v "target/${TARGET}/release/hnefatafl-client" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-client" +cp -v "target/${TARGET}/release/hnefatafl-server" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-server" +cp -v "target/${TARGET}/release/hnefatafl-text-protocol" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-text-protocol" mkdir -pv "${COOKBOOK_STAGE}"/usr/games mkdir -pv "${COOKBOOK_STAGE}"/ui/apps @@ -33,5 +33,6 @@ mv "${COOKBOOK_STAGE}"/usr/bin/hnefatafl-client "${COOKBOOK_STAGE}"/usr/games/hn [package] dependencies = [ + "dejavu", "noto-color-emoji", ] From 1f71aa8b121d681204a8d66766b3ac75337f0c79 Mon Sep 17 00:00:00 2001 From: David Campbell Date: Mon, 22 Dec 2025 18:17:10 -0500 Subject: [PATCH 2/2] hnefatafl: add freefont dependency. --- recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml b/recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml index e5c994678..1e629209b 100644 --- a/recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml +++ b/recipes/wip/games/strategy/hnefatafl-copenhagen/recipe.toml @@ -34,5 +34,6 @@ mv "${COOKBOOK_STAGE}"/usr/bin/hnefatafl-client "${COOKBOOK_STAGE}"/usr/games/hn [package] dependencies = [ "dejavu", + "freefont", "noto-color-emoji", ]