SHA256
1
0
forked from pool/gdm

Accepting request 913184 from GNOME:Next

New stable rel

OBS-URL: https://build.opensuse.org/request/show/913184
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=481
This commit is contained in:
Dominique Leuenberger 2021-08-23 08:35:34 +00:00 committed by Git OBS Bridge
parent 166b281fe3
commit ed5b986b04
6 changed files with 52 additions and 33 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ed74b739d3a232ffb1e4a132bcf965bdfe955d995b528773588775b02f2950e
size 800296

3
gdm-40.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abb8a1ea664848f2c90f84acaa42e94d256057035881a98fbd41fbc5d7d173fd
size 803488

View File

@ -1,7 +1,7 @@
Index: gdm-3.36.2/daemon/gdm-session.c
Index: gdm-40.1/daemon/gdm-session.c
===================================================================
--- gdm-3.36.2.orig/daemon/gdm-session.c
+++ gdm-3.36.2/daemon/gdm-session.c
--- gdm-40.1.orig/daemon/gdm-session.c
+++ gdm-40.1/daemon/gdm-session.c
@@ -43,6 +43,8 @@
#include <glib-object.h>
#include <gio/gio.h>
@ -11,12 +11,12 @@ Index: gdm-3.36.2/daemon/gdm-session.c
#include "gdm-session.h"
#include "gdm-session-glue.h"
#include "gdm-dbus-util.h"
@@ -562,6 +564,14 @@ get_fallback_session_name (GdmSession *s
@@ -578,6 +580,14 @@ get_fallback_session_name (GdmSession *s
}
}
+ name = gdm_sysconfig_load_value ("/etc/sysconfig/windowmanager", "DEFAULT_WM");
+ if (name && get_session_command_for_name (self, name, NULL)) {
+ if (name && get_session_command_for_name (self, name, NULL, NULL)) {
+ g_free (self->fallback_session_name);
+ self->fallback_session_name = name;
+ goto out;
@ -24,5 +24,5 @@ Index: gdm-3.36.2/daemon/gdm-session.c
+ g_free (name);
+
name = g_strdup ("gnome");
if (get_session_command_for_name (self, name, NULL)) {
if (get_session_command_for_name (self, name, NULL, NULL)) {
g_free (self->fallback_session_name);

View File

@ -1,8 +1,8 @@
Index: gdm-3.36.2/common/gdm-common.c
Index: gdm-40.1/common/gdm-common.c
===================================================================
--- gdm-3.36.2.orig/common/gdm-common.c
+++ gdm-3.36.2/common/gdm-common.c
@@ -631,6 +631,8 @@ gdm_get_script_environment (const char *
--- gdm-40.1.orig/common/gdm-common.c
+++ gdm-40.1/common/gdm-common.c
@@ -613,6 +613,8 @@ gdm_get_script_environment (const char *
if (display_hostname) {
g_hash_table_insert (hash, g_strdup ("REMOTE_HOST"), g_strdup (display_hostname));
@ -11,9 +11,9 @@ Index: gdm-3.36.2/common/gdm-common.c
}
/* Runs as root */
@@ -974,3 +976,14 @@ gdm_find_display_session (GPid pi
return TRUE;
@@ -1079,3 +1081,14 @@ gdm_load_env_d (GdmLoadEnvVarFunc load_e
gdm_load_env_dir (dir, load_env_func, expand_func, user_data);
g_object_unref (dir);
}
+
+char *
@ -26,11 +26,11 @@ Index: gdm-3.36.2/common/gdm-common.c
+ return g_strdup ("localhost");
+ }
+}
Index: gdm-3.36.2/common/gdm-common.h
Index: gdm-40.1/common/gdm-common.h
===================================================================
--- gdm-3.36.2.orig/common/gdm-common.h
+++ gdm-3.36.2/common/gdm-common.h
@@ -66,6 +66,7 @@ char *gdm_generate_random_bytes
--- gdm-40.1.orig/common/gdm-common.h
+++ gdm-40.1/common/gdm-common.h
@@ -70,6 +70,7 @@ char *gdm_generate_random_bytes
gboolean gdm_get_login_window_session_id (const char *seat_id,
char **session_id);
gboolean gdm_goto_login_session (GError **error);
@ -38,10 +38,10 @@ Index: gdm-3.36.2/common/gdm-common.h
GPtrArray *gdm_get_script_environment (const char *username,
const char *display_name,
Index: gdm-3.36.2/daemon/gdm-display-access-file.c
Index: gdm-40.1/daemon/gdm-display-access-file.c
===================================================================
--- gdm-3.36.2.orig/daemon/gdm-display-access-file.c
+++ gdm-3.36.2/daemon/gdm-display-access-file.c
--- gdm-40.1.orig/daemon/gdm-display-access-file.c
+++ gdm-40.1/daemon/gdm-display-access-file.c
@@ -441,13 +441,10 @@ _get_auth_info_for_display (GdmDisplayAc
*
* https://bugs.freedesktop.org/show_bug.cgi?id=43425
@ -59,11 +59,11 @@ Index: gdm-3.36.2/daemon/gdm-display-access-file.c
} else {
*family = FamilyWild;
gdm_display_get_remote_hostname (display, address, NULL);
Index: gdm-3.36.2/daemon/gdm-launch-environment.c
Index: gdm-40.1/daemon/gdm-launch-environment.c
===================================================================
--- gdm-3.36.2.orig/daemon/gdm-launch-environment.c
+++ gdm-3.36.2/daemon/gdm-launch-environment.c
@@ -216,6 +216,11 @@ build_launch_environment (GdmLaunchEnvir
--- gdm-40.1.orig/daemon/gdm-launch-environment.c
+++ gdm-40.1/daemon/gdm-launch-environment.c
@@ -224,6 +224,11 @@ build_launch_environment (GdmLaunchEnvir
g_hash_table_insert (hash, g_strdup ("GDM_SEAT_ID"), g_strdup (seat_id));
}
@ -74,12 +74,12 @@ Index: gdm-3.36.2/daemon/gdm-launch-environment.c
+
g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true"));
return hash;
Index: gdm-3.36.2/daemon/gdm-session.c
/* Now populate XDG_DATA_DIRS from env.d if we're running initial setup; this allows
Index: gdm-40.1/daemon/gdm-session.c
===================================================================
--- gdm-3.36.2.orig/daemon/gdm-session.c
+++ gdm-3.36.2/daemon/gdm-session.c
@@ -2683,6 +2683,14 @@ set_up_session_environment (GdmSession *
--- gdm-40.1.orig/daemon/gdm-session.c
+++ gdm-40.1/daemon/gdm-session.c
@@ -2709,6 +2709,14 @@ set_up_session_environment (GdmSession *
}
}

View File

@ -5,6 +5,11 @@ Wed Aug 11 09:00:34 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
+ gdm-s390-not-require-g-s-d_wacom.patch
+ gdm-disable-gnome-initial-setup.patch
-------------------------------------------------------------------
Tue Aug 3 12:23:50 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Rebased gdm-default-wm.patch.
-------------------------------------------------------------------
Fri Jul 30 07:22:59 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
@ -14,6 +19,20 @@ Fri Jul 30 07:22:59 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
+ gdm-fix-crash-when-using-Xvfb.patch
+ gdm-display-Exit-with-failure-if-loading-existing-users-fails.patch
-------------------------------------------------------------------
Sat Jul 24 16:19:17 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 40.1:
+ Better support for unlocking gnome-keyring with disk password
+ Better support for flatpak
+ Misc auth fixes
+ Improved error output in gdm-runtime-config
+ Sort session list on login screen
+ Support Session and SessionType properties from accountsservice
+ Updated translations.
- Rebase gdm-xauthlocalhostname.patch.
- Disable gdm-default-wm.patch, needs reworking.
-------------------------------------------------------------------
Mon Jul 5 09:33:56 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -21,7 +21,7 @@
%define enable_split_authentication 0
Name: gdm
Version: 40.0
Version: 40.1
Release: 0
Summary: The GNOME Display Manager
License: GPL-2.0-or-later