[FEAT] iOS, iPadOS and tvOS support (jailbroken devices)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, cmake, github-actions
- 领域
- cli, operating-systems
调研方向
Read the issue’s linked branch and CI workflow, then compare its iOS and tvOS build jobs with the existing Android job. The proposed work spans platform-specific modules and shared Apple code; success means CI cross-compiles both targets and checks the binaries, with device testing left to contributors.
由索引模型根据 Issue 内容生成。
描述
Description
Follow-up to #2076. I read your reply there: you don't have a device, and might not want to jailbreak one if you did. So I'd like to ask whether a version you can maintain without a device would be acceptable, before opening a PR.
What I have in mind (and have working on a branch):
- fastfetch builds for iOS / iPadOS / tvOS from the unmodified tree, unlike the patch scripts in #2076, with either
-DCMAKE_SYSTEM_NAME=iOS/tvOSor the toolchains jailbreaks use (Procursus, Theos, clang on the device). - A CI job cross-compiles both on the existing macOS runner and checks the binary without running it, like the Android job. Build breakage shows up in CI, not on someone's device.
- Most modules reuse the existing
_apple/ Unix code. The iOS-specific code is a few small files: OS, Host, CPU / GPU name, Display, Packages (dpkg) and Battery. The rest uses_nosupportstubs. - The changes to shared code are
__has_include/TARGET_OS_*guards and don't change behavior on macOS or anywhere else. - Testing on real devices and fixing bugs would be up to contributors who have them. I can test on an Apple TV HD (tvOS 26) and an iPad Pro 10.5" (iPadOS 17). I also have a plethora of iOS devices (~60) going all the way back to the original iPhone right up to the A18-era of devices. The vast majority of these can also be jailbroken with relative ease and I'd be happy to perform a wider array of tests and assist with ongoing bug fixes/maintenance
Questions before I open a PR:
- Would you accept iOS / tvOS on these terms: covered by CI, with device testing left to contributors?
- If so, would you prefer one PR or a few smaller ones (e.g. the SDK build fixes in shared code first, then the platform itself)?
Motivation
Procursus ships neofetch for iOS and tvOS but no fastfetch, because fastfetch doesn't build for these platforms without patches.
Additional context
Branch: https://github.com/joakee/fastfetch/tree/ios-tvos-support
CI on the branch, including the iOS / tvOS jobs: https://github.com/joakee/fastfetch/actions/runs/46914475545
OS: iPadOS 17.7.10 (21H450) arm64
Host: iPad Pro (10.5-inch)
Kernel: Darwin 23.6.0
Packages: 451 (dpkg)
Shell: zsh 5.9
Display: 1668x2224 @ 2x in 11" [Built-in]
CPU: Apple A10X Fusion (3)
GPU: Apple A10X Fusion [Integrated]
Memory: 3.11 GiB / 3.91 GiB (80%)
Disk (/): 41.06 GiB / 59.59 GiB (69%) - apfs [Read-only]
Battery (Built-in): 55% [AC Connected, Charging]
- 主要语言
- C
- 星标
- 25.5k
- 派生
- 965
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 25
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fastfetch-cli/fastfetch 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
fastfetch-cli/fastfetch#2780 ·
维护者通常 1 天内回复
-
[LOGO] B1ackOS未关闭logo request
难度 2/5 1-3 小时 新手友好度 68/100
fastfetch-cli/fastfetch#2773 · 1 条评论 ·
维护者通常 1 天内回复
-
[LOGO] Kedi GNU/Linux可能已有人在做 @avfx5 于 5 天前认领。 未关闭logo request
难度 2/5 1-3 小时 新手友好度 70/100
fastfetch-cli/fastfetch#2755 ·
维护者通常 1 天内回复
-
[LOGO] Auxo未关闭logo request
难度 2/5 1-3 小时 新手友好度 64/100
fastfetch-cli/fastfetch#2754 · 4 条评论 ·
维护者通常 1 天内回复
-
[LOGO] VentoOS可能已有人在做 @Goldloli 于 9 天前认领。 未关闭logo request
难度 1/5 1 小时以内 新手友好度 80/100
fastfetch-cli/fastfetch#2742 ·
维护者通常 1 天内回复
查看 fastfetch-cli/fastfetch 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
zephyrproject-rtos/zephyr#128115 ·
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
elliotchance/vsql#2079 ·
维护者通常 1 天内回复
-
category:port-update
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 2 天内回复
-
docs
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
meshcore-dev/MeshCore#4015 ·
维护者通常 2 天内回复