Closed Bug 1425518 Opened 7 years ago Closed 7 years ago

Snap: Use custom gtk3 to remove wayland support

Categories

(Release Engineering :: Release Automation, enhancement)

enhancement
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
Tracking Status
firefox59 --- fixed

People

(Reporter: jlorenzo, Assigned: rail)

References

Details

Attachments

(3 files)

Bug 1422063 added wayland in the snap manifest, but wayland isn't supported by Firefox. Olivier Tilloy from Canonical got Firefox running on wayland by using a GTK3 that doesn't expose Wayland.
Ken and Olivier from Canonical came up with this snapcraft.yaml. I think depending on a non-official github repo is risky for actual releases. It should be okay for closed betas, though. What do you think, rail?
I trust their knowledge more then ours. :) Let's make it better!
Comment on attachment 8937120 [details] Bug 1425518 - Snap: Use custom gtk3 to remove wayland support https://reviewboard.mozilla.org/r/207816/#review213704
Attachment #8937120 - Flags: review?(rail) → review+
Comment on attachment 8937120 [details] Bug 1425518 - Snap: Use custom gtk3 to remove wayland support https://reviewboard.mozilla.org/r/207816/#review213706 ::: taskcluster/docker/firefox-snap/snapcraft.yaml.in:46 (Diff revision 1) > - libmirclient9 > - after: [desktop-gtk3] > + after: [desktop-gtk3-no-wayland] > + desktop-gtk3-no-wayland: > + # Use a custom branch of the desktop helpers instead of the upstream one, > + # to disable wayland (not supported natively by firefox). > + source: https://github.com/oSoMoN/snapcraft-desktop-helpers.git Just realized that this repo is a fork of https://github.com/Ubuntu/snapcraft-desktop-helpers. Can we use the original instead? Otherwisewe may end up with outdated tools.
Attachment #8937120 - Flags: review+
Updated snapcraft.yaml.in which uses the supported desktop-gtk3 launcher. We've merged a fix in snapcrafters-desktop-helpers to better handle disabling wayland via an environment variable. The attached snapcraft.yaml.in sets the DISABLE_WAYLAND environment variable and uses the officially supported helpers instead of the developer's branch.
Ken, thank you for the updated snapcraft.yml! Attaching the diff against the current mozilla-central version here. Unfortunately we just missed today's beta build, so we'll have to wait until the next one (early January). I'll let Johan land the patch and uplift it to beta, because I'll be away in January.
Pushed by raliiev@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/6f48edc3e633 Snap: remove wayland support r=mtabara DONTBUILD
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: snappy
Blocks: 1428728
Assignee: nobody → rail
See Also: → 1623696
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: