We should be able to build plymouth even if the nvidia, radeon or intel drm library is missing (i.e.: Hasn't been built into the system).
This would be especially welcomed on minimalistic distros that often only build libraries that are explicitly needed to run a certain application.
Created attachment 42800 [details] [review]
makes libdrm_intel, libdrm_radeon, libdrm_nouveau independently optional
Hi, this patch adds the respective configure options to make possible to disable libdrm_intel, libdrm_radeon or libdrm_nouveau independently from each other, even from libkms (which itself also needs libdrm). So the default behaviour is as before, --enable-libdrm_[intel,radeon,nouveau], but they can be changed to --disable. If also --disable-libkms is used, plymouth is built withouth ANY DRMM dependency. On my setup I could successfully build with only libkms or with no DRM at all. Please bear with us users out there which need proprietary nvidia/ATI drivers and also do not need or want to install/build the rest of the DRM cruft it not usable (like on Gentoo when using proprietary drivers) and include this patch in git :-)
Thanks, i've commited this with some minor changes:
on May 29, 2016 at 21:04:26.
(provided by the Example extension).