summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-12-28 14:20:49 +0100
committerBryce Harrington <bryce@osg.samsung.com>2015-01-20 19:44:58 -0800
commit4f4b47ad20238653f2fb29887f980a0363ef3d16 (patch)
tree554cf06f871a121cc8453e56dbaee95d85167333
parent1a873aa9a0e800fb5dffe7f9c1cbae1d80f5503b (diff)
downloadweston-4f4b47ad20238653f2fb29887f980a0363ef3d16.tar.gz
build: install a login manager session entry
This makes it possible to run Weston session from GDM (and possibly other login managers).
-rw-r--r--Makefile.am5
-rw-r--r--src/weston.desktop5
2 files changed, 10 insertions, 0 deletions
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