Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accountsservice: fix vendor extensions
Fixes #72396. The interface org.freedesktop.DisplayManager.AccountsService should now exist. This also actually fixes #45059.
- Loading branch information
1 parent
3328244
commit feda399
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
pkgs/development/libraries/accountsservice/drop-prefix-check-extensions.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/src/extensions.c b/src/extensions.c | ||
index 038dcb2..830465d 100644 | ||
--- a/src/extensions.c | ||
+++ b/src/extensions.c | ||
@@ -121,16 +121,7 @@ daemon_read_extension_directory (GHashTable *ifaces, | ||
continue; | ||
} | ||
|
||
- /* Ensure it looks like "../../dbus-1/interfaces/${name}" */ | ||
- const gchar * const prefix = "../../dbus-1/interfaces/"; | ||
- if (g_str_has_prefix (symlink, prefix) && g_str_equal (symlink + strlen (prefix), name)) { | ||
- daemon_read_extension_file (ifaces, filename); | ||
- } | ||
- else { | ||
- g_warning ("Found accounts service vendor extension symlink %s, but it must be exactly " | ||
- "equal to '../../dbus-1/interfaces/%s' for forwards-compatibility reasons.", | ||
- filename, name); | ||
- } | ||
+ daemon_read_extension_file (ifaces, filename); | ||
} | ||
|
||
g_dir_close (dir); |