> When using the nvidia proprietary drivers on xorg, mesa is often pulled > in as an aditional dependency. > This dependency is not needed, because, by design, the proprietary > drivers don't use mesa, instead re-implementing everything in mesa. > > The reason this is the case is because xorg, when build with glx, needs > a single header from the mesa project, > and checks for a pkg-config file also provided by mesa. > > IMO, building all of mesa just for one single header is not the best of > solutions. > > See this issue on the xorg gitlab for more context: > https://gitlab.freedesktop.org/xorg/xserver/-/issues/1638 > > For those who can't/don't want to open the above link and read the > posts, this is what I use to avoid building mesa: > https://github.com/stefan11111/dri_interface.h > > Thoughts?
This is a issue with the xorg package, better handled with a bug report to the package maintainer. Other issues are going to be handled better @gentoo-users, this list is mostly exclusive to suckless software (which xorg is not and gentoo is maybe I guess?) Best regards, Dalmon Ian.