build: One config file to rule them all

Group all the three config files from clutter/cogl/meta into one
and also remove unnused configurations and replace duplicated ones

This also fixes Cogl usage of HAS_X11/HAS_XLIB to match the expected
build options

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3368>
This commit is contained in:
Bilal Elmoussaoui 2023-11-07 11:56:00 +01:00 committed by Marge Bot
parent ebba651c81
commit f5dac3a5d9
246 changed files with 337 additions and 409 deletions

3
clutter/.gitignore vendored
View File

@ -18,9 +18,6 @@ stamp-enum-types
stamp-marshal
tags
/ChangeLog*
clutter-build-config.h
clutter-build-config.h.in
clutter-config.h
clutter-enum-types.[ch]
clutter-marshal.[ch]
gcov-report.txt

View File

@ -66,7 +66,7 @@
*
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <glib.h>

View File

@ -66,7 +66,7 @@
* a11y POV should still be managed as a image (with the proper properties,
* position, size, etc.).
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "cally/cally-clone.h"
#include "cally/cally-actor-private.h"

View File

@ -33,7 +33,7 @@
* [class@Clutter.StageManager]).
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "cally/cally-root.h"

View File

@ -31,7 +31,7 @@
* being a canvas. Anyway, this is required for applications using
* just clutter, or directly [class@Clutter.Stage]
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "cally/cally-stage.h"
#include "cally/cally-actor-private.h"

View File

@ -35,7 +35,7 @@
* [class@Clutter.Text], #AtkText and #AtkEditableText
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "cally/cally-text.h"
#include "cally/cally-actor-private.h"

View File

@ -35,7 +35,7 @@
* available any accessible object.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <stdlib.h>
#include <string.h>
@ -128,7 +128,7 @@ cally_util_get_toolkit_name (void)
static const gchar *
cally_util_get_toolkit_version (void)
{
return MUTTER_VERSION;
return VERSION;
}
static guint

View File

@ -27,7 +27,7 @@
*
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS

View File

@ -38,7 +38,7 @@
* various event-related signals provided by [class@Actor] itself.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-action.h"
#include "clutter/clutter-action-private.h"

View File

@ -1,4 +1,4 @@
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -38,7 +38,7 @@
* any kind of modification.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-actor-meta-private.h"

View File

@ -479,7 +479,7 @@
* ```
*/
#include "clutter-build-config.h"
#include "config.h"
#include <math.h>
@ -3566,7 +3566,7 @@ clutter_actor_paint (ClutterActor *self,
if (!clutter_actor_is_mapped (self))
return;
#ifdef COGL_HAS_TRACING
#ifdef HAVE_PROFILER
COGL_TRACE_SCOPED_ANCHOR (ClutterActorPaint);
if (G_UNLIKELY (clutter_debug_flags & CLUTTER_DEBUG_DETAILED_TRACE))
@ -8734,7 +8734,7 @@ clutter_actor_allocate (ClutterActor *self,
!clutter_actor_has_mapped_clones (self))
return;
#ifdef COGL_HAS_TRACING
#ifdef HAVE_PROFILER
COGL_TRACE_SCOPED_ANCHOR (ClutterActorAllocate);
if (G_UNLIKELY (clutter_debug_flags & CLUTTER_DEBUG_DETAILED_TRACE))

View File

@ -32,7 +32,7 @@
* [class@Actor] using an alignment factor
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-align-constraint.h"

View File

@ -36,7 +36,7 @@
* depending on a progress factor, expressed as a floating point value.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-animatable.h"
#include "clutter/clutter-interval.h"

View File

@ -37,7 +37,7 @@
* and settings.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-backend-private.h"
#include "clutter/clutter-debug.h"
@ -222,7 +222,7 @@ clutter_backend_real_create_context (ClutterBackend *backend,
drivers_list = g_getenv ("CLUTTER_DRIVER");
if (drivers_list == NULL)
drivers_list = CLUTTER_DRIVERS;
drivers_list = "*";
known_drivers = g_strsplit (drivers_list, ",", 0);

View File

@ -30,7 +30,7 @@
* across the whole API.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-types.h"
#include "clutter/clutter-private.h"

View File

@ -21,7 +21,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <glib.h>
#include <string.h>

View File

@ -42,7 +42,7 @@
* shows how to pack actors inside a #ClutterBinLayout.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -81,7 +81,7 @@
* ```
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -93,7 +93,7 @@
* key binding handler returned %FALSE.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-binding-pool.h"
#include "clutter/clutter-debug.h"

