[Spice-commits] meson.build src/spice-widget-egl.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 6 16:44:52 UTC 2020

 meson.build            |    1 +
 src/spice-widget-egl.c |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 308df96bef921c8acc61b645a1744b65e2104e6e
Author: Victor Toso <me at victortoso.com>
Date:   Thu Feb 6 14:21:10 2020 +0100

    build: egl: remove libdrm/drm_fourcc.h
    Same result but removing the single directly usage of libdrm include
    which is not being checked. The header epoxy/egl_generated.h contains
    the macro EGL_LINUX_DRM_FOURCC_EXT that we use in spice-widget-egl.c
    and that is included in epoxy/egl.h already.
    Signed-off-by: Victor Toso <victortoso at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/meson.build b/meson.build
index 171a3f6..e7df9c4 100644
--- a/meson.build
+++ b/meson.build
@@ -63,6 +63,7 @@ foreach header : headers
+# FIXME: Add a config option to validate spice-widget-egl being built or not
 spice_gtk_has_egl = compiler.has_header('epoxy/egl.h')
 if spice_gtk_has_egl
     spice_gtk_config_data.set('HAVE_EPOXY_EGL_H', '1')
diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
index f5e24a0..06af97a 100644
--- a/src/spice-widget-egl.c
+++ b/src/spice-widget-egl.c
@@ -26,7 +26,6 @@
 #include "spice-widget.h"
 #include "spice-widget-priv.h"
 #include "spice-gtk-session-priv.h"
-#include <libdrm/drm_fourcc.h>
 #include <gdk/gdkx.h>

More information about the Spice-commits mailing list