Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2016-10-02 00:10:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2016-09-30 15:32:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes 2016-10-02 00:10:06.000000000 +0200 @@ -1,0 +2,14 @@ +Sat Oct 1 11:34:16 UTC 2016 - sor.ale...@meowr.ru + +- Update to version 1.19.5: + * Fix errors in documentation generation. + * Improve documentation. + * Fix guest AppArmor profile to allow guest sessions more access + to the upstart session socket. + * Fix a small memory leak in liblightdm-gobject keyboard layout + code. +- Rerebase lightdm-sysconfig-support.patch (boo#1002061). +- Better X11-displaymanagers-lightdm. +- Remove lightdm-rpmlintrc. + +------------------------------------------------------------------- Old: ---- lightdm-1.19.4.tar.xz lightdm-1.19.4.tar.xz.asc lightdm-rpmlintrc New: ---- lightdm-1.19.5.tar.xz lightdm-1.19.5.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.C0Ti5s/_old 2016-10-02 00:10:07.000000000 +0200 +++ /var/tmp/diff_new_pack.C0Ti5s/_new 2016-10-02 00:10:07.000000000 +0200 @@ -27,7 +27,7 @@ %define typelibname typelib-1_0-LightDM-1 %define rundir /run Name: lightdm -Version: 1.19.4 +Version: 1.19.5 Release: 0 Summary: Lightweight, Cross-desktop Display Manager License: GPL-3.0+ @@ -41,7 +41,6 @@ Source5: gdmflexiserver Source6: 50-suse-defaults.conf Source7: users.conf -Source100: %{name}-rpmlintrc # PATCH-FEATURE-OPENSUSE lightdm-sysconfig-support.patch g...@opensuse.org -- Adds support for reading configuration options from /etc/sysconfig/displaymanager and /etc/sysconfig/windowmanager Patch0: lightdm-sysconfig-support.patch # PATCH-FEATURE-OPENSUSE lightdm-xauthlocalhostname-support.patch boo#796230 g...@opensuse.org -- Set XAUTHLOCALHOSTNAME to the hostname for local logins to avoid issues in the session in case the hostname changes @@ -52,14 +51,17 @@ Patch3: lightdm-disable-utmp-handling.patch # PATCH-FIX-OPENSUSE lightdm-use-run-dir.patch g...@opensuse.org -- Use /run instead of /var/run Patch4: lightdm-use-run-dir.patch +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gcc-c++ -BuildRequires: gnome-common BuildRequires: intltool BuildRequires: libgcrypt-devel +BuildRequires: libtool BuildRequires: pam-devel BuildRequires: pkgconfig BuildRequires: vala BuildRequires: xdm +BuildRequires: yelp-tools BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) ++++++ X11-displaymanagers-lightdm ++++++ --- /var/tmp/diff_new_pack.C0Ti5s/_old 2016-10-02 00:10:07.000000000 +0200 +++ /var/tmp/diff_new_pack.C0Ti5s/_new 2016-10-02 00:10:07.000000000 +0200 @@ -1,13 +1,15 @@ -lightdm_reload_proc() { - /etc/init.d/xdm restart - exit $? +lightdm_start_proc () { + plymouth_quit + xdm_reload_files + return $? } lightdm_vars() { case $1 in lightdm) DISPLAYMANAGER=/usr/sbin/lightdm - RELOADPROC=lightdm_reload_proc + STARTPROC=lightdm_start_proc + RELOADPROC=lightdm_start_proc ;; *) return 1 ++++++ lightdm-1.19.4.tar.xz -> lightdm-1.19.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/Makefile.in new/lightdm-1.19.5/Makefile.in --- old/lightdm-1.19.4/Makefile.in 2016-08-12 01:12:31.000000000 +0200 +++ new/lightdm-1.19.5/Makefile.in 2016-09-30 05:36:03.000000000 +0200 @@ -165,7 +165,8 @@ DIST_SUBDIRS = common liblightdm-gobject liblightdm-qt tests data po \ src doc help am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in NEWS \ - compile config.guess config.sub install-sh ltmain.sh missing + TODO compile config.guess config.sub install-sh ltmain.sh \ + missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/NEWS new/lightdm-1.19.5/NEWS --- old/lightdm-1.19.4/NEWS 2016-08-12 01:12:11.000000000 +0200 +++ new/lightdm-1.19.5/NEWS 2016-09-30 05:37:21.000000000 +0200 @@ -1,3 +1,11 @@ +Overview of changes in lightdm 1.19.5 + + * Fix errors in documentation generation + * Improve documentation + * Fix guest AppArmor profile to allow guest sessions more access to the + upstart session socket + * Fix small memory leak in liblightdm-gobject keyboard layout code + Overview of changes in lightdm 1.19.4 * Fix various issues in new in-session greeter code diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/TODO new/lightdm-1.19.5/TODO --- old/lightdm-1.19.4/TODO 1970-01-01 01:00:00.000000000 +0100 +++ new/lightdm-1.19.5/TODO 2016-09-02 00:39:14.000000000 +0200 @@ -0,0 +1,2 @@ +LIGHTDM_SIGNAL_USER_CHANGED -> LIGHTDM_USER_SIGNAL_CHANGED +Signal docstrings not showing \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/configure new/lightdm-1.19.5/configure --- old/lightdm-1.19.4/configure 2016-08-12 01:12:31.000000000 +0200 +++ new/lightdm-1.19.5/configure 2016-09-30 05:36:02.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for lightdm 1.19.4. +# Generated by GNU Autoconf 2.69 for lightdm 1.19.5. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='lightdm' PACKAGE_TARNAME='lightdm' -PACKAGE_VERSION='1.19.4' -PACKAGE_STRING='lightdm 1.19.4' +PACKAGE_VERSION='1.19.5' +PACKAGE_STRING='lightdm 1.19.5' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1487,7 +1487,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures lightdm 1.19.4 to adapt to many kinds of systems. +\`configure' configures lightdm 1.19.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1558,7 +1558,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of lightdm 1.19.4:";; + short | recursive ) echo "Configuration of lightdm 1.19.5:";; esac cat <<\_ACEOF @@ -1736,7 +1736,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -lightdm configure 1.19.4 +lightdm configure 1.19.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2222,7 +2222,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by lightdm $as_me 1.19.4, which was +It was created by lightdm $as_me 1.19.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3088,7 +3088,7 @@ # Define the identity of the package. PACKAGE='lightdm' - VERSION='1.19.4' + VERSION='1.19.5' cat >>confdefs.h <<_ACEOF @@ -19884,7 +19884,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by lightdm $as_me 1.19.4, which was +This file was extended by lightdm $as_me 1.19.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19950,7 +19950,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -lightdm config.status 1.19.4 +lightdm config.status 1.19.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/configure.ac new/lightdm-1.19.5/configure.ac --- old/lightdm-1.19.4/configure.ac 2016-08-12 01:09:06.000000000 +0200 +++ new/lightdm-1.19.5/configure.ac 2016-09-30 05:23:52.000000000 +0200 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(lightdm, 1.19.4) +AC_INIT(lightdm, 1.19.5) AC_CONFIG_MACRO_DIR(m4) AC_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/data/apparmor/abstractions/lightdm new/lightdm-1.19.5/data/apparmor/abstractions/lightdm --- old/lightdm-1.19.4/data/apparmor/abstractions/lightdm 2015-10-20 00:03:58.000000000 +0200 +++ new/lightdm-1.19.5/data/apparmor/abstractions/lightdm 2016-09-28 05:39:54.000000000 +0200 @@ -95,7 +95,7 @@ unix (receive) peer=(label=unconfined), unix (create), unix (getattr, getopt, setopt, shutdown), - unix (bind, listen) type=stream addr="@/com/ubuntu/upstart-session/**", + unix (bind, listen, accept, receive, send) type=stream addr="@/com/ubuntu/upstart-session/**", unix (bind, listen) type=stream addr="@/tmp/dbus-*", unix (bind, listen) type=stream addr="@/tmp/.ICE-unix/[0-9]*", unix (bind, listen) type=stream addr="@/dbus-vfs-daemon/*", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/doc/Makefile.am new/lightdm-1.19.5/doc/Makefile.am --- old/lightdm-1.19.4/doc/Makefile.am 2016-03-23 04:17:54.000000000 +0100 +++ new/lightdm-1.19.5/doc/Makefile.am 2016-09-30 05:23:22.000000000 +0200 @@ -15,7 +15,7 @@ $(LIBLIGHTDM_GOBJECT_LIBS) \ $(top_builddir)/liblightdm-gobject/liblightdm-gobject-1.la -SCAN_OPTIONS=--deprecated-guards="LIGHTDM_DISABLE_DEPRECATED" +SCAN_OPTIONS=--deprecated-guards="LIGHTDM_DISABLE_DEPRECATED" --rebuild-types MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=LightDM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/doc/Makefile.in new/lightdm-1.19.5/doc/Makefile.in --- old/lightdm-1.19.4/doc/Makefile.in 2016-08-12 01:12:32.000000000 +0200 +++ new/lightdm-1.19.5/doc/Makefile.in 2016-09-30 05:36:03.000000000 +0200 @@ -335,7 +335,7 @@ $(LIBLIGHTDM_GOBJECT_LIBS) \ $(top_builddir)/liblightdm-gobject/liblightdm-gobject-1.la -SCAN_OPTIONS = --deprecated-guards="LIGHTDM_DISABLE_DEPRECATED" +SCAN_OPTIONS = --deprecated-guards="LIGHTDM_DISABLE_DEPRECATED" --rebuild-types MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=LightDM DISTCLEANFILES = \ $(DOC_MODULE)-docs.xml \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/doc/html/lightdm-gobject-1-Greeter-Interface.html new/lightdm-1.19.5/doc/html/lightdm-gobject-1-Greeter-Interface.html --- old/lightdm-1.19.4/doc/html/lightdm-gobject-1-Greeter-Interface.html 2016-08-12 01:17:39.000000000 +0200 +++ new/lightdm-1.19.5/doc/html/lightdm-gobject-1-Greeter-Interface.html 2016-09-30 05:45:31.000000000 +0200 @@ -15,7 +15,8 @@ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"> <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> - <a href="#lightdm-gobject-1-Greeter-Interface.description" class="shortcut">Description</a></span> + <a href="#lightdm-gobject-1-Greeter-Interface.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> + <a href="#lightdm-gobject-1-Greeter-Interface.object-hierarchy" class="shortcut">Object Hierarchy</a></span> </td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="core.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> @@ -41,54 +42,6 @@ <tbody> <tr> <td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#show-message" title="show_message ()">*show_message</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#show-prompt" title="show_prompt ()">*show_prompt</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#authentication-complete" title="authentication_complete ()">*authentication_complete</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#autologin-timer-expired" title="autologin_timer_expired ()">*autologin_timer_expired</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#idle" title="idle ()">*idle</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#reset" title="reset ()">*reset</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> <span class="returnvalue">LightDMGreeter</span> * </td> <td class="function_name"> @@ -129,6 +82,14 @@ </tr> <tr> <td class="function_type"> +<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-connect-sync" title="lightdm_greeter_connect_sync ()">lightdm_greeter_connect_sync</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> @@ -367,6 +328,10 @@ <tbody> <tr> <td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#LightDMGreeterError" title="enum LightDMGreeterError">LightDMGreeterError</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> <td class="function_name"><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#LightDMMessageType" title="enum LightDMMessageType">LightDMMessageType</a></td> </tr> <tr> @@ -377,6 +342,14 @@ </table></div> </div> <div class="refsect1"> +<a name="lightdm-gobject-1-Greeter-Interface.object-hierarchy"></a><h2>Object Hierarchy</h2> +<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GEnum</a> + <span class="lineart">├──</span> LightDMGreeterError + <span class="lineart">├──</span> LightDMMessageType + <span class="lineart">╰──</span> LightDMPromptType +</pre> +</div> +<div class="refsect1"> <a name="lightdm-gobject-1-Greeter-Interface.includes"></a><h2>Includes</h2> <pre class="synopsis">#include <lightdm.h> </pre> @@ -389,42 +362,82 @@ <p> </p> <div class="example"> -<a name="id-1.2.2.6.3.1"></a><p class="title"><b>Example 1. Example Greeter</b></p> -<div class="example-contents"><pre class="programlisting"> -int main () -{ - GMainLoop *main_loop; - LightDMGreeter *greeter - main_loop = g_main_loop_new (); - greeter = lightdm_greeter_new (); - g_object_connect (greeter, "show-prompt", G_CALLBACK (show_prompt_cb), NULL); - g_object_connect (greeter, "authentication-complete", G_CALLBACK (authentication_complete_cb), NULL); - // Connect to LightDM daemon - if (!lightdm_greeter_connect_to_daemon_sync (greeter, NULL)) - return EXIT_FAILURE; - // Start authentication - lightdm_greeter_authenticate (greeter, NULL); - g_main_loop_run (main_loop); - return EXIT_SUCCESS; -} -static void show_prompt_cb (LightDMGreeter *greeter, const char *text, LightDMPromptType type) -{ - // Show the user the message and prompt for some response - gchar *secret = prompt_user (text, type); - // Give the result to the user - lightdm_greeter_respond (greeter, response); -} -static void authentication_complete_cb (LightDMGreeter *greeter) -{ - // Start the session - if (!lightdm_greeter_get_is_authenticated (greeter) || - !lightdm_greeter_start_session_sync (greeter, NULL)) - { - // Failed authentication, try again - lightdm_greeter_authenticate (greeter, NULL); - } -} -</pre></div> +<a name="id-1.2.2.7.3.1"></a><p class="title"><b>Example 1. Example Greeter</b></p> +<div class="example-contents"> + <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> + <tbody> + <tr> + <td class="listing_lines" align="right"><pre>1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33</pre></td> + <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span> <span class="function">main</span> <span class="gtkdoc opt">()</span> +<span class="gtkdoc opt">{</span> + GMainLoop <span class="gtkdoc opt">*</span>main_loop<span class="gtkdoc opt">;</span> + LightDMGreeter <span class="gtkdoc opt">*</span>greeter + main_loop <span class="gtkdoc opt">=</span> <span class="function"><a href="/usr/share/gtk-doc/html/glibglib-The-Main-Event-Loop.html#g-main-loop-new">g_main_loop_new</a></span> <span class="gtkdoc opt">();</span> + greeter <span class="gtkdoc opt">=</span> <span class="function"><a href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-new">lightdm_greeter_new</a></span> <span class="gtkdoc opt">();</span> + <span class="function"><a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#g-object-connect">g_object_connect</a></span> <span class="gtkdoc opt">(</span>greeter<span class="gtkdoc opt">,</span> <span class="string">"show-prompt"</span><span class="gtkdoc opt">,</span> <span class="function"><a href="/usr/share/gtk-doc/html/gobjectgobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span> <span class="gtkdoc opt">(</span>show_prompt_cb<span class="gtkdoc opt">),</span> NULL<span class="gtkdoc opt">);</span> + <span class="function"><a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#g-object-connect">g_object_connect</a></span> <span class="gtkdoc opt">(</span>greeter<span class="gtkdoc opt">,</span> <span class="string">"authentication-complete"</span><span class="gtkdoc opt">,</span> <span class="function"><a href="/usr/share/gtk-doc/html/gobjectgobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span> <span class="gtkdoc opt">(</span>authentication_complete_cb<span class="gtkdoc opt">),</span> NULL<span class="gtkdoc opt">);</span> + <span class="gtkdoc slc">// Connect to LightDM daemon</span> + <span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-connect-to-daemon-sync">lightdm_greeter_connect_to_daemon_sync</a></span> <span class="gtkdoc opt">(</span>greeter<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">))</span> + <span class="keyword">return</span> EXIT_FAILURE<span class="gtkdoc opt">;</span> + <span class="gtkdoc slc">// Start authentication</span> + <span class="function"><a href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-authenticate">lightdm_greeter_authenticate</a></span> <span class="gtkdoc opt">(</span>greeter<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span> + <span class="function"><a href="/usr/share/gtk-doc/html/glibglib-The-Main-Event-Loop.html#g-main-loop-run">g_main_loop_run</a></span> <span class="gtkdoc opt">(</span>main_loop<span class="gtkdoc opt">);</span> + <span class="keyword">return</span> EXIT_SUCCESS<span class="gtkdoc opt">;</span> +<span class="gtkdoc opt">}</span> +<span class="gtkdoc kwb">static void</span> <span class="function">show_prompt_cb</span> <span class="gtkdoc opt">(</span>LightDMGreeter <span class="gtkdoc opt">*</span>greeter<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">const char</span> <span class="gtkdoc opt">*</span>text<span class="gtkdoc opt">,</span> LightDMPromptType type<span class="gtkdoc opt">)</span> +<span class="gtkdoc opt">{</span> + <span class="gtkdoc slc">// Show the user the message and prompt for some response</span> + gchar <span class="gtkdoc opt">*</span>secret <span class="gtkdoc opt">=</span> <span class="function">prompt_user</span> <span class="gtkdoc opt">(</span>text<span class="gtkdoc opt">,</span> type<span class="gtkdoc opt">);</span> + <span class="gtkdoc slc">// Give the result to the user</span> + <span class="function"><a href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-respond">lightdm_greeter_respond</a></span> <span class="gtkdoc opt">(</span>greeter<span class="gtkdoc opt">,</span> response<span class="gtkdoc opt">);</span> +<span class="gtkdoc opt">}</span> +<span class="gtkdoc kwb">static void</span> <span class="function">authentication_complete_cb</span> <span class="gtkdoc opt">(</span>LightDMGreeter <span class="gtkdoc opt">*</span>greeter<span class="gtkdoc opt">)</span> +<span class="gtkdoc opt">{</span> + <span class="gtkdoc slc">// Start the session</span> + <span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-is-authenticated">lightdm_greeter_get_is_authenticated</a></span> <span class="gtkdoc opt">(</span>greeter<span class="gtkdoc opt">) ||</span> + <span class="gtkdoc opt">!</span><span class="function"><a href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-start-session-sync">lightdm_greeter_start_session_sync</a></span> <span class="gtkdoc opt">(</span>greeter<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">))</span> + <span class="gtkdoc opt">{</span> + <span class="gtkdoc slc">// Failed authentication, try again</span> + <span class="function"><a href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-authenticate">lightdm_greeter_authenticate</a></span> <span class="gtkdoc opt">(</span>greeter<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span> + <span class="gtkdoc opt">}</span> +<span class="gtkdoc opt">}</span></pre></td> + </tr> + </tbody> + </table> +</div> + </div> <p><br class="example-break"> </p> @@ -432,58 +445,6 @@ <div class="refsect1"> <a name="lightdm-gobject-1-Greeter-Interface.functions_details"></a><h2>Functions</h2> <div class="refsect2"> -<a name="show-message"></a><h3>show_message ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*show_message<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>, - <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>, - <em class="parameter"><code><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#LightDMMessageType" title="enum LightDMMessageType"><span class="type">LightDMMessageType</span></a> type</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="show-prompt"></a><h3>show_prompt ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*show_prompt<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>, - <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>, - <em class="parameter"><code><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#LightDMPromptType" title="enum LightDMPromptType"><span class="type">LightDMPromptType</span></a> type</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="authentication-complete"></a><h3>authentication_complete ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*authentication_complete<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="autologin-timer-expired"></a><h3>autologin_timer_expired ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*autologin_timer_expired<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="idle"></a><h3>idle ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*idle<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="reset"></a><h3>reset ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*reset<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> <a name="lightdm-greeter-new"></a><h3>lightdm_greeter_new ()</h3> <pre class="programlisting"><span class="returnvalue">LightDMGreeter</span> * lightdm_greeter_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> @@ -648,6 +609,17 @@ </div> <hr> <div class="refsect2"> +<a name="lightdm-greeter-connect-sync"></a><h3>lightdm_greeter_connect_sync ()</h3> +<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +lightdm_greeter_connect_sync (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>, + <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> +<div class="warning"> +<p><code class="literal">lightdm_greeter_connect_sync</code> has been deprecated since version 1.11.1 and should not be used in newly-written code.</p> +<p>Use <a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-connect-to-daemon-sync" title="lightdm_greeter_connect_to_daemon_sync ()"><code class="function">lightdm_greeter_connect_to_daemon_sync()</code></a> instead</p> +</div> +</div> +<hr> +<div class="refsect2"> <a name="lightdm-greeter-ensure-shared-data-dir"></a><h3>lightdm_greeter_ensure_shared_data_dir ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> lightdm_greeter_ensure_shared_data_dir @@ -1642,6 +1614,47 @@ <div class="refsect1"> <a name="lightdm-gobject-1-Greeter-Interface.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> +<a name="LightDMGreeterError"></a><h3>enum LightDMGreeterError</h3> +<div class="refsect3"> +<a name="LightDMGreeterError.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="enum_member_name"><p><a name="LIGHTDM-GREETER-ERROR-COMMUNICATION-ERROR:CAPS"></a>LIGHTDM_GREETER_ERROR_COMMUNICATION_ERROR</p></td> +<td> </td> +<td> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="LIGHTDM-GREETER-ERROR-CONNECTION-FAILED:CAPS"></a>LIGHTDM_GREETER_ERROR_CONNECTION_FAILED</p></td> +<td> </td> +<td> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="LIGHTDM-GREETER-ERROR-SESSION-FAILED:CAPS"></a>LIGHTDM_GREETER_ERROR_SESSION_FAILED</p></td> +<td> </td> +<td> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="LIGHTDM-GREETER-ERROR-NO-AUTOLOGIN:CAPS"></a>LIGHTDM_GREETER_ERROR_NO_AUTOLOGIN</p></td> +<td> </td> +<td> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="LIGHTDM-GREETER-ERROR-INVALID-USER:CAPS"></a>LIGHTDM_GREETER_ERROR_INVALID_USER</p></td> +<td> </td> +<td> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> <a name="LightDMMessageType"></a><h3>enum LightDMMessageType</h3> <div class="refsect3"> <a name="LightDMMessageType.members"></a><h4>Members</h4> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/doc/html/lightdm-gobject-1-User-Accounts.html new/lightdm-1.19.5/doc/html/lightdm-gobject-1-User-Accounts.html --- old/lightdm-1.19.4/doc/html/lightdm-gobject-1-User-Accounts.html 2016-08-12 01:17:39.000000000 +0200 +++ new/lightdm-1.19.5/doc/html/lightdm-gobject-1-User-Accounts.html 2016-09-30 05:45:31.000000000 +0200 @@ -40,14 +40,6 @@ </colgroup> <tbody> <tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-User-Accounts.html#changed" title="changed ()">*changed</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> <td class="function_type">const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * </td> <td class="function_name"> @@ -143,30 +135,6 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-User-Accounts.html#user-added" title="user_added ()">*user_added</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-User-Accounts.html#user-changed" title="user_changed ()">*user_changed</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-User-Accounts.html#user-removed" title="user_removed ()">*user_removed</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> <span class="returnvalue">LightDMUserList</span> * </td> <td class="function_name"> @@ -225,14 +193,6 @@ <div class="refsect1"> <a name="lightdm-gobject-1-User-Accounts.functions_details"></a><h2>Functions</h2> <div class="refsect2"> -<a name="changed"></a><h3>changed ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*changed<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> <a name="lightdm-user-get-background"></a><h3>lightdm_user_get_background ()</h3> <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * lightdm_user_get_background (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre> @@ -557,33 +517,6 @@ </div> <hr> <div class="refsect2"> -<a name="user-added"></a><h3>user_added ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*user_added<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>, - <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="user-changed"></a><h3>user_changed ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*user_changed<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>, - <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="user-removed"></a><h3>user_removed ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*user_removed<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>, - <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2"> <a name="lightdm-user-list-get-instance"></a><h3>lightdm_user_list_get_instance ()</h3> <pre class="programlisting"><span class="returnvalue">LightDMUserList</span> * lightdm_user_list_get_instance (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/doc/html/lightdm-gobject-1.devhelp2 new/lightdm-1.19.5/doc/html/lightdm-gobject-1.devhelp2 --- old/lightdm-1.19.4/doc/html/lightdm-gobject-1.devhelp2 2016-08-12 01:17:38.000000000 +0200 +++ new/lightdm-1.19.5/doc/html/lightdm-gobject-1.devhelp2 2016-09-30 05:45:31.000000000 +0200 @@ -12,17 +12,12 @@ </sub> </chapters> <functions> - <keyword type="function" name="show_message ()" link="lightdm-gobject-1-Greeter-Interface.html#show-message"/> - <keyword type="function" name="show_prompt ()" link="lightdm-gobject-1-Greeter-Interface.html#show-prompt"/> - <keyword type="function" name="authentication_complete ()" link="lightdm-gobject-1-Greeter-Interface.html#authentication-complete"/> - <keyword type="function" name="autologin_timer_expired ()" link="lightdm-gobject-1-Greeter-Interface.html#autologin-timer-expired"/> - <keyword type="function" name="idle ()" link="lightdm-gobject-1-Greeter-Interface.html#idle"/> - <keyword type="function" name="reset ()" link="lightdm-gobject-1-Greeter-Interface.html#reset"/> <keyword type="function" name="lightdm_greeter_new ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-new"/> <keyword type="function" name="lightdm_greeter_set_resettable ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-set-resettable"/> <keyword type="function" name="lightdm_greeter_connect_to_daemon ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-connect-to-daemon"/> <keyword type="function" name="lightdm_greeter_connect_to_daemon_finish ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-connect-to-daemon-finish"/> <keyword type="function" name="lightdm_greeter_connect_to_daemon_sync ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-connect-to-daemon-sync"/> + <keyword type="function" name="lightdm_greeter_connect_sync ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-connect-sync" deprecated="1.11.1: Use lightdm_greeter_connect_to_daemon_sync() instead"/> <keyword type="function" name="lightdm_greeter_ensure_shared_data_dir ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-ensure-shared-data-dir"/> <keyword type="function" name="lightdm_greeter_ensure_shared_data_dir_finish ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-ensure-shared-data-dir-finish"/> <keyword type="function" name="lightdm_greeter_ensure_shared_data_dir_sync ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-ensure-shared-data-dir-sync"/> @@ -52,6 +47,7 @@ <keyword type="function" name="lightdm_greeter_start_session ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-start-session"/> <keyword type="function" name="lightdm_greeter_start_session_finish ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-start-session-finish"/> <keyword type="function" name="lightdm_greeter_start_session_sync ()" link="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-start-session-sync"/> + <keyword type="enum" name="enum LightDMGreeterError" link="lightdm-gobject-1-Greeter-Interface.html#LightDMGreeterError"/> <keyword type="enum" name="enum LightDMMessageType" link="lightdm-gobject-1-Greeter-Interface.html#LightDMMessageType"/> <keyword type="enum" name="enum LightDMPromptType" link="lightdm-gobject-1-Greeter-Interface.html#LightDMPromptType"/> <keyword type="function" name="lightdm_get_languages ()" link="lightdm-gobject-1-Languages.html#lightdm-get-languages"/> @@ -72,7 +68,6 @@ <keyword type="function" name="lightdm_session_get_session_type ()" link="lightdm-gobject-1-Sessions.html#lightdm-session-get-session-type"/> <keyword type="function" name="lightdm_session_get_name ()" link="lightdm-gobject-1-Sessions.html#lightdm-session-get-name"/> <keyword type="function" name="lightdm_session_get_comment ()" link="lightdm-gobject-1-Sessions.html#lightdm-session-get-comment"/> - <keyword type="function" name="changed ()" link="lightdm-gobject-1-User-Accounts.html#changed"/> <keyword type="function" name="lightdm_user_get_background ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-background"/> <keyword type="function" name="lightdm_user_get_display_name ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-display-name"/> <keyword type="function" name="lightdm_user_get_has_messages ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-has-messages"/> @@ -86,9 +81,6 @@ <keyword type="function" name="lightdm_user_get_real_name ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-real-name"/> <keyword type="function" name="lightdm_user_get_session ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-session"/> <keyword type="function" name="lightdm_user_get_uid ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-uid"/> - <keyword type="function" name="user_added ()" link="lightdm-gobject-1-User-Accounts.html#user-added"/> - <keyword type="function" name="user_changed ()" link="lightdm-gobject-1-User-Accounts.html#user-changed"/> - <keyword type="function" name="user_removed ()" link="lightdm-gobject-1-User-Accounts.html#user-removed"/> <keyword type="function" name="lightdm_user_list_get_instance ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-list-get-instance"/> <keyword type="function" name="lightdm_user_list_get_length ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-list-get-length"/> <keyword type="function" name="lightdm_user_list_get_user_by_name ()" link="lightdm-gobject-1-User-Accounts.html#lightdm-user-list-get-user-by-name"/> @@ -102,6 +94,11 @@ <keyword type="function" name="lightdm_get_can_shutdown ()" link="lightdm-gobject-1-Power-Management.html#lightdm-get-can-shutdown"/> <keyword type="function" name="lightdm_shutdown ()" link="lightdm-gobject-1-Power-Management.html#lightdm-shutdown"/> <keyword type="function" name="lightdm_get_hostname ()" link="lightdm-gobject-1-System-Information.html#lightdm-get-hostname"/> + <keyword type="constant" name="LIGHTDM_GREETER_ERROR_COMMUNICATION_ERROR" link="lightdm-gobject-1-Greeter-Interface.html#LIGHTDM-GREETER-ERROR-COMMUNICATION-ERROR:CAPS"/> + <keyword type="constant" name="LIGHTDM_GREETER_ERROR_CONNECTION_FAILED" link="lightdm-gobject-1-Greeter-Interface.html#LIGHTDM-GREETER-ERROR-CONNECTION-FAILED:CAPS"/> + <keyword type="constant" name="LIGHTDM_GREETER_ERROR_SESSION_FAILED" link="lightdm-gobject-1-Greeter-Interface.html#LIGHTDM-GREETER-ERROR-SESSION-FAILED:CAPS"/> + <keyword type="constant" name="LIGHTDM_GREETER_ERROR_NO_AUTOLOGIN" link="lightdm-gobject-1-Greeter-Interface.html#LIGHTDM-GREETER-ERROR-NO-AUTOLOGIN:CAPS"/> + <keyword type="constant" name="LIGHTDM_GREETER_ERROR_INVALID_USER" link="lightdm-gobject-1-Greeter-Interface.html#LIGHTDM-GREETER-ERROR-INVALID-USER:CAPS"/> <keyword type="constant" name="LIGHTDM_MESSAGE_TYPE_INFO" link="lightdm-gobject-1-Greeter-Interface.html#LIGHTDM-MESSAGE-TYPE-INFO:CAPS"/> <keyword type="constant" name="LIGHTDM_MESSAGE_TYPE_ERROR" link="lightdm-gobject-1-Greeter-Interface.html#LIGHTDM-MESSAGE-TYPE-ERROR:CAPS"/> <keyword type="constant" name="LIGHTDM_PROMPT_TYPE_QUESTION" link="lightdm-gobject-1-Greeter-Interface.html#LIGHTDM-PROMPT-TYPE-QUESTION:CAPS"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/doc/lightdm-gobject-1-sections.txt new/lightdm-1.19.5/doc/lightdm-gobject-1-sections.txt --- old/lightdm-1.19.4/doc/lightdm-gobject-1-sections.txt 2016-08-12 01:17:38.000000000 +0200 +++ new/lightdm-1.19.5/doc/lightdm-gobject-1-sections.txt 2016-09-30 05:45:31.000000000 +0200 @@ -22,6 +22,8 @@ <SECTION> <FILE>language</FILE> <TITLE>Languages</TITLE> +LightDMLanguage +LightDMLanguageClass lightdm_get_languages lightdm_get_language lightdm_language_get_code @@ -29,11 +31,6 @@ lightdm_language_get_territory lightdm_language_matches <SUBSECTION Standard> -LIGHTDM_IS_LANGUAGE -LIGHTDM_IS_LANGUAGE_CLASS -LIGHTDM_LANGUAGE -LIGHTDM_LANGUAGE_CLASS -LIGHTDM_LANGUAGE_GET_CLASS LIGHTDM_TYPE_LANGUAGE lightdm_language_get_type <SUBSECTION Private> @@ -42,6 +39,8 @@ <SECTION> <FILE>layout</FILE> <TITLE>Keyboard Layout</TITLE> +LightDMLayout +LightDMLayoutClass lightdm_get_layouts lightdm_get_layout lightdm_set_layout @@ -49,11 +48,6 @@ lightdm_layout_get_short_description lightdm_layout_get_description <SUBSECTION Standard> -LIGHTDM_IS_LAYOUT -LIGHTDM_IS_LAYOUT_CLASS -LIGHTDM_LAYOUT -LIGHTDM_LAYOUT_CLASS -LIGHTDM_LAYOUT_GET_CLASS LIGHTDM_TYPE_LAYOUT lightdm_layout_get_type <SUBSECTION Private> @@ -62,6 +56,8 @@ <SECTION> <FILE>session</FILE> <TITLE>Sessions</TITLE> +LightDMSession +LightDMSessionClass lightdm_get_remote_sessions lightdm_get_sessions lightdm_session_get_key @@ -69,20 +65,18 @@ lightdm_session_get_name lightdm_session_get_comment <SUBSECTION Standard> -LIGHTDM_SESSION -LIGHTDM_IS_SESSION LIGHTDM_TYPE_SESSION lightdm_session_get_type -LIGHTDM_SESSION_CLASS -LIGHTDM_IS_SESSION_CLASS -LIGHTDM_SESSION_GET_CLASS <SUBSECTION Private> </SECTION> <SECTION> <FILE>user</FILE> <TITLE>User Accounts</TITLE> -changed +LightDMUser +LightDMUserClass +LightDMUserList +LightDMUserListClass lightdm_user_get_background lightdm_user_get_display_name lightdm_user_get_has_messages @@ -96,40 +90,24 @@ lightdm_user_get_real_name lightdm_user_get_session lightdm_user_get_uid -user_added -user_changed -user_removed lightdm_user_list_get_instance lightdm_user_list_get_length lightdm_user_list_get_user_by_name lightdm_user_list_get_users <SUBSECTION Standard> -LIGHTDM_IS_USER -LIGHTDM_IS_USER_CLASS LIGHTDM_TYPE_USER lightdm_user_get_type -LIGHTDM_USER -LIGHTDM_USER_CLASS -LIGHTDM_USER_GET_CLASS -LIGHTDM_USER_LIST -LIGHTDM_IS_USER_LIST LIGHTDM_TYPE_USER_LIST lightdm_user_list_get_type -LIGHTDM_USER_LIST_CLASS -LIGHTDM_IS_USER_LIST_CLASS -LIGHTDM_USER_LIST_GET_CLASS <SUBSECTION Private> </SECTION> <SECTION> <FILE>greeter</FILE> <TITLE>Greeter Interface</TITLE> -show_message -show_prompt -authentication_complete -autologin_timer_expired -idle -reset +LightDMGreeter +LightDMGreeterClass +LightDMGreeterError LightDMMessageType LightDMPromptType lightdm_greeter_new @@ -137,6 +115,7 @@ lightdm_greeter_connect_to_daemon lightdm_greeter_connect_to_daemon_finish lightdm_greeter_connect_to_daemon_sync +lightdm_greeter_connect_sync lightdm_greeter_ensure_shared_data_dir lightdm_greeter_ensure_shared_data_dir_finish lightdm_greeter_ensure_shared_data_dir_sync @@ -167,12 +146,12 @@ lightdm_greeter_start_session_finish lightdm_greeter_start_session_sync <SUBSECTION Standard> -LIGHTDM_GREETER -LIGHTDM_IS_GREETER -LIGHTDM_TYPE_GREETER lightdm_greeter_get_type -LIGHTDM_GREETER_CLASS -LIGHTDM_IS_GREETER_CLASS -LIGHTDM_GREETER_GET_CLASS +LIGHTDM_TYPE_GREETER +lightdm_greeter_error_quark +lightdm_greeter_error_get_type +LIGHTDM_GREETER_ERROR +lightdm_message_type_get_type +lightdm_prompt_type_get_type <SUBSECTION Private> </SECTION> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/doc/lightdm-gobject-1.types new/lightdm-1.19.5/doc/lightdm-gobject-1.types --- old/lightdm-1.19.4/doc/lightdm-gobject-1.types 2016-08-12 01:17:38.000000000 +0200 +++ new/lightdm-1.19.5/doc/lightdm-gobject-1.types 2016-09-30 05:45:31.000000000 +0200 @@ -1,5 +1,9 @@ +lightdm_greeter_error_get_type lightdm_greeter_get_type lightdm_language_get_type lightdm_layout_get_type +lightdm_message_type_get_type +lightdm_prompt_type_get_type lightdm_session_get_type lightdm_user_get_type +lightdm_user_list_get_type diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/liblightdm-gobject/Makefile.am new/lightdm-1.19.5/liblightdm-gobject/Makefile.am --- old/lightdm-1.19.4/liblightdm-gobject/Makefile.am 2016-08-10 06:36:14.000000000 +0200 +++ new/lightdm-1.19.5/liblightdm-gobject/Makefile.am 2016-09-30 04:22:27.000000000 +0200 @@ -80,12 +80,8 @@ CLEANFILES = \ $(gir_DATA) \ $(typelib_DATA) \ - $(vapi_DATA) - -DISTCLEANFILES = \ - $(pkgconfig_DATA) \ - $(gir_DATA) \ - $(typelib_DATA) + $(vapi_DATA) \ + $(pkgconfig_DATA) EXTRA_DIST = \ LightDM-1.metadata \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/liblightdm-gobject/Makefile.in new/lightdm-1.19.5/liblightdm-gobject/Makefile.in --- old/lightdm-1.19.4/liblightdm-gobject/Makefile.in 2016-08-12 01:12:32.000000000 +0200 +++ new/lightdm-1.19.5/liblightdm-gobject/Makefile.in 2016-09-30 05:36:03.000000000 +0200 @@ -477,12 +477,8 @@ CLEANFILES = \ $(gir_DATA) \ $(typelib_DATA) \ - $(vapi_DATA) - -DISTCLEANFILES = \ - $(pkgconfig_DATA) \ - $(gir_DATA) \ - $(typelib_DATA) + $(vapi_DATA) \ + $(pkgconfig_DATA) EXTRA_DIST = \ LightDM-1.metadata \ @@ -895,7 +891,6 @@ distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/liblightdm-gobject/layout.c new/lightdm-1.19.5/liblightdm-gobject/layout.c --- old/lightdm-1.19.4/liblightdm-gobject/layout.c 2016-08-02 05:44:16.000000000 +0200 +++ new/lightdm-1.19.5/liblightdm-gobject/layout.c 2016-09-30 05:29:36.000000000 +0200 @@ -304,6 +304,17 @@ } static void +lightdm_layout_finalize (GObject *object) +{ + LightDMLayout *self = LIGHTDM_LAYOUT (object); + LightDMLayoutPrivate *priv = GET_PRIVATE (self); + + g_free (priv->name); + g_free (priv->short_description); + g_free (priv->description); +} + +static void lightdm_layout_class_init (LightDMLayoutClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); @@ -312,6 +323,7 @@ object_class->set_property = lightdm_layout_set_property; object_class->get_property = lightdm_layout_get_property; + object_class->finalize = lightdm_layout_finalize; g_object_class_install_property (object_class, PROP_NAME, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.19.4/liblightdm-gobject/lightdm/greeter.h new/lightdm-1.19.5/liblightdm-gobject/lightdm/greeter.h --- old/lightdm-1.19.4/liblightdm-gobject/lightdm/greeter.h 2016-07-13 04:30:41.000000000 +0200 +++ new/lightdm-1.19.5/liblightdm-gobject/lightdm/greeter.h 2016-09-30 05:23:52.000000000 +0200 @@ -91,19 +91,21 @@ /** * LightDMGreeterError: - * @LIGHTDM_GREETER_ERROR_COMMUNICATION_ERROR: Error communicating with daemon - * @LIGHTDM_GREETER_ERROR_CONNECTION_FAILED: Failed to connect to the daemon - * @LIGHTDM_GREETER_ERROR_SESSION_FAILED: Requested session failed to start - * @LIGHTDM_GREETER_ERROR_NO_AUTOLOGIN: Autologin not configured - * @LIGHTDM_GREETER_ERROR_INVALID_USER: Autologin not configured + * @LIGHTDM_GREETER_ERROR_COMMUNICATION_ERROR: error communicating with daemon. + * @LIGHTDM_GREETER_ERROR_CONNECTION_FAILED: failed to connect to the daemon. + * @LIGHTDM_GREETER_ERROR_SESSION_FAILED: requested session failed to start. + * @LIGHTDM_GREETER_ERROR_NO_AUTOLOGIN: autologin not configured. + * @LIGHTDM_GREETER_ERROR_INVALID_USER: autologin not configured. + * + * Error codes returned by greeter operations. */ typedef enum { - LIGHTDM_GREETER_ERROR_COMMUNICATION_ERROR, - LIGHTDM_GREETER_ERROR_CONNECTION_FAILED, - LIGHTDM_GREETER_ERROR_SESSION_FAILED, - LIGHTDM_GREETER_ERROR_NO_AUTOLOGIN, - LIGHTDM_GREETER_ERROR_INVALID_USER + LIGHTDM_GREETER_ERROR_COMMUNICATION_ERROR, + LIGHTDM_GREETER_ERROR_CONNECTION_FAILED, + LIGHTDM_GREETER_ERROR_SESSION_FAILED, + LIGHTDM_GREETER_ERROR_NO_AUTOLOGIN, + LIGHTDM_GREETER_ERROR_INVALID_USER } LightDMGreeterError; GQuark lightdm_greeter_error_quark (void); ++++++ lightdm-sysconfig-support.patch ++++++ --- /var/tmp/diff_new_pack.C0Ti5s/_old 2016-10-02 00:10:08.000000000 +0200 +++ /var/tmp/diff_new_pack.C0Ti5s/_new 2016-10-02 00:10:08.000000000 +0200 @@ -619,22 +619,25 @@ +#endif /* __OPENSUSE_SYSCONFIG_H */ --- a/src/seat.c +++ b/src/seat.c -@@ -1342,6 +1342,14 @@ create_greeter_session (Seat *seat) - greeter_set_pam_services (greeter, - seat_get_string_property (seat, "pam-service"), - seat_get_string_property (seat, "pam-autologin-service")); +@@ -1339,9 +1339,14 @@ create_greeter_session (Seat *seat) + session_set_argv (SESSION (greeter_session), argv); + g_strfreev (argv); + +- greeter_set_pam_services (greeter, +- seat_get_string_property (seat, "pam-service"), +- seat_get_string_property (seat, "pam-autologin-service")); + if (config_get_boolean (config_get_instance (), "LightDM", "password-less-login")) -+ greeter_set_pam_services (greeter_session, ++ greeter_set_pam_services (greeter, + seat_get_string_property (seat, "pam-autologin-service"), + seat_get_string_property (seat, "pam-autologin-service")); + else -+ greeter_set_pam_services (greeter_session, ++ greeter_set_pam_services (greeter, + seat_get_string_property (seat, "pam-service"), + seat_get_string_property (seat, "pam-autologin-service")); g_signal_connect (greeter, GREETER_SIGNAL_CREATE_SESSION, G_CALLBACK (greeter_create_session_cb), seat); g_signal_connect (greeter, GREETER_SIGNAL_START_SESSION, G_CALLBACK (greeter_start_session_cb), seat); -@@ -1590,7 +1598,10 @@ seat_switch_to_user (Seat *seat, const g +@@ -1590,7 +1595,10 @@ seat_switch_to_user (Seat *seat, const g /* Attempt to authenticate them */ session = create_user_session (seat, username, FALSE); g_signal_connect (session, SESSION_SIGNAL_AUTHENTICATION_COMPLETE, G_CALLBACK (switch_authentication_complete_cb), seat);