[mutter/wip/carlosg/backendless-clutter: 14/15] clutter: Remove leftovers from backend code in build system




commit 02c64a7669d4f958ad6493ba5c38cb7671ce394e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue May 11 01:11:55 2021 +0200

    clutter: Remove leftovers from backend code in build system

 clutter/clutter/clutter-backend.h            |  1 -
 clutter/clutter/clutter-build-config.h.meson |  6 ------
 clutter/clutter/clutter-config.h.in          | 21 -------------------
 clutter/clutter/clutter-main.c               |  1 -
 clutter/clutter/clutter.h                    |  1 -
 clutter/clutter/meson.build                  | 30 ----------------------------
 6 files changed, 60 deletions(-)
---
diff --git a/clutter/clutter/clutter-backend.h b/clutter/clutter/clutter-backend.h
index 14f6c24d48..570fd96a4e 100644
--- a/clutter/clutter/clutter-backend.h
+++ b/clutter/clutter/clutter-backend.h
@@ -33,7 +33,6 @@
 
 #include <cogl/cogl.h>
 
-#include <clutter/clutter-config.h>
 #include <clutter/clutter-keymap.h>
 #include <clutter/clutter-types.h>
 #include <clutter/clutter-seat.h>
diff --git a/clutter/clutter/clutter-build-config.h.meson b/clutter/clutter/clutter-build-config.h.meson
index db77698c35..7ca19deabf 100644
--- a/clutter/clutter/clutter-build-config.h.meson
+++ b/clutter/clutter/clutter-build-config.h.meson
@@ -4,11 +4,5 @@
 /* List of Cogl drivers */
 #mesondefine CLUTTER_DRIVERS
 
-/* Have evdev support for input handling */
-#mesondefine HAVE_EVDEV
-
-/* Building with libwacom for advanced tablet management */
-#mesondefine HAVE_LIBWACOM
-
 /* Supports PangoFt2 */
 #mesondefine HAVE_PANGO_FT2
diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c
index b75ef7878a..b862f82a3b 100644
--- a/clutter/clutter/clutter-main.c
+++ b/clutter/clutter/clutter-main.c
@@ -53,7 +53,6 @@
 
 #include "clutter-actor-private.h"
 #include "clutter-backend-private.h"
-#include "clutter-config.h"
 #include "clutter-debug.h"
 #include "clutter-event-private.h"
 #include "clutter-feature.h"
diff --git a/clutter/clutter/clutter.h b/clutter/clutter/clutter.h
index 4cc4fc52b9..8eefead61d 100644
--- a/clutter/clutter/clutter.h
+++ b/clutter/clutter/clutter.h
@@ -28,7 +28,6 @@
 
 #define __CLUTTER_H_INSIDE__
 
-#include "clutter-config.h"
 #include "clutter-types.h"
 
 #include "clutter-action.h"
diff --git a/clutter/clutter/meson.build b/clutter/clutter/meson.build
index 4f6742e71b..fee76438b3 100644
--- a/clutter/clutter/meson.build
+++ b/clutter/clutter/meson.build
@@ -231,9 +231,6 @@ clutter_deprecated_headers = [
   'deprecated/clutter-timeline.h',
 ]
 
-clutter_backend_sources = []
-clutter_backend_nonintrospected_sources = []
-clutter_backend_headers = []
 clutter_backend_private_headers = []
 
 cally_headers = [
@@ -269,8 +266,6 @@ clutter_built_private_headers = []
 cdata = configuration_data()
 cdata.set_quoted('MUTTER_VERSION', meson.project_version())
 cdata.set('CLUTTER_DRIVERS', '"*"')
-cdata.set('HAVE_EVDEV', have_native_backend)
-cdata.set('HAVE_LIBWACOM', have_libwacom)
 cdata.set('HAVE_PANGO_FT2', have_pango_ft2)
 
 clutter_build_config_h = configure_file(
@@ -281,27 +276,6 @@ clutter_build_config_h = configure_file(
 )
 clutter_built_private_headers += clutter_build_config_h
 
-cdata = configuration_data()
-if have_x11
-  cdata.set_quoted('CLUTTER_WINDOWING_X11', 'x11')
-  cdata.set_quoted('CLUTTER_INPUT_X11', 'x11')
-  cdata.set_quoted('CLUTTER_WINDOWING_GLX', 'glx')
-endif
-if have_native_backend
-  cdata.set_quoted('CLUTTER_WINDOWING_EGL', 'eglnative')
-  cdata.set_quoted('CLUTTER_INPUT_EVDEV', 'evdev')
-endif
-cdata.set_quoted('CLUTTER_INPUT_NULL', 'null')
-
-clutter_config_h = configure_file(
-  input: 'clutter-config.h.in',
-  output: 'clutter-config.h',
-  configuration: cdata,
-  install: true,
-  install_dir: clutter_clutter_includedir,
-)
-clutter_built_headers += clutter_config_h
-
 clutter_enum_types = gnome.mkenums('clutter-enum-types',
   sources: [clutter_headers, clutter_deprecated_headers],
   c_template: 'clutter-enum-types.c.in',
@@ -331,10 +305,6 @@ libmutter_clutter = shared_library(libmutter_clutter_name,
     clutter_private_headers,
     clutter_nonintrospected_sources,
     clutter_deprecated_headers,
-    clutter_backend_sources,
-    clutter_backend_nonintrospected_sources,
-    clutter_backend_headers,
-    clutter_backend_private_headers,
     clutter_built_sources,
     clutter_built_headers,
     cally_sources,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]