Introduction
gschemas.compiled is built by glib-compile-schemas from the
.gschema.xml files in a directory and read by GSettings at run time. It uses the GVDB
(GVariant database) format of GLib.
Structure
A GVDB file starts with a header holding a two-word signature (the characters GVariant), a
version, options and a pointer to the root table. Tables are hash tables whose items have a hash value, a
parent, a key position and size, a type and a value.
Not described
Known, not yet covered
- Reference: the layout of the format is not yet described here: neither the GVDB tables in detail, the GVariant values nor the keys that schemas use.
- Viewer: the site has no viewer for this format.
Links
Software
- GLib – includes glib-compile-schemas and GSettings
Reference
- glib-compile-schemas(1) – the compiler
- gvdb-format.h – GLib source, browsable copy