Created attachment 223243 [details]
- libepoll-shim is used by libwayland-server instead
- glib20 is implicitly added by pango and only used to free pango stuff
Created attachment 223244 [details]
Submitter is committer
Is there some tooling to detect such unneeded dependencies?
A commit references this bug:
Date: Tue Mar 16 16:35:28 UTC 2021
New revision: 568580
x11-wm/hikari: drop unused dependencies
- libepoll-shim is used by graphics/wayland instead
- glib20 is auto-added via USE_GNOME due to being part of pango API
Approved by: Alexander Sieg (maintainer)
(In reply to Alexander Sieg from comment #3)
> Is there some tooling to detect such unneeded dependencies?
I don't think so, only noticed during devel/libepoll-shim update when testing consumers. One can compare NEEDED lines in poudriere logs, enable DEVELOPER=1 then re-populate deps from scratch and check LDFLAGS+=-Wl,--as-needed impact.