Files
glib2/README.Gsettings-overrides
Dominique Leuenberger feb5c040bc Accepting request 1226951 from home:mgorse:branches:GNOME:Factory
- Have the glib2-tools postun trigger exit normally if
  glib2-compile-schemas can't be run. Fixes error when uninstalling
  if libgio is uninstalled first (bsc#1231463).

OBS-URL: https://build.opensuse.org/request/show/1226951
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=560
2024-11-28 09:07:40 +00:00

20 lines
781 B
Plaintext

Quoting the "Vendor overrides" section from [1]:
Default values are defined in the schemas that get installed by an application.
Sometimes, it is necessary for a vendor or distributor to adjust these
defaults. Since patching the XML source for the schema is inconvenient and
error-prone, glib-compile-schemas reads so-called 'vendor override' files.
These are keyfiles in the same directory as the XML schema sources which can
override default values. The schema id serves as the group name in the key
file, and the values are expected in serialized GVariant form, as in the
following example:
[org.gtk.Example]
key1='string'
key2=1.5
glib-compile-schemas expects schema files to have the extension
.gschema.override
[1] http://developer.gnome.org/gio/stable/GSettings.html