Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731650 - dev-qt/qtgui should not depend on virtual/opengl
Summary: dev-qt/qtgui should not depend on virtual/opengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-07 21:34 UTC by Yaroslav Isakov
Modified: 2020-09-10 17:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2020-07-07 21:34:06 UTC
Hello! I've found that on my system, with dev-qt/qt-gui USE-flags "egl eglfs -X gles2-only wayland" nothing in qtgui depends on virtual/opengl, which is (how I understand) is libGL.so. So, could this requirement been made optional, if GLES2 is disabled, for example?

I've also checked the code, and found that desktop OpenGL is guarded by defines, which are not set if qtgui is building with GLES.
Comment 1 Yaroslav Isakov 2020-08-13 12:13:01 UTC
Right now I have a system without libGL.so and libGLX.so, and all my Qt apps works perfectly (I've tested keepassxc, telegram-desktop)
Comment 2 Larry the Git Cow gentoo-dev 2020-08-22 18:52:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb2fd0cdeef56eac998dcf263d3cd5cb15b30ba

commit 6fb2fd0cdeef56eac998dcf263d3cd5cb15b30ba
Author:     Ross Charles Campbell <rossbridger.cc@gmail.com>
AuthorDate: 2020-08-21 22:24:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-08-22 18:52:22 +0000

    dev-qt/qtgui: depend on virtual/opengl only when gles2-only is off
    
    The PR removes the virtual/opengl dependency when the gles2-only flag is enabled
    to avoid pulling in unnecessary X11 dependencies on pure wayland environment.
    
    Closes: https://bugs.gentoo.org/731650
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/17203
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtgui/qtgui-5.15.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-09-10 17:49:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=7f196bdb5ad3caa2f0a9c19b4e1d53c56141c8c0

commit 7f196bdb5ad3caa2f0a9c19b4e1d53c56141c8c0
Author:     Ross Charles Campbell <rossbridger.cc@gmail.com>
AuthorDate: 2020-08-21 22:24:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-09-09 18:40:23 +0000

    dev-qt/qtgui: depend on virtual/opengl only when gles2-only is off
    
    The PR removes the virtual/opengl dependency when the gles2-only flag is enabled
    to avoid pulling in unnecessary X11 dependencies on pure wayland environment.
    
    Bug: https://bugs.gentoo.org/731650
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/17203
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtgui/qtgui-5.15.9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)