Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920074

Summary: x11-misc/qt5ct-1.8: ebuild should have dbus use-flag
Product: Gentoo Linux Reporter: womble
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: UNCONFIRMED ---    
Severity: enhancement CC: njsg
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild patch which enables dbus use-flag
corrected ebuild patch, which also changes deps

Description womble 2023-12-16 00:09:08 UTC
The cmake file contains an option to disable dbus. An ebuild patch which uses the dbus use flag is attached.

Reproducible: Always
Comment 1 womble 2023-12-16 00:11:06 UTC
Created attachment 879551 [details, diff]
ebuild patch which enables dbus use-flag
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-16 00:33:43 UTC
That patch doesn't seem to adjust any dependencies which seems wrong...
Comment 3 womble 2023-12-16 01:00:21 UTC
Created attachment 879552 [details, diff]
corrected ebuild patch, which also changes deps

You are right, I missed that point, although the patched ebuild has worked for me. Added a 2nd patch, which now changes RDEPEND.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-16 01:07:14 UTC
That still looks off to me as you wouldn't be able to avoid dbus with this.

 	dev-qt/qtgui:5=[dbus]
-	dev-qt/qtwidgets:5
+	dev-qt/qtwidgets:5=[dbus]

I think you want to change both the qtgui and the qtwidgets [dbus] to [dbus?].
Comment 5 womble 2023-12-16 01:31:18 UTC
Right again! I have used the ebuild command to directly install and qmerge the package, and then it has worked. On my system no dbus is running, and both qtgui and qtwidgets are already installed w/o the dbus use flag. When using emerge, I need your proposed fix.