|
Packit |
ae235b |
|
|
Packit |
ae235b |
<html>
|
|
Packit |
ae235b |
<head>
|
|
Packit |
ae235b |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
Packit |
ae235b |
<title>glib-compile-schemas: GIO Reference Manual</title>
|
|
Packit |
ae235b |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
|
Packit |
ae235b |
<link rel="home" href="index.html" title="GIO Reference Manual">
|
|
Packit |
ae235b |
<link rel="up" href="tools.html" title="GIO Tools">
|
|
Packit |
ae235b |
<link rel="prev" href="gsettings-tool.html" title="gsettings">
|
|
Packit |
ae235b |
<link rel="next" href="glib-compile-resources.html" title="glib-compile-resources">
|
|
Packit |
ae235b |
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
|
Packit |
ae235b |
<link rel="stylesheet" href="style.css" type="text/css">
|
|
Packit |
ae235b |
</head>
|
|
Packit |
ae235b |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
glib-compile-schemas
|
|
Packit |
ae235b |
glib-compile-schemas — GSettings schema compiler
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Synopsis
|
|
Packit |
ae235b |
glib-compile-schemas [OPTION...] {DIRECTORY}
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Description
|
|
Packit |
ae235b |
glib-compile-schemas compiles all the GSettings XML
|
|
Packit |
ae235b |
schema files in DIRECTORY into a binary file
|
|
Packit |
ae235b |
with the name gschemas.compiled that can be used
|
|
Packit |
ae235b |
by GSettings. The XML schema
|
|
Packit |
ae235b |
files must have the filename extension .gschema.xml .
|
|
Packit |
ae235b |
For a detailed description of the XML file format, see the
|
|
Packit |
ae235b |
GSettings documentation.
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
At runtime, GSettings looks for schemas in the
|
|
Packit |
ae235b |
glib-2.0/schemas subdirectories of all directories
|
|
Packit |
ae235b |
specified in the XDG_DATA_DIRS environment variable. The
|
|
Packit |
ae235b |
usual location to install schema files is
|
|
Packit |
ae235b |
/usr/share/glib-2.0/schemas .
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
In addition to schema files, glib-compile-schemas reads 'vendor override'
|
|
Packit |
ae235b |
files, which are key files that can override default values for keys in
|
|
Packit |
ae235b |
the schemas. The group names in the key files are the schema id, and the
|
|
Packit |
ae235b |
values are written in serialized GVariant form.
|
|
Packit |
ae235b |
Vendor override files must have the filename extension
|
|
Packit |
ae235b |
.gschema.override .
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
By convention, vendor override files begin with nn_
|
|
Packit |
ae235b |
where nn is a number from 00 to 99. Higher
|
|
Packit |
ae235b |
numbered files have higher priority (eg: if the same override is made in
|
|
Packit |
ae235b |
a file numbered 10 and then again in a file numbered 20, the override
|
|
Packit |
ae235b |
from 20 will take precedence).
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Options
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
-h , --help
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Print help and exit
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
--version
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Print program version and exit
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
--targetdir=TARGET
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Store gschemas.compiled in the TARGET directory instead of DIRECTORY .
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
--strict
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Abort on any errors in schemas. Without this option, faulty schema files are
|
|
Packit |
ae235b |
simply omitted from the resulting compiled schema.
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
--dry-run
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Don't write gschemas.compiled . This option can be used
|
|
Packit |
ae235b |
to check .gschema.xml sources for errors.
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
--allow-any-name
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Do not enforce restrictions on key names. Note that this option is purely
|
|
Packit |
ae235b |
to facility the transition from GConf, and will be removed at some time
|
|
Packit |
ae235b |
in the future.
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Generated by GTK-Doc V1.27
|
|
Packit |
ae235b |
</body>
|
|
Packit |
ae235b |
</html>
|