commit sddm for openSUSE:Factory

2020-11-05 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2020-11-05 21:54:22

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.11331 (New)


Package is "sddm"

Thu Nov  5 21:54:22 2020 rev:52 rq:845755 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2020-10-11 
20:15:09.944379218 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.11331/sddm.changes 2020-11-05 
21:55:02.948166748 +0100
@@ -1,0 +2,21 @@
+Tue Nov  3 14:15:55 UTC 2020 - Franck Bui 
+
+- Replace  '%service_del_postun -n' with '%service_del_postun_without_restart'
+
+  '-n' is deprecated and will be removed in the future.
+
+---
+Tue Nov  3 11:03:07 UTC 2020 - Fabian Vogt 
+
+- Patches to fix X not having access control on startup
+  (boo#1177201, CVE-2020-28049):
+ * Add 0001-Don-t-disable-authentication-in-test-mode.patch
+ * Modify 0001-Redesign-Xauth-handling.patch
+
+---
+Sat Oct 24 12:16:43 UTC 2020 - Fabian Vogt 
+
+- Add patch to set XAUTHLOCALHOSTNAME again (boo#1177835):
+  * 0001-Set-XAUTHLOCALHOSTNAME-in-sessions.patch
+
+---

New:

  0001-Don-t-disable-authentication-in-test-mode.patch
  0001-Set-XAUTHLOCALHOSTNAME-in-sessions.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.vwGMsN/_old  2020-11-05 21:55:04.292163726 +0100
+++ /var/tmp/diff_new_pack.vwGMsN/_new  2020-11-05 21:55:04.296163717 +0100
@@ -35,6 +35,8 @@
 Patch1: 0001-FreeBSD-Link-to-libutil.patch
 Patch2: 0001-FreeBSD-Split-implementation-of-VT-switching.patch
 Patch3: 0002-Only-allocate-VTs-for-seat0.patch
+# Committed directly
+Patch4: 0001-Don-t-disable-authentication-in-test-mode.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017
@@ -51,6 +53,7 @@
 # Use openSUSE pam config
 Patch100:   proper_pam.diff
 Patch101:   0001-Write-the-daemon-s-PID-to-a-file-on-startup.patch
+Patch102:   0001-Set-XAUTHLOCALHOSTNAME-in-sessions.patch
 Patch103:   0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
 # sddm has some rudimentary support for plymouth handling, which only works 
with plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
@@ -219,7 +222,7 @@
 
 %postun
 # Don't restart on upgrades (boo#1161826)
-%service_del_postun -n sddm.service
+%service_del_postun_without_restart sddm.service
 [ -f %{_prefix}/lib/X11/displaymanagers/sddm ] || 
%{_sbindir}/update-alternatives \
   --remove default-displaymanager %{_prefix}/lib/X11/displaymanagers/sddm
 

++ 0001-Don-t-disable-authentication-in-test-mode.patch ++
>From ba1a742322378eed325cfd78e089102eabceb6d0 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Fri, 9 Oct 2020 20:53:34 +0200
Subject: [PATCH] Don't disable authentication in --test-mode

For some reason Xephyr was started with the "-ac" option, although handling
of the auth file is completely functional.

(cherry picked from commit bb8e817493020113e1b0f3207f7bbcd1593e9c9e)
---
 src/daemon/XorgDisplayServer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
index 28ce524..80b2227 100644
--- a/src/daemon/XorgDisplayServer.cpp
+++ b/src/daemon/XorgDisplayServer.cpp
@@ -128,7 +128,7 @@ namespace SDDM {
 
 if (daemonApp->testing()) {
 QStringList args;
-args << m_display << QStringLiteral("-ac") << 
QStringLiteral("-br") << QStringLiteral("-noreset") << 
QStringLiteral("-screen") << QStringLiteral("800x600");
+args << m_display << QStringLiteral("-auth") << m_authPath << 
QStringLiteral("-br") << QStringLiteral("-noreset") << 
QStringLiteral("-screen") << QStringLiteral("800x600");
 process->start(mainConfig.X11.XephyrPath.get(), args);
 
 
-- 
2.25.1

++ 0001-Redesign-Xauth-handling.patch ++
--- /var/tmp/diff_new_pack.vwGMsN/_old  2020-11-05 21:55:04.360163573 +0100
+++ /var/tmp/diff_new_pack.vwGMsN/_new  2020-11-05 21:55:04.360163573 +0100
@@ -1,4 +1,4 @@
-From 7236fb5d21df6c1fc74b06bcd7f938934ae3cfd4 Mon Sep 17 00:00:00 2001
+From 862f8cc0fff51b95f00778ea52b3c66342bc6241 Mon Sep 17 00:00:00 2001
 From: Fabian Vogt 
 Date: Wed, 21 Aug 2019 16:32:03 +0200
 Subject: [PATCH] Redesign Xauth handling
@@ -24,7 +24,7 @@
  src/common/XauthUtils.cpp   

commit sddm for openSUSE:Factory

2020-10-11 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2020-10-11 20:14:58

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.4249 (New)


Package is "sddm"

Sun Oct 11 20:14:58 2020 rev:51 rq:840326 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2020-07-10 
14:12:46.879509730 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.4249/sddm.changes  2020-10-11 
20:15:09.944379218 +0200
@@ -1,0 +2,5 @@
+Sat Oct  3 11:09:12 UTC 2020 - Callum Farmer 
+
+- Change paths from /etc to /usr/etc for UsrEtc Move (boo#1177195)
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.IDoyeg/_old  2020-10-11 20:15:11.052379911 +0200
+++ /var/tmp/diff_new_pack.IDoyeg/_new  2020-10-11 20:15:11.056379913 +0200
@@ -168,6 +168,10 @@
   install -Dm 0644 %{SOURCE3} 
%{buildroot}%{_prefix}/lib/sddm/sddm.conf.d/10-theme.conf
   install -Dm 0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/sddm.conf
 
+  %if ! %{defined _distconfdir}
+  sed -e 's-/usr/etc-%{_sysconfdir}-g' -i 
%{buildroot}%{_prefix}/lib/sddm/sddm.conf.d/00-general.conf
+  %endif
+
   mkdir -p %{buildroot}%{_sysconfdir}/alternatives
   touch %{buildroot}%{_sysconfdir}/alternatives/default-displaymanager
   ln -s %{_sysconfdir}/alternatives/default-displaymanager 
%{buildroot}%{_prefix}/lib/X11/displaymanagers/default-displaymanager

++ 00-general.conf ++
--- /var/tmp/diff_new_pack.IDoyeg/_old  2020-10-11 20:15:11.084379931 +0200
+++ /var/tmp/diff_new_pack.IDoyeg/_new  2020-10-11 20:15:11.084379931 +0200
@@ -1,7 +1,7 @@
 [XDisplay]
 ServerPath=/usr/bin/X
-SessionCommand=/etc/X11/xdm/Xsession
-DisplayCommand=/etc/X11/xdm/Xsetup
+SessionCommand=/usr/etc/X11/xdm/Xsession
+DisplayCommand=/usr/etc/X11/xdm/Xsetup
 MinimumVT=7
 # boo#1089932
 EnableHiDPI=true




commit sddm for openSUSE:Factory

2020-07-10 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2020-07-10 14:12:33

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.3060 (New)


Package is "sddm"

Fri Jul 10 14:12:33 2020 rev:50 rq:819685 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2020-06-11 
14:43:53.189239959 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.3060/sddm.changes  2020-07-10 
14:12:46.879509730 +0200
@@ -1,0 +2,21 @@
+Tue Jul  7 09:52:20 UTC 2020 - Callum Farmer 
+
+- Fixes for %_libexecdir changing to /usr/libexec
+
+---
+Sat Jul  4 12:29:26 UTC 2020 - Fabian Vogt 
+
+- Use pending upstream solution for hostname changes:
+  * Add 0001-Redesign-Xauth-handling.patch
+  * Drop sddm-relaxed-auth.patch
+  * A known issue with the redesigned Xauth handling is that it
+leaks the tiny xauth file in XDG_RUNTIME_DIR on session end.
+It's on a temporary tmpfs mount though and so shouldn't cause
+any visible issues.
+- Add patches to fix FD leak:
+  * 0001-FreeBSD-Link-to-libutil.patch
+  * 0001-FreeBSD-Split-implementation-of-VT-switching.patch
+  * 0002-Only-allocate-VTs-for-seat0.patch
+  * 0003-Move-VT-setup-to-sddm-helper.patch
+
+---

Old:

  sddm-relaxed-auth.patch

New:

  0001-FreeBSD-Link-to-libutil.patch
  0001-FreeBSD-Split-implementation-of-VT-switching.patch
  0001-Redesign-Xauth-handling.patch
  0002-Only-allocate-VTs-for-seat0.patch
  0003-Move-VT-setup-to-sddm-helper.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.B3yXEq/_old  2020-07-10 14:12:47.703512437 +0200
+++ /var/tmp/diff_new_pack.B3yXEq/_new  2020-07-10 14:12:47.703512437 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sddm
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,9 +20,9 @@
 Version:0.18.1
 Release:0
 Summary:QML-based display manager
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/GUI/KDE
-Url:https://github.com/sddm/sddm
+URL:https://github.com/sddm/sddm
 Source: 
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
 Source1:X11-displaymanagers-%{name}
 Source2:00-general.conf
@@ -31,6 +31,10 @@
 # Patch0-100: PATCH-FIX-UPSTREAM
 # Merged: https://github.com/sddm/sddm/pull/1062
 Patch0: 0001-Session-reuse-Only-consider-online-sessions.patch
+# Needed by some of the later patches
+Patch1: 0001-FreeBSD-Link-to-libutil.patch
+Patch2: 0001-FreeBSD-Split-implementation-of-VT-switching.patch
+Patch3: 0002-Only-allocate-VTs-for-seat0.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017
@@ -39,13 +43,14 @@
 Patch52:0001-Revert-Adds-sourcing-of-etc-profile-to-fish.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1117
 Patch53:0001-Destroy-the-QLocalServer-in-Auth-on-shutdown.patch
+# Not merged yet: https://github.com/sddm/sddm/pull/1230
+Patch55:0001-Redesign-Xauth-handling.patch
+# Not merged yet: https://github.com/sddm/sddm/pull/1273
+Patch56:0003-Move-VT-setup-to-sddm-helper.patch
 # Patch100-?: PATCH-FIX-OPENSUSE
 # Use openSUSE pam config
 Patch100:   proper_pam.diff
 Patch101:   0001-Write-the-daemon-s-PID-to-a-file-on-startup.patch
-# Insert XAUTHLOCALHOSTNAME into users enviroment, so the session handles 
hostname changes with a single X instance/run
-# related patches: libxcb/bug-262309_xcb-xauthlocalhostname.diff, 
xauth/xauth-tolerant-hostname-changes.diff, 
kdebase4-workspace/kdm-relaxed-auth.diff
-Patch102:   sddm-relaxed-auth.patch
 Patch103:   0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
 # sddm has some rudimentary support for plymouth handling, which only works 
with plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
@@ -95,8 +100,8 @@
 %package branding-openSUSE
 Summary:openSUSE branding for SDDM, a QML-based display manager
 Group:  System/GUI/KDE
-Requires:   sddm-theme-openSUSE
 Requires:   %{name} = %{version}
+Requires:   sddm-theme-openSUSE
 Requires(post): %{name}
 Requires(post): 

commit sddm for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2020-06-11 14:43:13

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.3606 (New)


Package is "sddm"

Thu Jun 11 14:43:13 2020 rev:49 rq:813173 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2020-04-25 
20:17:49.884723864 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.3606/sddm.changes  2020-06-11 
14:43:53.189239959 +0200
@@ -22,0 +23,5 @@
+Sat Jan 25 23:13:48 UTC 2020 - Fabian Vogt 
+
+- Do not restart sddm on upgrades (boo#1161826)
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.tbcnoS/_old  2020-06-11 14:43:54.801244655 +0200
+++ /var/tmp/diff_new_pack.tbcnoS/_new  2020-06-11 14:43:54.801244655 +0200
@@ -209,7 +209,8 @@
 %service_del_preun sddm.service
 
 %postun
-%service_del_postun sddm.service
+# Don't restart on upgrades (boo#1161826)
+%service_del_postun -n sddm.service
 [ -f %{_libexecdir}/X11/displaymanagers/sddm ] || 
%{_sbindir}/update-alternatives \
   --remove default-displaymanager %{_libexecdir}/X11/displaymanagers/sddm
 




commit sddm for openSUSE:Factory

2020-04-25 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2020-04-25 20:15:54

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.2738 (New)


Package is "sddm"

Sat Apr 25 20:15:54 2020 rev:48 rq:796293 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2020-03-11 
18:44:38.407351254 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new.2738/sddm.changes  2020-04-25 
20:17:49.884723864 +0200
@@ -1,0 +2,7 @@
+Mon Apr 20 15:00:06 UTC 2020 - Callum Farmer 
+
+- Update to version 0.18.1
+  + Fix crashes when creating a user session
+  + 0001-Use-C-scoping-for-handling-buffer-deletion.patch no longer required
+
+---

Old:

  0001-Use-C-scoping-for-handling-buffer-deletion.patch
  sddm-0.18.0.tar.gz

New:

  sddm-0.18.1.tar.xz



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.NIzIEF/_old  2020-04-25 20:17:51.300726784 +0200
+++ /var/tmp/diff_new_pack.NIzIEF/_new  2020-04-25 20:17:51.304726792 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   sddm
-Version:0.18.0
+Version:0.18.1
 Release:0
 Summary:QML-based display manager
 License:GPL-2.0+
 Group:  System/GUI/KDE
 Url:https://github.com/sddm/sddm
-Source: 
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
+Source: 
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
 Source1:X11-displaymanagers-%{name}
 Source2:00-general.conf
 Source3:10-theme.conf
@@ -31,8 +31,6 @@
 # Patch0-100: PATCH-FIX-UPSTREAM
 # Merged: https://github.com/sddm/sddm/pull/1062
 Patch0: 0001-Session-reuse-Only-consider-online-sessions.patch
-# No PR, committed directly
-Patch1: 0001-Use-C-scoping-for-handling-buffer-deletion.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017




commit sddm for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2020-03-11 18:42:17

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.3160 (New)


Package is "sddm"

Wed Mar 11 18:42:17 2020 rev:47 rq:783801 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2019-10-22 
15:38:32.417244504 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.3160/sddm.changes  2020-03-11 
18:44:38.407351254 +0100
@@ -1,0 +2,14 @@
+Wed Mar 11 11:55:20 UTC 2020 - Fabian Vogt 
+
+- Don't add sddm to the video group, it's not necessary (see later
+  comments on boo#1165987)
+
+---
+Fri Mar  6 10:33:37 UTC 2020 - Dr. Werner Fink 
+
+- Add user sddm to group video to allow e.g. to use devices for
+  Nvidia X server (boo#1165987)
+- Add (pre)requires for systemd macros, video group, the getent
+  (currently in glibc), and the groupadd (currently in shadow)
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.hqugG4/_old  2020-03-11 18:44:40.551352569 +0100
+++ /var/tmp/diff_new_pack.hqugG4/_new  2020-03-11 18:44:40.551352569 +0100
@@ -73,7 +73,11 @@
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(xcb-xkb)
+%systemd_requires
 Requires(post): diffutils
+Requires(pre):  %{_bindir}/getent
+Requires(pre):  %{_sbindir}/groupadd
+Requires(pre):  %{_sbindir}/useradd
 Requires:   sddm-branding = %{version}
 Requires:   xdm
 # Merged the -lang package back into the main package




commit sddm for openSUSE:Factory

2019-10-22 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2019-10-22 15:38:31

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.2352 (New)


Package is "sddm"

Tue Oct 22 15:38:31 2019 rev:46 rq:738464 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2019-08-24 
18:41:40.389784655 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.2352/sddm.changes  2019-10-22 
15:38:32.417244504 +0200
@@ -1,0 +2,6 @@
+Mon Oct 14 15:58:24 UTC 2019 - Stefan Brüns 
+
+- Pickup UID_MIN/UID_MAX default values from the new %_distconfdir
+  (/usr/etc/) default location for login.defs
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.k4liJW/_old  2019-10-22 15:38:33.937246236 +0200
+++ /var/tmp/diff_new_pack.k4liJW/_new  2019-10-22 15:38:33.937246236 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sddm
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -127,6 +127,11 @@
 %autosetup -p1
 
 %build
+LOGIN_DEFS_PATH="%{_sysconfdir}/login.defs"
+if test \( -n "%{?_distconfdir}" -a -e "%{_distconfdir}/login.defs" \); then
+  LOGIN_DEFS_PATH="%{_distconfdir}/login.defs"
+fi
+
 %cmake \
   -DCMAKE_BUILD_TYPE=Release \
   -DMINIMUM_VT=7 \
@@ -136,7 +141,8 @@
   -DBUILD_MAN_PAGES=ON \
   -DSTATE_DIR="%{_localstatedir}/lib/sddm" \
   -DRUNTIME_DIR="/run/sddm" \
-  -DPID_FILE="/run/sddm.pid"
+  -DPID_FILE="/run/sddm.pid" \
+  -DLOGIN_DEFS_PATH:path="${LOGIN_DEFS_PATH}"
   %make_jobs
 
 %install




commit sddm for openSUSE:Factory

2019-08-24 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2019-08-24 18:41:38

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.7948 (New)


Package is "sddm"

Sat Aug 24 18:41:38 2019 rev:45 rq:724941 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2019-02-24 
18:02:25.247794621 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new.7948/sddm.changes  2019-08-24 
18:41:40.389784655 +0200
@@ -1,0 +2,5 @@
+Mon Aug 19 16:29:26 UTC 2019 - Fabian Vogt 
+
+- Add pam_keyinit to proper_pam.diff (boo#1081947)
+
+---



Other differences:
--
++ proper_pam.diff ++
--- /var/tmp/diff_new_pack.kiYxaD/_old  2019-08-24 18:41:41.053784591 +0200
+++ /var/tmp/diff_new_pack.kiYxaD/_new  2019-08-24 18:41:41.053784591 +0200
@@ -2,7 +2,7 @@
 ===
 --- sddm-0.18.0.orig/services/sddm-autologin.pam
 +++ sddm-0.18.0/services/sddm-autologin.pam
-@@ -1,13 +1,6 @@
+@@ -1,13 +1,7 @@
  #%PAM-1.0
 -authrequiredpam_env.so
 -authrequiredpam_tally.so file=/var/log/faillog onerr=succeed
@@ -21,11 +21,12 @@
 +password includecommon-password
 +session  required   pam_loginuid.so
 +session  includecommon-session
++session  optional   pam_keyinit.so revoke force
 Index: sddm-0.18.0/services/sddm.pam
 ===
 --- sddm-0.18.0.orig/services/sddm.pam
 +++ sddm-0.18.0/services/sddm.pam
-@@ -1,15 +1,6 @@
+@@ -1,15 +1,7 @@
  #%PAM-1.0
 -
 -auth  include system-login
@@ -46,11 +47,12 @@
 +password includecommon-password
 +session  required   pam_loginuid.so
 +session  includecommon-session
++session  optional   pam_keyinit.so revoke force
 Index: sddm-0.18.0/services/sddm-greeter.pam.in
 ===
 --- sddm-0.18.0.orig/services/sddm-greeter.pam.in
 +++ sddm-0.18.0/services/sddm-greeter.pam.in
-@@ -1,17 +1,7 @@
+@@ -1,17 +1,8 @@
  #%PAM-1.0
 -
 -# Load environment from /etc/environment and ~/.pam_environment
@@ -74,3 +76,4 @@
 +password includecommon-password
 +session  required   pam_loginuid.so
 +session  includecommon-session
++session  optional   pam_keyinit.so revoke




commit sddm for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2019-02-24 18:02:17

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.28833 (New)


Package is "sddm"

Sun Feb 24 18:02:17 2019 rev:44 rq:676938 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2019-02-11 
21:18:52.875289558 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new.28833/sddm.changes 2019-02-24 
18:02:25.247794621 +0100
@@ -1,0 +2,6 @@
+Mon Feb 18 08:00:42 UTC 2019 - Fabian Vogt 
+
+- Add patch to fix reading garbage from getpwnam (boo#1125624):
+  * 0001-Use-C-scoping-for-handling-buffer-deletion.patch
+
+---

New:

  0001-Use-C-scoping-for-handling-buffer-deletion.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.vilvgx/_old  2019-02-24 18:02:25.987794369 +0100
+++ /var/tmp/diff_new_pack.vilvgx/_new  2019-02-24 18:02:25.991794368 +0100
@@ -31,6 +31,8 @@
 # Patch0-100: PATCH-FIX-UPSTREAM
 # Merged: https://github.com/sddm/sddm/pull/1062
 Patch0: 0001-Session-reuse-Only-consider-online-sessions.patch
+# No PR, committed directly
+Patch1: 0001-Use-C-scoping-for-handling-buffer-deletion.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017

++ 0001-Use-C-scoping-for-handling-buffer-deletion.patch ++
>From 047ef56e5cfa757ebfcb03a248edad579564b5f3 Mon Sep 17 00:00:00 2001
From: David Edmundson 
Date: Thu, 7 Feb 2019 13:35:41 +
Subject: [PATCH] Use C++ scoping for handling buffer deletion

---
 src/helper/UserSession.cpp | 17 +
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/src/helper/UserSession.cpp b/src/helper/UserSession.cpp
index d4fd2cf..b3aec35 100644
--- a/src/helper/UserSession.cpp
+++ b/src/helper/UserSession.cpp
@@ -135,21 +135,19 @@ namespace SDDM {
 long bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);
 if (bufsize == -1)
 bufsize = 16384;
-char *buffer = (char *)malloc(bufsize);
-if (buffer == NULL)
+QScopedPointer 
buffer(static_cast(malloc(bufsize)));
+if (buffer.isNull())
 exit(Auth::HELPER_OTHER_ERROR);
-int err = getpwnam_r(username.constData(), , buffer, bufsize, );
+int err = getpwnam_r(username.constData(), , buffer.data(), 
bufsize, );
 if (rpw == NULL) {
 if (err == 0)
 qCritical() << "getpwnam_r(" << username << ") username not 
found!";
 else
 qCritical() << "getpwnam_r(" << username << ") failed with 
error: " << strerror(err);
-free(buffer);
 exit(Auth::HELPER_OTHER_ERROR);
 }
 if (setgid(pw.pw_gid) != 0) {
 qCritical() << "setgid(" << pw.pw_gid << ") failed for user: " << 
username;
-free(buffer);
 exit(Auth::HELPER_OTHER_ERROR);
 }
 
@@ -181,7 +179,6 @@ namespace SDDM {
   _user_groups)) == -1 ) {
 qCritical() << "getgrouplist(" << username << ", " << pw.pw_gid
 << ") failed";
-free(buffer);
 exit(Auth::HELPER_OTHER_ERROR);
 }
 }
@@ -198,7 +195,6 @@ namespace SDDM {
 // setgroups(2) handles duplicate groups
 if (setgroups(n_groups, groups) != 0) {
 qCritical() << "setgroups() failed for user: " << username;
-free(buffer);
 exit (Auth::HELPER_OTHER_ERROR);
 }
 delete[] groups;
@@ -210,7 +206,6 @@ namespace SDDM {
 
 if (initgroups(pw.pw_name, pw.pw_gid) != 0) {
 qCritical() << "initgroups(" << pw.pw_name << ", " << pw.pw_gid << 
") failed for user: " << username;
-free(buffer);
 exit(Auth::HELPER_OTHER_ERROR);
 }
 
@@ -218,23 +213,21 @@ namespace SDDM {
 
 if (setuid(pw.pw_uid) != 0) {
 qCritical() << "setuid(" << pw.pw_uid << ") failed for user: " << 
username;
-free(buffer);
 exit(Auth::HELPER_OTHER_ERROR);
 }
 if (chdir(pw.pw_dir) != 0) {
 qCritical() << "chdir(" << pw.pw_dir << ") failed for user: " << 
username;
 qCritical() << "verify directory exist and has sufficient 
permissions";
-free(buffer);
 exit(Auth::HELPER_OTHER_ERROR);
 }
-free(buffer);
+const QString homeDir = QString::fromLocal8Bit(pw.pw_dir);
 
 //we cannot use 

commit sddm for openSUSE:Factory

2019-02-11 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2019-02-11 21:18:49

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.28833 (New)


Package is "sddm"

Mon Feb 11 21:18:49 2019 rev:43 rq:671973 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2019-01-10 
15:20:00.578536785 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new.28833/sddm.changes 2019-02-11 
21:18:52.875289558 +0100
@@ -118 +118 @@
-- Backport fix for pam_group from develop branch:
+- Backport fix for pam_group from develop branch (boo#1105342):



Other differences:
--



commit sddm for openSUSE:Factory

2019-01-10 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2019-01-10 15:19:58

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new.28833 (New)


Package is "sddm"

Thu Jan 10 15:19:58 2019 rev:42 rq:664016 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-10-01 
08:13:48.718106849 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.28833/sddm.changes 2019-01-10 
15:20:00.578536785 +0100
@@ -1,0 +2,31 @@
+Wed Jan  9 02:11:20 UTC 2019 - Jan Engelhardt 
+
+- Do not ignore errors from useradd.
+
+---
+Sun Jan  6 11:57:50 UTC 2019 - Fabian Vogt 
+
+- Add the dirs created by systemd-tmpfiles as %ghost as well
+- Use service macros and create rcsddm link for sddm.service
+
+---
+Fri Jan  4 13:00:23 UTC 2019 - Fabian Vogt 
+
+- Add patch to delete socket on shutdown:
+  * 0001-Destroy-the-QLocalServer-in-Auth-on-shutdown.patch
+- Move creation of runtime directories and cleanup of files on boot
+  into sddm-tmpfiles.conf (boo#1116431)
+
+---
+Wed Oct  3 17:21:43 UTC 2018 - fab...@ritter-vogt.de
+
+- Remove 0001-Don-t-leak-VT-FDs-in-jumpToVt.patch as the FD leak
+  worked around a race condition as a side effect
+
+---
+Tue Oct  2 19:18:53 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to not leak tty FDs for wayland sessions:
+  * 0001-Don-t-leak-VT-FDs-in-jumpToVt.patch
+
+---

New:

  0001-Destroy-the-QLocalServer-in-Auth-on-shutdown.patch
  sddm-tmpfiles.conf



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.eS8axH/_old  2019-01-10 15:20:02.098535334 +0100
+++ /var/tmp/diff_new_pack.eS8axH/_new  2019-01-10 15:20:02.098535334 +0100
@@ -27,6 +27,7 @@
 Source1:X11-displaymanagers-%{name}
 Source2:00-general.conf
 Source3:10-theme.conf
+Source4:sddm-tmpfiles.conf
 # Patch0-100: PATCH-FIX-UPSTREAM
 # Merged: https://github.com/sddm/sddm/pull/1062
 Patch0: 0001-Session-reuse-Only-consider-online-sessions.patch
@@ -36,6 +37,8 @@
 Patch51:0006-Don-t-fill-UserModel-if-theme-does-not-require-it.patch
 # Open issue: https://github.com/sddm/sddm/issues/1059
 Patch52:0001-Revert-Adds-sourcing-of-etc-profile-to-fish.patch
+# Not merged yet: https://github.com/sddm/sddm/pull/1117
+Patch53:0001-Destroy-the-QLocalServer-in-Auth-on-shutdown.patch
 # Patch100-?: PATCH-FIX-OPENSUSE
 # Use openSUSE pam config
 Patch100:   proper_pam.diff
@@ -119,14 +122,13 @@
 This package provides upstream branding for SDDM.
 
 %prep
-%setup -q
-%autopatch -p1
+%autosetup -p1
 
 %build
 %cmake \
   -DCMAKE_BUILD_TYPE=Release \
   -DMINIMUM_VT=7 \
-  -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir}/%{name} \
+  -DCMAKE_INSTALL_LIBEXECDIR="%{_libexecdir}/%{name}" \
   -DIMPORTS_INSTALL_DIR="%{_libdir}/qt5/qml" \
   -DSESSION_COMMAND="%{_sysconfdir}/X11/xdm/Xsession" \
   -DBUILD_MAN_PAGES=ON \
@@ -149,6 +151,7 @@
   install -Dm 0644 %{SOURCE1} 
%{buildroot}%{_libexecdir}/X11/displaymanagers/%{name}
   install -Dm 0644 %{SOURCE2} 
%{buildroot}%{_prefix}/lib/sddm/sddm.conf.d/00-general.conf
   install -Dm 0644 %{SOURCE3} 
%{buildroot}%{_prefix}/lib/sddm/sddm.conf.d/10-theme.conf
+  install -Dm 0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/sddm.conf
 
   mkdir -p %{buildroot}%{_sysconfdir}/alternatives
   touch %{buildroot}%{_sysconfdir}/alternatives/default-displaymanager
@@ -158,14 +161,20 @@
   install -d %{buildroot}%{_localstatedir}/lib/sddm
   install -d %{buildroot}%{_sysconfdir}/sddm.conf.d
 
-  %fdupes -s %{buildroot}%{_datadir}/sddm
+  install -d %{buildroot}%{_sbindir}
+  ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcsddm
+
+  %fdupes %{buildroot}%{_datadir}/sddm
 
 %pre
-%{_sbindir}/groupadd -r sddm 2> /dev/null || :
-%{_sbindir}/useradd -r -g sddm -s /bin/false -c "SDDM daemon" \
--d %{_localstatedir}/lib/sddm sddm 2> /dev/null || :
+%service_add_pre sddm.service
+getent group sddm >/dev/null || %{_sbindir}/groupadd -r sddm
+getent passwd sddm >/dev/null || %{_sbindir}/useradd -r -g sddm -s /bin/false \
+   -c "SDDM daemon" -d %{_localstatedir}/lib/sddm sddm
 
 %post
+%service_add_post sddm.service
+%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/sddm.conf
 if [ $1 -eq 2 -a -f %{_sysconfdir}/sddm.conf ]; then
 # Avoid changing sddm.conf's timestamp if no modifications done
 tempconf="$(mktemp)"
@@ -186,7 +195,11 @@
 

commit sddm for openSUSE:Factory

2018-10-01 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-10-01 08:13:38

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Mon Oct  1 08:13:38 2018 rev:41 rq:638834 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-08-03 
12:30:37.334977332 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-10-01 
08:13:48.718106849 +0200
@@ -1,0 +2,13 @@
+Thu Sep 27 17:58:38 UTC 2018 - fab...@ritter-vogt.de
+
+- Fix wayland session start if fish is used as shell:
+  * 0001-Revert-Adds-sourcing-of-etc-profile-to-fish.patch
+
+---
+Sun Sep 23 10:54:12 UTC 2018 - fab...@ritter-vogt.de
+
+- Rewrite sddm-relaxed-auth.diff as sddm-relaxed-auth.patch:
+  * Set XAUTHLOCALHOSTNAME only where necessary
+  * Also set it for the Greeter session (boo#1091784)
+
+---

Old:

  sddm-relaxed-auth.diff

New:

  0001-Revert-Adds-sourcing-of-etc-profile-to-fish.patch
  sddm-relaxed-auth.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.jZu5Db/_old  2018-10-01 08:13:49.250106506 +0200
+++ /var/tmp/diff_new_pack.jZu5Db/_new  2018-10-01 08:13:49.254106503 +0200
@@ -34,13 +34,15 @@
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017
 Patch51:0006-Don-t-fill-UserModel-if-theme-does-not-require-it.patch
+# Open issue: https://github.com/sddm/sddm/issues/1059
+Patch52:0001-Revert-Adds-sourcing-of-etc-profile-to-fish.patch
 # Patch100-?: PATCH-FIX-OPENSUSE
 # Use openSUSE pam config
 Patch100:   proper_pam.diff
 Patch101:   0001-Write-the-daemon-s-PID-to-a-file-on-startup.patch
 # Insert XAUTHLOCALHOSTNAME into users enviroment, so the session handles 
hostname changes with a single X instance/run
 # related patches: libxcb/bug-262309_xcb-xauthlocalhostname.diff, 
xauth/xauth-tolerant-hostname-changes.diff, 
kdebase4-workspace/kdm-relaxed-auth.diff
-Patch102:   sddm-relaxed-auth.diff
+Patch102:   sddm-relaxed-auth.patch
 Patch103:   0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
 # sddm has some rudimentary support for plymouth handling, which only works 
with plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case

++ 0001-Revert-Adds-sourcing-of-etc-profile-to-fish.patch ++
>From 35a1af25f7b58e96fb19accb4b3c376a9b362571 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Thu, 27 Sep 2018 19:53:55 +0200
Subject: [PATCH] Revert "Adds sourcing of /etc/profile to fish"

This reverts commit f749f1d65165de7ce7b9ae073b19f057b205ab35.

See https://github.com/sddm/sddm/issues/1059
---
 data/scripts/Xsession| 1 -
 data/scripts/wayland-session | 1 -
 2 files changed, 2 deletions(-)

diff --git a/data/scripts/Xsession b/data/scripts/Xsession
index c7fa214..2a0691e 100755
--- a/data/scripts/Xsession
+++ b/data/scripts/Xsession
@@ -39,7 +39,6 @@ case $SHELL in
 rm -f $xsess_tmp
 ;;
   */fish)
-[ -f /etc/profile ] && . /etc/profile
 xsess_tmp=`mktemp /tmp/xsess-env-XX`
 $SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
 . $xsess_tmp
diff --git a/data/scripts/wayland-session b/data/scripts/wayland-session
index 42be624..de4f519 100755
--- a/data/scripts/wayland-session
+++ b/data/scripts/wayland-session
@@ -39,7 +39,6 @@ case $SHELL in
 rm -f $wlsess_tmp
 ;;
   */fish)
-[ -f /etc/profile ] && . /etc/profile
 xsess_tmp=`mktemp /tmp/xsess-env-XX`
 $SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
 . $xsess_tmp
-- 
2.18.0

++ sddm-relaxed-auth.patch ++
From: Fabian Vogt 
Subject: Set XAUTHLOCALHOSTNAME to allow hostname changes

Our libxcb is patched to retry with $XAUTHLOCALHOSTNAME as hostname if the
Xauthority entry for the current hostname does not work.
There's a stale PR to do something similar (FamilyWild using libXau) upstream:
https://github.com/sddm/sddm/pull/863
FamilyWild is not a complete solution either, only when using a temporary
Xauthority file for each session separately.

Index: sddm-0.18.0/src/helper/Backend.cpp
===
--- sddm-0.18.0.orig/src/helper/Backend.cpp
+++ sddm-0.18.0/src/helper/Backend.cpp
@@ -27,6 +27,7 @@
 #include "UserSession.h"
 
 #include 
+#include 
 
 #include 
 
@@ -69,6 +70,7 @@ namespace SDDM {
 .arg(QString::fromLocal8Bit(pw->pw_dir))
 

commit sddm for openSUSE:Factory

2018-08-03 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-08-03 12:30:36

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Fri Aug  3 12:30:36 2018 rev:40 rq:626756 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-07-27 
12:02:19.836709364 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-08-03 
12:30:37.334977332 +0200
@@ -1,0 +2,7 @@
+Tue Jul 31 14:53:47 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to not switch to "undead" sessions (boo#1102832):
+  * 0001-Session-reuse-Only-consider-online-sessions.patch
+- Reenable ReuseSession=true again
+
+---

New:

  0001-Session-reuse-Only-consider-online-sessions.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.EvGKBU/_old  2018-08-03 12:30:37.978978279 +0200
+++ /var/tmp/diff_new_pack.EvGKBU/_new  2018-08-03 12:30:37.986978291 +0200
@@ -28,6 +28,8 @@
 Source2:00-general.conf
 Source3:10-theme.conf
 # Patch0-100: PATCH-FIX-UPSTREAM
+# Merged: https://github.com/sddm/sddm/pull/1062
+Patch0: 0001-Session-reuse-Only-consider-online-sessions.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017

++ 00-general.conf ++
--- /var/tmp/diff_new_pack.EvGKBU/_old  2018-08-03 12:30:38.022978344 +0200
+++ /var/tmp/diff_new_pack.EvGKBU/_new  2018-08-03 12:30:38.022978344 +0200
@@ -7,6 +7,5 @@
 EnableHiDPI=true
 
 [Users]
-# Deactivated due to boo#1102832 (result of kde#391253)
-## boo#979775
-# ReuseSession=true
+# boo#979775
+ReuseSession=true

++ 0001-Session-reuse-Only-consider-online-sessions.patch ++
>From f131270ff3ae6e6b4e2dc965cd05b46e194b48c1 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Tue, 31 Jul 2018 16:51:13 +0200
Subject: [PATCH] Session reuse: Only consider "online" sessions

Otherwise it might switch to already dead sessions ("closing" or "lingering").
---
 src/daemon/Display.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/daemon/Display.cpp b/src/daemon/Display.cpp
index 86e597e..ec442b0 100644
--- a/src/daemon/Display.cpp
+++ b/src/daemon/Display.cpp
@@ -290,8 +290,8 @@ namespace SDDM {
 foreach(const SessionInfo , reply.value()) {
 if (s.userName == user) {
 OrgFreedesktopLogin1SessionInterface 
session(Logind::serviceName(), s.sessionPath.path(), 
QDBusConnection::systemBus());
-if (session.service() == QLatin1String("sddm")) {
-m_reuseSessionId =  s.sessionId;
+if (session.service() == QLatin1String("sddm") && 
session.state() == QLatin1String("online")) {
+m_reuseSessionId = s.sessionId;
 break;
 }
 }
-- 
2.18.0




commit sddm for openSUSE:Factory

2018-07-27 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-07-27 12:02:18

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Fri Jul 27 12:02:18 2018 rev:39 rq:625743 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-07-25 
16:06:33.105141833 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-07-27 
12:02:19.836709364 +0200
@@ -1,0 +2,5 @@
+Fri Jul 27 09:59:51 UTC 2018 - fab...@ritter-vogt.de
+
+- Disable ReuseSession=true for now (boo#1102832, kde#391253)
+
+---



Other differences:
--
++ 00-general.conf ++
--- /var/tmp/diff_new_pack.LYDnCb/_old  2018-07-27 12:02:20.392710264 +0200
+++ /var/tmp/diff_new_pack.LYDnCb/_new  2018-07-27 12:02:20.392710264 +0200
@@ -7,5 +7,6 @@
 EnableHiDPI=true
 
 [Users]
-# boo#979775
-ReuseSession=true
+# Deactivated due to boo#1102832 (result of kde#391253)
+## boo#979775
+# ReuseSession=true




commit sddm for openSUSE:Factory

2018-07-25 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-07-25 16:06:19

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Wed Jul 25 16:06:19 2018 rev:38 rq:623643 version:0.18.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-07-12 
09:17:26.770274113 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-07-25 
16:06:33.105141833 +0200
@@ -1,0 +2,46 @@
+Wed Jul 18 11:16:05 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 0.18.0:
+  * Support theme supplied avatars
+  * Compile against Qt 5.11
+  * Fix platform detection for HighDPI
+  * On close, switch VT to a running session if applicable
+  * Better ConsoleKit support
+  * Fix authentication when reusing existing sessions
+  * Hide sessions with NoDisplay=true
+  * Honor PAM's ambient supplemental groups
+  * Cleanup socket destruction
+  * Don't quit on SIGHUP
+  * Updated translations
+- Set EnableHiDPI=true by default (boo#1089932)
+- Set ReuseSession=true by default (boo#979775)
+- Drop patches, now upstream:
+  * 0001-Don-t-add-session-files-with-NoDisplay-true-to-Sessi.patch
+  * 0001-Don-t-quit-on-SIGHUP.patch
+  * 0001-Fix-authentication-when-reusing-an-existing-session.patch
+  * 0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch
+  * 0001-Fix-build-with-Qt-5.11-1024.patch
+  * 0001-Fix-platform-detection-for-EnableHiDPI.patch
+  * 0001-Skip-theme-for-greeter-call-if-none-is-set.patch
+  * 0001-Support-for-theme-supplied-default-avatars.patch
+  * 0001-greeter-Use-Qt-command-line-parser.patch
+  * 0002-Remove-trailing-spaces.patch
+  * 0003-UserModel-optimize-filtering-out-duplicate-users-995.patch
+  * 0004-UserModel-fix-filtering-out-duplicate-users-998.patch
+  * 0005-UserModel-optimize-setting-of-default-user-icon-999.patch
+  * 0007-Honor-PAMs-ambient-supplemental-groups.patch
+- Refresh patches:
+  * proper_pam.diff
+  * 0001-Systemd-service-unit-Use-tty7-by-default.patch
+
+---
+Mon Jul 16 15:08:57 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to fix fallback to embedded theme:
+  * 0001-Skip-theme-for-greeter-call-if-none-is-set.patch
+- Use %license
+- Add patch to fix authentication when reusing an existing session
+  (boo#1101450, CVE-2018-14345):
+  * 0001-Fix-authentication-when-reusing-an-existing-session.patch
+
+---
@@ -5,0 +52,6 @@
+
+---
+Tue Jul  3 07:26:24 UTC 2018 - fab...@ritter-vogt.de
+
+- Remove patch as libxcb bug is fixed meanwhile (bsc#1099908):
+  * 0001-Move-Xauthority-to-a-different-location-and-truncate.patch

Old:

  0001-Don-t-add-session-files-with-NoDisplay-true-to-Sessi.patch
  0001-Don-t-quit-on-SIGHUP.patch
  0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch
  0001-Fix-build-with-Qt-5.11-1024.patch
  0001-Fix-platform-detection-for-EnableHiDPI.patch
  0001-Move-Xauthority-to-a-different-location-and-truncate.patch
  0001-Support-for-theme-supplied-default-avatars.patch
  0001-greeter-Use-Qt-command-line-parser.patch
  0002-Remove-trailing-spaces.patch
  0003-UserModel-optimize-filtering-out-duplicate-users-995.patch
  0004-UserModel-fix-filtering-out-duplicate-users-998.patch
  0005-UserModel-optimize-setting-of-default-user-icon-999.patch
  0007-Honor-PAMs-ambient-supplemental-groups.patch
  sddm-0.17.0.tar.gz

New:

  sddm-0.18.0.tar.gz



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.mM5q5D/_old  2018-07-25 16:06:34.857145343 +0200
+++ /var/tmp/diff_new_pack.mM5q5D/_new  2018-07-25 16:06:34.857145343 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   sddm
-Version:0.17.0
+Version:0.18.0
 Release:0
 Summary:QML-based display manager
 License:GPL-2.0+
@@ -28,24 +28,10 @@
 Source2:00-general.conf
 Source3:10-theme.conf
 # Patch0-100: PATCH-FIX-UPSTREAM
-Patch1: 0001-Don-t-quit-on-SIGHUP.patch
-Patch2: 0001-greeter-Use-Qt-command-line-parser.patch
-Patch3: 0001-Fix-platform-detection-for-EnableHiDPI.patch
-Patch4: 0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch
-Patch5: 0001-Support-for-theme-supplied-default-avatars.patch
-Patch6: 0002-Remove-trailing-spaces.patch
-Patch7: 0003-UserModel-optimize-filtering-out-duplicate-users-995.patch
-Patch8: 0004-UserModel-fix-filtering-out-duplicate-users-998.patch
-Patch9: 0005-UserModel-optimize-setting-of-default-user-icon-999.patch
-Patch10:

commit sddm for openSUSE:Factory

2018-07-12 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-07-12 09:17:25

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Thu Jul 12 09:17:25 2018 rev:37 rq:621443 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-07-04 
23:54:48.759913193 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-07-12 
09:17:26.770274113 +0200
@@ -1,0 +2,6 @@
+Sat Jul  7 11:27:49 UTC 2018 - w01dn...@gmail.com
+
+- Fix 0001-Support-both-X11-XDisplay-Wayland-and-WaylandDisplay.patch
+  * Corrected section name for Wayland
+
+---



Other differences:
--
++ 0001-Support-both-X11-XDisplay-Wayland-and-WaylandDisplay.patch ++
--- /var/tmp/diff_new_pack.AkKAz3/_old  2018-07-12 09:17:27.726275450 +0200
+++ /var/tmp/diff_new_pack.AkKAz3/_new  2018-07-12 09:17:27.730275456 +0200
@@ -23,7 +23,7 @@
 +if (currentSection == QStringLiteral("XDisplay"))
 +currentSection = QStringLiteral("X11");
 +else if (currentSection == QStringLiteral("WaylandDisplay"))
-+currentSection = QStringLiteral("WaylandDisplay");
++currentSection = QStringLiteral("Wayland");
 +
  // value assignment
  int separatorPosition = lineRef.indexOf(QLatin1Char('='));




commit sddm for openSUSE:Factory

2018-07-04 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-07-04 23:54:04

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Wed Jul  4 23:54:04 2018 rev:36 rq:620401 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-05-16 
11:23:17.432227700 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-07-04 
23:54:48.759913193 +0200
@@ -1,0 +2,6 @@
+Mon Jul  2 20:53:55 UTC 2018 - luizl...@gmail.com
+
+- Backport fix for pam_group from develop branch:
+ * 0007-Honor-PAMs-ambient-supplemental-groups.patch
+
+---

New:

  0007-Honor-PAMs-ambient-supplemental-groups.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.7l4B9k/_old  2018-07-04 23:54:49.663912196 +0200
+++ /var/tmp/diff_new_pack.7l4B9k/_new  2018-07-04 23:54:49.663912196 +0200
@@ -38,6 +38,8 @@
 Patch8: 0004-UserModel-fix-filtering-out-duplicate-users-998.patch
 Patch9: 0005-UserModel-optimize-setting-of-default-user-icon-999.patch
 Patch10:0001-Fix-build-with-Qt-5.11-1024.patch
+# Backport: 
https://github.com/sddm/sddm/commit/1bc813d08b8130e458a6550ec47fb2bfbe6de080
+Patch11:   0007-Honor-PAMs-ambient-supplemental-groups.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017

++ 0007-Honor-PAMs-ambient-supplemental-groups.patch ++
>From 1bc813d08b8130e458a6550ec47fb2bfbe6de080 Mon Sep 17 00:00:00 2001
From: Konrad Tegtmeier 
Date: Fri, 13 Apr 2018 14:06:11 +0200
Subject: [PATCH] Honor PAM's ambient supplemental groups. (#834)

When compiled with USE_PAM, prefer a combination of
getgroups(3) and getgrouplist(3) for ambient and user
groups, respectively, to initgroups(3).

This way, groups injected into the PAM environment
by means of pam_groups.so aren't ignored.

Signed-off-by: J. Konrad Tegtmeier-Rottach 

Backported to 0.17.0

Signed-off-by: Luiz Angelo Daros de Luca 

---
 src/helper/UserSession.cpp | 59 ++
 1 file changed, 59 insertions(+)

diff --git a/src/helper/UserSession.cpp b/src/helper/UserSession.cpp
index 4221ada0..d4fd2cff 100644
--- a/src/helper/UserSession.cpp
+++ b/src/helper/UserSession.cpp
@@ -116,10 +116,69 @@
 qCritical() << "setgid(" << pw->pw_gid << ") failed for user: " << 
username;
 exit(Auth::HELPER_OTHER_ERROR);
 }
+
+#ifdef USE_PAM
+
+// fetch ambient groups from PAM's environment;
+// these are set by modules such as pam_groups.so
+int n_pam_groups = getgroups(0, NULL);
+gid_t *pam_groups = NULL;
+if (n_pam_groups > 0) {
+pam_groups = new gid_t[n_pam_groups];
+if ((n_pam_groups = getgroups(n_pam_groups, pam_groups)) == -1) {
+qCritical() << "getgroups() failed to fetch supplemental"
+<< "PAM groups for user:" << username;
+exit(Auth::HELPER_OTHER_ERROR);
+}
+} else {
+n_pam_groups = 0;
+}
+
+// fetch session's user's groups
+int n_user_groups = 0;
+gid_t *user_groups = NULL;
+if (-1 == getgrouplist(username.constData(), pw->pw_gid,
+   NULL, _user_groups)) {
+user_groups = new gid_t[n_user_groups];
+if ((n_user_groups = getgrouplist(username.constData(),
+  pw->pw_gid, user_groups,
+  _user_groups)) == -1 ) {
+qCritical() << "getgrouplist(" << username << ", " << 
pw->pw_gid
+<< ") failed";
+//free(buffer);
+exit(Auth::HELPER_OTHER_ERROR);
+}
+}
+
+// set groups to concatenation of PAM's ambient
+// groups and the session's user's groups
+int n_groups = n_pam_groups + n_user_groups;
+if (n_groups > 0) {
+gid_t *groups = new gid_t[n_groups];
+memcpy(groups, pam_groups, (n_pam_groups * sizeof(gid_t)));
+memcpy((groups + n_pam_groups), user_groups,
+   (n_user_groups * sizeof(gid_t)));
+
+// setgroups(2) handles duplicate groups
+if (setgroups(n_groups, groups) != 0) {
+qCritical() << "setgroups() failed for user: " << username;
+//free(buffer);
+exit (Auth::HELPER_OTHER_ERROR);
+}
+

commit sddm for openSUSE:Factory

2018-05-16 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-05-16 11:23:10

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Wed May 16 11:23:10 2018 rev:35 rq:606940 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-05-13 
15:56:24.373287593 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-05-16 
11:23:17.432227700 +0200
@@ -1,0 +2,6 @@
+Mon May 14 08:12:49 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to not include sessions with NoDisplay=true in the list 
(boo#1086614):
+  * 0001-Don-t-add-session-files-with-NoDisplay-true-to-Sessi.patch
+
+---

New:

  0001-Don-t-add-session-files-with-NoDisplay-true-to-Sessi.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.8eA73Q/_old  2018-05-16 11:23:20.264124839 +0200
+++ /var/tmp/diff_new_pack.8eA73Q/_new  2018-05-16 11:23:20.268124694 +0200
@@ -42,6 +42,8 @@
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017
 Patch51:0006-Don-t-fill-UserModel-if-theme-does-not-require-it.patch
+# Not merged yet: https://github.com/sddm/sddm/pull/1029
+Patch52:0001-Don-t-add-session-files-with-NoDisplay-true-to-Sessi.patch
 # Patch100-?: PATCH-FIX-OPENSUSE
 # Use openSUSE pam config
 Patch100:   proper_pam.diff

++ 0001-Don-t-add-session-files-with-NoDisplay-true-to-Sessi.patch ++
>From 9f72d78cd729b76bac96a79ab767b02e30b118c7 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Mon, 14 May 2018 10:06:34 +0200
Subject: [PATCH] Don't add session files with NoDisplay=true to SessionModel

Same treatment as for Hidden. SessionModel is not used for autologin,
so for all intents and purposes it's the same. If a user logged in with
a NoDisplay=true session, the last session index will be incorrect, but
IMO that's the intended behaviour of NoDisplay.
---
 src/common/Session.cpp   | 8 
 src/common/Session.h | 2 ++
 src/greeter/SessionModel.cpp | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/common/Session.cpp b/src/common/Session.cpp
index 4812d67..aa4dad3 100644
--- a/src/common/Session.cpp
+++ b/src/common/Session.cpp
@@ -32,6 +32,7 @@ namespace SDDM {
 : m_valid(false)
 , m_type(UnknownSession)
 , m_isHidden(false)
+, m_isNoDisplay(false)
 {
 }
 
@@ -111,6 +112,11 @@ namespace SDDM {
 return m_isHidden;
 }
 
+bool Session::isNoDisplay() const
+{
+return m_isNoDisplay;
+}
+
 void Session::setTo(Type type, const QString &_fileName)
 {
 QString fileName(_fileName);
@@ -177,6 +183,8 @@ namespace SDDM {
 m_desktopNames = line.mid(13).replace(QLatin1Char(';'), 
QLatin1Char(':'));
 if (line.startsWith(QLatin1String("Hidden=")))
 m_isHidden = line.mid(7).toLower() == QLatin1String("true");
+if (line.startsWith(QLatin1String("NoDisplay=")))
+m_isNoDisplay = line.mid(10).toLower() == 
QLatin1String("true");
 }
 
 file.close();
diff --git a/src/common/Session.h b/src/common/Session.h
index c8c527e..d285a3f 100644
--- a/src/common/Session.h
+++ b/src/common/Session.h
@@ -60,6 +60,7 @@ namespace SDDM {
 QString desktopNames() const;
 
 bool isHidden() const;
+bool isNoDisplay() const;
 
 void setTo(Type type, const QString );
 
@@ -79,6 +80,7 @@ namespace SDDM {
 QString m_xdgSessionType;
 QString m_desktopNames;
 bool m_isHidden;
+bool m_isNoDisplay;
 
 friend class SessionModel;
 };
diff --git a/src/greeter/SessionModel.cpp b/src/greeter/SessionModel.cpp
index 27e8c40..2a3c091 100644
--- a/src/greeter/SessionModel.cpp
+++ b/src/greeter/SessionModel.cpp
@@ -143,7 +143,7 @@ namespace SDDM {
 }
 }
 // add to sessions list
-if (!si->isHidden() && execAllowed)
+if (!si->isHidden() && !si->isNoDisplay() && execAllowed)
 d->sessions.push_back(si);
 else
 delete si;
-- 
2.16.2




commit sddm for openSUSE:Factory

2018-05-13 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-05-13 15:56:20

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Sun May 13 15:56:20 2018 rev:34 rq:606133 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-04-30 
22:52:02.94359 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-05-13 
15:56:24.373287593 +0200
@@ -1,0 +2,8 @@
+Wed May  9 19:15:48 UTC 2018 - fab...@ritter-vogt.de
+
+- Amend patch to also canonicalize desktop session paths (boo#1092251):
+  * 0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch
+- Add patch to fix build with Qt 5.11:
+  * 0001-Fix-build-with-Qt-5.11-1024.patch
+
+---

New:

  0001-Fix-build-with-Qt-5.11-1024.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.dw3k3a/_old  2018-05-13 15:56:25.361251541 +0200
+++ /var/tmp/diff_new_pack.dw3k3a/_new  2018-05-13 15:56:25.365251395 +0200
@@ -37,6 +37,7 @@
 Patch7: 0003-UserModel-optimize-filtering-out-duplicate-users-995.patch
 Patch8: 0004-UserModel-fix-filtering-out-duplicate-users-998.patch
 Patch9: 0005-UserModel-optimize-setting-of-default-user-icon-999.patch
+Patch10:0001-Fix-build-with-Qt-5.11-1024.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1017

++ 0001-Fix-build-with-Qt-5.11-1024.patch ++
>From 287e4b11b940140764131a04dfb4afb3a3d8a84d Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Sat, 28 Apr 2018 11:38:32 +0200
Subject: [PATCH] Fix build with Qt 5.11 (#1024)

qt5_use_modules was deprecated for quite some time and got finally removed.
---
 CMakeLists.txt  | 2 +-
 test/CMakeLists.txt | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

Index: sddm-0.17.0/CMakeLists.txt
===
--- sddm-0.17.0.orig/CMakeLists.txt
+++ sddm-0.17.0/CMakeLists.txt
@@ -93,7 +93,7 @@ find_package(XCB REQUIRED)
 find_package(XKB REQUIRED)
 
 # Qt 5
-find_package(Qt5 5.6.0 CONFIG REQUIRED Core DBus Gui Qml Quick LinguistTools)
+find_package(Qt5 5.6.0 CONFIG REQUIRED Core DBus Gui Qml Quick LinguistTools 
Test)
 
 # find qt5 imports dir
 get_target_property(QMAKE_EXECUTABLE Qt5::qmake LOCATION)
Index: sddm-0.17.0/test/CMakeLists.txt
===
--- sddm-0.17.0.orig/test/CMakeLists.txt
+++ sddm-0.17.0/test/CMakeLists.txt
@@ -2,9 +2,8 @@ set(QT_USE_QTTEST TRUE)
 
 include_directories(../src/common)
 
-
 set(ConfigurationTest_SRCS ConfigurationTest.cpp 
../src/common/ConfigReader.cpp)
 add_executable(ConfigurationTest ${ConfigurationTest_SRCS})
 add_test(NAME Configuration COMMAND ConfigurationTest)
 
-qt5_use_modules(ConfigurationTest Test)
+target_link_libraries(ConfigurationTest Qt5::Core Qt5::Test)
++ 0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch ++
--- /var/tmp/diff_new_pack.dw3k3a/_old  2018-05-13 15:56:25.457248038 +0200
+++ /var/tmp/diff_new_pack.dw3k3a/_new  2018-05-13 15:56:25.461247892 +0200
@@ -11,10 +11,10 @@
  src/greeter/SessionModel.cpp | 9 -
  2 files changed, 9 insertions(+), 2 deletions(-)
 
-diff --git a/src/common/Session.h b/src/common/Session.h
-index c8c527e..743b7a6 100644
 a/src/common/Session.h
-+++ b/src/common/Session.h
+Index: sddm-0.17.0/src/common/Session.h
+===
+--- sddm-0.17.0.orig/src/common/Session.h
 sddm-0.17.0/src/common/Session.h
 @@ -35,7 +35,7 @@ namespace SDDM {
  WaylandSession
  };
@@ -24,10 +24,10 @@
  Session(Type type, const QString );
  
  bool isValid() const;
-diff --git a/src/greeter/SessionModel.cpp b/src/greeter/SessionModel.cpp
-index 27e8c40..bd5bbf0 100644
 a/src/greeter/SessionModel.cpp
-+++ b/src/greeter/SessionModel.cpp
+Index: sddm-0.17.0/src/greeter/SessionModel.cpp
+===
+--- sddm-0.17.0.orig/src/greeter/SessionModel.cpp
 sddm-0.17.0/src/greeter/SessionModel.cpp
 @@ -122,6 +122,12 @@ namespace SDDM {
  if (!dir.exists(session))
  continue;
@@ -41,17 +41,17 @@
  Session *si = new Session(type, session);
  bool execAllowed = true;
  QFileInfo fi(si->tryExec());
-@@ -149,8 +155,9 @@ namespace SDDM {
+@@ -149,8 +155,12 @@ namespace SDDM {
  delete si;
  }
 

commit sddm for openSUSE:Factory

2018-04-30 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-04-30 22:52:00

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Mon Apr 30 22:52:00 2018 rev:33 rq:601509 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-03-29 
11:48:35.261565879 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-04-30 
22:52:02.94359 +0200
@@ -1,0 +2,22 @@
+Mon Apr 23 06:55:16 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to show a username input field with too many users:
+  * 0006-Don-t-fill-UserModel-if-theme-does-not-require-it.patch
+- Backport related changes from develop branch:
+  * 0001-Support-for-theme-supplied-default-avatars.patch
+  * 0002-Remove-trailing-spaces.patch
+  * 0003-UserModel-optimize-filtering-out-duplicate-users-995.patch
+  * 0004-UserModel-fix-filtering-out-duplicate-users-998.patch
+  * 0005-UserModel-optimize-setting-of-default-user-icon-999.patch
+
+---
+Mon Apr 16 09:30:50 UTC 2018 - fab...@ritter-vogt.de
+
+- Revert previous change, had the opposite effect for some reason
+
+---
+Thu Apr 12 08:50:03 UTC 2018 - fab...@ritter-vogt.de
+
+- Start the X server with -keeptty (boo#1089287)
+
+---

New:

  0001-Support-for-theme-supplied-default-avatars.patch
  0002-Remove-trailing-spaces.patch
  0003-UserModel-optimize-filtering-out-duplicate-users-995.patch
  0004-UserModel-fix-filtering-out-duplicate-users-998.patch
  0005-UserModel-optimize-setting-of-default-user-icon-999.patch
  0006-Don-t-fill-UserModel-if-theme-does-not-require-it.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.aqdkjx/_old  2018-04-30 22:52:03.931508401 +0200
+++ /var/tmp/diff_new_pack.aqdkjx/_new  2018-04-30 22:52:03.935508255 +0200
@@ -32,8 +32,15 @@
 Patch2: 0001-greeter-Use-Qt-command-line-parser.patch
 Patch3: 0001-Fix-platform-detection-for-EnableHiDPI.patch
 Patch4: 0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch
+Patch5: 0001-Support-for-theme-supplied-default-avatars.patch
+Patch6: 0002-Remove-trailing-spaces.patch
+Patch7: 0003-UserModel-optimize-filtering-out-duplicate-users-995.patch
+Patch8: 0004-UserModel-fix-filtering-out-duplicate-users-998.patch
+Patch9: 0005-UserModel-optimize-setting-of-default-user-icon-999.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:0001-Remove-suffix-for-Wayland-session.patch
+# Not merged yet: https://github.com/sddm/sddm/pull/1017
+Patch51:0006-Don-t-fill-UserModel-if-theme-does-not-require-it.patch
 # Patch100-?: PATCH-FIX-OPENSUSE
 # Use openSUSE pam config
 Patch100:   proper_pam.diff

++ 0001-Support-for-theme-supplied-default-avatars.patch ++
>From 2f079338408dfead4ba0e3e424a4d84a6bdf6019 Mon Sep 17 00:00:00 2001
From: Sogatori 
Date: Sun, 4 Mar 2018 00:42:28 +0100
Subject: [PATCH 1/6] Support for theme supplied default avatars

This patch adds support for custom default avatars
under $ThemeDir/themeName/faces.

This will make sddm use an avatar icon that is provided by
the theme and is consistent with its look.
---
 src/greeter/UserModel.cpp | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/greeter/UserModel.cpp b/src/greeter/UserModel.cpp
index ebc1819..c790336 100644
--- a/src/greeter/UserModel.cpp
+++ b/src/greeter/UserModel.cpp
@@ -52,7 +52,10 @@ namespace SDDM {
 
 UserModel::UserModel(QObject *parent) : QAbstractListModel(parent), d(new 
UserModelPrivate()) {
 const QString facesDir = mainConfig.Theme.FacesDir.get();
-const QString defaultFace = 
QStringLiteral("file://%1/.face.icon").arg(facesDir);
+const QString themeDir = mainConfig.Theme.ThemeDir.get();
+const QString currentTheme = mainConfig.Theme.Current.get();
+const QString themeDefaultFace = 
QStringLiteral("%1/%2/faces/.face.icon").arg(themeDir).arg(currentTheme);
+const QString defaultFace = 
QStringLiteral("%1/.face.icon").arg(facesDir);
 
 struct passwd *current_pw;
 while ((current_pw = getpwent()) != nullptr) {
@@ -91,7 +94,10 @@ namespace SDDM {
 user->needsPassword = strcmp(current_pw->pw_passwd, "") != 0;
 
 // search for face icon
-user->icon = defaultFace;
+if (QFile::exists(themeDefaultFace)) 
+user->icon = 

commit sddm for openSUSE:Factory

2018-03-29 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-03-29 11:48:31

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Thu Mar 29 11:48:31 2018 rev:32 rq:590866 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-03-24 
16:08:51.445605417 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-03-29 
11:48:35.261565879 +0200
@@ -1,0 +2,7 @@
+Sat Mar 24 13:55:06 UTC 2018 - fab...@ritter-vogt.de
+
+- Don't add a suffix for wayland sessions anymore, for symmetry with
+  gdm and lightdm:
+  * 0001-Remove-suffix-for-Wayland-session.patch
+
+---

New:

  0001-Remove-suffix-for-Wayland-session.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.rpqFVP/_old  2018-03-29 11:48:36.085536194 +0200
+++ /var/tmp/diff_new_pack.rpqFVP/_new  2018-03-29 11:48:36.089536050 +0200
@@ -32,6 +32,8 @@
 Patch2: 0001-greeter-Use-Qt-command-line-parser.patch
 Patch3: 0001-Fix-platform-detection-for-EnableHiDPI.patch
 Patch4: 0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch
+# Not merged yet: https://github.com/sddm/sddm/pull/997
+Patch50:0001-Remove-suffix-for-Wayland-session.patch
 # Patch100-?: PATCH-FIX-OPENSUSE
 # Use openSUSE pam config
 Patch100:   proper_pam.diff

++ 0001-Remove-suffix-for-Wayland-session.patch ++
>From aa342153bf3bd88a7af5dc6c454cb4c9d16f95ee Mon Sep 17 00:00:00 2001
From: Pier Luigi Fiorini 
Date: Tue, 20 Mar 2018 18:22:39 +0100
Subject: [PATCH] Remove suffix for Wayland session

Some desktops like GNOME specify which windowing system is in use
with the Name entry of their desktop file.

For Wayland-only desktops such as Liri this information is
redundant and so is for X11-only window managers.

Do not append the Wayland suffix and let desktops handle it
themeselves.

[ChangeLog][Greeter] Remove suffix for Wayland sessions
---
 src/common/Session.cpp | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/common/Session.cpp b/src/common/Session.cpp
index 4812d67..a2be266 100644
--- a/src/common/Session.cpp
+++ b/src/common/Session.cpp
@@ -161,12 +161,8 @@ namespace SDDM {
 if (current_section != QLatin1String("Desktop Entry"))
 continue; // We are only interested in the "Desktop Entry" 
section
 
-if (line.startsWith(QLatin1String("Name="))) {
-if (type == WaylandSession)
-m_displayName = QObject::tr("%1 
(Wayland)").arg(line.mid(5));
-else
-m_displayName = line.mid(5);
-}
+if (line.startsWith(QLatin1String("Name=")))
+m_displayName = line.mid(5);
 if (line.startsWith(QLatin1String("Comment=")))
 m_comment = line.mid(8);
 if (line.startsWith(QLatin1String("Exec=")))
-- 
2.16.2




commit sddm for openSUSE:Factory

2018-03-24 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-03-24 16:08:48

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Sat Mar 24 16:08:48 2018 rev:31 rq:589945 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-03-20 
21:42:40.899871665 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-03-24 
16:08:51.445605417 +0100
@@ -1,0 +2,6 @@
+Thu Mar 22 08:56:30 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to fix build with Qt < 5.10:
+  * 0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch
+
+---

New:

  0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.fXt23d/_old  2018-03-24 16:08:52.833555384 +0100
+++ /var/tmp/diff_new_pack.fXt23d/_new  2018-03-24 16:08:52.837555240 +0100
@@ -31,6 +31,7 @@
 Patch1: 0001-Don-t-quit-on-SIGHUP.patch
 Patch2: 0001-greeter-Use-Qt-command-line-parser.patch
 Patch3: 0001-Fix-platform-detection-for-EnableHiDPI.patch
+Patch4: 0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch
 # Patch100-?: PATCH-FIX-OPENSUSE
 # Use openSUSE pam config
 Patch100:   proper_pam.diff

++ 0001-Fix-build-with-Qt-5.10-Use-QString-instead-of-QLatin.patch ++
>From be2f6c82c67a5511b56af66bfe77970c9f72a8c1 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Thu, 22 Mar 2018 09:54:49 +0100
Subject: [PATCH] Fix build with Qt < 5.10: Use QString instead of
 QLatin1String

QLatin1String only got more QString-like with Qt 5.10, so we can't use
those methods.
---
 src/greeter/GreeterApp.cpp | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/greeter/GreeterApp.cpp b/src/greeter/GreeterApp.cpp
index 5181e4e..baeb982 100644
--- a/src/greeter/GreeterApp.cpp
+++ b/src/greeter/GreeterApp.cpp
@@ -281,24 +281,24 @@ int main(int argc, char **argv)
 // We set an attribute based on the platform we run on.
 // We only know the platform after we constructed QGuiApplication
 // though, so we need to find it out ourselves.
-QLatin1String platform;
+QString platform;
 for (int i = 1; i < argc - 1; ++i) {
 if(qstrcmp(argv[i], "-platform") == 0) {
-platform = QLatin1String(argv[i + 1]);
+platform = QString::fromUtf8(argv[i + 1]);
 }
 }
 if (platform.isEmpty()) {
-platform = QLatin1String(qgetenv("QT_QPA_PLATFORM"));
+platform = QString::fromUtf8(qgetenv("QT_QPA_PLATFORM"));
 }
 if (platform.isEmpty()) {
-platform = QLatin1String("xcb");
+platform = QStringLiteral("xcb");
 }
 
 // HiDPI
 bool hiDpiEnabled = false;
-if (platform == QLatin1String("xcb"))
+if (platform == QStringLiteral("xcb"))
 hiDpiEnabled = SDDM::mainConfig.X11.EnableHiDPI.get();
-else if (platform.startsWith(QLatin1String("wayland")))
+else if (platform.startsWith(QStringLiteral("wayland")))
 hiDpiEnabled = SDDM::mainConfig.Wayland.EnableHiDPI.get();
 if (hiDpiEnabled) {
 qDebug() << "High-DPI autoscaling Enabled";
-- 
2.16.2




commit sddm for openSUSE:Factory

2018-03-20 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-03-20 21:42:39

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Tue Mar 20 21:42:39 2018 rev:30 rq:585771 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-03-08 
10:41:31.471844785 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-03-20 
21:42:40.899871665 +0100
@@ -1,0 +2,13 @@
+Fri Mar  9 20:02:50 UTC 2018 - fab...@ritter-vogt.de
+
+- Reorder patches for easier maintainability, needs refresh of:
+  * 0001-Move-Xauthority-to-a-different-location-and-truncate.patch
+  * 0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
+  * sddm-relaxed-auth.diff
+- Replace 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
+  with 0001-Support-both-X11-XDisplay-Wayland-and-WaylandDisplay.patch
+- Add patches to fix setting EnableHiDPI in the configuration:
+  * 0001-greeter-Use-Qt-command-line-parser.patch  


   
+  * 0001-Fix-platform-detection-for-EnableHiDPI.patch
+
+---

Old:

  0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch

New:

  0001-Fix-platform-detection-for-EnableHiDPI.patch
  0001-Support-both-X11-XDisplay-Wayland-and-WaylandDisplay.patch
  0001-greeter-Use-Qt-command-line-parser.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.HjtwpZ/_old  2018-03-20 21:42:41.927834666 +0100
+++ /var/tmp/diff_new_pack.HjtwpZ/_new  2018-03-20 21:42:41.931834522 +0100
@@ -27,28 +27,26 @@
 Source1:X11-displaymanagers-%{name}
 Source2:00-general.conf
 Source3:10-theme.conf
-# PATCH-FIX-OPENSUSE 
0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch -- Revert to 
0.13.0 config syntax
-Patch0: 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
-# PATCH-FIX-OPENSUSE proper_pam.diff -- Use openSUSE pam config
-Patch1: proper_pam.diff
-# PATCH-FIX-OPENSUSE
-Patch2: 0001-Write-the-daemon-s-PID-to-a-file-on-startup.patch
-# PATCH-FIX-OPENSUSE sddm-relaxed-auth.diff -- Insert XAUTHLOCALHOSTNAME into 
users enviroment, so the session handles hostname changes with a single X 
instance/run
+# Patch0-100: PATCH-FIX-UPSTREAM
+Patch1: 0001-Don-t-quit-on-SIGHUP.patch
+Patch2: 0001-greeter-Use-Qt-command-line-parser.patch
+Patch3: 0001-Fix-platform-detection-for-EnableHiDPI.patch
+# Patch100-?: PATCH-FIX-OPENSUSE
+# Use openSUSE pam config
+Patch100:   proper_pam.diff
+Patch101:   0001-Write-the-daemon-s-PID-to-a-file-on-startup.patch
+# Insert XAUTHLOCALHOSTNAME into users enviroment, so the session handles 
hostname changes with a single X instance/run
 # related patches: libxcb/bug-262309_xcb-xauthlocalhostname.diff, 
xauth/xauth-tolerant-hostname-changes.diff, 
kdebase4-workspace/kdm-relaxed-auth.diff
-Patch3: sddm-relaxed-auth.diff
-# PATCH-FIX-OPENSUSE
-Patch4: 0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
-# PATCH-FIX-OPENSUSE sddm-service-handle-plymouth.patch -- sddm has some 
rudimentary support for plymouth handling, which only works with 
plymouth-quit.service
+Patch102:   sddm-relaxed-auth.diff
+Patch103:   0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
+# sddm has some rudimentary support for plymouth handling, which only works 
with plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
-Patch5: sddm-service-handle-plymouth.patch
-# PATCH-FIX-UPSTREAM https://github.com/sddm/sddm/pull/987
-Patch6: 0001-Don-t-quit-on-SIGHUP.patch
-# PATCH-FIX-OPENSUSE 0001-Systemd-service-unit-Use-tty7-by-default.patch -- 
Use tty7 by default in the systemd service unit
-Patch8: 0001-Systemd-service-unit-Use-tty7-by-default.patch
-# PATCH-FIX-OPENSUSE
-Patch9: 0001-Move-Xauthority-to-a-different-location-and-truncate.patch
-# PATCH-FIX-OPENSUSE
-Patch18:0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch
+Patch104:   sddm-service-handle-plymouth.patch
+# Use tty7 by default in the systemd service unit
+Patch105:   0001-Systemd-service-unit-Use-tty7-by-default.patch
+Patch106:   0001-Move-Xauthority-to-a-different-location-and-truncate.patch
+Patch107:   0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch
+Patch108:   

commit sddm for openSUSE:Factory

2018-03-08 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-03-08 10:41:30

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Thu Mar  8 10:41:30 2018 rev:29 rq:582256 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2018-02-28 
19:59:50.998220363 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-03-08 
10:41:31.471844785 +0100
@@ -1,0 +2,6 @@
+Sat Mar  3 19:10:40 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to not quit on SIGHUP (boo#1080305):
+  * 0001-Don-t-quit-on-SIGHUP.patch
+
+---

New:

  0001-Don-t-quit-on-SIGHUP.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.84ci46/_old  2018-03-08 10:41:32.259816413 +0100
+++ /var/tmp/diff_new_pack.84ci46/_new  2018-03-08 10:41:32.263816269 +0100
@@ -41,6 +41,8 @@
 # PATCH-FIX-OPENSUSE sddm-service-handle-plymouth.patch -- sddm has some 
rudimentary support for plymouth handling, which only works with 
plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
 Patch5: sddm-service-handle-plymouth.patch
+# PATCH-FIX-UPSTREAM https://github.com/sddm/sddm/pull/987
+Patch6: 0001-Don-t-quit-on-SIGHUP.patch
 # PATCH-FIX-OPENSUSE 0001-Systemd-service-unit-Use-tty7-by-default.patch -- 
Use tty7 by default in the systemd service unit
 Patch8: 0001-Systemd-service-unit-Use-tty7-by-default.patch
 # PATCH-FIX-OPENSUSE
@@ -116,15 +118,7 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch8 -p1
-%patch9 -p1
-%patch18 -p1
+%autopatch -p1
 
 %build
 %cmake \

++ 0001-Don-t-quit-on-SIGHUP.patch ++
>From f6a82a27a0481b761218a5208134c7a72ec8206a Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Sat, 3 Mar 2018 20:07:16 +0100
Subject: [PATCH] Don't quit on SIGHUP

SIGHUP is sent to daemons on reload, so they should reread their configuration.
Currently sddm would just quit on reload, which is very unexpected.
---
 src/daemon/DaemonApp.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/daemon/DaemonApp.cpp b/src/daemon/DaemonApp.cpp
index b5c8d49..de78e75 100644
--- a/src/daemon/DaemonApp.cpp
+++ b/src/daemon/DaemonApp.cpp
@@ -68,8 +68,7 @@ namespace SDDM {
 // initialize signal signalHandler
 SignalHandler::initialize();
 
-// quit when SIGHUP, SIGINT, SIGTERM received
-connect(m_signalHandler, SIGNAL(sighupReceived()), this, SLOT(quit()));
+// quit when SIGINT, SIGTERM received
 connect(m_signalHandler, SIGNAL(sigintReceived()), this, SLOT(quit()));
 connect(m_signalHandler, SIGNAL(sigtermReceived()), this, 
SLOT(quit()));
 
-- 
2.16.1




commit sddm for openSUSE:Factory

2018-02-28 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2018-02-28 19:59:49

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Wed Feb 28 19:59:49 2018 rev:28 rq:579678 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-12-21 
11:22:46.754753700 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2018-02-28 
19:59:50.998220363 +0100
@@ -1,0 +2,6 @@
+Fri Feb 23 12:16:48 UTC 2018 - alarr...@suse.com
+
+- Only use python-doctools when building for SLE12 since SLE15 has
+  rst2man in python3-doctools.
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.D7yZQg/_old  2018-02-28 19:59:52.058182010 +0100
+++ /var/tmp/diff_new_pack.D7yZQg/_new  2018-02-28 19:59:52.062181866 +0100
@@ -70,7 +70,7 @@
 # Merged the -lang package back into the main package
 Provides:   %{name}-lang = %{version}
 Obsoletes:  %{name}-lang < %{version}
-%if 0%{?sle_version} && !0%{?is_opensuse}
+%if 0%{?sle_version} < 15 && !0%{?is_opensuse}
 BuildRequires:  python-docutils
 %else
 BuildRequires:  python3-docutils




commit sddm for openSUSE:Factory

2017-12-21 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-12-21 11:22:41

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Thu Dec 21 11:22:41 2017 rev:27 rq:557251 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-12-03 
10:11:40.386802549 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-12-21 
11:22:46.754753700 +0100
@@ -1,0 +2,51 @@
+Thu Dec 14 08:20:25 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 0.17.0:
+  + Added possibility to change border width of ComboBox widget.
+  + Added missing utmp/wtmp/btmp handling.
+  + Make greeter see icons set by AccountsServices.
+  - Fix sddm.conf man page syntax error and update.
+  - Fix ComboBox widget.
+  - Fix connection of PropertiesChanged event for LogindSeat.
+  - Avoid race conditions with Xsetup.
+  * Update de translation.
+  * Update lt translation.
+  * Update zh_TW translation.
+  * Adjust order of components in the default PATH.
+  * Set default input method to qtvirtualkeyboard.
+- Update to 0.16.0:
+  + Support non-latin characters in theme settings.
+  + Support fish shell in Xsession and wayland-session.
+  + Unlock GNOME keyring at login.
+  + Configuration directory.
+  - Make the default cursor themed.
+  - Update date and time in elarun theme.
+  - Fix theme metadata default values.
+  - Fix session selection in elarun.
+  - Do not truncate XAUTHORITY on login.
+  - Make enabled property of Button functional.
+  - Fix typos in documentation.
+  * Re-use existing sessions.
+  * Add ConsoleKit 2 support.
+  * Stop assuming shadow(5) is always available.
+  * Explicitely set XDG_SEAT when starting a user session.
+  * Suppress errors when pam_elogind is not available.
+  * Suppress errors when pam_systemd is not available.
+  * Added possibility to change color of dropdown menu.
+  * Add Hindi translation.
+  * Completed Swedish translation.
+  * Update French translation.
+- Move to system configuration dirs, replace sddm.conf with
+  00-general.conf and 10-theme.conf
+- Refresh patches:
+  * 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
+  * proper_pam.diff
+- Rename patches:
+  * sysconfig-support.patch:
+0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
+  * create_pid_file.patch:
+0001-Write-the-daemon-s-PID-to-a-file-on-startup.patch
+- Remove patches, now upstream:
+  * 0001-Do-not-truncate-XAUTHORITY-file-on-login.patch
+
+---

Old:

  0001-Do-not-truncate-XAUTHORITY-file-on-login.patch
  create_pid_file.patch
  sddm-0.15.0.tar.gz
  sddm.conf
  sysconfig-support.patch

New:

  00-general.conf
  0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
  0001-Write-the-daemon-s-PID-to-a-file-on-startup.patch
  10-theme.conf
  sddm-0.17.0.tar.gz



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.JhrvaM/_old  2017-12-21 11:22:47.466718985 +0100
+++ /var/tmp/diff_new_pack.JhrvaM/_new  2017-12-21 11:22:47.466718985 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sddm
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,54 +16,44 @@
 #
 
 
-%{!?_rundir: %global _rundir /run}
-%{!?_unitdir: %global _unitdir /usr/lib/systemd/system}
-
 Name:   sddm
-Version:0.15.0
+Version:0.17.0
 Release:0
 Summary:QML-based display manager
 License:GPL-2.0+
 Group:  System/GUI/KDE
 Url:https://github.com/sddm/sddm
 Source: 
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
-Source1:%{name}.conf
-Source2:X11-displaymanagers-%{name}
-# PATCH-FIX-UPSTREAM 
0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch -- Revert to 
0.13.0 config syntax
+Source1:X11-displaymanagers-%{name}
+Source2:00-general.conf
+Source3:10-theme.conf
+# PATCH-FIX-OPENSUSE 
0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch -- Revert to 
0.13.0 config syntax
 Patch0: 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
 # PATCH-FIX-OPENSUSE proper_pam.diff -- Use openSUSE pam config
 Patch1: proper_pam.diff
-# PATCH-FIX-OPENSUSE create_pid_file.patch -- openSUSE's generic 
display-manager service doesn't know what to do without a pid file. drop the 
patch as soon as that sick dinosaur is killed
-Patch2:

commit sddm for openSUSE:Factory

2017-12-03 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-12-03 10:11:38

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Sun Dec  3 10:11:38 2017 rev:26 rq:547175 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-10-29 
20:24:03.820006110 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-12-03 
10:11:40.386802549 +0100
@@ -1,0 +2,13 @@
+Thu Nov 30 13:05:37 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to add back Xauthority truncation in a way that does
+  not break ssh -X (boo#1043221, boo#1069498):
+  * 0001-Move-Xauthority-to-a-different-location-and-truncate.patch
+
+---
+Tue Nov 28 07:08:56 UTC 2017 - fab...@ritter-vogt.de
+
+- Amend patch toremove elogind from sddm-greeter.pam:
+  * proper_pam.diff
+
+---

New:

  0001-Move-Xauthority-to-a-different-location-and-truncate.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.Saqavq/_old  2017-12-03 10:11:41.138775209 +0100
+++ /var/tmp/diff_new_pack.Saqavq/_new  2017-12-03 10:11:41.142775064 +0100
@@ -50,6 +50,8 @@
 Patch18:0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch
 # PATCH-FIX-UPSTREAM
 Patch19:0001-Do-not-truncate-XAUTHORITY-file-on-login.patch
+# PATCH-FIX-UPSTREAM
+Patch20:0001-Move-Xauthority-to-a-different-location-and-truncate.patch
 BuildRequires:  cmake
 BuildRequires:  extra-cmake-modules >= 1.4.0
 BuildRequires:  fdupes
@@ -123,6 +125,7 @@
 %patch8 -p1
 %patch18 -p1
 %patch19 -p1
+%patch20 -p1
 
 %build
 %cmake \

++ 0001-Move-Xauthority-to-a-different-location-and-truncate.patch ++
>From 87ff59b5558c3df9384a1d55590a53b9aca74bd0 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Thu, 30 Nov 2017 13:38:27 +0100
Subject: [PATCH] Move Xauthority to a different location and truncate it again

When the hostname changes, started X applications try the new hostname
first. If a cookie is found for that new hostname, they try to authenticate
(which fails) and exit. So .Xauthority must not contain old cookies.
Truncating ~/.Xauthority breaks ssh forwarding though, so the default
location is changed to something sddm specific.
As it's not possible to login twice as the same user simultaneously,
a fixed path at a fixed location is enough.

Issue #944
---
 data/man/sddm.conf.rst.in| 2 +-
 src/common/Configuration.h   | 2 +-
 src/daemon/XorgDisplayServer.cpp | 7 +--
 src/helper/UserSession.cpp   | 4 ++--
 4 files changed, 9 insertions(+), 6 deletions(-)

Index: sddm-0.15.0/data/man/sddm.conf.rst.in
===
--- sddm-0.15.0.orig/data/man/sddm.conf.rst.in
+++ sddm-0.15.0/data/man/sddm.conf.rst.in
@@ -110,7 +110,7 @@ OPTIONS
 
 `UserAuthFile=`
 Path to the Xauthority file, relative to the home directory.
-Default value is ".Xauthority".
+Default value is ".local/share/sddm/.Xauthority".
 
 `DisplayCommand=`
Path of script to execute when starting the display server.
Index: sddm-0.15.0/src/common/Configuration.h
===
--- sddm-0.15.0.orig/src/common/Configuration.h
+++ sddm-0.15.0/src/common/Configuration.h
@@ -65,7 +65,7 @@ namespace SDDM {
 Entry(SessionDir,  QString, 
_S("/usr/share/xsessions"), _S("Directory containing available 
X sessions"));
 Entry(SessionCommand,  QString, _S(SESSION_COMMAND),   
 _S("Path to a script to execute when starting the desktop 
session"));
Entry(SessionLogFile,  QString, 
_S(".local/share/sddm/xorg-session.log"),   _S("Path to the user session log 
file"));
-   Entry(UserAuthFile,QString, _S(".Xauthority"),  
_S("Path to the Xauthority file"));
+   Entry(UserAuthFile,QString, 
_S(".local/share/sddm/.Xauthority"),_S("Path to the Xauthority file"));
 Entry(DisplayCommand,  QString, _S(DATA_INSTALL_DIR 
"/scripts/Xsetup"), _S("Path to a script to execute when starting the 
display server"));
 Entry(DisplayStopCommand,  QString, _S(DATA_INSTALL_DIR 
"/scripts/Xstop"),  _S("Path to a script to execute when stopping the 
display server"));
 Entry(MinimumVT,   int, MINIMUM_VT,
 _S("The lowest virtual terminal number that will be used."));
Index: 

commit sddm for openSUSE:Factory

2017-10-29 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-10-29 20:24:02

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Sun Oct 29 20:24:02 2017 rev:25 rq:537329 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-10-20 
14:41:33.476345500 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-10-29 
20:24:03.820006110 +0100
@@ -1,0 +2,6 @@
+Sat Oct 28 14:08:07 UTC 2017 - tschm...@suse.com
+
+- Add "Requires: xdm" because sddm.conf references the files
+  '/etc/X11/xdm/Xsession' and '/etc/X11/xdm/Xsetup'
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.g53nBU/_old  2017-10-29 20:24:05.295952322 +0100
+++ /var/tmp/diff_new_pack.g53nBU/_new  2017-10-29 20:24:05.307951885 +0100
@@ -73,6 +73,7 @@
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(xcb-xkb)
 Requires:   sddm-branding = %{version}
+Requires:   xdm
 # Merged the -lang package back into the main package
 Provides:   %{name}-lang = %{version}
 Obsoletes:  %{name}-lang < %{version}




commit sddm for openSUSE:Factory

2017-10-20 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-10-20 14:41:28

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Fri Oct 20 14:41:28 2017 rev:24 rq:534971 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-09-08 
20:43:35.873480359 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-10-20 
14:41:33.476345500 +0200
@@ -1,0 +2,7 @@
+Thu Oct 12 10:00:18 UTC 2017 - dims...@opensuse.org
+
+- Have update-alternatives handle Xinit's integration of the
+  displaymanager, replacing /etc/sysconfig/displaymanager
+  (boo#1053863).
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.bMKNOY/_old  2017-10-20 14:41:34.200311624 +0200
+++ /var/tmp/diff_new_pack.bMKNOY/_new  2017-10-20 14:41:34.200311624 +0200
@@ -145,6 +145,10 @@
 
   install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}.conf
   install -Dm 0644 %{SOURCE2} 
%{buildroot}%{_libexecdir}/X11/displaymanagers/%{name}
+  mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+  touch %{buildroot}%{_sysconfdir}/alternatives/default-displaymanager
+  ln -s %{_sysconfdir}/alternatives/default-displaymanager 
%{buildroot}%{_libexecdir}/X11/displaymanagers/default-displaymanager
+
   install -d %{buildroot}%{_rundir}/sddm
   install -d %{buildroot}%{_localstatedir}/lib/sddm
 
@@ -159,6 +163,12 @@
 if [ $1 -eq 2 -a -f /etc/sddm.conf ]; then
 sed -i -e 's/^Current=maui$/Current=/g' /etc/sddm.conf
 fi
+%{_sbindir}/update-alternatives --install 
%{_libexecdir}/X11/displaymanagers/default-displaymanager \
+  default-displaymanager %{_libexecdir}/X11/displaymanagers/sddm 25
+
+%postun
+[ -f %{_libexecdir}/X11/displaymanagers/sddm ] || 
%{_sbindir}/update-alternatives \
+  --remove default-displaymanager %{_libexecdir}/X11/displaymanagers/sddm
 
 %post branding-openSUSE
 if [ $1 -ge 1 -a -f /etc/sddm.conf ]; then
@@ -184,6 +194,8 @@
 %{_libexecdir}/sddm/
 %dir %{_libexecdir}/X11/displaymanagers/
 %{_libexecdir}/X11/displaymanagers/%{name}
+%{_libexecdir}/X11/displaymanagers/default-displaymanager
+%ghost %{_sysconfdir}/alternatives/default-displaymanager
 %{_bindir}/sddm
 %{_bindir}/sddm-greeter
 %{_libdir}/qt5/qml/




commit sddm for openSUSE:Factory

2017-09-08 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-09-08 20:43:35

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Fri Sep  8 20:43:35 2017 rev:23 rq:520264 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-07-12 
19:32:54.158636751 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-09-08 
20:43:35.873480359 +0200
@@ -1,0 +2,27 @@
+Fri Sep  1 18:28:00 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 0.15.0:
+  * Fix loading of some avatars
+  * CONFIG: add option EnableHiDPI to allow opt out of auto scaling
+  * Theme cursor
+  * Support optional kwallet PAM opening
+  * Autologin, used last used session if not explicitly set in config
+  * Ignore session desktop files with hidden=true
+  * Support elogind
+  * Many new and improved translations
+- Remove patches, now upstream:
+  * 0001-Also-set-QT_IM_MODULE-in-non-testing-mode.patch
+  * 0001-Also-theme-the-default-cursor-for-the-root-window.patch
+  * 0001-Fix-display-of-user-avatars.-684.patch
+  * 0001-Make-the-default-cursor-themed.patch
+  * 0001-Parse-desktop-file-sections.patch
+  * 0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
+  * 0002-Ignore-session-desktop-files-with-the-Hidden-propert.patch
+  * 0003-elarun-Update-date-and-time.patch
+  * 0004-Support-Non-Latin-characters-in-theme-settings-708.patch
+  * 0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
+- Refresh patches:
+  * 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
+  * proper_pam.diff
+
+---

Old:

  0001-Also-set-QT_IM_MODULE-in-non-testing-mode.patch
  0001-Also-theme-the-default-cursor-for-the-root-window.patch
  0001-Fix-display-of-user-avatars.-684.patch
  0001-Make-the-default-cursor-themed.patch
  0001-Parse-desktop-file-sections.patch
  0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
  0002-Ignore-session-desktop-files-with-the-Hidden-propert.patch
  0003-elarun-Update-date-and-time.patch
  0004-Support-Non-Latin-characters-in-theme-settings-708.patch
  0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
  sddm-0.14.0.tar.xz

New:

  sddm-0.15.0.tar.gz



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.yO2caY/_old  2017-09-08 20:43:36.689365644 +0200
+++ /var/tmp/diff_new_pack.yO2caY/_new  2017-09-08 20:43:36.697364519 +0200
@@ -20,13 +20,13 @@
 %{!?_unitdir: %global _unitdir /usr/lib/systemd/system}
 
 Name:   sddm
-Version:0.14.0
+Version:0.15.0
 Release:0
 Summary:QML-based display manager
 License:GPL-2.0+
 Group:  System/GUI/KDE
 Url:https://github.com/sddm/sddm
-Source: 
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
+Source: 
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.conf
 Source2:X11-displaymanagers-%{name}
 # PATCH-FIX-UPSTREAM 
0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch -- Revert to 
0.13.0 config syntax
@@ -44,22 +44,8 @@
 # PATCH-FIX-OPENSUSE sddm-service-handle-plymouth.patch -- sddm has some 
rudimentary support for plymouth handling, which only works with 
plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
 Patch5: sddm-service-handle-plymouth.patch
-# PATCH-FIX-UPSTREAM 0001-Make-the-default-cursor-themed.patch -- Make the 
default cursor themed
-Patch7: 0001-Make-the-default-cursor-themed.patch
 # PATCH-FIX-OPENSUSE 0001-Systemd-service-unit-Use-tty7-by-default.patch -- 
Use tty7 by default in the systemd service unit
 Patch8: 0001-Systemd-service-unit-Use-tty7-by-default.patch
-# PATCH-FIX-UPSTREAM 
0001-Also-theme-the-default-cursor-for-the-root-window.patch
-Patch9: 0001-Also-theme-the-default-cursor-for-the-root-window.patch
-# Bugfixes from upstream develop branch
-Patch10:0001-Fix-display-of-user-avatars.-684.patch
-Patch11:0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
-Patch12:0003-elarun-Update-date-and-time.patch
-Patch13:0004-Support-Non-Latin-characters-in-theme-settings-708.patch
-Patch14:0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
-Patch15:0001-Also-set-QT_IM_MODULE-in-non-testing-mode.patch
-# PATCH-FIX-UPSTREAM 
-Patch16:0001-Parse-desktop-file-sections.patch
-Patch17:

commit sddm for openSUSE:Factory

2017-07-12 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-07-12 19:32:52

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Wed Jul 12 19:32:52 2017 rev:22 rq:509273 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-06-01 
16:23:24.689998477 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-07-12 
19:32:54.158636751 +0200
@@ -1,0 +2,13 @@
+Mon Jul 10 19:30:11 UTC 2017 - fab...@ritter-vogt.de
+
+- Replace patch with version merged upstream, to avoid potentially
+  killing the X server:
+  * 0001-Also-theme-the-default-cursor-for-the-root-window.patch
+
+---
+Fri Jul  7 12:03:41 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to keep old entries in XAUTHORITY file (boo#1043221):
+  * 0001-Do-not-truncate-XAUTHORITY-file-on-login.patch
+
+---

New:

  0001-Do-not-truncate-XAUTHORITY-file-on-login.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.2Vs7qH/_old  2017-07-12 19:32:55.934386209 +0200
+++ /var/tmp/diff_new_pack.2Vs7qH/_new  2017-07-12 19:32:55.938385645 +0200
@@ -62,6 +62,8 @@
 Patch17:0002-Ignore-session-desktop-files-with-the-Hidden-propert.patch
 # PATCH-FIX-OPENSUSE
 Patch18:0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch
+# PATCH-FIX-UPSTREAM
+Patch19:0001-Do-not-truncate-XAUTHORITY-file-on-login.patch
 BuildRequires:  cmake
 BuildRequires:  extra-cmake-modules >= 1.4.0
 BuildRequires:  fdupes
@@ -143,6 +145,7 @@
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
 
 %build
 %cmake \

++ 0001-Also-theme-the-default-cursor-for-the-root-window.patch ++
--- /var/tmp/diff_new_pack.2Vs7qH/_old  2017-07-12 19:32:55.966381695 +0200
+++ /var/tmp/diff_new_pack.2Vs7qH/_new  2017-07-12 19:32:55.966381695 +0200
@@ -1,4 +1,4 @@
-From 1b55ad727127f624c31fa656386b13c208455e42 Mon Sep 17 00:00:00 2001
+From ddbf5d75cb9504279a190b641a3d74edf43d9e76 Mon Sep 17 00:00:00 2001
 From: Fabian Vogt 
 Date: Fri, 5 May 2017 23:17:26 +0200
 Subject: [PATCH] Also theme the default cursor for the root window
@@ -9,7 +9,7 @@
  1 file changed, 11 insertions(+), 1 deletion(-)
 
 diff --git a/src/daemon/XorgDisplayServer.cpp 
b/src/daemon/XorgDisplayServer.cpp
-index d06d89a..267ea9d 100644
+index d06d89a1..76568566 100644
 --- a/src/daemon/XorgDisplayServer.cpp
 +++ b/src/daemon/XorgDisplayServer.cpp
 @@ -249,7 +249,7 @@ namespace SDDM {
@@ -21,16 +21,13 @@
  qDebug() << "Running display stop script " << displayStopCommand;
  displayStopScript->start(displayStopCommand);
  
-@@ -285,11 +285,21 @@ namespace SDDM {
+@@ -285,8 +285,18 @@ namespace SDDM {
  env.insert(QStringLiteral("PATH"), 
mainConfig.Users.DefaultPath.get());
  env.insert(QStringLiteral("XAUTHORITY"), m_authPath);
  env.insert(QStringLiteral("SHELL"), QStringLiteral("/bin/sh"));
 +env.insert(QStringLiteral("XCURSOR_THEME"), 
mainConfig.Theme.CursorTheme.get());
  displayScript->setProcessEnvironment(env);
  
- // delete displayScript on finish
- connect(displayScript, SIGNAL(finished(int,QProcess::ExitStatus)), 
displayScript, SLOT(deleteLater()));
- 
 +qDebug() << "Setting default cursor";
 +displayScript->start(QStringLiteral("xsetroot -cursor_name 
left_ptr"));
 +
@@ -40,9 +37,6 @@
 +displayScript->kill();
 +}
 +
- // start display setup script
- qDebug() << "Running display setup script " << displayCommand;
- displayScript->start(displayCommand);
--- 
-2.12.0
-
+ // delete displayScript on finish
+ connect(displayScript, SIGNAL(finished(int,QProcess::ExitStatus)), 
displayScript, SLOT(deleteLater()));
+ 

++ 0001-Do-not-truncate-XAUTHORITY-file-on-login.patch ++
>From 9aa15075efbe713ffd40bec4b5ee90957c0a5605 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Fri, 7 Jul 2017 14:01:17 +0200
Subject: [PATCH] Do not truncate XAUTHORITY file on login

xauth gets used to edit the file, so do not truncate the file with
QIODevice::WriteOnly before.
---
 src/daemon/XorgDisplayServer.cpp | 2 +-
 src/helper/UserSession.cpp   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: sddm-0.14.0/src/daemon/XorgDisplayServer.cpp
===
--- sddm-0.14.0.orig/src/daemon/XorgDisplayServer.cpp
+++ sddm-0.14.0/src/daemon/XorgDisplayServer.cpp
@@ -92,7 +92,7 @@ namespace SDDM {
 
 // 

commit sddm for openSUSE:Factory

2017-06-01 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-06-01 16:23:23

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Thu Jun  1 16:23:23 2017 rev:21 rq:496501 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-04-28 
10:53:28.221537774 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-06-01 
16:23:24.689998477 +0200
@@ -1,0 +2,36 @@
+Fri May 19 08:08:55 UTC 2017 - fab...@ritter-vogt.de
+
+- Also set the default last session in sysconfig-support.patch
+  (replaces boo949903.patch)
+- Adjust 0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch
+  to also handle symlinks for the last session
+
+---
+Thu May 18 09:56:47 UTC 2017 - fab...@ritter-vogt.de
+
+- Replace patch with newer version:
+  * 0001-Also-theme-the-default-cursor-for-the-root-window.patch
+
+---
+Mon May 15 13:06:04 UTC 2017 - fv...@suse.com
+
+- Add upstream patches: 
+  * 0001-Parse-desktop-file-sections.patch
+  * 0002-Ignore-session-desktop-files-with-the-Hidden-propert.patch
+- Add downstream patch:
+  * 0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch
+- Fix typo in sysconfig-support.patch (DYSPLAY -> DISPLAY)
+- Use default.desktop as default autologin session file
+
+---
+Mon May  8 19:30:55 UTC 2017 - fab...@ritter-vogt.de
+
+- BuildRequire python-docutils instead of python3-docutils on SLE
+
+---
+Fri May  5 21:29:14 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to fix the default X cursor appearing sometimes:
+  * 0001-Also-theme-the-default-cursor-for-the-root-window.patch
+
+---

Old:

  boo949903.patch

New:

  0001-Also-theme-the-default-cursor-for-the-root-window.patch
  0001-Parse-desktop-file-sections.patch
  0002-Ignore-session-desktop-files-with-the-Hidden-propert.patch
  0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.2xBH9b/_old  2017-06-01 16:23:25.677859180 +0200
+++ /var/tmp/diff_new_pack.2xBH9b/_new  2017-06-01 16:23:25.681858617 +0200
@@ -44,12 +44,12 @@
 # PATCH-FIX-OPENSUSE sddm-service-handle-plymouth.patch -- sddm has some 
rudimentary support for plymouth handling, which only works with 
plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
 Patch5: sddm-service-handle-plymouth.patch
-# PATCH-FIX-OPENSUSE boo949903.patch -- Let sddm also default to plasma5 for 
last used session (boo#949903)
-Patch6: boo949903.patch
 # PATCH-FIX-UPSTREAM 0001-Make-the-default-cursor-themed.patch -- Make the 
default cursor themed
 Patch7: 0001-Make-the-default-cursor-themed.patch
 # PATCH-FIX-OPENSUSE 0001-Systemd-service-unit-Use-tty7-by-default.patch -- 
Use tty7 by default in the systemd service unit
 Patch8: 0001-Systemd-service-unit-Use-tty7-by-default.patch
+# PATCH-FIX-UPSTREAM 
0001-Also-theme-the-default-cursor-for-the-root-window.patch
+Patch9: 0001-Also-theme-the-default-cursor-for-the-root-window.patch
 # Bugfixes from upstream develop branch
 Patch10:0001-Fix-display-of-user-avatars.-684.patch
 Patch11:0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
@@ -57,6 +57,11 @@
 Patch13:0004-Support-Non-Latin-characters-in-theme-settings-708.patch
 Patch14:0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
 Patch15:0001-Also-set-QT_IM_MODULE-in-non-testing-mode.patch
+# PATCH-FIX-UPSTREAM 
+Patch16:0001-Parse-desktop-file-sections.patch
+Patch17:0002-Ignore-session-desktop-files-with-the-Hidden-propert.patch
+# PATCH-FIX-OPENSUSE
+Patch18:0003-Leave-duplicate-symlinks-out-of-the-SessionModel.patch
 BuildRequires:  cmake
 BuildRequires:  extra-cmake-modules >= 1.4.0
 BuildRequires:  fdupes
@@ -64,7 +69,11 @@
 BuildRequires:  libqt5-linguist-devel
 BuildRequires:  pam-devel
 BuildRequires:  pkg-config
+%if 0%{?sle_version} && !0%{?is_opensuse}
+BuildRequires:  python-docutils
+%else
 BuildRequires:  python3-docutils
+%endif
 # Autodetect UID_MIN and UID_MAX from /etc/login.defs
 BuildRequires:  shadow
 BuildRequires:  pkgconfig(Qt5Core) >= 5.6.0
@@ -122,15 +131,18 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 %patch10 

commit sddm for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-04-28 10:53:25

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Fri Apr 28 10:53:25 2017 rev:20 rq:491047 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-04-17 
10:21:17.552859442 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-04-28 
10:53:28.221537774 +0200
@@ -1,0 +2,5 @@
+Tue Apr 25 15:30:17 UTC 2017 - fab...@ritter-vogt.de
+
+- BuildRequire python3-docutils directly
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.06eiqI/_old  2017-04-28 10:53:29.425367635 +0200
+++ /var/tmp/diff_new_pack.06eiqI/_new  2017-04-28 10:53:29.429367070 +0200
@@ -64,7 +64,7 @@
 BuildRequires:  libqt5-linguist-devel
 BuildRequires:  pam-devel
 BuildRequires:  pkg-config
-BuildRequires:  python-docutils
+BuildRequires:  python3-docutils
 # Autodetect UID_MIN and UID_MAX from /etc/login.defs
 BuildRequires:  shadow
 BuildRequires:  pkgconfig(Qt5Core) >= 5.6.0




commit sddm for openSUSE:Factory

2017-04-17 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-04-17 10:21:15

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Mon Apr 17 10:21:15 2017 rev:19 rq:484360 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-03-21 
22:45:38.219966923 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-04-17 
10:21:17.552859442 +0200
@@ -1,0 +2,14 @@
+Sat Apr  1 19:24:40 UTC 2017 - fab...@ritter-vogt.de
+
+- Use default tty (tty7) in systemd unit as specified in sddm.conf:
+  * 0001-Systemd-service-unit-Use-tty7-by-default.patch
+- Add patch from upstream to allow setting QT_IM_MODULE in sddm.conf:
+  * 0001-Also-set-QT_IM_MODULE-in-non-testing-mode.patch
+
+---
+Fri Mar 31 17:28:46 UTC 2017 - fab...@ritter-vogt.de
+
+- Revert calling plymouth quit with --retain-splash. It is possible
+  that this prevents logging in on tty1.
+
+---

New:

  0001-Also-set-QT_IM_MODULE-in-non-testing-mode.patch
  0001-Systemd-service-unit-Use-tty7-by-default.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.8949HM/_old  2017-04-17 10:21:18.492726335 +0200
+++ /var/tmp/diff_new_pack.8949HM/_new  2017-04-17 10:21:18.492726335 +0200
@@ -48,12 +48,15 @@
 Patch6: boo949903.patch
 # PATCH-FIX-UPSTREAM 0001-Make-the-default-cursor-themed.patch -- Make the 
default cursor themed
 Patch7: 0001-Make-the-default-cursor-themed.patch
+# PATCH-FIX-OPENSUSE 0001-Systemd-service-unit-Use-tty7-by-default.patch -- 
Use tty7 by default in the systemd service unit
+Patch8: 0001-Systemd-service-unit-Use-tty7-by-default.patch
 # Bugfixes from upstream develop branch
 Patch10:0001-Fix-display-of-user-avatars.-684.patch
 Patch11:0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
 Patch12:0003-elarun-Update-date-and-time.patch
 Patch13:0004-Support-Non-Latin-characters-in-theme-settings-708.patch
 Patch14:0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
+Patch15:0001-Also-set-QT_IM_MODULE-in-non-testing-mode.patch
 BuildRequires:  cmake
 BuildRequires:  extra-cmake-modules >= 1.4.0
 BuildRequires:  fdupes
@@ -121,11 +124,13 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 
 %build
 %cmake \

++ 0001-Also-set-QT_IM_MODULE-in-non-testing-mode.patch ++
>From 10352e08aae4a683fa804010e47bdac459892406 Mon Sep 17 00:00:00 2001
From: David Edmundson 
Date: Sun, 26 Mar 2017 16:05:02 +0100
Subject: [PATCH] Also set QT_IM_MODULE in non testing mode

QT_IM_MODULE is set from a config value, however it currently is only
set in testing mode
---
 src/daemon/Greeter.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/daemon/Greeter.cpp b/src/daemon/Greeter.cpp
index ff367ca..0240085 100644
--- a/src/daemon/Greeter.cpp
+++ b/src/daemon/Greeter.cpp
@@ -180,6 +180,7 @@ namespace SDDM {
 env.insert(QStringLiteral("XDG_VTNR"), 
QString::number(m_display->terminalId()));
 env.insert(QStringLiteral("XDG_SESSION_CLASS"), 
QStringLiteral("greeter"));
 env.insert(QStringLiteral("XDG_SESSION_TYPE"), 
m_display->sessionType());
+env.insert(QStringLiteral("QT_IM_MODULE"), 
mainConfig.InputMethod.get());
 
 //some themes may use KDE components and that will automatically 
load KDE's crash handler which we don't want
 //counterintuitively setting this env disables that handler
-- 
2.12.0

++ 0001-Systemd-service-unit-Use-tty7-by-default.patch ++
>From b7cd2c4a505eaadecf1ba5cd895928f23b23e9f2 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Sat, 1 Apr 2017 21:21:36 +0200
Subject: [PATCH] Systemd service unit: Use tty7 by default

- We use tty7 by default in sddm.conf
---
 services/sddm.service.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/services/sddm.service.in b/services/sddm.service.in
index df03d92..0ef4b5d 100644
--- a/services/sddm.service.in
+++ b/services/sddm.service.in
@@ -1,8 +1,8 @@
 [Unit]
 Description=Simple Desktop Display Manager
 Documentation=man:sddm(1) man:sddm.conf(5)
-Conflicts=getty@tty1.service
-After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+Conflicts=getty@tty7.service
+After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service
 
 [Service]
 ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/sddm
-- 
2.12.0


commit sddm for openSUSE:Factory

2017-03-21 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-03-21 22:45:35

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Tue Mar 21 22:45:35 2017 rev:18 rq:480839 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2017-03-13 
15:30:38.102430236 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-03-21 
22:45:38.219966923 +0100
@@ -1,0 +2,5 @@
+Fri Mar 17 12:43:06 UTC 2017 - jeng...@inai.de
+
+- Ensure neutrality of descriptions.
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.agqLA3/_old  2017-03-21 22:45:39.103841965 +0100
+++ /var/tmp/diff_new_pack.agqLA3/_new  2017-03-21 22:45:39.107841400 +0100
@@ -22,7 +22,7 @@
 Name:   sddm
 Version:0.14.0
 Release:0
-Summary:Lightweight QML-based display manager
+Summary:QML-based display manager
 License:GPL-2.0+
 Group:  System/GUI/KDE
 Url:https://github.com/sddm/sddm
@@ -79,12 +79,12 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-SDDM is a modern display manager for X11 aiming to be fast, simple and 
beautiful.
-It uses modern technologies like QtQuick, which in turn gives the designer the
-ability to create smooth, animated user interfaces.
+SDDM is a display manager for X11. It uses technologies like QtQuick,
+which in turn gives the designer the ability to create animated user
+interfaces.
 
 %package branding-openSUSE
-Summary:Lightweight QML-based display manager. openSUSE branding
+Summary:openSUSE branding for SDDM, a QML-based display manager
 Group:  System/GUI/KDE
 PreReq: sddm
 Requires:   sddm-theme-openSUSE
@@ -93,23 +93,23 @@
 Conflicts:  otherproviders(sddm-branding)
 
 %description branding-openSUSE
-SDDM is a modern display manager for X11 aiming to be fast, simple and 
beautiful.
-It uses modern technologies like QtQuick, which in turn gives the designer the
-ability to create smooth, animated user interfaces. This package provides the
-openSUSE branding for SDDM.
+SDDM is a display manager for X11. It uses technologies like QtQuick,
+which in turn gives the designer the ability to create animated user
+interfaces.
+This package provides the openSUSE branding for SDDM.
 
 %package branding-upstream
-Summary:Lightweight QML-based display manager. upstream branding
+Summary:Upstream branding for SDDM, a QML-based display manager
 Group:  System/GUI/KDE
 Supplements:packageand(plasma5-workspace:branding-upstream)
 Provides:   sddm-branding = %{version}
 Conflicts:  otherproviders(sddm-branding)
 
 %description branding-upstream
-SDDM is a modern display manager for X11 aiming to be fast, simple and 
beautiful.
-It uses modern technologies like QtQuick, which in turn gives the designer the
-ability to create smooth, animated user interfaces. This package provides
-upstream branding for SDDM.
+SDDM is a display manager for X11. It uses technologies like QtQuick,
+which in turn gives the designer the ability to create animated user
+interfaces.
+This package provides upstream branding for SDDM.
 
 %prep
 %setup -q -n %{name}-%{version}




commit sddm for openSUSE:Factory

2017-03-13 Thread root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2017-03-13 15:30:37

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Mon Mar 13 15:30:37 2017 rev:17 rq:478453 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2016-11-28 
15:03:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2017-03-13 
15:30:38.102430236 +0100
@@ -1,0 +2,15 @@
+Wed Mar  8 12:47:38 UTC 2017 - wba...@tmo.at
+
+- Call "plymouth quit --retain-splash" instead of "plymouth_quit"
+  in the displaymanager script to hide the text mode login prompt
+  during boot (the dedicated sddm.service does the same).
+- Also, don't call xdm_reload_files, that just re-generates the xdm
+  config files according to the sysconfig values and only makes
+  sense for xdm.
+
+---
+Sat Dec 17 20:53:58 UTC 2016 - fab...@ritter-vogt.de
+
+- Fix typos in description
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.INVyAl/_old  2017-03-13 15:30:39.134284402 +0100
+++ /var/tmp/diff_new_pack.INVyAl/_new  2017-03-13 15:30:39.142283272 +0100
@@ -79,7 +79,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-SDDM is a modern display manager for X11 aiming to be fast, simple and 
beatiful.
+SDDM is a modern display manager for X11 aiming to be fast, simple and 
beautiful.
 It uses modern technologies like QtQuick, which in turn gives the designer the
 ability to create smooth, animated user interfaces.
 
@@ -93,9 +93,9 @@
 Conflicts:  otherproviders(sddm-branding)
 
 %description branding-openSUSE
-SDDM is a modern display manager for X11 aiming to be fast, simple and 
beatiful.
+SDDM is a modern display manager for X11 aiming to be fast, simple and 
beautiful.
 It uses modern technologies like QtQuick, which in turn gives the designer the
-ability to create smooth, animated user interfaces. This package provides
+ability to create smooth, animated user interfaces. This package provides the
 openSUSE branding for SDDM.
 
 %package branding-upstream
@@ -106,7 +106,7 @@
 Conflicts:  otherproviders(sddm-branding)
 
 %description branding-upstream
-SDDM is a modern display manager for X11 aiming to be fast, simple and 
beatiful.
+SDDM is a modern display manager for X11 aiming to be fast, simple and 
beautiful.
 It uses modern technologies like QtQuick, which in turn gives the designer the
 ability to create smooth, animated user interfaces. This package provides
 upstream branding for SDDM.

++ X11-displaymanagers-sddm ++
--- /var/tmp/diff_new_pack.INVyAl/_old  2017-03-13 15:30:39.214273097 +0100
+++ /var/tmp/diff_new_pack.INVyAl/_new  2017-03-13 15:30:39.214273097 +0100
@@ -1,7 +1,8 @@
 sddm_start_proc () {
-plymouth_quit
-xdm_reload_files
-return $?
+if [ -x /usr/bin/plymouth ]; then
+/usr/bin/plymouth quit --retain-splash
+fi
+return 0
 }
 
 sddm_vars() {




commit sddm for openSUSE:Factory

2016-11-28 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2016-11-28 15:03:35

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2016-11-25 
12:28:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2016-11-28 
15:03:36.0 +0100
@@ -1,0 +2,21 @@
+Fri Nov 25 11:57:34 UTC 2016 - fab...@ritter-vogt.de
+
+- Fix %post and %postun of branding subpackages
+
+---
+Mon Nov 21 20:55:27 UTC 2016 - fab...@ritter-vogt.de
+
+- Add various bugfixes from develop branch:
+  * 0001-Fix-display-of-user-avatars.-684.patch
+  * 0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
+  * 0003-elarun-Update-date-and-time.patch
+  * 0004-Support-Non-Latin-characters-in-theme-settings-708.patch
+  * 0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
+
+---
+Wed Oct  5 07:23:51 UTC 2016 - fab...@ritter-vogt.de
+
+- Sync with KDE:Frameworks5:LTS, sort sddm.changes
+- Remove 0001-Fall-back-to-regular-login-when-autologin-fails.patch
+
+---
@@ -22,0 +44,51 @@
+
+---
+Mon Aug 29 07:03:56 UTC 2016 - fab...@ritter-vogt.de
+
+- Update to 0.14.0:
+  - http://hawaiios.org/news/2016/08/28/sddm-0.14.0
++ New sddm.conf option EnableAvatars (useful for slow filesystems)
++ New sddm.conf option UserAuthFile on the XDisplay section
+  to change the default Xauthority file name and path.
++ New sddm.conf option SessionLogFile on XDisplay and WaylandDisplay
+  sections to change the default user session log location.
++ ComboBox now exposes the arrow background color as
+  "arrowColor" property.
++ New "style" theme configuration for QtQuick Controls 2.0.
++ Require Qt 5.6 or better.
++ Enable HiDPI support.
++ Refresh sessions list.
++ Always fallback to an embedded theme if no suitable theme is found.
+- Actually change Qt platform theme.
+- Switch to Wayland session vt only when authentication
+  succeeds.
+- Close PAM session.
+- Delete PAM credentials after closing the session.
+* More theme-neutral default user and root avatars
+* REMOVED the "circles" theme. Remember to change it if you had it set!
+* REMOVED the "maui" theme as a standalone theme as it is now
+  embedded in the greeter. Remember to change the theme to empty
+  if you had it set to "maui".
+* Update Estonian translation.
+* Add Catalan translation from Robert Antoni Buj Gelonch.
+* Add Dutch translation from Eric Hameleers.
+* Add Slovak translation from Martin Minka.
+* Add Swedish translation from Kristoffer Grundström.
+* Add Ukrainian translation from Cherevan Andriy.
+* Add Indian flag from Sanjeev Premi.
+- Refresh patches:
+  - sddm-relaxed-auth.diff
+  - sddm-service-handle-plymouth.patch
+  - sysconfig-support.patch
+- Remove upstream patches:
+  - 0001-Add-a-config-option-to-enable-avatars.patch
+  - 0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
+  - root.face.icon.png
+  - default.face.icon.png
+- Remove upstreamed patches:
+  - add-count-property-to-UserModel.patch
+  - add-threshold-to-disable-avatars.patch
+  - specify-default-config-entries.patch
+- Revert upstream config section name change (gh#sddm/sddm#680):
+  - 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
+- Use "Current=" instead of "Current=maui"

Old:

  0001-Add-a-config-option-to-enable-avatars.patch
  0001-Fall-back-to-regular-login-when-autologin-fails.patch
  0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
  add-count-property-to-UserModel.patch
  add-threshold-to-disable-avatars.patch
  default.face.icon.png
  root.face.icon.png
  sddm-0.13.0.tar.xz
  specify-default-config-entries.patch

New:

  0001-Fix-display-of-user-avatars.-684.patch
  0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
  0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
  0003-elarun-Update-date-and-time.patch
  0004-Support-Non-Latin-characters-in-theme-settings-708.patch
  0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
  sddm-0.14.0.tar.xz



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.EuI2qa/_old  2016-11-28 15:03:37.0 +0100
+++ /var/tmp/diff_new_pack.EuI2qa/_new  2016-11-28 15:03:37.0 +0100
@@ -20,7 +20,7 @@
 %{!?_unitdir: %global _unitdir 

commit sddm for openSUSE:Factory

2016-11-25 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2016-11-25 12:28:56

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2016-11-24 
21:18:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2016-11-25 
12:28:58.0 +0100
@@ -2,16 +1,0 @@
-Mon Nov 21 20:55:27 UTC 2016 - fab...@ritter-vogt.de
-
-- Add various bugfixes from develop branch:
-  * 0001-Fix-display-of-user-avatars.-684.patch
-  * 0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
-  * 0003-elarun-Update-date-and-time.patch
-  * 0004-Support-Non-Latin-characters-in-theme-settings-708.patch
-  * 0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
-

-Wed Oct  5 07:23:51 UTC 2016 - fab...@ritter-vogt.de
-
-- Sync with KDE:Frameworks5:LTS, sort sddm.changes
-- Remove 0001-Fall-back-to-regular-login-when-autologin-fails.patch
-

@@ -39,51 +22,0 @@
-

-Mon Aug 29 07:03:56 UTC 2016 - fab...@ritter-vogt.de
-
-- Update to 0.14.0:
-  - http://hawaiios.org/news/2016/08/28/sddm-0.14.0
-+ New sddm.conf option EnableAvatars (useful for slow filesystems)
-+ New sddm.conf option UserAuthFile on the XDisplay section
-  to change the default Xauthority file name and path.
-+ New sddm.conf option SessionLogFile on XDisplay and WaylandDisplay
-  sections to change the default user session log location.
-+ ComboBox now exposes the arrow background color as
-  "arrowColor" property.
-+ New "style" theme configuration for QtQuick Controls 2.0.
-+ Require Qt 5.6 or better.
-+ Enable HiDPI support.
-+ Refresh sessions list.
-+ Always fallback to an embedded theme if no suitable theme is found.
-- Actually change Qt platform theme.
-- Switch to Wayland session vt only when authentication
-  succeeds.
-- Close PAM session.
-- Delete PAM credentials after closing the session.
-* More theme-neutral default user and root avatars
-* REMOVED the "circles" theme. Remember to change it if you had it set!
-* REMOVED the "maui" theme as a standalone theme as it is now
-  embedded in the greeter. Remember to change the theme to empty
-  if you had it set to "maui".
-* Update Estonian translation.
-* Add Catalan translation from Robert Antoni Buj Gelonch.
-* Add Dutch translation from Eric Hameleers.
-* Add Slovak translation from Martin Minka.
-* Add Swedish translation from Kristoffer Grundström.
-* Add Ukrainian translation from Cherevan Andriy.
-* Add Indian flag from Sanjeev Premi.
-- Refresh patches:
-  - sddm-relaxed-auth.diff
-  - sddm-service-handle-plymouth.patch
-  - sysconfig-support.patch
-- Remove upstream patches:
-  - 0001-Add-a-config-option-to-enable-avatars.patch
-  - 0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
-  - root.face.icon.png
-  - default.face.icon.png
-- Remove upstreamed patches:
-  - add-count-property-to-UserModel.patch
-  - add-threshold-to-disable-avatars.patch
-  - specify-default-config-entries.patch
-- Revert upstream config section name change (gh#sddm/sddm#680):
-  - 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
-- Use "Current=" instead of "Current=maui"

Old:

  0001-Fix-display-of-user-avatars.-684.patch
  0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
  0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
  0003-elarun-Update-date-and-time.patch
  0004-Support-Non-Latin-characters-in-theme-settings-708.patch
  0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
  sddm-0.14.0.tar.xz

New:

  0001-Add-a-config-option-to-enable-avatars.patch
  0001-Fall-back-to-regular-login-when-autologin-fails.patch
  0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
  add-count-property-to-UserModel.patch
  add-threshold-to-disable-avatars.patch
  default.face.icon.png
  root.face.icon.png
  sddm-0.13.0.tar.xz
  specify-default-config-entries.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.ImKTDk/_old  2016-11-25 12:29:00.0 +0100
+++ /var/tmp/diff_new_pack.ImKTDk/_new  2016-11-25 12:29:00.0 +0100
@@ -20,7 +20,7 @@
 %{!?_unitdir: %global _unitdir /usr/lib/systemd/system}
 
 Name:   sddm
-Version:0.14.0
+Version:0.13.0
 Release:0
 Summary:Lightweight QML-based display manager
 License:GPL-2.0+

commit sddm for openSUSE:Factory

2016-11-24 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2016-11-24 21:18:37

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2016-10-04 
15:45:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2016-11-24 
21:18:38.0 +0100
@@ -1,0 +2,16 @@
+Mon Nov 21 20:55:27 UTC 2016 - fab...@ritter-vogt.de
+
+- Add various bugfixes from develop branch:
+  * 0001-Fix-display-of-user-avatars.-684.patch
+  * 0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
+  * 0003-elarun-Update-date-and-time.patch
+  * 0004-Support-Non-Latin-characters-in-theme-settings-708.patch
+  * 0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
+
+---
+Wed Oct  5 07:23:51 UTC 2016 - fab...@ritter-vogt.de
+
+- Sync with KDE:Frameworks5:LTS, sort sddm.changes
+- Remove 0001-Fall-back-to-regular-login-when-autologin-fails.patch
+
+---
@@ -22,0 +39,51 @@
+
+---
+Mon Aug 29 07:03:56 UTC 2016 - fab...@ritter-vogt.de
+
+- Update to 0.14.0:
+  - http://hawaiios.org/news/2016/08/28/sddm-0.14.0
++ New sddm.conf option EnableAvatars (useful for slow filesystems)
++ New sddm.conf option UserAuthFile on the XDisplay section
+  to change the default Xauthority file name and path.
++ New sddm.conf option SessionLogFile on XDisplay and WaylandDisplay
+  sections to change the default user session log location.
++ ComboBox now exposes the arrow background color as
+  "arrowColor" property.
++ New "style" theme configuration for QtQuick Controls 2.0.
++ Require Qt 5.6 or better.
++ Enable HiDPI support.
++ Refresh sessions list.
++ Always fallback to an embedded theme if no suitable theme is found.
+- Actually change Qt platform theme.
+- Switch to Wayland session vt only when authentication
+  succeeds.
+- Close PAM session.
+- Delete PAM credentials after closing the session.
+* More theme-neutral default user and root avatars
+* REMOVED the "circles" theme. Remember to change it if you had it set!
+* REMOVED the "maui" theme as a standalone theme as it is now
+  embedded in the greeter. Remember to change the theme to empty
+  if you had it set to "maui".
+* Update Estonian translation.
+* Add Catalan translation from Robert Antoni Buj Gelonch.
+* Add Dutch translation from Eric Hameleers.
+* Add Slovak translation from Martin Minka.
+* Add Swedish translation from Kristoffer Grundström.
+* Add Ukrainian translation from Cherevan Andriy.
+* Add Indian flag from Sanjeev Premi.
+- Refresh patches:
+  - sddm-relaxed-auth.diff
+  - sddm-service-handle-plymouth.patch
+  - sysconfig-support.patch
+- Remove upstream patches:
+  - 0001-Add-a-config-option-to-enable-avatars.patch
+  - 0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
+  - root.face.icon.png
+  - default.face.icon.png
+- Remove upstreamed patches:
+  - add-count-property-to-UserModel.patch
+  - add-threshold-to-disable-avatars.patch
+  - specify-default-config-entries.patch
+- Revert upstream config section name change (gh#sddm/sddm#680):
+  - 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
+- Use "Current=" instead of "Current=maui"

Old:

  0001-Add-a-config-option-to-enable-avatars.patch
  0001-Fall-back-to-regular-login-when-autologin-fails.patch
  0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
  add-count-property-to-UserModel.patch
  add-threshold-to-disable-avatars.patch
  default.face.icon.png
  root.face.icon.png
  sddm-0.13.0.tar.xz
  specify-default-config-entries.patch

New:

  0001-Fix-display-of-user-avatars.-684.patch
  0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
  0002-Add-a-config-option-to-enable-high-DPI-scaling-701.patch
  0003-elarun-Update-date-and-time.patch
  0004-Support-Non-Latin-characters-in-theme-settings-708.patch
  0005-Cleanup-dangling-pointer-in-SocketServer-725.patch
  sddm-0.14.0.tar.xz



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.srbMri/_old  2016-11-24 21:18:40.0 +0100
+++ /var/tmp/diff_new_pack.srbMri/_new  2016-11-24 21:18:40.0 +0100
@@ -20,7 +20,7 @@
 %{!?_unitdir: %global _unitdir /usr/lib/systemd/system}
 
 Name:   sddm
-Version:0.13.0
+Version:0.14.0
 Release:0
 Summary:Lightweight QML-based display manager
 License:GPL-2.0+

commit sddm for openSUSE:Factory

2016-10-04 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2016-10-04 15:46:15

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2016-06-12 
18:51:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2016-10-04 
15:45:57.0 +0200
@@ -1,0 +2,23 @@
+Sat Sep 24 17:02:03 UTC 2016 - fab...@ritter-vogt.de
+
+- Add 0001-Fall-back-to-regular-login-when-autologin-fails.patch
+  to fix crash when autologin session not found (boo#1000917)
+
+---
+Thu Sep 22 18:17:01 UTC 2016 - fab...@ritter-vogt.de
+
+- Add 0001-Make-the-default-cursor-themed.patch to fix the default
+  cursor appearance
+
+---
+Wed Sep 21 17:48:23 UTC 2016 - fab...@ritter-vogt.de
+
+- Provide sddm-lang
+
+---
+Thu Sep 15 11:57:36 UTC 2016 - alarr...@suse.com
+
+- Use the new theme name, breeze-openSUSE, in sddm-branding-openSUSE
+- Require the new sddm-theme-openSUSE package
+
+---

New:

  0001-Fall-back-to-regular-login-when-autologin-fails.patch
  0001-Make-the-default-cursor-themed.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.JlWUiX/_old  2016-10-04 15:45:58.0 +0200
+++ /var/tmp/diff_new_pack.JlWUiX/_new  2016-10-04 15:45:58.0 +0200
@@ -57,6 +57,10 @@
 Patch9: specify-default-config-entries.patch
 # PATCH-FIX-UPSTREAM add-threshold-to-disable-avatars.patch -- Add a config 
option/property to define a thershold above which avatars are disabled 
automatically
 Patch10:add-threshold-to-disable-avatars.patch
+# PATCH-FIX-UPSTREAM 0001-Make-the-default-cursor-themed.patch -- Make the 
default cursor themed
+Patch11:0001-Make-the-default-cursor-themed.patch
+# PATCH-FIX-UPSTREAM 
0001-Fall-back-to-regular-login-when-autologin-fails.patch -- Fall back to 
regular login when autologin fails
+Patch12:0001-Fall-back-to-regular-login-when-autologin-fails.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -76,7 +80,8 @@
 BuildRequires:  pkgconfig(xcb-xkb)
 Requires:   sddm-branding = %{version}
 # Merged the -lang package back into the main package
-Obsoletes:  %{name}-lang <= %{version}
+Provides:   %{name}-lang = %{version}
+Obsoletes:  %{name}-lang < %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -88,7 +93,7 @@
 Summary:Lightweight QML-based display manager. openSUSE branding
 Group:  System/GUI/KDE
 PreReq: sddm
-Requires:   plasma5-workspace-branding
+Requires:   sddm-theme-openSUSE
 Supplements:packageand(plasma5-workspace:branding-openSUSE)
 Provides:   sddm-branding = %{version}
 Conflicts:  otherproviders(sddm-branding)
@@ -125,6 +130,8 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
+%patch12 -p1
 cp %{SOURCE3} data/faces/default.face.icon.png
 cp %{SOURCE4} data/faces/root.face.icon.png
 
@@ -162,12 +169,14 @@
 
 %post branding-openSUSE
 if [ $1 -ge 1 -a -f /etc/sddm.conf ]; then
-sed -i -e 's/^Current=maui$/Current=breeze/g' /etc/sddm.conf
+# Upgrade from previous theme name
+sed -i -e 's/^Current=breeze$/Current=breeze-openSUSE/g' /etc/sddm.conf
+sed -i -e 's/^Current=maui$/Current=breeze-openSUSE/g' /etc/sddm.conf
 fi
 
 %postun branding-openSUSE
 if [ $1 -eq 0 -a -f /etc/sddm.conf ]; then
-   sed -i -e 's/^Current=breeze$/Current=maui/g' /etc/sddm.conf
+   sed -i -e 's/^Current=breeze-openSUSE$/Current=maui/g' /etc/sddm.conf
 fi
 
 %files

++ 0001-Fall-back-to-regular-login-when-autologin-fails.patch ++
>From 5f43cbf23a9ec9e3547dfe0f59928d0ac5324db9 Mon Sep 17 00:00:00 2001
From: Jerome Leclanche 
Date: Thu, 5 Nov 2015 21:28:22 +0200
Subject: [PATCH] Fall back to regular login when autologin fails

Fixes #316
---
 src/daemon/Display.cpp | 42 +-
 src/daemon/Display.h   |  1 +
 2 files changed, 26 insertions(+), 17 deletions(-)

diff --git a/src/daemon/Display.cpp b/src/daemon/Display.cpp
index 8de59e5..6bc9965 100644
--- a/src/daemon/Display.cpp
+++ b/src/daemon/Display.cpp
@@ -103,6 +103,29 @@ namespace SDDM {
 m_displayServer->start();
 }
 
+bool Display::attemptAutologin() {
+Session::Type sessionType = Session::X11Session;
+
+// determine session type
+const QString  = 

commit sddm for openSUSE:Factory

2016-06-12 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2016-06-12 18:51:24

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-11-24 
22:28:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2016-06-12 
18:51:25.0 +0200
@@ -1,0 +2,7 @@
+Wed Jun  8 07:45:20 UTC 2016 - f...@suse.com
+
+- Fix build requirements on systemd (bsc#983167)
+  Use pkgconfig() so we don't need to rely on package names. For the
+  record, systemd.pc is now part of systemd main package.
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.4O8zE0/_old  2016-06-12 18:51:26.0 +0200
+++ /var/tmp/diff_new_pack.4O8zE0/_new  2016-06-12 18:51:26.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sddm
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -66,12 +66,13 @@
 BuildRequires:  python-docutils
 # Autodetect UID_MIN and UID_MAX from /etc/login.defs
 BuildRequires:  shadow
-BuildRequires:  systemd-devel
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5DBus)
 BuildRequires:  pkgconfig(Qt5Network)
 BuildRequires:  pkgconfig(Qt5Quick)
 BuildRequires:  pkgconfig(Qt5Test)
+BuildRequires:  pkgconfig(libsystemd)
+BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(xcb-xkb)
 Requires:   sddm-branding = %{version}
 # Merged the -lang package back into the main package






commit sddm for openSUSE:Factory

2015-11-24 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-11-24 22:28:43

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-11-12 
19:39:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-11-24 
22:28:46.0 +0100
@@ -1,0 +2,20 @@
+Fri Nov 20 15:00:22 UTC 2015 - alarr...@suse.com
+
+- Renamed config option and property from UsersThresholdToDisableAvatars
+  to DisableAvatarsThreshold as proposed by upstream before accepting
+  the patches.
+
+---
+Wed Nov 11 14:34:21 UTC 2015 - alarr...@suse.com
+
+- Add patch add-count-property-to-UserModel.patch: Adds a property so
+  sddm themes can access the number of users in the system
+- Add patch specify-default-config-entries.patch: Stores which config
+  values have been read from the config file or are just default values.
+- Add patch add-threshold-to-disable-avatars.patch: Adds a config option
+  and property named UsersThresholdToDisableAvatars, if the number of
+  users in the system is greater than the threshold, use a default avatar
+  for all users and disable avatar loading.
+- These patches together with patches in plasma5-workspace fix bnc#953778
+
+---

New:

  add-count-property-to-UserModel.patch
  add-threshold-to-disable-avatars.patch
  specify-default-config-entries.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.4TZF8w/_old  2015-11-24 22:28:47.0 +0100
+++ /var/tmp/diff_new_pack.4TZF8w/_new  2015-11-24 22:28:47.0 +0100
@@ -51,6 +51,12 @@
 Patch6: 0001-Add-a-config-option-to-enable-avatars.patch
 # PATCH-FIX-UPSTREAM 
0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch -- Use new face 
icons
 Patch7: 0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
+# PATCH-FIX-UPSTREAM add-count-property-to-UserModel.patch -- Adds a new 
property so themes can use it
+Patch8: add-count-property-to-UserModel.patch
+# PATCH-FIX-UPSTREAM specify-default-config-entries.patch -- Specify which 
config entries are a default and which come from the config file
+Patch9: specify-default-config-entries.patch
+# PATCH-FIX-UPSTREAM add-threshold-to-disable-avatars.patch -- Add a config 
option/property to define a thershold above which avatars are disabled 
automatically
+Patch10:add-threshold-to-disable-avatars.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -115,6 +121,9 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
 cp %{SOURCE3} data/faces/default.face.icon.png
 cp %{SOURCE4} data/faces/root.face.icon.png
 

++ add-count-property-to-UserModel.patch ++
Index: sddm-0.13.0/src/greeter/UserModel.h
===
--- sddm-0.13.0.orig/src/greeter/UserModel.h
+++ sddm-0.13.0/src/greeter/UserModel.h
@@ -32,6 +32,7 @@ namespace SDDM {
 Q_DISABLE_COPY(UserModel)
 Q_PROPERTY(int lastIndex READ lastIndex CONSTANT)
 Q_PROPERTY(QString lastUser READ lastUser CONSTANT)
+Q_PROPERTY(int count READ rowCount CONSTANT)
 public:
 enum UserRoles {
 NameRole = Qt::UserRole + 1,
++ add-threshold-to-disable-avatars.patch ++
Index: sddm-0.13.0/src/greeter/UserModel.cpp
===
--- sddm-0.13.0.orig/src/greeter/UserModel.cpp
+++ sddm-0.13.0/src/greeter/UserModel.cpp
@@ -51,6 +51,9 @@ namespace SDDM {
 };
 
 UserModel::UserModel(QObject *parent) : QAbstractListModel(parent), d(new 
UserModelPrivate()) {
+const QString facesDir = mainConfig.Theme.FacesDir.get();
+const QString defaultFace = 
QStringLiteral("%1/.face.icon").arg(facesDir);
+
 struct passwd *current_pw;
 while ((current_pw = getpwent()) != nullptr) {
 
@@ -81,23 +84,7 @@ namespace SDDM {
 user->needsPassword = strcmp(current_pw->pw_passwd, "") != 0;
 
 // search for face icon
-QString facesDir = mainConfig.Theme.FacesDir.get();
-QString defaultFace = 
QStringLiteral("%1/.face.icon").arg(facesDir);
-bool avatarsEnabled = mainConfig.Theme.EnableAvatars.get();
-
-if (avatarsEnabled) {
-QString userFace = 
QStringLiteral("%1/.face.icon").arg(user->homeDir);
-QString systemFace = 

commit sddm for openSUSE:Factory

2015-11-12 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-11-12 19:39:31

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-10-30 
13:40:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-11-12 
19:39:32.0 +0100
@@ -1,0 +2,32 @@
+Fri Nov  6 11:18:24 UTC 2015 - alarr...@suse.com
+
+- Update to 0.13.0:
+  * Greeter inherits path environment variables from parent so that
+themes installed in non-standard paths will work.
+  * Add ENABLE_PAM option to toggle PAM support at build time.
+  * Allow overriding textColor in ComboBox.
+  * Don't cast QByteArray to (char *).
+  * Disable greeters from loading KDE's debug hander
+(fix CVE-2015-0856).
+  * Fix multi-screen support for some setups.
+  * Added Serbian translation.
+  * Added Traditional Chinese translation.
+  * Improved German translation.
+  * Remove failsafe session entry.
+  * Close the pipe fd passed to X server.
+  * A few micro-optimizations.
+- Removed patches already in this version:
+0001-always-create-window-for-each-screen.patch
+0002-screen-model-for-each-window.patch
+0001-Don-t-cast-QByteArray-to-char.patch
+0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
+- Updated patches to apply cleanly:
+boo949903.patch
+sddm-relaxed-auth.diff
+sysconfig-support.patch
+- Added patches from upstream to add a config option that can be
+  used to disable the loading of user avatars (EnableAvatars):
+0001-Add-a-config-option-to-enable-avatars.patch
+0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
+
+---

Old:

  0001-Don-t-cast-QByteArray-to-char.patch
  0001-always-create-window-for-each-screen.patch
  0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
  0002-screen-model-for-each-window.patch
  sddm-0.12.0.tar.xz

New:

  0001-Add-a-config-option-to-enable-avatars.patch
  0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
  default.face.icon.png
  root.face.icon.png
  sddm-0.13.0.tar.xz



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.jGGxkN/_old  2015-11-12 19:39:34.0 +0100
+++ /var/tmp/diff_new_pack.jGGxkN/_new  2015-11-12 19:39:34.0 +0100
@@ -20,7 +20,7 @@
 %{!?_unitdir: %global _unitdir /usr/lib/systemd/system}
 
 Name:   sddm
-Version:0.12.0
+Version:0.13.0
 Release:0
 Summary:Lightweight QML-based display manager
 License:GPL-2.0+
@@ -29,6 +29,9 @@
 Source: 
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
 Source1:%{name}.conf
 Source2:X11-displaymanagers-%{name}
+# default.face.icon.png and root.face.icon.png were part of Patch7 
(0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch), but used as 
sources since binary patches are not supported
+Source3:default.face.icon.png
+Source4:root.face.icon.png
 # PATCH-FIX-OPENSUSE proper_pam.diff -- Use openSUSE pam config
 Patch0: proper_pam.diff
 # PATCH-FIX-OPENSUSE create_pid_file.patch -- openSUSE's generic 
display-manager service doesn't know what to do without a pid file. drop the 
patch as soon as that sick dinosaur is killed
@@ -44,13 +47,10 @@
 Patch4: sddm-service-handle-plymouth.patch
 # PATCH-FIX-OPENSUSE boo949903.patch -- Let sddm also default to plasma5 for 
last used session (boo#949903)
 Patch5: boo949903.patch
-# PATCH-FIX-UPSTREAM 0001-Don-t-cast-QByteArray-to-char.patch
-Patch6: 0001-Don-t-cast-QByteArray-to-char.patch
-# PATCH-FIX-UPSTREAM 
0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
-Patch7: 0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
-# PATCH-FIX-UPSTREAM 2 patches to play with multihead nicely
-Patch8: 0001-always-create-window-for-each-screen.patch
-Patch9: 0002-screen-model-for-each-window.patch
+# PATCH-FIX-UPSTREAM 0001-Add-a-config-option-to-enable-avatars.patch -- Add 
EnableAvatars config option
+Patch6: 0001-Add-a-config-option-to-enable-avatars.patch
+# PATCH-FIX-UPSTREAM 
0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch -- Use new face 
icons
+Patch7: 0002-Use-.face.icon-instead-of-default.face.icon-and-rena.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -115,8 +115,8 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
-%patch9 -p1
+cp %{SOURCE3} data/faces/default.face.icon.png
+cp %{SOURCE4} 

commit sddm for openSUSE:Factory

2015-10-30 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-10-30 13:40:53

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-10-22 
12:57:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-10-30 
13:40:54.0 +0100
@@ -1,0 +2,8 @@
+Sat Oct 24 19:50:45 UTC 2015 - tchva...@suse.com
+
+- Add upstream patches to fix multihead in some cases
+  (also fixes boo#950293):
+  * 0001-always-create-window-for-each-screen.patch
+  * 0002-screen-model-for-each-window.patch
+
+---

New:

  0001-always-create-window-for-each-screen.patch
  0002-screen-model-for-each-window.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.NU8H4U/_old  2015-10-30 13:40:55.0 +0100
+++ /var/tmp/diff_new_pack.NU8H4U/_new  2015-10-30 13:40:55.0 +0100
@@ -48,6 +48,9 @@
 Patch6: 0001-Don-t-cast-QByteArray-to-char.patch
 # PATCH-FIX-UPSTREAM 
0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
 Patch7: 0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
+# PATCH-FIX-UPSTREAM 2 patches to play with multihead nicely
+Patch8: 0001-always-create-window-for-each-screen.patch
+Patch9: 0002-screen-model-for-each-window.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -112,6 +115,8 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
+%patch9 -p1
 
 %build
 %cmake \

++ 0001-always-create-window-for-each-screen.patch ++
>From 053765ac7a1800a3e1e8efc2cdef5fc696ea01af Mon Sep 17 00:00:00 2001
From: Pier Luigi Fiorini 
Date: Thu, 15 Oct 2015 12:44:47 +0200
Subject: [PATCH] Always create a window for each screen

Clone mode is something that should be dealt with xrandr from a
custom Xsetup script, depending on user configuration.

What we want here is to always create a window for each screen
otherwise we might end up having the greeter only on the primary screen.

Also, set window geometry to the whole screen geometry like we do
for the screen model.
---
 src/greeter/GreeterApp.cpp  | 13 ++---
 src/greeter/ScreenModel.cpp |  4 
 2 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/src/greeter/GreeterApp.cpp b/src/greeter/GreeterApp.cpp
index 59a48a0..3a7db27 100644
--- a/src/greeter/GreeterApp.cpp
+++ b/src/greeter/GreeterApp.cpp
@@ -130,7 +130,8 @@ namespace SDDM {
 m_proxy->setSessionModel(m_sessionModel);
 
 // create views
-Q_FOREACH (QScreen *screen, screens())
+QList screens = primaryScreen()->virtualSiblings();
+Q_FOREACH (QScreen *screen, screens)
 addViewForScreen(screen);
 
 // handle screens
@@ -138,15 +139,12 @@ namespace SDDM {
 }
 
 void GreeterApp::addViewForScreen(QScreen *screen) {
-// heuristic to detect clone mode, in that case only add a view for 
the primary screen
-if (screen->virtualGeometry() == primaryScreen()->geometry() && screen 
!= primaryScreen())
-return;
-
 // create view
 QQuickView *view = new QQuickView();
 view->setScreen(screen);
 view->setResizeMode(QQuickView::SizeRootObjectToView);
-view->setGeometry(QRect(QPoint(0, 0), 
screen->availableGeometry().size()));
+//view->setGeometry(QRect(QPoint(0, 0), screen->geometry().size()));
+view->setGeometry(screen->geometry());
 
 // remove the view when the screen is removed, but we
 // need to be careful here since Qt will move the view to
@@ -165,7 +163,7 @@ namespace SDDM {
 
 #if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 0))
 // always resize when the screen geometry changes
-connect(screen, ::availableGeometryChanged, this, [view](const 
QRect ) {
+connect(screen, ::geometryChanged, this, [view](const QRect 
) {
 view->setGeometry(r);
 });
 #endif
@@ -190,6 +188,7 @@ namespace SDDM {
 view->setSource(QUrl::fromLocalFile(mainScript));
 
 // show
+qDebug() << "Adding view for" << screen->name() << screen->geometry();
 view->show();
 }
 
diff --git a/src/greeter/ScreenModel.cpp b/src/greeter/ScreenModel.cpp
index 392bf4c..a49f31d 100644
--- a/src/greeter/ScreenModel.cpp
+++ b/src/greeter/ScreenModel.cpp
@@ -120,13 +120,9 @@ namespace SDDM {
 return;
 #endif
 
-QScreen *primaryScreen = QGuiApplication::primaryScreen();
 QList screens = QGuiApplication::screens();
 for (int i = 0; i < 

commit sddm for openSUSE:Factory

2015-10-22 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-10-22 12:57:55

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-09-27 
14:31:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-10-22 
12:57:56.0 +0200
@@ -1,0 +2,20 @@
+Sun Oct 18 16:38:26 UTC 2015 - hrvoje.sen...@gmail.com
+
+- openSUSE branding now needs to require plasma5-workspace-branding
+
+---
+Thu Oct 15 17:21:21 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added patches from upstream:
+  0001-Don-t-cast-QByteArray-to-char.patch
+  (https://github.com/sddm/sddm/issues/489)
+  and 0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
+  (boo#950491, CVE-2015-0856)
+
+---
+Sun Oct 11 12:07:58 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added boo949903.patch: Let sddm also default to plasma5 for last
+  used session (boo#949903)
+
+---

New:

  0001-Don-t-cast-QByteArray-to-char.patch
  0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
  boo949903.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.H88ECF/_old  2015-10-22 12:57:57.0 +0200
+++ /var/tmp/diff_new_pack.H88ECF/_new  2015-10-22 12:57:57.0 +0200
@@ -42,6 +42,12 @@
 # PATCH-FIX-OPENSUSE sddm-service-handle-plymouth.patch -- sddm has some 
rudimentary support for plymouth handling, which only works with 
plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
 Patch4: sddm-service-handle-plymouth.patch
+# PATCH-FIX-OPENSUSE boo949903.patch -- Let sddm also default to plasma5 for 
last used session (boo#949903)
+Patch5: boo949903.patch
+# PATCH-FIX-UPSTREAM 0001-Don-t-cast-QByteArray-to-char.patch
+Patch6: 0001-Don-t-cast-QByteArray-to-char.patch
+# PATCH-FIX-UPSTREAM 
0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
+Patch7: 0002-Disable-greeters-from-loading-KDE-s-debug-hander.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -72,7 +78,7 @@
 Summary:Lightweight QML-based display manager. openSUSE branding
 Group:  System/GUI/KDE
 PreReq: sddm
-Requires:   plasma5-workspace
+Requires:   plasma5-workspace-branding
 Supplements:packageand(plasma5-workspace:branding-openSUSE)
 Provides:   sddm-branding = %{version}
 Conflicts:  otherproviders(sddm-branding)
@@ -103,6 +109,9 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
 
 %build
 %cmake \
@@ -137,7 +146,7 @@
 -d /var/lib/sddm sddm 2> /dev/null || :
 
 %post branding-openSUSE
-if [ $1 -eq 1 -a -f /etc/sddm.conf ]; then
+if [ $1 -ge 1 -a -f /etc/sddm.conf ]; then
 sed -i -e 's/^Current=maui$/Current=breeze/g' /etc/sddm.conf
 fi
 

++ 0001-Don-t-cast-QByteArray-to-char.patch ++
>From ef31b386d16cdf2042b62c45702a01d4e5de7ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?D=C4=81vis?= 
Date: Thu, 24 Sep 2015 02:52:46 +0300
Subject: [PATCH 1/2] Don't cast QByteArray to (char *)

They're obsolete members [1] and caused #489.

[1] http://doc.qt.io/qt-5/qbytearray-obsolete.html

(cherry picked from commit c637727c958286659e9905993fca276a63f6f6d5)
---
 CMakeLists.txt | 2 +-
 src/helper/UserSession.cpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 
0f10f9201925cf1fb94485497dc1f0b73e882a12..c2192a01ec265c453e5bd849f90a479dba8ed482
 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,7 @@ option(BUILD_MAN_PAGES "Build man pages" OFF)
 option(ENABLE_JOURNALD "Enable logging to journald" ON)
 
 # Definitions
-add_definitions(-Wall -std=c++11 -DQT_NO_CAST_FROM_ASCII)
+add_definitions(-Wall -std=c++11 -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_CAST_FROM_BYTEARRAY)
 
 # Default build type
 if(NOT CMAKE_BUILD_TYPE)
diff --git a/src/helper/UserSession.cpp b/src/helper/UserSession.cpp
index 
68c87d156ba9a8a2c91f52fb2e159eff88fc9238..0f3d7fff80bb7b1e2fc32a83c4d9fdc1b0ae7dd3
 100644
--- a/src/helper/UserSession.cpp
+++ b/src/helper/UserSession.cpp
@@ -110,8 +110,8 @@ namespace SDDM {
 }
 }
 
-const char  *username = 
qobject_cast(parent())->user().toLocal8Bit();
-struct passwd *pw = getpwnam(username);
+const QByteArray username = 

commit sddm for openSUSE:Factory

2015-09-27 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-09-27 14:32:08

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-09-11 
09:01:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-09-27 
14:31:26.0 +0200
@@ -1,0 +2,24 @@
+Thu Sep 24 17:41:08 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added shadow BuildRequires, it's needed to check UID_MIN & UID_MAX
+  from /etc/login.defs
+
+---
+Sat Sep 12 17:28:12 UTC 2015 - wba...@tmo.at
+
+- Change the theme to "maui" in the shipped sddm.conf,
+  sddm-branding-openSUSE sets it to "breeze" on installation.
+- Remove the superfluous requirement for "breeze". This is not
+  needed even with the "breeze" theme, as it is actually part of
+  plasma5-workspace which is required by sddm-branding-openSUSE
+  anyway.
+- sddm-branding-openSUSE should PreReq sddm, otherwise the config
+  might not exist.
+- Make the regexps for sed stricter to really only modify the theme
+  setting when installing/uninstalling sddm-branding-openSUSE.
+  Otherwise it would e.g. also replace CursorTheme=breeze_cursors
+  with CursorTheme=maui_cursors...
+  Also only modify the config on new installation, not during
+  updates.
+
+---



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.DwSXNJ/_old  2015-09-27 14:31:27.0 +0200
+++ /var/tmp/diff_new_pack.DwSXNJ/_new  2015-09-27 14:31:27.0 +0200
@@ -49,6 +49,8 @@
 BuildRequires:  pam-devel
 BuildRequires:  pkg-config
 BuildRequires:  python-docutils
+# Autodetect UID_MIN and UID_MAX from /etc/login.defs
+BuildRequires:  shadow
 BuildRequires:  systemd-devel
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5DBus)
@@ -56,7 +58,6 @@
 BuildRequires:  pkgconfig(Qt5Quick)
 BuildRequires:  pkgconfig(Qt5Test)
 BuildRequires:  pkgconfig(xcb-xkb)
-Requires:   breeze
 Requires:   sddm-branding = %{version}
 # Merged the -lang package back into the main package
 Obsoletes:  %{name}-lang <= %{version}
@@ -70,6 +71,7 @@
 %package branding-openSUSE
 Summary:Lightweight QML-based display manager. openSUSE branding
 Group:  System/GUI/KDE
+PreReq: sddm
 Requires:   plasma5-workspace
 Supplements:packageand(plasma5-workspace:branding-openSUSE)
 Provides:   sddm-branding = %{version}
@@ -135,13 +137,13 @@
 -d /var/lib/sddm sddm 2> /dev/null || :
 
 %post branding-openSUSE
-if [ -f /etc/sddm.conf ]; then
-sed -i -e 's/maui/breeze/g' /etc/sddm.conf
+if [ $1 -eq 1 -a -f /etc/sddm.conf ]; then
+sed -i -e 's/^Current=maui$/Current=breeze/g' /etc/sddm.conf
 fi
 
 %postun branding-openSUSE
 if [ $1 -eq 0 -a -f /etc/sddm.conf ]; then
-   sed -i -e 's/breeze/maui/g' /etc/sddm.conf
+   sed -i -e 's/^Current=breeze$/Current=maui/g' /etc/sddm.conf
 fi
 
 %files

++ sddm.conf ++
--- /var/tmp/diff_new_pack.DwSXNJ/_old  2015-09-27 14:31:27.0 +0200
+++ /var/tmp/diff_new_pack.DwSXNJ/_new  2015-09-27 14:31:27.0 +0200
@@ -1,5 +1,5 @@
 [Theme]
-Current=breeze
+Current=maui
 CursorTheme=breeze_cursors
 
 [XDisplay]




commit sddm for openSUSE:Factory

2015-09-11 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-09-11 09:01:43

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is "sddm"

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-08-29 
20:03:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-09-11 
09:01:45.0 +0200
@@ -1,0 +2,32 @@
+Sun Sep  6 08:12:52 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Update to 0.12.0:
+  * SDDM now depends on Qt >= 5.3
+  * Display setup script is now killed if it hasn't finished
+within 30 seconds.
+  * The Maldives non-free background has been replaced by a
+CC-BY-SA alternative
+  * Wayland sessions support
+  * New sddm.conf option XephyrPath
+(defaults to /usr/bin/Xephyr)
+  * new sddm.conf option ServerArguments
+(defaults to -nolisten tcp)
+  * new sddm.config option DisplayStopCommand (executes Xstop)
+  * Assorted improvements to the default theme
+  * Honor TryExec in Xsession desktop files
+  * Fix session startup on zsh
+  * Allow setting a custom DBUS_CONFIG_FILENAME at compile time
+  * Allow SYSTEMD_SYSTEM_UNIT_DIR to be overridden at compile time
+  * Allow QT_IMPORTS_DIR to be overridden at compile time
+  * No longer hardcode min/max UIDs, allow setting
+UID_MIN and UID_MAX at compile time
+  * Assorted FreeBSD fixes
+  * Fix build warnings with Qt 5.5.
+  * Enable QT_NO_CAST_FROM_ASCII
+  * Added Arabic
+  * Added Hungarian
+  * Various i18n updates and improvements
+  * Full right-to-left languages support.
+- Drop sddm-wait-for-display-script.patch, merged upstream
+
+---

Old:

  sddm-wait-for-display-script.patch
  v0.11.0.tar.gz

New:

  sddm-0.12.0.tar.xz



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.XCxTVd/_old  2015-09-11 09:01:46.0 +0200
+++ /var/tmp/diff_new_pack.XCxTVd/_new  2015-09-11 09:01:46.0 +0200
@@ -20,13 +20,13 @@
 %{!?_unitdir: %global _unitdir /usr/lib/systemd/system}
 
 Name:   sddm
-Version:0.11.0
+Version:0.12.0
 Release:0
 Summary:Lightweight QML-based display manager
 License:GPL-2.0+
 Group:  System/GUI/KDE
 Url:https://github.com/sddm/sddm
-Source: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
+Source: 
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
 Source1:%{name}.conf
 Source2:X11-displaymanagers-%{name}
 # PATCH-FIX-OPENSUSE proper_pam.diff -- Use openSUSE pam config
@@ -42,8 +42,6 @@
 # PATCH-FIX-OPENSUSE sddm-service-handle-plymouth.patch -- sddm has some 
rudimentary support for plymouth handling, which only works with 
plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
 Patch4: sddm-service-handle-plymouth.patch
-# PATCH-FIX-OPENSUSE sddm-wait-for-display-script.patch -- From upstream: wait 
for the display script finishing, avoid a black screen (boo#942815)
-Patch5: sddm-wait-for-display-script.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -103,7 +101,6 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %build
 %cmake \

++ create_pid_file.patch ++
--- /var/tmp/diff_new_pack.XCxTVd/_old  2015-09-11 09:01:46.0 +0200
+++ /var/tmp/diff_new_pack.XCxTVd/_new  2015-09-11 09:01:46.0 +0200
@@ -1,17 +1,17 @@
 diff --git a/src/common/Constants.h.in b/src/common/Constants.h.in
-index f7e31e4..654331d 100644
+index 
b32b2e07687aecc545d18f47c28bb650a308e758..2be895e730da5affb2cd4f6052918a8ab4b2672a
 100644
 --- a/src/common/Constants.h.in
 +++ b/src/common/Constants.h.in
-@@ -33,6 +33,7 @@
+@@ -34,6 +34,7 @@
  
  #define CONFIG_FILE "@CONFIG_FILE@"
  #define LOG_FILE"@LOG_FILE@"
 +#define PID_FILE"@PID_FILE@"
  #define MINIMUM_VT  @MINIMUM_VT@
  
- #define HALT_COMMAND "@HALT_COMMAND@"
+ #define UID_MIN @UID_MIN@
 diff --git a/src/daemon/DaemonApp.cpp b/src/daemon/DaemonApp.cpp
-index 662c0f4..c525efd 100644
+index ae8ae3b..ea2d0be 100644
 --- a/src/daemon/DaemonApp.cpp
 +++ b/src/daemon/DaemonApp.cpp
 @@ -31,6 +31,7 @@
@@ -22,20 +22,19 @@
  
  #include 
  
-@@ -46,6 +47,16 @@ namespace SDDM {
+@@ -46,6 +47,15 @@ namespace SDDM {
  // log message
  qDebug() << "Initializing...";
  
 +// Write PID File
-+if ( ! QString(PID_FILE).isEmpty() ) {
-+QFile pidFile(PID_FILE);

commit sddm for openSUSE:Factory

2015-08-29 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-08-29 20:03:50

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is sddm

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-06-02 
10:00:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-08-29 
20:03:51.0 +0200
@@ -1,0 +2,6 @@
+Wed Aug 26 07:45:11 UTC 2015 - herb...@graeber-clan.de
+
+- Added patch from upstream sddm-wait-for-display-script.patch:
+  avoid a black screen (boo#942815)
+
+---

New:

  sddm-wait-for-display-script.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.XL9uhb/_old  2015-08-29 20:03:52.0 +0200
+++ /var/tmp/diff_new_pack.XL9uhb/_new  2015-08-29 20:03:52.0 +0200
@@ -42,6 +42,8 @@
 # PATCH-FIX-OPENSUSE sddm-service-handle-plymouth.patch -- sddm has some 
rudimentary support for plymouth handling, which only works with 
plymouth-quit.service
 # (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
 Patch4: sddm-service-handle-plymouth.patch
+# PATCH-FIX-OPENSUSE sddm-wait-for-display-script.patch -- From upstream: wait 
for the display script finishing, avoid a black screen (boo#942815)
+Patch5: sddm-wait-for-display-script.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -101,6 +103,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %cmake \

++ sddm-wait-for-display-script.patch ++
From 7ed4ab11656c4b75f278b34883f4e28598b2b13a Mon Sep 17 00:00:00 2001
From: Robert Xu rob...@gmail.com
Date: Wed, 14 Jan 2015 20:00:36 -0600
Subject: [PATCH 1/2] wait for the display script to complete

Signed-off-by: Pier Luigi Fiorini pierluigi.fior...@gmail.com
---
 src/daemon/XorgDisplayServer.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
index 2b431ca..b0da10f 100644
--- a/src/daemon/XorgDisplayServer.cpp
+++ b/src/daemon/XorgDisplayServer.cpp
@@ -290,6 +290,7 @@ namespace SDDM {
 // start display setup script
 qDebug()  Running display setup script   displayCommand;
 displayScript-start(displayCommand);
+displayScript-waitForFinished(-1);
 }
 
 void XorgDisplayServer::changeOwner(const QString fileName) {
-- 
2.5.0


From f083c1e9c7f675bd46589e522e1747e9ee77d2a3 Mon Sep 17 00:00:00 2001
From: Pier Luigi Fiorini pierluigi.fior...@gmail.com
Date: Wed, 24 Jun 2015 22:13:33 +0200
Subject: [PATCH 2/2] Wait for display setup script no more than 30s

Kill the script if it takes long.
---
 src/daemon/XorgDisplayServer.cpp | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
index b0da10f..15180e0 100644
--- a/src/daemon/XorgDisplayServer.cpp
+++ b/src/daemon/XorgDisplayServer.cpp
@@ -290,7 +290,10 @@ namespace SDDM {
 // start display setup script
 qDebug()  Running display setup script   displayCommand;
 displayScript-start(displayCommand);
-displayScript-waitForFinished(-1);
+
+// wait for finished
+if (!displayScript-waitForFinished(3))
+displayScript-kill();
 }
 
 void XorgDisplayServer::changeOwner(const QString fileName) {
-- 
2.5.0




commit sddm for openSUSE:Factory

2015-06-02 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-06-02 10:00:57

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is sddm

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-05-11 
19:33:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-06-02 
10:00:59.0 +0200
@@ -1,0 +2,17 @@
+Mon Jun  1 08:13:54 UTC 2015 - dims...@opensuse.org
+
+- Do not split out a -lang package: the translations are not in
+  standard locations and having the -lang package confuses
+  bundle-lang-kde, which can't move the files to the bundle, thus
+  resulting in conflicting packages.
+
+---
+Mon May 25 17:39:12 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Add sddm-service-handle-plymouth.patch -- sddm has some rudimentary
+  support for plymouth handling, which only works with
+  plymouth-quit.service (the servce is not enabled on openSUSE).
+  For users of sddm.service, we need to issue plymouth quit command
+  by hand in this case
+
+---

New:

  sddm-service-handle-plymouth.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.0s7sv7/_old  2015-06-02 10:01:00.0 +0200
+++ /var/tmp/diff_new_pack.0s7sv7/_new  2015-06-02 10:01:00.0 +0200
@@ -39,6 +39,9 @@
 # PATCH-FIX-OPENSUSE sysconfig-support.patch -- Support 
DISPLAYMANAGER_AUTOLOGIN entry from /etc/sysconfig/displaymanager, the value 
overwrites
 # any entry in sddm.conf/[Autologin]/User. Patch also defaults to 
plasma5.desktop as default autologin session. This is controlled only by 
sddm.conf file.
 Patch3: sysconfig-support.patch
+# PATCH-FIX-OPENSUSE sddm-service-handle-plymouth.patch -- sddm has some 
rudimentary support for plymouth handling, which only works with 
plymouth-quit.service
+# (the servce is not enabled on openSUSE). For users of sddm.service, we need 
to issue plymouth quit command by hand in this case
+Patch4: sddm-service-handle-plymouth.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -55,7 +58,8 @@
 BuildRequires:  pkgconfig(xcb-xkb)
 Requires:   breeze
 Requires:   sddm-branding = %{version}
-Recommends: %{name}-lang
+# Merged the -lang package back into the main package
+Obsoletes:  %{name}-lang = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -90,13 +94,13 @@
 ability to create smooth, animated user interfaces. This package provides
 upstream branding for SDDM.
 
-%lang_package
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %cmake \
@@ -160,6 +164,7 @@
 %{_datadir}/sddm/flags/
 %{_datadir}/sddm/scripts/
 %{_datadir}/sddm/themes/
+%{_datadir}/sddm/translations/
 %{_mandir}/man*/sddm*.*
 %ghost %attr(711,sddm,sddm) %dir %{_rundir}/sddm
 %attr(750,sddm,sddm) %dir %{_localstatedir}/lib/sddm
@@ -173,8 +178,4 @@
 %defattr(-,root,root)
 %doc COPYING* README*
 
-%files lang
-%defattr(-,root,root)
-%{_datadir}/sddm/translations/
-
 %changelog

++ sddm-service-handle-plymouth.patch ++
diff --git a/services/sddm.service.in b/services/sddm.service.in
index b0cea02..fffa5c2 100644
--- a/services/sddm.service.in
+++ b/services/sddm.service.in
@@ -6,6 +6,7 @@ After=systemd-user-sessions.service getty@tty1.service 
plymouth-quit.service
 
 [Service]
 ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/sddm
+ExecStartPre=-@CMAKE_INSTALL_FULL_BINDIR@/plymouth quit --retain-splash
 Restart=always
 #PrivateTmp=yes
 



commit sddm for openSUSE:Factory

2015-05-11 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-05-11 19:32:57

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is sddm

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2015-03-18 
13:06:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-05-11 
19:33:01.0 +0200
@@ -1,0 +2,18 @@
+Mon May  4 18:41:58 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Add sysconfig-support.patch: Support DISPLAYMANAGER_AUTOLOGIN
+  entry from /etc/sysconfig/displaymanager, the value overwrites
+  any entry in sddm.conf/[Autologin]/User. Patch also defaults
+  to plasma5.desktop as default autologin and last selected 
+  sessions. This is controlled only by sddm.conf file.
+- Mark sddm.conf as %config(noreplace)
+
+---
+Wed Apr 29 22:18:05 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added sddm-relaxed-auth.diff: Insert XAUTHLOCALHOSTNAME into
+  users enviroment, so the session handles hostname changes with
+  a single X instance/run
+- Use breeze_cursors in openSUSE branding
+
+---

New:

  sddm-relaxed-auth.diff
  sysconfig-support.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.wVxODe/_old  2015-05-11 19:33:02.0 +0200
+++ /var/tmp/diff_new_pack.wVxODe/_new  2015-05-11 19:33:02.0 +0200
@@ -33,6 +33,12 @@
 Patch0: proper_pam.diff
 # PATCH-FIX-OPENSUSE create_pid_file.patch -- openSUSE's generic 
display-manager service doesn't know what to do without a pid file. drop the 
patch as soon as that sick dinosaur is killed
 Patch1: create_pid_file.patch
+# PATCH-FIX-OPENSUSE sddm-relaxed-auth.diff -- Insert XAUTHLOCALHOSTNAME into 
users enviroment, so the session handles hostname changes with a single X 
instance/run
+# related patches: libxcb/bug-262309_xcb-xauthlocalhostname.diff, 
xauth/xauth-tolerant-hostname-changes.diff, 
kdebase4-workspace/kdm-relaxed-auth.diff
+Patch2: sddm-relaxed-auth.diff
+# PATCH-FIX-OPENSUSE sysconfig-support.patch -- Support 
DISPLAYMANAGER_AUTOLOGIN entry from /etc/sysconfig/displaymanager, the value 
overwrites
+# any entry in sddm.conf/[Autologin]/User. Patch also defaults to 
plasma5.desktop as default autologin session. This is controlled only by 
sddm.conf file.
+Patch3: sysconfig-support.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -89,6 +95,8 @@
 %setup -q -n %{name}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 %cmake \
@@ -135,7 +143,7 @@
 %files
 %defattr(-,root,root)
 %doc COPYING* README*
-%config %{_sysconfdir}/%{name}.conf
+%config(noreplace) %{_sysconfdir}/%{name}.conf
 %config %{_sysconfdir}/pam.d/sddm
 %config %{_sysconfdir}/pam.d/sddm-autologin
 %config %{_sysconfdir}/pam.d/sddm-greeter

++ sddm-relaxed-auth.diff ++
diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
index f10ad82..f7dddbb 100644
--- a/src/daemon/XorgDisplayServer.cpp
+++ b/src/daemon/XorgDisplayServer.cpp
@@ -229,6 +229,7 @@ namespace SDDM {
 // set process environment
 QProcessEnvironment env;
 env.insert(DISPLAY, m_display);
+env.insert(XAUTHLOCALHOSTNAME, daemonApp-hostName());
 env.insert(HOME, /);
 env.insert(PATH, mainConfig.Users.DefaultPath.get());
 env.insert(XAUTHORITY, m_authPath);
diff --git a/src/helper/Backend.cpp b/src/helper/Backend.cpp
index fc933f9..6cb6fa9 100644
--- a/src/helper/Backend.cpp
+++ b/src/helper/Backend.cpp
@@ -26,6 +26,7 @@
 #include UserSession.h
 
 #include QtCore/QProcessEnvironment
+#include QtNetwork/QHostInfo
 
 #include pwd.h
 
@@ -64,6 +65,7 @@ namespace SDDM {
 env.insert(LOGNAME, pw-pw_name);
 if (env.contains(DISPLAY)  !env.contains(XAUTHORITY))
 env.insert(XAUTHORITY, 
QString(%1/.Xauthority).arg(pw-pw_dir));
+env.insert(XAUTHLOCALHOSTNAME, QHostInfo::localHostName());
 // TODO: I'm fairly sure this shouldn't be done for PAM sessions, 
investigate!
 m_app-session()-setProcessEnvironment(env);
 }
++ sddm.conf ++
--- /var/tmp/diff_new_pack.wVxODe/_old  2015-05-11 19:33:02.0 +0200
+++ /var/tmp/diff_new_pack.wVxODe/_new  2015-05-11 19:33:02.0 +0200
@@ -1,8 +1,9 @@
 [Theme]
 Current=breeze
+CursorTheme=breeze_cursors
 
 [XDisplay]
 ServerPath=/usr/bin/X
 SessionCommand=/etc/X11/xdm/Xsession
 DisplayCommand=/etc/X11/xdm/Xsetup
-MinimumVT=7
\ No newline at end of file
+MinimumVT=7

++ 

commit sddm for openSUSE:Factory

2015-03-18 Thread h_root
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2015-03-18 13:06:29

Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and  /work/SRC/openSUSE:Factory/.sddm.new (New)


Package is sddm

Changes:

--- /work/SRC/openSUSE:Factory/sddm/sddm.changes2014-12-21 
11:55:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.sddm.new/sddm.changes   2015-03-18 
13:06:30.0 +0100
@@ -1,0 +2,12 @@
+Mon Mar 16 19:37:11 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Drop conflict with lightdm, and move DBus configuration file,
+  now that sddm is whitelisted
+- Drop xdm (Build)Requires
+- Install sddm-pam* directly, instead of messing with symlinking
+- Add create_pid_file.patch: openSUSE's generic display-manager
+  service doesn't know what to do without a pid file. drop the patch
+  as soon as that sick dinosaur is killed
+- Drop ommit_systemd_service.patch
+
+---

Old:

  ommit_systemd_service.patch

New:

  create_pid_file.patch



Other differences:
--
++ sddm.spec ++
--- /var/tmp/diff_new_pack.bxz402/_old  2015-03-18 13:06:31.0 +0100
+++ /var/tmp/diff_new_pack.bxz402/_new  2015-03-18 13:06:31.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sddm
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %{!?_rundir: %global _rundir /run}
+%{!?_unitdir: %global _unitdir /usr/lib/systemd/system}
 
 Name:   sddm
 Version:0.11.0
@@ -30,8 +31,8 @@
 Source2:X11-displaymanagers-%{name}
 # PATCH-FIX-OPENSUSE proper_pam.diff -- Use openSUSE pam config
 Patch0: proper_pam.diff
-# PATCH-FIX-OPENSUSE ommit_systemd_service.patch -- don't install systemd 
service, we still use xdm wrapper
-Patch1: ommit_systemd_service.patch
+# PATCH-FIX-OPENSUSE create_pid_file.patch -- openSUSE's generic 
display-manager service doesn't know what to do without a pid file. drop the 
patch as soon as that sick dinosaur is killed
+Patch1: create_pid_file.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -40,7 +41,6 @@
 BuildRequires:  pkg-config
 BuildRequires:  python-docutils
 BuildRequires:  systemd-devel
-BuildRequires:  xdm
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5DBus)
 BuildRequires:  pkgconfig(Qt5Network)
@@ -49,10 +49,7 @@
 BuildRequires:  pkgconfig(xcb-xkb)
 Requires:   breeze
 Requires:   sddm-branding = %{version}
-Requires:   xdm
 Recommends: %{name}-lang
-# #{_sysconfdir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf
-Conflicts:  lightdm
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -102,16 +99,17 @@
   -DSESSION_COMMAND=/etc/X11/xdm/Xsession \
   -DBUILD_MAN_PAGES=ON \
   -DSTATE_DIR=/var/lib/sddm \
-  -DRUNTIME_DIR=/run/sddm
+  -DRUNTIME_DIR=/run/sddm \
+  -DPID_FILE=/run/sddm.pid
   %make_jobs
 
 %install
   %kf5_makeinstall -C build
 
-  ln -sf %{_sysconfdir}/pam.d/xdm %{buildroot}%{_sysconfdir}/pam.d/sddm
-  ln -sf %{_sysconfdir}/pam.d/xdm-np 
%{buildroot}%{_sysconfdir}/pam.d/sddm-autologin
+  pushd %{buildroot}%{_sysconfdir}/dbus-1/system.d
+  mv org.freedesktop.DisplayManager.conf 
sddm_org.freedesktop.DisplayManager.conf
+  popd
 
-  rm -frv %{buildroot}%{_unitdir}
   install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}.conf
   install -Dm 0644 %{SOURCE2} 
%{buildroot}%{_libexecdir}/X11/displaymanagers/%{name}
   install -d %{buildroot}%{_rundir}/sddm
@@ -141,7 +139,8 @@
 %config %{_sysconfdir}/pam.d/sddm
 %config %{_sysconfdir}/pam.d/sddm-autologin
 %config %{_sysconfdir}/pam.d/sddm-greeter
-%config(noreplace) 
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf
+%config(noreplace) 
%{_sysconfdir}/dbus-1/system.d/sddm_org.freedesktop.DisplayManager.conf
+%{_sysconfdir}/pam.d/sddm*
 %{_libexecdir}/sddm/
 %dir %{_libexecdir}/X11/displaymanagers/
 %{_libexecdir}/X11/displaymanagers/%{name}
@@ -156,6 +155,7 @@
 %{_mandir}/man*/sddm*.*
 %ghost %attr(711,sddm,sddm) %dir %{_rundir}/sddm
 %attr(750,sddm,sddm) %dir %{_localstatedir}/lib/sddm
+%{_unitdir}/sddm.service
 
 %files branding-openSUSE
 %defattr(-,root,root)

++ create_pid_file.patch ++
diff --git a/src/common/Constants.h.in b/src/common/Constants.h.in
index f7e31e4..654331d 100644
--- a/src/common/Constants.h.in
+++ b/src/common/Constants.h.in
@@ -33,6 +33,7 @@
 
 #define CONFIG_FILE @CONFIG_FILE@