Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

79.12. libaccounts-glib-1.27.git20250603

Accounts database library for GLib — accounts, providers and services that applications share

1.27.git20250603-1 · LGPL-2.1-only · 0.1 SBU · 532.9 KiB, 37 files · 41_system, 186 of 1047 · ports/core/auth/libaccounts-glib

Homepage: https://gitlab.com/accounts-sso/libaccounts-glib

libaccounts-glib is the accounts database of the accounts-sso framework: a per-user SQLite store of online accounts, and the XML files under /usr/share/accounts that describe each provider, service, service type and application. It ships the ag-tool and ag-backup commands, the GObject introspection data and the Vala bindings. libaccounts-qt wraps it for Qt, and KDE’s kaccounts stack is built on both.

Depends on: meson, ninja, pkgconf, glib, libxml2, sqlite, gobject-introspection, glib-introspection, vala.

Required by (1): libaccounts-qt.

Sources: libaccounts-glib-1.27.git20250603.tar.gz (115.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libaccounts-glib'

build.sh:

meson setup build \
	--prefix=/usr --libdir=lib \
	--buildtype=release \
	-Dtests=false \
	-Ddocs=false \
	-Dintrospection=true
meson compile -C build
DESTDIR=$PKG meson install -C build

Programs: ag-backup, ag-tool.

Libraries: libaccounts-glib.so.

Directories: /usr/include/libaccounts-glib, /usr/share/licenses/libaccounts-glib, /usr/share/xml/accounts.

The source is a commit snapshot of upstream’s master, the commit that added the introspection, docs and tests options. No release carries them: 1.27 builds its test suite unconditionally, so its configure requires the check library. The version is 1.27 and the commit’s date.

The database lives in $XDG_CONFIG_HOME/libaccounts-glib/accounts.db; nothing is installed for it. The com.google.code.AccountsSSO.Accounts.Manager D-Bus interface file goes to /usr/share/dbus-1/interfaces for consumers that generate code from it; the library does not own a bus name.