Compare commits

...

No commits in common. "c9s" and "c8" have entirely different histories.
c9s ... c8

31 changed files with 672 additions and 593 deletions

119
.gitignore vendored
View File

@ -1,118 +1 @@
gnome-session-2.31.2.tar.bz2 SOURCES/gnome-session-3.28.1.tar.xz
gnome-session-2.31.6.tar.bz2
/gnome-session-2.32.0.tar.bz2
/gnome-session-2.91.0.tar.bz2
/gnome-session-2.91.4.tar.bz2
/gnome-session-2.91.6.tar.bz2
/gnome-session-2.91.90.tar.bz2
/gnome-session-2.91.91.tar.bz2
/gnome-session-2.91.91.2.tar.bz2
/gnome-session-2.91.91.3.tar.bz2
/gnome-session-2.91.92.tar.bz2
/gnome-session-2.91.93.tar.bz2
/gnome-session-2.91.94.tar.bz2
/gnome-session-3.0.0.tar.bz2
/gnome-session-3.0.1.tar.bz2
/gnome-session-3.1.2.tar.xz
/gnome-session-3.1.3.tar.xz
/gnome-session-3.1.91.tar.xz
/gnome-session-3.1.92.tar.xz
/gnome-session-3.2.0.tar.xz
/gnome-session-3.2.1.tar.xz
/gnome-session-3.3.1.tar.xz
/gnome-session-3.3.2.tar.xz
/gnome-session-3.3.3.tar.xz
/gnome-session-3.3.5.tar.xz
/gnome-session-3.3.90.tar.xz
/gnome-session-3.3.92.tar.xz
/gnome-session-3.4.0.tar.xz
/gnome-session-3.4.1.tar.xz
/gnome-session-3.4.2.tar.xz
/gnome-session-3.5.2.tar.xz
/gnome-session-3.5.4.tar.xz
/gnome-session-3.5.5.tar.xz
/gnome-session-3.5.91.tar.xz
/gnome-session-3.6.0.tar.xz
/gnome-session-3.6.1.tar.xz
/gnome-session-3.7.1.tar.xz
/gnome-session-3.7.2.tar.xz
/gnome-session-3.7.3.tar.xz
/gnome-session-3.7.4.tar.xz
/gnome-session-3.7.90.tar.xz
/gnome-session-3.7.91.tar.xz
/gnome-session-3.7.92.tar.xz
/gnome-session-3.8.0.tar.xz
/gnome-session-3.8.1.tar.xz
/gnome-session-3.8.2.tar.xz
/gnome-session-3.8.2.1.tar.xz
/gnome-session-3.9.5.tar.xz
/gnome-session-3.9.90.tar.xz
/gnome-session-3.9.91.tar.xz
/gnome-session-3.10.0.tar.xz
/gnome-session-3.10.1.tar.xz
/gnome-session-3.11.1.tar.xz
/gnome-session-3.11.2.tar.xz
/gnome-session-3.11.3.tar.xz
/gnome-session-3.11.4.tar.xz
/gnome-session-3.11.92.tar.xz
/gnome-session-3.12.0.tar.xz
/gnome-session-3.12.1.tar.xz
/gnome-session-3.13.3.tar.xz
/gnome-session-3.14.0.tar.xz
/gnome-session-3.15.3.tar.xz
/gnome-session-3.15.4.tar.xz
/gnome-session-3.15.90.tar.xz
/gnome-session-3.15.92.tar.xz
/gnome-session-3.16.0.tar.xz
/gnome-session-3.17.92.tar.xz
/gnome-session-3.18.0.tar.xz
/gnome-session-3.18.1.tar.xz
/gnome-session-3.18.1.1.tar.xz
/gnome-session-3.18.1.2.tar.xz
/gnome-session-3.19.2.tar.xz
/gnome-session-3.19.4.tar.xz
/gnome-session-3.19.91.tar.xz
/gnome-session-3.19.92.tar.xz
/gnome-session-3.20.0.tar.xz
/gnome-session-3.20.1.tar.xz
/gnome-session-3.21.3.tar.xz
/gnome-session-3.21.4.tar.xz
/gnome-session-3.21.90.tar.xz
/gnome-session-3.22.0.tar.xz
/gnome-session-3.23.2.tar.xz
/gnome-session-3.23.4.1.tar.xz
/gnome-session-3.23.91.tar.xz
/gnome-session-3.23.92.tar.xz
/gnome-session-3.24.0.tar.xz
/gnome-session-3.24.1.tar.xz
/gnome-session-3.25.3.tar.xz
/gnome-session-3.25.4.tar.xz
/gnome-session-3.25.90.tar.xz
/gnome-session-3.25.92.tar.xz
/gnome-session-3.26.0.tar.xz
/gnome-session-3.26.1.tar.xz
/gnome-session-3.27.4.tar.xz
/gnome-session-3.27.90.1.tar.xz
/gnome-session-3.27.91.tar.xz
/gnome-session-3.27.92.tar.xz
/gnome-session-3.28.0.tar.xz
/gnome-session-3.28.1.tar.xz
/gnome-session-3.29.90.tar.xz
/gnome-session-3.30.0.tar.xz
/gnome-session-3.30.1.tar.xz
/gnome-session-3.31.4.tar.xz
/gnome-session-3.32.0.tar.xz
/gnome-session-3.33.4.tar.xz
/gnome-session-3.33.90.tar.xz
/gnome-session-3.33.92.tar.xz
/gnome-session-3.34.0.tar.xz
/gnome-session-3.34.1.tar.xz
/gnome-session-3.34.2.tar.xz
/gnome-session-3.35.3.tar.xz
/gnome-session-3.36.0.tar.xz
/gnome-session-3.37.0.tar.xz
/gnome-session-3.38.0.tar.xz
/gnome-session-40.beta.tar.xz
/gnome-session-40.0.tar.xz
/gnome-session-40.1.tar.xz
/gnome-session-40.1.1.tar.xz

View File

@ -1 +0,0 @@
497bcbe97f8d665618438d352c555373393f89d7 gnome-session-40.1.1.tar.xz

View File

