DConf-0.40.0 / DConf-Editor-3.38.3

Introduction to DConf

The DConf package contains a low-level configuration system. Its main purpose is to provide a backend to GSettings on platforms that don't already have configuration storage systems.

The DConf-Editor, as the name suggests, is a graphical editor for the DConf database. Installation is optional, because gsettings from GLib-2.74.0 provides similar functionality on the commandline.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

Additional Downloads

DConf Dependencies

Required

dbus-1.14.0, GLib-2.74.0, GTK+-3.24.34 (for the editor), and libxml2-2.10.2 (for the editor)

Recommended

Optional

GTK-Doc-1.33.2 and bash-completion

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/dconf

Installation of DConf

First, prevent unnecessary systemd units from being installed:

sed -i 's/install_dir: systemd_userunitdir,//' service/meson.build

Install DConf by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=/usr --buildtype=release -Dbash_completion=false .. &&
ninja

To test the results, issue: ninja test

As the root user:

ninja install

Now, optionally install the editor:

cd ..              &&
tar -xf ../dconf-editor-3.38.3.tar.xz &&
cd dconf-editor-3.38.3                &&

sed -e '/  desktop,/d' \
    -e '/  appdata,/d' \
    -i editor/meson.build &&

mkdir build &&
cd    build &&

meson --prefix=/usr --buildtype=release .. &&
ninja

As the root user:

ninja install

Command Explanations

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

-Dgtk_doc=true: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

sed -e '/  desktop,/d' ...: This fixes a failure to build with newer versions of meson.

Contents

Installed Programs: dconf and dconf-editor
Installed Libraries: libdconf.so, and libdconfsettings.so (GIO Module installed in /usr/lib/gio/modules)
Installed Directories: /usr/{include,share/gtk-doc/html}/dconf

Short Descriptions

dconf

is a simple tool for manipulating the DConf database

dconf-editor

is a graphical program for editing the DConf database

libdconf.so

contains the DConf client API functions