2009-08-30 20:21:02 -04:00
|
|
|
# Flag build for parallelism; see https://savannah.gnu.org/patch/?6905
|
|
|
|
.AUTOPARALLEL:
|
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
lib_LTLIBRARIES = libmutter-wayland.la
|
2001-06-02 00:14:18 -04:00
|
|
|
|
2013-07-17 23:15:02 -04:00
|
|
|
SUBDIRS=compositor/plugins
|
2008-09-18 11:09:11 -04:00
|
|
|
|
2011-03-05 16:16:26 -05:00
|
|
|
INCLUDES= \
|
2014-02-24 08:35:06 -05:00
|
|
|
-DCLUTTER_ENABLE_COMPOSITOR_API \
|
2012-11-12 13:32:30 -05:00
|
|
|
-DCLUTTER_ENABLE_EXPERIMENTAL_API \
|
|
|
|
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
2013-01-23 15:54:41 -05:00
|
|
|
-DCOGL_ENABLE_EXPERIMENTAL_2_0_API \
|
2011-03-05 16:16:26 -05:00
|
|
|
$(MUTTER_CFLAGS) \
|
2013-08-16 08:15:08 -04:00
|
|
|
-I$(top_builddir) \
|
2011-03-05 19:29:12 -05:00
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(srcdir)/core \
|
|
|
|
-I$(srcdir)/ui \
|
2011-03-05 16:16:26 -05:00
|
|
|
-I$(srcdir)/compositor \
|
|
|
|
-DMUTTER_LIBEXECDIR=\"$(libexecdir)\" \
|
|
|
|
-DHOST_ALIAS=\"@HOST_ALIAS@\" \
|
|
|
|
-DMUTTER_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" \
|
|
|
|
-DMUTTER_PKGDATADIR=\"$(pkgdatadir)\" \
|
|
|
|
-DMUTTER_DATADIR=\"$(datadir)\" \
|
|
|
|
-DG_LOG_DOMAIN=\"mutter\" \
|
|
|
|
-DSN_API_NOT_YET_FROZEN=1 \
|
|
|
|
-DMUTTER_MAJOR_VERSION=$(MUTTER_MAJOR_VERSION) \
|
|
|
|
-DMUTTER_MINOR_VERSION=$(MUTTER_MINOR_VERSION) \
|
|
|
|
-DMUTTER_MICRO_VERSION=$(MUTTER_MICRO_VERSION) \
|
|
|
|
-DMUTTER_PLUGIN_API_VERSION=$(MUTTER_PLUGIN_API_VERSION) \
|
|
|
|
-DMUTTER_PKGLIBDIR=\"$(pkglibdir)\" \
|
|
|
|
-DMUTTER_PLUGIN_DIR=\"@MUTTER_PLUGIN_DIR@\" \
|
2014-03-18 22:01:31 -04:00
|
|
|
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
|
2012-01-10 13:28:15 -05:00
|
|
|
-DXWAYLAND_PATH='"@XWAYLAND_PATH@"'
|
|
|
|
|
2009-07-02 11:19:02 -04:00
|
|
|
mutter_built_sources = \
|
2013-08-16 07:49:03 -04:00
|
|
|
$(dbus_idle_built_sources) \
|
2013-08-27 04:07:39 -04:00
|
|
|
$(dbus_xrandr_built_sources) \
|
2013-08-16 07:49:03 -04:00
|
|
|
mutter-enum-types.h \
|
|
|
|
mutter-enum-types.c \
|
2014-03-18 22:06:20 -04:00
|
|
|
gtk-shell-protocol.c \
|
|
|
|
gtk-shell-server-protocol.h \
|
|
|
|
xdg-shell-protocol.c \
|
|
|
|
xdg-shell-server-protocol.h \
|
|
|
|
xserver-protocol.c \
|
|
|
|
xserver-server-protocol.h
|
2012-01-07 17:21:32 -05:00
|
|
|
|
2014-03-18 20:32:02 -04:00
|
|
|
wayland_protocols = \
|
|
|
|
wayland/protocol/gtk-shell.xml \
|
|
|
|
wayland/protocol/xdg-shell.xml \
|
|
|
|
wayland/protocol/xserver.xml
|
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
libmutter_wayland_la_SOURCES = \
|
2014-03-18 12:57:08 -04:00
|
|
|
core/above-tab-keycode.c \
|
2012-07-30 14:54:03 -04:00
|
|
|
core/barrier.c \
|
|
|
|
meta/barrier.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/bell.c \
|
|
|
|
core/bell.h \
|
|
|
|
core/boxes.c \
|
2010-10-18 14:34:14 -04:00
|
|
|
core/boxes-private.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/boxes.h \
|
2013-02-18 17:55:26 -05:00
|
|
|
compositor/clutter-utils.c \
|
|
|
|
compositor/clutter-utils.h \
|
2010-11-14 12:22:05 -05:00
|
|
|
compositor/cogl-utils.c \
|
|
|
|
compositor/cogl-utils.h \
|
2009-06-25 16:29:20 -04:00
|
|
|
compositor/compositor.c \
|
2009-06-25 18:56:15 -04:00
|
|
|
compositor/compositor-private.h \
|
2013-01-23 15:54:41 -05:00
|
|
|
compositor/meta-background.c \
|
2010-11-14 12:37:17 -05:00
|
|
|
compositor/meta-background-actor.c \
|
2011-08-28 21:20:29 -04:00
|
|
|
compositor/meta-background-actor-private.h \
|
2013-01-23 15:54:41 -05:00
|
|
|
compositor/meta-background-group.c \
|
2013-11-21 15:25:08 -05:00
|
|
|
compositor/meta-cullable.c \
|
|
|
|
compositor/meta-cullable.h \
|
2010-10-18 13:27:14 -04: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 15:34:08 -04:00
|
|
|
compositor/meta-shadow-factory.c \
|
2010-11-11 10:21:36 -05:00
|
|
|
compositor/meta-shadow-factory-private.h \
|
2010-10-18 13:27:14 -04:00
|
|
|
compositor/meta-shaped-texture.c \
|
2013-08-16 08:23:40 -04:00
|
|
|
compositor/meta-shaped-texture-private.h \
|
2013-10-13 07:47:53 -04: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 17:21:11 -05:00
|
|
|
compositor/meta-surface-actor-x11.c \
|
|
|
|
compositor/meta-surface-actor-x11.h \
|
|
|
|
compositor/meta-surface-actor-wayland.c \
|
|
|
|
compositor/meta-surface-actor-wayland.h \
|
2011-07-13 10:47:10 -04:00
|
|
|
compositor/meta-texture-rectangle.c \
|
|
|
|
compositor/meta-texture-rectangle.h \
|
2010-10-18 13:27:14 -04: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 15:34:08 -04:00
|
|
|
compositor/meta-window-shape.c \
|
|
|
|
compositor/meta-window-shape.h \
|
|
|
|
compositor/region-utils.c \
|
|
|
|
compositor/region-utils.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/compositor.h \
|
2013-01-23 15:54:41 -05:00
|
|
|
meta/meta-background.h \
|
2011-08-28 21:20:29 -04:00
|
|
|
meta/meta-background-actor.h \
|
2013-01-23 15:54:41 -05:00
|
|
|
meta/meta-background-group.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/meta-plugin.h \
|
|
|
|
meta/meta-shadow-factory.h \
|
|
|
|
meta/meta-window-actor.h \
|
|
|
|
meta/compositor-mutter.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/constraints.c \
|
|
|
|
core/constraints.h \
|
|
|
|
core/core.c \
|
|
|
|
core/delete.c \
|
|
|
|
core/display.c \
|
2008-05-18 20:00:09 -04:00
|
|
|
core/display-private.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/display.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/edge-resistance.c \
|
|
|
|
core/edge-resistance.h \
|
2013-08-16 11:06:46 -04:00
|
|
|
core/edid-parse.c \
|
|
|
|
core/edid.h \
|
2014-03-20 15:29:30 -04:00
|
|
|
core/events.c \
|
|
|
|
core/events.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/errors.c \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/errors.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/frame.c \
|
2011-03-05 19:29:12 -05:00
|
|
|
core/frame.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
ui/gradient.c \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/gradient.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/keybindings.c \
|
2009-01-29 10:14:25 -05:00
|
|
|
core/keybindings-private.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/main.c \
|
2014-03-31 14:08:14 -04:00
|
|
|
core/meta-cursor.c \
|
|
|
|
core/meta-cursor.h \
|
|
|
|
core/meta-cursor-private.h \
|
2013-08-13 06:57:41 -04:00
|
|
|
core/meta-cursor-tracker.c \
|
|
|
|
core/meta-cursor-tracker-private.h \
|
2013-08-14 06:50:48 -04:00
|
|
|
core/meta-idle-monitor.c \
|
|
|
|
core/meta-idle-monitor-private.h \
|
2014-03-30 20:38:56 -04:00
|
|
|
core/meta-idle-monitor-dbus.c \
|
|
|
|
core/meta-idle-monitor-dbus.h \
|
2014-03-30 20:52:25 -04:00
|
|
|
core/meta-idle-monitor-xsync.c \
|
|
|
|
core/meta-idle-monitor-xsync.h \
|
|
|
|
core/meta-idle-monitor-native.c \
|
|
|
|
core/meta-idle-monitor-native.h \
|
2013-07-24 04:39:06 -04:00
|
|
|
core/meta-xrandr-shared.h \
|
2013-07-18 07:09:16 -04:00
|
|
|
core/monitor.c \
|
|
|
|
core/monitor-private.h \
|
2014-03-31 21:57:58 -04:00
|
|
|
core/monitor-config.c \
|
|
|
|
core/monitor-config.h \
|
2014-03-31 21:50:09 -04:00
|
|
|
core/meta-monitor-manager-dummy.c \
|
|
|
|
core/meta-monitor-manager-dummy.h \
|
2014-03-30 20:21:39 -04:00
|
|
|
core/meta-monitor-manager-kms.c \
|
2014-03-30 20:25:31 -04:00
|
|
|
core/meta-monitor-manager-kms.h \
|
2014-03-30 20:21:39 -04:00
|
|
|
core/meta-monitor-manager-xrandr.c \
|
2014-03-30 20:25:31 -04:00
|
|
|
core/meta-monitor-manager-xrandr.h \
|
2010-10-18 13:27:14 -04:00
|
|
|
core/mutter-Xatomtype.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/place.c \
|
|
|
|
core/place.h \
|
|
|
|
core/prefs.c \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/prefs.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/screen.c \
|
2008-05-18 20:00:09 -04:00
|
|
|
core/screen-private.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/screen.h \
|
|
|
|
meta/types.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/stack.c \
|
|
|
|
core/stack.h \
|
2009-06-13 16:45:32 -04:00
|
|
|
core/stack-tracker.c \
|
|
|
|
core/stack-tracker.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/util.c \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/util.h \
|
2013-09-11 04:18:53 -04:00
|
|
|
core/util-private.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/window.c \
|
2008-05-18 20:00:09 -04:00
|
|
|
core/window-private.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/window.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/workspace.c \
|
2009-02-12 05:48:59 -05:00
|
|
|
core/workspace-private.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/common.h \
|
|
|
|
core/core.h \
|
|
|
|
ui/ui.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
ui/frames.c \
|
|
|
|
ui/frames.h \
|
|
|
|
ui/menu.c \
|
|
|
|
ui/menu.h \
|
|
|
|
ui/metaaccellabel.c \
|
|
|
|
ui/metaaccellabel.h \
|
|
|
|
ui/resizepopup.c \
|
2011-03-05 19:29:12 -05:00
|
|
|
ui/resizepopup.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
ui/theme-parser.c \
|
|
|
|
ui/theme.c \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/theme.h \
|
2010-10-18 14:34:14 -04:00
|
|
|
ui/theme-private.h \
|
2014-02-17 21:28:41 -05:00
|
|
|
ui/ui.c \
|
2014-03-18 12:57:08 -04:00
|
|
|
x11/iconcache.c \
|
|
|
|
x11/iconcache.h \
|
|
|
|
x11/async-getprop.c \
|
|
|
|
x11/async-getprop.h \
|
2014-03-19 09:11:23 -04:00
|
|
|
x11/group-private.h \
|
2014-03-18 12:57:08 -04:00
|
|
|
x11/group-props.c \
|
|
|
|
x11/group-props.h \
|
|
|
|
x11/group.c \
|
2014-03-19 09:11:23 -04:00
|
|
|
meta/group.h \
|
2014-03-18 22:02:47 -04:00
|
|
|
x11/session.c \
|
|
|
|
x11/session.h \
|
2014-03-18 12:57:08 -04: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 \
|
2012-01-07 17:21:32 -05:00
|
|
|
wayland/meta-wayland.c \
|
2014-02-28 10:24:06 -05:00
|
|
|
wayland/meta-wayland.h \
|
2012-01-07 17:21:32 -05:00
|
|
|
wayland/meta-wayland-private.h \
|
|
|
|
wayland/meta-xwayland-private.h \
|
2013-05-03 13:51:22 -04:00
|
|
|
wayland/meta-xwayland.c \
|
|
|
|
wayland/meta-wayland-data-device.c \
|
|
|
|
wayland/meta-wayland-data-device.h \
|
|
|
|
wayland/meta-wayland-keyboard.c \
|
|
|
|
wayland/meta-wayland-keyboard.h \
|
|
|
|
wayland/meta-wayland-pointer.c \
|
|
|
|
wayland/meta-wayland-pointer.h \
|
|
|
|
wayland/meta-wayland-seat.c \
|
2012-01-18 18:03:23 -05:00
|
|
|
wayland/meta-wayland-seat.h \
|
|
|
|
wayland/meta-wayland-stage.h \
|
2013-08-19 08:57:16 -04:00
|
|
|
wayland/meta-wayland-stage.c \
|
2013-08-30 12:26:18 -04:00
|
|
|
wayland/meta-wayland-surface.c \
|
2013-08-30 12:03:30 -04:00
|
|
|
wayland/meta-wayland-surface.h \
|
|
|
|
wayland/meta-wayland-types.h \
|
2013-09-10 07:45:27 -04:00
|
|
|
wayland/meta-wayland-versions.h \
|
2013-08-19 08:57:16 -04:00
|
|
|
wayland/meta-weston-launch.c \
|
2014-03-19 09:26:17 -04:00
|
|
|
wayland/meta-weston-launch.h \
|
|
|
|
wayland/window-wayland.c \
|
|
|
|
wayland/window-wayland.h
|
2012-01-07 17:21:32 -05:00
|
|
|
|
2014-02-17 21:28:41 -05:00
|
|
|
nodist_libmutter_wayland_la_SOURCES = \
|
|
|
|
$(mutter_built_sources)
|
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
libmutter_wayland_la_LDFLAGS = -no-undefined
|
|
|
|
libmutter_wayland_la_LIBADD = $(MUTTER_LIBS)
|
2003-04-19 03:19:04 -04:00
|
|
|
|
2009-07-17 07:51:21 -04:00
|
|
|
# Headers installed for plugins; introspected information will
|
|
|
|
# be extracted into Mutter-<version>.gir
|
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 06:29:20 -04:00
|
|
|
libmutterinclude_base_headers = \
|
2012-07-30 14:54:03 -04:00
|
|
|
meta/barrier.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/boxes.h \
|
|
|
|
meta/common.h \
|
|
|
|
meta/compositor-mutter.h \
|
|
|
|
meta/compositor.h \
|
|
|
|
meta/display.h \
|
|
|
|
meta/errors.h \
|
|
|
|
meta/gradient.h \
|
2014-03-19 09:11:23 -04:00
|
|
|
meta/group.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/keybindings.h \
|
|
|
|
meta/main.h \
|
2011-08-28 21:20:29 -04:00
|
|
|
meta/meta-background-actor.h \
|
2013-01-23 15:54:41 -05:00
|
|
|
meta/meta-background-group.h \
|
|
|
|
meta/meta-background.h \
|
2013-08-13 06:57:41 -04:00
|
|
|
meta/meta-cursor-tracker.h \
|
2013-08-14 06:50:48 -04:00
|
|
|
meta/meta-idle-monitor.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/meta-plugin.h \
|
2011-10-04 17:35:11 -04:00
|
|
|
meta/meta-shaped-texture.h \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/meta-shadow-factory.h \
|
|
|
|
meta/meta-window-actor.h \
|
|
|
|
meta/prefs.h \
|
|
|
|
meta/screen.h \
|
|
|
|
meta/theme.h \
|
|
|
|
meta/types.h \
|
|
|
|
meta/util.h \
|
|
|
|
meta/window.h \
|
|
|
|
meta/workspace.h
|
2002-11-07 17:09:59 -05:00
|
|
|
|
2008-11-01 13:40:29 -04:00
|
|
|
# Excluded from scanning for introspection but installed
|
2009-07-17 07:51:21 -04:00
|
|
|
# atomnames.h: macros cause problems for scanning process
|
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 06:29:20 -04:00
|
|
|
libmutterinclude_extra_headers = \
|
2011-03-05 19:29:12 -05:00
|
|
|
meta/atomnames.h
|
2008-11-01 13:40:29 -04:00
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
libmutterincludedir = $(includedir)/mutter-wayland/meta
|
2010-09-23 08:32:48 -04: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 06:29:20 -04:00
|
|
|
libmutterinclude_HEADERS = \
|
|
|
|
$(libmutterinclude_base_headers) \
|
|
|
|
$(libmutterinclude_extra_headers)
|
2008-11-01 13:40:29 -04:00
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
bin_PROGRAMS=mutter-wayland
|
2008-10-12 19:29:09 -04:00
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
mutter_wayland_SOURCES = core/mutter.c
|
|
|
|
mutter_wayland_LDADD = $(MUTTER_LIBS) libmutter-wayland.la
|
2011-03-05 16:16:26 -05:00
|
|
|
|
2013-07-15 12:07:01 -04:00
|
|
|
bin_PROGRAMS+=mutter-launch
|
|
|
|
|
|
|
|
mutter_launch_SOURCES = wayland/weston-launch.c wayland/weston-launch.h
|
|
|
|
|
2013-08-19 09:02:45 -04:00
|
|
|
mutter_launch_CFLAGS = $(MUTTER_LAUNCH_CFLAGS) -DLIBDIR=\"$(libdir)\"
|
2013-07-15 12:07:01 -04:00
|
|
|
mutter_launch_LDFLAGS = $(MUTTER_LAUNCH_LIBS) -lpam
|
|
|
|
|
|
|
|
install-exec-hook:
|
|
|
|
-chown root $(DESTDIR)$(bindir)/mutter-launch
|
|
|
|
-chmod u+s $(DESTDIR)$(bindir)/mutter-launch
|
|
|
|
|
2011-03-05 15:01:33 -05:00
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
include $(INTROSPECTION_MAKEFILE)
|
|
|
|
|
2011-07-01 19:19:11 -04:00
|
|
|
# Since we don't make any guarantees about stability and we don't support
|
|
|
|
# parallel install, there's no real reason to change directories, filenames,
|
|
|
|
# etc. as we change the Mutter tarball version.
|
|
|
|
#api_version = $(MUTTER_MAJOR_VERSION).$(MUTTER_MINOR_VERSION)
|
|
|
|
api_version = 3.0
|
2008-11-01 13:40:29 -04: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)
|
|
|
|
gir_DATA = Meta-$(api_version).gir
|
|
|
|
|
|
|
|
typelibdir = $(pkglibdir)
|
|
|
|
typelib_DATA = Meta-$(api_version).typelib
|
|
|
|
|
2011-03-05 15:01:33 -05:00
|
|
|
INTROSPECTION_GIRS = Meta-$(api_version).gir
|
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
Meta-$(api_version).gir: libmutter-wayland.la
|
2012-08-29 19:45:17 -04:00
|
|
|
@META_GIR@_INCLUDES = GObject-2.0 GDesktopEnums-3.0 Gdk-3.0 Gtk-3.0 Clutter-1.0 xlib-2.0 xfixes-4.0 Cogl-1.0
|
2013-08-16 08:15:08 -04:00
|
|
|
@META_GIR@_EXPORT_PACKAGES = libmutter-wayland
|
2011-03-05 15:01:33 -05:00
|
|
|
@META_GIR@_CFLAGS = $(INCLUDES)
|
2013-08-16 08:15:08 -04:00
|
|
|
@META_GIR@_LIBS = libmutter-wayland.la
|
2011-03-05 15:01:33 -05:00
|
|
|
@META_GIR@_FILES = \
|
|
|
|
mutter-enum-types.h \
|
|
|
|
$(libmutterinclude_base_headers) \
|
2013-10-30 19:09:15 -04:00
|
|
|
$(filter %.c,$(libmutter_wayland_la_SOURCES) $(nodist_libmutter_wayland_la_SOURCES))
|
2011-03-05 15:01:33 -05:00
|
|
|
@META_GIR@_SCANNERFLAGS = --warn-all --warn-error
|
2008-11-01 13:40:29 -04:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2011-03-05 16:16:26 -05:00
|
|
|
testboxes_SOURCES = core/testboxes.c
|
|
|
|
testgradient_SOURCES = ui/testgradient.c
|
2014-03-18 22:04:27 -04:00
|
|
|
testasyncgetprop_SOURCES = x11/testasyncgetprop.c
|
2002-01-06 12:52:21 -05: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 06:29:20 -04:00
|
|
|
noinst_PROGRAMS=testboxes testgradient testasyncgetprop
|
2002-01-06 12:52:21 -05:00
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
testboxes_LDADD = $(MUTTER_LIBS) libmutter-wayland.la
|
|
|
|
testgradient_LDADD = $(MUTTER_LIBS) libmutter-wayland.la
|
|
|
|
testasyncgetprop_LDADD = $(MUTTER_LIBS) libmutter-wayland.la
|
2002-01-06 12:52:21 -05:00
|
|
|
|
2008-09-12 00:05:17 -04:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
|
2008-09-02 14:49:11 -04:00
|
|
|
desktopfilesdir=$(datadir)/applications
|
2013-08-16 08:15:08 -04:00
|
|
|
desktopfiles_in_files=mutter-wayland.desktop.in
|
2003-01-10 15:43:47 -05:00
|
|
|
desktopfiles_files=$(desktopfiles_in_files:.desktop.in=.desktop)
|
|
|
|
desktopfiles_DATA = $(desktopfiles_files)
|
2008-03-29 20:01:18 -04:00
|
|
|
|
2011-11-15 11:29:56 -05:00
|
|
|
xmldir = @GNOME_KEYBINDINGS_KEYSDIR@
|
|
|
|
xml_in_files = \
|
2012-11-05 08:55:15 -05:00
|
|
|
50-mutter-navigation.xml.in \
|
|
|
|
50-mutter-system.xml.in \
|
2011-11-15 11:29:56 -05:00
|
|
|
50-mutter-windows.xml.in
|
|
|
|
xml_DATA = $(xml_in_files:.xml.in=.xml)
|
|
|
|
|
2013-08-14 07:51:05 -04:00
|
|
|
dbus_idle_built_sources = meta-dbus-idle-monitor.c meta-dbus-idle-monitor.h
|
|
|
|
|
2013-07-16 08:37:49 -04:00
|
|
|
gsettings_SCHEMAS = org.gnome.mutter.gschema.xml org.gnome.mutter.wayland.gschema.xml
|
2007-04-05 05:22:19 -04:00
|
|
|
@INTLTOOL_XML_NOMERGE_RULE@
|
2011-06-24 12:14:15 -04:00
|
|
|
@GSETTINGS_RULES@
|
2007-04-05 05:22:19 -04:00
|
|
|
|
2011-06-24 12:14:15 -04:00
|
|
|
convertdir = $(datadir)/GConf/gsettings
|
2011-11-11 15:39:54 -05:00
|
|
|
convert_DATA = mutter-schemas.convert
|
2001-12-09 17:41:12 -05:00
|
|
|
|
2009-07-16 17:54:56 -04:00
|
|
|
CLEANFILES = \
|
2013-08-16 08:15:08 -04:00
|
|
|
mutter-wayland.desktop \
|
2009-07-16 17:54:56 -04:00
|
|
|
mutter-wm.desktop \
|
2011-06-24 12:14:15 -04:00
|
|
|
org.gnome.mutter.gschema.xml \
|
2013-09-03 10:55:26 -04:00
|
|
|
org.gnome.mutter.wayland.gschema.xml \
|
2011-11-15 11:29:56 -05:00
|
|
|
$(xml_DATA) \
|
2009-07-16 17:54:56 -04:00
|
|
|
$(mutter_built_sources) \
|
|
|
|
$(typelib_DATA) \
|
|
|
|
$(gir_DATA)
|
2001-09-17 00:42:37 -04:00
|
|
|
|
2002-11-07 17:09:59 -05:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
2013-08-16 08:15:08 -04:00
|
|
|
pkgconfig_DATA = libmutter-wayland.pc
|
2002-11-07 17:09:59 -05:00
|
|
|
|
2003-01-10 15:43:47 -05:00
|
|
|
EXTRA_DIST=$(desktopfiles_files) \
|
2008-10-28 06:45:45 -04:00
|
|
|
$(wmproperties_files) \
|
2009-07-16 17:54:56 -04:00
|
|
|
$(IMAGES) \
|
2002-11-07 17:09:59 -05:00
|
|
|
$(desktopfiles_in_files) \
|
2008-09-12 00:05:17 -04:00
|
|
|
$(wmproperties_in_files) \
|
2011-11-15 11:29:56 -05:00
|
|
|
$(xml_in_files) \
|
2014-03-18 20:32:02 -04:00
|
|
|
$(wayland_protocols) \
|
2011-06-24 12:14:15 -04:00
|
|
|
org.gnome.mutter.gschema.xml.in \
|
2013-09-03 10:55:26 -04:00
|
|
|
org.gnome.mutter.wayland.gschema.xml.in \
|
2011-11-11 15:39:54 -05:00
|
|
|
mutter-schemas.convert \
|
2013-08-16 08:15:08 -04:00
|
|
|
libmutter-wayland.pc.in \
|
2009-07-04 11:37:26 -04:00
|
|
|
mutter-enum-types.h.in \
|
2013-09-03 10:55:26 -04:00
|
|
|
mutter-enum-types.c.in \
|
|
|
|
xrandr.xml idle-monitor.xml
|
2009-07-02 11:19:02 -04:00
|
|
|
|
2013-07-17 23:10:18 -04:00
|
|
|
BUILT_SOURCES = $(mutter_built_sources)
|
2011-10-18 18:06:14 -04:00
|
|
|
MUTTER_STAMP_FILES = stamp-mutter-enum-types.h
|
2009-07-02 11:19:02 -04:00
|
|
|
CLEANFILES += $(MUTTER_STAMP_FILES)
|
|
|
|
|
|
|
|
mutter-enum-types.h: stamp-mutter-enum-types.h Makefile
|
|
|
|
@true
|
2009-08-31 18:12:29 -04:00
|
|
|
stamp-mutter-enum-types.h: $(libmutterinclude_base_headers) mutter-enum-types.h.in
|
2009-08-06 17:41:52 -04:00
|
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
2009-07-02 11:19:02 -04:00
|
|
|
$(GLIB_MKENUMS) \
|
2010-08-13 09:06:35 -04:00
|
|
|
--template mutter-enum-types.h.in \
|
2009-07-02 11:19:02 -04:00
|
|
|
$(libmutterinclude_base_headers) ) >> xgen-teth && \
|
2009-08-06 17:41:52 -04:00
|
|
|
(cmp -s xgen-teth mutter-enum-types.h || cp xgen-teth mutter-enum-types.h) && \
|
2009-07-02 11:19:02 -04:00
|
|
|
rm -f xgen-teth && \
|
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
|
|
|
mutter-enum-types.c: stamp-mutter-enum-types.h mutter-enum-types.c.in
|
2009-08-06 17:41:52 -04:00
|
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
2009-07-02 11:19:02 -04:00
|
|
|
$(GLIB_MKENUMS) \
|
2010-08-13 09:06:35 -04:00
|
|
|
--template mutter-enum-types.c.in \
|
2009-07-02 11:19:02 -04:00
|
|
|
$(libmutterinclude_base_headers) ) >> xgen-tetc && \
|
|
|
|
cp xgen-tetc mutter-enum-types.c && \
|
|
|
|
rm -f xgen-tetc
|
2012-01-05 07:19:58 -05:00
|
|
|
|
2013-07-19 08:39:28 -04:00
|
|
|
dbus_xrandr_built_sources = meta-dbus-xrandr.c meta-dbus-xrandr.h
|
|
|
|
|
|
|
|
$(dbus_xrandr_built_sources) : Makefile.am xrandr.xml
|
2013-08-27 04:07:39 -04:00
|
|
|
$(AM_V_GEN)gdbus-codegen \
|
2013-07-19 08:39:28 -04:00
|
|
|
--interface-prefix org.gnome.Mutter \
|
|
|
|
--c-namespace MetaDBus \
|
|
|
|
--generate-c-code meta-dbus-xrandr \
|
2013-08-17 19:05:50 -04:00
|
|
|
$(srcdir)/xrandr.xml
|
2013-08-27 04:07:39 -04:00
|
|
|
|
2013-08-14 07:51:05 -04:00
|
|
|
|
|
|
|
$(dbus_idle_built_sources) : Makefile.am idle-monitor.xml
|
|
|
|
$(AM_V_GEN)gdbus-codegen \
|
|
|
|
--interface-prefix org.gnome.Mutter \
|
|
|
|
--c-namespace MetaDBus \
|
|
|
|
--generate-c-code meta-dbus-idle-monitor \
|
|
|
|
--c-generate-object-manager \
|
|
|
|
$(srcdir)/idle-monitor.xml
|
|
|
|
|
2014-03-18 22:06:20 -04:00
|
|
|
%-protocol.c : $(srcdir)/wayland/protocol/%.xml
|
2012-01-05 07:19:58 -05:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
2014-03-18 22:06:20 -04:00
|
|
|
%-server-protocol.h : $(srcdir)/wayland/protocol/%.xml
|
2012-01-05 07:19:58 -05:00
|
|
|
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
|