Hello community,

here is the log from the commit of package gdm for openSUSE:Factory checked in 
at 2017-09-19 16:20:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdm (Old)
 and      /work/SRC/openSUSE:Factory/.gdm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdm"

Tue Sep 19 16:20:06 2017 rev:195 rq:527042 version:3.26.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdm/gdm.changes  2017-09-13 21:56:15.899299636 
+0200
+++ /work/SRC/openSUSE:Factory/.gdm.new/gdm.changes     2017-09-19 
16:20:09.642694361 +0200
@@ -1,0 +2,6 @@
+Mon Sep 18 12:29:08 UTC 2017 - [email protected]
+
+- Add gdm-check-for-Xwayland.patch: don't try wayland session if
+  Xwayland isn't installed on the system (bgo#787837).
+
+-------------------------------------------------------------------

New:
----
  gdm-check-for-Xwayland.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdm.spec ++++++
--- /var/tmp/diff_new_pack.3akXd4/_old  2017-09-19 16:20:12.234329040 +0200
+++ /var/tmp/diff_new_pack.3akXd4/_new  2017-09-19 16:20:12.262325094 +0200
@@ -62,6 +62,8 @@
 Patch42:        gdm-fails-to-restart-gnome-shell.patch
 # PATCH-FIX-SLE gdm-default-wm-sle12.patch bnc#881659 [email protected] -- set 
default/fallback session type to SLE Classic
 Patch49:        gdm-default-wm-sle12.patch
+# PATCH-FIX-UPSTREAM gdm-check-for-Xwayland.patch bgo#787837 [email protected] 
-- Don't try Wayland if Xwayland isn't installed
+Patch50:        gdm-check-for-Xwayland.patch
 BuildRequires:  check-devel
 # needed for directory ownership
 BuildRequires:  dconf
@@ -202,6 +204,7 @@
 %if !0%{?is_opensuse}
 %patch49 -p1
 %endif
+%patch50 -p1
 
 %build
 NOCONFIGURE=1 sh autogen.sh

++++++ gdm-check-for-Xwayland.patch ++++++
Index: gdm-3.26.0/daemon/gdm-local-display-factory.c
===================================================================
--- gdm-3.26.0.orig/daemon/gdm-local-display-factory.c  2017-09-11 
23:10:09.000000000 +0200
+++ gdm-3.26.0/daemon/gdm-local-display-factory.c       2017-09-18 
14:26:43.229623628 +0200
@@ -450,7 +450,7 @@
 #ifdef ENABLE_WAYLAND_SUPPORT
                         gboolean wayland_enabled = FALSE;
                         if (gdm_settings_direct_get_boolean 
(GDM_KEY_WAYLAND_ENABLE, &wayland_enabled)) {
-                                if (wayland_enabled) {
+                                if (wayland_enabled && g_file_test 
("/usr/bin/Xwayland", G_FILE_TEST_IS_EXECUTABLE) ) {
                                         session_type = "wayland";
                                 }
                         }

Reply via email to