Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2013-09-11 15:44:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lightdm (Old) and /work/SRC/openSUSE:Factory/.lightdm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lightdm" Changes: -------- --- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes 2013-07-23 22:22:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes 2013-09-11 15:44:44.000000000 +0200 @@ -1,0 +2,37 @@ +Wed Sep 11 08:39:56 UTC 2013 - [email protected] + +- update to version 1.7.14 + - Correctly set permissions on Xauthority file + - Correctly set $XDG_CURRENT_DESKTOP for non-autologin sessions + - Fix overallocation of array for strings from greeter + - Fix truncation writing card32 in XDMCP server + +------------------------------------------------------------------- +Sun Sep 8 19:28:36 UTC 2013 - [email protected] + +- update to version 1.7.12 + - Add xdg-seat config setting + - Notify Unity System Compositor of the session being + authenticated + - Fix crash when greeter quits due to read watch not being + removed + - Correctly setup Unity System Compositor environment + - Improve log messages + - Fix session locking broken in 1.7.5 + - Load lightdm.conf after lightdm.conf.d/*.conf + - Also support loading config from /usr/share + - When switching sessions show a greeter if authentication + required + - Set $XDG_CURRENT_DESKTOP if specified in the xsession file + - Change logging prefixes to make it easier to troubleshoot + multiseat setups + - Bring Ubuntu packaging in-tree + - Correctly set XDG_VTNR for unity sessions that are not + autologin + - Add support for Mir sessions and greeters + - Set XDG_VTNR for unity sessions + - Fix desktop-session-start upstart signal not being emitted + since 1.7.5 + - Fix greeter log broken in 1.7.5. + +------------------------------------------------------------------- Old: ---- lightdm-1.7.7.tar.xz New: ---- lightdm-1.7.14.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.1StzfX/_old 2013-09-11 15:44:45.000000000 +0200 +++ /var/tmp/diff_new_pack.1StzfX/_new 2013-09-11 15:44:45.000000000 +0200 @@ -28,13 +28,13 @@ %endif Name: lightdm -Version: 1.7.7 +Version: 1.7.14 Release: 0 Summary: Lightweight, Cross-desktop Display Manager License: GPL-3.0+ Group: System/X11/Displaymanagers Url: http://www.freedesktop.org/wiki/Software/LightDM -Source0: https://launchpad.net/lightdm/1.8/%{version}/+download/%{name}-%{version}.tar.xz +Source0: https://launchpad.net/lightdm/1.7/%{version}/+download/%{name}-%{version}.tar.xz Source1: %{name}-greeter.pamd Source2: X11-displaymanagers-%{name} Source100: %{name}-rpmlintrc ++++++ lightdm-1.7.7.tar.xz -> lightdm-1.7.14.tar.xz ++++++ ++++ 18094 lines of diff (skipped) ++++++ lightdm-default-configuration.patch ++++++ --- /var/tmp/diff_new_pack.1StzfX/_old 2013-09-11 15:44:45.000000000 +0200 +++ /var/tmp/diff_new_pack.1StzfX/_new 2013-09-11 15:44:45.000000000 +0200 @@ -12,15 +12,15 @@ #guest-account-script=guest-account #log-directory=/var/log/lightdm #run-directory=/var/run/lightdm -@@ -99,6 +99,7 @@ - [SeatDefaults] +@@ -101,6 +101,7 @@ #type=xlocal + #xdg-seat=seat0 #xserver-command=X +xserver-command=/usr/bin/X #xserver-layout= #xserver-config= #xserver-allow-tcp=false -@@ -116,12 +117,12 @@ +@@ -118,12 +119,12 @@ #user-session=default #allow-guest=true #guest-session=UNIMPLEMENTED ++++++ lightdm-disable-utmp-handling.patch ++++++ --- /var/tmp/diff_new_pack.1StzfX/_old 2013-09-11 15:44:45.000000000 +0200 +++ /var/tmp/diff_new_pack.1StzfX/_new 2013-09-11 15:44:45.000000000 +0200 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent c18913422e9ec2e8e85e5d15ca040fe457e340a8 +# Parent 6536010682c3beb922502ca9464272a8c19e093d disable utmp handling since this is handled in the Xstartup/Xreset scripts diff --git a/src/session-child.c b/src/session-child.c @@ -23,7 +23,7 @@ /* Log to utmp */ if (g_strcmp0 (class, XDG_SESSION_CLASS_GREETER) != 0) { -@@ -622,10 +625,10 @@ session_child_run (int argc, char **argv +@@ -624,10 +627,10 @@ session_child_run (int argc, char **argv g_printerr ("Failed to write utmpx: %s\n", strerror (errno)); endutxent (); } @@ -36,7 +36,7 @@ /* Log to utmp */ if (g_strcmp0 (class, XDG_SESSION_CLASS_GREETER) != 0) { -@@ -651,6 +654,7 @@ session_child_run (int argc, char **argv +@@ -655,6 +658,7 @@ session_child_run (int argc, char **argv g_printerr ("Failed to write utmpx: %s\n", strerror (errno)); endutxent (); } ++++++ lightdm-fix-session-setup-script-env.patch ++++++ --- /var/tmp/diff_new_pack.1StzfX/_old 2013-09-11 15:44:45.000000000 +0200 +++ /var/tmp/diff_new_pack.1StzfX/_new 2013-09-11 15:44:45.000000000 +0200 @@ -1,11 +1,11 @@ # HG changeset patch -# Parent 30de00ae97cd4d8e2707c6525fb78bc54de16226 +# Parent 739a3aed7ff5375aa2192312c133c2f242d9ec56 Put user information in the environment when running session-setup-script diff --git a/src/seat.c b/src/seat.c --- a/src/seat.c +++ b/src/seat.c -@@ -414,12 +414,16 @@ static void +@@ -470,12 +470,16 @@ static void run_session (Seat *seat, Session *session) { const gchar *script; @@ -21,5 +21,5 @@ + } + if (script && !run_script (seat, session_get_display_server (session), script, user)) { - g_debug ("Switching to greeter due to failed setup script"); + l_debug (seat, "Switching to greeter due to failed setup script"); switch_to_greeter_from_failed_session (seat, session); ++++++ lightdm-sysconfig-support.patch ++++++ --- /var/tmp/diff_new_pack.1StzfX/_old 2013-09-11 15:44:45.000000000 +0200 +++ /var/tmp/diff_new_pack.1StzfX/_new 2013-09-11 15:44:45.000000000 +0200 @@ -39,15 +39,17 @@ diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am -@@ -18,6 +18,8 @@ lightdm_SOURCES = \ - guest-account.c \ - guest-account.h \ - lightdm.c \ +@@ -68,7 +68,9 @@ lightdm_SOURCES = \ + xdmcp-server.h \ + xdmcp-session.c \ + xdmcp-session.h \ +- xdmcp-session-private.h ++ xdmcp-session-private.h \ + opensuse-sysconfig.c \ -+ opensuse-sysconfig.h \ - login1.c \ - login1.h \ - plymouth.c \ ++ opensuse-sysconfig.h + + lightdm_CFLAGS = \ + $(LIGHTDM_CFLAGS) \ diff --git a/src/lightdm.c b/src/lightdm.c --- a/src/lightdm.c +++ b/src/lightdm.c @@ -177,7 +179,7 @@ static void log_cb (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer data) { -@@ -1135,6 +1247,9 @@ main (int argc, char **argv) +@@ -1168,6 +1280,9 @@ main (int argc, char **argv) g_warning ("Failed to make cache directory %s: %s", dir, strerror (errno)); g_free (dir); @@ -630,9 +632,9 @@ diff --git a/src/seat.c b/src/seat.c --- a/src/seat.c +++ b/src/seat.c -@@ -956,7 +956,10 @@ create_greeter_session (Seat *seat) - g_free (greeter_user); +@@ -1087,7 +1087,10 @@ create_greeter_session (Seat *seat) session_set_argv (SESSION (greeter_session), argv); + g_strfreev (argv); - greeter_set_pam_services (greeter_session, USER_SERVICE, AUTOLOGIN_SERVICE); + if (config_get_boolean (config_get_instance (), "LightDM", "password-less-login")) @@ -642,15 +644,15 @@ g_signal_connect (greeter_session, "create-session", G_CALLBACK (greeter_create_session_cb), seat); g_signal_connect (greeter_session, "start-session", G_CALLBACK (greeter_start_session_cb), seat); -@@ -1118,7 +1121,10 @@ seat_switch_to_user (Seat *seat, const g - if (seat->priv->session_to_activate) - g_object_unref (seat->priv->session_to_activate); - seat->priv->session_to_activate = g_object_ref (session); +@@ -1300,7 +1303,10 @@ seat_switch_to_user (Seat *seat, const g + /* Attempt to authenticate them */ + session = create_user_session (seat, username, FALSE); + g_signal_connect (session, "authentication-complete", G_CALLBACK (switch_authentication_complete_cb), seat); - session_set_pam_service (session, USER_SERVICE); + if (config_get_boolean (config_get_instance (), "LightDM", "password-less-login")) + session_set_pam_service (session, AUTOLOGIN_SERVICE); + else + session_set_pam_service (session, USER_SERVICE); + session_start (session); - display_server = create_display_server (seat); - session_set_display_server (session, display_server); + return FALSE; ++++++ lightdm-use-run-dir.patch ++++++ --- /var/tmp/diff_new_pack.1StzfX/_old 2013-09-11 15:44:45.000000000 +0200 +++ /var/tmp/diff_new_pack.1StzfX/_new 2013-09-11 15:44:45.000000000 +0200 @@ -1,16 +1,16 @@ # HG changeset patch -# Parent 0ed9dac465d5e5fba66246f1c07407fb24cc9523 +# Parent 40f544e079e2652a3dc2ea63d7cec3a0c8724b89 Use /run instead of localstatedir/run/lightdm diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am -@@ -79,7 +79,7 @@ lightdm_CFLAGS = \ +@@ -81,7 +81,7 @@ lightdm_CFLAGS = \ -DSBIN_DIR=\"$(sbindir)\" \ -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \ -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \ - -DRUN_DIR=\"$(localstatedir)/run/lightdm\" \ + -DRUN_DIR=\"/run/lightdm\" \ -DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \ + -DSYSTEM_CONFIG_DIR=\"$(pkgdatadir)/lightdm.conf.d\" \ -DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions\" \ - -DREMOTE_SESSIONS_DIR=\"$(pkgdatadir)/remote-sessions\" \ ++++++ lightdm-xauthlocalhostname-support.patch ++++++ --- /var/tmp/diff_new_pack.1StzfX/_old 2013-09-11 15:44:45.000000000 +0200 +++ /var/tmp/diff_new_pack.1StzfX/_new 2013-09-11 15:44:45.000000000 +0200 @@ -3,36 +3,38 @@ diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am -@@ -44,6 +44,8 @@ lightdm_SOURCES = \ - session.h \ - session-child.c \ - session-child.h \ +@@ -70,7 +70,9 @@ lightdm_SOURCES = \ + xdmcp-session.h \ + xdmcp-session-private.h \ + opensuse-sysconfig.c \ +- opensuse-sysconfig.h ++ opensuse-sysconfig.h \ + util.c \ -+ util.h \ - vnc-server.c \ - vnc-server.h \ - vt.c \ ++ util.h + + lightdm_CFLAGS = \ + $(LIGHTDM_CFLAGS) \ diff --git a/src/seat-xlocal.c b/src/seat-xlocal.c --- a/src/seat-xlocal.c +++ b/src/seat-xlocal.c -@@ -17,6 +17,7 @@ - #include "xgreeter.h" - #include "xsession.h" +@@ -16,6 +16,7 @@ + #include "x-server-local.h" + #include "plymouth.h" #include "vt.h" +#include "util.h" G_DEFINE_TYPE (SeatXLocal, seat_xlocal, SEAT_TYPE); -@@ -162,12 +163,16 @@ static void +@@ -235,12 +236,16 @@ static void seat_xlocal_run_script (Seat *seat, DisplayServer *display_server, Process *script) { const gchar *path; + gchar *hostname; - XServerLocal *xserver; + XServerLocal *x_server; - xserver = XSERVER_LOCAL (display_server); - path = xserver_local_get_authority_file_path (xserver); - process_set_env (script, "DISPLAY", xserver_get_address (XSERVER (xserver))); + x_server = X_SERVER_LOCAL (display_server); + path = x_server_local_get_authority_file_path (x_server); + process_set_env (script, "DISPLAY", x_server_get_address (X_SERVER (x_server))); process_set_env (script, "XAUTHORITY", path); + hostname = lightdm_gethostname (); + process_set_env (script, "XAUTHLOCALHOSTNAME", hostname); @@ -68,56 +70,56 @@ +#include <glib.h> + +gchar * lightdm_gethostname (void); -diff --git a/src/xserver-local.c b/src/xserver-local.c ---- a/src/xserver-local.c -+++ b/src/xserver-local.c -@@ -23,6 +23,7 @@ +diff --git a/src/x-server-local.c b/src/x-server-local.c +--- a/src/x-server-local.c ++++ b/src/x-server-local.c +@@ -22,6 +22,7 @@ + #include "configuration.h" #include "process.h" #include "vt.h" - #include "plymouth.h" +#include "util.h" struct XServerLocalPrivate { @@ -152,13 +153,14 @@ XServerLocal * - xserver_local_new (void) + x_server_local_new (void) { - XServerLocal *self = g_object_new (XSERVER_LOCAL_TYPE, NULL); + XServerLocal *self = g_object_new (X_SERVER_LOCAL_TYPE, NULL); - gchar hostname[1024], *number, *name; + gchar *hostname, *number, *name; - xserver_set_display_number (XSERVER (self), xserver_local_get_unused_display_number ()); + x_server_set_display_number (X_SERVER (self), x_server_local_get_unused_display_number ()); - gethostname (hostname, 1024); + hostname = lightdm_gethostname (); - number = g_strdup_printf ("%d", xserver_get_display_number (XSERVER (self))); - xserver_set_authority (XSERVER (self), xauth_new_cookie (XAUTH_FAMILY_LOCAL, (guint8*) hostname, strlen (hostname), number)); + number = g_strdup_printf ("%d", x_server_get_display_number (X_SERVER (self))); + x_server_set_authority (X_SERVER (self), x_authority_new_cookie (XAUTH_FAMILY_LOCAL, (guint8*) hostname, strlen (hostname), number)); + g_free (hostname); g_free (number); - name = g_strdup_printf ("x-%d", xserver_get_display_number (XSERVER (self))); -diff --git a/src/xsession.c b/src/xsession.c ---- a/src/xsession.c -+++ b/src/xsession.c -@@ -17,6 +17,8 @@ - #include "xsession.h" - #include "xserver.h" + name = g_strdup_printf ("x-%d", x_server_get_display_number (X_SERVER (self))); +diff --git a/src/x-server.c b/src/x-server.c +--- a/src/x-server.c ++++ b/src/x-server.c +@@ -15,6 +15,8 @@ + + #include "x-server.h" #include "configuration.h" -+#include "xserver-local.h" ++#include "x-server-local.h" +#include "util.h" - G_DEFINE_TYPE (XSession, xsession, SESSION_TYPE); - -@@ -53,6 +55,12 @@ setup_env (XSession *xsession) - g_free (t); - } + struct XServerPrivate + { +@@ -168,6 +170,12 @@ x_server_connect_session (DisplayServer + else + l_debug (session, "Not setting XDG_VTNR"); -+ if (IS_XSERVER_LOCAL (display_server)) ++ if (IS_X_SERVER_LOCAL (display_server)) + { + gchar *hostname = lightdm_gethostname (); -+ session_set_env (SESSION (xsession), "XAUTHLOCALHOSTNAME", hostname); ++ session_set_env (session, "XAUTHLOCALHOSTNAME", hostname); + g_free (hostname); + } - session_set_env (SESSION (xsession), "DISPLAY", xserver_get_address (XSERVER (display_server))); - session_set_tty (SESSION (xsession), xserver_get_address (XSERVER (display_server))); - session_set_xdisplay (SESSION (xsession), xserver_get_address (XSERVER (display_server))); + session_set_env (session, "DISPLAY", x_server_get_address (X_SERVER (display_server))); + session_set_tty (session, x_server_get_address (X_SERVER (display_server))); + session_set_xdisplay (session, x_server_get_address (X_SERVER (display_server))); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
