Instructions regarding Flatpak build and deployment.
flatpakflatpak-builderorg.gnome.Platformorg.freedesktop.Sdk.Extension.rust-stable
The current version of
org.gnome.Platformis 48.
Install the following dependencies:
flatpak install --runtime org.gnome.Platform org.freedesktop.Sdk.Extension.rust-stable
# write --system instead if you want for all system users
flatpak install --user org.gnome.Sdk//47 org.gnome.Platform//47To build the development version of the app for Flatpak:
$ flatpak-builder flatpak_build ./build-aux/uz.xinux.EIMZOManager.Devel.json --force-cleanTo build the release version of the app for Flatpak:
$ flatpak-builder flatpak_build ./build-aux/uz.xinux.EIMZOManager.json --force-cleanTo verify that the build was successful, run the following:
$ flatpak-builder --user --install --force-clean flatpak_build ./build-aux/uz.xinux.EIMZOManager.Devel.json
$ flatpak run uz.xinux.EIMZOManager.Devel.json$ flatpak-builder --user --install --force-clean flatpak_build ./build-aux/uz.xinux.EIMZOManager.json
$ flatpak run uz.xinux.EIMZOManager.jsonTo make a release to Flathub, run flatpak.sh, take the files and upload them to the new release.
Once they are uploaded, edit uz.xinux.EIMZOManager.json and replace the url of the source with the new link of the tar.xz file uploaded to the release.
Remember to replace hash with a newly generated hash for the tar.xz file:
$ sha256sum done-release.tar.xz
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/xinux-org/e-imzo/releases/download/version/done-release.tar.xz", // New download url
"sha256" : "dcb976ea39287790728399151a9c30926e242a01fa9c68f13ff1d95b48fb2b1f" // New hash
}
]Then, push changes to https://github.com/flathub/uz.xinux.EIMZOManager.