Closed Bug 1616129 Opened 4 years ago Closed 4 years ago

[Wayland] Request libva >= 1.6 to build Firefox on Wayland

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1616185

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

We need libva headers to build VAAPI decode support so define MOZ_WAYLAND_BUILD_VAAPI in this case.

Mike, I'm not so skilled at the build setup hacking. What I need is to set MOZ_WAYLAND_BUILD_VAAPI when we're building on Wayland and also libva headers are present. We don't need libva libraries as we link it run-time but we need headers to build. There's a bunch of functions/structures I don't want to pre-define.

Flags: needinfo?(mh+mozilla)

We want VA-API support built by default so request libva >= 1.6 to build Firefox on Wayland.

Summary: [Wayland] Define MOZ_WAYLAND_BUILD_VAAPI when libva headers are available → [Wayland] Request libva >= 1.6 to build Firefox on Wayland
Attachment #9127155 - Attachment description: Bug 1616129 [Wayland] Define MOZ_WAYLAND_BUILD_VAAPI when libva headers are available r?glandium → Bug 1616129 [Wayland] Request libva >= 1.6 on Wayland to build VA-API support, r?glandium

Hi.
As far as I understand, your patches never use header files from libva. The library itself is loaded dynamically at run time, so the libxul.so is not linked with libva explicitly. So I believe libva package is not needed at build time.
Moreover, in https://phabricator.services.mozilla.com/D64093 you request libva.so.2, which was introduced only in versions 2.x of libva. It was libva.so.1 in 1.6.

I'd propose to drop this patch.

Flags: needinfo?(stransky)

We need to have appropriate <va/va.h> in build root.

Flags: needinfo?(stransky)

(In reply to Martin Stránský [:stransky] from comment #5)

We need to have appropriate <va/va.h> in build root.

OK.
I've seen the patch where you added #include <va/va.h> but in the next patches that line was removed. So I thought that <va/va.h> wasn't needed in the final patchset versions. Looks like I've missed something. Will try to read the diff's again.

Updated Bug 1616185 for it.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Attachment #9127155 - Attachment is obsolete: true
Flags: needinfo?(mh+mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: