Page 1 of 1

Elmer package as Flatpak, need testing.

Posted: 07 Apr 2022, 00:16
by andythe_great
Hi,

I have been working on packaging Elmer as Flatpak package and would like the upload the Flathub.
https://www.flatpak.org/
https://flathub.org/home

The source for Flatpak build manifest is here.
https://github.com/kevinsmia1939/flathu ... .csc.Elmer

The ID for Elmer is fi.csc.Elmer which is derive from reverse DNS scheme.
https://specifications.freedesktop.org/ ... ile-naming
But if anybody have a better ID let me know.

I will post how to install it soon, first need to run the build manifest to get test build.

Edit: The submission to Flathub is here as well as the builds.
https://github.com/flathub/flathub/pull/2992

Re: Elmer package as Flatpak, need testing.

Posted: 10 Apr 2022, 19:58
by andythe_great
To test this, first install flatpak.

Elmer's precompiled binary is available as a Flatpak. Any system that supports Flatpak should be able to run Elmer this way. Install Flatpak and add the Flathub repository as directed here.
https://flatpak.org/setup/
To install this testing build of Elmer:

Code: Select all

flatpak install --user https://dl.flathub.org/build-repo/83307/fi.csc.Elmer.flatpakref
There should be a Elmer launcher in your menu.

To uninstall Elmer:

flatpak remove elmer

Send bug reports regarding Elmer packaged as Flatpak here in this thread.

Re: Elmer package as Flatpak, need testing.

Posted: 08 Sep 2022, 00:39
by SwizzlaKalongie
Hi,
It seems i'm late to this party. When I try to install this, I get a 404 error. Was this repo deleted or something? And this was since April, why didn't flathub accept it?

Re: Elmer package as Flatpak, need testing.

Posted: 08 Sep 2022, 06:16
by SwizzlaKalongie
The flatpakref wasnt working but I got it to compile using the build manifest. Thanks for packaging this because finally the rest of us non-ubuntu users can conveniently use Elmer :D

For whoever comes along looking next, you can get it done by downloading a copy of everything from https://github.com/kevinsmia1939/flathu ... .csc.Elmer. Make sure to get the contents of the shared-modules folder too. Save the folder somewhere that has lots of disk space because a ton of files will be created in the following steps.

Once you have flatpak-builder installed on your machine, cd into the directory and give the command

Code: Select all

  flatpak-builder build fi.csc.Elmer.yaml  
if there are any issues with getting the sources for any of the modules during the build process, just find the tarball somewhere and edit the manifest to get it from where you found it. After that, once the build completes, you can install it by running the command

Code: Select all

flatpak-builder --user --install --force-clean build fi.csc.Elmer.yaml 
Once that finishes, you can run it from your app launcher like normal

Re: Elmer package as Flatpak, need testing.

Posted: 18 Nov 2022, 06:16
by andythe_great
SwizzlaKalongie wrote: 08 Sep 2022, 00:39 Hi,
It seems i'm late to this party. When I try to install this, I get a 404 error. Was this repo deleted or something? And this was since April, why didn't flathub accept it?
At the moment, the Flatpak manifest need some clean up to do.
Now I have been trying to update with new runtime and dependencies, not does not get it to compile yet.

Re: Elmer package as Flatpak, need testing.

Posted: 19 Nov 2022, 04:36
by andythe_great
Recently got it to build with updated dependencies.
https://github.com/flathub/flathub/pull/2992

Code: Select all

flatpak install --user https://dl.flathub.org/build-repo/119881/fi.csc.Elmer.flatpakref