92d60dbb08
Fixes error building against libdrm >= 2.4.122:
../src/backends/native/meta-kms-plane.c:67:8: error: redefinition of ‘struct drm_plane_size_hint’
67 | struct drm_plane_size_hint {
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/libdrm/drm.h:1025,
from /usr/local/include/xf86drm.h:40,
from ../src/backends/native/meta-kms-plane-private.h:20,
from ../src/backends/native/meta-kms-plane.c:21:
/usr/local/include/libdrm/drm_mode.h:866:8: note: originally defined here
866 | struct drm_plane_size_hint {
| ^~~~~~~~~~~~~~~~~~~
Suggested by Jonas Ådahl.
v2:
* Use has_type. (Sebastian Wick)
v3: (jadahl)
* Bump meson requirement to 1.3.0 for compiler.has_type()
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3556
Fixes: 0ca933baec
("backend/native: Adds support for SIZE_HINTS Cursor Plane Property")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3848>
143 lines
3.4 KiB
Text
143 lines
3.4 KiB
Text
/* The prefix for our gettext translation domains. */
|
|
#mesondefine GETTEXT_PACKAGE
|
|
|
|
/* Version number of package */
|
|
#mesondefine VERSION
|
|
|
|
/* Name of package */
|
|
#mesondefine PACKAGE_NAME
|
|
|
|
/* Version number of package */
|
|
#mesondefine PACKAGE_VERSION
|
|
|
|
/* Search path for plugins */
|
|
#mesondefine MUTTER_PLUGIN_DIR
|
|
|
|
/* */
|
|
#mesondefine MUTTER_LOCALEDIR
|
|
|
|
/* */
|
|
#mesondefine MUTTER_LIBEXECDIR
|
|
|
|
/* */
|
|
#mesondefine MUTTER_PKGDATADIR
|
|
|
|
/* Defined if EGL support is enabled */
|
|
#mesondefine HAVE_EGL
|
|
|
|
/* Defined if EGLDevice support is enabled */
|
|
#mesondefine HAVE_EGL_DEVICE
|
|
|
|
/* Have GLX for rendering */
|
|
#mesondefine HAVE_GLX
|
|
|
|
#mesondefine HAVE_EGL_PLATFORM_XLIB
|
|
|
|
/* Have GL for rendering */
|
|
#mesondefine HAVE_GL
|
|
|
|
/* Have GLES 2.0 for rendering */
|
|
#mesondefine HAVE_GLES2
|
|
|
|
/* Defined if EGLStream support is enabled */
|
|
#mesondefine HAVE_WAYLAND_EGLSTREAM
|
|
|
|
/* Building with gudev for device type detection */
|
|
#mesondefine HAVE_LIBGUDEV
|
|
|
|
/* Building with libwacom for advanced tablet management */
|
|
#mesondefine HAVE_LIBWACOM
|
|
|
|
/* Building with libsystemd */
|
|
#mesondefine HAVE_LIBSYSTEMD
|
|
|
|
/* Define if you want to enable the native (KMS) backend based on systemd */
|
|
#mesondefine HAVE_NATIVE_BACKEND
|
|
|
|
/* Define if you want to enable Wayland support */
|
|
#mesondefine HAVE_WAYLAND
|
|
|
|
/* Define if you want to enable XWayland support */
|
|
#mesondefine HAVE_XWAYLAND
|
|
|
|
/* Define if you want to enable X11 backend support */
|
|
#mesondefine HAVE_X11
|
|
|
|
/* Define if either XWayland or X11 backend are enabled */
|
|
#mesondefine HAVE_X11_CLIENT
|
|
|
|
/* Defined if screen cast and remote desktop support is enabled */
|
|
#mesondefine HAVE_REMOTE_DESKTOP
|
|
|
|
/* Defined if gnome-desktop is enabled */
|
|
#mesondefine HAVE_GNOME_DESKTOP
|
|
|
|
/* Defined if sound player is enabled */
|
|
#mesondefine HAVE_SOUND_PLAYER
|
|
|
|
/* Building with SM support */
|
|
#mesondefine HAVE_SM
|
|
|
|
/* Building with startup notification support */
|
|
#mesondefine HAVE_STARTUP_NOTIFICATION
|
|
|
|
/* Building with Sysprof profiling support */
|
|
#mesondefine HAVE_PROFILER
|
|
|
|
/* Path to Xwayland executable */
|
|
#mesondefine XWAYLAND_PATH
|
|
|
|
/* Xwayland applications allowed to issue keyboard grabs */
|
|
#mesondefine XWAYLAND_GRAB_DEFAULT_ACCESS_RULES
|
|
|
|
/* XKB base prefix */
|
|
#mesondefine XKB_BASE
|
|
|
|
/* Whether <sys/prctl.h> exists and it defines prctl() */
|
|
#mesondefine HAVE_SYS_PRCTL
|
|
|
|
/* Either <sys/random.h> or <linux/random.h> */
|
|
#mesondefine HAVE_SYS_RANDOM
|
|
#mesondefine HAVE_LINUX_RANDOM
|
|
|
|
/* Whether Xwayland has -initfd option */
|
|
#mesondefine HAVE_XWAYLAND_INITFD
|
|
|
|
/* Whether Xwayland has -listenfd option */
|
|
#mesondefine HAVE_XWAYLAND_LISTENFD
|
|
|
|
/* Whether the mkostemp function exists */
|
|
#mesondefine HAVE_MKOSTEMP
|
|
|
|
/* Whether the posix_fallocate function exists */
|
|
#mesondefine HAVE_POSIX_FALLOCATE
|
|
|
|
/* Whether the memfd_create function exists */
|
|
#mesondefine HAVE_MEMFD_CREATE
|
|
|
|
/* Whether the Xwayland -terminate supports a delay */
|
|
#mesondefine HAVE_XWAYLAND_TERMINATE_DELAY
|
|
|
|
/* Whether the Xwayland supports +/-byteswappedclients */
|
|
#mesondefine HAVE_XWAYLAND_BYTE_SWAPPED_CLIENTS
|
|
|
|
/* Defined if libdisplay-info is enabled */
|
|
#mesondefine HAVE_LIBDISPLAY_INFO
|
|
|
|
/* Whether the Xwayland has -enable-ei-portal option */
|
|
#mesondefine HAVE_XWAYLAND_ENABLE_EI_PORTAL
|
|
|
|
/* Supports PangoFt2 */
|
|
#mesondefine HAVE_PANGO_FT2
|
|
|
|
/* Supports timerfd_create/timerfd_settime */
|
|
#mesondefine HAVE_TIMERFD
|
|
|
|
/* Supports malloc_trim */
|
|
#mesondefine HAVE_MALLOC_TRIM
|
|
|
|
/* Supports eventfd */
|
|
#mesondefine HAVE_EVENTFD
|
|
|
|
/* libdrm defines struct drm_plane_size_hint */
|
|
#mesondefine HAVE_DRM_PLANE_SIZE_HINT
|