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

Bug 910340

Summary: sci-electronics/gtkwave forces dependency to wayland
Product: Gentoo Linux Reporter: Sylvain Munaut <tnt>
Component: Current packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: UNCONFIRMED ---    
Severity: normal CC: andrewammerlaan, richard.kenney
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=866680
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed fix

Description Sylvain Munaut 2023-07-14 14:27:58 UTC
Created attachment 865490 [details, diff]
Proposed fix

To fix #866680 there was a forced dependency added to wayland.

Instead I would add the following patch which uses the proper defines to condition the inclusion of the needed header file. All the actual _uses_ of wayland stuff is already conditionned on that define, so it's just that include that's the issue.

Tested that it build fine without wayland with that diff applied.
Comment 1 Sylvain Munaut 2023-07-15 05:29:18 UTC
BTW upstream applied (an equivalent) patch now. It's not yet in 3.3.115 (latest release) but it will be in 3.3.116.