Update to 3.33.90

- Rebase downstream patches
This commit is contained in:
Kalev Lember 2019-08-27 00:13:48 +03:00
parent d53df0973d
commit c751d8e027
5 changed files with 25 additions and 18 deletions

1
.gitignore vendored
View File

@ -103,3 +103,4 @@ gnome-session-2.31.6.tar.bz2
/gnome-session-3.31.4.tar.xz /gnome-session-3.31.4.tar.xz
/gnome-session-3.32.0.tar.xz /gnome-session-3.32.0.tar.xz
/gnome-session-3.33.4.tar.xz /gnome-session-3.33.4.tar.xz
/gnome-session-3.33.90.tar.xz

View File

@ -1,4 +1,4 @@
From cba2fdd2ee9fc3decd4179feeda0cb7d833f1022 Mon Sep 17 00:00:00 2001 From 3e5779207e2bfab25978e80ac62e8af8c3685f8e Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com> From: Hans de Goede <hdegoede@redhat.com>
Date: Tue, 14 Aug 2018 14:41:43 +0200 Date: Tue, 14 Aug 2018 14:41:43 +0200
Subject: [PATCH 1/2] Add support for new ConfirmedRebootToBootOptions signal Subject: [PATCH 1/2] Add support for new ConfirmedRebootToBootOptions signal
@ -28,10 +28,10 @@ for this.
3 files changed, 42 insertions(+), 3 deletions(-) 3 files changed, 42 insertions(+), 3 deletions(-)
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 6eeea4a6..e0f190a1 100644 index d41bdcac..e0c05d82 100644
--- a/gnome-session/gsm-manager.c --- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c +++ b/gnome-session/gsm-manager.c
@@ -109,6 +109,7 @@ typedef enum @@ -117,6 +117,7 @@ typedef enum
GSM_MANAGER_LOGOUT_NONE, GSM_MANAGER_LOGOUT_NONE,
GSM_MANAGER_LOGOUT_LOGOUT, GSM_MANAGER_LOGOUT_LOGOUT,
GSM_MANAGER_LOGOUT_REBOOT, GSM_MANAGER_LOGOUT_REBOOT,
@ -39,7 +39,7 @@ index 6eeea4a6..e0f190a1 100644
GSM_MANAGER_LOGOUT_REBOOT_INTERACT, GSM_MANAGER_LOGOUT_REBOOT_INTERACT,
GSM_MANAGER_LOGOUT_SHUTDOWN, GSM_MANAGER_LOGOUT_SHUTDOWN,
GSM_MANAGER_LOGOUT_SHUTDOWN_INTERACT, GSM_MANAGER_LOGOUT_SHUTDOWN_INTERACT,
@@ -165,6 +166,7 @@ struct GsmManagerPrivate @@ -176,6 +177,7 @@ struct GsmManagerPrivate
guint shell_end_session_dialog_confirmed_logout_id; guint shell_end_session_dialog_confirmed_logout_id;
guint shell_end_session_dialog_confirmed_shutdown_id; guint shell_end_session_dialog_confirmed_shutdown_id;
guint shell_end_session_dialog_confirmed_reboot_id; guint shell_end_session_dialog_confirmed_reboot_id;
@ -47,15 +47,15 @@ index 6eeea4a6..e0f190a1 100644
}; };
enum { enum {
@@ -478,6 +480,7 @@ gsm_manager_quit (GsmManager *manager) @@ -490,6 +492,7 @@ gsm_manager_quit (GsmManager *manager)
gsm_quit (); gsm_quit ();
break; break;
case GSM_MANAGER_LOGOUT_REBOOT: case GSM_MANAGER_LOGOUT_REBOOT:
+ case GSM_MANAGER_LOGOUT_REBOOT_TO_BOOT_OPTIONS: + case GSM_MANAGER_LOGOUT_REBOOT_TO_BOOT_OPTIONS:
case GSM_MANAGER_LOGOUT_REBOOT_INTERACT: case GSM_MANAGER_LOGOUT_REBOOT_INTERACT:
gsm_system_complete_shutdown (manager->priv->system); gsm_system_complete_shutdown (manager->priv->system);
break; gsm_quit ();
@@ -1138,6 +1141,7 @@ end_session_or_show_shell_dialog (GsmManager *manager) @@ -1161,6 +1164,7 @@ end_session_or_show_shell_dialog (GsmManager *manager)
type = GSM_SHELL_END_SESSION_DIALOG_TYPE_LOGOUT; type = GSM_SHELL_END_SESSION_DIALOG_TYPE_LOGOUT;
break; break;
case GSM_MANAGER_LOGOUT_REBOOT: case GSM_MANAGER_LOGOUT_REBOOT:
@ -63,7 +63,7 @@ index 6eeea4a6..e0f190a1 100644
case GSM_MANAGER_LOGOUT_REBOOT_INTERACT: case GSM_MANAGER_LOGOUT_REBOOT_INTERACT:
type = GSM_SHELL_END_SESSION_DIALOG_TYPE_RESTART; type = GSM_SHELL_END_SESSION_DIALOG_TYPE_RESTART;
break; break;
@@ -3324,6 +3328,12 @@ disconnect_shell_dialog_signals (GsmManager *manager) @@ -3450,6 +3454,12 @@ disconnect_shell_dialog_signals (GsmManager *manager)
manager->priv->shell_end_session_dialog_confirmed_reboot_id = 0; manager->priv->shell_end_session_dialog_confirmed_reboot_id = 0;
} }
@ -76,7 +76,7 @@ index 6eeea4a6..e0f190a1 100644
if (manager->priv->shell_end_session_dialog_open_failed_id != 0) { if (manager->priv->shell_end_session_dialog_open_failed_id != 0) {
g_signal_handler_disconnect (manager->priv->shell, g_signal_handler_disconnect (manager->priv->shell,
manager->priv->shell_end_session_dialog_open_failed_id); manager->priv->shell_end_session_dialog_open_failed_id);
@@ -3386,6 +3396,14 @@ on_shell_end_session_dialog_confirmed_reboot (GsmShell *shell, @@ -3512,6 +3522,14 @@ on_shell_end_session_dialog_confirmed_reboot (GsmShell *shell,
disconnect_shell_dialog_signals (manager); disconnect_shell_dialog_signals (manager);
} }
@ -91,7 +91,7 @@ index 6eeea4a6..e0f190a1 100644
static void static void
connect_shell_dialog_signals (GsmManager *manager) connect_shell_dialog_signals (GsmManager *manager)
{ {
@@ -3421,6 +3439,12 @@ connect_shell_dialog_signals (GsmManager *manager) @@ -3547,6 +3565,12 @@ connect_shell_dialog_signals (GsmManager *manager)
"end-session-dialog-confirmed-reboot", "end-session-dialog-confirmed-reboot",
G_CALLBACK (on_shell_end_session_dialog_confirmed_reboot), G_CALLBACK (on_shell_end_session_dialog_confirmed_reboot),
manager); manager);
@ -104,7 +104,7 @@ index 6eeea4a6..e0f190a1 100644
} }
static void static void
@@ -3694,6 +3718,10 @@ do_query_end_session_exit (GsmManager *manager) @@ -3820,6 +3844,10 @@ do_query_end_session_exit (GsmManager *manager)
case GSM_MANAGER_LOGOUT_REBOOT_INTERACT: case GSM_MANAGER_LOGOUT_REBOOT_INTERACT:
reboot = TRUE; reboot = TRUE;
break; break;
@ -169,5 +169,5 @@ index e236493a..b1cdd457 100644
}; };
-- --
2.19.0 2.23.0

