commit: 14dd26e0457c7be522929317a0180449bfe2b8b2
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 20 22:44:57 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Mar 20 22:56:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14dd26e0
dev-qt/qttools: add comment about GUI applications handling
On one hand, the majority of users do not need the GUI assistant or
linguist, but on the other the cmake build system does not easily
split the GUI and their support libraries (Help/UiTools) very well
which needs us to build both.
As a non-optimal solution, *could* consider something like USE=gui
that would `rm` them but it feels kind of silly when already built
them and it would not really save any runtime-only dependencies.
Just keep a note about this situation for now.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qttools/qttools-6.8.9999.ebuild | 3 +++
dev-qt/qttools/qttools-6.9.9999.ebuild | 3 +++
dev-qt/qttools/qttools-6.9999.ebuild | 3 +++
3 files changed, 9 insertions(+)
diff --git a/dev-qt/qttools/qttools-6.8.9999.ebuild
b/dev-qt/qttools/qttools-6.8.9999.ebuild
index 74e7e707f774..52750e2eb0d8 100644
--- a/dev-qt/qttools/qttools-6.8.9999.ebuild
+++ b/dev-qt/qttools/qttools-6.8.9999.ebuild
@@ -106,6 +106,9 @@ src_configure() {
src_install() {
qt6-build_src_install
+ # *could* consider a USE=gui to guard GUI applications and their
.desktop
+ # files when only want the libraries (Help/UiTools), but cmake logic
makes
+ # it difficult to get only these and we'd be just rm'ing small'ish files
if use widgets; then #914766
use designer || use distancefieldgenerator || use pixeltool &&
newicon src/designer/src/designer/images/designer.png
designer6.png
diff --git a/dev-qt/qttools/qttools-6.9.9999.ebuild
b/dev-qt/qttools/qttools-6.9.9999.ebuild
index 74e7e707f774..52750e2eb0d8 100644
--- a/dev-qt/qttools/qttools-6.9.9999.ebuild
+++ b/dev-qt/qttools/qttools-6.9.9999.ebuild
@@ -106,6 +106,9 @@ src_configure() {
src_install() {
qt6-build_src_install
+ # *could* consider a USE=gui to guard GUI applications and their
.desktop
+ # files when only want the libraries (Help/UiTools), but cmake logic
makes
+ # it difficult to get only these and we'd be just rm'ing small'ish files
if use widgets; then #914766
use designer || use distancefieldgenerator || use pixeltool &&
newicon src/designer/src/designer/images/designer.png
designer6.png
diff --git a/dev-qt/qttools/qttools-6.9999.ebuild
b/dev-qt/qttools/qttools-6.9999.ebuild
index 74e7e707f774..52750e2eb0d8 100644
--- a/dev-qt/qttools/qttools-6.9999.ebuild
+++ b/dev-qt/qttools/qttools-6.9999.ebuild
@@ -106,6 +106,9 @@ src_configure() {
src_install() {
qt6-build_src_install
+ # *could* consider a USE=gui to guard GUI applications and their
.desktop
+ # files when only want the libraries (Help/UiTools), but cmake logic
makes
+ # it difficult to get only these and we'd be just rm'ing small'ish files
if use widgets; then #914766
use designer || use distancefieldgenerator || use pixeltool &&
newicon src/designer/src/designer/images/designer.png
designer6.png