1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY GConf-download-http
|
---|
8 | "&gnome-download-http;/GConf/&gnome-version;/GConf-&GConf-version;.tar.xz">
|
---|
9 | <!ENTITY GConf-download-ftp
|
---|
10 | "&gnome-download-ftp;/GConf/&gnome-version;/GConf-&GConf-version;.tar.xz">
|
---|
11 | <!ENTITY GConf-md5sum "1b803eb4f8576c572d072692cf40c9d8">
|
---|
12 | <!ENTITY GConf-size "1.5 MB">
|
---|
13 | <!ENTITY GConf-buildsize "42 MB">
|
---|
14 | <!ENTITY GConf-time "0.3 SBU">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="GConf" xreflabel="GConf-&GConf-version;">
|
---|
18 | <?dbhtml filename="GConf.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>GConf-&GConf-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="GConf">
|
---|
28 | <primary sortas="a-GConf">GConf</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to GConf</title>
|
---|
33 |
|
---|
34 | <para>The <application>GConf</application> package contains a
|
---|
35 | configuration database system.</para>
|
---|
36 |
|
---|
37 | &lfs71_built;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&GConf-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&GConf-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: &GConf-md5sum;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &GConf-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &GConf-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &GConf-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">GConf Dependencies</bridgehead>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
64 | <para role="required"><xref linkend="dbus-glib"/>,
|
---|
65 | <xref linkend="intltool"/>, and
|
---|
66 | <xref linkend="libxml2"/><!--, and
|
---|
67 | <xref linkend="ORBit2"/>--></para>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
70 | <para role="recommended"><xref linkend="gtk3"/> (Required if building a
|
---|
71 | <application>GNOME</application> desktop.
|
---|
72 | <command>gconf-sanity-check-2</command> will not build otherwise.) and
|
---|
73 | <xref linkend="polkit"/></para>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional"><xref linkend="openldap"/>,
|
---|
77 | <xref linkend="gobject-introspection"/> and
|
---|
78 | <xref linkend="gtk-doc"/></para>
|
---|
79 |
|
---|
80 | <para condition="html" role="usernotes">User Notes:
|
---|
81 | <ulink url="&blfs-wiki;/gconf"/></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of GConf</title>
|
---|
87 |
|
---|
88 | <para>Install <application>GConf</application> by running the following
|
---|
89 | commands:</para>
|
---|
90 |
|
---|
91 | <!-- with-gtk=3.0 is the default, and mandir goes to prefix/share/man -->
|
---|
92 |
|
---|
93 | <screen><userinput>sed -i '/INTROSPECTION_SCANNER_ARGS/s#$# -lgmodule-2.0#' gconf/Makefile.in &&
|
---|
94 | ./configure --prefix=$GNOME_PREFIX \
|
---|
95 | --sysconfdir=$GNOME_SYSCONFDIR \
|
---|
96 | --libexecdir=$GNOME_PREFIX/lib/GConf \
|
---|
97 | --disable-orbit \
|
---|
98 | --disable-static &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>This package does not come with a test suite.</para>
|
---|
102 |
|
---|
103 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
104 | user:</para>
|
---|
105 |
|
---|
106 | <screen role="root"><userinput>make install &&
|
---|
107 | install -v -m755 -d $GNOME_SYSCONFDIR/gconf/gconf.xml.system</userinput></screen>
|
---|
108 |
|
---|
109 | <para>Still as the <systemitem class="username">root</systemitem> user,
|
---|
110 | configure <application>D-Bus</application> so that it can search for
|
---|
111 | <application>GNOME</application> installed
|
---|
112 | <filename class='extension'>.conf</filename> files (This is assuming
|
---|
113 | that <filename>/etc/dbus-1/system-local.conf</filename> does not exist yet.
|
---|
114 | If it does, then you will need to merge in the changes). If
|
---|
115 | <envar>$GNOME_PREFIX</envar> is not
|
---|
116 | <filename class='directory'>/usr</filename>, you should uncomment the
|
---|
117 | <quote>servicedir</quote> line:</para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>cat > /etc/dbus-1/system-local.conf << "EOF"
|
---|
120 | <literal><!DOCTYPE busconfig PUBLIC
|
---|
121 | "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
---|
122 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
---|
123 | <busconfig>
|
---|
124 |
|
---|
125 | <!-- Search for .conf files in $GNOME_SYSCONFDIR/dbus-1/system.d -->
|
---|
126 | <includedir>$GNOME_SYSCONFDIR/dbus-1/system.d</includedir>
|
---|
127 |
|
---|
128 | <!-- Search for .service files in $GNOME_PREFIX/share/dbus-1/system-services -->
|
---|
129 | <!-- <servicedir>$GNOME_PREFIX/share/dbus-1/system-services</servicedir> -->
|
---|
130 |
|
---|
131 | </busconfig>
|
---|
132 | EOF</literal>
|
---|
133 | </userinput></screen>
|
---|
134 |
|
---|
135 | <para>If <envar>$GNOME_PREFIX</envar> is not
|
---|
136 | <filename class='directory'>/usr</filename>, you also need to configure
|
---|
137 | <application>D-Bus</application> so that it can search for
|
---|
138 | <application>GNOME</application> installed <quote>session</quote>
|
---|
139 | <filename class='extension'>.service</filename> files (This is assuming
|
---|
140 | that <filename>/etc/dbus-1/session-local.conf</filename> does not exist
|
---|
141 | yet. If it does, then you will need to merge in the changes). Additionally,
|
---|
142 | if <application>polkit</application> is installed, create a symbolic link
|
---|
143 | in <filename class='directory'>/usr/share/polkit-1/actions</filename> to
|
---|
144 | the <quote>action</quote> file installed by
|
---|
145 | <application>GConf</application>. Issue the following commands as the
|
---|
146 | <systemitem class="username">root</systemitem> user:</para>
|
---|
147 |
|
---|
148 | <screen role="root"><userinput>cat > /etc/dbus-1/session-local.conf << "EOF"
|
---|
149 | <literal><!DOCTYPE busconfig PUBLIC
|
---|
150 | "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
---|
151 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
---|
152 | <busconfig>
|
---|
153 |
|
---|
154 | <!-- Search for .service files in $GNOME_PREFIX/share/dbus-1/session-services -->
|
---|
155 | <servicedir>$GNOME_PREFIX/share/dbus-1/session-services</servicedir>
|
---|
156 |
|
---|
157 | </busconfig>
|
---|
158 | EOF</literal>
|
---|
159 |
|
---|
160 | ln -s -v <envar>$GNOME_PREFIX</envar>/share/polkit-1/actions/org.gnome.gconf.defaults.policy \
|
---|
161 | /usr/share/polkit-1/actions
|
---|
162 | </userinput></screen>
|
---|
163 |
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | <sect2 role="commands">
|
---|
167 | <title>Command Explanations</title>
|
---|
168 |
|
---|
169 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
170 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
171 |
|
---|
172 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
173 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
174 |
|
---|
175 | <para><command>sed -i '/INTROSPECTION_SCANNER_ARGS/s#$# -lgmodule-2.0#'
|
---|
176 | gconf/Makefile.in</command>: This sed fixes compiling with both
|
---|
177 | <application>Glib-2.32</application> and
|
---|
178 | <xref linkend="gobject-introspection"/> installed.</para>
|
---|
179 |
|
---|
180 | <para><parameter>--libexecdir=<envar>$GNOME_PREFIX</envar>/lib/GConf</parameter>:
|
---|
181 | This parameter causes the libexec files to be installed in the preferred
|
---|
182 | location of <filename class="directory">$GNOME_PREFIX/lib/GConf</filename>
|
---|
183 | instead of <filename
|
---|
184 | class="directory">$GNOME_PREFIX/libexec</filename>.</para>
|
---|
185 |
|
---|
186 | <para><parameter>--disable-orbit</parameter>: This parameter is required if
|
---|
187 | <application>ORBit2</application> is not installed.
|
---|
188 | <application>ORBit2</application> is a deprecated package.</para>
|
---|
189 |
|
---|
190 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
191 | href="../../xincludes/gnome-mandir.xml"/>-->
|
---|
192 |
|
---|
193 | <para><option>--disable-static</option>: This switch prevents the static
|
---|
194 | libraries being installed.</para>
|
---|
195 |
|
---|
196 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
197 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
198 |
|
---|
199 | <para><command>install -v -m755 -d
|
---|
200 | $GNOME_SYSCONFDIR/gconf/gconf.xml.system</command>: Creates a missing
|
---|
201 | directory. Without this directory, <command>gconf-sanity-check-2</command>
|
---|
202 | will fail during <application>GDM</application> startup and login.</para>
|
---|
203 |
|
---|
204 | </sect2>
|
---|
205 |
|
---|
206 | <sect2 role="content">
|
---|
207 | <title>Contents</title>
|
---|
208 |
|
---|
209 | <segmentedlist>
|
---|
210 | <segtitle>Installed Programs</segtitle>
|
---|
211 | <segtitle>Installed Libraries</segtitle>
|
---|
212 | <segtitle>Installed Directories</segtitle>
|
---|
213 |
|
---|
214 | <seglistitem>
|
---|
215 | <seg>gconf-defaults-mechanism, gconf-merge-tree, gconf-sanity-check-2,
|
---|
216 | gconfd-2, gconftool-2, and gsettings-data-convert</seg>
|
---|
217 | <seg>libgconf-2.{so,a}, libgconfbackend-oldxml.{so,a},
|
---|
218 | libgconfbackend-xml.{so,a}, and libgsettingsgconfbackend.{so,a}</seg>
|
---|
219 | <seg><envar>$GNOME_SYSCONFDIR</envar>/{gconf/{2,gconf.xml.defaults,
|
---|
220 | gconf.xml.mandatory,gconf.xml.system},xdg/autostart}
|
---|
221 | <envar>$GNOME_PREFIX</envar>/{include/gconf/2/gconf,lib/GConf/2,
|
---|
222 | share/{gtk-doc/html/gconf,sgml/gconf}}</seg>
|
---|
223 | </seglistitem>
|
---|
224 | </segmentedlist>
|
---|
225 |
|
---|
226 | <variablelist>
|
---|
227 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
228 | <?dbfo list-presentation="list"?>
|
---|
229 | <?dbhtml list-presentation="table"?>
|
---|
230 |
|
---|
231 | <varlistentry id="gconf-merge-tree">
|
---|
232 | <term><command>gconf-merge-tree</command></term>
|
---|
233 | <listitem>
|
---|
234 | <para>merges an xml filesystem hierarchy.</para>
|
---|
235 | <indexterm zone="GConf gconf-merge-tree">
|
---|
236 | <primary sortas="b-gconf-merge-tree">gconf-merge-tree</primary>
|
---|
237 | </indexterm>
|
---|
238 | </listitem>
|
---|
239 | </varlistentry>
|
---|
240 |
|
---|
241 | <varlistentry id="gconftool-2">
|
---|
242 | <term><command>gconftool-2</command></term>
|
---|
243 | <listitem>
|
---|
244 | <para>is a command line tool for manipulating the
|
---|
245 | <application>GConf</application> database.</para>
|
---|
246 | <indexterm zone="GConf gconftool-2">
|
---|
247 | <primary sortas="b-gconftool-2">gconftool-2</primary>
|
---|
248 | </indexterm>
|
---|
249 | </listitem>
|
---|
250 | </varlistentry>
|
---|
251 |
|
---|
252 | <varlistentry id="gsettings-data-convert">
|
---|
253 | <term><command>gsettings-data-convert</command></term>
|
---|
254 | <listitem>
|
---|
255 | <para>reads values out of the users GConf database and stores them in
|
---|
256 | GSettings.</para>
|
---|
257 | <indexterm zone="GConf gsettings-data-convert">
|
---|
258 | <primary sortas="b-gsettings-data-convert">gsettings-data-convert</primary>
|
---|
259 | </indexterm>
|
---|
260 | </listitem>
|
---|
261 | </varlistentry>
|
---|
262 |
|
---|
263 | <varlistentry id="libgconf-2">
|
---|
264 | <term><filename class='libraryfile'>libgconf-2.{so,a}</filename></term>
|
---|
265 | <listitem>
|
---|
266 | <para>provide the functions necessary to maintain the
|
---|
267 | configuration database.</para>
|
---|
268 | <indexterm zone="GConf libgconf-2">
|
---|
269 | <primary sortas="c-libgconf-2">libgconf-2.{so,a}</primary>
|
---|
270 | </indexterm>
|
---|
271 | </listitem>
|
---|
272 | </varlistentry>
|
---|
273 |
|
---|
274 | </variablelist>
|
---|
275 |
|
---|
276 | </sect2>
|
---|
277 |
|
---|
278 | </sect1>
|
---|