[PATCH weston] build: install a login manager session entry

Bryce Harrington bryce at osg.samsung.com
Tue Jan 20 19:46:01 PST 2015


On Sun, Dec 28, 2014 at 02:20:49PM +0100, Lubomir Rintel wrote:
> 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

Thanks, applied
   1a873aa..4f4b47a  master -> master

Reviewed-by: Bryce Harrington <b.harrington at samsung.com>

> diff --git a/Makefile.am b/Makefile.am
> index 3a37be0..b10d6bf 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 0000000..102ee17
> --- /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
> -- 
> 2.1.0
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list