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