Hello community,
here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2013-04-18 15:00:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lightdm (Old)
and /work/SRC/openSUSE:Factory/.lightdm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lightdm", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes 2013-04-03 23:46:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes 2013-04-18 15:00:16.000000000 +0200
@@ -1,0 +2,52 @@
+Thu Apr 18 08:14:40 UTC 2013 - gber@opensuse.org
+
+- remove apparmor profile for a guest session which is not
+ supported in openSUSE
+
+-------------------------------------------------------------------
+Mon Apr 15 07:49:35 UTC 2013 - gber@opensuse.org
+
+- update to version 1.6.0
+ - allow VNC command to be specified in lightdm.conf
+ - fix build with gobject-introspection 1.35.9
+ - fix authentication cancel regression caused in 1.5.2
+ - fix stale X server being left behind when using LockSession
+ D-Bus API
+ - adjust AppArmor profile to also work with logind
+ - don't use GIO to access X authority files - it uses GVFS which
+ is unnecessary overhead/complexity
+ - handle over/underflows when reading from greeter
+ - improve warning message when XDMCP packet has length mismatch
+ - only report test command line if it fails
+ - add more regression tests
+ - QLightDM: Add Qt5 version of the library: liblightdm-qt5-2
+ - QLightDM: Add some missing role names in UsersModel
+ - QLightDM: Add a backgroundPath role to UsersModel
+ - QLightDM: Fix potential crash in QLightDM::UsersModel closedown
+ - improve guest session apparmor
+ - run each test in its own /tmp dir so they can't interfere with
+ eachother
+ - fix script hooks no longer working with latest glib
+ - fix display clean up code
+ - add man page for lightdm-set-defaults
+ - use xzip for distribution, don't distribute old metadata
+ - correctly check if display is active when session quits
+ - relicense liblightdm to LGPL-2/LGPL-3 so GPL-2 code can link
+ against it
+ - selectively lock memory rather than calling mlockall for main
+ daemon
+- dropped obsolete lightdm-fix-determining-active-display.patch,
+ lightdm-use-fine-grained-memory-locking.patch,
+ lightdm-fix-build-with-gobject-introspection-1.35.9.patch
+- liblightdm-qt-2-0 and liblightdm-gobject-1-0 were relicensed to
+ LGPL-2.0 or LGPL-3.0
+
+-------------------------------------------------------------------
+Sun Apr 14 10:22:31 UTC 2013 - gber@opensuse.org
+
+- added lightdm-fix-function-declarations-missing-prototypes.patch
+ in order to fix missing prototypes and pre-ANSI C function
+ declarations, this fixes build failures with gnome-common >=
+ 3.7.4 (lp#1168842)
+
+-------------------------------------------------------------------
Old:
----
lightdm-1.4.1.tar.gz
lightdm-fix-build-with-gobject-introspection-1.35.9.patch
lightdm-fix-determining-active-display.patch
lightdm-use-fine-grained-memory-locking.patch
New:
----
lightdm-1.6.0.tar.xz
lightdm-fix-function-declarations-missing-prototypes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lightdm.spec ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -28,13 +28,13 @@
%endif
Name: lightdm
-Version: 1.4.1
+Version: 1.6.0
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: %{name}-%{version}.tar.gz
+Source0: https://launchpad.net/lightdm/1.6/%{version}/+download/%{name}-%{version}.tar.xz
Source1: %{name}-greeter.pamd
Source2: X11-displaymanagers-%{name}
# workaround for bnc#798769
@@ -60,12 +60,8 @@
Patch8: lightdm-do-not-strip-codeset-from-language.patch
# PATCH-FIX-OPENSUSE lightdm-use-run-dir.patch gber@opensuse.org -- Use /run instead of /var/run
Patch9: lightdm-use-run-dir.patch
-# PATCH-FIX-UPSTREAM lightdm-fix-determining-active-display.patch gber@opensuse.org -- Correctly work out the active display from the active VT when it exits so a greeter starts (backported from upstream bzr)
-Patch10: lightdm-fix-determining-active-display.patch
-# PATCH-FIX-UPSTREAM lightdm-use-fine-grained-memory-locking.patch gber@opensuse.org -- Use libgcrypt to selectively secure password memory instead of the big-hammer approach of mlockall (backported from upstream bzr)
-Patch11: lightdm-use-fine-grained-memory-locking.patch
-# PATCH-FIX-UPSTREAM lightdm-fix-build-with-gobject-introspection-1.35.9.patch gber@opensuse.org -- Fix build with gobject-introspection >= 1.35.9 (backported from upstream bzr)
-Patch12: lightdm-fix-build-with-gobject-introspection-1.35.9.patch
+# PATCH-FIX-UPSTREAM lightdm-fix-function-declarations-missing-prototypes.patch lp#1168842 gber@opensuse.org -- Fix missing prototypes and pre-ANSI C function declarations
+Patch10: lightdm-fix-function-declarations-missing-prototypes.patch
BuildRequires: gcc-c++
BuildRequires: gnome-common
BuildRequires: gtk-doc
@@ -118,7 +114,7 @@
%lang_package
%package -n %{gobject_lib}
-
+License: LGPL-2.0 or LGPL-3.0
Summary: LightDM GObject-based Client Library
Group: System/Libraries
Recommends: accountsservice
@@ -127,6 +123,7 @@
A GObject-based library for LightDM clients to use to interface with LightDM.
%package gobject-devel
+License: LGPL-2.0 or LGPL-3.0
Summary: Development Files for %{gobject_lib}
Group: Development/Libraries/C and C++
Requires: %{gobject_lib} = %{version}
@@ -136,6 +133,7 @@
LightDM clients.
%package -n %{qt_lib}
+License: LGPL-2.0 or LGPL-3.0
Summary: LightDM Qt-based Client Library
Group: System/Libraries
@@ -143,6 +141,7 @@
A Qt-based library for LightDM clients to use to interface with LightDM.
%package qt-devel
+License: LGPL-2.0 or LGPL-3.0
Summary: Development Files for %{qt_lib}
Group: Development/Libraries/C and C++
Requires: %{qt_lib} = %{version}
@@ -166,11 +165,9 @@
%patch9 -p1
%endif
%patch10 -p1
-%patch11 -p1
-%patch12 -p1
%build
-./autogen.sh
+bash ./autogen.sh
%configure \
--libexecdir=%{_libexecdir} \
--disable-static \
@@ -188,6 +185,9 @@
# upstart configuration is not needed
rm -rf %{buildroot}%{_sysconfdir}/init/
+# there is no guest session support in openSUSE
+rm -rf %{buildroot}%{_sysconfdir}/apparmor.d/
+
# these are useless stubs for now
rm -rf %{buildroot}%{_datadir}/help/
@@ -227,7 +227,7 @@
%files
%defattr(-,root,root,-)
-%doc COPYING ChangeLog NEWS README
+%doc COPYING.GPL3 NEWS
%{_bindir}/dm-tool
%{_sbindir}/lightdm
%dir %{_libexecdir}/lightdm/
@@ -240,8 +240,6 @@
%config %{_sysconfdir}/lightdm/keys.conf
%config %{_sysconfdir}/pam.d/lightdm*
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf
-%dir %{_sysconfdir}/apparmor.d/
-%{_sysconfdir}/apparmor.d/lightdm-guest-session
%dir %{_libexecdir}/X11/displaymanagers/
%{_libexecdir}/X11/displaymanagers/lightdm
%dir %{_datadir}/xgreeters/
@@ -253,11 +251,13 @@
%attr(750,lightdm,lightdm) %dir %{_localstatedir}/lib/lightdm
%ghost %attr(711,root,root) %dir %{_localstatedir}/cache/lightdm
%doc %{_mandir}/man1/lightdm.1*
+%doc %{_mandir}/man1/lightdm-set-defaults.1*
%files lang -f %{name}.lang
%files -n %{gobject_lib}
%defattr(-,root,root,-)
+%doc COPYING.LGPL2 COPYING.LGPL3
%{_libdir}/lib%{gobject_libname}.so.*
%files gobject-devel
@@ -274,6 +274,7 @@
%files -n %{qt_lib}
%defattr(-,root,root,-)
+%doc COPYING.LGPL2 COPYING.LGPL3
%{_libdir}/lib%{qt_libname}.so.*
%files qt-devel
++++++ lightdm-disable-utmp-handling.patch ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -1,5 +1,5 @@
# HG changeset patch
-# Parent 83c91517728575dac90a7c56970422eaf68a630f
+# Parent a0053176642cac55136462dd2f2a84180c7ac842
disable utmp handling since this is handled in the Xstartup/Xreset scripts
diff --git a/src/session-child.c b/src/session-child.c
@@ -12,10 +12,10 @@
+#if 0
#include
+#endif
+ #include
#include "session-child.h"
- #include "session.h"
-@@ -527,6 +529,7 @@ session_child_run (int argc, char **argv
+@@ -538,6 +540,7 @@ session_child_run (int argc, char **argv
/* Wait for the command to complete (blocks) */
if (child_pid > 0)
{
@@ -23,7 +23,7 @@
/* Log to utmp */
if (g_strcmp0 (class, XDG_SESSION_CLASS_GREETER) != 0)
{
-@@ -552,10 +555,10 @@ session_child_run (int argc, char **argv
+@@ -563,10 +566,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)
{
-@@ -581,6 +584,7 @@ session_child_run (int argc, char **argv
+@@ -592,6 +595,7 @@ session_child_run (int argc, char **argv
g_printerr ("Failed to write utmpx: %s\n", strerror (errno));
endutxent ();
}
++++++ lightdm-do-not-strip-codeset-from-language.patch ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -1,5 +1,5 @@
# HG changeset patch
-# Parent 85f20a477f42e514507c2d6ecd97deee2f860bcc
+# Parent 0eeaa117fcdb0a143c3afad9ab3310866ce63352
Do not strip the codeset when loading the Language filed from dmrc
Do not strip the codeset and be consistent with how the Language setting is
@@ -8,7 +8,7 @@
diff --git a/liblightdm-gobject/user.c b/liblightdm-gobject/user.c
--- a/liblightdm-gobject/user.c
+++ b/liblightdm-gobject/user.c
-@@ -1133,16 +1133,10 @@ load_dmrc (LightDMUser *user)
+@@ -1132,16 +1132,10 @@ load_dmrc (LightDMUser *user)
// FIXME: Watch for changes
++++++ lightdm-fix-function-declarations-missing-prototypes.patch ++++++
# HG changeset patch
# Parent d8da02f843e3b16659f8e11a7a70d31645843d10
Fix missing prototypes and pre-ANSI C function declarations
diff --git a/src/session-child.c b/src/session-child.c
--- a/src/session-child.c
+++ b/src/session-child.c
@@ -21,6 +21,7 @@
#include "console-kit.h"
#include "privileges.h"
#include "xauthority.h"
+#include "configuration.h"
/* Child process being run */
static GPid child_pid = 0;
@@ -91,7 +92,7 @@ read_string_full (void* (*alloc_fn)(size
}
static gchar *
-read_string ()
+read_string (void)
{
return read_string_full (g_malloc);
}
++++++ lightdm-fix-language-setting.patch ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -1,5 +1,5 @@
# HG changeset patch
-# Parent 914564e535f0a132b097bc5a066908c04892180d
+# Parent 11266c3c952ab631f1f8fa90f94497d3cebf30d8
Fix saving/retrieving of the language setting
Add user_get_language() for retrieving the language setting.
@@ -127,7 +127,7 @@
diff --git a/src/display.c b/src/display.c
--- a/src/display.c
+++ b/src/display.c
-@@ -704,6 +704,7 @@ display_start_session (Display *display)
+@@ -705,6 +705,7 @@ display_start_session (Display *display)
{
User *user;
gchar *filename, *sessions_dir, *path;
@@ -135,7 +135,7 @@
gchar **argv;
user = session_get_user (display->priv->session);
-@@ -727,6 +728,14 @@ display_start_session (Display *display)
+@@ -728,6 +729,14 @@ display_start_session (Display *display)
if (!argv)
return TRUE;
++++++ lightdm-make-sessions-inherit-system-default-locale.patch ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -1,11 +1,11 @@
# HG changeset patch
-# Parent 4b1e0a3dcb9abdff34e0512239e2dad71be9d639
+# Parent 99487bcdd83add38d34c8939ce19bac56cab28a9
Make greeter and user sessions inherit the system default locale
diff --git a/src/session-child.c b/src/session-child.c
--- a/src/session-child.c
+++ b/src/session-child.c
-@@ -185,6 +185,19 @@ session_child_run (int argc, char **argv
+@@ -194,6 +194,19 @@ session_child_run (int argc, char **argv
gchar *console_kit_cookie;
const gchar *path;
GError *error = NULL;
@@ -25,7 +25,7 @@
#if !defined(GLIB_VERSION_2_36)
g_type_init ();
-@@ -321,6 +334,17 @@ session_child_run (int argc, char **argv
+@@ -336,6 +349,17 @@ session_child_run (int argc, char **argv
pam_putenv (pam_handle, g_strdup_printf ("LOGNAME=%s", username));
pam_putenv (pam_handle, g_strdup_printf ("HOME=%s", user_get_home_directory (user)));
pam_putenv (pam_handle, g_strdup_printf ("SHELL=%s", user_get_shell (user)));
++++++ lightdm-set-gdmflexiserver-envvar.patch ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -3,7 +3,7 @@
diff --git a/src/session-child.c b/src/session-child.c
--- a/src/session-child.c
+++ b/src/session-child.c
-@@ -461,10 +461,7 @@ session_child_run (int argc, char **argv
+@@ -472,10 +472,7 @@ session_child_run (int argc, char **argv
g_free (value);
}
++++++ lightdm-sysconfig-support.patch ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -51,7 +51,7 @@
diff --git a/src/display.c b/src/display.c
--- a/src/display.c
+++ b/src/display.c
-@@ -405,7 +405,10 @@ start_greeter (Display *display)
+@@ -410,7 +410,10 @@ start_greeter (Display *display)
g_signal_connect (display->priv->session, "authentication-complete", G_CALLBACK (greeter_authentication_complete_cb), display);
/* Make communication link to greeter that will run on this session */
@@ -63,8 +63,8 @@
g_signal_connect (G_OBJECT (display->priv->greeter), "connected", G_CALLBACK (greeter_connected_cb), display);
g_signal_connect (G_OBJECT (display->priv->greeter), "start-authentication", G_CALLBACK (greeter_start_authentication_cb), display);
g_signal_connect (G_OBJECT (display->priv->greeter), "start-session", G_CALLBACK (greeter_start_session_cb), display);
-@@ -791,7 +794,10 @@ display_server_ready_cb (DisplayServer *
- else if (display->priv->select_user_hint)
+@@ -788,7 +791,10 @@ display_server_ready_cb (DisplayServer *
+ else if (display->priv->select_user_hint && display->priv->select_user_attempt_login)
{
g_debug ("Logging in user %s", display->priv->select_user_hint);
- result = autologin (display, display->priv->select_user_hint, USER_SERVICE, TRUE, FALSE);
@@ -78,15 +78,15 @@
diff --git a/src/lightdm.c b/src/lightdm.c
--- a/src/lightdm.c
+++ b/src/lightdm.c
-@@ -22,6 +22,7 @@
- #include
+@@ -21,6 +21,7 @@
+ #include
#include "configuration.h"
+#include "opensuse-sysconfig.h"
#include "display-manager.h"
#include "xdmcp-server.h"
#include "vnc-server.h"
-@@ -61,6 +62,117 @@ typedef struct
+@@ -60,6 +61,117 @@ typedef struct
#define LIGHTDM_BUS_NAME "org.freedesktop.DisplayManager"
@@ -204,7 +204,7 @@
static void
log_cb (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer data)
{
-@@ -1064,6 +1176,9 @@ main (int argc, char **argv)
+@@ -1045,6 +1157,9 @@ main (int argc, char **argv)
g_mkdir_with_parents (dir, S_IRWXU | S_IXGRP | S_IXOTH);
g_free (dir);
++++++ lightdm-use-run-dir.patch ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -1,5 +1,5 @@
# HG changeset patch
-# Parent 788806e5071ea442b6e6e1fb7d303bd6d38aa9ec
+# Parent 16baf7f6a5360a28f37c8cf324577209ece84fb2
Use /run instead of localstatedir/run/lightdm
diff --git a/src/Makefile.am b/src/Makefile.am
++++++ lightdm-xauthlocalhostname-support.patch ++++++
--- /var/tmp/diff_new_pack.e6JUSV/_old 2013-04-18 15:00:18.000000000 +0200
+++ /var/tmp/diff_new_pack.e6JUSV/_new 2013-04-18 15:00:18.000000000 +0200
@@ -23,12 +23,11 @@
G_DEFINE_TYPE (SeatXLocal, seat_xlocal, SEAT_TYPE);
-@@ -134,14 +135,17 @@ seat_xlocal_set_active_display (Seat *se
- static void
+@@ -158,12 +159,16 @@ static void
seat_xlocal_run_script (Seat *seat, Display *display, Process *script)
{
-- gchar *path;
-+ gchar *path, *hostname;
+ const gchar *path;
++ gchar *hostname;
XServerLocal *xserver;
xserver = XSERVER_LOCAL (display_get_display_server (display));
@@ -37,7 +36,6 @@
process_set_env (script, "DISPLAY", xserver_get_address (XSERVER (xserver)));
process_set_env (script, "XAUTHORITY", path);
+ process_set_env (script, "XAUTHLOCALHOSTNAME", hostname);
- g_free (path);
+ g_free (hostname);
SEAT_CLASS (seat_xlocal_parent_class)->run_script (seat, display, script);
@@ -46,10 +44,11 @@
new file mode 100644
--- /dev/null
+++ b/src/util.c
-@@ -0,0 +1,14 @@
+@@ -0,0 +1,15 @@
+#include
+#include
+#include
++#include "util.h"
+
+gchar *
+lightdm_gethostname (void)
@@ -72,7 +71,7 @@
diff --git a/src/xserver-local.c b/src/xserver-local.c
--- a/src/xserver-local.c
+++ b/src/xserver-local.c
-@@ -21,6 +21,7 @@
+@@ -22,6 +22,7 @@
#include "process.h"
#include "vt.h"
#include "plymouth.h"
@@ -80,7 +79,7 @@
struct XServerLocalPrivate
{
-@@ -397,7 +398,7 @@ xserver_local_start (DisplayServer *disp
+@@ -386,7 +387,7 @@ xserver_local_start (DisplayServer *disp
XServerLocal *server = XSERVER_LOCAL (display_server);
gboolean result;
gchar *filename, *dir, *absolute_command;
@@ -89,7 +88,7 @@
GString *command;
g_return_val_if_fail (server->priv->xserver_process == NULL, FALSE);
-@@ -438,11 +439,13 @@ xserver_local_start (DisplayServer *disp
+@@ -427,11 +428,13 @@ xserver_local_start (DisplayServer *disp
if (server->priv->layout)
g_string_append_printf (command, " -layout %s", server->priv->layout);
@@ -103,7 +102,7 @@
+ g_free (hostname);
write_authority_file (server);
if (server->priv->authority_file)
- {
+ g_string_append_printf (command, " -auth %s", server->priv->authority_file);
diff --git a/src/xsession.c b/src/xsession.c
--- a/src/xsession.c
+++ b/src/xsession.c
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org