View File

@ -1,4 +1,4 @@
From 10d271c9819e3b9986e50e1eede7d3c126c45ff5 Mon Sep 17 00:00:00 2001 From 5314490a7e5ce5770059363a84e13e87f3d9669c Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com> From: Hans de Goede <hdegoede@redhat.com>
Date: Tue, 14 Aug 2018 14:49:59 +0200 Date: Tue, 14 Aug 2018 14:49:59 +0200
Subject: [PATCH 2/2] Fedora: Set grub boot-flags on shutdown / reboot Subject: [PATCH 2/2] Fedora: Set grub boot-flags on shutdown / reboot
@ -21,10 +21,10 @@ way (for now) by setting the menu_show_once grub bootflag in this case.
1 file changed, 14 insertions(+), 1 deletion(-) 1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index e0f190a1..1444c553 100644 index e0c05d82..b4d50936 100644
--- a/gnome-session/gsm-manager.c --- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c +++ b/gnome-session/gsm-manager.c
@@ -3716,14 +3716,27 @@ do_query_end_session_exit (GsmManager *manager) @@ -3842,14 +3842,27 @@ do_query_end_session_exit (GsmManager *manager)
break; break;
case GSM_MANAGER_LOGOUT_REBOOT: case GSM_MANAGER_LOGOUT_REBOOT:
case GSM_MANAGER_LOGOUT_REBOOT_INTERACT: case GSM_MANAGER_LOGOUT_REBOOT_INTERACT:
@ -54,5 +54,5 @@ index e0f190a1..1444c553 100644
break; break;
default: default:
-- --
2.19.0 2.23.0

View File

@ -8,7 +8,7 @@
%endif %endif
Name: gnome-session Name: gnome-session
Version: 3.33.4 Version: 3.33.90
Release: 1%{?dist} Release: 1%{?dist}
Summary: GNOME session manager Summary: GNOME session manager
@ -122,13 +122,19 @@ Desktop file to add GNOME on wayland to display manager session menu.
%{_libexecdir}/gnome-session-check-accelerated %{_libexecdir}/gnome-session-check-accelerated
%{_libexecdir}/gnome-session-check-accelerated-gl-helper %{_libexecdir}/gnome-session-check-accelerated-gl-helper
%{_libexecdir}/gnome-session-check-accelerated-gles-helper %{_libexecdir}/gnome-session-check-accelerated-gles-helper
%{_libexecdir}/gnome-session-ctl
%{_libexecdir}/gnome-session-failed %{_libexecdir}/gnome-session-failed
%{_datadir}/gnome-session/ %{_datadir}/gnome-session/
%{_datadir}/doc/gnome-session/dbus/gnome-session.html %{_datadir}/doc/gnome-session/dbus/gnome-session.html
%{_datadir}/GConf/gsettings/gnome-session.convert %{_datadir}/GConf/gsettings/gnome-session.convert
%{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
%{_userunitdir}/gnome-session*
%changelog %changelog
* Mon Aug 26 2019 Kalev Lember <klember@redhat.com> - 3.33.90-1
- Update to 3.33.90
- Rebase downstream patches
* Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 3.33.4-1 * Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 3.33.4-1
- Update to 3.33.4 - Update to 3.33.4

View File

@ -1 +1 @@
SHA512 (gnome-session-3.33.4.tar.xz) = e45c5e91fcdb01a903764fe98e071dbee531afcd5b4c7b67765fddd2f71ae00cc03d4c1ef7b0d98dbbbdcca0e19c1c74dc86406d4e098d1fe298e8e4296a043a SHA512 (gnome-session-3.33.90.tar.xz) = 671ec53182681791a92c02cdba05ddfd5898397810afae9e7a5f1a66c667bdcb8b7fb67320c7584455ee8812ad9da32fec7bd7afbfb53cd1d82f6640ad010fdf