View File

@ -35,7 +35,7 @@
#define CLUTTER_IS_BLUR_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BLUR_EFFECT))
#define CLUTTER_BLUR_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BLUR_EFFECT, ClutterBlurEffectClass))
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-blur-effect.h"

View File

@ -46,7 +46,7 @@
* #ClutterBoxLayout by using clutter_box_layout_set_spacing().
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -35,7 +35,7 @@
#define CLUTTER_IS_BRIGHTNESS_CONTRAST_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BRIGHTNESS_CONTRAST_EFFECT))
#define CLUTTER_BRIGHTNESS_CONTRAST_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BRIGHTNESS_CONTRAST_EFFECT, ClutterBrightnessContrastEffectClass))
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -1,11 +0,0 @@
/* The prefix for our gettext translation domains. */
#mesondefine GETTEXT_PACKAGE
/* Mutter version */
#mesondefine MUTTER_VERSION
/* List of Cogl drivers */
#mesondefine CLUTTER_DRIVERS
/* Supports PangoFt2 */
#mesondefine HAVE_PANGO_FT2

View File

@ -39,7 +39,7 @@
* for an example of how to use #ClutterCanvas..
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>
#include <cairo-gobject.h>

View File

@ -87,7 +87,7 @@
* ```
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-click-action.h"

View File

@ -36,7 +36,7 @@
* implementation.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-actor-private.h"
#include "clutter/clutter-clone.h"

View File

@ -43,7 +43,7 @@
* actor content is in pq or not, and things like that
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-color-state.h"

View File

@ -21,7 +21,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -35,7 +35,7 @@
#define CLUTTER_IS_COLORIZE_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_COLORIZE_EFFECT))
#define CLUTTER_COLORIZE_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_COLORIZE_EFFECT, ClutterColorizeEffectClass))
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-colorize-effect.h"

View File

@ -125,7 +125,7 @@
* can be recovered at any point using clutter_actor_meta_get_actor().
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <string.h>

View File

@ -34,7 +34,7 @@
* to share the resources associated with painting the same content..
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-actor-private.h"
#include "clutter/clutter-content-private.h"

View File

@ -16,7 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-damage-history.h"

View File

@ -48,7 +48,7 @@
* deformation algorithm.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "cogl/cogl.h"

View File

@ -37,7 +37,7 @@
#define CLUTTER_IS_DESATURATE_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_DESATURATE_EFFECT))
#define CLUTTER_DESATURATE_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_DESATURATE_EFFECT, ClutterDesaturateEffectClass))
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -1,4 +1,4 @@
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-easing.h"

View File

@ -159,7 +159,7 @@
* ```
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-effect.h"

View File

@ -1,5 +1,5 @@
/*** BEGIN file-header ***/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-enum-types.h"
/*** END file-header ***/

View File

@ -23,7 +23,7 @@
*
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-backend-private.h"
#include "clutter/clutter-debug.h"

View File

@ -35,7 +35,7 @@
* run-time.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <stdlib.h>
#include <string.h>

View File

@ -33,7 +33,7 @@
* layout policies as #ClutterGroup.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-debug.h"
#include "clutter/clutter-fixed-layout.h"

View File

@ -27,7 +27,7 @@
need to do anything on top of the ClutterOffscreenEffect class so
it only exists because that class is abstract */
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-flatten-effect.h"
#include "clutter/clutter-private.h"

View File

