Fedora, Uncategorized

Nightly and Wayland Builds of Firefox for Flatpak

When I announced Firefox Developer Edition for Flatpak over a month ago, I also promised that we would not stop there and bring more options in the future. Now I can proudly announce that we provide two more variants of Firefox – Firefox Nightly and Firefox Nightly for Wayland.

With Nightly, you can closely follow the development of Firefox. Due to Flatpak you can easily install it and keep getting daily updates via our flatpak repo.

As a bonus, we’re also bringing a Firefox build that runs natively on Wayland. We used to provide a Copr repository, but with Flatpak it’s open to users of other distros, too. When running this version, keep in mind it’s still WIP and very experimental. Firefox seems to run just fine on Wayland at first glance, but there is still some basic functionality missing (copy-paste for example) and it’s not so stable either (it crashed the whole Wayland session for me once). But once it’s done, it will be a big improvement in security for Firefox on Linux because Wayland isolates the application on the display server level. Together with other pieces of Flatpak sandboxing, it will provide a full sandbox for the browser in the future.

When adding more Firefox variants to the repo, we first considered using branches, but you have to switch between them manually to start different variants of Firefox which we didn’t find very user friendly. In the end, we’re using one branch and multiple applications with different names in it. This way, you can install and run multiple variants in parallel.

snimek-z-2017-02-15-13-13-22

You can find the instructions to install Firefox for Flatpak on the repository webpage. We’re also constantly improving how Firefox runs in Flatpak. If you have any Flatpak-specific problems with Firefox, please report it to our bug tracker on Github. If you hit problems that are not Flatpak-specific, please report them directly to Mozilla.

And again kudos to Jan Hořák from our team who made all this happen!

Advertisements

20 thoughts on “Nightly and Wayland Builds of Firefox for Flatpak

  1. Hi, since your last post, I didn’t success to install your flatpak app.. I’ve this error :

    error: While pulling app/org.mozilla.FirefoxDevEdition/x86_64/master from remote org.mozilla.FirefoxRepo: Need more input

    Have you an idea why ?

    1. Because that’s the version Martin is using to work on the port. He syncs with the master from time to time, but it doesn’t really follow it closely. The Wayland version doesn’t bring regular updates of nightly builds, it’s called Nightly-Wayland because it was forked off the master. If you want to have the latest nightly builds, install the regular Firefox Nightly that is in the repo.

    1. That is strange. I installed the Firefox Nightly from the repo today and my version is (2017-02-16). Make sure you close other instances of Firefox before you launch it. Because if you have another instance of Firefox already running, it will just open a new window of the currently running Firefox. At least that’s how it works in GNOME.

      1. I don’t have any instance running, starting fresh each time.

        Hmm, what is even more strange its giving me 404 Not Found for https://firefox-flatpak.mojefedora.cz/repo/. http://i.imgur.com/3OHLrpg.png

        $ curl -I https://firefox-flatpak.mojefedora.cz/repo/
        HTTP/2 404
        date: Thu, 16 Feb 2017 19:10:35 GMT
        content-type: text/html; charset=iso-8859-1
        set-cookie: __cfduid=d7799e7ba4e0baf0273d8513911e1fa871487272234; expires=Fri, 16-Feb-18 19:10:34 GMT; path=/; domain=.mojefedora.cz; HttpOnly
        strict-transport-security: max-age=15552000; includeSubDomains; preload
        x-content-type-options: nosniff
        server: cloudflare-nginx
        cf-ray: 33234cebedc959fc-VIE

        And no updates when trying to update:
        $ sudo flatpak update
        Looking for updates…
        Updating: org.gnome.Platform/x86_64/3.20 from gnome
        No updates.
        Updating: org.gnome.Platform.Locale/x86_64/3.20 from gnome
        No updates.
        Updating: org.mozilla.FirefoxNightly/x86_64/nightly from org.mozilla.FirefoxNightly-origin
        No updates.
        Updating: org.mozilla.FirefoxNightly.Locale/x86_64/nightly from org.mozilla.FirefoxNightly-origin
        No updates.

          1. So I removed /var/lib/flatpak and now I am running into ostree issue again “Need more input”.

            It’s fully updated Fedora 25 from regular repos.
            flatpak-0.8.2-1.fc25.x86_64

          2. > So I removed /var/lib/flatpak and now I am running into ostree issue again “Need more input”.

            > It’s fully updated Fedora 25 from regular repos.
            > flatpak-0.8.2-1.fc25.x86_64

            So, it worked from 3rd try:
            $ sudo flatpak install org.mozilla.FirefoxNightly-origin org.mozilla.FirefoxNightly//nightly
            Updating: org.gnome.Platform/x86_64/3.20 from gnome
            No updates.
            Updating: org.gnome.Platform.Locale/x86_64/3.20 from gnome
            No updates.
            Installing: org.mozilla.FirefoxNightly/x86_64/nightly from org.mozilla.FirefoxNightly-origin

            2 metadata, 1 content objects fetched; 26405 KiB transferred in 57 seconds
            Installing: org.mozilla.FirefoxNightly.Locale/x86_64/nightly from org.mozilla.FirefoxNightly-origin

            5 metadata, 1 content objects fetched; 6 KiB transferred in 1 seconds

            Still version is the same as before! Hmm.
            54.0a1 (2017-02-08) (64-bit)

          3. Ok, there are apparantly two branches, I was using the wrong one. The other one is recent.

            $ sudo flatpak install org.mozilla.FirefoxNightly-origin org.mozilla.FirefoxNightly
            error: Multiple branches available for org.mozilla.FirefoxNightly, you must specify one of: org.mozilla.FirefoxNightly//master, org.mozilla.FirefoxNightly//nightly
            $ sudo flatpak install org.mozilla.FirefoxNightly-origin org.mozilla.FirefoxNightly//master

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s