Brewtarget / brewtarget

Main brewtarget source code repository.
GNU General Public License v3.0
310 stars 134 forks source link

Request: Release as Flatpak or Snap #770

Open BVildljung opened 10 months ago

BVildljung commented 10 months ago

I am unable to install Brewtarget versions later than 3.0.6 using the RPM packages due to multiple dependency issues. This is on the latest version of Fedora.

I was curious if you would consider releasing Brewtarget as a Flatpak or a Snap (or both!). This would make your releases distribution independent and all dependencies would be baked in to the package.

matty0ung commented 10 months ago

Hello. Sorry to hear the RPM isn't working. The way it gets built is not ideal because it's done as a cross-compile on Ubuntu. I'm guessing it's referring to the Debian library names and that Fedora etc have a different naming convention.

We do all the builds on GitHub, but it only offers a small list of OSes (Ubuntu, Windows, MacOS - per https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) so it's not so easy to check things work on, eg, Fedora.

Maybe, as you suggest, Flatpak and/or Snap is better than trying to cross-compile an RPM on a Debian-based system.

If no-one else gets to it in the meantime, I'll try to have a look at this after I'm done on BeerJSON.

penguinpee commented 10 months ago

I am unable to install Brewtarget versions later than 3.0.6 using the RPM packages due to multiple dependency issues. This is on the latest version of Fedora.

I am the maintainer of Brewtarget in Fedora. I am not aware of the release in the repos, 3.0.6, having any issues. Could you elaborate here or open an issue in Bugzilla, please.

If you need an update for a package, you can also contact the package maintainers by opening a Bugzilla ticket or mailing them. For the latest release there was a patch required regarding boost, which I haven't got around applying, yet.

penguinpee commented 10 months ago

Maybe, as you suggest, Flatpak and/or Snap is better than trying to cross-compile an RPM on a Debian-based system.

This is, of course, entirely up to you. If there's demand, I won't object. But I will keep maintaining the Fedora RPM as well. You can tag me on any issues related to the Fedora release.

matty0ung commented 10 months ago

If there are working and supported RPMs then Snaps and Flatpaks are a low priority for me.

Hopefully, @BVildljung, you will find things just work if you use the RPMs from the Fedora repository rather than downloading them from GitHub.

BVildljung commented 10 months ago

Hi, Version 3.0.6 works fine, it is later versions I cannot get installed.

penguinpee commented 10 months ago

Version 3.0.6 works fine, it is later versions I cannot get installed.

I must admit, I was hoping not having to apply that boost patch. But since there appears to be no other easy solution, I will do so and update Brewtarget to the latest release in Fedora shortly.

What release are you on? I'll leave a note here when the update is available in testing.

BVildljung commented 10 months ago

I am on Fedora 38

Thank you!