Merge branch 'glib-compile-schemas-docs-1' into 'main'

docs: Mention XDG_DATA_HOME in glib-compile-schemas manual

See merge request GNOME/glib!4100
This commit is contained in:
Philip Withnall 2024-06-03 10:56:41 +00:00
commit 5bcc6ad458

View File

@ -34,9 +34,9 @@ used by ``GSettings``. The XML schema files must have the filename extension
``GSettings`` documentation. ``GSettings`` documentation.
At runtime, GSettings looks for schemas in the ``glib-2.0/schemas`` At runtime, GSettings looks for schemas in the ``glib-2.0/schemas``
subdirectories of all directories specified in the ``XDG_DATA_DIRS`` environment subdirectories of all directories specified in the ``XDG_DATA_DIRS`` and
variable. The usual location to install schema files is ``XDG_DATA_HOME`` environment variables. The usual location to install schema
``/usr/share/glib-2.0/schemas``. files is ``/usr/share/glib-2.0/schemas``.
In addition to schema files, ``glib-compile-schemas`` reads vendor override In addition to schema files, ``glib-compile-schemas`` reads vendor override
files, which are key files that can override default values for keys in files, which are key files that can override default values for keys in