Hello community, here is the log from the commit of package gdm for openSUSE:Factory checked in at 2016-03-29 14:46:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdm (Old) and /work/SRC/openSUSE:Factory/.gdm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdm" Changes: -------- --- /work/SRC/openSUSE:Factory/gdm/gdm.changes 2016-02-23 16:53:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gdm.new/gdm.changes 2016-03-29 14:46:48.000000000 +0200 @@ -1,0 +2,47 @@ +Wed Mar 23 08:28:11 UTC 2016 - [email protected] + +- Update to version 3.20.0: + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 21 18:45:10 UTC 2016 - [email protected] + +- Add gdm-workaround-boo971852.patch: Workaround decision to show + a basic xsession to all users as a workaround for non-working + DEs. A user of gdm always has a working gnome-shell installed, or + gdm itself would not work. + +------------------------------------------------------------------- +Wed Mar 16 08:50:13 UTC 2016 - [email protected] + +- Update to version 3.19.92: + + Leak fix. + + Updated translations. + +------------------------------------------------------------------- +Wed Mar 2 22:29:36 UTC 2016 - [email protected] + +- Update to version 3.19.91: + + Fix log output. + + Fix timed login. + + Fix openembedded pam configuration. + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 17 16:30:21 UTC 2016 - [email protected] + +- Update to version 3.19.90: + + Better build goo output. + + Support dbus user bus better. + + Fix bug that prevents wayland sessions from being wayland + sometimes. + + Updated translations. +- Rebase gdm-desktop-session-env-pam.patch. + +------------------------------------------------------------------- +Fri Feb 12 22:46:19 UTC 2016 - [email protected] + +- Drop gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch: + Already upstream for 3.19 branch. + +------------------------------------------------------------------- @@ -7,0 +55,26 @@ +Mon Jan 25 19:16:16 UTC 2016 - [email protected] + +- Update to version 3.19.4.1: + + Fix crasher introduced in 3.19.4. + + Updated translations. + +------------------------------------------------------------------- +Fri Jan 22 08:47:47 UTC 2016 - [email protected] + +- Update to version 3.19.4: + + Don't override PAM message for password change. + + Disable GVFS when we don't need it. + + Fail better when no sessions are installed. + + Support gnome-session in different PREFIX than GDM. + + Doc updates. + + Ensure unlock screen gets told when verification completes. + + Updated translations. +- Drop gdm-really-disable-wayland.patch: fixed upstream. + +------------------------------------------------------------------- +Tue Jan 12 10:38:38 UTC 2016 - [email protected] + +- Allow to disable wayland support and add patch + gdm-really-disable-wayland.patch (bgo#760518). + +------------------------------------------------------------------- @@ -14,0 +88,32 @@ + +------------------------------------------------------------------- +Mon Dec 28 10:05:42 UTC 2015 - [email protected] + +- Stop pretending we can support a non systemd setup: + + Remove %{with_systemd} and it's define. + + Drop conditional ConsoleKit-x11 Requires. + + Stop passing conditional --with-consolekit-directory, + --without-systemd and --with-console-kit. + + Removed conditon on pkgconfig(libsystemd) BuildRequires. + + Stop passing --with-systemd: No longer needed, nor recognized. + +------------------------------------------------------------------- +Sun Dec 27 06:59:20 UTC 2015 - [email protected] + +- Drop gnome-session-wayland Requires: No longer needed, nor + provided. +- Pass --enable-systemd-journal to configure: Ensure we support it. + +------------------------------------------------------------------- +Wed Dec 23 14:35:29 UTC 2015 - [email protected] + +- Update to version 3.19.2: + + Get rid of "custom" session. + + Separate X sessions and Wayland sessions. + + Hide Wayland sessions if the login screen is on X. + + Pass session mode to the shell via environment. + + Rename gnome-wayland session to gnome. + + Use -listen instead of -nolisten for new Xorg. +- Rebase gdm-default-wm.patch. +- Add pkgconfig(xorg-server) BuildRequires: configure needs access + to this .pc file in order to decide what options to pass to Xorg. Old: ---- gdm-3.18.2.tar.xz gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch New: ---- gdm-3.20.0.tar.xz gdm-workaround-boo971852.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdm.spec ++++++ --- /var/tmp/diff_new_pack.mifT7t/_old 2016-03-29 14:46:49.000000000 +0200 +++ /var/tmp/diff_new_pack.mifT7t/_new 2016-03-29 14:46:49.000000000 +0200 @@ -16,24 +16,22 @@ # -# We can enable systemd support only if we have xorg 1.12, as it means -# starting X with --seat, and only if we build the whole system with -# systemd support (for instance, NetworkManager). -%define with_systemd 1 -%if %{with_systemd} +# Allow to disable wayland components +%bcond_without wayland + %define systemdsystemunitdir %(pkg-config --variable=systemdsystemunitdir systemd) -%endif + # FIXME: need to check what should be done to enable this (at least adapt the pam files). See bnc#699999 %define enable_split_authentication 0 Name: gdm -Version: 3.18.2 +Version: 3.20.0 Release: 0 Summary: The GNOME Display Manager License: GPL-2.0+ Group: System/GUI/GNOME Url: http://projects.gnome.org/gdm/ -Source: http://download.gnome.org/sources/gdm/3.18/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gdm/3.20/%{name}-%{version}.tar.xz Source1: gdm.pamd Source2: gdm-autologin.pamd Source3: gdm-launch-environment.pamd @@ -45,6 +43,8 @@ Source5: X11-displaymanager-gdm # GDM does not boostrap using gnome-autogen.sh, but has it's own bootstrap script Source8: autogen.sh +# PATCH-FEATURE-OPENSUSE gdm-workaround-boo971852.patch [email protected] -- Work around boo971852 - xsessions is just not going to happen for a gdm user - Those users ALL have gnome-shell installed (which is mandatory for gdm to operate) - openSUSE only +Patch0: gdm-workaround-boo971852.patch # PATCH-NEEDS-REBASE PATCH-FIX-OPENSUSE gdm-desktop-session-env-pam.patch bnc427744 [email protected] -- Sets a PAM environment variable to let the pam gnome-keyring module know which session is started Patch6: gdm-desktop-session-env-pam.patch # PATCH-FIX-OPENSUSE gdm-suse-xsession.patch [email protected] -- Use the /etc/X11/xdm/* scripts @@ -60,8 +60,6 @@ Patch35: gdm-xauthlocalhostname.patch # PATCH-FIX-UPSTREAM gdm-plymouth-vt1.patch bnc#881676 [email protected] -- switch to VT1 when quitting if gdm was starting with plymouth running Patch41: gdm-plymouth-vt1.patch -# PATCH-FIX-UPSTREAM gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch bgo#757714 [email protected] -- Fix xdmcp not starting at all -Patch42: gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch BuildRequires: check-devel # needed for directory ownership BuildRequires: dconf @@ -83,20 +81,15 @@ BuildRequires: pkgconfig(accountsservice) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libcanberra-gtk3) -%if %{with_systemd} BuildRequires: pkgconfig(libsystemd) -%endif BuildRequires: pkgconfig(ply-boot-client) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xau) +BuildRequires: pkgconfig(xorg-server) BuildRequires: pkgconfig(xrandr) Requires: %{name}-branding = %{version} -%if ! %{with_systemd} -Requires: ConsoleKit-x11 -%endif Requires: gdmflexiserver Requires: gnome-session-core -Requires: gnome-session-wayland Requires: gnome-settings-daemon Requires: gnome-shell Requires: xorg-x11-server-extra @@ -187,6 +180,9 @@ %setup -q cp %{S:8} . translation-update-upstream +%if 0%{?is_opensuse} +%patch0 -p1 +%endif %patch6 -p1 %patch7 -p1 %patch8 -p1 @@ -194,7 +190,6 @@ %patch34 -p1 #patch35 -p1 %patch41 -p1 -%patch42 -p1 %build NOCONFIGURE=1 sh autogen.sh @@ -208,13 +203,12 @@ --enable-ipv6 \ --enable-gdm-xsession \ --with-plymouth \ -%if %{with_systemd} - --with-systemd \ +%if %{with wayland} + --enable-wayland-support \ %else - --with-consolekit-directory=%{_libexecdir}/ConsoleKit \ - --without-systemd \ - --with-console-kit \ + --disable-wayland-support \ %endif + --enable-systemd-journal \ %if %{enable_split_authentication} --enable-split-authentication \ %else @@ -228,9 +222,7 @@ %make_install find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print # Do not ship the systemd.service file: openSUSE uses xdm, which enables the DM based on sysconfig. -%if %{with_systemd} rm %{buildroot}%{systemdsystemunitdir}/gdm.service -%endif ## Install PAM files. mkdir -p $RPM_BUILD_ROOT/etc/pam.d # Generic pam config ++++++ gdm-3.18.2.tar.xz -> gdm-3.20.0.tar.xz ++++++ ++++ 183041 lines of diff (skipped) ++++++ gdm-default-wm.patch ++++++ --- /var/tmp/diff_new_pack.mifT7t/_old 2016-03-29 14:46:50.000000000 +0200 +++ /var/tmp/diff_new_pack.mifT7t/_new 2016-03-29 14:46:50.000000000 +0200 @@ -1,7 +1,7 @@ -diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c -index 90b9045..f2ea011 100644 ---- a/daemon/gdm-session.c -+++ b/daemon/gdm-session.c +Index: gdm-3.19.2/daemon/gdm-session.c +=================================================================== +--- gdm-3.19.2.orig/daemon/gdm-session.c ++++ gdm-3.19.2/daemon/gdm-session.c @@ -43,6 +43,8 @@ #include <glib-object.h> #include <gio/gio.h> @@ -11,12 +11,12 @@ #include "gdm-session.h" #include "gdm-session-glue.h" #include "gdm-dbus-util.h" -@@ -518,6 +520,14 @@ get_fallback_session_name (GdmSession *self) +@@ -523,6 +525,14 @@ get_fallback_session_name (GdmSession *s } } + name = gdm_sysconfig_load_value ("/etc/sysconfig/windowmanager", "DEFAULT_WM"); -+ if (name && get_session_command_for_name (name, NULL)) { ++ if (name && get_session_command_for_name (self, name, NULL)) { + g_free (self->priv->fallback_session_name); + self->priv->fallback_session_name = name; + goto out; @@ -24,5 +24,5 @@ + g_free (name); + name = g_strdup ("gnome"); - if (get_session_command_for_name (name, NULL)) { + if (get_session_command_for_name (self, name, NULL)) { g_free (self->priv->fallback_session_name); ++++++ gdm-desktop-session-env-pam.patch ++++++ --- /var/tmp/diff_new_pack.mifT7t/_old 2016-03-29 14:46:50.000000000 +0200 +++ /var/tmp/diff_new_pack.mifT7t/_new 2016-03-29 14:46:50.000000000 +0200 @@ -1,7 +1,7 @@ -Index: gdm-3.17.3.1/daemon/gdm-session-worker.c +Index: gdm-3.19.90/daemon/gdm-session-worker.c =================================================================== ---- gdm-3.17.3.1.orig/daemon/gdm-session-worker.c -+++ gdm-3.17.3.1/daemon/gdm-session-worker.c +--- gdm-3.19.90.orig/daemon/gdm-session-worker.c ++++ gdm-3.19.90/daemon/gdm-session-worker.c @@ -175,6 +175,8 @@ struct GdmSessionWorkerPrivate GdmSessionSettings *user_settings; @@ -21,7 +21,7 @@ g_debug ("GdmSessionWorker: state SETUP_COMPLETE"); worker->priv->state = GDM_SESSION_WORKER_STATE_SETUP_COMPLETE; -@@ -2307,6 +2312,12 @@ gdm_session_worker_handle_set_session_na +@@ -2306,6 +2311,12 @@ gdm_session_worker_handle_set_session_na { GdmSessionWorker *worker = GDM_SESSION_WORKER (object); g_debug ("GdmSessionWorker: session name set to %s", session_name); @@ -34,7 +34,7 @@ gdm_session_settings_set_session_name (worker->priv->user_settings, session_name); gdm_dbus_worker_complete_set_session_name (object, invocation); -@@ -2314,6 +2325,23 @@ gdm_session_worker_handle_set_session_na +@@ -2313,6 +2324,23 @@ gdm_session_worker_handle_set_session_na } static gboolean @@ -58,7 +58,7 @@ gdm_session_worker_handle_set_session_display_mode (GdmDBusWorker *object, GDBusMethodInvocation *invocation, const char *str) -@@ -3121,6 +3149,7 @@ worker_interface_init (GdmDBusWorkerIfac +@@ -3119,6 +3147,7 @@ worker_interface_init (GdmDBusWorkerIfac interface->handle_open = gdm_session_worker_handle_open; interface->handle_set_language_name = gdm_session_worker_handle_set_language_name; interface->handle_set_session_name = gdm_session_worker_handle_set_session_name; @@ -66,7 +66,7 @@ interface->handle_set_session_display_mode = gdm_session_worker_handle_set_session_display_mode; interface->handle_set_environment_variable = gdm_session_worker_handle_set_environment_variable; interface->handle_start_program = gdm_session_worker_handle_start_program; -@@ -3238,6 +3267,8 @@ gdm_session_worker_finalize (GObject *ob +@@ -3236,6 +3265,8 @@ gdm_session_worker_finalize (GObject *ob g_hash_table_unref (worker->priv->reauthentication_requests); @@ -75,10 +75,10 @@ G_OBJECT_CLASS (gdm_session_worker_parent_class)->finalize (object); } -Index: gdm-3.17.3.1/daemon/gdm-session-worker.xml +Index: gdm-3.19.90/daemon/gdm-session-worker.xml =================================================================== ---- gdm-3.17.3.1.orig/daemon/gdm-session-worker.xml -+++ gdm-3.17.3.1/daemon/gdm-session-worker.xml +--- gdm-3.19.90.orig/daemon/gdm-session-worker.xml ++++ gdm-3.19.90/daemon/gdm-session-worker.xml @@ -13,6 +13,9 @@ <method name="SetSessionName"> <arg name="session_name" direction="in" type="s" /> @@ -89,11 +89,11 @@ <method name="SetSessionDisplayMode"> <arg name="mode" direction="in" type="s"/> </method> -Index: gdm-3.17.3.1/daemon/gdm-session.c +Index: gdm-3.19.90/daemon/gdm-session.c =================================================================== ---- gdm-3.17.3.1.orig/daemon/gdm-session.c -+++ gdm-3.17.3.1/daemon/gdm-session.c -@@ -183,6 +183,8 @@ G_DEFINE_TYPE (GdmSession, +--- gdm-3.19.90.orig/daemon/gdm-session.c ++++ gdm-3.19.90/daemon/gdm-session.c +@@ -190,6 +190,8 @@ G_DEFINE_TYPE (GdmSession, gdm_session, G_TYPE_OBJECT); @@ -102,7 +102,7 @@ static GdmSessionConversation * find_conversation_by_name (GdmSession *self, const char *service_name) -@@ -588,6 +590,9 @@ get_default_session_name (GdmSession *se +@@ -607,6 +609,9 @@ get_default_session_name (GdmSession *se static void gdm_session_defaults_changed (GdmSession *self) { @@ -110,9 +110,9 @@ + gpointer key, value; + const char *text; - if (self->priv->greeter_interface != NULL) { - gdm_dbus_greeter_emit_default_language_name_changed (self->priv->greeter_interface, -@@ -595,6 +600,19 @@ gdm_session_defaults_changed (GdmSession + update_session_type (self); + +@@ -616,6 +621,19 @@ gdm_session_defaults_changed (GdmSession gdm_dbus_greeter_emit_default_session_name_changed (self->priv->greeter_interface, get_default_session_name (self)); } @@ -132,7 +132,7 @@ } void -@@ -903,6 +921,10 @@ worker_on_saved_session_name_read (GdmDB +@@ -924,6 +942,10 @@ worker_on_saved_session_name_read (GdmDB if (strcmp (session_name, get_default_session_name (self)) != 0) { @@ -143,7 +143,7 @@ g_free (self->priv->saved_session); self->priv->saved_session = g_strdup (session_name); -@@ -912,6 +934,19 @@ worker_on_saved_session_name_read (GdmDB +@@ -931,6 +953,19 @@ worker_on_saved_session_name_read (GdmDB gdm_dbus_greeter_emit_default_session_name_changed (self->priv->greeter_interface, session_name); } ++++++ gdm-workaround-boo971852.patch ++++++ Index: gdm-3.19.92/libgdm/gdm-sessions.c =================================================================== --- gdm-3.19.92.orig/libgdm/gdm-sessions.c +++ gdm-3.19.92/libgdm/gdm-sessions.c @@ -171,6 +171,9 @@ collect_sessions_from_directory (const c if (! g_str_has_suffix (filename, ".desktop")) { continue; } + if (! g_strcmp0 (filename, "xsession.desktop")) { + continue; + } id = g_strndup (filename, strlen (filename) - strlen (".desktop")); full_path = g_build_filename (dirname, filename, NULL);