@ -51,7 +51,7 @@
* shows how to use the #ClutterFlowLayout.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -15,7 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-frame-clock.h"
@ -284,7 +284,7 @@ clutter_frame_clock_notify_presented (ClutterFrameClock *frame_clock,
}
}
#ifdef COGL_HAS_TRACING
#ifdef HAVE_PROFILER
if (G_UNLIKELY (cogl_is_tracing_enabled ()))
{
int64_t current_time_us;
@ -710,7 +710,7 @@ clutter_frame_clock_dispatch (ClutterFrameClock *frame_clock,
ClutterFrameResult result;
int64_t ideal_dispatch_time_us, lateness_us;
#ifdef COGL_HAS_TRACING
#ifdef HAVE_PROFILER
int64_t this_dispatch_ready_time_us;
int64_t this_dispatch_time_us;
@ -804,7 +804,7 @@ clutter_frame_clock_dispatch (ClutterFrameClock *frame_clock,
break;
}
#ifdef COGL_HAS_TRACING
#ifdef HAVE_PROFILER
if (this_dispatch_ready_time_us != -1 &&
G_UNLIKELY (cogl_is_tracing_enabled ()))
{

View File

@ -81,7 +81,7 @@
* instead.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-debug.h"

View File

@ -22,7 +22,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-graphene.h"

View File

@ -26,7 +26,7 @@
* Matthias Clasen
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <string.h>
#include <math.h>

View File

@ -34,7 +34,7 @@
* for an example of how to use #ClutterImage..
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-image.h"

View File

@ -21,7 +21,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-input-device-tool.h"
#include "clutter/clutter-private.h"

View File

@ -32,7 +32,7 @@
* its contents are usually defined by the Clutter backend in use.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-input-device.h"

View File

@ -17,7 +17,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-input-focus.h"
#include "clutter/clutter-input-focus-private.h"

View File

@ -17,7 +17,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-event-private.h"
#include "clutter/clutter-private.h"

View File

@ -19,7 +19,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-input-only-action.h"

View File

@ -19,7 +19,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-input-only-actor.h"

View File

@ -21,7 +21,7 @@
* mousetweaks Copyright (C) 2007-2010 Gerd Kohlberger <gerdko gmail com>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-backend-private.h"
#include "clutter/clutter-enum-types.h"

View File

@ -42,7 +42,7 @@
* and value computation.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <stdlib.h>
#include <string.h>

View File

@ -60,7 +60,7 @@
* interval..
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-keyframe-transition.h"

View File

@ -17,7 +17,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-keymap-private.h"
#include "clutter/clutter-private.h"

View File

@ -1,4 +1,4 @@
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <glib.h>

View File

@ -88,7 +88,7 @@
* the #ClutterActor child of the #ClutterActor.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <glib-object.h>
#include <gobject/gvaluecollector.h>

View File

@ -35,7 +35,7 @@
* [class@Actor] using a [class@LayoutManager].
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-layout-meta.h"
#include "clutter/clutter-debug.h"

View File

@ -47,7 +47,7 @@
* [threads.c](https://git.gnome.org/browse/clutter/tree/examples/threads.c?h=clutter-1.18)
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <stdlib.h>
#include <glib/gi18n-lib.h>

View File

@ -85,7 +85,7 @@
* of [vfunc@OffscreenEffect.create_pipeline].
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-offscreen-effect.h"

View File

@ -33,7 +33,7 @@
* A simple page turning effect
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -15,7 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-paint-context-private.h"
#include "clutter/clutter-frame.h"

View File

@ -47,7 +47,7 @@
* The `ClutterPaintNodeClass` structure contains only private data.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <gobject/gvaluecollector.h>
#include <pango/pango.h>

View File

@ -23,7 +23,7 @@
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-paint-node-private.h"

View File

@ -24,7 +24,7 @@
* Emmanuele Bassi <ebassi@linux.intel.com>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <string.h>

View File

@ -51,7 +51,7 @@
* when dragging.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-pan-action.h"

View File

@ -34,7 +34,7 @@
* control how far along the path the [class@Actor] should be..
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-path-constraint.h"

View File

@ -58,7 +58,7 @@
* [method@Path.add_string] for details.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <string.h>
#include <stdarg.h>

View File

@ -15,7 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-backend.h"
#include "clutter/clutter-pick-context-private.h"

View File

@ -28,7 +28,7 @@
* can be used to tween a property of a [iface@Animatable] instance.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-property-transition.h"

View File

@ -31,7 +31,7 @@
* the logic for recognizing rotate gestures using two touch points.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -40,7 +40,7 @@
* for an example of how to use #ClutterScrollActor..
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-scroll-actor.h"

View File

@ -21,7 +21,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-input-device-tool.h"
#include "clutter/clutter-input-pointer-a11y-private.h"

View File

@ -15,7 +15,7 @@
* for instance the default font name.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-settings.h"

View File

@ -110,7 +110,7 @@
* ```
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "cogl/cogl.h"

View File

@ -24,7 +24,7 @@
*
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <glib-object.h>
#include <gobject/gvaluecollector.h>

View File

@ -33,7 +33,7 @@
* An offset can be applied to the constraint, to provide spacing.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -35,7 +35,7 @@
* be emitted
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-stage-manager-private.h"

View File

@ -15,7 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-stage-view.h"
#include "clutter/clutter-stage-view-private.h"

View File

@ -1,4 +1,4 @@
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <glib-object.h>

View File

@ -35,7 +35,7 @@
* parent class corresponding function.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -35,7 +35,7 @@
* the logic for recognizing swipe gestures.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-swipe-action.h"

View File

@ -51,7 +51,7 @@
* ```
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-tap-action.h"

View File

@ -17,7 +17,7 @@
* Author: Stef Walter <stefw@collabora.co.uk>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-text-buffer.h"
#include "clutter/clutter-marshal.h"

View File

@ -37,7 +37,7 @@
* [method@Text.set_selectable].
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <string.h>
#include <math.h>

View File

@ -24,7 +24,7 @@
* Robert Mader <robert.mader@posteo.de>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-texture-content.h"

View File

@ -74,7 +74,7 @@
* [class@Transition].
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-timeline.h"

View File

@ -35,7 +35,7 @@
* 5 seconds of the transition will be played.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-transition-group.h"

View File

@ -30,7 +30,7 @@
* computes the interpolation between two values, stored by a [class@Interval].
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include "clutter/clutter-transition.h"

View File

@ -30,7 +30,7 @@
* Various miscellaneous utilility functions.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <fribidi.h>
#include <math.h>

View File

@ -21,7 +21,7 @@
* Author: Jonas Ådahl <jadahl@gmail.com>
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <glib-object.h>

View File

@ -44,7 +44,7 @@
* distance between two touch points.
*/
#include "clutter/clutter-build-config.h"
#include "config.h"
#include <math.h>

View File

@ -244,21 +244,6 @@ cally_private_headers = [
clutter_built_sources = []
clutter_built_headers = []
clutter_built_private_headers = []
cdata = configuration_data()
cdata.set_quoted('MUTTER_VERSION', meson.project_version())
cdata.set_quoted('GETTEXT_PACKAGE', meson.project_name())
cdata.set('CLUTTER_DRIVERS', '"*"')
cdata.set('HAVE_PANGO_FT2', have_pango_ft2)
clutter_build_config_h = configure_file(
input: 'clutter-build-config.h.meson',
output: 'clutter-build-config.h',
configuration: cdata,
install: false,
)
clutter_built_private_headers += clutter_build_config_h
clutter_enum_types = gnome.mkenums('clutter-enum-types',
sources: clutter_headers,
@ -297,7 +282,7 @@ libmutter_clutter = shared_library(libmutter_clutter_name,
version: '0.0.0',
soversion: 0,
c_args: clutter_c_args,
include_directories: clutter_includes,
include_directories: [clutter_includes, top_includepath],
dependencies: [clutter_deps],
gnu_symbol_visibility: 'hidden',
link_with: [

View File

@ -1,10 +0,0 @@
/* Have GL for rendering */
#mesondefine HAVE_COGL_GL
/* Have GLES 2.0 for rendering */
#mesondefine HAVE_COGL_GLES2
/* Enable unit tests */
#mesondefine ENABLE_UNIT_TESTS
#define COGL_CONFIG_H_INCLUDED 1

View File

@ -26,7 +26,7 @@
* SOFTWARE.
*/
#include "cogl-config.h"
#include "config.h"
#include <glib.h>
#include <string.h>

View File

@ -26,7 +26,7 @@
* SOFTWARE.
*/
#include "cogl-config.h"
#include "config.h"
/* This is needed to get the Pango headers to export stuff needed to
subclass */

View File

@ -26,7 +26,7 @@
* SOFTWARE.
*/
#include "cogl-config.h"
#include "config.h"
#include <glib.h>

Some files were not shown because too many files have changed in this diff Show More