[FEAT] iOS, iPadOS and tvOS support (jailbroken devices)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 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時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
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 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
メンテナーはふだん 13 日以内に返信