unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 83d56ddf6976250488b56da4651d5175c16a7747 1075 bytes (raw)
name: packages/patches/gdm-remove-hardcoded-xwayland-path.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
Remove check for hardcoded Xwayland path in gdm.

diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
index 7de7b99c..065325f4 100644
--- a/daemon/gdm-local-display-factory.c
+++ b/daemon/gdm-local-display-factory.c
@@ -245,9 +245,9 @@ struct GdmDisplayServerConfiguration {
         const char *session_type;
 } display_server_configuration[] = {
 #ifdef ENABLE_WAYLAND_SUPPORT
-        { "wayland", GDM_KEY_WAYLAND_ENABLE, "/usr/bin/Xwayland", "wayland" },
+        { "wayland", GDM_KEY_WAYLAND_ENABLE, "", "wayland" },
 #endif
-        { "xorg", GDM_KEY_XORG_ENABLE, "/usr/bin/Xorg", "x11" },
+        { "xorg", GDM_KEY_XORG_ENABLE, "", "x11" },
         { NULL, NULL, NULL },
 };
 
@@ -269,9 +269,6 @@ display_server_enabled (GdmLocalDisplayFactory *factory,
                 if (!gdm_settings_direct_get_boolean (key, &enabled) || !enabled)
                         return FALSE;
 
-                if (!g_file_test (binary, G_FILE_TEST_IS_EXECUTABLE))
-                        return FALSE;
-
                 return TRUE;
         }
 

debug log:

solving 83d56ddf6976250488b56da4651d5175c16a7747 ...
found 83d56ddf6976250488b56da4651d5175c16a7747 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).