[FEAT] iOS, iPadOS and tvOS support (jailbroken devices)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 20/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- c, cmake, github-actions
- Domaine
- cli, operating-systems
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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]
- Langage dominant
- C
- Étoiles
- 25.5k
- Forks
- 965
- Merge moyen
- 1 j 3 h
- PR mergées (30 j)
- 25
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fastfetch-cli/fastfetch
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
fastfetch-cli/fastfetch#2780 ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] B1ackOSOuvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
fastfetch-cli/fastfetch#2773 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] Kedi GNU/LinuxPeut-être pris @avfx5 l’a pris il y a 5 jours. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
fastfetch-cli/fastfetch#2755 ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] AuxoOuvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
fastfetch-cli/fastfetch#2754 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] VentoOSPeut-être pris @Goldloli l’a pris il y a 9 jours. Ouvertelogo request
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
fastfetch-cli/fastfetch#2742 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fastfetch-cli/fastfetch
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
zephyrproject-rtos/zephyr#128115 ·
Les mainteneurs répondent en général sous 2 jours
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
elliotchance/vsql#2079 ·
Les mainteneurs répondent en général sous 1 jour
-
[libcbor] update to 0.15.1Ouvertecategory:port-update
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 2 jours
-
docs
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
meshcore-dev/MeshCore#4015 ·
Les mainteneurs répondent en général sous 2 jours