feat(init): emb init flatpak --sdk extends the embedder's flatpak-sdk target
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cmake, dart, github-actions
- Domain
- build-system, cli
Research direction
Start with the code that emb init flatpak --sdk <arch> uses to write each sdk-<arch> target and the workflow's apt package list, which the payload does not name by path. Locate the generator in this Dart repo, and check whether the output needs extends: source#flatpak-sdk-<arch> with provider: flatpak-sdk kept and libpugixml-dev added. Blocked on #357 and on an embedder pin that includes toyota-connected/ivi-homescreen#888; done when the generated manifest matches the ivi-homescreen layout.
Written by the indexing model from the issue text.
Description
The sdk-<arch> target emb init flatpak --sdk <arch> writes does not build with the default embedder. It names only provider: flatpak-sdk and the triple, so it has none of what ivi-homescreen needs for a flatpak-sdk build:
wayland-cxx-scanner, built host-native. A flatpak-sdk build is a cross build to CMake, andcmake/wayland_cxx.cmakeresolves the scanner withfind_program(run).- libstdc++ instead of libc++ under clang (run).
ivi-homescreen now has both: flatpak-sdk-x86_64 and flatpak-sdk-aarch64 in .emb/flatpak.emb.yaml (toyota-connected/ivi-homescreen#887), and the stdlib choice (toyota-connected/ivi-homescreen#888). With them, the generated repo builds and packages on ubuntu-latest (run).
For the default embedder, emb init --sdk should:
- write
extends: source#flatpak-sdk-<arch>on eachsdk-<arch>target. Keepprovider: flatpak-sdk, since the manifest's sharedprovider: arm-gnuotherwise wins over the extended target's (#359); - add
libpugixml-devto the workflow's apt list. It is the scanner's host build dep, and the target declares it inhost_dev_packages; - pin the embedder at a commit with toyota-connected/ivi-homescreen#888 in it.
v3.0HEAD when generated is fine once that merges; until then it is not.
Needs #357 first, or the workflow also has to emb boards sync. Extending into ivi-homescreen resolves its Raspberry Pi targets, which extend the board library.
Not needed, checked: the AppArmor kernel.apparmor_restrict_unprivileged_userns=0 that firebase_ffi's flatpak job sets. flatpak-builder built and packaged without it (run).
- Dominant language
- Dart
- Stars
- 15
- Forks
- 6
- Avg merge
- 6h 44m
- Merged PRs (30d)
- 60
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from toyota-connected/emb_cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
toyota-connected/emb_cli#358 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 42/100
toyota-connected/emb_cli#359 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
toyota-connected/emb_cli#357 ·
Maintainers usually reply within 1 day
All issues in toyota-connected/emb_cli
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 60/100
hiddify/hiddify-app#2668 ·
Maintainers usually reply within 1 day
-
area: import beta cluster: callers box improvements severity: minor status: confirmed type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ibanner56/CallersCompendium#2366 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ccch1mneyyy/dsh-Go#1777 ·
Maintainers usually reply within 1 day
-
area: mobile documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
CommandLineCoding/Elephant#383 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100