-
Notifications
You must be signed in to change notification settings - Fork 787
Fix flatpak packaging to a working state #6678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
f4c1020
to
3284ae5
Compare
2b4716b
to
dfbfdc3
Compare
0be3824
to
7276f07
Compare
7fdbf01
to
a037432
Compare
Rebased to |
<!-- | ||
TODO: Generate manifest location data. | ||
|
||
Ref: https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines#manifest-location | ||
|
||
<custom> | ||
<value key="flathub::manifest">https://github.com/ghostty-org/ghostty/blob/<hash>/flatpak/com.mitchellh.ghostty.yml</value> | ||
</custom> | ||
--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
a878247
to
6b436db
Compare
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
6b436db
to
e20e99b
Compare
Rebased to |
Is there anything that's holding back this PR (or reviewing of it)? 😃 |
To quote Mitchell from Discord:
|
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.