Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705440 - dev-qt/*: Consider renaming IUSE=xcb to IUSE=X
Summary: dev-qt/*: Consider renaming IUSE=xcb to IUSE=X
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: PullRequest
Depends on:
Blocks:
 
Reported: 2020-01-14 21:36 UTC by Matt Turner
Modified: 2020-01-19 23:54 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 Matt Turner gentoo-dev 2020-01-14 21:36:37 UTC
IUSE=X is the common way of enabling X support, and libX11 unconditionally depends on libxcb, so rarely does IUSE=xcb make much sense. Anyone with USE=X will already have libxcb on their system.

dev-qt/qtwidgets uses USE=xcb to enable a lot more than just libxcb:

> '-xcb-xlib -xcb-xinput -xkb -xkbcommon'


dev-qt/qtgui depends on libX11 and a number of other X libraries with USE=xcb. Strong case for just having IUSE=X.

dev-qt/qtvirtualkeyboard -- has IUSE=xcb that just depends on libxcb, but might as well change to X since anyone with USE=X will already have libxcb.

Thanks!
Comment 1 Matt Turner gentoo-dev 2020-01-14 22:51:44 UTC
Of these packages, it looks like dev-qt/qtgui is the only one with [xcb]-depending revdeps. Those revdeps will have to have a revision bump.
Comment 2 Larry the Git Cow gentoo-dev 2020-01-19 23:53:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6064fc3aaab4133dd4b368910e8ae94b0d946e54

commit 6064fc3aaab4133dd4b368910e8ae94b0d946e54
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-01-16 07:59:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-01-19 23:51:34 +0000

    dev-qt: Switch USE xcb -> X
    
    Closes: https://bugs.gentoo.org/705440
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtgui/qtgui-5.14.0-r3.ebuild                | 188 +++++++++++++++++++++
 .../qtvirtualkeyboard-5.14.0-r1.ebuild             |  43 +++++
 dev-qt/qtwidgets/qtwidgets-5.14.0-r1.ebuild        |  57 +++++++
 dev-qt/qtx11extras/qtx11extras-5.14.0-r1.ebuild    |  22 +++
 4 files changed, 310 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2020-01-19 23:54:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=71bfd3c05c75cb8ee0fa0179b1f34a732a4e5f17

commit 71bfd3c05c75cb8ee0fa0179b1f34a732a4e5f17
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-01-14 23:09:15 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-01-14 23:09:54 +0000

    dev-qt/qtwidgets: Rename USE xcb to X
    
    Closes: https://bugs.gentoo.org/705440
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwidgets/qtwidgets-5.12.9999.ebuild | 11 ++++++-----
 dev-qt/qtwidgets/qtwidgets-5.14.9999.ebuild | 11 ++++++-----
 dev-qt/qtwidgets/qtwidgets-5.15.9999.ebuild | 11 ++++++-----
 dev-qt/qtwidgets/qtwidgets-5.9999.ebuild    | 11 ++++++-----
 4 files changed, 24 insertions(+), 20 deletions(-)

https://gitweb.gentoo.org/proj/qt.git/commit/?id=040f587dc703adc1e0eba504e83430a032ba3c62

commit 040f587dc703adc1e0eba504e83430a032ba3c62
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-01-14 23:06:06 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-01-14 23:06:06 +0000

    dev-qt/qtgui: Rename USE xcb to X
    
    Closes: https://bugs.gentoo.org/705440
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtgui/metadata.xml           |  2 +-
 dev-qt/qtgui/qtgui-5.12.9999.ebuild | 37 +++++++++++++++++++------------------
 dev-qt/qtgui/qtgui-5.14.9999.ebuild | 37 +++++++++++++++++++------------------
 dev-qt/qtgui/qtgui-5.15.9999.ebuild | 37 +++++++++++++++++++------------------
 dev-qt/qtgui/qtgui-5.9999.ebuild    | 37 +++++++++++++++++++------------------
 5 files changed, 77 insertions(+), 73 deletions(-)