Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910340 - sci-electronics/gtkwave forces dependency to wayland
Summary: sci-electronics/gtkwave forces dependency to wayland
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
Keywords: PATCH
Depends on:
Reported: 2023-07-14 14:27 UTC by Sylvain Munaut
Modified: 2023-12-06 10:34 UTC (History)
2 users (show)

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

Proposed fix (gtkwave-wayland-fix.diff,930 bytes, patch)
2023-07-14 14:27 UTC, Sylvain Munaut
Details | Diff

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