$(PIXMAN_CFLAGS) \
$(AM_CFLAGS)
systemd_notify_la_SOURCES = \
- src/systemd-notify.c \
+ compositor/systemd-notify.c \
shared/helpers.h \
shared/zalloc.h \
src/compositor.h
-lm libshared.la libweston.la
weston_SOURCES = \
- src/main.c \
- src/weston-screenshooter.c \
- src/text-backend.c
+ compositor/main.c \
+ compositor/weston-screenshooter.c \
+ compositor/text-backend.c
# Track this dependency explicitly instead of using BUILT_SOURCES. We
# add BUILT_SOURCES to CLEANFILES, but we want to keep git-version.h
endif # BUILD_WESTON_LAUNCH
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = src/weston.pc src/libweston-${LIBWESTON_ABI_VERSION}.pc
+pkgconfig_DATA = compositor/weston.pc src/libweston-${LIBWESTON_ABI_VERSION}.pc
wayland_sessiondir = $(datadir)/wayland-sessions
-dist_wayland_session_DATA = src/weston.desktop
+dist_wayland_session_DATA = compositor/weston.desktop
libwestonincludedir = $(includedir)/libweston-${LIBWESTON_ABI_VERSION}
libwestoninclude_HEADERS = \
shared/platform.h
westonincludedir = $(includedir)/weston
-westoninclude_HEADERS = src/weston.h
+westoninclude_HEADERS = compositor/weston.h
if ENABLE_IVI_SHELL
westoninclude_HEADERS += \
cms_static_la_LIBADD = $(COMPOSITOR_LIBS) $(LCMS_LIBS) libshared.la
cms_static_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(LCMS_CFLAGS)
cms_static_la_SOURCES = \
- src/cms-static.c \
- src/cms-helper.c \
- src/cms-helper.h \
+ compositor/cms-static.c \
+ compositor/cms-helper.c \
+ compositor/cms-helper.h \
shared/helpers.h
if ENABLE_COLORD
module_LTLIBRARIES += cms-colord.la
cms_colord_la_LIBADD = $(COMPOSITOR_LIBS) $(COLORD_LIBS)
cms_colord_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(COLORD_CFLAGS)
cms_colord_la_SOURCES = \
- src/cms-colord.c \
- src/cms-helper.c \
- src/cms-helper.h \
+ compositor/cms-colord.c \
+ compositor/cms-helper.c \
+ compositor/cms-helper.h \
shared/helpers.h
endif
endif
$(SCREEN_SHARE_CFLAGS) \
$(AM_CFLAGS)
screen_share_la_SOURCES = \
- src/screen-share.c \
+ compositor/screen-share.c \
shared/helpers.h
nodist_screen_share_la_SOURCES = \
protocol/fullscreen-shell-unstable-v1-protocol.c \
- xwayland ???
+- weston-launch is still with libweston even though it can only launch
+ Weston and nothing else. We would like to allow it to launch any compositor,
+ but since it gives by design root access to input devices and DRM, how can
+ we restrict it to intended programs?
+
There are still many more details to be decided.
- fbdev-backend (depends on libudev...)
- rdp-backend (depends on freerdp)
- + screen-share
- weston (the executable, not parallel-installable):
+ desktop shell
+ ivi-shell
+ fullscreen shell
+ weston-info, weston-terminal, etc. we install by default
+ + screen-share
- weston demos (not parallel-installable)
+ weston-simple-* programs
PKG_CHECK_MODULES(SYSTEMD_DAEMON, [libsystemd])
fi
-AC_CONFIG_FILES([Makefile src/version.h src/weston.pc])
+AC_CONFIG_FILES([Makefile src/version.h compositor/weston.pc])
# AC_CONFIG_FILES needs the full name when running autoconf, so we need to use
# libweston_abi_version here, and outside [] because of m4 quoting rules
#include <sys/types.h>
#include "shell.h"
-#include "weston.h"
+#include "compositor/weston.h"
#include "weston-desktop-shell-server-protocol.h"
#include "shared/config-parser.h"
#include "shared/helpers.h"
#include "ivi-hmi-controller-server-protocol.h"
#include "shared/helpers.h"
#include "shared/xalloc.h"
-#include "src/weston.h"
+#include "compositor/weston.h"
/*****************************************************************************
* structure, globals
#include <string.h>
#include <assert.h>
-#include "weston.h"
+#include "compositor/weston.h"
#include "compositor.h"
#include "ivi-shell.h"
#include "ivi-layout-export.h"
#include "ivi-layout-export.h"
#include "ivi-layout-shell.h"
#include "shared/helpers.h"
-#include "weston.h"
+#include "compositor/weston.h"
/* Representation of ivi_surface protocol object. */
struct ivi_shell_surface
#include <assert.h>
#include "src/compositor.h"
-#include "src/weston.h"
+#include "compositor/weston.h"
#include "weston-test-server-protocol.h"
#include "ivi-test.h"
#include "ivi-shell/ivi-layout-export.h"
#include <string.h>
#include "src/compositor.h"
-#include "src/weston.h"
+#include "compositor/weston.h"
#include "weston-test-server-protocol.h"
#ifdef ENABLE_EGL
#include "xwayland.h"
#include "shared/helpers.h"
-#include "weston.h"
+#include "compositor/weston.h"
static int
handle_sigusr1(int signal_number, void *data)
#include <cairo/cairo-xcb.h>
#include "compositor.h"
-#include "weston.h"
+#include "compositor/weston.h"
#define SEND_EVENT_MASK (0x80)
#define EVENT_TYPE(event) ((event)->response_type & ~SEND_EVENT_MASK)