-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main/accountsservice: use tmpfiles, fix build
Fixes #3014
- Loading branch information
Showing
3 changed files
with
31 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Create accountsservice state dirs | ||
|
||
d /var/lib/AccountsService/users 0755 root root - | ||
d /var/lib/AccountsService/icons 0755 root root - |
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,25 @@ | ||
Introspection is unaware of uid_t and fails | ||
since g-i 1.82, use the underlying type instead. | ||
|
||
--- a/src/libaccountsservice/act-user-manager.h | ||
+++ b/src/libaccountsservice/act-user-manager.h | ||
@@ -78,7 +78,7 @@ GSList * act_user_manager_list_users (ActUserManager *manager); | ||
ActUser * act_user_manager_get_user (ActUserManager *manager, | ||
const char *username); | ||
ActUser * act_user_manager_get_user_by_id (ActUserManager *manager, | ||
- uid_t id); | ||
+ unsigned int id); | ||
|
||
gboolean act_user_manager_activate_user_session (ActUserManager *manager, | ||
ActUser *user); | ||
--- a/src/libaccountsservice/act-user.h | ||
+++ b/src/libaccountsservice/act-user.h | ||
@@ -46,7 +46,7 @@ typedef enum | ||
|
||
const char *act_user_get_object_path (ActUser *user); | ||
|
||
-uid_t act_user_get_uid (ActUser *user); | ||
+unsigned int act_user_get_uid (ActUser *user); | ||
const char *act_user_get_user_name (ActUser *user); | ||
const char *act_user_get_real_name (ActUser *user); | ||
ActUserAccountType act_user_get_account_type (ActUser *user); |
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