bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

Provide a way for Flatpaks to use /app dir for system extensions

NEW
Unassigned

Status

()

Core
XPCOM
P3
normal
a year ago
5 months ago

People

(Reporter: mkaply, Unassigned)

Tracking

(Blocks: 1 bug)

52 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
Currently we hardcode the system extension location on Linux:

http://searchfox.org/mozilla-central/source/toolkit/xre/nsXREDirProvider.cpp#463

Flatpaks do not have access to this directory.

From the Flatpak folks:

Well, I've hit hardcoded path problem. The /usr/share/mozilla/extensions path cannot be changed:
http://searchfox.org/mozilla-central/source/toolkit/xre/nsXREDirProvider.cpp#465
Flatpak does not allow to write to /usr/whatever during install, only to /app/usr/whatever (ie. using prefix).
So we can't put langpack.xpi to the location from where it could be loaded.

Comment 1

a year ago
What is flatpak and why should it support system extensions?

Updated

a year ago
Flags: needinfo?(mozilla)
(Reporter)

Comment 2

a year ago
Flatpak is a new packaging format for application distribution on Linux:

http://flatpak.org/

We are looking at the possiblity of creating an official Firefox flatpak.

Currently the various Linux distros ship multilocale Firefox (not fully supported, but good enough for what they are doing). They do that by shipping the various langpacks.

They would like to bundle the langpacks as part of the Flatpak, but to do that it would have to look for the langpacks inside of the Flatpak bundle, not in the operating system.
Flags: needinfo?(mozilla)

Updated

5 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.