Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774717 - dev-qt/qtwebengine-5.15.2 without X11 dependencies
Summary: dev-qt/qtwebengine-5.15.2 without X11 dependencies
Status: UNCONFIRMED
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: PATCH
Depends on:
Blocks:
 
Reported: 2021-03-07 18:37 UTC by Michel Ganguin
Modified: 2023-05-22 08:05 UTC (History)
4 users (show)

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


Attachments
Add X use flag (qtwebengine-optional-x.patch,1.59 KB, patch)
2021-03-07 18:40 UTC, Michel Ganguin
Details | Diff
add X use flag with disalbing X auto-detection (qtwebengine-x-use-flag.patch,1.85 KB, patch)
2022-01-15 18:07 UTC, Michel Ganguin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Ganguin 2021-03-07 18:37:19 UTC
qtwebengine does not require X11 (neither build time nor runtime) when running on non-x11 platforms (eglfs, linuxfb, wayland). However the ebuild requires mesa[X] and multiple x11-libs/* libraries.

I suggest adding the X use flag to make it optional. The flag would be default enabled or maybe even masked if this change is considered as potentially impacting people needing X dependency.

Reproducible: Always

Steps to Reproduce:
1. Have mesa built without X
2. emerge qtwebengine
Actual Results:  
emerge qtwebengine wants a use flag change on mesa and pulls x11-libs/* dependencies

Expected Results:  
build without X dependencies
Comment 1 Michel Ganguin 2021-03-07 18:40:24 UTC
Created attachment 689856 [details, diff]
Add X use flag

Add X use flag:
* use it in the mesa use flag dependency
* place x11-libs/* behind the X use flag (except x11-libs/libdrm which is not really an x11 package)
Comment 2 Andreas Sturmlechner gentoo-dev 2021-08-28 10:40:33 UTC
This patch is incomplete without setting an according qtwebengine build switch. Is there such a build switch? If not, this relies on automagic and cannot be exposed to an IUSE.
Comment 3 Michel Ganguin 2022-01-15 18:07:15 UTC
Created attachment 762257 [details, diff]
add X use flag with disalbing X auto-detection

Second tentative, took me a while to get into QT build system and portage qt5-build eclass. Hope this will go through.
Comment 4 Michel Ganguin 2022-04-15 09:57:30 UTC
Any updates? it has been about 3 months and I implemented @Andreas Sturmlechner recommendation.