跳到正文
cccskills
免费在 GitHub 公开

build-kobo

Cross-compile Cadmus for Kobo e-reader devices (ARM Linux). Use this when asked to build a Kobo release, cross-compile for ARM, or prepare a device binary.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Use cadmuscli build-kobo to cross-compile Cadmus for Kobo devices. The Linaro ARM toolchain is supported on both Linux and macOS hosts.

Basic usage

# Cross-compile for Kobo
cadmuscli build-kobo

# Build with specific Cargo feature flags
cadmuscli build-kobo --features test

What it does

  1. Verifies the Linaro ARM toolchain is available on PATH
  2. Runs cargo build --release --target arm-unknown-linux-gnueabihf -p cadmus

Thirdparty dependencies (zlib, bzip2, libpng, libjpeg, openjpeg, jbig2dec, libwebp, freetype2, harfbuzz, gumbo, djvulibre, mupdf) are tracked as git submodules and built automatically by the build-deps crate's build.rs when needed. On a warm cache, no submodule initialisation or C/C++ compilation happens.

Output

The compiled binary is written to: target/arm-unknown-linux-gnueabihf/release/cadmus

Prerequisites

  • Linux or macOS — cross-compilation is supported on both platforms
  • Linaro ARM toolchain on PATH: arm-linux-gnueabihf-gcc, arm-linux-gnueabihf-ar (provided by the devenv shell)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build Cadmus on Linux and macOS hosts using cadmuscli. Use when asked how to compile, test, lint, or run the project locally.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

Build, test, and lint Cadmus from a jj sibling workspace that has no .git (non-colocated checkout). Use when jj workspace root is a sibling tmp/agent workspace and builds fail with git submodule or .gitmodules errors, empty thirdparty/ sources, cache-marker misses, or missing sqlite.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

Run clippy locally and report only issues in the current diff, matching the CI reviewdog flow. Use when asked how to lint changed code or get clippy feedback on a branch before pushing.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

Resolve failed Renovate or Dependabot dependency update PRs by fixing version constraints, API breaking changes, and verifying build/test/format compliance. Use when a dependency bump PR fails CI, Cargo cannot select versions, or a crate update requires code migration.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

docs

免费

Build the full Cadmus documentation website (mdBook + cargo doc + Storybook + Next.js). Use this when asked to build, preview, or update the documentation site.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

Fetch Cadmus application logs from Loki by run ID. Use when asked to look up logs for a specific run, debug a device session, or find log output for a given run ID.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

查看 OGKevin 的全部技能

报告此技能的问题