-
Notifications
You must be signed in to change notification settings - Fork 40
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
Flatpak packaging scripts #13
Conversation
Additional note, this PR also defines official 'long' name of Mirage. Its based on recommended identifiers (https://docs.flatpak.org/en/latest/using-flatpak.html#identifiers) and similar to the ones using github for the distribution/development. If you have some other idea, please correct it. |
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.
I'm waiting for the massive KDE SDK to finish downloading currently, once I can build the flatpak I might update the review.
I guess this is fine since I don't have a domain name, shouldn't it be |
Running the flatpak-builder command ends with this:
Do you have any idea? |
Is that building for AMD64 on AMD64, right? Maybe reboot is needed after flatpak install? |
I solved it, turns out my /var partition mounted with Now I have another problem:
I have Python 3.8 outside of this and jsonschema installs fine. It also looks like 3.8 is installed in the flatpak-env dir. |
|
All the suggested changes should be in now, please review |
Re python: inside Flatpak KDE SDK 5.12, looks like we have python 3.7. Maybe that is an issue? Would it work for you if you go immediately into the step with building from available |
packaging/flatpak/README.md
Outdated
To build flatpak package, you will need flatpak, flatpak-builder, | ||
runtime and SDK (KDE 5.12), and flatpak-builder. flatpak-builder is |
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.
flatpak-builder is listed twice.
I think this would flow better: "you will need flatpak, flatpak-builder, and the KDE 5.12 runtime + SDK."
packaging/flatpak/README.md
Outdated
[requirements.txt](../../requirements.txt). At the moment of writing, | ||
included packages are `multidict` with the version that installs in | ||
Flatpak (newer versions seem to have some issues), `uvloop`, and few | ||
packages required for building other packages. |
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.
No need to list the included packages, we can just go see the the requirements files
You mean not running the generate script before the build commands? |
Yes, use mirage.flatpak.yaml as available at repository |
Good news, it builds successfully with the provided yaml! Before merging, some instructions should be added to the README:
The commands should also be changed to have the resulting files in |
You don't need flatpak-pip-generator if the manifest is not generated, so no need to download that. Updates are done as requested. If there are small changes that are needed to be done, please feel free to make them in this branch as the commits from maintainers are allowed. |
I made some more minor improvements. Last question: the installed Mirage flatpak doesn't read the user config ( |
Thanks, looking good! As for settings, they are in |
Wonder why I didn't think about that... Anyway, thanks for all the work. |
I will take a look at publishing the app on both AppImageHub and Flathub next week, until then I'll add the |
This adds packaging scripts for Flatpak and corresponding README. This resolves the first part of issue #1.
Related to #1