Closed Bug 1803234 Opened 3 years ago Closed 1 year ago

Remove gpsd support

Categories

(Core :: DOM: Geolocation, task, P5)

All
Linux
task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- wontfix
firefox129 --- wontfix
firefox130 --- wontfix
firefox131 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(1 file, 1 obsolete file)

Firefox's gpsd code is not enabled by default (and, according to bug 1763347, doesn't work). We should remove gpsd support by deleting MOZ_GPSD code and GpsdLocationProvider.cpp/h files:

https://searchfox.org/mozilla-central/search?q=MOZ_GPSD
https://searchfox.org/mozilla-central/search?q=GpsdLocationProvider

Firefox's solution for geolocation on Linux is:

  1. Flatpak's org.freedesktop.portal.Location provider (bug 1759840)
  2. Geoclue (enabled in Firefox 102 in bug 1769664)
  3. Mozilla's Wi-Fi Location Service (MLS) if the Flatpak provider or Geoclue are unavailable or return an error. (bug 1772125)

Geoclue supports multiple geolocation providers, including GPS devices, so Firefox can still benefit from GPS devices, even if we're not calling gpsd directly.

https://gitlab.freedesktop.org/geoclue/geoclue

Assignee: nobody → cpeterson
Severity: -- → N/A
Priority: -- → P3

Firefox's gpsd support is unmaintained, disabled by default, and doesn't currently work. Firefox tries to use Flatpak's location provider or Geoclue, which can use a GPS device, if available.

Assignee: cpeterson → nobody
Priority: P3 → P5

FWIW, the new telemetry added by bug 1905928 says there's literal zero use for gpsd, so certainly no distribution is building with it, which makes this safe.

Yeah we should just remove this. Chris do you have cycles to rebase the patch? If not please ni? me and I can.

Flags: needinfo?(cpeterson)

Firefox's gpsd support is unmaintained and disabled by default.

Assignee: nobody → cpeterson
Status: NEW → ASSIGNED
Flags: needinfo?(cpeterson)
Attachment #9306571 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: