- Joined
- Apr 11, 2023
For the most part, it doesn't. Most of the dependencies are developed to work with wayland and/or X11 so the one package will work in both cases. Debian's packages have eight relationships: Depends, Recommends, Suggests, Pre-Depends, Build-Depends, Build-Depends-Indep and Build-Depends-Arch https://www.debian.org/doc/debian-policy/ch-relationships.html There are no other ways to describe dependency.how well does Linux handle choosing dependencies for mix and match configurations? like if you're installing a DE how does it know to install some DE specific dependencies if wayland is installed or to install different dependencies if X11 is installed?
Gentoo, naturally, expands the spectrum a bit. DEPEND="gtk? ( =x11-libs/gtk+-2* )" creates a dependency on gtk+ if the gtk USE flag is set.
This is how two distroes handle things. But yeah, varies depending on distro.