I'm attaching the a debdiff for sddm's 0.14.0-2 version that includes the workaround of this issue.

--
: You are in a dark room with a compiler, emacs, an internet connection,
: and a thermos of coffee.
: Your move ?
Saludos /\/\ /\ >< `/
diff -Nru sddm-0.14.0/debian/changelog sddm-0.14.0/debian/changelog
--- sddm-0.14.0/debian/changelog        2016-12-30 20:41:13.000000000 +0100
+++ sddm-0.14.0/debian/changelog        2017-02-20 19:09:24.000000000 +0100
@@ -1,3 +1,14 @@
+sddm (0.14.0-2) unstable; urgency=medium
+
+  * Avoid killing plymouth from the sddm system unit (Closes: 854260)
+  * Purge dangling symlink.
+    Thanks to Andreas Beckmann for following this issue (Closes: 848936)
+  * Install the generated configuration file as an example
+  * Workaround debconf's db_purge stdout parsing (#855912)
+    Thanks to Laurent Bonnaud for reporting (Closes: 853844)
+
+ -- Maximiliano Curia <m...@debian.org>  Mon, 20 Feb 2017 19:09:24 +0100
+
 sddm (0.14.0-1) experimental; urgency=medium
 
   [ Maximiliano Curia ]
diff -Nru sddm-0.14.0/debian/control sddm-0.14.0/debian/control
--- sddm-0.14.0/debian/control  2016-12-30 20:41:13.000000000 +0100
+++ sddm-0.14.0/debian/control  2017-02-20 19:09:24.000000000 +0100
@@ -53,8 +53,7 @@
 
 Package: sddm-theme-debian-maui
 Architecture: all
-Depends: desktop-base,
-         ${misc:Depends}
+Depends: desktop-base, ${misc:Depends}
 Recommends: sddm
 Provides: sddm-theme
 Breaks: sddm (<< ${source:Version})
@@ -73,8 +72,7 @@
 
 Package: sddm-theme-debian-elarun
 Architecture: all
-Depends: desktop-base,
-         ${misc:Depends}
+Depends: desktop-base, ${misc:Depends}
 Recommends: sddm
 Provides: sddm-theme
 Breaks: sddm (<< ${source:Version})
diff -Nru sddm-0.14.0/debian/sddm.install sddm-0.14.0/debian/sddm.install
--- sddm-0.14.0/debian/sddm.install     2016-12-30 20:41:13.000000000 +0100
+++ sddm-0.14.0/debian/sddm.install     2017-02-20 19:09:24.000000000 +0100
@@ -1,6 +1,7 @@
 debian/Xsession etc/sddm/
 etc/dbus-1/system.d/sddm_org.freedesktop.DisplayManager.conf
 etc/pam.d
+etc/sddm.conf usr/share/doc/sddm/
 usr/bin/sddm*
 usr/lib/*/qt5/qml/SddmComponents/
 usr/lib/*/sddm/
diff -Nru sddm-0.14.0/debian/sddm.postrm sddm-0.14.0/debian/sddm.postrm
--- sddm-0.14.0/debian/sddm.postrm      2016-12-30 20:41:13.000000000 +0100
+++ sddm-0.14.0/debian/sddm.postrm      2017-02-20 19:09:24.000000000 +0100
@@ -1,6 +1,9 @@
 #!/bin/sh
 set -e
 
+DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+DEFAULT_SERVICE=/etc/systemd/system/display-manager.service
+
 case "$1" in
     purge)
         update-rc.d sddm remove > /dev/null
@@ -14,14 +17,22 @@
 
         if getent passwd sddm >/dev/null; then
             if [ -x /usr/sbin/deluser ]; then
-                deluser --system sddm || echo "Could not remove sddm user."
+                deluser --system sddm >&2 ||
+                    echo "Could not remove sddm user." >&2
             fi
         fi
         if getent group sddm >/dev/null; then
             if [ -x /usr/sbin/delgroup ]; then
-                delgroup --system sddm || echo "Could not remove sddm group."
+                delgroup --system sddm >&2 ||
+                    echo "Could not remove sddm group." >&2
             fi
         fi
+        if [ ! -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] &&
+            [ -h "$DEFAULT_SERVICE" ] && [ ! -e "$DEFAULT_SERVICE" ]; then
+            # Dangling symlink, no other display-manager installed
+            rm "$DEFAULT_SERVICE"
+        fi
+
         ;;
     abort-install|abort-upgrade)
         # roll back displacement of default display manager file
diff -Nru sddm-0.14.0/debian/sddm.README.Debian 
sddm-0.14.0/debian/sddm.README.Debian
--- sddm-0.14.0/debian/sddm.README.Debian       2016-12-30 20:41:13.000000000 
+0100
+++ sddm-0.14.0/debian/sddm.README.Debian       2017-02-20 19:09:24.000000000 
+0100
@@ -1,31 +1,40 @@
 SDDM configuration
 ==================
 
-The Debian package relies on the default configuration values and as such the
-configuration file is not part of the sddm package.
+The program as shipped already includes default settings and does not require
+a configuration file to exist. For this reason there is no /etc/sddm.conf
+shipped in this package.
+
+There is an example configuration file in:
+ /usr/share/doc/sddm/sddm.conf
 
 In order to override a configuration value you'll need to create a
 /etc/sddm.conf file and set the values accordingly (see sddm.conf(5) manpage
-for more details).
+for more details). If you use KDE, the recommended way of doing this is
+through KDE's System Settings (Workspace -> Startup and Shutdown).
 
 Themes
 ------
 
-The theme used by default in sddm is 'breeze', provided by the
-sddm-theme-breeze package, if it's not installed you'll be greeted with the
-maui theme and an error message in the lower part of the screen saying that
-'breeze' couldn't be loaded.
-
-Sddm embeds the maui theme since the 0.14 release, and is used as the
-fall-back when the configured theme is not present or failing. Also, because
-of this change, the theme is now named as the empty string in the
-configuration file.
+The theme used by default in sddm is 'debian-theme', which is configurable
+using the alternative 'sddm-debian-theme', this allows a better integration
+of sddm with different desktop environments, such as LXQt or Plasma.
+
+Currently the following packages provide a sddm-theme:
+ * sddm-theme-maui
+ * sddm-theme-debian-maui
+ * sddm-theme-elarun
+ * sddm-theme-debian-elarun
+ * sddm-theme-maldives
+ * sddm-theme-breeze
+ * sddm-theme-debian-breeze
+
+You can easily change the one you want to use with:
 
-All in all, if you prefer the maui theme, or you want to get rid of the error
-message, you can set maui as your current theme in your /etc/sddm.conf ::
+ sudo update-alternatives --config sddm-debian-theme
 
- [Theme]
- Current=
+The themes named sddm-theme-debian-* were adapted to have the look and feel
+for the Debian stretch release.
 
 Also, the 0.14 version of sddm drops the 'circles' theme and it will
 eventually be removed from the archive. Please use a different sddm theme.
diff -Nru sddm-0.14.0/debian/sddm.service sddm-0.14.0/debian/sddm.service
--- sddm-0.14.0/debian/sddm.service     2016-12-30 20:41:13.000000000 +0100
+++ sddm-0.14.0/debian/sddm.service     2017-02-20 19:09:24.000000000 +0100
@@ -5,10 +5,15 @@
 Conflicts=getty@tty7.service
 After=getty@tty7.service
 
-# Ordering
-Conflicts=plymouth-quit-wait.service
-After=systemd-user-sessions.service plymouth-start.service 
plymouth-quit-wait.service
-OnFailure=plymouth-quit.service
+After=systemd-user-sessions.service
+
+# If using tty1 and plymouth, sddm will fail till plymouth stops
+# consider using:
+## After=plymouth-quit.service
+# or to forcefully stop plymouth and start earlier:
+## Conflicts=plymouth-quit-wait.service
+## After=plymouth-start.service plymouth-quit-wait.service
+## OnFailure=plymouth-quit.service
 
 [Service]
 # temporary safety check until all DMs are converted to correct

Attachment: signature.asc
Description: PGP signature



Reply via email to