Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at Fri Sep 9 13:39:15 CEST 2011.
-------- --- lightdm/lightdm.changes 2011-09-03 14:39:52.000000000 +0200 +++ /mounts/work_src_done/STABLE/lightdm/lightdm.changes 2011-09-07 12:08:22.000000000 +0200 @@ -1,0 +2,20 @@ +Wed Sep 7 09:27:39 UTC 2011 - [email protected] + +- update to version 0.9.5 + - use accounts service in the daemon if it is available + - correctly load seat type in multi seat configuration + - add display-setup, session-setup and session-cleanup scripting + hooks + - fix cancel button in GTK greeter + - fix line through GTK greeter menu items + - exit daemon if a seat fails which has exit-on-failure set to + true + - add HasGuestAccount property to seat D-Bus interface + - fix XDMCP authorization + - update man file +- removed lightdm-fix-underlinking.patch and + lightdm-add-scripting-hooks.patch which have been integrated + upstream +- depend on the new gdmflexiserver compatibility wrapper + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- lightdm-0.9.4.tar.gz lightdm-add-scripting-hooks.patch lightdm-fix-underlinking.patch New: ---- lightdm-0.9.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.hrl7n5/_old 2011-09-09 13:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.hrl7n5/_new 2011-09-09 13:39:09.000000000 +0200 @@ -23,7 +23,7 @@ %define qt_lib lib%{qt_libname}-0 Name: lightdm -Version: 0.9.4 +Version: 0.9.5 Release: 1 Summary: Lightweight, Cross-desktop Display Manager Group: System/X11/Displaymanagers @@ -33,8 +33,6 @@ Source1: %{name}.pamd Source2: %{name}-autologin.pamd Source100: %{name}-rpmlintrc -# PATCH-FEATURE-UPSTREAM lightdm-add-scripting-hooks.patch lp#602505 [email protected] -- Implements scripting hooks compatible with xdm/gdm -Patch0: lightdm-add-scripting-hooks.patch # PATCH-FEATURE-OPENSUSE lightdm-sysconfig-support.patch [email protected] -- Adds support for reading configuration options from /etc/sysconfig/displaymanager and /etc/sysconfig/windowmanager Patch1: lightdm-sysconfig-support.patch # PATCH-FEATURE-OPENSUSE lightdm-xauthlocalhostname-support.patch [email protected] -- Set XAUTHLOCALHOSTNAME to localhost for local logins to avoid issues in the session in case the hostname changes @@ -45,11 +43,8 @@ Patch4: lightdm-set-gdmflexiserver-envvar.patch # PATCH-FEATURE-OPENSUSE lightdm-default-configuration.patch [email protected] -- Modifies configuration with suitable defaults for openSUSE Patch5: lightdm-default-configuration.patch -# PATCH-FIX-UPSTREAM lightdm-fix-underlinking.patch lp#835465 [email protected] -- Fixes an underlinking issue with test-qt-greeter -Patch6: lightdm-fix-underlinking.patch # PATCH-FIX-UPSTREAM lightdm-lock-screen-before-switch.patch [email protected] -- Try to lock the screen before switching users Patch7: lightdm-lock-screen-before-switch.patch - BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xdmcp) @@ -69,6 +64,7 @@ # 3rd party greeters don't have to follow # the same versioning of lightdm Requires: lightdm-greeter +Requires: gdmflexiserver Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -84,6 +80,7 @@ %lang_package %package -n %{gobject_lib} + Summary: LightDM GObject-based Client Library Group: System/Libraries @@ -92,6 +89,7 @@ %package gobject-devel + Summary: Development Files for %{gobject_lib} Group: Development/Libraries/C and C++ Requires: %{gobject_lib} = %{version} @@ -102,6 +100,7 @@ %package -n %{qt_lib} + Summary: LightDM Qt-based Client Library Group: System/Libraries @@ -110,6 +109,7 @@ %package qt-devel + Summary: Development Files for %{qt_lib} Group: Development/Libraries/C and C++ Requires: %{qt_lib} = %{version} @@ -120,6 +120,7 @@ %package gtk-greeter + Summary: GTK-based Greeter for LightDM Group: System/X11/Displaymanagers Requires(post): update-alternatives @@ -134,6 +135,7 @@ %package gtk-greeter-branding-upstream + Summary: Upstream branding of %{name}-gtk-greeter Group: System/X11/Displaymanagers Requires: %{name}-gtk-greeter = %{version} @@ -149,6 +151,7 @@ %package qt-greeter + Summary: Qt-based Greeter for LightDM Group: System/X11/Displaymanagers Requires(post): update-alternatives @@ -162,13 +165,11 @@ %prep %setup -q -%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 -%patch6 -p1 %patch7 -p1 %build ++++++ lightdm-0.9.4.tar.gz -> lightdm-0.9.5.tar.gz ++++++ ++++ 26330 lines of diff (skipped) ++++++ lightdm-default-configuration.patch ++++++ --- /var/tmp/diff_new_pack.hrl7n5/_old 2011-09-09 13:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.hrl7n5/_new 2011-09-09 13:39:09.000000000 +0200 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent de431b5b06f188b2d9f49724a5cac9f523a8b0f9 +# Parent 6c508ea3a4ce2c6f1443cdbe1e64f6d9851a1d5c openSUSE-specific default configuration diff --git a/data/lightdm.conf b/data/lightdm.conf @@ -14,8 +14,8 @@ #guest-account-script=guest-account #log-directory=/var/log/lightdm #run-directory=/var/run/lightdm -@@ -78,7 +78,7 @@ - # autologin-session = Session to load for automatic login (overrides user-session) +@@ -79,7 +79,7 @@ + # exit-on-failure = True if the daemon should exit if this seat fails # [SeatDefaults] -#xserver-command=X @@ -23,7 +23,7 @@ #xserver-layout= #xserver-config= #xdmcp-manager= -@@ -89,11 +89,11 @@ +@@ -90,11 +90,11 @@ #user-session=default #allow-guest=true #guest-session=UNIMPLEMENTED ++++++ lightdm-desktop-session-env-pam.patch ++++++ --- /var/tmp/diff_new_pack.hrl7n5/_old 2011-09-09 13:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.hrl7n5/_new 2011-09-09 13:39:09.000000000 +0200 @@ -1,11 +1,11 @@ # HG changeset patch -# Parent 1d329005a5224b3b88546b87ec2221e5590b1149 +# Parent 2151c7759ae2e749bbb6909f284cab6829b513ad pass a DESKTOP_SESSION environment variable with the name of the selected session into the PAM environment diff --git a/src/display.c b/src/display.c --- a/src/display.c +++ b/src/display.c -@@ -596,6 +596,8 @@ create_session (Display *display, PAMSes +@@ -474,6 +474,8 @@ create_session (Display *display, PAMSes session_set_is_greeter (session, is_greeter); session_set_authentication (session, authentication); session_set_command (session, command); @@ -88,7 +88,7 @@ void session_set_cookie (Session *session, const gchar *cookie) { -@@ -197,7 +215,7 @@ session_start (Session *session) +@@ -196,7 +214,7 @@ session_start (Session *session) g_debug ("Launching session"); ++++++ lightdm-lock-screen-before-switch.patch ++++++ --- /var/tmp/diff_new_pack.hrl7n5/_old 2011-09-09 13:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.hrl7n5/_new 2011-09-09 13:39:09.000000000 +0200 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent 9b1573da6be87e6608fdc6807225ca87cdfc006a +# Parent 046e23b2e58b9689e8e2d24ca6deaacdcf686512 try to lock the screen before switching users diff --git a/utils/gdmflexiserver b/utils/gdmflexiserver ++++++ lightdm-set-gdmflexiserver-envvar.patch ++++++ --- /var/tmp/diff_new_pack.hrl7n5/_old 2011-09-09 13:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.hrl7n5/_new 2011-09-09 13:39:09.000000000 +0200 @@ -1,11 +1,11 @@ # HG changeset patch -# Parent 6f6ad13bc3f9a6ec6247851d548370f93bb4f601 +# Parent c8e620b67f0c43998b66514be5860d08f9a20721 set the GDMFLEXISERVER environment variable for the gdmflexiserver wrapper diff --git a/src/session.c b/src/session.c --- a/src/session.c +++ b/src/session.c -@@ -223,6 +223,7 @@ session_start (Session *session) +@@ -222,6 +222,7 @@ session_start (Session *session) process_set_env (PROCESS (session), "USERNAME", user_get_name (user)); // FIXME: Is this required? process_set_env (PROCESS (session), "HOME", user_get_home_directory (user)); process_set_env (PROCESS (session), "SHELL", user_get_shell (user)); ++++++ lightdm-sysconfig-support.patch ++++++ --- /var/tmp/diff_new_pack.hrl7n5/_old 2011-09-09 13:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.hrl7n5/_new 2011-09-09 13:39:09.000000000 +0200 @@ -37,7 +37,7 @@ diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am -@@ -24,6 +24,8 @@ lightdm_SOURCES = \ +@@ -26,6 +26,8 @@ lightdm_SOURCES = \ lightdm.c \ ldm-marshal.c \ ldm-marshal.h \ @@ -49,7 +49,7 @@ diff --git a/src/display.c b/src/display.c --- a/src/display.c +++ b/src/display.c -@@ -1004,7 +1004,10 @@ static void +@@ -883,7 +883,10 @@ static void display_init (Display *display) { display->priv = G_TYPE_INSTANCE_GET_PRIVATE (display, DISPLAY_TYPE, DisplayPrivate); @@ -72,9 +72,9 @@ #include "display-manager.h" #include "xdmcp-server.h" #include "seat-xdmcp-session.h" -@@ -55,6 +56,114 @@ typedef struct +@@ -56,6 +57,114 @@ typedef struct - #define LDM_BUS_NAME "org.freedesktop.DisplayManager" + #define LIGHTDM_BUS_NAME "org.freedesktop.DisplayManager" +#define SYSCONFIG_DISPLAYMANAGER "/etc/sysconfig/displaymanager" +#define SYSCONFIG_WINDOWMANAGER "/etc/sysconfig/windowmanager" @@ -187,7 +187,7 @@ static void log_cb (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer data) -@@ -985,6 +1094,9 @@ main (int argc, char **argv) +@@ -1016,6 +1125,9 @@ main (int argc, char **argv) loop = g_main_loop_new (NULL, FALSE); ++++++ lightdm-xauthlocalhostname-support.patch ++++++ --- /var/tmp/diff_new_pack.hrl7n5/_old 2011-09-09 13:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.hrl7n5/_new 2011-09-09 13:39:09.000000000 +0200 @@ -1,11 +1,11 @@ # HG changeset patch -# Parent fe8c7281c141b60c639196e03934595e0e8328b8 +# Parent 61b4b7ce4fde209014a6b07ffa3a8671605bdf88 set XAUTHLOCALHOSTNAME to localhost for local logins to avoid issues in the session in case the hostname changes diff --git a/src/seat.c b/src/seat.c --- a/src/seat.c +++ b/src/seat.c -@@ -297,6 +297,7 @@ run_script (Display *display, const gcha +@@ -298,6 +298,7 @@ run_script (Display *display, const gcha (xauthority_path = xserver_local_get_authority_file_path (XSERVER_LOCAL (xserver)))) { g_ptr_array_add (env_array, g_strdup_printf ("XAUTHORITY=%s", xauthority_path)); @@ -16,7 +16,7 @@ diff --git a/src/xserver-local.c b/src/xserver-local.c --- a/src/xserver-local.c +++ b/src/xserver-local.c -@@ -345,7 +345,8 @@ xserver_local_start (DisplayServer *disp +@@ -347,7 +347,8 @@ xserver_local_start (DisplayServer *disp XServerLocal *server = XSERVER_LOCAL (display_server); gboolean result; gchar *filename, *dir, *path, *absolute_command; @@ -26,14 +26,14 @@ GString *command; GError *error = NULL; -@@ -389,7 +390,6 @@ xserver_local_start (DisplayServer *disp +@@ -391,7 +392,6 @@ xserver_local_start (DisplayServer *disp if (server->priv->layout) g_string_append_printf (command, " -layout %s", server->priv->layout); - gethostname (hostname, 1024); number = g_strdup_printf ("%d", xserver_get_display_number (XSERVER (server))); if (!server->priv->xdmcp_key) - xserver_set_authority (XSERVER (server), xauth_new_cookie (XAUTH_FAMILY_LOCAL, hostname, number)); + xserver_set_authority (XSERVER (server), xauth_new_cookie (XAUTH_FAMILY_LOCAL, (guint8*) hostname, strlen (hostname), number)); diff --git a/src/xsession.c b/src/xsession.c --- a/src/xsession.c +++ b/src/xsession.c @@ -45,7 +45,7 @@ #include "configuration.h" struct XSessionPrivate -@@ -81,6 +82,8 @@ xsession_start (Session *session) +@@ -82,6 +83,8 @@ xsession_start (Session *session) g_clear_error (&error); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
