Closed Alexander-Wilms closed 5 years ago
I think it would be nice if LibrePCB could be provided as a Flatpak via Flathub.
Yes, that would be great :)
Below is a simple manifest, which I used to build LibrePCB.
Nice, thanks! :+1:
Are you interested in resolving https://github.com/LibrePCB/LibrePCB/issues/313 and https://github.com/LibrePCB/LibrePCB/issues/314? Then I could follow the App Submission instructions.
I'll try. Flathub requires stable releases, though. Until then one could use Gitlab CI to provide nightlies, like e.g. SuperTux does it: https://gitlab.com/SuperTux/flatpak
Hmm okay, I think we could provide our nightly flatpaks directly on https://download.librepcb.org. And as soon as we have stable releases, we can submit them to the official Flathub.
I was able to use GitLab-CI to automatically build the flatpak: https://gitlab.com/LibrePCB/librepcb-flatpak/.
The bundle is hosted at https://download.librepcb.org/nightly_builds/master/librepcb-nightly-linux-x86_64.flatpak and the repository at https://download.librepcb.org/flatpak_repository/.
Usage:
flatpak remote-add --no-gpg-verify librepcb https://download.librepcb.org/flatpak_repository/
flatpak install librepcb org.librepcb.LibrePCB
flatpak run org.librepcb.LibrePCB
@Alexander-Wilms Could you try if it also works for you?
Unfortunately the mimetypes are not installed properly...
I can try installing it in a few minutes. I think anything that should be exported needs to have the org.librepcb.LibrePCB prefix: https://github.com/flathub/org.jamovi.jamovi/issues/9
Thanks for the repo, it works fine here. Only thing to note is that one needs to run flatpak install
with sudo, since the build isn't signed: https://github.com/flatpak/flatpak/issues/1015
I think anything that should be exported needs to have the org.librepcb.LibrePCB prefix
Done in https://github.com/LibrePCB/LibrePCB/commit/7736854e21f4472385b93b4afa2a9e2093cb387f, now it seems to work :smiley:
Thanks for the repo, it works fine here.
Perfect :+1:
Only thing to note is that one needs to run flatpak install with sudo, since the build isn't signed
True...
Now the open tasks are:
I submitted LibrePCB 0.1.0 to Flathub: https://github.com/flathub/flathub/pull/738
Package is now available at Flathub :smiley: https://flathub.org/apps/details/org.librepcb.LibrePCB
I'm not sure if this or LibrePCB/librepcb is the proper place to file this request. I think it would be nice if LibrePCB could be provided as a Flatpak via Flathub. Below is a simple manifest, which I used to build LibrePCB. It seems to work fine so far; you can test it like this:
Contents of org.librepcb.LibrePCB.yaml:
You also need the appdata file from https://github.com/LibrePCB/LibrePCB/issues/314