Hello community,

here is the log from the commit of package lightdm for openSUSE:Factory
checked in at Thu Sep 22 12:56:03 CEST 2011.



--------
--- lightdm/lightdm.changes     2011-09-20 12:42:22.000000000 +0200
+++ /mounts/work_src_done/STABLE/lightdm/lightdm.changes        2011-09-22 
11:14:47.000000000 +0200
@@ -1,0 +2,15 @@
+Thu Sep 22 08:29:22 UTC 2011 - g...@opensuse.org
+
+- update to version 0.9.8
+  - allow lightdm --version to be run as non-root
+  - automatically respond to PAM messages without prompts
+  - create 'AddLocalXSeat' D-Bus method, and require root to use
+    'AddSeat'
+  - fix multi-seat configuration picking the same display number
+  - use correct D-Bus and power interface in liblightdm-qt
+  - run pam_setcred inside the session process so pam_group works
+  - make sure one session is always selected in the GTK greeter
+- install displaymanager configuration script into
+  %{_libexecdir}/X11/displaymanagers/ (bnc#714003)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  lightdm-0.9.7.99_bzr20110920.tar.gz

New:
----
  lightdm-0.9.8.tar.gz

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

Other differences:
------------------
++++++ lightdm.spec ++++++
--- /var/tmp/diff_new_pack.DQQ9bB/_old  2011-09-22 12:55:59.000000000 +0200
+++ /var/tmp/diff_new_pack.DQQ9bB/_new  2011-09-22 12:55:59.000000000 +0200
@@ -23,7 +23,7 @@
 %define qt_lib          lib%{qt_libname}-0
 
 Name:           lightdm
-Version:        0.9.7.99_bzr20110920
+Version:        0.9.8
 Release:        1
 Summary:        Lightweight, Cross-desktop Display Manager
 Group:          System/X11/Displaymanagers
@@ -185,7 +185,7 @@
 
 install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/lightdm
 install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/lightdm-autologin
-install -D -m 644 %{SOURCE3} %{buildroot}%{_libdir}/X11/displaymanagers/lightdm
+install -D -m 644 %{SOURCE3} 
%{buildroot}%{_libexecdir}/X11/displaymanagers/lightdm
 
 mv %{buildroot}%{_libexecdir}/lightdm-set-defaults \
     %{buildroot}%{_libexecdir}/lightdm/lightdm-set-defaults
@@ -253,9 +253,9 @@
 %config %{_sysconfdir}/lightdm/keys.conf
 %config %{_sysconfdir}/pam.d/lightdm*
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf
-%dir %{_libdir}/X11/
-%dir %{_libdir}/X11/displaymanagers/
-%{_libdir}/X11/displaymanagers/lightdm
+%dir %{_libexecdir}/X11/
+%dir %{_libexecdir}/X11/displaymanagers/
+%{_libexecdir}/X11/displaymanagers/lightdm
 %dir %{_datadir}/xgreeters/
 %ghost %attr(751,lightdm,lightdm) %dir %{_localstatedir}/run/lightdm
 %attr(750,lightdm,lightdm) %dir %{_localstatedir}/log/lightdm

++++++ lightdm-0.9.7.99_bzr20110920.tar.gz -> lightdm-0.9.8.tar.gz ++++++
++++ 64633 lines of diff (skipped)

++++++ lightdm-desktop-session-env-pam.patch ++++++
--- /var/tmp/diff_new_pack.DQQ9bB/_old  2011-09-22 12:55:59.000000000 +0200
+++ /var/tmp/diff_new_pack.DQQ9bB/_new  2011-09-22 12:55:59.000000000 +0200
@@ -1,5 +1,5 @@
 # HG changeset patch
-# Parent 0fd6772405c66ee0058a5a70c2c550821b930582
+# Parent 4ec4b8145067aadcb107ee3f68acb314e76f2f00
 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
@@ -12,8 +12,8 @@
 +    if (!is_greeter)
 +        session_set_user_session_name (session, session_name);
  
-     process_set_env (PROCESS (session), "DESKTOP_SESSION", session_name); // 
FIXME: Apparently deprecated?
-     process_set_env (PROCESS (session), "GDMSESSION", session_name); // 
FIXME: Not cross-desktop
+     session_set_env (session, "DESKTOP_SESSION", session_name); // FIXME: 
Apparently deprecated?
+     session_set_env (session, "GDMSESSION", session_name); // FIXME: Not 
cross-desktop
 diff --git a/src/pam-session.c b/src/pam-session.c
 --- a/src/pam-session.c
 +++ b/src/pam-session.c
@@ -51,7 +51,7 @@
 -gboolean pam_session_open (PAMSession *session);
 +gboolean pam_session_open (PAMSession *session, const gchar *session_name);
  
- gboolean pam_session_get_in_session (PAMSession *session);
+ gboolean pam_session_setup (PAMSession *session);
  
 diff --git a/src/session.c b/src/session.c
 --- a/src/session.c
@@ -88,21 +88,21 @@
  void
  session_set_command (Session *session, const gchar *command)
  {
-@@ -272,7 +290,7 @@ session_real_start (Session *session)
+@@ -290,7 +308,7 @@ session_real_start (Session *session)
          g_free (path);
      }
  
 -    pam_session_open (session->priv->authentication);
 +    pam_session_open (session->priv->authentication, 
session->priv->user_session_name);
-   
-     /* Open ConsoleKit session */
-     if (getuid () == 0)
+     set_env_from_authentication (session, session->priv->authentication);
+ 
+     set_language (session);
 diff --git a/src/session.h b/src/session.h
 --- a/src/session.h
 +++ b/src/session.h
-@@ -55,6 +55,10 @@ void session_set_command (Session *sessi
+@@ -60,6 +60,10 @@ void session_set_env (Session *process, 
  
- const gchar *session_get_command (Session *session);
+ const gchar *session_get_env (Session *session, const gchar *name);
  
 +void session_set_user_session_name (Session *session, const gchar 
*user_session_name);
 +
@@ -110,4 +110,4 @@
 +
  void session_set_console_kit_parameter (Session *session, const gchar *name, 
GVariant *value);
  
- gboolean session_start (Session *session);
+ const gchar *session_get_console_kit_cookie (Session *session);

++++++ lightdm-set-gdmflexiserver-envvar.patch ++++++
--- /var/tmp/diff_new_pack.DQQ9bB/_old  2011-09-22 12:55:59.000000000 +0200
+++ /var/tmp/diff_new_pack.DQQ9bB/_new  2011-09-22 12:55:59.000000000 +0200
@@ -1,15 +1,15 @@
 # HG changeset patch
-# Parent 202b32c6346a0090075743eb314e3665de58d97e
+# Parent 6c8db608a5cf06a76e0d11f5cba91dba7b2b8765
 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
-@@ -251,6 +251,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));
-+    process_set_env (PROCESS (session), "GDMFLEXISERVER", PKGLIBEXEC_DIR 
"/gdmflexiserver");
-     set_env_from_authentication (session, session->priv->authentication);
-     set_language (session);
+@@ -274,6 +274,7 @@ session_start (Session *session)
+     session_set_env (session, "USERNAME", user_get_name (user)); // FIXME: Is 
this required?
+     session_set_env (session, "HOME", user_get_home_directory (user));
+     session_set_env (session, "SHELL", user_get_shell (user));
++    session_set_env (session, "GDMFLEXISERVER", PKGLIBEXEC_DIR 
"/gdmflexiserver");
  
+     return SESSION_GET_CLASS (session)->start (session);
+ }

