Bug 29804

Summary: Cannot build plymouth if nvidia, radeon or intel drm lib is missing
Product: plymouth Reporter: Marc <marc>
Component: generalAssignee: Ray Strode [halfline] <rstrode>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: makes libdrm_intel, libdrm_radeon, libdrm_nouveau independently optional

Description Marc 2010-08-25 12:31:38 UTC
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.
Comment 1 Lucian Muresan 2011-02-01 00:55:04 UTC
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 :-)
Comment 2 Ray Strode [halfline] 2011-02-01 11:34:23 UTC
Thanks, i've commited this with some minor changes:

http://cgit.freedesktop.org/plymouth/commit/?id=22a1273bb2c9dc0d3188b8ed11b0c97bfca6d3ef

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.