RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/gnome-session#630903903c127a3d903f12c91567889b24ecc19d
This commit is contained in:
Petr Šabata 2020-10-15 01:57:23 +02:00
parent b9bfe961a6
commit ebd8a7a34c
7 changed files with 1841 additions and 0 deletions

114
.gitignore vendored
View File

@ -0,0 +1,114 @@
gnome-session-2.31.2.tar.bz2
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

View File

@ -0,0 +1,49 @@
From e3d6f1c1d342d0c74f2125ea0efa2a9669aaa8df Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Tue, 14 Aug 2018 14:49:59 +0200
Subject: [PATCH] Fedora: Set grub boot-flags on shutdown / reboot
Fedora's grub will automatically hide the boot-menu if the previous
boot has set the boot_success flag in grub's environment. This happens
automatically 30 seconds after login.
But if the user shuts down or reboots from the system-menu before then
(e.g. directly from gdm) then the boot_success flag gets not set. If
a reboot / shutdown is initiated through gnome-session then the user
is successfully interacting with the system, so set the boot_success
flag from gnome_session for this case to fix reboot from gdm leading to
the boot-menu not being hidden.
---
gnome-session/gsm-manager.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 6839a02d..589efb02 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -3823,10 +3823,22 @@ do_query_end_session_exit (GsmManager *manager)
break;
case GSM_MANAGER_LOGOUT_REBOOT:
case GSM_MANAGER_LOGOUT_REBOOT_INTERACT:
+ /*
+ * Fedora specific patch to make sure the boot-menu does not
+ * show when it is configured to auto-hide and a reboot is
+ * initiated directly from gdm.
+ */
+ system("/usr/sbin/grub2-set-bootflag boot_success");
reboot = TRUE;
break;
case GSM_MANAGER_LOGOUT_SHUTDOWN:
case GSM_MANAGER_LOGOUT_SHUTDOWN_INTERACT:
+ /*
+ * Fedora specific patch to make sure the boot-menu does not
+ * show when it is configured to auto-hide and a shutdown is
+ * initiated directly from gdm.
+ */
+ system("/usr/sbin/grub2-set-bootflag boot_success");
shutdown = TRUE;
break;
default:
--
2.28.0

View File

@ -0,0 +1,75 @@
From 687ec347d2fa0bca227e3a583a3a47f9bbc10bb0 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 4 Oct 2016 13:15:39 -0400
Subject: [PATCH] check-accelerated-gles: Use eglGetPlatformDisplay{,EXT}
eglGetDisplay forces the implementation to guess, and in general it
can't guess correctly. Be explicit.
Signed-off-by: Adam Jackson <ajax@redhat.com>
---
.../gnome-session-check-accelerated-gles-helper.c | 36 +++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/tools/gnome-session-check-accelerated-gles-helper.c b/tools/gnome-session-check-accelerated-gles-helper.c
index 2a38d9e..472d1ad 100644
--- a/tools/gnome-session-check-accelerated-gles-helper.c
+++ b/tools/gnome-session-check-accelerated-gles-helper.c
@@ -34,11 +34,43 @@
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <EGL/egl.h>
+#include <EGL/eglext.h>
#endif
#include "gnome-session-check-accelerated-common.h"
#ifdef GDK_WINDOWING_X11
+static EGLDisplay
+get_display (void *native)
+{
+ EGLDisplay dpy = NULL;
+ const char *client_exts = eglQueryString (NULL, EGL_EXTENSIONS);
+
+ if (g_strstr_len (client_exts, -1, "EGL_KHR_platform_base")) {
+ PFNEGLGETPLATFORMDISPLAYEXTPROC get_platform_display =
+ (void *) eglGetProcAddress ("eglGetPlatformDisplay");
+
+ if (get_platform_display)
+ dpy = get_platform_display (EGL_PLATFORM_X11_KHR, native, NULL);
+
+ if (dpy)
+ return dpy;
+ }
+
+ if (g_strstr_len (client_exts, -1, "EGL_EXT_platform_base")) {
+ PFNEGLGETPLATFORMDISPLAYEXTPROC get_platform_display =
+ (void *) eglGetProcAddress ("eglGetPlatformDisplayEXT");
+
+ if (get_platform_display)
+ dpy = get_platform_display (EGL_PLATFORM_X11_KHR, native, NULL);
+
+ if (dpy)
+ return dpy;
+ }
+
+ return eglGetDisplay ((EGLNativeDisplayType) native);
+}
+
static char *
get_gles_renderer (void)
{
@@ -67,7 +99,9 @@ get_gles_renderer (void)
gdk_error_trap_push ();
display = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
- egl_dpy = eglGetDisplay (display);
+
+ egl_dpy = get_display (display);
+
if (!egl_dpy) {
g_warning ("eglGetDisplay() failed");
goto out;
--
2.9.3

View File

@ -0,0 +1,12 @@
--- gnome-session/data/hardware-compatibility 2012-03-21 16:30:06.269104695 -0700
+++ gnome-session/data/hardware-compatibility.new 2012-03-22 23:26:37.201967075 -0700
@@ -19,6 +19,9 @@
-Mesa DRI R[12]00[^[:digit:]]
-Mesa DRI R[12]00$
+# NV30 family on Nouveau: https://bugzilla.redhat.com/show_bug.cgi?id=745202
+-Gallium .* on NV3[0-9A-F]$
+
# Old Mesa software GL renderer
-software rasterizer

View File

@ -0,0 +1,12 @@
diff -up gnome-session-3.6.2/data/hardware-compatibility.jx gnome-session-3.6.2/data/hardware-compatibility
--- gnome-session-3.6.2/data/hardware-compatibility.jx 2012-12-10 12:43:06.000000000 -0500
+++ gnome-session-3.6.2/data/hardware-compatibility 2012-12-10 12:43:50.424352484 -0500
@@ -23,7 +23,7 @@
-Gallium .* on NV3[0-9A-F]$
# Old Mesa software GL renderer
--software rasterizer
+#software rasterizer
# Gallium has softpipe; we explicitly enable llvmpipe
-softpipe

1578
gnome-session.spec Normal file

File diff suppressed because it is too large Load Diff

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (gnome-session-3.38.0.tar.xz) = f49a7337b64722bc502ff3d952d8e249d2435be662c3bdfb7c7740338585c2e0b292869902be4c10faebde00998d7ead8deb82fe719a38575c6ebec2b94aa19b