Open Bug 1290670 Opened 6 years ago Updated 15 days ago

Use Flatpak framework to distribute Thunderbird for Linux users

Categories

(Thunderbird :: General, enhancement, P2)

Unspecified
Linux
enhancement

Tracking

(Not tracked)

People

(Reporter: mariospr, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160711192800

Steps to reproduce:

In a similar fashion to what has been proposed in bug 127871 for Firefox, it would be wonderful if Mozilla could distribute Thunderbird as a flatpak[1], so that it can be distributed as an standalone bundle, independent from any distro. 

In order to help with this task, I've flatpak'ed Thunderbird 45.2.0 myself and published all the resources used in https://github.com/mariospr/thunderbird-flatpak, released with a CC0 1.0 (Public Domain Dedication) license, which you're more than welcome to use if you want as a baseline of course.

Last, as a stretch goal, it would be wonderful if Thunderbird could constrain its sandbox as much as possible and improve its integration with the rest of the system, for what it will likely need some extra development effort in order to use some of the "portals" flatpak offer, such as the Documents and the OpenURI portal, for instance. But that could certainly be better suited to be tracked as a different bug, of course. Just mentioning here for rerefence

[1] http://flatpak.org/
[2] https://github.com/flatpak/flatpak/wiki/Portals


Actual results:

On Linux, Thunderbird is only distributed as tarballs or distro-dependent packages such as RPM or DEB..


Expected results:

It is possible to install Thunderbird on any Linux distribution using flatpak
I think you mean bug 1278719
Component: Untriaged → General
See Also: → flatpak
Oh! yes, I did mean bug 1278719, sorry for the confusing typo
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → enhancement
OS: Unspecified → Linux
I've been trying to flatpak(1) Thunderbird (52.4.0) myself, but it'd be much preferred if mozilla did it officially themselves. I've made quite a bit of progress but I'm still working out a variety of kinks (e.g. enigmail integration, lightning isn't working, etc). If you want to see the progress I've made you can look at this PR: https://github.com/flathub/flathub/pull/161
(In reply to adrianlucrececeleste from comment #3)
Thank you for landing Thunderbird in Flathub[1] and creating a Repository[2].

If Flathub[3] is unable to host Thunderbird Beta[4][5], could Thunderbird Beta Flatpak be hosted on the official Thunderbird webpage[6].

If Flathub[3] is unable to host Thunderbird Nightly[7][8], could Thunderbird Nightly Flatpak be hosted on the official Thunderbird webpage[7].

Unfortunately, there are still some issues[9] with Thunderbird flatpak. Could Thunderbird core developers assist please?

@jorgk Could official Thunderbird builds trigger[10] updates to the flatpak version too please? Is this something Thunderbird Release engineering needs to be aware of to enable continuous integration?

Thank you

[1] https://flathub.org/apps/details/org.mozilla.Thunderbird
[2] https://github.com/flathub/org.mozilla.Thunderbird
[3] https://flathub.org/
[4] https://www.thunderbird.net/channel/
[5] https://github.com/flathub/org.mozilla.Thunderbird/issues/23
[6] https://www.thunderbird.net/thunderbird/beta/all/
[7] http://ftp.stage.mozaws.net/pub/thunderbird/nightly/latest-comm-central/
[8] https://github.com/flathub/org.mozilla.Thunderbird/issues/24
[9] https://github.com/flathub/org.mozilla.Thunderbird/issues/
[10] https://treeherder.mozilla.org/#/jobs?repo=comm-central
At the moment Flathub doesn't do developmental snapshots. I would have no issue with Thunderbird Beta/Nightly flatpak(s) being hosted on Thunderbird's website though.
(In reply to Óvári from comment #4, and myself from comment #5)

If you would need help in how to get Beta/Nightly flatpaks setup, I could try to help. I feel like there wouldn't be much work involved.
(In reply to Óvári from comment #4)
> @jorgk Could official Thunderbird builds trigger[10] updates to the flatpak
> version too please? Is this something Thunderbird Release engineering needs
> to be aware of to enable continuous integration?
Yes.
Flags: needinfo?(philipp)
Flags: needinfo?(mozilla)
For the Thunderbird team this has a hard dependency on Firefox completing their flatpak work. When there is a builder that generates the flatpaks for Firefox, we can have our release engineering set up jobs that work just the same. I don't think it makes sense to invest time in doing this beforehand, as it could possibly mean a substantial amount of work that the Firefox team would be doing anyway. I'd much rather re-use their work at this point.
Flags: needinfo?(philipp)
Flags: needinfo?(mozilla)
Depends on: 1471420
See Also: → 1470730
Duplicate of this bug: 1487974

Flathub maintainers have released a Flatpak for Thunderbird:

It's been working well for me.

(In reply to Philipp Kewisch [:Fallen] [:📆][:🧩] from comment #8)

For the Thunderbird team this has a hard dependency on Firefox completing
their flatpak work. When there is a builder that generates the flatpaks for
Firefox, we can have our release engineering set up jobs that work just the
same. I don't think it makes sense to invest time in doing this beforehand,
as it could possibly mean a substantial amount of work that the Firefox team
would be doing anyway. I'd much rather re-use their work at this point.

Today Mozilla released first official stable version of Firefox to Flathub. The ball is on Thunderbird team side then. It think it would be reasonable to target next major TB release as first official release to Flathub. Meanwhile you may publish TB betas to flathub-beta repository same as FF did.

You may look and borrow useful stuff (like necessary flatpak permissions) from current unofficial TB app on flathub: https://github.com/flathub/org.mozilla.Thunderbird

Flags: needinfo?(philipp)
Depends on: 1665414

Looks like Rob is aware of this, so I am clearing my needinfo. Would be great to support/build flatpaks directly.

Flags: needinfo?(philipp)
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.