2 .\" Title: glib-compile-schemas
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6 .\" Manual: User Commands
7 .\" Source: User Commands
10 .TH "GLIB\-COMPILE\-SCHEM" "1" "05/14/2012" "User Commands" "User Commands"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 glib-compile-schemas \- GSettings schema compiler
33 .HP \w'\fBglib\-compile\-schemas\fR\ 'u
34 \fBglib\-compile\-schemas\fR [option...] {directory}
37 \fBglib\-compile\-schemas\fR
38 compiles all the GSettings XML schema files in
40 into a binary file with the name
43 \fBGSettings\fR\&. The XML schema files must have the filename extension
44 \&.gschema\&.xml\&. For a detailed description of the XML file format, see the
48 At runtime, GSettings looks for schemas in the
50 subdirectories of all directories specified in the
52 environment variable\&. The usual location to install schema files is
53 /usr/share/glib\-2\&.0/schemas\&.
55 In addition to schema files, glib\-compile\-schemas reads \*(Aqvendor override\*(Aq files, which are key files that can override default values for keys in the schemas\&. The group names in the key files are the schema id, and the values are written in serialized GVariant form\&. Vendor override files must have the filename extension
56 \&.gschema\&.override\&.
58 By convention, vendor override files begin with
62 is a number from 00 to 99\&. Higher numbered files have higher priority (eg: if the same override is made in a file numbered 10 and then again in a file numbered 20, the override from 20 will take precedence)\&.
65 \fB\-h\fR, \fB\-\-help\fR
70 \fB\-\-targetdir=\fR\fB\fITARGETDIR\fR\fR
83 gschemas\&.compiled\&. This option can be used to check
88 \fB\-\-allow\-any\-name\fR
90 Do not enforce restrictions on key names\&. Note that this option is purely to facility the transition from GConf, and will be removed at some time in the future\&.