2009-08-31 00:21:02 +00:00
|
|
|
# Flag build for parallelism; see https://savannah.gnu.org/patch/?6905
|
|
|
|
.AUTOPARALLEL:
|
|
|
|
|
2016-11-25 16:16:07 +00:00
|
|
|
lib_LTLIBRARIES = libmutter-@LIBMUTTER_API_VERSION@.la
|
2001-06-02 04:14:18 +00:00
|
|
|
|
2013-07-18 03:15:02 +00:00
|
|
|
SUBDIRS=compositor/plugins
|
2008-09-18 15:09:11 +00:00
|
|
|
|
2014-09-11 17:43:32 +00:00
|
|
|
EXTRA_DIST =
|
2014-11-05 03:06:55 +00:00
|
|
|
NULL =
|
2014-09-11 17:43:32 +00:00
|
|
|
|
2014-06-04 17:31:37 +00:00
|
|
|
AM_CPPFLAGS = \
|
2014-02-24 13:35:06 +00:00
|
|
|
-DCLUTTER_ENABLE_COMPOSITOR_API \
|
2012-11-12 18:32:30 +00:00
|
|
|
-DCLUTTER_ENABLE_EXPERIMENTAL_API \
|
|
|
|
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
2013-01-23 20:54:41 +00:00
|
|
|
-DCOGL_ENABLE_EXPERIMENTAL_2_0_API \
|
2016-05-09 01:59:54 +00:00
|
|
|
-DCOGL_ENABLE_MUTTER_API \
|
2014-07-13 15:46:13 +00:00
|
|
|
-DCLUTTER_DISABLE_DEPRECATION_WARNINGS \
|
|
|
|
-DCOGL_DISABLE_DEPRECATION_WARNINGS \
|
2011-03-05 21:16:26 +00:00
|
|
|
$(MUTTER_CFLAGS) \
|
2014-05-29 16:11:26 +00:00
|
|
|
$(MUTTER_NATIVE_BACKEND_CFLAGS) \
|
2014-06-05 12:05:16 +00:00
|
|
|
-I$(builddir) \
|
2011-03-06 00:29:12 +00:00
|
|
|
-I$(srcdir) \
|
2014-04-01 02:07:49 +00:00
|
|
|
-I$(srcdir)/backends \
|
2011-03-06 00:29:12 +00:00
|
|
|
-I$(srcdir)/core \
|
|
|
|
-I$(srcdir)/ui \
|
2011-03-05 21:16:26 +00:00
|
|
|
-I$(srcdir)/compositor \
|
2016-04-08 17:58:20 +00:00
|
|
|
-I$(top_srcdir)/cogl \
|
2016-05-06 08:08:30 +00:00
|
|
|
-I$(top_srcdir)/cogl/cogl \
|
|
|
|
-I$(top_srcdir)/cogl/cogl/winsys \
|
2016-07-20 08:17:22 +00:00
|
|
|
-I$(top_builddir)/cogl/cogl \
|
2016-04-08 17:58:20 +00:00
|
|
|
-I$(top_builddir)/cogl \
|
|
|
|
-I$(top_srcdir)/clutter \
|
2016-07-20 08:17:22 +00:00
|
|
|
-I$(top_srcdir)/clutter/clutter \
|
2016-04-08 17:58:20 +00:00
|
|
|
-I$(top_builddir)/clutter \
|
|
|
|
-I$(top_builddir)/clutter/clutter \
|
2011-03-05 21:16:26 +00:00
|
|
|
-DMUTTER_LIBEXECDIR=\"$(libexecdir)\" \
|
2014-06-04 17:31:37 +00:00
|
|
|
-DMUTTER_LOCALEDIR=\"$(localedir)\" \
|
2011-03-05 21:16:26 +00:00
|
|
|
-DMUTTER_PKGDATADIR=\"$(pkgdatadir)\" \
|
|
|
|
-DMUTTER_DATADIR=\"$(datadir)\" \
|
|
|
|
-DG_LOG_DOMAIN=\"mutter\" \
|
|
|
|
-DSN_API_NOT_YET_FROZEN=1 \
|
|
|
|
-DMUTTER_PKGLIBDIR=\"$(pkglibdir)\" \
|
2014-06-04 17:31:37 +00:00
|
|
|
-DMUTTER_PLUGIN_DIR=\"$(MUTTER_PLUGIN_DIR)\" \
|
2014-03-19 02:01:31 +00:00
|
|
|
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
|
2014-11-05 03:06:55 +00:00
|
|
|
-DXWAYLAND_PATH=\"$(XWAYLAND_PATH)\" \
|
|
|
|
$(NULL)
|
2012-01-10 18:28:15 +00:00
|
|
|
|
2009-07-02 15:19:02 +00:00
|
|
|
mutter_built_sources = \
|
2013-08-16 11:49:03 +00:00
|
|
|
$(dbus_idle_built_sources) \
|
2014-04-01 03:33:01 +00:00
|
|
|
$(dbus_display_config_built_sources) \
|
2013-12-31 22:44:45 +00:00
|
|
|
$(dbus_login1_built_sources) \
|
2015-07-06 04:58:45 +00:00
|
|
|
meta/meta-enum-types.h \
|
|
|
|
meta-enum-types.c \
|
2014-11-05 03:06:55 +00:00
|
|
|
$(NULL)
|
2014-08-27 16:05:51 +00:00
|
|
|
|
|
|
|
if HAVE_WAYLAND
|
|
|
|
mutter_built_sources += \
|
2015-11-09 07:28:14 +00:00
|
|
|
pointer-gestures-unstable-v1-protocol.c \
|
|
|
|
pointer-gestures-unstable-v1-server-protocol.h \
|
2014-03-19 02:06:20 +00:00
|
|
|
gtk-shell-protocol.c \
|
|
|
|
gtk-shell-server-protocol.h \
|
2016-02-23 18:51:10 +00:00
|
|
|
gtk-primary-selection-protocol.c \
|
|
|
|
gtk-primary-selection-server-protocol.h \
|
2016-07-01 08:30:14 +00:00
|
|
|
xdg-shell-unstable-v6-protocol.c \
|
|
|
|
xdg-shell-unstable-v6-server-protocol.h \
|
2015-06-02 08:26:34 +00:00
|
|
|
relative-pointer-unstable-v1-protocol.c \
|
|
|
|
relative-pointer-unstable-v1-server-protocol.h \
|
2015-06-17 04:10:52 +00:00
|
|
|
pointer-constraints-unstable-v1-protocol.c \
|
|
|
|
pointer-constraints-unstable-v1-server-protocol.h \
|
2016-05-12 12:32:01 +00:00
|
|
|
tablet-unstable-v2-protocol.c \
|
|
|
|
tablet-unstable-v2-server-protocol.h \
|
2015-09-24 00:05:25 +00:00
|
|
|
xdg-foreign-unstable-v1-protocol.c \
|
|
|
|
xdg-foreign-unstable-v1-server-protocol.h \
|
2014-11-05 03:06:55 +00:00
|
|
|
$(NULL)
|
2014-08-27 16:05:51 +00:00
|
|
|
endif
|
2012-01-07 22:21:32 +00:00
|
|
|
|
2014-11-05 03:06:55 +00:00
|
|
|
wayland_protocols = \
|
2014-03-19 00:32:02 +00:00
|
|
|
wayland/protocol/gtk-shell.xml \
|
2016-02-23 18:51:10 +00:00
|
|
|
wayland/protocol/gtk-primary-selection.xml \
|
2014-11-05 03:06:55 +00:00
|
|
|
$(NULL)
|
2014-03-19 00:32:02 +00:00
|
|
|
|
2016-11-25 16:16:07 +00:00
|
|
|
libmutter_@LIBMUTTER_API_VERSION@_la_SOURCES = \
|
2014-04-01 03:00:07 +00:00
|
|
|
backends/meta-backend.c \
|
2014-08-05 12:11:59 +00:00
|
|
|
meta/meta-backend.h \
|
2017-04-21 08:40:51 +00:00
|
|
|
meta/meta-settings.h \
|
2014-04-21 23:03:22 +00:00
|
|
|
backends/meta-backend-private.h \
|
2015-01-16 02:30:04 +00:00
|
|
|
backends/meta-barrier.c \
|
|
|
|
backends/meta-barrier-private.h \
|
2014-04-01 02:07:49 +00:00
|
|
|
backends/meta-cursor.c \
|
|
|
|
backends/meta-cursor.h \
|
|
|
|
backends/meta-cursor-tracker.c \
|
|
|
|
backends/meta-cursor-tracker-private.h \
|
2014-04-21 22:05:59 +00:00
|
|
|
backends/meta-cursor-renderer.c \
|
|
|
|
backends/meta-cursor-renderer.h \
|
2017-03-14 01:59:53 +00:00
|
|
|
backends/meta-dnd-private.h \
|
2016-08-18 02:18:28 +00:00
|
|
|
backends/meta-egl.c \
|
2016-11-23 20:58:13 +00:00
|
|
|
backends/meta-egl.h \
|
2016-11-23 21:20:32 +00:00
|
|
|
backends/meta-egl-ext.h \
|
2014-04-15 20:21:12 +00:00
|
|
|
backends/meta-display-config-shared.h \
|
2014-04-01 02:07:49 +00:00
|
|
|
backends/meta-idle-monitor.c \
|
|
|
|
backends/meta-idle-monitor-private.h \
|
|
|
|
backends/meta-idle-monitor-dbus.c \
|
|
|
|
backends/meta-idle-monitor-dbus.h \
|
2014-10-29 14:30:52 +00:00
|
|
|
backends/meta-input-settings.c \
|
|
|
|
backends/meta-input-settings-private.h \
|
2016-12-13 02:37:11 +00:00
|
|
|
backends/meta-logical-monitor.c \
|
|
|
|
backends/meta-logical-monitor.h \
|
2014-04-01 02:07:49 +00:00
|
|
|
backends/meta-monitor-config.c \
|
|
|
|
backends/meta-monitor-config.h \
|
2017-01-09 06:31:18 +00:00
|
|
|
backends/meta-monitor-config-manager.c \
|
|
|
|
backends/meta-monitor-config-manager.h \
|
2017-01-12 08:13:48 +00:00
|
|
|
backends/meta-monitor-config-store.c \
|
|
|
|
backends/meta-monitor-config-store.h \
|
2016-12-13 02:53:38 +00:00
|
|
|
backends/meta-monitor.c \
|
|
|
|
backends/meta-monitor.h \
|
2014-04-01 02:07:49 +00:00
|
|
|
backends/meta-monitor-manager.c \
|
2015-01-30 13:51:18 +00:00
|
|
|
meta/meta-monitor-manager.h \
|
|
|
|
backends/meta-monitor-manager-private.h \
|
2014-04-01 02:07:49 +00:00
|
|
|
backends/meta-monitor-manager-dummy.c \
|
|
|
|
backends/meta-monitor-manager-dummy.h \
|
2015-06-17 04:10:52 +00:00
|
|
|
backends/meta-pointer-constraint.c \
|
|
|
|
backends/meta-pointer-constraint.h \
|
2017-04-21 08:40:51 +00:00
|
|
|
backends/meta-settings.c \
|
|
|
|
backends/meta-settings-private.h \
|
2014-08-13 23:46:32 +00:00
|
|
|
backends/meta-stage.h \
|
|
|
|
backends/meta-stage.c \
|
2016-05-07 15:07:46 +00:00
|
|
|
backends/meta-renderer.c \
|
|
|
|
backends/meta-renderer.h \
|
Introduce regional stage rendering
Add support for drawing a stage using multiple framebuffers each making
up one part of the stage. This works by the stage backend
(ClutterStageWindow) providing a list of views which will be for
splitting up the stage in different regions.
A view layout, for now, is a set of rectangles. The stage window (i.e.
stage "backend" will use this information when drawing a frame, using
one framebuffer for each view. The scene graph is adapted to explictly
take a view when painting the stage. It will use this view, its
assigned framebuffer and layout to offset and clip the drawing
accordingly.
This effectively removes any notion of "stage framebuffer", since each
stage now may consist of multiple framebuffers. Therefore, API
involving this has been deprecated and made no-ops; namely
clutter_stage_ensure_context(). Callers are now assumed to either
always use a framebuffer reference explicitly, or push/pop the
framebuffer of a given view where the code has not yet changed to use
the explicit-buffer-using cogl API.
Currently only the nested X11 backend supports this mode fully, and the
per view framebuffers are all offscreen. Upon frame completion, it'll
blit each view's framebuffer onto the onscreen framebuffer before
swapping.
Other backends (X11 CM and native/KMS) are adapted to manage a
full-stage view. The X11 CM backend will continue to use this method,
while the native/KMS backend will be adopted to use multiple view
drawing.
https://bugzilla.gnome.org/show_bug.cgi?id=768976
2016-05-27 03:09:24 +00:00
|
|
|
backends/meta-renderer-view.c \
|
|
|
|
backends/meta-renderer-view.h \
|
2014-04-01 18:34:52 +00:00
|
|
|
backends/edid-parse.c \
|
|
|
|
backends/edid.h \
|
2014-04-21 23:13:04 +00:00
|
|
|
backends/x11/meta-backend-x11.c \
|
|
|
|
backends/x11/meta-backend-x11.h \
|
2015-01-16 02:30:04 +00:00
|
|
|
backends/x11/meta-barrier-x11.c \
|
|
|
|
backends/x11/meta-barrier-x11.h \
|
2016-05-04 08:19:23 +00:00
|
|
|
backends/x11/meta-clutter-backend-x11.c \
|
|
|
|
backends/x11/meta-clutter-backend-x11.h \
|
2014-04-27 14:49:29 +00:00
|
|
|
backends/x11/meta-cursor-renderer-x11.c \
|
|
|
|
backends/x11/meta-cursor-renderer-x11.h \
|
2017-01-27 15:04:02 +00:00
|
|
|
backends/x11/cm/meta-backend-x11-cm.c \
|
|
|
|
backends/x11/cm/meta-backend-x11-cm.h \
|
2017-03-17 07:00:54 +00:00
|
|
|
backends/x11/cm/meta-renderer-x11-cm.c \
|
|
|
|
backends/x11/cm/meta-renderer-x11-cm.h \
|
2017-01-27 15:04:02 +00:00
|
|
|
backends/x11/nested/meta-backend-x11-nested.c \
|
|
|
|
backends/x11/nested/meta-backend-x11-nested.h \
|
2015-07-17 02:40:51 +00:00
|
|
|
backends/x11/nested/meta-cursor-renderer-x11-nested.c \
|
|
|
|
backends/x11/nested/meta-cursor-renderer-x11-nested.h \
|
2017-03-17 07:00:54 +00:00
|
|
|
backends/x11/nested/meta-renderer-x11-nested.c \
|
|
|
|
backends/x11/nested/meta-renderer-x11-nested.h \
|
2014-04-01 03:25:37 +00:00
|
|
|
backends/x11/meta-idle-monitor-xsync.c \
|
|
|
|
backends/x11/meta-idle-monitor-xsync.h \
|
2014-10-29 14:37:29 +00:00
|
|
|
backends/x11/meta-input-settings-x11.c \
|
|
|
|
backends/x11/meta-input-settings-x11.h \
|
2014-04-01 03:25:37 +00:00
|
|
|
backends/x11/meta-monitor-manager-xrandr.c \
|
|
|
|
backends/x11/meta-monitor-manager-xrandr.h \
|
2016-05-07 15:07:46 +00:00
|
|
|
backends/x11/meta-renderer-x11.c \
|
|
|
|
backends/x11/meta-renderer-x11.h \
|
2016-05-20 07:58:10 +00:00
|
|
|
backends/x11/meta-stage-x11-nested.c \
|
|
|
|
backends/x11/meta-stage-x11-nested.h \
|
2014-04-07 14:48:16 +00:00
|
|
|
core/meta-accel-parse.c \
|
|
|
|
core/meta-accel-parse.h \
|
2012-07-30 18:54:03 +00:00
|
|
|
meta/barrier.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/bell.c \
|
|
|
|
core/bell.h \
|
|
|
|
core/boxes.c \
|
2010-10-18 18:34:14 +00:00
|
|
|
core/boxes-private.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/boxes.h \
|
2015-07-03 07:01:58 +00:00
|
|
|
core/meta-border.c \
|
|
|
|
core/meta-border.h \
|
2013-02-18 22:55:26 +00:00
|
|
|
compositor/clutter-utils.c \
|
|
|
|
compositor/clutter-utils.h \
|
2010-11-14 17:22:05 +00:00
|
|
|
compositor/cogl-utils.c \
|
|
|
|
compositor/cogl-utils.h \
|
2009-06-25 20:29:20 +00:00
|
|
|
compositor/compositor.c \
|
2009-06-25 22:56:15 +00:00
|
|
|
compositor/compositor-private.h \
|
2013-01-23 20:54:41 +00:00
|
|
|
compositor/meta-background.c \
|
2014-08-10 15:26:14 +00:00
|
|
|
compositor/meta-background-private.h \
|
2010-11-14 17:37:17 +00:00
|
|
|
compositor/meta-background-actor.c \
|
2011-08-29 01:20:29 +00:00
|
|
|
compositor/meta-background-actor-private.h \
|
2014-08-10 15:26:14 +00:00
|
|
|
compositor/meta-background-image.c \
|
2013-01-23 20:54:41 +00:00
|
|
|
compositor/meta-background-group.c \
|
2013-11-21 20:25:08 +00:00
|
|
|
compositor/meta-cullable.c \
|
|
|
|
compositor/meta-cullable.h \
|
2017-01-02 14:11:32 +00:00
|
|
|
compositor/meta-dnd.c \
|
2014-10-06 14:53:04 +00:00
|
|
|
compositor/meta-dnd-actor.c \
|
|
|
|
compositor/meta-dnd-actor-private.h \
|
2014-10-06 14:50:15 +00:00
|
|
|
compositor/meta-feedback-actor.c \
|
|
|
|
compositor/meta-feedback-actor-private.h \
|
2010-10-18 17:27:14 +00:00
|
|
|
compositor/meta-module.c \
|
|
|
|
compositor/meta-module.h \
|
|
|
|
compositor/meta-plugin.c \
|
|
|
|
compositor/meta-plugin-manager.c \
|
|
|
|
compositor/meta-plugin-manager.h \
|
2010-10-18 19:34:08 +00:00
|
|
|
compositor/meta-shadow-factory.c \
|
2010-10-18 17:27:14 +00:00
|
|
|
compositor/meta-shaped-texture.c \
|
2013-08-16 12:23:40 +00:00
|
|
|
compositor/meta-shaped-texture-private.h \
|
2013-10-13 11:47:53 +00:00
|
|
|
compositor/meta-surface-actor.c \
|
|
|
|
compositor/meta-surface-actor.h \
|
window-actor: Split into two subclasses of MetaSurfaceActor
The rendering logic before was somewhat complex. We had three independent
cases to take into account when doing rendering:
* X11 compositor. In this case, we're a traditional X11 compositor,
not a Wayland compositor. We use XCompositeNameWindowPixmap to get
the backing pixmap for the window, and deal with the COMPOSITE
extension messiness.
In this case, meta_is_wayland_compositor() is FALSE.
* Wayland clients. In this case, we're a Wayland compositor managing
Wayland surfaces. The rendering for this is fairly straightforward,
as Cogl handles most of the complexity with EGL and SHM buffers...
Wayland clients give us the input and opaque regions through
wl_surface.
In this case, meta_is_wayland_compositor() is TRUE and
priv->window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND.
* XWayland clients. In this case, we're a Wayland compositor, like
above, and XWayland hands us Wayland surfaces. XWayland handles
the COMPOSITE extension messiness for us, and hands us a buffer
like any other Wayland client. We have to fetch the input and
opaque regions from the X11 window ourselves.
In this case, meta_is_wayland_compositor() is TRUE and
priv->window->client_type == META_WINDOW_CLIENT_TYPE_X11.
We now split the rendering logic into two subclasses, which are:
* MetaSurfaceActorX11, which handles the X11 compositor case, in that
it uses XCompositeNameWindowPixmap to get the backing pixmap, and
deal with all the COMPOSITE extension messiness.
* MetaSurfaceActorWayland, which handles the Wayland compositor case
for both native Wayland clients and XWayland clients. XWayland handles
COMPOSITE for us, and handles pushing a surface over through the
xf86-video-wayland DDX.
Frame sync is still in MetaWindowActor, as it needs to work for both the
X11 compositor and XWayland client cases. When Wayland's video display
protocol lands, this will need to be significantly overhauled, as it would
have to work for any wl_surface, including subsurfaces, so we would need
surface-level discretion.
https://bugzilla.gnome.org/show_bug.cgi?id=720631
2014-02-01 22:21:11 +00:00
|
|
|
compositor/meta-surface-actor-x11.c \
|
|
|
|
compositor/meta-surface-actor-x11.h \
|
2014-04-18 18:21:20 +00:00
|
|
|
compositor/meta-sync-ring.c \
|
|
|
|
compositor/meta-sync-ring.h \
|
2011-07-13 14:47:10 +00:00
|
|
|
compositor/meta-texture-rectangle.c \
|
|
|
|
compositor/meta-texture-rectangle.h \
|
2010-10-18 17:27:14 +00:00
|
|
|
compositor/meta-texture-tower.c \
|
|
|
|
compositor/meta-texture-tower.h \
|
|
|
|
compositor/meta-window-actor.c \
|
|
|
|
compositor/meta-window-actor-private.h \
|
|
|
|
compositor/meta-window-group.c \
|
|
|
|
compositor/meta-window-group.h \
|
2010-10-18 19:34:08 +00:00
|
|
|
compositor/meta-window-shape.c \
|
|
|
|
compositor/region-utils.c \
|
|
|
|
compositor/region-utils.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/compositor.h \
|
2013-01-23 20:54:41 +00:00
|
|
|
meta/meta-background.h \
|
2011-08-29 01:20:29 +00:00
|
|
|
meta/meta-background-actor.h \
|
2014-08-10 15:26:14 +00:00
|
|
|
meta/meta-background-image.h \
|
2013-01-23 20:54:41 +00:00
|
|
|
meta/meta-background-group.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/meta-plugin.h \
|
|
|
|
meta/meta-shadow-factory.h \
|
|
|
|
meta/meta-window-actor.h \
|
2015-07-06 07:02:13 +00:00
|
|
|
meta/meta-window-shape.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/compositor-mutter.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/constraints.c \
|
|
|
|
core/constraints.h \
|
|
|
|
core/core.c \
|
2016-07-11 11:07:46 +00:00
|
|
|
core/meta-close-dialog.c \
|
|
|
|
meta/meta-close-dialog.h \
|
2016-07-11 11:12:13 +00:00
|
|
|
core/meta-close-dialog-default.c \
|
|
|
|
core/meta-close-dialog-default-private.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/delete.c \
|
|
|
|
core/display.c \
|
2008-05-19 00:00:09 +00:00
|
|
|
core/display-private.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/display.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/edge-resistance.c \
|
|
|
|
core/edge-resistance.h \
|
2014-03-20 19:29:30 +00:00
|
|
|
core/events.c \
|
|
|
|
core/events.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/errors.c \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/errors.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/frame.c \
|
2011-03-06 00:29:12 +00:00
|
|
|
core/frame.h \
|
2014-07-08 17:29:22 +00:00
|
|
|
core/meta-gesture-tracker.c \
|
|
|
|
core/meta-gesture-tracker-private.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/keybindings.c \
|
2009-01-29 15:14:25 +00:00
|
|
|
core/keybindings-private.h \
|
2017-02-15 17:17:34 +00:00
|
|
|
core/main-private.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/main.c \
|
|
|
|
core/place.c \
|
|
|
|
core/place.h \
|
|
|
|
core/prefs.c \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/prefs.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/screen.c \
|
2008-05-19 00:00:09 +00:00
|
|
|
core/screen-private.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/screen.h \
|
2016-02-06 13:52:03 +00:00
|
|
|
core/startup-notification.c \
|
|
|
|
core/startup-notification-private.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/types.h \
|
2014-05-08 22:35:49 +00:00
|
|
|
core/restart.c \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/stack.c \
|
|
|
|
core/stack.h \
|
2009-06-13 20:45:32 +00:00
|
|
|
core/stack-tracker.c \
|
|
|
|
core/stack-tracker.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/util.c \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/util.h \
|
2013-09-11 08:18:53 +00:00
|
|
|
core/util-private.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/window.c \
|
2008-05-19 00:00:09 +00:00
|
|
|
core/window-private.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/window.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/workspace.c \
|
2009-02-12 10:48:59 +00:00
|
|
|
core/workspace-private.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/common.h \
|
|
|
|
core/core.h \
|
|
|
|
ui/ui.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
ui/frames.c \
|
|
|
|
ui/frames.h \
|
|
|
|
ui/theme.c \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/theme.h \
|
2010-10-18 18:34:14 +00:00
|
|
|
ui/theme-private.h \
|
2014-02-18 02:28:41 +00:00
|
|
|
ui/ui.c \
|
2015-04-27 23:36:46 +00:00
|
|
|
x11/atomnames.h \
|
2014-06-11 20:08:33 +00:00
|
|
|
x11/events.c \
|
|
|
|
x11/events.h \
|
2014-03-19 13:11:23 +00:00
|
|
|
x11/group-private.h \
|
2014-03-18 16:57:08 +00:00
|
|
|
x11/group-props.c \
|
|
|
|
x11/group-props.h \
|
|
|
|
x11/group.c \
|
2014-03-19 13:11:23 +00:00
|
|
|
meta/group.h \
|
2015-04-27 23:36:46 +00:00
|
|
|
x11/iconcache.c \
|
|
|
|
x11/iconcache.h \
|
2014-03-19 02:02:47 +00:00
|
|
|
x11/session.c \
|
|
|
|
x11/session.h \
|
2014-03-18 16:57:08 +00:00
|
|
|
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 \
|
2014-11-05 03:06:55 +00:00
|
|
|
x11/mutter-Xatomtype.h \
|
|
|
|
$(NULL)
|
2014-08-14 00:19:35 +00:00
|
|
|
|
|
|
|
if HAVE_WAYLAND
|
2016-11-25 16:16:07 +00:00
|
|
|
libmutter_@LIBMUTTER_API_VERSION@_la_SOURCES += \
|
2014-08-14 00:19:35 +00:00
|
|
|
compositor/meta-surface-actor-wayland.c \
|
|
|
|
compositor/meta-surface-actor-wayland.h \
|
2012-01-07 22:21:32 +00:00
|
|
|
wayland/meta-wayland.c \
|
2014-02-28 15:24:06 +00:00
|
|
|
wayland/meta-wayland.h \
|
2012-01-07 22:21:32 +00:00
|
|
|
wayland/meta-wayland-private.h \
|
2013-05-03 17:51:22 +00:00
|
|
|
wayland/meta-xwayland.c \
|
2014-03-20 17:12:43 +00:00
|
|
|
wayland/meta-xwayland.h \
|
2014-10-10 16:55:00 +00:00
|
|
|
wayland/meta-xwayland-selection.c \
|
wayland: Make MetaWaylandDataSource ownership protocol specific
Firstly, this patch makes MetawaylandDataSource a GObject. This is in
order to easier track its lifetime without adding destroy signals etc. It
also makes the vfunc table GObject class functions instead while at it,
as well as moves protocol specific part of the source into their own
implementations.
An important part of this patch is the change of ownership. Prior to this
patch, MetaWaylandDataDevice would kind of own the source, but for
Wayland sources it would remove it if the corresponding wl_resource was
destroyed. For XWayland clients it would own it completely, and only
remove it if the source was replaced.
This patch changes so that the protocol implementation owns the source.
For Wayland sources, the wl_resource owns the source, and the
MetaWaylandDataDevice sets a weak reference (so in other words, no
semantical changes really). For XWayland sources, the source is owned by
the selection bridge, and not removed until replaced or if the client
goes away.
Given the changes in ownership, data offers may now properly track the
lifetime of a source it represents. Prior to this patch, if an offer with
an XWayland source would loose its source, it wouldn't get notified and
have an invalid pointer it would potentally crash on. For Wayland
sources, an offer would have a weak reference and clean itself up if the
source went away. This patch changes so the behavior is consistent,
meaning a weak reference is added to the source GObject so that the offer
can behave correctly both for Wayland sources and XWayland sources.
https://bugzilla.gnome.org/show_bug.cgi?id=750680
2015-06-18 02:25:11 +00:00
|
|
|
wayland/meta-xwayland-selection-private.h \
|
2014-03-20 17:12:43 +00:00
|
|
|
wayland/meta-xwayland-private.h \
|
2014-10-08 02:39:00 +00:00
|
|
|
wayland/meta-wayland-buffer.c \
|
|
|
|
wayland/meta-wayland-buffer.h \
|
2014-10-08 03:12:36 +00:00
|
|
|
wayland/meta-wayland-region.c \
|
|
|
|
wayland/meta-wayland-region.h \
|
2013-05-03 17:51:22 +00:00
|
|
|
wayland/meta-wayland-data-device.c \
|
|
|
|
wayland/meta-wayland-data-device.h \
|
wayland: Make MetaWaylandDataSource ownership protocol specific
Firstly, this patch makes MetawaylandDataSource a GObject. This is in
order to easier track its lifetime without adding destroy signals etc. It
also makes the vfunc table GObject class functions instead while at it,
as well as moves protocol specific part of the source into their own
implementations.
An important part of this patch is the change of ownership. Prior to this
patch, MetaWaylandDataDevice would kind of own the source, but for
Wayland sources it would remove it if the corresponding wl_resource was
destroyed. For XWayland clients it would own it completely, and only
remove it if the source was replaced.
This patch changes so that the protocol implementation owns the source.
For Wayland sources, the wl_resource owns the source, and the
MetaWaylandDataDevice sets a weak reference (so in other words, no
semantical changes really). For XWayland sources, the source is owned by
the selection bridge, and not removed until replaced or if the client
goes away.
Given the changes in ownership, data offers may now properly track the
lifetime of a source it represents. Prior to this patch, if an offer with
an XWayland source would loose its source, it wouldn't get notified and
have an invalid pointer it would potentally crash on. For Wayland
sources, an offer would have a weak reference and clean itself up if the
source went away. This patch changes so the behavior is consistent,
meaning a weak reference is added to the source GObject so that the offer
can behave correctly both for Wayland sources and XWayland sources.
https://bugzilla.gnome.org/show_bug.cgi?id=750680
2015-06-18 02:25:11 +00:00
|
|
|
wayland/meta-wayland-data-device-private.h \
|
2016-10-20 07:59:09 +00:00
|
|
|
wayland/meta-wayland-egl-stream.c \
|
|
|
|
wayland/meta-wayland-egl-stream.h \
|
2016-09-12 15:17:28 +00:00
|
|
|
wayland/meta-wayland-input-device.c \
|
|
|
|
wayland/meta-wayland-input-device.h \
|
2015-07-22 14:50:20 +00:00
|
|
|
wayland/meta-wayland-pointer-gestures.c \
|
|
|
|
wayland/meta-wayland-pointer-gestures.h \
|
2015-07-22 14:43:25 +00:00
|
|
|
wayland/meta-wayland-pointer-gesture-swipe.c \
|
|
|
|
wayland/meta-wayland-pointer-gesture-swipe.h \
|
2015-07-22 14:46:55 +00:00
|
|
|
wayland/meta-wayland-pointer-gesture-pinch.c \
|
|
|
|
wayland/meta-wayland-pointer-gesture-pinch.h \
|
2013-05-03 17:51:22 +00:00
|
|
|
wayland/meta-wayland-keyboard.c \
|
|
|
|
wayland/meta-wayland-keyboard.h \
|
|
|
|
wayland/meta-wayland-pointer.c \
|
|
|
|
wayland/meta-wayland-pointer.h \
|
2015-06-17 04:10:52 +00:00
|
|
|
wayland/meta-wayland-pointer-constraints.c \
|
|
|
|
wayland/meta-wayland-pointer-constraints.h \
|
|
|
|
wayland/meta-pointer-lock-wayland.c \
|
|
|
|
wayland/meta-pointer-lock-wayland.h \
|
|
|
|
wayland/meta-pointer-confinement-wayland.c \
|
|
|
|
wayland/meta-pointer-confinement-wayland.h \
|
2015-02-11 09:34:15 +00:00
|
|
|
wayland/meta-wayland-popup.c \
|
|
|
|
wayland/meta-wayland-popup.h \
|
2013-05-03 17:51:22 +00:00
|
|
|
wayland/meta-wayland-seat.c \
|
2012-01-18 23:03:23 +00:00
|
|
|
wayland/meta-wayland-seat.h \
|
2015-01-09 16:20:22 +00:00
|
|
|
wayland/meta-wayland-tablet.c \
|
|
|
|
wayland/meta-wayland-tablet.h \
|
2015-01-09 16:23:17 +00:00
|
|
|
wayland/meta-wayland-tablet-manager.c \
|
|
|
|
wayland/meta-wayland-tablet-manager.h \
|
2015-10-27 14:28:10 +00:00
|
|
|
wayland/meta-wayland-tablet-seat.c \
|
|
|
|
wayland/meta-wayland-tablet-seat.h \
|
2015-02-04 17:19:08 +00:00
|
|
|
wayland/meta-wayland-tablet-tool.c \
|
|
|
|
wayland/meta-wayland-tablet-tool.h \
|
2016-05-10 15:14:13 +00:00
|
|
|
wayland/meta-wayland-tablet-pad.c \
|
|
|
|
wayland/meta-wayland-tablet-pad.h \
|
2016-06-22 12:45:43 +00:00
|
|
|
wayland/meta-wayland-tablet-pad-group.c \
|
|
|
|
wayland/meta-wayland-tablet-pad-group.h \
|
2016-05-10 15:10:25 +00:00
|
|
|
wayland/meta-wayland-tablet-pad-ring.c \
|
|
|
|
wayland/meta-wayland-tablet-pad-ring.h \
|
2016-05-10 15:12:08 +00:00
|
|
|
wayland/meta-wayland-tablet-pad-strip.c \
|
|
|
|
wayland/meta-wayland-tablet-pad-strip.h \
|
2014-04-24 12:50:47 +00:00
|
|
|
wayland/meta-wayland-touch.c \
|
|
|
|
wayland/meta-wayland-touch.h \
|
2013-08-30 16:26:18 +00:00
|
|
|
wayland/meta-wayland-surface.c \
|
2013-08-30 16:03:30 +00:00
|
|
|
wayland/meta-wayland-surface.h \
|
2015-10-21 14:36:44 +00:00
|
|
|
wayland/meta-wayland-surface-role-cursor.c \
|
|
|
|
wayland/meta-wayland-surface-role-cursor.h \
|
2016-05-12 13:56:12 +00:00
|
|
|
wayland/meta-wayland-surface-role-tablet-cursor.c \
|
|
|
|
wayland/meta-wayland-surface-role-tablet-cursor.h \
|
2013-08-30 16:03:30 +00:00
|
|
|
wayland/meta-wayland-types.h \
|
2013-09-10 11:45:27 +00:00
|
|
|
wayland/meta-wayland-versions.h \
|
2014-04-22 22:03:40 +00:00
|
|
|
wayland/meta-wayland-outputs.c \
|
|
|
|
wayland/meta-wayland-outputs.h \
|
2015-09-24 00:05:25 +00:00
|
|
|
wayland/meta-wayland-xdg-foreign.c \
|
|
|
|
wayland/meta-wayland-xdg-foreign.h \
|
2015-04-28 01:09:16 +00:00
|
|
|
wayland/meta-window-wayland.c \
|
|
|
|
wayland/meta-window-wayland.h \
|
2015-12-15 04:51:24 +00:00
|
|
|
wayland/meta-wayland-xdg-shell.c \
|
|
|
|
wayland/meta-wayland-xdg-shell.h \
|
|
|
|
wayland/meta-wayland-wl-shell.c \
|
|
|
|
wayland/meta-wayland-wl-shell.h \
|
2016-06-28 02:05:55 +00:00
|
|
|
wayland/meta-wayland-gtk-shell.c \
|
|
|
|
wayland/meta-wayland-gtk-shell.h \
|
2014-11-05 03:06:55 +00:00
|
|
|
$(NULL)
|
2014-08-14 00:19:35 +00:00
|
|
|
endif
|
2012-01-07 22:21:32 +00:00
|
|
|
|
2014-05-29 16:11:26 +00:00
|
|
|
if HAVE_NATIVE_BACKEND
|
2016-11-25 16:16:07 +00:00
|
|
|
libmutter_@LIBMUTTER_API_VERSION@_la_SOURCES += \
|
2014-05-29 16:11:26 +00:00
|
|
|
backends/native/meta-backend-native.c \
|
|
|
|
backends/native/meta-backend-native.h \
|
2015-01-16 08:50:51 +00:00
|
|
|
backends/native/meta-backend-native-private.h \
|
|
|
|
backends/native/meta-barrier-native.c \
|
|
|
|
backends/native/meta-barrier-native.h \
|
2016-05-04 08:19:23 +00:00
|
|
|
backends/native/meta-clutter-backend-native.c \
|
|
|
|
backends/native/meta-clutter-backend-native.h \
|
2014-05-29 16:11:26 +00:00
|
|
|
backends/native/meta-cursor-renderer-native.c \
|
|
|
|
backends/native/meta-cursor-renderer-native.h \
|
2015-02-14 20:03:38 +00:00
|
|
|
backends/native/meta-default-modes.h \
|
2014-05-29 16:11:26 +00:00
|
|
|
backends/native/meta-idle-monitor-native.c \
|
|
|
|
backends/native/meta-idle-monitor-native.h \
|
2014-10-29 14:42:32 +00:00
|
|
|
backends/native/meta-input-settings-native.c \
|
|
|
|
backends/native/meta-input-settings-native.h \
|
2014-05-29 16:11:26 +00:00
|
|
|
backends/native/meta-monitor-manager-kms.c \
|
|
|
|
backends/native/meta-monitor-manager-kms.h \
|
|
|
|
backends/native/meta-launcher.c \
|
|
|
|
backends/native/meta-launcher.h \
|
2016-05-07 15:07:46 +00:00
|
|
|
backends/native/meta-renderer-native.c \
|
|
|
|
backends/native/meta-renderer-native.h \
|
2016-05-20 07:58:10 +00:00
|
|
|
backends/native/meta-stage-native.c \
|
|
|
|
backends/native/meta-stage-native.h \
|
2014-05-29 16:11:26 +00:00
|
|
|
backends/native/dbus-utils.c \
|
2014-11-05 03:06:55 +00:00
|
|
|
backends/native/dbus-utils.h \
|
|
|
|
$(NULL)
|
2014-05-29 16:11:26 +00:00
|
|
|
endif
|
|
|
|
|
2016-11-25 16:16:07 +00:00
|
|
|
nodist_libmutter_@LIBMUTTER_API_VERSION@_la_SOURCES = $(mutter_built_sources)
|
2014-02-18 02:28:41 +00:00
|
|
|
|
2016-11-25 16:16:07 +00:00
|
|
|
libmutter_@LIBMUTTER_API_VERSION@_la_LDFLAGS = \
|
|
|
|
-no-undefined -export-symbols-regex "^(meta|ag)_.*"
|
|
|
|
libmutter_@LIBMUTTER_API_VERSION@_la_LIBADD = \
|
2016-04-08 17:58:20 +00:00
|
|
|
$(MUTTER_LIBS) \
|
|
|
|
$(MUTTER_NATIVE_BACKEND_LIBS) \
|
2016-11-25 16:16:07 +00:00
|
|
|
$(top_builddir)/clutter/clutter/libmutter-clutter-$(LIBMUTTER_API_VERSION).la \
|
2016-04-08 17:58:20 +00:00
|
|
|
$(NULL)
|
2003-04-19 07:19:04 +00:00
|
|
|
|
2009-07-17 11:51:21 +00:00
|
|
|
# Headers installed for plugins; introspected information will
|
|
|
|
# be extracted into Mutter-<version>.gir
|
2014-06-05 12:05:16 +00:00
|
|
|
libmutterinclude_headers = \
|
2012-07-30 18:54:03 +00:00
|
|
|
meta/barrier.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/boxes.h \
|
|
|
|
meta/common.h \
|
|
|
|
meta/compositor-mutter.h \
|
|
|
|
meta/compositor.h \
|
|
|
|
meta/display.h \
|
|
|
|
meta/errors.h \
|
2014-03-19 13:11:23 +00:00
|
|
|
meta/group.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/keybindings.h \
|
|
|
|
meta/main.h \
|
2014-08-05 12:11:59 +00:00
|
|
|
meta/meta-backend.h \
|
2014-08-10 15:26:14 +00:00
|
|
|
meta/meta-background.h \
|
2011-08-29 01:20:29 +00:00
|
|
|
meta/meta-background-actor.h \
|
2014-08-10 15:26:14 +00:00
|
|
|
meta/meta-background-image.h \
|
2013-01-23 20:54:41 +00:00
|
|
|
meta/meta-background-group.h \
|
2016-07-11 11:07:46 +00:00
|
|
|
meta/meta-close-dialog.h \
|
2013-08-13 10:57:41 +00:00
|
|
|
meta/meta-cursor-tracker.h \
|
2017-01-02 14:11:32 +00:00
|
|
|
meta/meta-dnd.h \
|
2013-08-14 10:50:48 +00:00
|
|
|
meta/meta-idle-monitor.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/meta-plugin.h \
|
2015-01-30 13:51:18 +00:00
|
|
|
meta/meta-monitor-manager.h \
|
2017-04-21 08:40:51 +00:00
|
|
|
meta/meta-settings.h \
|
2011-10-04 21:35:11 +00:00
|
|
|
meta/meta-shaped-texture.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/meta-shadow-factory.h \
|
|
|
|
meta/meta-window-actor.h \
|
2015-07-06 07:27:03 +00:00
|
|
|
meta/meta-window-shape.h \
|
2011-03-06 00:29:12 +00:00
|
|
|
meta/prefs.h \
|
|
|
|
meta/screen.h \
|
|
|
|
meta/theme.h \
|
|
|
|
meta/types.h \
|
|
|
|
meta/util.h \
|
|
|
|
meta/window.h \
|
2014-11-05 03:06:55 +00:00
|
|
|
meta/workspace.h \
|
|
|
|
$(NULL)
|
2002-11-07 22:09:59 +00:00
|
|
|
|
2014-06-05 12:05:16 +00:00
|
|
|
libmutterinclude_built_headers = \
|
2015-07-06 04:58:45 +00:00
|
|
|
meta/meta-version.h \
|
|
|
|
meta/meta-enum-types.h \
|
|
|
|
$(NULL)
|
2014-06-05 12:05:16 +00:00
|
|
|
|
|
|
|
libmutterinclude_base_headers = \
|
|
|
|
$(libmutterinclude_headers) \
|
|
|
|
$(libmutterinclude_built_headers)
|
|
|
|
|
2014-04-09 22:12:50 +00:00
|
|
|
libmutterincludedir = $(includedir)/mutter/meta
|
2010-09-23 12:32:48 +00:00
|
|
|
|
Comprehensively rename to Mutter
Code:
All references in the code not related to themes, keybindings, or
GConf were changed from 'metacity' to 'mutter'. This includes, among other
things, strings, comments, the atoms used in the message protocol, and
the envvars used for debugging. The GConf schema file was reduced to
the 3 settings new to mutter.
The overall version was brought up to 2.27 to match current gnome.
Structure:
All files named '*metacity*' were renamed '*mutter*' with appropriate
changes in the automake system. Files removed are
doc/creating_themes, src/themes, doc/metacity-theme.dtd,
metacity.doap. These files will eventually end up in an external
gnome-wm-data module.
Installation location:
On the filesystem the mutter-plugindir was change from
$(libdir)/metacity/plugins/clutter to just $(libdir)/mutter/plugins.
The mutter-plugins.pc.in reflects these changes.
Note:
mutter.desktop.in and mutter-wm.desktop both continue to have
X-GNOME-WMSettingsModule=metacity set. This allows
gnome-control-center to continue using libmetacity.so for
configuration. This is fine since most the general keybindings and wm
settings are being read from /apps/metacity/* in gconf.
2009-06-10 10:29:20 +00:00
|
|
|
libmutterinclude_HEADERS = \
|
2015-04-27 23:36:46 +00:00
|
|
|
$(libmutterinclude_headers)
|
2008-11-01 17:40:29 +00:00
|
|
|
|
2014-06-05 12:05:16 +00:00
|
|
|
nodist_libmutterinclude_HEADERS = \
|
|
|
|
$(libmutterinclude_built_headers)
|
|
|
|
|
2014-04-09 22:12:50 +00:00
|
|
|
bin_PROGRAMS=mutter
|
2014-09-11 17:43:32 +00:00
|
|
|
noinst_PROGRAMS=
|
2008-10-12 23:29:09 +00:00
|
|
|
|
2014-04-09 22:12:50 +00:00
|
|
|
mutter_SOURCES = core/mutter.c
|
2016-11-25 16:16:07 +00:00
|
|
|
mutter_LDADD = $(MUTTER_LIBS) libmutter-@LIBMUTTER_API_VERSION@.la
|
2011-03-05 21:16:26 +00:00
|
|
|
|
2014-05-08 22:35:49 +00:00
|
|
|
libexec_PROGRAMS = mutter-restart-helper
|
|
|
|
mutter_restart_helper_SOURCES = core/restart-helper.c
|
|
|
|
mutter_restart_helper_LDADD = $(MUTTER_LIBS)
|
|
|
|
|
2014-09-11 17:43:32 +00:00
|
|
|
include Makefile-tests.am
|
|
|
|
|
2011-03-05 20:01:33 +00:00
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
|
2016-11-25 16:16:07 +00:00
|
|
|
include $(INTROSPECTION_MAKEFILE)
|
2008-11-01 17:40:29 +00:00
|
|
|
|
|
|
|
# These files are in package-private directories, even though they may be used
|
|
|
|
# by plugins. If you're writing a plugin, use g-ir-compiler --add-include-path
|
|
|
|
# and g-ir-compiler --includedir.
|
|
|
|
girdir = $(pkglibdir)
|
2016-11-25 16:16:07 +00:00
|
|
|
gir_DATA = Meta-$(LIBMUTTER_API_VERSION).gir
|
2008-11-01 17:40:29 +00:00
|
|
|
|
|
|
|
typelibdir = $(pkglibdir)
|
2016-11-25 16:16:07 +00:00
|
|
|
typelib_DATA = Meta-$(LIBMUTTER_API_VERSION).typelib
|
|
|
|
|
|
|
|
INTROSPECTION_GIRS = Meta-$(LIBMUTTER_API_VERSION).gir
|
|
|
|
INTROSPECTION_SCANNER_ARGS = \
|
|
|
|
--add-include-path=$(top_builddir)/clutter/clutter \
|
|
|
|
--add-include-path=$(top_builddir)/cogl/cogl \
|
|
|
|
--add-include-path=$(top_builddir)/cogl/cogl-pango \
|
|
|
|
$(NULL)
|
|
|
|
INTROSPECTION_COMPILER_ARGS = \
|
|
|
|
--includedir=$(top_builddir)/clutter/clutter \
|
|
|
|
--includedir=$(top_builddir)/cogl/cogl \
|
|
|
|
--includedir=$(top_builddir)/cogl/cogl-pango \
|
|
|
|
$(NULL)
|
|
|
|
INTROSPECTION_SCANNER_ENV = \
|
|
|
|
PKG_CONFIG_PATH=$(top_builddir)/clutter/clutter/:$(top_builddir)/cogl/cogl/:$(top_builddir)/cogl/cogl-pango/:$${PKG_CONFIG_PATH}
|
|
|
|
|
|
|
|
Meta-@LIBMUTTER_API_VERSION@.gir: libmutter-$(LIBMUTTER_API_VERSION).la
|
|
|
|
Meta_@LIBMUTTER_API_VERSION@_gir_VERSION = $(LIBMUTTER_API_VERSION)
|
|
|
|
Meta_@LIBMUTTER_API_VERSION@_gir_INCLUDES = \
|
|
|
|
GObject-2.0 \
|
|
|
|
GDesktopEnums-3.0 \
|
|
|
|
Gdk-3.0 \
|
|
|
|
Gtk-3.0 \
|
|
|
|
Cogl-$(LIBMUTTER_API_VERSION) \
|
|
|
|
Clutter-$(LIBMUTTER_API_VERSION) \
|
|
|
|
xlib-2.0 \
|
|
|
|
xfixes-4.0 \
|
|
|
|
$(NULL)
|
|
|
|
Meta_@LIBMUTTER_API_VERSION@_gir_EXPORT_PACKAGES = libmutter-$(LIBMUTTER_API_VERSION)
|
|
|
|
Meta_@LIBMUTTER_API_VERSION@_gir_CFLAGS = $(AM_CPPFLAGS)
|
|
|
|
Meta_@LIBMUTTER_API_VERSION@_gir_LIBS = libmutter-$(LIBMUTTER_API_VERSION).la
|
|
|
|
Meta_@LIBMUTTER_API_VERSION@_gir_FILES = \
|
|
|
|
$(libmutterinclude_base_headers) \
|
|
|
|
$(filter %.c,$(libmutter_@LIBMUTTER_API_VERSION@_la_SOURCES) $(nodist_libmutter_@LIBMUTTER_API_VERSION@_la_SOURCES))
|
|
|
|
Meta_@LIBMUTTER_API_VERSION@_SCANNERFLAGS = --warn-all --warn-error
|
2008-11-01 17:40:29 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-08-14 11:51:05 +00:00
|
|
|
dbus_idle_built_sources = meta-dbus-idle-monitor.c meta-dbus-idle-monitor.h
|
|
|
|
|
2009-07-16 21:54:56 +00:00
|
|
|
CLEANFILES = \
|
|
|
|
$(mutter_built_sources) \
|
|
|
|
$(typelib_DATA) \
|
|
|
|
$(gir_DATA)
|
2001-09-17 04:42:37 +00:00
|
|
|
|
2014-08-17 18:03:09 +00:00
|
|
|
DISTCLEANFILES = \
|
2017-02-15 22:37:21 +00:00
|
|
|
$(libmutterinclude_built_headers) \
|
|
|
|
$(pkgconfig_DATA)
|
2014-08-17 18:03:09 +00:00
|
|
|
|
2002-11-07 22:09:59 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2016-11-25 16:16:07 +00:00
|
|
|
pkgconfig_DATA = libmutter-$(LIBMUTTER_API_VERSION).pc
|
2002-11-07 22:09:59 +00:00
|
|
|
|
2014-11-05 03:06:55 +00:00
|
|
|
EXTRA_DIST += \
|
|
|
|
$(wayland_protocols) \
|
|
|
|
libmutter.pc.in \
|
2015-07-06 04:58:45 +00:00
|
|
|
meta-enum-types.h.in \
|
|
|
|
meta-enum-types.c.in \
|
2014-11-05 03:06:55 +00:00
|
|
|
org.freedesktop.login1.xml \
|
2014-04-01 03:31:42 +00:00
|
|
|
org.gnome.Mutter.DisplayConfig.xml \
|
2014-11-05 03:06:55 +00:00
|
|
|
org.gnome.Mutter.IdleMonitor.xml \
|
2015-02-14 20:03:38 +00:00
|
|
|
backends/native/gen-default-modes.py \
|
2014-11-05 03:06:55 +00:00
|
|
|
$(NULL)
|
2009-07-02 15:19:02 +00:00
|
|
|
|
2014-08-17 18:03:09 +00:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
$(mutter_built_sources) \
|
|
|
|
$(libmutterinclude_built_headers)
|
|
|
|
|
2015-07-06 04:58:45 +00:00
|
|
|
MUTTER_STAMP_FILES = stamp-meta-enum-types.h
|
2009-07-02 15:19:02 +00:00
|
|
|
CLEANFILES += $(MUTTER_STAMP_FILES)
|
|
|
|
|
2015-07-06 04:58:45 +00:00
|
|
|
meta/meta-enum-types.h: stamp-meta-enum-types.h Makefile
|
2009-07-02 15:19:02 +00:00
|
|
|
@true
|
2015-07-06 04:58:45 +00:00
|
|
|
stamp-meta-enum-types.h: $(libmutterinclude_headers) meta-enum-types.h.in
|
2009-08-06 21:41:52 +00:00
|
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
2009-07-02 15:19:02 +00:00
|
|
|
$(GLIB_MKENUMS) \
|
2015-07-06 04:58:45 +00:00
|
|
|
--template meta-enum-types.h.in \
|
2009-07-02 15:19:02 +00:00
|
|
|
$(libmutterinclude_base_headers) ) >> xgen-teth && \
|
2015-07-06 04:58:45 +00:00
|
|
|
(cmp -s xgen-teth meta/meta-enum-types.h || cp xgen-teth meta/meta-enum-types.h) && \
|
2009-07-02 15:19:02 +00:00
|
|
|
rm -f xgen-teth && \
|
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
2015-07-06 04:58:45 +00:00
|
|
|
meta-enum-types.c: stamp-meta-enum-types.h meta-enum-types.c.in
|
2009-08-06 21:41:52 +00:00
|
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
2009-07-02 15:19:02 +00:00
|
|
|
$(GLIB_MKENUMS) \
|
2015-07-06 04:58:45 +00:00
|
|
|
--template meta-enum-types.c.in \
|
2009-07-02 15:19:02 +00:00
|
|
|
$(libmutterinclude_base_headers) ) >> xgen-tetc && \
|
2015-07-06 04:58:45 +00:00
|
|
|
cp xgen-tetc meta-enum-types.c && \
|
2009-07-02 15:19:02 +00:00
|
|
|
rm -f xgen-tetc
|
2012-01-05 12:19:58 +00:00
|
|
|
|
2014-04-01 03:33:01 +00:00
|
|
|
dbus_display_config_built_sources = meta-dbus-display-config.c meta-dbus-display-config.h
|
2013-07-19 12:39:28 +00:00
|
|
|
|
2014-04-01 03:33:01 +00:00
|
|
|
$(dbus_display_config_built_sources) : Makefile.am org.gnome.Mutter.DisplayConfig.xml
|
2013-08-27 08:07:39 +00:00
|
|
|
$(AM_V_GEN)gdbus-codegen \
|
2013-07-19 12:39:28 +00:00
|
|
|
--interface-prefix org.gnome.Mutter \
|
|
|
|
--c-namespace MetaDBus \
|
2014-04-01 03:33:01 +00:00
|
|
|
--generate-c-code meta-dbus-display-config \
|
2016-05-05 13:18:11 +00:00
|
|
|
--c-generate-autocleanup all \
|
2014-04-01 03:31:42 +00:00
|
|
|
$(srcdir)/org.gnome.Mutter.DisplayConfig.xml
|
2013-08-27 08:07:39 +00:00
|
|
|
|
2014-04-01 03:31:42 +00:00
|
|
|
$(dbus_idle_built_sources) : Makefile.am org.gnome.Mutter.IdleMonitor.xml
|
2013-08-14 11:51:05 +00:00
|
|
|
$(AM_V_GEN)gdbus-codegen \
|
|
|
|
--interface-prefix org.gnome.Mutter \
|
|
|
|
--c-namespace MetaDBus \
|
|
|
|
--generate-c-code meta-dbus-idle-monitor \
|
|
|
|
--c-generate-object-manager \
|
2016-05-05 13:18:11 +00:00
|
|
|
--c-generate-autocleanup all \
|
2014-04-01 03:31:42 +00:00
|
|
|
$(srcdir)/org.gnome.Mutter.IdleMonitor.xml
|
2013-08-14 11:51:05 +00:00
|
|
|
|
2013-12-31 22:44:45 +00:00
|
|
|
dbus_login1_built_sources = meta-dbus-login1.c meta-dbus-login1.h
|
|
|
|
|
|
|
|
$(dbus_login1_built_sources) : Makefile.am org.freedesktop.login1.xml
|
|
|
|
$(AM_V_GEN)gdbus-codegen \
|
|
|
|
--interface-prefix org.freedesktop.login1 \
|
|
|
|
--c-namespace Login1 \
|
|
|
|
--generate-c-code meta-dbus-login1 \
|
2016-05-05 13:18:11 +00:00
|
|
|
--c-generate-autocleanup all \
|
2013-12-31 22:44:45 +00:00
|
|
|
$(srcdir)/org.freedesktop.login1.xml
|
|
|
|
|
2015-02-14 20:03:38 +00:00
|
|
|
backends/native/meta-default-modes.h: backends/native/gen-default-modes.py Makefile.am
|
|
|
|
@if test -n "$(CVT)"; then \
|
|
|
|
if $(AM_V_P); then PS4= set -x; else echo " GEN $@"; fi; \
|
|
|
|
python $< > $@; \
|
|
|
|
fi
|
|
|
|
|
2015-11-09 07:28:14 +00:00
|
|
|
.SECONDEXPANSION:
|
|
|
|
|
|
|
|
define protostability
|
|
|
|
$(shell echo $1 | sed 's/.*\(\<unstable\>\|\<stable\>\).*/\1/')
|
|
|
|
endef
|
|
|
|
|
|
|
|
define protoname
|
|
|
|
$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/')
|
|
|
|
endef
|
|
|
|
|
|
|
|
%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
2016-01-25 09:37:58 +00:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
|
2015-11-09 07:28:14 +00:00
|
|
|
%-server-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
2016-01-25 09:37:58 +00:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header $< $@
|
2014-03-19 02:06:20 +00:00
|
|
|
%-protocol.c : $(srcdir)/wayland/protocol/%.xml
|
2016-01-25 09:37:58 +00:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
|
2014-03-19 02:06:20 +00:00
|
|
|
%-server-protocol.h : $(srcdir)/wayland/protocol/%.xml
|
2016-01-25 09:37:58 +00:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header $< $@
|