Fix flatpak packaging to a working state - #6678
Conversation
f4c1020 to
3284ae5
Compare
2b4716b to
dfbfdc3
Compare
0be3824 to
7276f07
Compare
7fdbf01 to
a037432
Compare
|
Rebased to |
There was a problem hiding this comment.
This isnt enforced by the flathub review process. At least I havent ran into this at all when publishing flatpak manifests to Flathub
There was a problem hiding this comment.
It sounds like a requirement if you're publishing straight from here to Flathub, though. At least I see that Firefox and OBS are following it.
|
I'm trying to verify this so we can get it merged but I'm getting build errors locally: Any ideas? |
Looks like it's zigimg again. They force pushed their master branch so now the commit referenced is unreachable from default branch. Maybe I'll have to fix the cache gen script to prefer downloading archives instead... |
a037432 to
7e387a6
Compare
|
Rebased and fixed the issue with zigimg. The flatpak should build correctly now. |
05a6719 to
a878247
Compare
|
Rebased to |
6b436db to
e20e99b
Compare
|
Rebased to |
|
Is there anything that's holding back this PR (or reviewing of it)? 😃 |
|
To quote Mitchell from Discord:
|
|
Okay hurray the build works for me. I want to add some CI checks next and we should be good. CI may be annoying though lets see! |
|
Flathub recently moved to github workflows for CI, maybe there would be something useful there? |
9de1edd to
0f69195
Compare
|
Okay, a couple important CI failures and I'm not quite sure what they are yet:
If anyone has ideas, that's blocking this, because we need CI to make sure this doesn't bitrot. |
It's correct to fail, the lock file in |
This should make testing Flatpak builds a lot easier.
To build, enter `flatpak/` directory and run:
flatpak-builder --repo=repo builddir com.mitchellh.ghostty.yml
alternatively, using org.flatpak.Builder flatpak:
flatpak run -p org.flatpak.Builder \
--repo=repo \
builddir \
com.mitchellh.ghostty.yml
The resulting flatpak can be installed using
flatpak install ./repo com.mitchellh.ghostty
Credit of AppStream metadata goes to @yorickpeterse.
Flatpak will strip them out on its own into an extension package, useful for debugging
This variant is built in Debug mode and is given a different desktop file so it could be installed side-by-side with regular Ghostty.
* Added URLs to more resources * Fixed developer ID * Added device compatibility information
0f69195 to
1fa78e7
Compare
1fa78e7 to
946cf5a
Compare
|
Good catch, trying again. |
|
It might be useful to also build the |
|
Thanks, CI looks good! I'm going to polish up the runs and dependencies a bit and we should b good |
mitchellh
left a comment
There was a problem hiding this comment.
Thanks for sticking with this PR. With the Flatpak build being verified in CI now this should help keep everything much more stable. 😄
This should make testing Flatpak builds a lot easier.
To build, enter
flatpak/directory and run:alternatively, using org.flatpak.Builder flatpak:
The resulting flatpak can be installed using
Credit of AppStream metadata goes to @yorickpeterse.