From bc47eb749005e519686975c4254699333464ff3e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 1 Oct 2014 11:21:41 +0200 Subject: [PATCH] Add support for MATE to Xclients (#1147905) --- Xclients | 3 +++ xorg-x11-xinit.spec | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) mode change 100755 => 100644 Xclients diff --git a/Xclients b/Xclients old mode 100755 new mode 100644 index 6f98d2e..1d6d6f7 --- a/Xclients +++ b/Xclients @@ -9,6 +9,7 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. GSESSION="$(type -p gnome-session)" +MSESSION="$(type -p mate-session)" STARTKDE="$(type -p startkde)" STARTLXDE="$(type -p startlxde)" @@ -18,6 +19,8 @@ if [ -f /etc/sysconfig/desktop ]; then . /etc/sysconfig/desktop if [ "$DESKTOP" = "GNOME" ]; then PREFERRED="$GSESSION" + elif [ "$DESKTOP" = "MATE" ]; then + PREFERRED="$MSESSION" elif [ "$DESKTOP" = "KDE" ]; then PREFERRED="$STARTKDE" elif [ "$DESKTOP" = "LXDE" ]; then diff --git a/xorg-x11-xinit.spec b/xorg-x11-xinit.spec index 6aaac33..7ef7f16 100644 --- a/xorg-x11-xinit.spec +++ b/xorg-x11-xinit.spec @@ -3,7 +3,7 @@ Summary: X.Org X11 X Window System xinit startup scripts Name: xorg-x11-%{pkgname} Version: 1.3.4 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT Group: User Interface/X URL: http://www.x.org @@ -105,6 +105,9 @@ install -p -m644 -D %{SOURCE18} $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compa %{_datadir}/xsessions/xinit-compat.desktop %changelog +* Wed Oct 1 2014 Hans de Goede - 1.3.4-2 +- Add support for MATE to Xclients (#1147905) + * Thu Sep 11 2014 Hans de Goede - 1.3.4-1 - New upstream release 1.3.4 - Resolves #806491 #990213 #1006029