Contents
/usr/libexec)
The AccountsService package provides a set of D-Bus interfaces for querying and manipulating user account information and an implementation of those interfaces based on the usermod(8), useradd(8), and userdel(8) commands.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://gitlab.freedesktop.org/accountsservice/accountsservice/-/archive/26.26.9/accountsservice-26.26.9.tar.bz2
Download MD5 sum: eac46328f48acd37ab55bb74106f67ec
Download size: 660 KB
Estimated disk space required: 11 MB (with tests)
Estimated build time: 0.4 SBU (with tests)
GLib-2.88.2 (with GObject Introspection), elogind-257.14, and Vala-0.56.19
GTK-Doc-1.36.1 and xmlto-0.0.29
First, Fix a test that fails if the en_IE.UTF-8 locale is not installed:
sed -i '/^SIMULATED_SYSTEM_LOCALE/s/en_IE.UTF-8/en_HK.iso88591/' tests/test-daemon.py
Install AccountsService by running the following commands:
mkdir build &&
cd build &&
meson setup .. \
--prefix=/usr \
--buildtype=release \
-D admin_group=adm \
-D elogind=true \
-D systemdsystemunitdir=no
Build the package:
ninja
To test the package, issue ninja test.
Now, as the root user:
ninja install
--buildtype=release:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D docbook=true: This switch enables
building the D-Bus interface API documentation (needs xmlto-0.0.29).
-D gtk_doc=true: This switch enables
building the libaccountsservice API documentation (needs GTK-Doc-1.36.1).
-D vapi=false: This switch disables
building the vala bindings. Use it if you have not installed
Vala-0.56.19.
To allow users in the adm group to be listed as Administrators,
execute the following commands as the root user:
cat > /etc/polkit-1/rules.d/40-adm.rules << "EOF"
polkit.addAdminRule(function(action, subject) {
return ["unix-group:adm"];
});
EOF
/usr/libexec)