unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 2cfab580e3976cb51b13afc04de9c38f727c57a3 1202 bytes (raw)
name: gnu/packages/patches/accountsservice-extensions.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
 
Patch from NixOS retrieved from
https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/libraries/accountsservice/drop-prefix-check-extensions.patch.

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);

debug log:

solving 2cfab580e3 ...
found 2cfab580e3 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).