Use AppImage to distribute Firefox binaries for linux
Categories
(Release Engineering :: General, enhancement, P5)
Tracking
(Not tracked)
People
(Reporter: kskarthik91, Unassigned)
References
Details
(Keywords: feature)
Updated•9 years ago
|
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Comment 4•8 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
noise |
Comment 9•7 years ago
|
||
noise |
Comment 10•7 years ago
|
||
noise |
Reporter | ||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Still happy to help making this happen. We could
- Generate the AppImages as part of Mozilla's existing pipelines
- Convert the binaries from the builds that get made already into AppImage format
(without the need to have extra compile runs) - Generate .zsync files that will allow for incremental (think "binary diff") updates
- Use libappimageupdate to make the AppImages updateable without the need for an external tool
- Embed signatures
and much more. Just let me know what is needed, and how I can best help.
Here is what the LibreOffice project is doing:
- https://www.libreoffice.org/download/appimage/
- https://github.com/antoniofaccioli/libreoffice-appimage
AppImage developers are on #AppImage on irc.freenode.net.
Comment 14•7 years ago
|
||
Dave, can you please check this ?
Comment 15•7 years ago
|
||
Since this is building and packaging Firefox, it's more appropriate for Releng.
Comment 16•6 years ago
|
||
I am not an technical person. But this doesn't seems like anybody is willing to help " probono". He is willing to learn and help you guys in the process of building an AppImage for Firefox. You guys should at least hear him out in technical perspective and try it. Then you should decide, is it worth your time & resources. Sorry, if I offended anyone and English isn't my first language so forgive my mistakes.
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Why can't users of GNU / Linux systems have packaged programs similar to .exe or .DMG ?
AppImage is a good solution.
Comment 19•6 years ago
|
||
I must say that I would use an AppImage of Firefox were it available. I like the simplicity of setting them up and running them. I do not always bring my distro up to the latest version but I would use the newer Browser(s) as they roll out.
Comment 20•6 years ago
|
||
Yesterday a major (zero day) security patch was released in version 72.0.1 and the distros are playing catch up. Ubuntu 19.04 does not even show FF 72.0.1 in its updates. So by not providing an AppImage format all users of FF, who do not know how to install the latest firefox-72.0.1.tar.bz2 format over the existitng deb package, are left in a very vulnerable state.
+100 for FF in AppImage format.
Comment 21•6 years ago
|
||
I entirely agree with daya.sharma.
Comment 22•6 years ago
|
||
While I appreciate the passion in this bug, please realize that everyone commenting here (myself included) is in the minority. Not just in terms of OS choice -- Linux users historically makes up less than 5% of the overall Firefox user population -- but also in terms of being Linux users that would bother to update software outside of the update cycle of their chosen distro. Most distros disable the metrics in Firefox that Mozilla could use to gather more data (i.e. the update ping), and that absence of signal makes it hard for us to assert more about Linux users. :/
No one at Mozilla is debating that AppImage is a good general solution for software distribution. The question is one of smart application of scarce resources here at Mozilla. Since the majority of Linux users rely on their distros for updates, we're talking about a fraction of a fraction of users who would benefit from this. There is no strong, internal champion for this at Mozilla right now, which is why Rail suggested a community effort in comment #3.
If someone is interested, the first step would be to gain Try server access. I won't lie: this would be a hard hill to climb, but pretty much everything is defined in-tree these days, so at least you'd have a fighting chance when working on Try.
Comment 23•6 years ago
|
||
Mihai made a great progress with flatpaks today. I hope we'll get them ready soon.
Comment 24•6 years ago
|
||
Bah, probably a wrong bug. I mixed flatpaks and appimage :/
Comment 25•6 years ago
|
||
Surprised to see that Mozilla seems to be experimenting with other Linux packaging formats now but still not with AppImage.
Unlike most other formats, AppImage is specifically designed to be really distribution independent (hence addressing the Linux fragmentation), not controlled by a distribution vendor, and puts full control over the entire application distribution experience into the hands of application authors.
What would be the best way to engage in a meaningful discussion with Mozillians in order to better understand why there is no internal champion for this at Mozilla yet, and what would be needed to get Mozilla interested? I think there are answers to most if not all of the concerns raised in this thread.
As said before, I'd be happy to help make AppImages. I have been privately running Firefox from my own AppImages for almost a decade now, but I don't want to promote those since AppImage is all about "upstream packaging" where users get officially-built and supported applications directly from the trusted upstream vendors rather then from "random" third-party download pages or repositories.
Updated•6 years ago
|
Comment 26•6 years ago
|
||
We researched this subject and from what we saw, Flatpak has more adoption than AppImage. Feel free to correct me if I am wrong.
That being said, all the work done to enable Snaps and Flatpaks will probable make AppImage easier in the long run.
What exactly do you do to create your Firefox AppImage?
Comment 27•6 years ago
|
||
Here is a simplified example that shows how to turn the .tar.bz2 into an AppImage:
https://gist.github.com/probonopd/3d5d045619e3ff239b0a43406d75cd2e
This shows the basic mechanics. Things like zsync-based binary delta updates (the user would only have to download the bytes that have changed rather everything from release to release) are optional features of the format that could also be added.
Comment 28•6 years ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #26)
We researched this subject and from what we saw, Flatpak has more adoption than AppImage. Feel free to correct me if I am wrong.
I really hope that the flatpak will eventually get somewhere. It seems, bug #1278719 is now 4 years old and the last comment was made a year ago. IMHO, flatpak is much more convenient in terms of system integration and auto-updating. (don't get me wrong, I also like AppImage but when you have to decide what to focus your energy on, it is clearly flatpak)
Comment 29•6 years ago
|
||
Comment 30•6 years ago
|
||
AppImage and Flatpak do very different things. AppImage is about "one app = one file", no package manager and similar tools needed, nothing needs to be installed on the system, no root rights needed, simple.
Flatpak is not a substitute of AppImage.
There are tools for AppImage binary delta updates, they can even be built into the Firefox AppImage. I still hope that one day there will be an official Firefox AppImage and I am happy to help. Just let me know what you need and we can make it happen.
Please discuss other package formats elsewhere.
Comment 31•6 years ago
|
||
Also, please remove the "Assignee" batch from me, as I don't know what I have been "assigned" to do and do not have any access to Mozilla's build infrastructure, hence cannot make an AppImage build job for Mozilla.
Please assign this to someone who has access to the Mozilla build infrastructure, someone who can actually do something on this issue. I am more than happy to help them.
Comment 32•6 years ago
|
||
s/batch/badge
Updated•6 years ago
|
Comment 33•6 years ago
|
||
Firefox on Mac, Win, Android, etc... But still not an official Appimage for every Linux users ?
Comment 34•6 years ago
•
|
||
Update the permissions to limit comments for people with editbugs permissions:
we had enough "me too" comments.
We know that it would be great to have it. We have worked on flatpak&snap and we are working with Linux distro on a regular basis to get Firefox in the package systems (Debian, Ubuntu, Fedora, Redhat, etc). We cannot support ourselves every Linux format but we will be happy to take patches.
Updated•6 years ago
|
Comment 35•6 years ago
|
||
Mirroring what is done for snap is probably the best way.
Here are the key files/directories:
https://searchfox.org/mozilla-central/source/taskcluster/ci/release-snap-repackage/kind.yml
https://searchfox.org/mozilla-central/source/taskcluster/taskgraph/manifests/firefox_snap.yml
https://searchfox.org/mozilla-central/source/taskcluster/docker/firefox-snap
Updated•2 years ago
|
Updated•10 months ago
|
Description
•