Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[FEAT] Kindle building documentation

未关闭 适合新手
#2,657 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
65/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, cmake

调研方向

从提供的 CMake 命令开始,并查阅 README 或 Wiki 中现有的构建说明。确认 Kindle 特有的先决条件,以及所述构建需要哪些选项;完成的标准是读者能够按照文档使用 fclang 为已越狱的 Kindle 构建 Fastfetch。

由索引模型根据 Issue 内容生成。

描述

enhancement
Description

Hi, I managed to get Fastfetch to build natively for a Kindle Paperwhite using a wrapper I made for Clang called fclang. It would be interesting if you could add documentation for how to build Fastfetch using CMake and fclang with clang to the Wiki or README or whereever.

Motivation

Because I'm not really a fan of the alternative (KindleFetch) program. I just prefer the amount of tools that are in fastfetch instead.

Additional context

I managed to build it using:

mkdir -p build && cd build
cmake .. \
  -DCMAKE_C_COMPILER=fclang \
  -DCMAKE_SYSTEM_NAME=Linux \
  -DCMAKE_SYSTEM_PROCESSOR=arm \
  -DENABLE_VULKAN=OFF \
  -DENABLE_OPENCL=OFF \
  -DENABLE_SQLITE3=OFF \
  -DENABLE_CHAFA=OFF \
  -DENABLE_DBUS=OFF \
  -DBUILD_TESTS=OFF
make -j$(nproc)

On my Debian machine. As mentioned in fclang, I did have to do some package installing to get it working on my Kindle Paperwhite 1 (specifically installing the libc armel architecture packages from apt on Debian latest).

And this is only possible using a jailbroken Kindle. Otherwise, it's impossible to run programs on a Kindle natively.

I don't think it's possible without changes to the CMake configuration to build this without my Clang wrapper fclang. This is because it changes the compiler --target variable which I'm mostly sure CMake doesn't do properly. fclang also has presets specifically for different versions of Kindle devices, so it may be possible to get fastfetch to work properly on other Kindles as well.

主要语言
C
星标
25.1k
派生
928
平均合并
16 小时 57 分钟
30 天内合并 PR
18

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fastfetch-cli/fastfetch 的其他 Issue

查看 fastfetch-cli/fastfetch 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。