++++++ lightdm-sysconfig-support.patch ++++++
--- /var/tmp/diff_new_pack.DQQ9bB/_old  2011-09-22 12:55:59.000000000 +0200
+++ /var/tmp/diff_new_pack.DQQ9bB/_new  2011-09-22 12:55:59.000000000 +0200
@@ -192,7 +192,7 @@
  static void
  log_cb (const gchar *log_domain, GLogLevelFlags log_level,
          const gchar *message, gpointer data)
-@@ -962,6 +1074,9 @@ main (int argc, char **argv)
+@@ -1086,6 +1198,9 @@ main (int argc, char **argv)
  
      loop = g_main_loop_new (NULL, FALSE);
  

++++++ lightdm-xauthlocalhostname-support.patch ++++++
--- /var/tmp/diff_new_pack.DQQ9bB/_old  2011-09-22 12:55:59.000000000 +0200
+++ /var/tmp/diff_new_pack.DQQ9bB/_new  2011-09-22 12:55:59.000000000 +0200
@@ -1,5 +1,5 @@
 # HG changeset patch
-# Parent a85bfd253b82467d4a434708b8bc4e793dc80a1b
+# Parent 150da7055968f940d56b7db0b206c0eef80e2697
 set XAUTHLOCALHOSTNAME to localhost for local logins to avoid issues in the 
session in case the hostname changes
 
 diff --git a/src/seat-xlocal.c b/src/seat-xlocal.c
@@ -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
+@@ -375,7 +375,8 @@ xserver_local_start (DisplayServer *disp
      XServerLocal *server = XSERVER_LOCAL (display_server);
      gboolean result;
      gchar *filename, *dir, *path, *absolute_command;
@@ -26,7 +26,7 @@
      GString *command;
  
      g_return_val_if_fail (server->priv->xserver_process == NULL, FALSE);
-@@ -387,7 +388,6 @@ xserver_local_start (DisplayServer *disp
+@@ -417,7 +418,6 @@ xserver_local_start (DisplayServer *disp
      if (server->priv->layout)
          g_string_append_printf (command, " -layout %s", server->priv->layout);
  
@@ -45,12 +45,12 @@
  #include "configuration.h"
  #include "privileges.h"
  
-@@ -117,6 +118,8 @@ xsession_start (Session *session)
-         g_free (path);
+@@ -59,6 +60,8 @@ xsession_start (Session *session)
+         session_set_console_kit_parameter (session, "is-local", 
g_variant_new_boolean (FALSE));
      }
  
 +    if (IS_XSERVER_LOCAL (XSESSION (session)->priv->xserver))
-+        process_set_env (PROCESS (session), "XAUTHLOCALHOSTNAME", 
"localhost");
-     process_set_env (PROCESS (session), "DISPLAY", xserver_get_address 
(xsession->priv->xserver));
++        session_set_env (session, "XAUTHLOCALHOSTNAME", "localhost");
+     session_set_env (session, "DISPLAY", xserver_get_address 
(xsession->priv->xserver));
  
      return SESSION_CLASS (xsession_parent_class)->start (session);


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to