-
Notifications
You must be signed in to change notification settings - Fork 269
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 Distribution #656
Comments
the core team doesn't have bandwidth to support moar distros, so this bug is open to whoever wants to pick it up :) (i vaguely remember someone already working on one? plus there's already Revolt too) |
You could replace the current offered .deb version with it since Flatpaks are running also on Ubuntu and Debian. Furthermore since Ubuntu is moving back to Gnome they will get even more Flatpak-ish. Promoting a Flatpak version to an official version would be nice :) |
Why Electron? That requires bundling a separate copy of Chrome just for Riot... and again for every other Electron app you might want to use. Why not use WebKitGTK+, the web engine that comes for free the GNOME flatpak runtimes? Revolt uses it:
|
@mcatanzaro funnily enough, author of revolt submitted a PR to package this electron based app into flatpak (#3723) |
@t3chguy @mcatanzaro I am sticking with Revolt myself, but I already have some experience building Flatpaks so it seemed interesting to the contribute the packaging to Riot. If that helps getting more users, and helping support more distributions, then it's a good thing thing for the Matrix ecosystem 😉 |
Riot.im is available as flatpak application on Flathub since a couple of days ago. It works very well in my Debian 9 machine. I think by the directives of the store you can request authorship and maintain the package if you are interested. Quick Installation from the command line: Repo with the build file: https://github.com/flathub/im.riot.Riot |
Would electron-userland/electron-builder#512 be blocking official Flatpak distribution? |
not blocking but means it's not as simple as changing a config line, and instead the whole packing process has to be done/used |
The flatpak from flathub (https://flathub.org/apps/details/im.riot.Riot) seems to be currently maintained (it's been updated to the latest version). It's based on the official Riot deb file, which is a bit of a roundabout way of doing things, but looks like a simple way of doing it. http://docs.flatpak.org/en/latest/electron.html has information about building a flatpak for an Electron application, which is probably a more proper way of doing things (which element-hq/element-web#3723 might be doing). |
It was suggested to me to comment here pointing out the flatpak on flathub currently only supports x64. For the PinePhone, Pinetab, Librem 5, and Raspberry Pis, an ARM64 flatpak would be very useful. So that would be cool if that could happen one day, either through whenever official flatpaks happen or in some other way. |
In my opinion, if the Element Team decides to provide a Flatpak official they should make the Flathub one the official one. The Element Team can request access at Flathub for the Element Flatpak repository if they don't have access yet. |
Now Flathub even provides verification, so having an official app there would look even better! |
This isn't true, we support all glibc-x86_64 Linux machines via the tarball - https://packages.element.io/desktop/install/linux/index.html - we don't have people on the Webapp team with Flatpak / Arch / etc packaging experience so the only autoupdater/package manager we handle is Apt/Deb and delegate support of other packages to the community. |
@t3chguy A fair enough, I didn't know that. But it doesn't seem to be written on the Element website and aside from that I also wouldn't say a tarball is the most user-friendly way of application distribution. So for an end-user without much Linux insights, who relies on a simple method or instructions, effectively only Debian and Ubuntu are officially supported. |
I don't see any way to discover that. To download Element, here's what I do:
That takes me to Debian / Ubuntu x86_64 APT repo instructions. Nowhere on any of those pages did I see a link to a tarball. Did I miss something? Because it looks to me like the tarball is not discoverable, and therefore might as well not exist. Did someone forget to link it on the download page? |
The marketing page you're referring to is just behind, but we've informed all known packagers about it multiple times |
Whether we call element.io a "marketing page" or something else, it is the place where people go when they want to try Element. I think it would be fair to say that a build not listed there is a build not offered. Perhaps this should be reported as an issue of its own? |
That has apparently not been effective, because the Flatpak repo resorted to unpacking the .deb and packaging its executable, and has been doing so until about 13 hours ago, presumably because they discovered the existence of the tarball here in these comments. |
@foresto the commit you linked is from an Element employee. We broadcast the availability of the tarballs in the Element Package Maintainers room weeks ago, the flatpak maintainer is there. |
Oh, so support for generic glibc-x86_64 via this tarball is new? That would make its lack of visibility understandable. I hope it gets a discoverable link soon. Having it available a couple years ago would have saved me some time and frustration. And, there's an Element package maintainers room? That might have been helpful to know as well. |
#597 is the PR which added it
Its an invite only coordination room for maintainers of known public Element community packages, used for security release coordination also |
Are the tarballs signed by Element? |
It'd be nice if the Matrix Foundation handled this instead of letting the Flathub Community do the work. Especially considering the popularity of Flatpaks and the fact that Element is a security sensitive application. This issue is 7 years old now. |
Investigate distributing electron build in a flatpak to support moar distros
The text was updated successfully, but these errors were encountered: