I would like to be able to install dev-qt/qt5compat on a headless server without pulling in X11 or wayland. Currently an irc gateway I am using (spectrum2 via libcommuni) pulls in dev-qt/qt5compat:6 which then explicitly pulls in dev-qt/qtbase:6[gui] I would like dev-qt/qt5compat updated to make that gui dependency optional, as the toplevel CMakeLists.txt in qt5compat src marks the Qt Gui component as optional. so something like: IUSE="+gui icu qml" RDEPEND=" ~dev-qt/qtbase-${PV}:6[gui=,icu=,network,xml] ... "
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d68269b014a9223c51f15f00024eb53440fcca54 commit d68269b014a9223c51f15f00024eb53440fcca54 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-03-15 23:44:35 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-03-16 00:08:37 +0000 dev-qt/qt5compat: add IUSE=+gui Often not bothering with USE=gui automagic, but this one was requested in bug #951442 and qt5compat can be needed for a variety of non-gui things too. Using [gui=] rather than cmake_disable for two reasons, first because the latter often has unexpected effects with Qt (side-disabling things it shouldn't, tend to be fine with Qml but with Gui it can be messy) and then so that gui revdeps do not have to think about whether USE=gui is set on this package or not (if they depend on qtbase[gui] then it'll be set) given unclear what packages need graphicaleffects5 controlled by this. Note that if a user setting USE=-gui globally and then only setting it on specific packages like qtbase is reading this and wondering why portage is giving confusing output, please set it on qt5compat too. Closes: https://bugs.gentoo.org/951442 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../qt5compat/{qt5compat-6.8.2.ebuild => qt5compat-6.8.2-r1.ebuild} | 4 ++-- dev-qt/qt5compat/qt5compat-6.8.9999.ebuild | 6 +++--- .../{qt5compat-6.9.0_rc.ebuild => qt5compat-6.9.0_rc-r1.ebuild} | 4 ++-- dev-qt/qt5compat/qt5compat-6.9.9999.ebuild | 6 +++--- dev-qt/qt5compat/qt5compat-6.9999.ebuild | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-)