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




commit 30bcdc0d138025e7d530b496378c5a027b6561b5
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-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 ----------------------------
 5 files changed, 59 deletions(-)
---
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 493b286c05..83c6ea0cad 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 9b97cfc9e9..b93cc8e1c2 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 852968de24..ac624f8e2f 100644
--- a/clutter/clutter/meson.build
+++ b/clutter/clutter/meson.build
@@ -229,9 +229,6 @@ clutter_deprecated_headers = [
   'deprecated/clutter-timeline.h',
 ]
 
-clutter_backend_sources = []
-clutter_backend_nonintrospected_sources = []
-clutter_backend_headers = []
 clutter_backend_private_headers = []
 
 cally_headers = [
@@ -267,8 +264,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(
@@ -279,27 +274,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',
@@ -329,10 +303,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]