[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 |
|
---|
[9408066] | 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">
|
---|
[414007c] | 12 | <!ENTITY GConf-size "1.5 MB">
|
---|
[9408066] | 13 | <!ENTITY GConf-buildsize "42 MB">
|
---|
[414007c] | 14 | <!ENTITY GConf-time "0.3 SBU">
|
---|
[fdca4266] | 15 | ]>
|
---|
| 16 |
|
---|
[7e3feff] | 17 | <sect1 id="GConf" xreflabel="GConf-&GConf-version;">
|
---|
[6372fb8] | 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 |
|
---|
[9408066] | 37 | &lfs71_built;
|
---|
[a10f4a7] | 38 |
|
---|
[6372fb8] | 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>
|
---|
[414007c] | 64 | <para role="required"><xref linkend="dbus-glib"/>,
|
---|
| 65 | <xref linkend="intltool"/>, and
|
---|
| 66 | <xref linkend="libxml2"/><!--, and
|
---|
| 67 | <xref linkend="ORBit2"/>--></para>
|
---|
[2a427ac] | 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[414007c] | 70 | <para role="recommended"><xref linkend="gtk3"/> (Required if building a
|
---|
[5e59e08] | 71 | <application>GNOME</application> desktop.
|
---|
[414007c] | 72 | <command>gconf-sanity-check-2</command> will not build otherwise.) and
|
---|
| 73 | <xref linkend="polkit"/></para>
|
---|
[6372fb8] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9408066] | 76 | <para role="optional"><xref linkend="openldap"/>,
|
---|
| 77 | <xref linkend="gobject-introspection"/> and
|
---|
[65ed5cb] | 78 | <xref linkend="gtk-doc"/></para>
|
---|
[6372fb8] | 79 |
|
---|
[0a7c3921] | 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/gconf"/></para>
|
---|
| 82 |
|
---|
[6372fb8] | 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 |
|
---|
[414007c] | 91 | <!-- with-gtk=3.0 is the default, and mandir goes to prefix/share/man -->
|
---|
| 92 |
|
---|
[9408066] | 93 | <screen><userinput>sed -i '/INTROSPECTION_SCANNER_ARGS/s#$# -lgmodule-2.0#' gconf/Makefile.in &&
|
---|
| 94 | ./configure --prefix=$GNOME_PREFIX \
|
---|
[414007c] | 95 | --sysconfdir=$GNOME_SYSCONFDIR \
|
---|
| 96 | --libexecdir=$GNOME_PREFIX/lib/GConf \
|
---|
[9408066] | 97 | --disable-orbit \
|
---|
| 98 | --disable-static &&
|
---|
[6372fb8] | 99 | make</userinput></screen>
|
---|
[67579968] | 100 |
|
---|
[6372fb8] | 101 | <para>This package does not come with a test suite.</para>
|
---|
[67579968] | 102 |
|
---|
[fd924b1c] | 103 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 104 | user:</para>
|
---|
[67579968] | 105 |
|
---|
[1b46c878] | 106 | <screen role="root"><userinput>make install &&
|
---|
[414007c] | 107 | install -v -m755 -d $GNOME_SYSCONFDIR/gconf/gconf.xml.system</userinput></screen>
|
---|
[fdca4266] | 108 |
|
---|
[2a427ac] | 109 | <para>Still as the <systemitem class="username">root</systemitem> user,
|
---|
| 110 | configure <application>D-Bus</application> so that it can search for
|
---|
[bccb8dc4] | 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>
|
---|
[2a427ac] | 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 |
|
---|
[414007c] | 125 | <!-- Search for .conf files in $GNOME_SYSCONFDIR/dbus-1/system.d -->
|
---|
| 126 | <includedir>$GNOME_SYSCONFDIR/dbus-1/system.d</includedir>
|
---|
[2a427ac] | 127 |
|
---|
[bccb8dc4] | 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 |
|
---|
[2a427ac] | 157 | </busconfig>
|
---|
| 158 | EOF</literal>
|
---|
[bccb8dc4] | 159 |
|
---|
| 160 | ln -s -v <envar>$GNOME_PREFIX</envar>/share/polkit-1/actions/org.gnome.gconf.defaults.policy \
|
---|
| 161 | /usr/share/polkit-1/actions
|
---|
[2a427ac] | 162 | </userinput></screen>
|
---|
| 163 |
|
---|
[6372fb8] | 164 | </sect2>
|
---|
[fdca4266] | 165 |
|
---|
[6372fb8] | 166 | <sect2 role="commands">
|
---|
| 167 | <title>Command Explanations</title>
|
---|
[fdca4266] | 168 |
|
---|
[e05cd03f] | 169 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7cdaed0] | 170 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 171 |
|
---|
[e05cd03f] | 172 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[414007c] | 173 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
| 174 |
|
---|
[9408066] | 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 |
|
---|
[414007c] | 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 |
|
---|
[9408066] | 193 | <para><option>--disable-static</option>: This switch prevents the static
|
---|
[414007c] | 194 | libraries being installed.</para>
|
---|
[551b9389] | 195 |
|
---|
[e05cd03f] | 196 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[551b9389] | 197 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[227a40a5] | 198 |
|
---|
[f4144b15] | 199 | <para><command>install -v -m755 -d
|
---|
[414007c] | 200 | $GNOME_SYSCONFDIR/gconf/gconf.xml.system</command>: Creates a missing
|
---|
[f4144b15] | 201 | directory. Without this directory, <command>gconf-sanity-check-2</command>
|
---|
| 202 | will fail during <application>GDM</application> startup and login.</para>
|
---|
| 203 |
|
---|
[6372fb8] | 204 | </sect2>
|
---|
[fdca4266] | 205 |
|
---|
[6372fb8] | 206 | <sect2 role="content">
|
---|
| 207 | <title>Contents</title>
|
---|
[fdca4266] | 208 |
|
---|
[6372fb8] | 209 | <segmentedlist>
|
---|
| 210 | <segtitle>Installed Programs</segtitle>
|
---|
[d272fb31] | 211 | <segtitle>Installed Libraries</segtitle>
|
---|
[293abe4] | 212 | <segtitle>Installed Directories</segtitle>
|
---|
[fdca4266] | 213 |
|
---|
[6372fb8] | 214 | <seglistitem>
|
---|
[414007c] | 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>
|
---|
[6372fb8] | 223 | </seglistitem>
|
---|
| 224 | </segmentedlist>
|
---|
[fdca4266] | 225 |
|
---|
[6372fb8] | 226 | <variablelist>
|
---|
| 227 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 228 | <?dbfo list-presentation="list"?>
|
---|
| 229 | <?dbhtml list-presentation="table"?>
|
---|
[fdca4266] | 230 |
|
---|
[fd924b1c] | 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 |
|
---|
[414007c] | 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 |
|
---|
[6372fb8] | 263 | <varlistentry id="libgconf-2">
|
---|
[0a7c3921] | 264 | <term><filename class='libraryfile'>libgconf-2.{so,a}</filename></term>
|
---|
[6372fb8] | 265 | <listitem>
|
---|
| 266 | <para>provide the functions necessary to maintain the
|
---|
| 267 | configuration database.</para>
|
---|
| 268 | <indexterm zone="GConf libgconf-2">
|
---|
[0a7c3921] | 269 | <primary sortas="c-libgconf-2">libgconf-2.{so,a}</primary>
|
---|
[6372fb8] | 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
[fdca4266] | 273 |
|
---|
[6372fb8] | 274 | </variablelist>
|
---|
[7e3feff] | 275 |
|
---|
[6372fb8] | 276 | </sect2>
|
---|
[7e3feff] | 277 |
|
---|
[6372fb8] | 278 | </sect1>
|
---|