echawk / kiss-xorg

A KISS Linux Repository for Xorg
MIT License
33 stars 9 forks source link

Xwayland is incompatible with KISS Mesa and misses dependencies #136

Closed apprehensions closed 1 year ago

apprehensions commented 1 year ago

If a regular user were on KISS, and decided to add this repository to KISS_PATH for the purpose of compiling Xwayland, they will be hit with this error when compiling Xwayland:

glx/meson.build:43:12: ERROR: Dependency "gl" not found, tried pkgconfig and system

This is because KISS Mesa does not compile GLX, and has X11 disabled. What i propose:

Another thing is that when launching Xwayland, it has the run-time dependency of xkbcomp, which is NOT listed as a dependency for the package.

echawk commented 1 year ago

Alternatively we could just add a check for wayland in the mesa package and enable wayland support on the fly. I've noted this issue in the past in #101 . I'll fix the xkbcomp issue.

apprehensions commented 1 year ago

mesa package and enable wayland support on the fly.

I only need Xwayland. I do not want any of my applications to have support for both wayland and x11, I only want Mesa to support x11, without making an extra repo override for reasons I explained above.

While it is fine, it is better to either make upstream kiss support x11 in mesa if needed, or to create a repository here that has a symlink to mesa simply to avoid other overrides.

echawk commented 1 year ago

I'm not totally understanding your use case, since what I suggested prior would solve the new user problem of using Xwayland. Maybe I'm not understanding the particulars of why one would need this setup?

apprehensions commented 1 year ago

I'll fix the xkbcomp issue.

you forgot

echawk commented 1 year ago

xkbcomp resolved as of 8eb8e843b393ce30eda19488d09cba9eddbb280c