Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946946 - gui-libs/libadwaita doesn't need xorg-proto dep
Summary: gui-libs/libadwaita doesn't need xorg-proto dep
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-26 14:56 UTC by Yaroslav Isakov
Modified: 2024-12-29 16:22 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2024-12-26 14:56:06 UTC
Hello! I found out, that on my system without X11, libadwaita tries to pull xorg-proto dep. I dropped this dep from ebuild, and it compiled without a single issue (and works). I cannot find any X11 headers in libadwaita sources, so, please, drop this dependency (unless I missed something)
Comment 1 wxviolation 2024-12-26 17:03:12 UTC
The title should be to make xorg-proto dependency optional probably behind
a X or xwayland USE flag or does libadwaita not need it at all to funtions?

I am curious how you got a X11 free system. Do you not have xwayland?
Because I imagine this (probably) breaking libadwaita on xwayland
Comment 2 Yaroslav Isakov 2024-12-26 17:05:34 UTC
Oh, I cannot find any mentions of x11 in adwaita code, so, I suppose, that it has no need for use flag - please, correct me if I'm wrong.

I do not have Xwayland, I built Gentoo without X flag at all, and removed libX11/libxcb/xorg-proto and all related packages.
Comment 3 Yaroslav Isakov 2024-12-26 17:14:43 UTC
Oh, and I'm using Sway as WM, this is why I don't need any X11 deps for Gnome or KDE
Comment 4 wxviolation 2024-12-26 17:28:04 UTC
(In reply to Yaroslav Isakov from comment #2)
> Oh, I cannot find any mentions of x11 in adwaita code, so, I suppose, that
> it has no need for use flag - please, correct me if I'm wrong.

I don't know either but I imagine this is now possible with the 1.6 version since GNOME made building x11[1] and xwayland[2] optional in the 47 release

1. gitlab.gnome.org/GNOME/mutter/-/merge_requests/3776
2. gitlab.gnome.org/GNOME/mutter/-/merge_requests/2399