Hello community,

here is the log from the commit of package accountsservice for openSUSE:Factory 
checked in at 2018-07-18 22:36:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/accountsservice (Old)
 and      /work/SRC/openSUSE:Factory/.accountsservice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "accountsservice"

Wed Jul 18 22:36:41 2018 rev:59 rq:623621 version:0.6.49

Changes:
--------
--- /work/SRC/openSUSE:Factory/accountsservice/accountsservice.changes  
2018-06-19 11:54:04.687385415 +0200
+++ /work/SRC/openSUSE:Factory/.accountsservice.new/accountsservice.changes     
2018-07-18 22:36:44.550381133 +0200
@@ -1,0 +2,12 @@
+Tue Jul 17 01:41:41 UTC 2018 - [email protected]
+
+- Add 
accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
+  When user session type is wayland, act_user_is_logged_in can
+  return TRUE if the user is logged in (boo#1095918 fdo#106855).
+
+-------------------------------------------------------------------
+Wed Jul 11 07:33:21 UTC 2018 - [email protected]
+
+- Make build verbose to see full command lines.
+
+-------------------------------------------------------------------

New:
----
  accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch

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

Other differences:
------------------
++++++ accountsservice.spec ++++++
--- /var/tmp/diff_new_pack.BSYNQK/_old  2018-07-18 22:36:45.178379053 +0200
+++ /var/tmp/diff_new_pack.BSYNQK/_new  2018-07-18 22:36:45.178379053 +0200
@@ -32,6 +32,8 @@
 Patch1:         accountsservice-filter-suse-accounts.patch
 # PATCH-FIX-UPSTREAM accountsservice-missing-users-on-gdm-login.patch 
boo#1090003 fdo#106904 [email protected] -- Don't abort loading users when an 
/etc/shadow entry found missing
 Patch2:         accountsservice-missing-users-on-gdm-login.patch
+# PATCH-FIX-UPSTREAM 
accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch 
boo#1095918 fdo#106855 [email protected] -- Treat session type wayland as 
graphical mode
+Patch3:         
accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
 ## SLE-only patches start at 1000
 # PATCH-FEATURE-SLE as-fate318433-prevent-same-account-multi-logins.patch 
fate#318433 [email protected] -- prevent multiple simultaneous login.
 Patch1000:      as-fate318433-prevent-same-account-multi-logins.patch
@@ -101,6 +103,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 # Sle-only patches start at 1000
 %if !0%{?is_opensuse}
 %patch1000 -p1
@@ -112,7 +115,7 @@
 %configure \
         --disable-static \
         --enable-user-heuristics
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 %make_install

++++++ 
accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch ++++++
>From edcc26e5ae5fc09fad2d8e9afda0fea97c395d49 Mon Sep 17 00:00:00 2001
From: xiaoguang wang <[email protected]>
Date: Fri, 8 Jun 2018 14:32:00 +0800
Subject: [PATCH] lib: treat session type=wayland as graphical session

When user session type is wayland, act_user_is_logged_in can return TRUE
if user is logged in.

https://bugs.freedesktop.org/show_bug.cgi?id=106855
---
 src/libaccountsservice/act-user-manager.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libaccountsservice/act-user-manager.c 
b/src/libaccountsservice/act-user-manager.c
index ade309c..325421b 100644
--- a/src/libaccountsservice/act-user-manager.c
+++ b/src/libaccountsservice/act-user-manager.c
@@ -1543,7 +1543,8 @@ _get_x11_display_for_new_systemd_session 
(ActUserManagerNewSession *new_session)
                 return;
         }
 
-        if (g_strcmp0 (session_type, "x11") != 0) {
+        if (g_strcmp0 (session_type, "x11") != 0 &&
+            g_strcmp0 (session_type, "wayland") != 0) {
                 g_debug ("ActUserManager: (mostly) ignoring %s session '%s' 
since it's not graphical",
                          session_type,
                          new_session->id);
-- 
2.16.4


Reply via email to