From 4f4b47ad20238653f2fb29887f980a0363ef3d16 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sun, 28 Dec 2014 14:20:49 +0100 Subject: build: install a login manager session entry This makes it possible to run Weston session from GDM (and possibly other login managers). --- Makefile.am | 5 +++++ src/weston.desktop | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 src/weston.desktop diff --git a/Makefile.am b/Makefile.am index 3a37be05..b10d6bff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -156,6 +156,11 @@ endif # BUILD_WESTON_LAUNCH pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = src/weston.pc +EXTRA_DIST += $(wayland_session_DATA) + +wayland_sessiondir = $(datadir)/wayland-sessions +wayland_session_DATA = src/weston.desktop + westonincludedir = $(includedir)/weston westoninclude_HEADERS = \ src/version.h \ diff --git a/src/weston.desktop b/src/weston.desktop new file mode 100644 index 00000000..102ee178 --- /dev/null +++ b/src/weston.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=Weston +Comment=The reference Wayland server +Exec=dbus-launch --exit-with-session weston +Type=Application -- cgit v1.2.1