[PATCH weston 0/3] Make libdrm a hard build-time dependency

Pekka Paalanen ppaalanen at gmail.com
Thu Apr 6 12:09:26 UTC 2017


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Hi,

I wrote this for Daniel's atomic modesetting series which adds a pixel-formats
database into libweston core. That database cannot exist without drm_foucc.h,
and putting it into the modules would probably bring in another binary copy of
it in gl-renderer.so - I assume gl-renderer might start using it in the future.
Also linux-dmabuf.c could use the pixel-formats database.

Therefore to me it seems the easiest way forward is to make libdrm a mandatory
dependency for building libweston.

This does not add runtime dependencies where they did not already exist. In
fact, this series removes a couple libdrm dependencies for some rare
configurations.

Pekka Paalanen (3):
  configure: replace HAVE_LIBDRM with BUILD_DRM_COMPOSITOR
  build: do not link libdrm without DRM backend
  build: make libdrm a hard build-time dependency

 Makefile.am                        | 14 +++++++++++---
 configure.ac                       | 13 +++++++++----
 libweston/launcher-direct.c        |  2 +-
 libweston/launcher-weston-launch.c |  2 +-
 libweston/weston-launch.c          |  2 +-
 5 files changed, 23 insertions(+), 10 deletions(-)


Thanks,
pq


-- 
2.10.2



More information about the wayland-devel mailing list