@ -1,126 +0,0 @@
From 51949dd2b944604742406a7464eb945cb5b610e9 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Mon, 15 Nov 2021 14:56:14 +0100
Subject: [PATCH 1/2] main: Lower fallback warning when running in GDM
It is currently expected for the fallback to happen. So hide the errors,
but still log a single message to inform users about it.
---
gnome-session/main.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnome-session/main.c b/gnome-session/main.c
index 443bc045..45ec6597 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -512,100 +512,103 @@ main (int argc, char **argv)
exit (1);
}
env_override_autostart_dirs = g_getenv ("GNOME_SESSION_AUTOSTART_DIR");
if (env_override_autostart_dirs != NULL && env_override_autostart_dirs[0] != '\0') {
env_override_autostart_dirs_v = g_strsplit (env_override_autostart_dirs, ":", 0);
gsm_util_set_autostart_dirs (env_override_autostart_dirs_v);
} else {
gsm_util_set_autostart_dirs (override_autostart_dirs);
/* Export the override autostart dirs parameter to the environment
* in case we are running on systemd. */
if (override_autostart_dirs) {
g_autofree char *autostart_dirs = NULL;
autostart_dirs = g_strjoinv (":", override_autostart_dirs);
g_setenv ("GNOME_SESSION_AUTOSTART_DIR", autostart_dirs, TRUE);
}
}
gsm_util_export_activation_environment (&error);
if (error) {
g_warning ("Failed to upload environment to DBus: %s", error->message);
g_clear_error (&error);
}
session_name = opt_session_name;
#ifdef HAVE_SYSTEMD
gsm_util_export_user_environment (&error);
- if (error) {
+ if (error && !g_getenv ("RUNNING_UNDER_GDM")) {
g_warning ("Failed to upload environment to systemd: %s", error->message);
g_clear_error (&error);
}
#endif
#ifdef ENABLE_SYSTEMD_SESSION
if (use_systemd && !systemd_service) {
g_autofree gchar *gnome_session_target;
const gchar *session_type;
session_type = g_getenv ("XDG_SESSION_TYPE");
/* We really need to resolve the session name at this point,
* which requires talking to GSettings internally. */
if (IS_STRING_EMPTY (session_name)) {
session_name = _gsm_manager_get_default_session (NULL);
}
/* Reset all failed units; we are going to start a lof ot things and
* really do not want to run into errors because units have failed
* in a previous session
*/
gsm_util_systemd_reset_failed (&error);
- if (error) {
+ if (error && !g_getenv ("RUNNING_UNDER_GDM")) {
g_warning ("Failed to reset failed state of units: %s", error->message);
g_clear_error (&error);
}
/* We don't escape the name (i.e. we leave any '-' intact). */
gnome_session_target = g_strdup_printf ("gnome-session-%s@%s.target", session_type, session_name);
if (gsm_util_start_systemd_unit (gnome_session_target, "fail", &error)) {
/* We started the unit, open fifo and sleep forever. */
systemd_leader_run ();
exit(0);
}
/* We could not start the unit, fall back. */
- g_warning ("Falling back to non-systemd startup procedure due to error: %s", error->message);
- g_clear_error (&error);
+ if (g_getenv ("RUNNING_UNDER_GDM"))
+ g_message ("Falling back to non-systemd startup procedure. This is expected to happen for GDM sessions.");
+ else
+ g_warning ("Falling back to non-systemd startup procedure due to error: %s", error->message);
+ g_clear_error (&error);
}
#endif /* ENABLE_SYSTEMD_SESSION */
{
gchar *ibus_path;
ibus_path = g_find_program_in_path("ibus-daemon");
if (ibus_path) {
const gchar *p;
p = g_getenv ("QT_IM_MODULE");
if (!p || !*p)
p = "ibus";
gsm_util_setenv ("QT_IM_MODULE", p);
p = g_getenv ("XMODIFIERS");
if (!p || !*p)
p = "@im=ibus";
gsm_util_setenv ("XMODIFIERS", p);
}
g_free (ibus_path);
}
/* We want to use the GNOME menus which has the designed categories.
*/
gsm_util_setenv ("XDG_MENU_PREFIX", "gnome-");
/* Talk to logind before acquiring a name, since it does synchronous
* calls at initialization time that invoke a main loop and if we
* already owned a name, then we would service too early during
--
2.35.1

View File

@ -1,115 +0,0 @@
From d39c345191f83ba37d24c07a831c9bb91cdde079 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Sun, 17 Apr 2022 15:58:13 +0200
Subject: [PATCH 2/2] main: Also clear error when running under GDM
Commit 0349a77ad875 ("main: Lower fallback warning when running in GDM")
removed error logging when running under GDM. However, the error was not
cleared afterwards, leaking it to later operations and causing other
issues.
Closes: #105
---
gnome-session/main.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gnome-session/main.c b/gnome-session/main.c
index 45ec6597..6a683ae0 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -512,88 +512,86 @@ main (int argc, char **argv)
exit (1);
}
env_override_autostart_dirs = g_getenv ("GNOME_SESSION_AUTOSTART_DIR");
if (env_override_autostart_dirs != NULL && env_override_autostart_dirs[0] != '\0') {
env_override_autostart_dirs_v = g_strsplit (env_override_autostart_dirs, ":", 0);
gsm_util_set_autostart_dirs (env_override_autostart_dirs_v);
} else {
gsm_util_set_autostart_dirs (override_autostart_dirs);
/* Export the override autostart dirs parameter to the environment
* in case we are running on systemd. */
if (override_autostart_dirs) {
g_autofree char *autostart_dirs = NULL;
autostart_dirs = g_strjoinv (":", override_autostart_dirs);
g_setenv ("GNOME_SESSION_AUTOSTART_DIR", autostart_dirs, TRUE);
}
}
gsm_util_export_activation_environment (&error);
if (error) {
g_warning ("Failed to upload environment to DBus: %s", error->message);
g_clear_error (&error);
}
session_name = opt_session_name;
#ifdef HAVE_SYSTEMD
gsm_util_export_user_environment (&error);
- if (error && !g_getenv ("RUNNING_UNDER_GDM")) {
+ if (error && !g_getenv ("RUNNING_UNDER_GDM"))
g_warning ("Failed to upload environment to systemd: %s", error->message);
- g_clear_error (&error);
- }
+ g_clear_error (&error);
#endif
#ifdef ENABLE_SYSTEMD_SESSION
if (use_systemd && !systemd_service) {
g_autofree gchar *gnome_session_target;
const gchar *session_type;
session_type = g_getenv ("XDG_SESSION_TYPE");
/* We really need to resolve the session name at this point,
* which requires talking to GSettings internally. */
if (IS_STRING_EMPTY (session_name)) {
session_name = _gsm_manager_get_default_session (NULL);
}
/* Reset all failed units; we are going to start a lof ot things and
* really do not want to run into errors because units have failed
* in a previous session
*/
gsm_util_systemd_reset_failed (&error);
- if (error && !g_getenv ("RUNNING_UNDER_GDM")) {
+ if (error && !g_getenv ("RUNNING_UNDER_GDM"))
g_warning ("Failed to reset failed state of units: %s", error->message);
- g_clear_error (&error);
- }
+ g_clear_error (&error);
/* We don't escape the name (i.e. we leave any '-' intact). */
gnome_session_target = g_strdup_printf ("gnome-session-%s@%s.target", session_type, session_name);
if (gsm_util_start_systemd_unit (gnome_session_target, "fail", &error)) {
/* We started the unit, open fifo and sleep forever. */
systemd_leader_run ();
exit(0);
}
/* We could not start the unit, fall back. */
if (g_getenv ("RUNNING_UNDER_GDM"))
g_message ("Falling back to non-systemd startup procedure. This is expected to happen for GDM sessions.");
else
g_warning ("Falling back to non-systemd startup procedure due to error: %s", error->message);
g_clear_error (&error);
}
#endif /* ENABLE_SYSTEMD_SESSION */
{
gchar *ibus_path;
ibus_path = g_find_program_in_path("ibus-daemon");
if (ibus_path) {
const gchar *p;
p = g_getenv ("QT_IM_MODULE");
if (!p || !*p)
p = "ibus";
gsm_util_setenv ("QT_IM_MODULE", p);
p = g_getenv ("XMODIFIERS");
--
2.35.1

View File

@ -1,4 +1,4 @@
From e3d6f1c1d342d0c74f2125ea0efa2a9669aaa8df Mon Sep 17 00:00:00 2001 From 15be30033e5b24a8c84a4d4338da0e8a3930303a 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] Fedora: Set grub boot-flags on shutdown / reboot Subject: [PATCH] Fedora: Set grub boot-flags on shutdown / reboot
@ -18,10 +18,37 @@ the boot-menu not being hidden.
1 file changed, 12 insertions(+) 1 file changed, 12 insertions(+)
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 6839a02d..589efb02 100644 index 3cf421cd..924767af 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
@@ -3823,10 +3823,22 @@ do_query_end_session_exit (GsmManager *manager) @@ -3629,51 +3629,63 @@ on_shutdown_prepared (GsmSystem *system,
gboolean success,
GsmManager *manager)
{
g_debug ("GsmManager: on_shutdown_prepared, success: %d", success);
g_signal_handlers_disconnect_by_func (system, on_shutdown_prepared, manager);
if (success) {
/* move to end-session phase */
g_assert (manager->priv->phase == GSM_MANAGER_PHASE_QUERY_END_SESSION);
manager->priv->phase++;
start_phase (manager);
} else {
disconnect_shell_dialog_signals (manager);
gsm_shell_close_end_session_dialog (manager->priv->shell);
/* back to running phase */
cancel_end_session (manager);
}
}
static gboolean
do_query_end_session_exit (GsmManager *manager)
{
gboolean reboot = FALSE;
gboolean shutdown = FALSE;
switch (manager->priv->logout_type) {
case GSM_MANAGER_LOGOUT_LOGOUT:
break; break;
case GSM_MANAGER_LOGOUT_REBOOT: case GSM_MANAGER_LOGOUT_REBOOT:
case GSM_MANAGER_LOGOUT_REBOOT_INTERACT: case GSM_MANAGER_LOGOUT_REBOOT_INTERACT:
@ -44,6 +71,20 @@ index 6839a02d..589efb02 100644
shutdown = TRUE; shutdown = TRUE;
break; break;
default: default:
g_warning ("Unexpected logout type %d in do_query_end_session_exit()",
manager->priv->logout_type);
break;
}
if (reboot || shutdown) {
g_signal_connect (manager->priv->system, "shutdown-prepared",
G_CALLBACK (on_shutdown_prepared), manager);
gsm_system_prepare_shutdown (manager->priv->system, reboot);
return FALSE; /* don't leave query end session yet */
}
return TRUE; /* go to end session phase */
}
-- --
2.28.0 2.31.1

View File

@ -0,0 +1,63 @@
From a42ccfa0e8be2e658d081c3637ff0f43e2b38d3c Mon Sep 17 00:00:00 2001
From: Takao Fujiwara <tfujiwar@redhat.com>
Date: Tue, 22 Oct 2019 20:44:04 +0900
Subject: [PATCH] gnome-session: avoid setting LC_ unless LANG and region
disagree
At the moment, gnome-session explicitly sets the various LC_ variables
to the user configured region.
That's unnecessary, though. If the LC_ variables are unset,
applications know to use LANG. Furthermore, setting the LC_ variables
makes it so you can't override them with LANG anymore.
This commit makes sure the LC_ variables only get set when absolutely
necesary. That is, when they are different than LANG.
https://gitlab.gnome.org/GNOME/gnome-session/issues/37
---
gnome-session/gnome-session.in | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnome-session/gnome-session.in b/gnome-session/gnome-session.in
index 7d967d34..90566f1d 100755
--- a/gnome-session/gnome-session.in
+++ b/gnome-session/gnome-session.in
@@ -1,25 +1,29 @@
#!/bin/sh
if [ "x$XDG_SESSION_TYPE" = "xwayland" ] &&
[ "x$XDG_SESSION_CLASS" != "xgreeter" ] &&
[ -n "$SHELL" ]; then
if [ "$1" != '-l' ]; then
exec bash -c "exec -l '$SHELL' -c '$0 -l $*'"
else
shift
fi
fi
SETTING=$(gsettings get org.gnome.system.locale region)
REGION=${SETTING#\'}
REGION=${REGION%\'}
if [ -n "$REGION" ]; then
- export LC_TIME=$REGION
- export LC_NUMERIC=$REGION
- export LC_MONETARY=$REGION
- export LC_MEASUREMENT=$REGION
- export LC_PAPER=$REGION
+ unset LC_TIME LC_NUMERIC LC_MONETARY LC_MEASUREMENT LC_PAPER
+
+ if [ "$LANG" != "$REGION" ] ; then
+ export LC_TIME=$REGION
+ export LC_NUMERIC=$REGION
+ export LC_MONETARY=$REGION
+ export LC_MEASUREMENT=$REGION
+ export LC_PAPER=$REGION
+ fi
fi
exec @libexecdir@/gnome-session-binary "$@"
--
2.41.0.rc2

View File

@ -1,4 +1,4 @@
From 63d74edc4b112669fdce14d88d37e2dd0315ff7e Mon Sep 17 00:00:00 2001 From ae60cb25636b6f68d087591de11fd681f6f8c918 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com> From: Ray Strode <rstrode@redhat.com>
Date: Tue, 19 Nov 2019 09:29:16 -0500 Date: Tue, 19 Nov 2019 09:29:16 -0500
Subject: [PATCH] gnome-session: don't validate shell before using it Subject: [PATCH] gnome-session: don't validate shell before using it
@ -15,10 +15,10 @@ shell validity checks when deciding to run though a login shell.
1 file changed, 1 insertion(+), 4 deletions(-) 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gnome-session/gnome-session.in b/gnome-session/gnome-session.in diff --git a/gnome-session/gnome-session.in b/gnome-session/gnome-session.in
index ddd1a591..b4b1f8fa 100755 index ce63df56..7d967d34 100755
--- a/gnome-session/gnome-session.in --- a/gnome-session/gnome-session.in
+++ b/gnome-session/gnome-session.in +++ b/gnome-session/gnome-session.in
@@ -1,32 +1,29 @@ @@ -1,28 +1,25 @@
#!/bin/sh #!/bin/sh
if [ "x$XDG_SESSION_TYPE" = "xwayland" ] && if [ "x$XDG_SESSION_TYPE" = "xwayland" ] &&
@ -35,23 +35,19 @@ index ddd1a591..b4b1f8fa 100755
fi fi
fi fi
SETTING=$(G_MESSAGES_DEBUG='' gsettings get org.gnome.system.locale region) SETTING=$(gsettings get org.gnome.system.locale region)
REGION=${SETTING#\'} REGION=${SETTING#\'}
REGION=${REGION%\'} REGION=${REGION%\'}
if [ -n "$REGION" ]; then if [ -n "$REGION" ]; then
unset LC_TIME LC_NUMERIC LC_MONETARY LC_MEASUREMENT LC_PAPER export LC_TIME=$REGION
export LC_NUMERIC=$REGION
if [ "$LANG" != "$REGION" ] ; then export LC_MONETARY=$REGION
export LC_TIME=$REGION export LC_MEASUREMENT=$REGION
export LC_NUMERIC=$REGION export LC_PAPER=$REGION
export LC_MONETARY=$REGION
export LC_MEASUREMENT=$REGION
export LC_PAPER=$REGION
fi
fi fi
exec @libexecdir@/gnome-session-binary "$@" exec @libexecdir@/gnome-session-binary "$@"
-- --
2.32.0 2.21.0

View File

@ -0,0 +1,107 @@
From 7cdf11b1b4b04f8cd366316f6c50a9bd0b4e67d3 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Wed, 6 May 2020 13:45:50 -0400
Subject: [PATCH] main: only log check-accelerated errors when debugging
enabled
The journal currently gets spammed with messages like:
gnome-session: gnome-session-check-accelerated: GL Helper exited with code 512
gnome-session: libEGL warning: DRI2: failed to authenticate
gnome-session: gnome-session-check-accelerated: GLES Helper exited with code 512
if a the machine lacks accelerated graphics. But lacking accelerated
graphics isn't actually an error (many servers do).
This commit changes the messages to only show when debugging is enabled.
---
gnome-session/main.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnome-session/main.c b/gnome-session/main.c
index b1ac3850..0e75eecf 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -193,72 +193,78 @@ require_dbus_session (int argc,
g_return_val_if_fail (!g_str_has_prefix (argv[0], "dbus-launch"),
TRUE);
/* +2 for our new arguments, +1 for NULL */
new_argv = g_malloc ((argc + 3) * sizeof (*argv));
new_argv[0] = "dbus-launch";
new_argv[1] = "--exit-with-session";
for (i = 0; i < argc; i++) {
new_argv[i + 2] = argv[i];
}
new_argv[i + 2] = NULL;
if (!execvp ("dbus-launch", new_argv)) {
g_set_error (error,
G_SPAWN_ERROR,
G_SPAWN_ERROR_FAILED,
"No session bus and could not exec dbus-launch: %s",
g_strerror (errno));
return FALSE;
}
/* Should not be reached */
return TRUE;
}
static gboolean
check_gl (GError **error)
{
int status;
+ g_autofree char *error_output = NULL;
+
char *argv[] = { LIBEXECDIR "/gnome-session-check-accelerated", NULL };
if (getenv ("DISPLAY") == NULL) {
/* Not connected to X11, someone else will take care of checking GL */
return TRUE;
}
- if (!g_spawn_sync (NULL, (char **) argv, NULL, 0, NULL, NULL, &gl_renderer, NULL,
+ if (!g_spawn_sync (NULL, (char **) argv, NULL, 0, NULL, NULL, &gl_renderer, &error_output,
&status, error)) {
return FALSE;
}
+ if (error_output != NULL) {
+ g_debug ("%s", error_output);
+ }
+
return g_spawn_check_exit_status (status, error);
}
static void
initialize_gio (void)
{
char *disable_fuse = NULL;
char *use_vfs = NULL;
disable_fuse = g_strdup (g_getenv ("GVFS_DISABLE_FUSE"));
use_vfs = g_strdup (g_getenv ("GIO_USE_VFS"));
g_setenv ("GVFS_DISABLE_FUSE", "1", TRUE);
g_setenv ("GIO_USE_VFS", "local", TRUE);
g_vfs_get_default ();
if (use_vfs) {
g_setenv ("GIO_USE_VFS", use_vfs, TRUE);
g_free (use_vfs);
} else {
g_unsetenv ("GIO_USE_VFS");
}
if (disable_fuse) {
g_setenv ("GVFS_DISABLE_FUSE", disable_fuse, TRUE);
g_free (disable_fuse);
} else {
g_unsetenv ("GVFS_DISABLE_FUSE");
}
}
--
2.33.1

View File

@ -0,0 +1,124 @@
From 06271eea2a12970fbe73b3d3f2c6ae5d79339379 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Mon, 29 Jun 2020 15:15:48 -0400
Subject: [PATCH] session-selector: show cursor explicitly
Normally the window manager would show the cursor at start up, but
the session selector runs when no window manager is present.
This commit makes the session selector explicitly set a cursor, so
users can interact with the dialog using the mouse.
---
tools/gnome-session-selector.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/gnome-session-selector.c b/tools/gnome-session-selector.c
index 71892c43..9225639e 100644
--- a/tools/gnome-session-selector.c
+++ b/tools/gnome-session-selector.c
@@ -594,60 +594,61 @@ auto_save_next_session_if_needed (void)
static int
compare_sessions (GtkTreeModel *model,
GtkTreeIter *a,
GtkTreeIter *b,
gpointer data)
{
char *name_a, *name_b;
int result;
gtk_tree_model_get (model, a, 0, &name_a, -1);
gtk_tree_model_get (model, b, 0, &name_b, -1);
result = g_utf8_collate (name_a, name_b);
g_free (name_a);
g_free (name_b);
return result;
}
static void
on_map (GtkWidget *widget,
gpointer data)
{
gdk_window_focus (gtk_widget_get_window (widget), GDK_CURRENT_TIME);
}
int
main (int argc, char *argv[])
{
+ GdkCursor *cursor;
GtkWidget *window;
GtkWidget *widget;
GtkCellRenderer *cell;
GtkTreeViewColumn *column;
GtkTreeSelection *selection;
GError *error;
if (getenv ("SESSION_MANAGER") != NULL)
return 1;
gtk_init (&argc, &argv);
if (argc > 1) {
g_print ("create and select session\n");
if (!create_and_select_session (argv[1]))
return 1;
else
return 0;
}
builder = gtk_builder_new ();
gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
error = NULL;
if (!gtk_builder_add_from_file (builder, GTKBUILDER_DIR "/" "session-selector.ui", &error)) {
g_warning ("Could not load file 'session-selector.ui': %s", error->message);
exit (1);
}
window = (GtkWidget *) gtk_builder_get_object (builder, "main-window");
@@ -663,36 +664,40 @@ main (int argc, char *argv[])
session_list = (GtkWidget *) gtk_builder_get_object (builder, "session-list");
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (session_list));
gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE);
populate_session_list (session_list);
cell = gtk_cell_renderer_text_new ();
g_signal_connect (cell, "edited", G_CALLBACK (on_row_edited), NULL);
column = gtk_tree_view_column_new_with_attributes ("", cell, "text", 0, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (session_list), GTK_TREE_VIEW_COLUMN (column));
g_signal_connect (session_list, "row-activated", G_CALLBACK (on_row_activated), NULL);
g_signal_connect (selection, "changed",
G_CALLBACK (on_selection_changed), NULL);
widget = (GtkWidget *) gtk_builder_get_object (builder, "new-session");
g_signal_connect (widget, "clicked", G_CALLBACK (on_new_session_clicked), NULL);
widget = (GtkWidget *) gtk_builder_get_object (builder, "remove-session");
g_signal_connect (widget, "clicked", G_CALLBACK (on_remove_session_clicked), NULL);
widget = (GtkWidget *) gtk_builder_get_object (builder, "rename-session");
g_signal_connect (widget, "clicked", G_CALLBACK (on_rename_session_clicked), NULL);
widget = (GtkWidget *) gtk_builder_get_object (builder, "continue-button");
g_signal_connect (widget, "clicked", G_CALLBACK (on_continue_clicked), NULL);
g_signal_connect (window, "map", G_CALLBACK (on_map), NULL);
gtk_widget_show (window);
+ cursor = gdk_cursor_new_from_name (gtk_widget_get_display (window),
+ "default");
+ gdk_window_set_cursor (gtk_widget_get_window (window), cursor);
+
gtk_main ();
auto_save_next_session_if_needed ();
return 0;
}
--
2.26.0

View File

@ -0,0 +1,3 @@
Section "ServerFlags"
Option "DontVTSwitch" "on"
EndSection

View File

@ -0,0 +1,38 @@
[org/gnome/desktop/a11y/applications]
screen-keyboard-enabled=true
[org/gnome/desktop/interface]
gtk-im-module='ibus'
toolkit-accessibility=true
[org/gnome/desktop/lockdown]
disable-command-line=true
disable-lock-screen=true
disable-application-handlers=true
disable-user-switching=true
user-administration-disabled=true
[org/gnome/desktop/wm/keybindings]
always-on-top=@as []
begin-move=@as []
begin-resize=@as []
close=@as []
lower=@as []
maximize=@as []
maximize-horizontally=@as []
maximize-vertically=@as []
minimize=@as []
panel-main-menu=@as []
panel-run-dialog=@as []
raise=@as []
raise-or-lower=@as []
show-desktop=@as []
toggle-fullscreen=@as []
toggle-maximized=@as []
unmaximize=@as []
[org/gnome/desktop/wm/preferences]
num-workspaces=1
[org/gnome/mutter]
dynamic-workspaces=false

View File

@ -0,0 +1,8 @@
/org/gnome/desktop/a11y/applications/screen-keyboard-enabled
/org/gnome/desktop/interface/gtk-im-module
/org/gnome/desktop/interface/toolkit-accessibility
/org/gnome/desktop/lockdown/disable-command-line
/org/gnome/desktop/lockdown/disable-lock-screen
/org/gnome/desktop/lockdown/disable-application-handlers
/org/gnome/desktop/lockdown/disable-user-switching
/org/gnome/desktop/lockdown/user-administration-disabled

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Kiosk
Type=Application
Exec=redhat-kiosk

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Type=Application
Name=Mutter
Comment=Window manager
Exec=/usr/bin/mutter
Categories=GNOME;GTK;Core;
OnlyShowIn=GNOME;
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer
X-GNOME-Provides=windowmanager;
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=false
X-GNOME-HiddenUnderSystemd=true

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=Kiosk
Comment=Kiosk mode
Exec=/usr/bin/gnome-session --session=redhat-kiosk
DesktopNames=Red-Hat-Kiosk;GNOME;

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Type=Application
Name=GNOME Shell Kiosk Mode
Comment=Window manager
Exec=env DCONF_PROFILE=redhatkiosk /usr/bin/gnome-shell --mode=redhat-kiosk
Categories=GNOME;GTK;Core;
OnlyShowIn=GNOME;
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer
X-GNOME-Provides=windowmanager;
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=false
X-GNOME-HiddenUnderSystemd=true

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=Kiosk (with on-screen keyboard)
Comment=Kiosk mode with on-screen keyboard
Exec=/usr/bin/env DCONF_PROFILE=redhatkiosk /usr/bin/gnome-session --session=redhat-kiosk-with-keyboard
DesktopNames=Red-Hat-Kiosk;GNOME;

29
SOURCES/redhat-kiosk Executable file
View File

@ -0,0 +1,29 @@
#!/bin/sh
if [ ! -e ~/.local/bin/redhat-kiosk ]; then
mkdir -p ~/.local/bin ~/.config
cat > ~/.local/bin/redhat-kiosk << EOF
#!/bin/sh
# This script is located in ~/.local/bin.
# It's provided as an example script to show how
# the kiosk session works. At the moment, the script
# just starts a text editor open to itself, but it
# should get customized to instead start a full screen
# application designed for the kiosk deployment.
# The "while true" bit just makes sure the application gets
# restarted if it dies for whatever reason.
while true; do
gedit ~/.local/bin/redhat-kiosk
done
EOF
chmod +x ~/.local/bin/redhat-kiosk
touch ~/.config/gnome-initial-setup-done
fi
export DCONF_PROFILE=redhatkiosk
systemctl --user import-environment DCONF_PROFILE
exec ~/.local/bin/redhat-kiosk "$@"

View File

@ -0,0 +1,3 @@
[GNOME Session]
Name=Kiosk
RequiredComponents=com.redhat.KioskWithKeyboard.WindowManager;com.redhat.Kiosk.Script;

View File

@ -0,0 +1,5 @@
user-db:user
system-db:redhatkiosk
system-db:local
system-db:site
system-db:distro

11
SOURCES/redhat-kiosk.json Normal file
View File

@ -0,0 +1,11 @@
{
"parentMode": "user",
"hasOverview": false,
"hasRunDialog": false,
"allowSettings": false,
"panel": { "left": [""],
"center": [],
"right": ["keyboard"]
}
}

View File

@ -0,0 +1,3 @@
[GNOME Session]
Name=Kiosk
RequiredComponents=com.redhat.Kiosk.WindowManager;com.redhat.Kiosk.Script;

View File

@ -1,44 +1,64 @@
%define po_package gnome-session-40 %global _changelog_trimtime %(date +%s -d "1 year ago")
%define po_package gnome-session-3.0
%if 0%{?fedora} %if 0%{?fedora}
%else %else
%global with_session_selector 1 %global with_session_selector 1
%endif %endif
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: gnome-session Name: gnome-session
Version: 40.1.1 Version: 3.28.1
Release: 9%{?dist} Release: 21%{?dist}
Summary: GNOME session manager Summary: GNOME session manager
License: GPLv2+ License: GPLv2+
URL: https://gitlab.gnome.org/GNOME/gnome-session URL: http://www.gnome.org
Source0: https://download.gnome.org/sources/gnome-session/40/%{name}-%{tarball_version}.tar.xz Source0: http://download.gnome.org/sources/gnome-session/3.28/%{name}-%{version}.tar.xz
Source1: gnome.desktop Source1: gnome.desktop
Source2: gnome-xorg.desktop Source2: gnome-xorg.desktop
Source3: com.redhat.Kiosk.Script.desktop
Source4: com.redhat.Kiosk.desktop
Source5: com.redhat.KioskWithKeyboard.desktop
Source6: com.redhat.Kiosk.WindowManager.desktop
Source7: com.redhat.KioskWithKeyboard.WindowManager.desktop
Source8: redhat-kiosk.json
Source9: redhat-kiosk.session
Source10: redhat-kiosk-with-keyboard.session
Source11: redhat-kiosk
Source12: 20-redhat-kiosk.conf
Source13: 50-redhat-kiosk.dconf
Source14: 50-redhat-kiosk.dconf.locks
Source15: redhat-kiosk.dconf.profile
Patch0: 0001-gnome-session-don-t-validate-shell-before-using-it.patch
# Blacklist NV30: https://bugzilla.redhat.com/show_bug.cgi?id=745202 # Blacklist NV30: https://bugzilla.redhat.com/show_bug.cgi?id=745202
Patch10001: gnome-session-3.3.92-nv30.patch Patch1: gnome-session-3.3.92-nv30.patch
Patch3: gnome-session-3.6.2-swrast.patch
Patch20001: gnome-session-3.6.2-swrast.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=772421 # https://bugzilla.gnome.org/show_bug.cgi?id=772421
Patch30001: 0001-check-accelerated-gles-Use-eglGetPlatformDisplay-EXT.patch Patch4: 0001-check-accelerated-gles-Use-eglGetPlatformDisplay-EXT.patch
# For https://fedoraproject.org/w/index.php?title=Changes/HiddenGrubMenu Patch10001: 0001-session-selector-show-cursor-explicitly.patch
# This should go upstream once systemd has a generic interface for this
Patch40001: 0001-Fedora-Set-grub-boot-flags-on-shutdown-reboot.patch
%if %{undefined centos} # Downstream patch to provide better grub integration
Patch50001: subscription-manager-support.patch # https://bugzilla.redhat.com/show_bug.cgi?id=1914925
%endif Patch20001: 0001-Fedora-Set-grub-boot-flags-on-shutdown-reboot.patch
Patch60001: 0001-gnome-session-don-t-validate-shell-before-using-it.patch # Make some debug spew only show up if debugging is enabled
# https://bugzilla.redhat.com/show_bug.cgi?id=1877997
Patch30001: 0001-main-only-log-check-accelerated-errors-when-debuggin.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2044212 # Allow user to override language settings
Patch70001: 0001-main-Lower-fallback-warning-when-running-in-GDM.patch # https://bugzilla.redhat.com/show_bug.cgi?id=2170474
Patch70002: 0002-main-Also-clear-error-when-running-under-GDM.patch Patch40001: 0001-gnome-session-avoid-setting-LC_-unless-LANG-and-regi.patch
BuildRequires: meson BuildRequires: meson
BuildRequires: gcc BuildRequires: gcc
@ -59,30 +79,26 @@ BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xtrans) BuildRequires: pkgconfig(xtrans)
BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(xtst)
# this is so the configure checks find /usr/bin/halt etc.
BuildRequires: usermode
BuildRequires: gettext BuildRequires: gettext
BuildRequires: intltool BuildRequires: intltool
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: /usr/bin/xsltproc BuildRequires: /usr/bin/xsltproc
BuildRequires: python3-devel
# an artificial requires to make sure we get dconf, for now # an artificial requires to make sure we get dconf, for now
Requires: dconf Requires: dconf
Requires: system-logos Requires: system-logos
Recommends: system-backgrounds Requires: system-backgrounds
# Needed for gnome-settings-daemon # Needed for gnome-settings-daemon
Requires: control-center-filesystem Requires: control-center-filesystem
Requires: gsettings-desktop-schemas >= 0.1.7 Requires: gsettings-desktop-schemas >= 0.1.7
Requires: dbus # pull in dbus-x11, see bug 209924
Requires: dbus-x11
%if %{undefined centos} Conflicts: gnome-settings-daemon < 3.27.90
Recommends: subscription-manager
%endif
%description %description
gnome-session manages a GNOME desktop or GDM login session. It starts up gnome-session manages a GNOME desktop or GDM login session. It starts up
@ -91,8 +107,6 @@ the other core GNOME components and handles logout and saving the session.
%package xsession %package xsession
Summary: Desktop file for gnome-session Summary: Desktop file for gnome-session
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: xorg-x11-server-Xorg%{?_isa}
Requires: gnome-shell
%description xsession %description xsession
Desktop file to add GNOME to display manager session menu. Desktop file to add GNOME to display manager session menu.
@ -100,14 +114,24 @@ Desktop file to add GNOME to display manager session menu.
%package wayland-session %package wayland-session
Summary: Desktop file for wayland based gnome session Summary: Desktop file for wayland based gnome session
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: xorg-x11-server-Xwayland%{?_isa} >= 1.20.99.1 Requires: xorg-x11-server-Xwayland%{?_isa}
Requires: gnome-shell
%description wayland-session %description wayland-session
Desktop file to add GNOME on wayland to display manager session menu. Desktop file to add GNOME on wayland to display manager session menu.
%package kiosk-session
Summary: Desktop file for mutter based kiosk session
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: mutter
Recommends: gedit
Recommends: gnome-terminal
Recommends: gnome-control-center
%description kiosk-session
Desktop file to add basic session used for setting up kiosk applications.
%prep %prep
%autosetup -p1 -n %{name}-%{tarball_version} %autosetup -p1
%build %build
%meson \ %meson \
@ -127,16 +151,67 @@ cp $RPM_SOURCE_DIR/gnome.desktop $RPM_BUILD_ROOT%{_datadir}/wayland-sessions/gno
cp $RPM_SOURCE_DIR/gnome-xorg.desktop $RPM_BUILD_ROOT%{_datadir}/xsessions cp $RPM_SOURCE_DIR/gnome-xorg.desktop $RPM_BUILD_ROOT%{_datadir}/xsessions
cp $RPM_SOURCE_DIR/gnome-xorg.desktop $RPM_BUILD_ROOT%{_datadir}/xsessions/gnome.desktop cp $RPM_SOURCE_DIR/gnome-xorg.desktop $RPM_BUILD_ROOT%{_datadir}/xsessions/gnome.desktop
install -D $RPM_SOURCE_DIR/com.redhat.Kiosk.Script.desktop -t $RPM_BUILD_ROOT%{_datadir}/applications
install -D $RPM_SOURCE_DIR/com.redhat.Kiosk.WindowManager.desktop -t $RPM_BUILD_ROOT/%{_datadir}/applications
install -D $RPM_SOURCE_DIR/com.redhat.KioskWithKeyboard.WindowManager.desktop -t $RPM_BUILD_ROOT/%{_datadir}/applications
install -D $RPM_SOURCE_DIR/com.redhat.Kiosk.desktop -t $RPM_BUILD_ROOT%{_datadir}/xsessions
install -D $RPM_SOURCE_DIR/com.redhat.KioskWithKeyboard.desktop -t $RPM_BUILD_ROOT%{_datadir}/xsessions
install -D $RPM_SOURCE_DIR/redhat-kiosk.json -t $RPM_BUILD_ROOT%{_datadir}/gnome-shell/modes
install -D $RPM_SOURCE_DIR/redhat-kiosk.session -t $RPM_BUILD_ROOT%{_datadir}/gnome-session/sessions
install -D $RPM_SOURCE_DIR/redhat-kiosk-with-keyboard.session -t $RPM_BUILD_ROOT%{_datadir}/gnome-session/sessions
install -D $RPM_SOURCE_DIR/redhat-kiosk -t $RPM_BUILD_ROOT%{_bindir}
install -D $RPM_SOURCE_DIR/20-redhat-kiosk.conf -t $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
install -D $RPM_SOURCE_DIR/50-redhat-kiosk.dconf $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db/redhatkiosk.d/50-redhat-kiosk
install -D $RPM_SOURCE_DIR/50-redhat-kiosk.dconf.locks $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db/redhatkiosk.d/locks/50-redhat-kiosk
install -D $RPM_SOURCE_DIR/redhat-kiosk.dconf.profile $RPM_BUILD_ROOT%{_sysconfdir}/dconf/profile/redhatkiosk
install -D $RPM_SOURCE_DIR/20-redhat-kiosk.conf -t $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
%find_lang %{po_package} %find_lang %{po_package}
%ldconfig_scriptlets %ldconfig_scriptlets
%posttrans
# These files weren't packaged correctly in gnome-session-3.28.1-19.el8 so manually prune them
rmdir %{_sysconfdir}/dconf/db/redhat-kiosk.d/locks 2> /dev/null || :
rmdir %{_sysconfdir}/dconf/db/redhat-kiosk.d 2> /dev/null || :
rm -f %{_sysconfdir}/dconf/db/redhat-kiosk 2> /dev/null || :
dconf update
%files xsession %files xsession
%{_datadir}/xsessions/* %{_datadir}/xsessions/*
%exclude %{_datadir}/xsessions/com.redhat.Kiosk.desktop
%files wayland-session %files wayland-session
%{_datadir}/wayland-sessions/* %{_datadir}/wayland-sessions/*
%files kiosk-session
%dir %{_sysconfdir}/dconf/db/redhatkiosk.d/locks
%dir %{_sysconfdir}/dconf/db/redhatkiosk.d
%ghost %{_sysconfdir}/dconf/db/redhatkiosk
%{_sysconfdir}/dconf/db/redhatkiosk.d/50-redhat-kiosk
%{_sysconfdir}/dconf/db/redhatkiosk.d/locks/50-redhat-kiosk
%{_sysconfdir}/dconf/profile/redhatkiosk
%{_datadir}/applications/com.redhat.Kiosk.Script.desktop
%{_datadir}/applications/com.redhat.Kiosk.WindowManager.desktop
%{_datadir}/applications/com.redhat.KioskWithKeyboard.WindowManager.desktop
%{_datadir}/gnome-shell/modes/redhat-kiosk.json
%{_datadir}/xsessions/com.redhat.Kiosk.desktop
%{_datadir}/xsessions/com.redhat.KioskWithKeyboard.desktop
%{_datadir}/gnome-session/sessions/redhat-kiosk.session
%{_datadir}/gnome-session/sessions/redhat-kiosk-with-keyboard.session
%{_datadir}/X11/xorg.conf.d/20-redhat-kiosk.conf
%{_bindir}/redhat-kiosk
%files -f %{po_package}.lang %files -f %{po_package}.lang
%doc AUTHORS NEWS README %doc AUTHORS NEWS README
%license COPYING %license COPYING
@ -146,178 +221,100 @@ cp $RPM_SOURCE_DIR/gnome-xorg.desktop $RPM_BUILD_ROOT%{_datadir}/xsessions/gnome
%{_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*
%{_userunitdir}/gnome-launched-.scope.d/
%changelog %changelog
* Thu Jan 04 2024 Ray Strode <rstrode@redhat.com> - 40.1.1-9 * Wed May 31 2023 Ray Strode <rstrode@redhat.com> - 3.28.1-21
- Make subscription-manager dependency softer - Allow users to override language settings in environment
Related: RHEL-20449 Resolves: #2170474
* Fri Jun 16 2023 Ray Strode <rstrode@redhat.com> - 40.1.1-8 * Wed Mar 01 2023 Ray Strode <rstrode@redhat.com> - 3.28.1-20
- Add hard dependency on subscription-manager - Work around dconf log spew by renaming dconf profile
Resolves: #2175675 Related: 2070976
Resolves: #2174414
* Tue Dec 13 2022 Ray Strode <rstrode@redhat.com> - 40.1.1-7 * Tue Feb 28 2023 Ray Strode <rstrode@redhat.com> - 3.28.1-19
- Demote expected log messages from warnings to debug level - Another fix
Resolves: #2044212 Related: #2070976
* Fri Dec 3 2021 Ray Strode <rstrode@redhat.com> - 40.1.1-6 * Tue Feb 28 2023 Ray Strode <rstrode@redhat.com> - 3.28.1-18
- Add weak req on system-backgrounds now that it's split from system-logos - Fix issue introduced in last build
Resolves: #2012244 Related: #2070976
* Mon Oct 25 2021 Ray Strode <rstrode@redhat.com> - 40.1.1-5 * Tue Feb 28 2023 Ray Strode <rstrode@redhat.com> - 3.28.1-17
- Make users with nologin as their shell fail to login - Don't force kiosk profile for user in non-kiosk sessions
Resolves: #2015519 after the user has been used for a kiosk session once
Related: #2070976
* Mon Sep 06 2021 Kalev Lember <klember@redhat.com> - 40.1.1-4 * Tue Feb 28 2023 Ray Strode <rstrode@redhat.com> - 3.28.1-16
- Forward port subscription manager support from RHEL 8 - Fix glitch where enabling on-screen keyboard requires initial
- Resolves: #1937113 reboot
Related: #2070976
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 40.1.1-3 * Mon Feb 27 2023 Ray Strode <rstrode@redhat.com> - 3.28.1-15
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Add new shell based variant of kiosk mode that supports
Related: rhbz#1991688 on-screen keyboard
Resolves: #2070976
* Tue Jul 27 2021 Ray Strode <rstrode@redhat.com> - 40.1.1-2 * Tue Dec 21 2021 Ray Strode <rstrode@redhat.com> - 3.28.1-14
- Update session files to match RHEL specifications - Make some debug spew only show up if debugging is enabled
Related: #1985099 Resolves: #1877997
* Wed Apr 28 2021 Kalev Lember <klember@redhat.com> - 40.1.1-1 * Mon Jul 26 2021 Ray Strode <rstrode@redhat.com> - 3.28.1-13
- Update to 40.1.1 - Add patch to tell grub boot was successful when user is
able to explicitly request shutdown/reboot.
Resolves: #1914925
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 40~beta-2 * Tue Jul 20 2021 Ray Strode <rstrode@redhat.com> - 3.28.1-12
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Introduce gnome-wayland session to allow users that use
Xorg on the login screen to try wayland for the user session.
Related: #1962211
* Tue Feb 23 2021 Kalev Lember <klember@redhat.com> - 40~beta-1 * Fri Jun 04 2021 Ray Strode <rstrode@redhat.com> - 3.28.1-11
- Update to 40.beta - Exclude kiosk-session from xsession subpackage
- Update upstream URLs - Disable VT switching when kiosk-session is installed
Related: #1955754
* Mon Feb 1 2021 Olivier Fourdan <ofourdan@redhat.com> - 3.38.0-3 * Mon Jun 29 2020 Ray Strode <rstrode@redhat.com> - 3.28.1-10
- Add dependency on Xwayland standalone package - Show cursor explicitly from session selector
Resolves: #1624430
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.0-2 * Tue May 19 2020 Ray Strode <rstrode@redhat.com> - 3.28.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Add kiosk-session subpackage to help users set up RHEL for
kiosk/point-of-sale use.
Resolves: #1739556
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1 * Wed Nov 20 2019 Tomas Pelka <tpelka@redhat.com> - 3.28.1-8
- Update to 3.38.0 - rebuild and version bump to avoid future conflict with z-stream version
Resolves: #1745147
* Thu Sep 3 2020 Hans de Goede <hdegoede@redhat.com> - 3.37.0-2 * Tue Nov 19 2019 Ray Strode <rstrode@redhat.com> - 3.28.1-7
- Remove downstream patch for the "Boot Options" menu - make /sbin/nologin fail on wayland
- Simplify downstream patch for the "Hidden Grub Menu" integration Resolves: #1745147
* Mon Aug 17 2020 Kalev Lember <klember@redhat.com> - 3.37.0-1 * Mon Jan 14 2019 Ray Strode <rstrode@redhat.com> - 3.28.1-6
- Update to 3.37.0 - Update desktop file names
Related: #1647713
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-4 * Thu Nov 01 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-5
- Second attempt - Rebuilt for - Drop usermode dependency, it's vestigial
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Resolves: #1643696
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-3 * Fri Sep 07 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Require system-backgrounds
Related: #1626388
* Mon Mar 23 2020 Ray Strode <rstrode@redhat.com> - 3.36.0-2 * Wed Aug 22 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-3
- Apply patch from upstream to allow Xorg after wayland. - Rename GNOME to Standard
Resolves: #1815487 Related: #1612915
* Sun Mar 08 2020 Kalev Lember <klember@redhat.com> - 3.36.0-1 * Mon Aug 13 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-2
- Update to 3.36.0 - BuildRequire python3 binary
Resolves: #1615527
* Thu Feb 20 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.35.3-3
- Own %%{_userunitdir}/gnome-launched-.scope.d
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.35.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 16 2020 Kalev Lember <klember@redhat.com> - 3.35.3-1
- Update to 3.35.3
* Thu Jan 16 2020 Kalev Lember <klember@redhat.com> - 3.34.2-3
- Rebuilt for libgnome-desktop soname bump
* Mon Dec 16 2019 Benjamin Berg <bberg@redhat.com> - 3.34.2-2
- Add patches to run applications in transient scopes
https://gitlab.gnome.org/GNOME/gnome-session/merge_requests/36
- Add patches to quit gnome-session quickly if gnome-shell cannot start
https://gitlab.gnome.org/GNOME/gnome-session/merge_requests/35
* Thu Nov 28 2019 Kalev Lember <klember@redhat.com> - 3.34.2-1
- Update to 3.34.2
* Fri Oct 11 2019 Benjamin Berg <bberg@redhat.com> - 3.34.1-3
- Add patches to ensure proper unit unloading after session shutdown
https://gitlab.gnome.org/GNOME/gnome-session/merge_requests/28
- Resolves: #1760366
* Tue Oct 08 2019 Benjamin Berg <bberg@redhat.com> - 3.34.1-2
- Add patch to strip blacklisted variables from autostart applications environment
https://gitlab.gnome.org/GNOME/gnome-session/merge_requests/27
* Mon Oct 07 2019 Kalev Lember <klember@redhat.com> - 3.34.1-1
- Update to 3.34.1
* Mon Sep 23 2019 Benjamin Berg <bberg@redhat.com> - 3.34.0-3
- Stop certain environment variables from leaking betweens sessions
https://gitlab.gnome.org/GNOME/gnome-session/merge_requests/23
- Resolves: #1753191
* Thu Sep 19 2019 Debarshi Ray <rishi@fedoraproject.org> - 3.34.0-2
- Stop NOTIFY_SOCKET from leaking into the GNOME environment
* Wed Sep 11 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
- Update to 3.34.0
* Wed Sep 04 2019 Kalev Lember <klember@redhat.com> - 3.33.92-1
- Update to 3.33.92
* Mon Aug 26 2019 Kalev Lember <klember@redhat.com> - 3.33.90-1
- Update to 3.33.90
- Rebase downstream patches
- Drop old versioned conflicts
* Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 3.33.4-1
- Update to 3.33.4
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jul 21 2019 Kalev Lember <klember@redhat.com> - 3.32.0-2
- Rebuilt for libgnome-desktop soname bump
* Wed Mar 13 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
- Update to 3.32.0
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 07 2019 Kalev Lember <klember@redhat.com> - 3.31.4-1
- Update to 3.31.4
* Thu Oct 11 2018 David Herrmann <dh.herrmann@gmail.com> - 3.30.1-3
- Reduce 'dbus-x11' dependency to 'dbus'. The xinit scripts are no longer the
canonical way to start dbus, but the 'dbus' package is nowadays required to
provide a user and system bus to its dependents.
* Thu Sep 27 2018 Hans de Goede <hdegoede@redhat.com> - 3.30.1-2
- Add downstream patches implementing the "Boot Options" menu from:
https://wiki.gnome.org/Design/OS/BootOptions
* Wed Sep 26 2018 Kalev Lember <klember@redhat.com> - 3.30.1-1
- Update to 3.30.1
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
- Update to 3.30.0
* Mon Aug 13 2018 Kalev Lember <klember@redhat.com> - 3.29.90-1
- Update to 3.29.90
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Apr 10 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1 * Tue Apr 10 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
- Update to 3.28.1 - Update to 3.28.1

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -1 +0,0 @@
SHA512 (gnome-session-40.1.1.tar.xz) = 91609915366839806729e066e5ca0d42daff0591732cda08c3da7d4951f7e27964d72988c4e61a64045443969b9fb0a9697c7ace82bdd8843310cb4d7e9dfd8c

View File

@ -1,26 +0,0 @@
From 523602887f92b448b497e99bf56d0b9f1ef376f7 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Mon, 6 Sep 2021 21:12:38 +0200
Subject: [PATCH] data: Require org.gnome.SettingsDaemon.Subscription
Make sure the gnome-settings-daemon subman plugin gets started on
session startup.
---
data/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/meson.build b/data/meson.build
index e02b80d3..1684a99e 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -24,6 +24,7 @@ required_components = {
'org.gnome.SettingsDaemon.Sharing',
'org.gnome.SettingsDaemon.Smartcard',
'org.gnome.SettingsDaemon.Sound',
+ 'org.gnome.SettingsDaemon.Subscription',
'org.gnome.SettingsDaemon.UsbProtection',
'org.gnome.SettingsDaemon.Wacom',
'org.gnome.SettingsDaemon.XSettings',
--
2.31.1