Closed Bug 1832465 Opened 1 years ago Closed 1 year ago

Avoid libXtst dependency?

Categories

(Core :: WebRTC, task)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
relnote-firefox --- 120+
firefox120 --- fixed

People

(Reporter: glandium, Assigned: mjf)

Details

Attachments

(3 files)

I was looking at our requirements on the Firefox system requirements page, and we have a requirement for libXtst, and while looking possibly what version we might be actually requiring (to validate that the requirements page is good) I ... found no symbols used from the library.

It turns out there's only one place that uses the library: SharedXDisplay::IgnoreXServerGrabs. And the function is used nowhere, so in release builds, it's garbage collected and nothing uses XTest* symbols... while we do still link the library, which becomes a hard requirement.

It would be great if we could remove this dependency.

Flags: needinfo?(mfroman)

This should be easy enough to do. I'll get started on it.

Assignee: nobody → mfroman
Flags: needinfo?(mfroman)
Pushed by mfroman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ec1b33b95db remove libXtst usage from libwebrtc. r=ng,webrtc-reviewers https://hg.mozilla.org/integration/autoland/rev/d5f682818642 remove libXtst usage from libwebrtc - moz.build file updates. r=ng,webrtc-reviewers

We can remove this from the system requirements after merging to m-c.

relnote-firefox: --- → ?
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

I've never run across that file before. I'll add another patch to remove the reference.

Pushed by mfroman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a120317e670a remove xtst lib reference from toolkit/moz.configure r=glandium
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED

(In reply to Ryan VanderMeulen [:RyanVM] from comment #5)

We can remove this from the system requirements after merging to m-c.

Removed (- libxtst 1.2.3 or higher) from the Nightly Fx120 release notes System requirements
https://www.mozilla.org/en-US/firefox/120.0a1/releasenotes/

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: