.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "GLIB-COMPILE-SCHEMAS" "" "" .SH NAME glib-compile-schemas \- GSettings schema compiler .\" This has to be duplicated from above to make it machine-readable by `reuse`: .\" SPDX-FileCopyrightText: 2010, 2011, 2012, 2015 Red Hat, Inc. .\" SPDX-FileCopyrightText: 2012 Allison Karlitskaya .\" SPDX-FileCopyrightText: 2016 Sam Thursfield .\" SPDX-License-Identifier: LGPL-2.1-or-later . .SH SYNOPSIS .nf \fBglib\-compile\-schemas\fP [\fIOPTION\fP…] \fIDIRECTORY\fP .fi .sp .SH DESCRIPTION .sp \fBglib\-compile\-schemas\fP compiles all the GSettings XML schema files in \fBDIRECTORY\fP into a binary file with the name \fBgschemas.compiled\fP that can be used by \fBGSettings\fP\&. The XML schema files must have the filename extension \fB\&.gschema.xml\fP\&. For a detailed description of the XML file format, see the \fBGSettings\fP documentation. .sp At runtime, GSettings looks for schemas in the \fBglib\-2.0/schemas\fP subdirectories of all directories specified in the \fBXDG_DATA_DIRS\fP environment variable. The usual location to install schema files is \fB/usr/share/glib\-2.0/schemas\fP\&. .sp In addition to schema files, \fBglib\-compile\-schemas\fP reads ‘vendor override’ 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 \fB\&.gschema.override\fP\&. .sp By convention, vendor override files begin with \fBnn_\fP where \fBnn\fP is a number from 00 to 99. Higher numbered files have higher priority (e.g. 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). .SH OPTIONS .sp \fB\-h\fP, \fB\-\-help\fP .INDENT 0.0 .INDENT 3.5 Print help and exit. .UNINDENT .UNINDENT .sp \fB\-\-version\fP .INDENT 0.0 .INDENT 3.5 Print program version and exit. .UNINDENT .UNINDENT .sp \fB\-\-targetdir \fP .INDENT 0.0 .INDENT 3.5 Store \fBgschemas.compiled\fP in the \fBTARGET\fP directory instead of \fBDIRECTORY\fP\&. .UNINDENT .UNINDENT .sp \fB\-\-strict\fP .INDENT 0.0 .INDENT 3.5 Abort on any errors in schemas. Without this option, faulty schema files are simply omitted from the resulting compiled schema. .UNINDENT .UNINDENT .sp \fB\-\-dry\-run\fP .INDENT 0.0 .INDENT 3.5 Don’t write \fBgschemas.compiled\fP\&. This option can be used to check \fB\&.gschema.xml\fP sources for errors. .UNINDENT .UNINDENT .sp \fB\-\-allow\-any\-name\fP .INDENT 0.0 .INDENT 3.5 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. .UNINDENT .UNINDENT .\" Generated by docutils manpage writer. .