Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920074 - x11-misc/qt5ct-1.8: ebuild should have dbus use-flag
Summary: x11-misc/qt5ct-1.8: ebuild should have dbus use-flag
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-12-16 00:09 UTC by womble
Modified: 2024-02-02 17:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch which enables dbus use-flag (qt5ct-1.8-dbus-use-flag.patch,475 bytes, patch)
2023-12-16 00:11 UTC, womble
Details | Diff
corrected ebuild patch, which also changes deps (qt5ct-1.8-dbus-use-flag.pach,649 bytes, patch)
2023-12-16 01:00 UTC, womble
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.