neutrinolabs / xorgxrdp

Xorg drivers for xrdp
Other
428 stars 108 forks source link

Improve --enable-glamor behaviour #295

Closed matt335672 closed 3 months ago

matt335672 commented 3 months ago

See #294

This PR makes the following improvements to the xorgxrdp build process when --enable-glamor is used:-

1) Adds $LIBDRM_CFLAGS to the include path (where required) to ensure drm_fourcc.h can be located 2) Adds an explicit link dependency on the Xorg module libglamoregl.so to libxorgxrdp.so. 3) Adds the Xorg module path to the RPATH for libxorgxrdp.so, so the run-time linker can find libglamoregl.so 4) 'make check' is now added to the CI for --enable-glamor builds. On Linux this checks that all module symbols can be resolved.

Essentially this patch upstreams this patch file from Arch AUR which was created (I believe) by @jat001

@jat001, @Chocobo1 - please feel free to comment