2019-03-11 20:35:13 -04:00
|
|
|
mutter_includesubdir = join_paths(pkgname, 'meta')
|
|
|
|
mutter_includedir = join_paths(includedir, mutter_includesubdir)
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
|
|
|
|
mutter_includes = [
|
|
|
|
include_directories('.'),
|
|
|
|
top_includepath,
|
|
|
|
clutter_includepath,
|
|
|
|
cogl_includepath,
|
|
|
|
]
|
|
|
|
|
|
|
|
mutter_lib_deps = [
|
|
|
|
m_dep,
|
|
|
|
]
|
|
|
|
|
|
|
|
mutter_pkg_deps = [
|
|
|
|
cairo_dep,
|
|
|
|
gio_unix_dep,
|
|
|
|
glib_dep,
|
2019-01-21 06:13:48 -05:00
|
|
|
gsettings_desktop_schemas_dep,
|
|
|
|
gtk3_dep,
|
|
|
|
pango_dep,
|
|
|
|
]
|
|
|
|
|
|
|
|
mutter_pkg_private_deps = [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
gmodule_no_export_dep,
|
|
|
|
gnome_desktop_dep,
|
|
|
|
gnome_settings_daemon_dep,
|
|
|
|
json_glib_dep,
|
2019-01-08 09:59:57 -05:00
|
|
|
libcanberra_dep,
|
2019-01-21 06:13:48 -05:00
|
|
|
xkbcommon_dep,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
if have_gl
|
|
|
|
mutter_pkg_deps += [
|
|
|
|
gl_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_gles2
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
gles2_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_egl
|
|
|
|
mutter_pkg_deps += [
|
|
|
|
egl_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_libgudev
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
gudev_dep,
|
|
|
|
libudev_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_startup_notification
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
libstartup_notification_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_libwacom
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
libwacom_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_remote_desktop
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
libpipewire_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_introspection
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
gobject_introspection_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_x11
|
|
|
|
mutter_pkg_deps += [
|
2019-01-21 06:13:48 -05:00
|
|
|
xfixes_dep,
|
|
|
|
xi_dep,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
x11_dep,
|
2019-01-21 06:13:48 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
mutter_pkg_private_deps += [
|
|
|
|
xrandr_dep,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
xinerama_dep,
|
|
|
|
xext_dep,
|
|
|
|
ice_dep,
|
|
|
|
xcomposite_dep,
|
|
|
|
xcursor_dep,
|
|
|
|
xdamage_dep,
|
|
|
|
xkbfile_dep,
|
|
|
|
xkeyboard_config_dep,
|
|
|
|
xkbcommon_x11_dep,
|
|
|
|
xrender_dep,
|
|
|
|
x11_xcb_dep,
|
|
|
|
xcb_randr_dep,
|
|
|
|
xcb_res_dep,
|
2019-06-18 10:12:46 -04:00
|
|
|
xau_dep,
|
2019-03-22 08:53:00 -04:00
|
|
|
xtst_dep,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
if have_sm
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
sm_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_wayland
|
|
|
|
mutter_pkg_deps += [
|
|
|
|
wayland_server_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_native_backend
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
libdrm_dep,
|
|
|
|
libinput_dep,
|
|
|
|
gudev_dep,
|
|
|
|
libgbm_dep,
|
|
|
|
logind_provider_dep,
|
2019-03-29 17:03:27 -04:00
|
|
|
libudev_dep,
|
|
|
|
xkbcommon_dep,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_wayland_eglstream
|
|
|
|
mutter_lib_deps += [
|
|
|
|
dl_dep,
|
|
|
|
]
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps += [
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
wayland_eglstream_protocols_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
mutter_deps = [
|
|
|
|
mutter_pkg_deps,
|
2019-01-21 06:13:48 -05:00
|
|
|
mutter_pkg_private_deps,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
mutter_lib_deps,
|
|
|
|
]
|
|
|
|
|
|
|
|
mutter_c_args = [
|
|
|
|
'-DCLUTTER_ENABLE_COMPOSITOR_API',
|
|
|
|
'-DCLUTTER_ENABLE_EXPERIMENTAL_API',
|
|
|
|
'-DCOGL_ENABLE_EXPERIMENTAL_API',
|
|
|
|
'-DCOGL_ENABLE_EXPERIMENTAL_2_0_API',
|
|
|
|
'-DCOGL_ENABLE_MUTTER_API',
|
|
|
|
'-DCLUTTER_DISABLE_DEPRECATION_WARNINGS',
|
|
|
|
'-DCOGL_DISABLE_DEPRECATION_WARNINGS',
|
|
|
|
'-DG_LOG_DOMAIN="mutter"',
|
|
|
|
'-DSN_API_NOT_YET_FROZEN=1',
|
|
|
|
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
|
|
|
|
]
|
|
|
|
|
|
|
|
if get_option('verbose')
|
|
|
|
mutter_c_args += [
|
|
|
|
'-DWITH_VERBOSE_MODE'
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
mutter_sources = [
|
|
|
|
'backends/edid.h',
|
|
|
|
'backends/edid-parse.c',
|
|
|
|
'backends/gsm-inhibitor-flag.h',
|
|
|
|
'backends/meta-backend.c',
|
|
|
|
'backends/meta-backend-private.h',
|
|
|
|
'backends/meta-barrier.c',
|
|
|
|
'backends/meta-barrier-private.h',
|
|
|
|
'backends/meta-crtc.c',
|
|
|
|
'backends/meta-crtc.h',
|
|
|
|
'backends/meta-cursor.c',
|
|
|
|
'backends/meta-cursor.h',
|
|
|
|
'backends/meta-cursor-renderer.c',
|
|
|
|
'backends/meta-cursor-renderer.h',
|
|
|
|
'backends/meta-cursor-sprite-xcursor.c',
|
|
|
|
'backends/meta-cursor-sprite-xcursor.h',
|
|
|
|
'backends/meta-cursor-tracker.c',
|
|
|
|
'backends/meta-cursor-tracker-private.h',
|
|
|
|
'backends/meta-display-config-shared.h',
|
|
|
|
'backends/meta-dnd-private.h',
|
|
|
|
'backends/meta-gpu.c',
|
|
|
|
'backends/meta-gpu.h',
|
|
|
|
'backends/meta-idle-monitor.c',
|
|
|
|
'backends/meta-idle-monitor-dbus.c',
|
|
|
|
'backends/meta-idle-monitor-dbus.h',
|
|
|
|
'backends/meta-idle-monitor-private.h',
|
2020-03-06 08:12:59 -05:00
|
|
|
'backends/meta-input-device.c',
|
2018-04-20 10:34:32 -04:00
|
|
|
'backends/meta-input-mapper.c',
|
|
|
|
'backends/meta-input-mapper-private.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/meta-input-settings.c',
|
|
|
|
'backends/meta-input-settings-private.h',
|
|
|
|
'backends/meta-logical-monitor.c',
|
|
|
|
'backends/meta-logical-monitor.h',
|
|
|
|
'backends/meta-monitor.c',
|
|
|
|
'backends/meta-monitor-config-manager.c',
|
|
|
|
'backends/meta-monitor-config-manager.h',
|
|
|
|
'backends/meta-monitor-config-migration.c',
|
|
|
|
'backends/meta-monitor-config-migration.h',
|
|
|
|
'backends/meta-monitor-config-store.c',
|
|
|
|
'backends/meta-monitor-config-store.h',
|
|
|
|
'backends/meta-monitor.h',
|
|
|
|
'backends/meta-monitor-manager.c',
|
|
|
|
'backends/meta-monitor-manager-dummy.c',
|
|
|
|
'backends/meta-monitor-manager-dummy.h',
|
|
|
|
'backends/meta-monitor-manager-private.h',
|
2019-01-05 08:18:02 -05:00
|
|
|
'backends/meta-monitor-transform.c',
|
2019-01-05 08:15:23 -05:00
|
|
|
'backends/meta-monitor-transform.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/meta-orientation-manager.c',
|
|
|
|
'backends/meta-orientation-manager.h',
|
|
|
|
'backends/meta-output.c',
|
|
|
|
'backends/meta-output.h',
|
|
|
|
'backends/meta-pointer-constraint.c',
|
|
|
|
'backends/meta-pointer-constraint.h',
|
|
|
|
'backends/meta-remote-access-controller-private.h',
|
|
|
|
'backends/meta-remote-access-controller.c',
|
|
|
|
'backends/meta-renderer.c',
|
|
|
|
'backends/meta-renderer.h',
|
|
|
|
'backends/meta-renderer-view.c',
|
|
|
|
'backends/meta-renderer-view.h',
|
2018-12-05 02:48:41 -05:00
|
|
|
'backends/meta-screen-cast-window.c',
|
|
|
|
'backends/meta-screen-cast-window.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/meta-settings.c',
|
|
|
|
'backends/meta-settings-private.h',
|
|
|
|
'backends/meta-stage.c',
|
|
|
|
'backends/meta-stage-private.h',
|
|
|
|
'backends/x11/cm/meta-backend-x11-cm.c',
|
|
|
|
'backends/x11/cm/meta-backend-x11-cm.h',
|
|
|
|
'backends/x11/cm/meta-cursor-sprite-xfixes.c',
|
|
|
|
'backends/x11/cm/meta-cursor-sprite-xfixes.h',
|
|
|
|
'backends/x11/cm/meta-renderer-x11-cm.c',
|
|
|
|
'backends/x11/cm/meta-renderer-x11-cm.h',
|
|
|
|
'backends/x11/meta-backend-x11.c',
|
|
|
|
'backends/x11/meta-backend-x11.h',
|
|
|
|
'backends/x11/meta-barrier-x11.c',
|
|
|
|
'backends/x11/meta-barrier-x11.h',
|
|
|
|
'backends/x11/meta-clutter-backend-x11.c',
|
|
|
|
'backends/x11/meta-clutter-backend-x11.h',
|
|
|
|
'backends/x11/meta-crtc-xrandr.c',
|
|
|
|
'backends/x11/meta-crtc-xrandr.h',
|
|
|
|
'backends/x11/meta-cursor-renderer-x11.c',
|
|
|
|
'backends/x11/meta-cursor-renderer-x11.h',
|
2019-03-22 08:53:00 -04:00
|
|
|
'backends/x11/meta-event-x11.c',
|
|
|
|
'backends/x11/meta-event-x11.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/x11/meta-gpu-xrandr.c',
|
|
|
|
'backends/x11/meta-gpu-xrandr.h',
|
2019-03-22 08:53:00 -04:00
|
|
|
'backends/x11/meta-input-device-x11.c',
|
|
|
|
'backends/x11/meta-input-device-x11.h',
|
|
|
|
'backends/x11/meta-input-device-tool-x11.c',
|
|
|
|
'backends/x11/meta-input-device-tool-x11.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/x11/meta-input-settings-x11.c',
|
|
|
|
'backends/x11/meta-input-settings-x11.h',
|
2019-09-24 05:24:48 -04:00
|
|
|
'backends/x11/meta-seat-x11.c',
|
|
|
|
'backends/x11/meta-seat-x11.h',
|
2019-03-22 08:53:00 -04:00
|
|
|
'backends/x11/meta-keymap-x11.c',
|
|
|
|
'backends/x11/meta-keymap-x11.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/x11/meta-monitor-manager-xrandr.c',
|
|
|
|
'backends/x11/meta-monitor-manager-xrandr.h',
|
|
|
|
'backends/x11/meta-output-xrandr.c',
|
|
|
|
'backends/x11/meta-output-xrandr.h',
|
|
|
|
'backends/x11/meta-renderer-x11.c',
|
|
|
|
'backends/x11/meta-renderer-x11.h',
|
2019-03-22 08:53:00 -04:00
|
|
|
'backends/x11/meta-stage-x11.c',
|
|
|
|
'backends/x11/meta-stage-x11.h',
|
|
|
|
'backends/x11/meta-virtual-input-device-x11.c',
|
|
|
|
'backends/x11/meta-virtual-input-device-x11.h',
|
|
|
|
'backends/x11/meta-xkb-a11y-x11.c',
|
|
|
|
'backends/x11/meta-xkb-a11y-x11.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/x11/nested/meta-backend-x11-nested.c',
|
|
|
|
'backends/x11/nested/meta-backend-x11-nested.h',
|
|
|
|
'backends/x11/nested/meta-cursor-renderer-x11-nested.c',
|
|
|
|
'backends/x11/nested/meta-cursor-renderer-x11-nested.h',
|
2019-03-29 16:18:07 -04:00
|
|
|
'backends/x11/nested/meta-stage-x11-nested.c',
|
|
|
|
'backends/x11/nested/meta-stage-x11-nested.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/x11/nested/meta-renderer-x11-nested.c',
|
|
|
|
'backends/x11/nested/meta-renderer-x11-nested.h',
|
|
|
|
'compositor/clutter-utils.c',
|
|
|
|
'compositor/clutter-utils.h',
|
|
|
|
'compositor/cogl-utils.c',
|
|
|
|
'compositor/cogl-utils.h',
|
|
|
|
'compositor/compositor.c',
|
|
|
|
'compositor/compositor-private.h',
|
|
|
|
'compositor/meta-background-actor.c',
|
|
|
|
'compositor/meta-background-actor-private.h',
|
|
|
|
'compositor/meta-background.c',
|
|
|
|
'compositor/meta-background-group.c',
|
|
|
|
'compositor/meta-background-image.c',
|
|
|
|
'compositor/meta-background-private.h',
|
2019-09-12 16:07:20 -04:00
|
|
|
'compositor/meta-compositor-server.c',
|
|
|
|
'compositor/meta-compositor-server.h',
|
2019-08-14 17:25:54 -04:00
|
|
|
'compositor/meta-compositor-x11.c',
|
|
|
|
'compositor/meta-compositor-x11.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'compositor/meta-cullable.c',
|
|
|
|
'compositor/meta-cullable.h',
|
|
|
|
'compositor/meta-dnd-actor.c',
|
|
|
|
'compositor/meta-dnd-actor-private.h',
|
|
|
|
'compositor/meta-dnd.c',
|
|
|
|
'compositor/meta-feedback-actor.c',
|
|
|
|
'compositor/meta-feedback-actor-private.h',
|
2020-03-03 02:46:11 -05:00
|
|
|
'compositor/meta-later.c',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'compositor/meta-module.c',
|
|
|
|
'compositor/meta-module.h',
|
|
|
|
'compositor/meta-plugin.c',
|
|
|
|
'compositor/meta-plugin-manager.c',
|
|
|
|
'compositor/meta-plugin-manager.h',
|
|
|
|
'compositor/meta-shadow-factory.c',
|
|
|
|
'compositor/meta-shaped-texture.c',
|
|
|
|
'compositor/meta-shaped-texture-private.h',
|
|
|
|
'compositor/meta-surface-actor.c',
|
|
|
|
'compositor/meta-surface-actor.h',
|
|
|
|
'compositor/meta-surface-actor-x11.c',
|
|
|
|
'compositor/meta-surface-actor-x11.h',
|
|
|
|
'compositor/meta-sync-ring.c',
|
|
|
|
'compositor/meta-sync-ring.h',
|
|
|
|
'compositor/meta-texture-tower.c',
|
|
|
|
'compositor/meta-texture-tower.h',
|
|
|
|
'compositor/meta-window-actor.c',
|
|
|
|
'compositor/meta-window-actor-private.h',
|
2018-12-21 15:35:18 -05:00
|
|
|
'compositor/meta-window-actor-x11.c',
|
|
|
|
'compositor/meta-window-actor-x11.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'compositor/meta-window-group.c',
|
|
|
|
'compositor/meta-window-group-private.h',
|
|
|
|
'compositor/meta-window-shape.c',
|
|
|
|
'compositor/region-utils.c',
|
|
|
|
'compositor/region-utils.h',
|
|
|
|
'core/bell.c',
|
|
|
|
'core/bell.h',
|
|
|
|
'core/boxes.c',
|
|
|
|
'core/boxes-private.h',
|
|
|
|
'core/constraints.c',
|
|
|
|
'core/constraints.h',
|
|
|
|
'core/delete.c',
|
|
|
|
'core/display.c',
|
|
|
|
'core/display-private.h',
|
|
|
|
'core/edge-resistance.c',
|
|
|
|
'core/edge-resistance.h',
|
|
|
|
'core/events.c',
|
|
|
|
'core/events.h',
|
|
|
|
'core/frame.c',
|
|
|
|
'core/frame.h',
|
|
|
|
'core/keybindings.c',
|
|
|
|
'core/keybindings-private.h',
|
|
|
|
'core/main.c',
|
|
|
|
'core/main-private.h',
|
|
|
|
'core/meta-accel-parse.c',
|
|
|
|
'core/meta-accel-parse.h',
|
|
|
|
'core/meta-border.c',
|
|
|
|
'core/meta-border.h',
|
2018-11-19 13:57:15 -05:00
|
|
|
'core/meta-clipboard-manager.c',
|
|
|
|
'core/meta-clipboard-manager.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'core/meta-close-dialog.c',
|
|
|
|
'core/meta-close-dialog-default.c',
|
|
|
|
'core/meta-close-dialog-default-private.h',
|
|
|
|
'core/meta-fraction.c',
|
|
|
|
'core/meta-fraction.h',
|
|
|
|
'core/meta-gesture-tracker.c',
|
|
|
|
'core/meta-gesture-tracker-private.h',
|
|
|
|
'core/meta-inhibit-shortcuts-dialog.c',
|
|
|
|
'core/meta-inhibit-shortcuts-dialog-default.c',
|
|
|
|
'core/meta-inhibit-shortcuts-dialog-default-private.h',
|
2018-12-13 13:02:19 -05:00
|
|
|
'core/meta-launch-context.c',
|
2018-11-19 10:45:20 -05:00
|
|
|
'core/meta-selection.c',
|
|
|
|
'core/meta-selection-source.c',
|
2018-11-19 13:50:21 -05:00
|
|
|
'core/meta-selection-source-memory.c',
|
2018-12-09 06:44:20 -05:00
|
|
|
'core/meta-sound-player.c',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'core/meta-workspace-manager.c',
|
|
|
|
'core/meta-workspace-manager-private.h',
|
|
|
|
'core/place.c',
|
|
|
|
'core/place.h',
|
|
|
|
'core/prefs.c',
|
|
|
|
'core/restart.c',
|
|
|
|
'core/stack.c',
|
|
|
|
'core/stack.h',
|
|
|
|
'core/stack-tracker.c',
|
|
|
|
'core/stack-tracker.h',
|
|
|
|
'core/startup-notification.c',
|
|
|
|
'core/startup-notification-private.h',
|
|
|
|
'core/util.c',
|
|
|
|
'core/util-private.h',
|
|
|
|
'core/window.c',
|
|
|
|
'core/window-private.h',
|
|
|
|
'core/workspace.c',
|
|
|
|
'core/workspace-private.h',
|
|
|
|
'ui/frames.c',
|
|
|
|
'ui/frames.h',
|
|
|
|
'ui/theme.c',
|
|
|
|
'ui/theme-private.h',
|
|
|
|
'ui/ui.c',
|
|
|
|
'ui/ui.h',
|
|
|
|
'x11/atomnames.h',
|
|
|
|
'x11/events.c',
|
|
|
|
'x11/events.h',
|
|
|
|
'x11/group.c',
|
|
|
|
'x11/group-private.h',
|
|
|
|
'x11/group-props.c',
|
|
|
|
'x11/group-props.h',
|
|
|
|
'x11/iconcache.c',
|
|
|
|
'x11/iconcache.h',
|
2018-11-19 11:16:37 -05:00
|
|
|
'x11/meta-selection-source-x11.c',
|
|
|
|
'x11/meta-selection-source-x11-private.h',
|
2018-08-22 14:57:04 -04:00
|
|
|
'x11/meta-startup-notification-x11.c',
|
|
|
|
'x11/meta-startup-notification-x11.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'x11/meta-x11-display.c',
|
|
|
|
'x11/meta-x11-display-private.h',
|
|
|
|
'x11/meta-x11-errors.c',
|
2018-11-19 12:17:25 -05:00
|
|
|
'x11/meta-x11-selection.c',
|
|
|
|
'x11/meta-x11-selection-private.h',
|
2018-11-18 04:49:36 -05:00
|
|
|
'x11/meta-x11-selection-input-stream.c',
|
|
|
|
'x11/meta-x11-selection-input-stream-private.h',
|
|
|
|
'x11/meta-x11-selection-output-stream.c',
|
|
|
|
'x11/meta-x11-selection-output-stream-private.h',
|
2019-05-07 06:59:50 -04:00
|
|
|
'x11/meta-x11-stack.c',
|
|
|
|
'x11/meta-x11-stack-private.h',
|
2019-10-13 10:47:47 -04:00
|
|
|
'x11/meta-x11-window-control.c',
|
|
|
|
'x11/meta-x11-window-control.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'x11/mutter-Xatomtype.h',
|
|
|
|
'x11/session.c',
|
|
|
|
'x11/session.h',
|
|
|
|
'x11/window-props.c',
|
|
|
|
'x11/window-props.h',
|
|
|
|
'x11/window-x11.c',
|
|
|
|
'x11/window-x11.h',
|
|
|
|
'x11/window-x11-private.h',
|
|
|
|
'x11/xprops.c',
|
|
|
|
'x11/xprops.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if have_egl
|
|
|
|
mutter_sources += [
|
|
|
|
'backends/meta-egl.c',
|
|
|
|
'backends/meta-egl-ext.h',
|
|
|
|
'backends/meta-egl.h',
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_gles2
|
|
|
|
mutter_sources += [
|
|
|
|
'backends/meta-gles3.c',
|
|
|
|
'backends/meta-gles3.h',
|
|
|
|
'backends/meta-gles3-table.h',
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_remote_desktop
|
|
|
|
mutter_sources += [
|
|
|
|
'backends/meta-dbus-session-watcher.c',
|
|
|
|
'backends/meta-dbus-session-watcher.h',
|
|
|
|
'backends/meta-remote-desktop.c',
|
|
|
|
'backends/meta-remote-desktop.h',
|
|
|
|
'backends/meta-remote-desktop-session.c',
|
|
|
|
'backends/meta-remote-desktop-session.h',
|
|
|
|
'backends/meta-screen-cast.c',
|
|
|
|
'backends/meta-screen-cast.h',
|
|
|
|
'backends/meta-screen-cast-monitor-stream.c',
|
|
|
|
'backends/meta-screen-cast-monitor-stream.h',
|
|
|
|
'backends/meta-screen-cast-monitor-stream-src.c',
|
|
|
|
'backends/meta-screen-cast-monitor-stream-src.h',
|
2018-10-09 09:35:14 -04:00
|
|
|
'backends/meta-screen-cast-window-stream-src.c',
|
|
|
|
'backends/meta-screen-cast-window-stream-src.h',
|
|
|
|
'backends/meta-screen-cast-window-stream.c',
|
|
|
|
'backends/meta-screen-cast-window-stream.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/meta-screen-cast-session.c',
|
|
|
|
'backends/meta-screen-cast-session.h',
|
|
|
|
'backends/meta-screen-cast-stream.c',
|
|
|
|
'backends/meta-screen-cast-stream.h',
|
|
|
|
'backends/meta-screen-cast-stream-src.c',
|
|
|
|
'backends/meta-screen-cast-stream-src.h',
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_wayland
|
|
|
|
mutter_sources += [
|
|
|
|
'compositor/meta-surface-actor-wayland.c',
|
|
|
|
'compositor/meta-surface-actor-wayland.h',
|
2019-09-28 04:26:21 -04:00
|
|
|
'compositor/meta-window-actor-wayland.c',
|
|
|
|
'compositor/meta-window-actor-wayland.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'wayland/meta-cursor-sprite-wayland.c',
|
|
|
|
'wayland/meta-cursor-sprite-wayland.h',
|
|
|
|
'wayland/meta-pointer-confinement-wayland.c',
|
|
|
|
'wayland/meta-pointer-confinement-wayland.h',
|
|
|
|
'wayland/meta-pointer-lock-wayland.c',
|
|
|
|
'wayland/meta-pointer-lock-wayland.h',
|
2018-11-19 11:34:18 -05:00
|
|
|
'wayland/meta-selection-source-wayland.c',
|
|
|
|
'wayland/meta-selection-source-wayland-private.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'wayland/meta-wayland-actor-surface.c',
|
|
|
|
'wayland/meta-wayland-actor-surface.h',
|
|
|
|
'wayland/meta-wayland-buffer.c',
|
|
|
|
'wayland/meta-wayland-buffer.h',
|
|
|
|
'wayland/meta-wayland.c',
|
|
|
|
'wayland/meta-wayland-cursor-surface.c',
|
|
|
|
'wayland/meta-wayland-cursor-surface.h',
|
|
|
|
'wayland/meta-wayland-data-device.c',
|
|
|
|
'wayland/meta-wayland-data-device.h',
|
|
|
|
'wayland/meta-wayland-data-device-private.h',
|
|
|
|
'wayland/meta-wayland-dma-buf.c',
|
|
|
|
'wayland/meta-wayland-dma-buf.h',
|
2019-01-20 11:34:50 -05:00
|
|
|
'wayland/meta-wayland-dnd-surface.c',
|
|
|
|
'wayland/meta-wayland-dnd-surface.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'wayland/meta-wayland-gtk-shell.c',
|
|
|
|
'wayland/meta-wayland-gtk-shell.h',
|
|
|
|
'wayland/meta-wayland.h',
|
|
|
|
'wayland/meta-wayland-inhibit-shortcuts.c',
|
|
|
|
'wayland/meta-wayland-inhibit-shortcuts-dialog.c',
|
|
|
|
'wayland/meta-wayland-inhibit-shortcuts-dialog.h',
|
|
|
|
'wayland/meta-wayland-inhibit-shortcuts.h',
|
|
|
|
'wayland/meta-wayland-input-device.c',
|
|
|
|
'wayland/meta-wayland-input-device.h',
|
|
|
|
'wayland/meta-wayland-keyboard.c',
|
|
|
|
'wayland/meta-wayland-keyboard.h',
|
|
|
|
'wayland/meta-wayland-legacy-xdg-shell.c',
|
|
|
|
'wayland/meta-wayland-legacy-xdg-shell.h',
|
|
|
|
'wayland/meta-wayland-outputs.c',
|
|
|
|
'wayland/meta-wayland-outputs.h',
|
|
|
|
'wayland/meta-wayland-pointer.c',
|
|
|
|
'wayland/meta-wayland-pointer-constraints.c',
|
|
|
|
'wayland/meta-wayland-pointer-constraints.h',
|
|
|
|
'wayland/meta-wayland-pointer-gesture-pinch.c',
|
|
|
|
'wayland/meta-wayland-pointer-gesture-pinch.h',
|
|
|
|
'wayland/meta-wayland-pointer-gestures.c',
|
|
|
|
'wayland/meta-wayland-pointer-gestures.h',
|
|
|
|
'wayland/meta-wayland-pointer-gesture-swipe.c',
|
|
|
|
'wayland/meta-wayland-pointer-gesture-swipe.h',
|
|
|
|
'wayland/meta-wayland-pointer.h',
|
|
|
|
'wayland/meta-wayland-popup.c',
|
|
|
|
'wayland/meta-wayland-popup.h',
|
|
|
|
'wayland/meta-wayland-private.h',
|
|
|
|
'wayland/meta-wayland-region.c',
|
|
|
|
'wayland/meta-wayland-region.h',
|
|
|
|
'wayland/meta-wayland-seat.c',
|
|
|
|
'wayland/meta-wayland-seat.h',
|
|
|
|
'wayland/meta-wayland-shell-surface.c',
|
|
|
|
'wayland/meta-wayland-shell-surface.h',
|
|
|
|
'wayland/meta-wayland-subsurface.c',
|
|
|
|
'wayland/meta-wayland-subsurface.h',
|
|
|
|
'wayland/meta-wayland-surface.c',
|
|
|
|
'wayland/meta-wayland-surface.h',
|
|
|
|
'wayland/meta-wayland-tablet.c',
|
|
|
|
'wayland/meta-wayland-tablet-cursor-surface.c',
|
|
|
|
'wayland/meta-wayland-tablet-cursor-surface.h',
|
|
|
|
'wayland/meta-wayland-tablet.h',
|
|
|
|
'wayland/meta-wayland-tablet-manager.c',
|
|
|
|
'wayland/meta-wayland-tablet-manager.h',
|
|
|
|
'wayland/meta-wayland-tablet-pad.c',
|
|
|
|
'wayland/meta-wayland-tablet-pad-group.c',
|
|
|
|
'wayland/meta-wayland-tablet-pad-group.h',
|
|
|
|
'wayland/meta-wayland-tablet-pad.h',
|
|
|
|
'wayland/meta-wayland-tablet-pad-ring.c',
|
|
|
|
'wayland/meta-wayland-tablet-pad-ring.h',
|
|
|
|
'wayland/meta-wayland-tablet-pad-strip.c',
|
|
|
|
'wayland/meta-wayland-tablet-pad-strip.h',
|
|
|
|
'wayland/meta-wayland-tablet-seat.c',
|
|
|
|
'wayland/meta-wayland-tablet-seat.h',
|
|
|
|
'wayland/meta-wayland-tablet-tool.c',
|
|
|
|
'wayland/meta-wayland-tablet-tool.h',
|
|
|
|
'wayland/meta-wayland-text-input.c',
|
|
|
|
'wayland/meta-wayland-text-input.h',
|
|
|
|
'wayland/meta-wayland-text-input-legacy.c',
|
|
|
|
'wayland/meta-wayland-text-input-legacy.h',
|
|
|
|
'wayland/meta-wayland-touch.c',
|
|
|
|
'wayland/meta-wayland-touch.h',
|
|
|
|
'wayland/meta-wayland-types.h',
|
|
|
|
'wayland/meta-wayland-versions.h',
|
2018-11-24 14:25:38 -05:00
|
|
|
'wayland/meta-wayland-viewporter.c',
|
|
|
|
'wayland/meta-wayland-viewporter.h',
|
2019-07-05 12:10:14 -04:00
|
|
|
'wayland/meta-wayland-window-configuration.c',
|
|
|
|
'wayland/meta-wayland-window-configuration.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'wayland/meta-wayland-wl-shell.c',
|
|
|
|
'wayland/meta-wayland-wl-shell.h',
|
|
|
|
'wayland/meta-wayland-xdg-foreign.c',
|
|
|
|
'wayland/meta-wayland-xdg-foreign.h',
|
|
|
|
'wayland/meta-wayland-xdg-shell.c',
|
|
|
|
'wayland/meta-wayland-xdg-shell.h',
|
|
|
|
'wayland/meta-window-wayland.c',
|
|
|
|
'wayland/meta-window-wayland.h',
|
|
|
|
'wayland/meta-window-xwayland.c',
|
|
|
|
'wayland/meta-window-xwayland.h',
|
|
|
|
'wayland/meta-xwayland.c',
|
|
|
|
'wayland/meta-xwayland-grab-keyboard.c',
|
|
|
|
'wayland/meta-xwayland-grab-keyboard.h',
|
|
|
|
'wayland/meta-xwayland.h',
|
|
|
|
'wayland/meta-xwayland-private.h',
|
2018-11-21 19:33:13 -05:00
|
|
|
'wayland/meta-xwayland-dnd.c',
|
|
|
|
'wayland/meta-xwayland-dnd-private.h',
|
2019-10-07 15:21:48 -04:00
|
|
|
'wayland/meta-xwayland-surface.c',
|
|
|
|
'wayland/meta-xwayland-surface.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_native_backend
|
|
|
|
mutter_sources += [
|
|
|
|
'backends/native/dbus-utils.c',
|
|
|
|
'backends/native/dbus-utils.h',
|
|
|
|
'backends/native/meta-backend-native.c',
|
|
|
|
'backends/native/meta-backend-native.h',
|
|
|
|
'backends/native/meta-backend-native-private.h',
|
2019-01-10 12:07:12 -05:00
|
|
|
'backends/native/meta-backend-native-types.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/native/meta-barrier-native.c',
|
|
|
|
'backends/native/meta-barrier-native.h',
|
|
|
|
'backends/native/meta-clutter-backend-native.c',
|
|
|
|
'backends/native/meta-clutter-backend-native.h',
|
|
|
|
'backends/native/meta-crtc-kms.c',
|
|
|
|
'backends/native/meta-crtc-kms.h',
|
|
|
|
'backends/native/meta-cursor-renderer-native.c',
|
|
|
|
'backends/native/meta-cursor-renderer-native.h',
|
2019-05-20 16:08:35 -04:00
|
|
|
'backends/native/meta-drm-buffer-dumb.c',
|
|
|
|
'backends/native/meta-drm-buffer-dumb.h',
|
|
|
|
'backends/native/meta-drm-buffer-gbm.c',
|
|
|
|
'backends/native/meta-drm-buffer-gbm.h',
|
2019-05-24 10:07:14 -04:00
|
|
|
'backends/native/meta-drm-buffer-import.c',
|
|
|
|
'backends/native/meta-drm-buffer-import.h',
|
2019-05-20 15:20:17 -04:00
|
|
|
'backends/native/meta-drm-buffer.c',
|
|
|
|
'backends/native/meta-drm-buffer.h',
|
2019-03-29 17:03:27 -04:00
|
|
|
'backends/native/meta-event-native.c',
|
|
|
|
'backends/native/meta-event-native.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/native/meta-gpu-kms.c',
|
|
|
|
'backends/native/meta-gpu-kms.h',
|
2019-03-29 17:03:27 -04:00
|
|
|
'backends/native/meta-input-device-native.c',
|
|
|
|
'backends/native/meta-input-device-native.h',
|
|
|
|
'backends/native/meta-input-device-tool-native.c',
|
|
|
|
'backends/native/meta-input-device-tool-native.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/native/meta-input-settings-native.c',
|
|
|
|
'backends/native/meta-input-settings-native.h',
|
2019-03-29 17:03:27 -04:00
|
|
|
'backends/native/meta-keymap-native.c',
|
|
|
|
'backends/native/meta-keymap-native.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/native/meta-launcher.c',
|
|
|
|
'backends/native/meta-launcher.h',
|
|
|
|
'backends/native/meta-monitor-manager-kms.c',
|
|
|
|
'backends/native/meta-monitor-manager-kms.h',
|
|
|
|
'backends/native/meta-output-kms.c',
|
|
|
|
'backends/native/meta-output-kms.h',
|
|
|
|
'backends/native/meta-renderer-native.c',
|
2019-03-08 10:23:15 -05:00
|
|
|
'backends/native/meta-kms-connector-private.h',
|
|
|
|
'backends/native/meta-kms-connector.c',
|
|
|
|
'backends/native/meta-kms-connector.h',
|
2019-01-29 12:33:00 -05:00
|
|
|
'backends/native/meta-kms-crtc-private.h',
|
|
|
|
'backends/native/meta-kms-crtc.c',
|
|
|
|
'backends/native/meta-kms-crtc.h',
|
2019-03-08 13:19:18 -05:00
|
|
|
'backends/native/meta-kms-device-private.h',
|
backends/native: Add basic KMS abstraction building blocks
The intention with KMS abstraction is to hide away accessing the drm
functions behind an API that allows us to have different kind of KMS
implementations, including legacy non-atomic and atomic. The intention
is also that the code interacting with the drm device should be able to
be run in a different thread than the main thread. This means that we
need to make sure that all drm*() API usage must only occur from within
tasks that eventually can be run in the dedicated thread.
The idea here is that MetaKms provides a outward facing API other places
of mutter can use (e.g. MetaGpuKms and friends), while MetaKmsImpl is
an internal implementation that only gets interacted with via "tasks"
posted via the MetaKms object. These tasks will in the future
potentially be run on the dedicated KMS thread. Initially, we don't
create any new threads.
Likewise, MetaKmsDevice is a outward facing representation of a KMS
device, while MetaKmsImplDevice is the corresponding implementation,
which only runs from within the MetaKmsImpl tasks.
This commit only moves opening and closing the device to this new API,
while leaking the fd outside of the impl enclosure, effectively making
the isolation for drm*() calls pointless. This, however, is necessary to
allow gradual porting of drm interaction, and eventually the file
descriptor in MetaGpuKms will be removed. For now, it's harmless, since
everything still run in the main thread.
https://gitlab.gnome.org/GNOME/mutter/issues/548
https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
2019-01-29 04:24:44 -05:00
|
|
|
'backends/native/meta-kms-device.c',
|
|
|
|
'backends/native/meta-kms-device.h',
|
|
|
|
'backends/native/meta-kms-impl-device.c',
|
|
|
|
'backends/native/meta-kms-impl-device.h',
|
|
|
|
'backends/native/meta-kms-impl-simple.c',
|
|
|
|
'backends/native/meta-kms-impl-simple.h',
|
|
|
|
'backends/native/meta-kms-impl.c',
|
|
|
|
'backends/native/meta-kms-impl.h',
|
backend/native: Add and use transactional KMS API
This commit introduces, and makes use of, a transactional API used for
setting up KMS state, later to be applied, potentially atomically. From
an API point of view, so is always the case, but in the current
implementation, it still uses legacy drmMode* API to apply the state
non-atomically.
The API consists of various buliding blocks:
* MetaKmsUpdate - a set of configuration changes, the higher level
handle for handing over configuration to the impl backend. It's used to
set mode, assign framebuffers to planes, queue page flips and set
connector properties.
* MetaKmsPlaneAssignment - the assignment of a framebuffer to a plane.
Currently used to map a framebuffer to the primary plane of a CRTC. In
the legacy KMS implementation, the plane assignment is used to derive
the framebuffer used for mode setting and page flipping.
This also means various high level changes:
State, excluding configuring the cursor plane and creating/destroying
DRM framebuffer handles, are applied in the end of a clutter frame, in
one go. From an API point of view, this is done atomically, but as
mentioned, only the non-atomic implementation exists so far.
From MetaRendererNative's point of view, a page flip now initially
always succeeds; the handling of EBUSY errors are done asynchronously in
the MetaKmsImpl backend (still by retrying at refresh rate, but
postponing flip callbacks instead of manipulating the frame clock).
Handling of falling back to mode setting instead of page flipping is
notified after the fact by a more precise page flip feedback API.
EGLStream based page flipping relies on the impl backend not being
atomic, as the page flipping is done in the EGLStream backend (e.g.
nvidia driver). It uses a 'custom' page flip queueing method, keeping
the EGLStream logic inside meta-renderer-native.c.
Page flip handling is moved to meta-kms-impl-device.c from
meta-gpu-kms.c. It goes via an extra idle callback before reaching
meta-renderer-native.c to make sure callbacks are invoked outside of the
impl context.
While dummy power save page flipping is kept in meta-renderer-native.c, the
EBUSY handling is moved to meta-kms-impl-simple.c. Instead of freezing the
frame clock, actual page flip callbacks are postponed until all EBUSY retries
have either succeeded or failed due to some other error than EBUSY. This
effectively inhibits new frames to be drawn, meaning we won't stall waiting on
the file descriptor for pending page flips.
https://gitlab.gnome.org/GNOME/mutter/issues/548
https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
2019-04-04 16:36:41 -04:00
|
|
|
'backends/native/meta-kms-page-flip.c',
|
|
|
|
'backends/native/meta-kms-page-flip-private.h',
|
kms: Add plane representation
A plane is one of three possible: primary, overlay and cursor. Each
plane can have various properties, such as possible rotations, formats
etc. Each plane can also be used with a set of CRTCs.
A primary plane is the "backdrop" of a CRTC, i.e. the primary output for
the composited frame that covers the whole CRTC. In general, mutter
composites to a stage view frame onto a framebuffer that is then put on
the primary plane.
An overlay plane is a rectangular area that can be displayed on top of
the primary plane. Eventually it will be used to place non-fullscreen
surfaces, potentially avoiding stage redraws.
A cursor plane is a plane placed on top of all the other planes, usually
used to put the mouse cursor sprite.
Initially, we only fetch the rotation properties, and we so far
blacklist all rotations except ones that ends up with the same
dimensions as with no rotations. This is because non-180° rotations
doesn't work yet due to incorrect buffer modifiers. To make it possible
to use non-180° rotations, changes necessary include among other things
finding compatible modifiers using atomic modesetting. Until then,
simply blacklist the ones we know doesn't work.
https://gitlab.gnome.org/GNOME/mutter/issues/548
https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
2019-01-31 12:48:19 -05:00
|
|
|
'backends/native/meta-kms-plane.c',
|
2019-10-31 05:38:19 -04:00
|
|
|
'backends/native/meta-kms-plane-private.h',
|
kms: Add plane representation
A plane is one of three possible: primary, overlay and cursor. Each
plane can have various properties, such as possible rotations, formats
etc. Each plane can also be used with a set of CRTCs.
A primary plane is the "backdrop" of a CRTC, i.e. the primary output for
the composited frame that covers the whole CRTC. In general, mutter
composites to a stage view frame onto a framebuffer that is then put on
the primary plane.
An overlay plane is a rectangular area that can be displayed on top of
the primary plane. Eventually it will be used to place non-fullscreen
surfaces, potentially avoiding stage redraws.
A cursor plane is a plane placed on top of all the other planes, usually
used to put the mouse cursor sprite.
Initially, we only fetch the rotation properties, and we so far
blacklist all rotations except ones that ends up with the same
dimensions as with no rotations. This is because non-180° rotations
doesn't work yet due to incorrect buffer modifiers. To make it possible
to use non-180° rotations, changes necessary include among other things
finding compatible modifiers using atomic modesetting. Until then,
simply blacklist the ones we know doesn't work.
https://gitlab.gnome.org/GNOME/mutter/issues/548
https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
2019-01-31 12:48:19 -05:00
|
|
|
'backends/native/meta-kms-plane.h',
|
backends/native: Add basic KMS abstraction building blocks
The intention with KMS abstraction is to hide away accessing the drm
functions behind an API that allows us to have different kind of KMS
implementations, including legacy non-atomic and atomic. The intention
is also that the code interacting with the drm device should be able to
be run in a different thread than the main thread. This means that we
need to make sure that all drm*() API usage must only occur from within
tasks that eventually can be run in the dedicated thread.
The idea here is that MetaKms provides a outward facing API other places
of mutter can use (e.g. MetaGpuKms and friends), while MetaKmsImpl is
an internal implementation that only gets interacted with via "tasks"
posted via the MetaKms object. These tasks will in the future
potentially be run on the dedicated KMS thread. Initially, we don't
create any new threads.
Likewise, MetaKmsDevice is a outward facing representation of a KMS
device, while MetaKmsImplDevice is the corresponding implementation,
which only runs from within the MetaKmsImpl tasks.
This commit only moves opening and closing the device to this new API,
while leaking the fd outside of the impl enclosure, effectively making
the isolation for drm*() calls pointless. This, however, is necessary to
allow gradual porting of drm interaction, and eventually the file
descriptor in MetaGpuKms will be removed. For now, it's harmless, since
everything still run in the main thread.
https://gitlab.gnome.org/GNOME/mutter/issues/548
https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
2019-01-29 04:24:44 -05:00
|
|
|
'backends/native/meta-kms-private.h',
|
|
|
|
'backends/native/meta-kms-types.h',
|
backend/native: Add and use transactional KMS API
This commit introduces, and makes use of, a transactional API used for
setting up KMS state, later to be applied, potentially atomically. From
an API point of view, so is always the case, but in the current
implementation, it still uses legacy drmMode* API to apply the state
non-atomically.
The API consists of various buliding blocks:
* MetaKmsUpdate - a set of configuration changes, the higher level
handle for handing over configuration to the impl backend. It's used to
set mode, assign framebuffers to planes, queue page flips and set
connector properties.
* MetaKmsPlaneAssignment - the assignment of a framebuffer to a plane.
Currently used to map a framebuffer to the primary plane of a CRTC. In
the legacy KMS implementation, the plane assignment is used to derive
the framebuffer used for mode setting and page flipping.
This also means various high level changes:
State, excluding configuring the cursor plane and creating/destroying
DRM framebuffer handles, are applied in the end of a clutter frame, in
one go. From an API point of view, this is done atomically, but as
mentioned, only the non-atomic implementation exists so far.
From MetaRendererNative's point of view, a page flip now initially
always succeeds; the handling of EBUSY errors are done asynchronously in
the MetaKmsImpl backend (still by retrying at refresh rate, but
postponing flip callbacks instead of manipulating the frame clock).
Handling of falling back to mode setting instead of page flipping is
notified after the fact by a more precise page flip feedback API.
EGLStream based page flipping relies on the impl backend not being
atomic, as the page flipping is done in the EGLStream backend (e.g.
nvidia driver). It uses a 'custom' page flip queueing method, keeping
the EGLStream logic inside meta-renderer-native.c.
Page flip handling is moved to meta-kms-impl-device.c from
meta-gpu-kms.c. It goes via an extra idle callback before reaching
meta-renderer-native.c to make sure callbacks are invoked outside of the
impl context.
While dummy power save page flipping is kept in meta-renderer-native.c, the
EBUSY handling is moved to meta-kms-impl-simple.c. Instead of freezing the
frame clock, actual page flip callbacks are postponed until all EBUSY retries
have either succeeded or failed due to some other error than EBUSY. This
effectively inhibits new frames to be drawn, meaning we won't stall waiting on
the file descriptor for pending page flips.
https://gitlab.gnome.org/GNOME/mutter/issues/548
https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
2019-04-04 16:36:41 -04:00
|
|
|
'backends/native/meta-kms-update-private.h',
|
|
|
|
'backends/native/meta-kms-update.c',
|
|
|
|
'backends/native/meta-kms-update.h',
|
2019-03-11 06:13:01 -04:00
|
|
|
'backends/native/meta-kms-utils.c',
|
|
|
|
'backends/native/meta-kms-utils.h',
|
backends/native: Add basic KMS abstraction building blocks
The intention with KMS abstraction is to hide away accessing the drm
functions behind an API that allows us to have different kind of KMS
implementations, including legacy non-atomic and atomic. The intention
is also that the code interacting with the drm device should be able to
be run in a different thread than the main thread. This means that we
need to make sure that all drm*() API usage must only occur from within
tasks that eventually can be run in the dedicated thread.
The idea here is that MetaKms provides a outward facing API other places
of mutter can use (e.g. MetaGpuKms and friends), while MetaKmsImpl is
an internal implementation that only gets interacted with via "tasks"
posted via the MetaKms object. These tasks will in the future
potentially be run on the dedicated KMS thread. Initially, we don't
create any new threads.
Likewise, MetaKmsDevice is a outward facing representation of a KMS
device, while MetaKmsImplDevice is the corresponding implementation,
which only runs from within the MetaKmsImpl tasks.
This commit only moves opening and closing the device to this new API,
while leaking the fd outside of the impl enclosure, effectively making
the isolation for drm*() calls pointless. This, however, is necessary to
allow gradual porting of drm interaction, and eventually the file
descriptor in MetaGpuKms will be removed. For now, it's harmless, since
everything still run in the main thread.
https://gitlab.gnome.org/GNOME/mutter/issues/548
https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
2019-01-29 04:24:44 -05:00
|
|
|
'backends/native/meta-kms.c',
|
|
|
|
'backends/native/meta-kms.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/native/meta-renderer-native-gles3.c',
|
|
|
|
'backends/native/meta-renderer-native-gles3.h',
|
|
|
|
'backends/native/meta-renderer-native.h',
|
2019-03-29 17:03:27 -04:00
|
|
|
'backends/native/meta-seat-native.c',
|
|
|
|
'backends/native/meta-seat-native.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'backends/native/meta-stage-native.c',
|
|
|
|
'backends/native/meta-stage-native.h',
|
2019-01-10 05:30:02 -05:00
|
|
|
'backends/native/meta-udev.c',
|
|
|
|
'backends/native/meta-udev.h',
|
2019-03-29 17:03:27 -04:00
|
|
|
'backends/native/meta-virtual-input-device-native.c',
|
|
|
|
'backends/native/meta-virtual-input-device-native.h',
|
|
|
|
'backends/native/meta-xkb-utils.c',
|
|
|
|
'backends/native/meta-xkb-utils.h',
|
2019-09-12 16:07:20 -04:00
|
|
|
'compositor/meta-compositor-native.c',
|
|
|
|
'compositor/meta-compositor-native.h',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_wayland_eglstream
|
|
|
|
mutter_sources += [
|
|
|
|
'wayland/meta-wayland-egl-stream.c',
|
|
|
|
'wayland/meta-wayland-egl-stream.h',
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
mutter_built_sources = []
|
|
|
|
|
|
|
|
dbus_display_config_built_sources = gnome.gdbus_codegen('meta-dbus-display-config',
|
|
|
|
'org.gnome.Mutter.DisplayConfig.xml',
|
|
|
|
interface_prefix: 'org.gnome.Mutter.',
|
|
|
|
namespace: 'MetaDBus',
|
|
|
|
)
|
|
|
|
mutter_built_sources += dbus_display_config_built_sources
|
|
|
|
|
|
|
|
dbus_idle_monitor_built_sources = gnome.gdbus_codegen('meta-dbus-idle-monitor',
|
|
|
|
'org.gnome.Mutter.IdleMonitor.xml',
|
|
|
|
interface_prefix: 'org.gnome.Mutter.',
|
|
|
|
namespace: 'MetaDBus',
|
|
|
|
object_manager: true,
|
|
|
|
)
|
|
|
|
mutter_built_sources += dbus_idle_monitor_built_sources
|
|
|
|
|
2019-07-24 01:42:07 -04:00
|
|
|
mutter_marshal = gnome.genmarshal('meta-marshal',
|
|
|
|
sources: ['meta-marshal.list'],
|
|
|
|
prefix: 'meta_marshal',
|
|
|
|
internal: true,
|
|
|
|
valist_marshallers: true,
|
|
|
|
)
|
|
|
|
mutter_built_sources += mutter_marshal
|
|
|
|
|
2018-08-10 16:42:12 -04:00
|
|
|
if have_profiler
|
|
|
|
mutter_sources += [
|
|
|
|
'backends/meta-profiler.c',
|
|
|
|
'backends/meta-profiler.h',
|
|
|
|
]
|
|
|
|
|
2019-12-04 17:25:41 -05:00
|
|
|
sysprof_dbus_interfaces_dir = join_paths(sysprof_dep.get_pkgconfig_variable('datadir'), 'dbus-1', 'interfaces')
|
|
|
|
sysprof3_dbus_file = join_paths(sysprof_dbus_interfaces_dir, 'org.gnome.Sysprof3.Profiler.xml')
|
2018-08-10 16:42:12 -04:00
|
|
|
|
|
|
|
dbus_sysprof3_profiler_built_sources = gnome.gdbus_codegen('meta-dbus-sysprof3-profiler',
|
|
|
|
sysprof3_dbus_file,
|
|
|
|
interface_prefix: 'org.gnome.',
|
|
|
|
namespace: 'MetaDBus',
|
|
|
|
)
|
|
|
|
mutter_built_sources += dbus_sysprof3_profiler_built_sources
|
|
|
|
endif
|
|
|
|
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
if have_native_backend
|
2018-11-10 03:25:57 -05:00
|
|
|
cvt = find_program('cvt')
|
|
|
|
|
|
|
|
gen_default_modes = find_program('backends/native/gen-default-modes.py')
|
|
|
|
default_modes_h = custom_target('meta-default-modes',
|
|
|
|
output: 'meta-default-modes.h',
|
|
|
|
command: [gen_default_modes, '@OUTPUT@']
|
|
|
|
)
|
|
|
|
mutter_built_sources += default_modes_h
|
|
|
|
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
gdbus_codegen = find_program('gdbus-codegen')
|
|
|
|
dbus_login1_built_sources = custom_target('meta-dbus-login1',
|
|
|
|
input: 'org.freedesktop.login1.xml',
|
|
|
|
output: [
|
|
|
|
'meta-dbus-login1.c',
|
|
|
|
'meta-dbus-login1.h',
|
|
|
|
],
|
|
|
|
command: [
|
|
|
|
gdbus_codegen,
|
|
|
|
'--interface-prefix', 'org.freedesktop.login1',
|
|
|
|
'--c-namespace', 'Login1',
|
|
|
|
'--generate-c-code', 'meta-dbus-login1',
|
2019-04-04 22:35:44 -04:00
|
|
|
'--output-directory', meson.current_build_dir(),
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
'--c-generate-autocleanup', 'all',
|
|
|
|
'@INPUT@',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
mutter_built_sources += dbus_login1_built_sources
|
|
|
|
endif
|
|
|
|
|
|
|
|
if have_remote_desktop
|
|
|
|
dbus_remote_desktop_built_sources = gnome.gdbus_codegen('meta-dbus-remote-desktop',
|
|
|
|
'org.gnome.Mutter.RemoteDesktop.xml',
|
|
|
|
interface_prefix: 'org.gnome.Mutter.',
|
|
|
|
namespace: 'MetaDBus',
|
|
|
|
)
|
|
|
|
mutter_built_sources += dbus_remote_desktop_built_sources
|
|
|
|
|
|
|
|
dbus_screen_cast_built_sources = gnome.gdbus_codegen('meta-dbus-screen-cast',
|
|
|
|
'org.gnome.Mutter.ScreenCast.xml',
|
|
|
|
interface_prefix: 'org.gnome.Mutter.',
|
|
|
|
namespace: 'MetaDBus',
|
|
|
|
)
|
|
|
|
mutter_built_sources += dbus_screen_cast_built_sources
|
|
|
|
endif
|
|
|
|
|
2019-12-06 13:05:32 -05:00
|
|
|
wayland_protocol_server_headers = []
|
|
|
|
wayland_protocol_client_headers = []
|
|
|
|
wayland_protocol_sources = []
|
|
|
|
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
if have_wayland
|
|
|
|
# Format:
|
|
|
|
# - protocol name
|
|
|
|
# - protocol stability ('private', 'stable' or 'unstable')
|
|
|
|
# - protocol version (if stability is 'unstable')
|
|
|
|
wayland_protocols = [
|
|
|
|
['gtk-primary-selection', 'private', ],
|
|
|
|
['gtk-shell', 'private', ],
|
|
|
|
['gtk-text-input', 'private', ],
|
|
|
|
['keyboard-shortcuts-inhibit', 'unstable', 'v1', ],
|
|
|
|
['linux-dmabuf', 'unstable', 'v1', ],
|
|
|
|
['pointer-constraints', 'unstable', 'v1', ],
|
|
|
|
['pointer-gestures', 'unstable', 'v1', ],
|
|
|
|
['relative-pointer', 'unstable', 'v1', ],
|
|
|
|
['tablet', 'unstable', 'v2', ],
|
|
|
|
['text-input', 'unstable', 'v3', ],
|
2018-11-24 14:25:38 -05:00
|
|
|
['viewporter', 'stable', ],
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
['xdg-foreign', 'unstable', 'v1', ],
|
|
|
|
['xdg-output', 'unstable', 'v1', ],
|
|
|
|
['xdg-shell', 'unstable', 'v6', ],
|
|
|
|
['xdg-shell', 'stable', ],
|
|
|
|
['xwayland-keyboard-grab', 'unstable', 'v1', ],
|
|
|
|
]
|
|
|
|
if have_wayland_eglstream
|
|
|
|
wayland_eglstream_protocols_dir = wayland_eglstream_protocols_dep.get_pkgconfig_variable('pkgdatadir')
|
|
|
|
wayland_protocols += [
|
|
|
|
['wayland-eglstream-controller', 'third-party', wayland_eglstream_protocols_dir],
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
wayland_scanner = find_program('wayland-scanner')
|
|
|
|
protocols_dir = wayland_protocols_dep.get_pkgconfig_variable('pkgdatadir')
|
|
|
|
assert(protocols_dir != '', 'Could not get pkgdatadir from wayland-protocols.pc')
|
|
|
|
|
|
|
|
foreach p: wayland_protocols
|
|
|
|
protocol_name = p.get(0)
|
|
|
|
protocol_type = p.get(1)
|
|
|
|
|
|
|
|
if protocol_type == 'stable'
|
|
|
|
output_base = protocol_name
|
|
|
|
input = join_paths(protocols_dir,
|
|
|
|
'@0@/@1@/@2@.xml'.format(protocol_type,
|
|
|
|
protocol_name,
|
|
|
|
output_base))
|
|
|
|
elif protocol_type == 'private'
|
|
|
|
output_base = protocol_name
|
|
|
|
input = 'wayland/protocol/@0@.xml'.format(protocol_name)
|
|
|
|
elif protocol_type == 'third-party'
|
|
|
|
output_base = protocol_name
|
|
|
|
protocol_dir = p.get(2)
|
|
|
|
input = join_paths(protocol_dir, '@0@.xml'.format(protocol_name))
|
|
|
|
else
|
|
|
|
protocol_version = p.get(2)
|
|
|
|
output_base = '@0@-@1@-@2@'.format(protocol_name,
|
|
|
|
protocol_type,
|
|
|
|
protocol_version)
|
|
|
|
input = join_paths(protocols_dir,
|
|
|
|
'@0@/@1@/@2@.xml'.format(protocol_type,
|
|
|
|
protocol_name,
|
|
|
|
output_base))
|
|
|
|
endif
|
|
|
|
|
2019-12-06 13:05:32 -05:00
|
|
|
wayland_protocol_server_headers += custom_target('@0@ server header'.format(output_base),
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
input: input,
|
|
|
|
output: '@0@-server-protocol.h'.format(output_base),
|
|
|
|
command: [
|
|
|
|
wayland_scanner,
|
|
|
|
'server-header',
|
|
|
|
'@INPUT@', '@OUTPUT@',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2019-12-06 13:05:32 -05:00
|
|
|
# used by tests
|
|
|
|
wayland_protocol_client_headers += custom_target('@0@ client header'.format(output_base),
|
|
|
|
input: input,
|
|
|
|
output: '@0@-client-protocol.h'.format(output_base),
|
|
|
|
command: [
|
|
|
|
wayland_scanner,
|
|
|
|
'client-header',
|
|
|
|
'@INPUT@', '@OUTPUT@',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
wayland_protocol_sources += custom_target('@0@ source'.format(output_base),
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
input: input,
|
|
|
|
output: '@0@-protocol.c'.format(output_base),
|
|
|
|
command: [
|
|
|
|
wayland_scanner,
|
|
|
|
'private-code',
|
|
|
|
'@INPUT@', '@OUTPUT@',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
endforeach
|
|
|
|
endif
|
|
|
|
|
2019-12-06 13:05:32 -05:00
|
|
|
mutter_built_sources += wayland_protocol_server_headers
|
|
|
|
mutter_built_sources += wayland_protocol_sources
|
|
|
|
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
subdir('meta')
|
|
|
|
|
|
|
|
mutter_built_sources += mutter_enum_types
|
|
|
|
mutter_built_sources += mutter_version
|
|
|
|
|
|
|
|
libmutter = shared_library(libmutter_name,
|
|
|
|
sources: [
|
|
|
|
mutter_sources,
|
|
|
|
mutter_built_sources,
|
|
|
|
],
|
2019-01-17 17:21:37 -05:00
|
|
|
version: '0.0.0',
|
|
|
|
soversion: 0,
|
2019-01-22 21:25:35 -05:00
|
|
|
gnu_symbol_visibility: 'hidden',
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
include_directories: mutter_includes,
|
|
|
|
c_args: mutter_c_args,
|
|
|
|
dependencies: [
|
|
|
|
libmutter_cogl_dep,
|
|
|
|
libmutter_clutter_dep,
|
|
|
|
mutter_deps,
|
|
|
|
],
|
|
|
|
install_rpath: pkglibdir,
|
|
|
|
install_dir: libdir,
|
|
|
|
install: true,
|
|
|
|
)
|
|
|
|
|
|
|
|
libmutter_dep = declare_dependency(
|
|
|
|
link_with: libmutter,
|
|
|
|
include_directories: mutter_includes,
|
2018-11-27 10:28:16 -05:00
|
|
|
sources: mutter_built_sources,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
dependencies: [
|
|
|
|
libmutter_cogl_dep,
|
|
|
|
libmutter_clutter_dep,
|
|
|
|
mutter_deps,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable('mutter',
|
|
|
|
sources: [
|
|
|
|
files('core/mutter.c'),
|
|
|
|
],
|
|
|
|
include_directories: mutter_includes,
|
|
|
|
c_args: mutter_c_args,
|
|
|
|
dependencies: [libmutter_dep],
|
|
|
|
install_dir: bindir,
|
|
|
|
install: true,
|
|
|
|
)
|
|
|
|
|
2018-11-07 06:28:57 -05:00
|
|
|
executable('mutter-restart-helper',
|
|
|
|
sources: [
|
|
|
|
files('core/restart-helper.c'),
|
|
|
|
],
|
|
|
|
include_directories: [
|
|
|
|
top_includepath,
|
|
|
|
],
|
|
|
|
c_args: mutter_c_args,
|
|
|
|
dependencies: [
|
|
|
|
x11_dep,
|
|
|
|
xcomposite_dep,
|
|
|
|
],
|
|
|
|
install_dir: libexecdir,
|
|
|
|
install: true,
|
|
|
|
)
|
|
|
|
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
if have_introspection
|
|
|
|
mutter_introspected_sources = []
|
|
|
|
foreach source : mutter_sources
|
|
|
|
if source.endswith('.c')
|
|
|
|
mutter_introspected_sources += source
|
|
|
|
endif
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
libmutter_gir = gnome.generate_gir(libmutter,
|
|
|
|
sources: [
|
|
|
|
mutter_version,
|
|
|
|
mutter_enum_types[1],
|
|
|
|
mutter_introspected_sources,
|
|
|
|
mutter_public_header_files
|
|
|
|
],
|
|
|
|
nsversion: libmutter_api_version,
|
|
|
|
namespace: 'Meta',
|
|
|
|
symbol_prefix: 'meta',
|
|
|
|
includes: [
|
|
|
|
'GObject-2.0',
|
|
|
|
'GDesktopEnums-3.0',
|
|
|
|
'Gdk-3.0',
|
|
|
|
'Gtk-3.0',
|
|
|
|
'xlib-2.0',
|
|
|
|
'xfixes-4.0',
|
|
|
|
libmutter_cogl_gir[0],
|
|
|
|
libmutter_cogl_pango_gir[0],
|
|
|
|
libmutter_clutter_gir[0],
|
|
|
|
],
|
2018-11-06 14:50:24 -05:00
|
|
|
dependencies: [
|
|
|
|
mutter_deps,
|
|
|
|
libmutter_dep,
|
|
|
|
],
|
2018-12-22 05:28:46 -05:00
|
|
|
extra_args: mutter_c_args + introspection_args,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
install_dir_gir: pkglibdir,
|
|
|
|
install_dir_typelib: pkglibdir,
|
|
|
|
install: true
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
2019-01-08 03:05:08 -05:00
|
|
|
pkg.generate(libmutter,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
name: 'Meta',
|
|
|
|
filebase: 'libmutter-' + libmutter_api_version,
|
|
|
|
description: 'Mutter compositor and window manager library',
|
|
|
|
subdirs: pkgname,
|
|
|
|
requires: [mutter_pkg_deps, libmutter_clutter_name],
|
|
|
|
version: meson.project_version(),
|
|
|
|
variables: [
|
|
|
|
'apiversion=' + libmutter_api_version,
|
|
|
|
'girdir=${libdir}/mutter-' + libmutter_api_version,
|
|
|
|
'typelibdir=${libdir}/mutter-' + libmutter_api_version,
|
|
|
|
],
|
2019-01-08 16:28:18 -05:00
|
|
|
install_dir: pcdir,
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
subdir('compositor/plugins')
|
|
|
|
|
2019-02-13 12:51:21 -05:00
|
|
|
if have_core_tests
|
Add meson build support
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
2018-05-22 09:55:35 -04:00
|
|
|
subdir('tests')
|
|
|
|
endif
|