It seems git master has already gained an option `-DPREFER_QT6` which is bundling KStatusNotifierItem from KDE (kde-frameworks/kstatusnotifieritem:6). My advice would be to configure 9999 unconditionally as Qt6-based already. https://github.com/ckb-next/ckb-next/pull/1057/commits/3100b9276c5ec90e6d2d8ab844a069604c8e38ae Maybe instead of bundling and reverting some upstream commit they should have instead tried to fix this upstream.
ping
Sorry for the delay. I've poked at this a bit but there's something seemingly busted about the PREFER_QT6 knob: https://github.com/ckb-next/ckb-next/issues/1107 That is, I can build it fine if I force it to Qt6 but not with the "preference" for it.
Using > find_package(QT NAMES Qt[56]) is just awful automagic, and the supposed upstream fix does nothing for it. Just remove that line and pass -DQT_VERSION_MAJOR=6 manually, hopefully it'll work although I'm not sure where QT_VERSION is coming from in the next line ...
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6efd562d90c2e36f77a1fb5497aa3e8ad10356a4 commit 6efd562d90c2e36f77a1fb5497aa3e8ad10356a4 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2024-11-28 22:39:48 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2024-11-28 22:50:09 +0000 app-misc/ckb: fixup live ebuild for qt6 And drop libdbusmenu-qt, now (unfortunately) bundled upstream. Bug: https://bugs.gentoo.org/938825 Signed-off-by: John Helmert III <ajak@gentoo.org> app-misc/ckb/ckb-9999.ebuild | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
Seemed to work for me even without patching the build system, how's it look?
Poked upstream for a release, nothing yet...
Should we consider snapshotting?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2772a4749f841489a48298f51d3a2a933fc95f25 commit 2772a4749f841489a48298f51d3a2a933fc95f25 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2025-02-17 20:33:49 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2025-02-18 05:19:35 +0000 app-misc/ckb: add 0.6.0_p20250131 With qt6 support. Bug: https://bugs.gentoo.org/938825 Signed-off-by: John Helmert III <ajak@gentoo.org> app-misc/ckb/Manifest | 1 + app-misc/ckb/ckb-0.6.0_p20250131.ebuild | 74 +++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+)
Yes! Upstream says the next release will probably come from the commit I snapshotted from, so we might get a proper release in the near future. In any case, feel free to use this reuse this bug for stabilization.
That's great. If they make the release soon enough, we can make this snapshot's time in ~arch count and switch over stabilisation.