Summary: | net-libs/webkit-gtk-2.2.4-r200 fails to configure with USE="gles2 opengl" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ryan Hill (RETIRED)
![]() Then, it has: webgl? ( ^^ ( gles2 opengl ) ) in REQUIRED_USE, not sure what you are referring to :/ Notice that he has webgl turned off, and gles2 and opengl turned on - you need either gles2 or opengl on (but not both!) or neither turned on (and webgl also turned off) By which i mean... webgl +gles2 -opengl webgl -gles2 +opengl -webgl -gles2 -opengl -webgl +gles2 -opengl -webgl -gles2 +opengl Are the possible options. Specifically, webgl requires you to have gles2 or opengl on, but there is no limitation that you can't turn on gles2 AND opengl if the webgl flag is off. Ah, true, I guess the required_use should not depend on webgl flag at all (just confirmed the problem in both slots) + 03 Feb 2014; Gilles Dartiguelongue <eva@gentoo.org> webkit-gtk-2.2.4.ebuild, + webkit-gtk-2.2.4-r200.ebuild, +files/webkit-gtk-2.2.4-unittests-build.patch: + Fix build with USE=-gstreamer, bug #500162. Fix configure with USE=gles2 + opengl, it is a forbidden configuration not only under the scope of the webgl + flag unfortunately, bug #500150. Raise dependency on gst-plugins-base, bug + #499964. Add dependency on rubygems[ruby21], bug #499896. Update path to + disable building of unittests unless requested. Update sed paths due to + upstream re-arranging sources. + Thanks for reporting. Properly fixed now, it allows all cases listed here. Thanks again. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f268cbd114024d9dad9cdfe241e83a9f1716b82 commit 7f268cbd114024d9dad9cdfe241e83a9f1716b82 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2018-07-22 13:09:10 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2018-07-23 22:23:47 +0000 net-libs/webkit-gtk: simplify opengl vs gles2 handling, fix gst gles2 deps webkit-gtk itself does not support both full OpenGL and GLESv2 at once yet. ENABLE_OPENGL enables OpenGL in general, and if enabled then ENABLE_GLES2 determines which API is used - if enabled, then gles2, otherwise full GL. Simplify REQUIRED_USE handling to enforce the opengl/gles2 conflict separately, and have the webgl case just want either, to be future-proof and easier to read independently. WebGL should just always be enabled when either GL API is enabled, but keeping it under USE flag for the time being, until an even deeper GL/GStreamer webkitgtk cmake review, due to the webgl? ( gstreamer ) REQUIRED_USE still present. For now just (probably) properly depend on gstreamer gles2 support for USE="gles2 gstreamer" builds. Bug: https://bugs.gentoo.org/500150 Package-Manager: Portage-2.3.43, Repoman-2.3.10 net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) |