[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 |
|
---|
[5e59e08] | 7 | <!ENTITY GConf-download-http "&gnome-download-http;/GConf/2.28/GConf-&GConf-version;.tar.bz2">
|
---|
| 8 | <!ENTITY GConf-download-ftp "&gnome-download-ftp;/GConf/2.28/GConf-&GConf-version;.tar.bz2">
|
---|
| 9 | <!ENTITY GConf-md5sum "27663faf0af4f6a6d534de9270f6d24a">
|
---|
[2a427ac] | 10 | <!ENTITY GConf-size "1.4 MB">
|
---|
[5e59e08] | 11 | <!ENTITY GConf-buildsize "41 MB">
|
---|
| 12 | <!ENTITY GConf-time "0.5 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 |
|
---|
[a10f4a7] | 35 | &lfs65_checked;
|
---|
| 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 |
|
---|
[1b46c878] | 59 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 60 | <itemizedlist spacing="compact">
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Required patch: <ulink
|
---|
[cd80f7d] | 63 | url="&patch-root;/GConf-&GConf-version;-sysconfdir-1.patch"/></para>
|
---|
[1b46c878] | 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
| 66 |
|
---|
[6372fb8] | 67 | <bridgehead renderas="sect3">GConf Dependencies</bridgehead>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[1f88c302] | 70 | <para role="required"><xref linkend="ORBit2"/> and
|
---|
| 71 | <xref linkend="polkit"/></para>
|
---|
[2a427ac] | 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[de1734c] | 74 | <para role="recommended"><xref linkend="gtk2"/> (Required if building a
|
---|
[5e59e08] | 75 | <application>GNOME</application> desktop.
|
---|
| 76 | <command>gconf-sanity-check-2</command> will not build otherwise.)</para>
|
---|
[6372fb8] | 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[5e59e08] | 79 | <para role="optional"><xref linkend="openldap"/> and
|
---|
[65ed5cb] | 80 | <xref linkend="gtk-doc"/></para>
|
---|
[6372fb8] | 81 |
|
---|
[0a7c3921] | 82 | <para condition="html" role="usernotes">User Notes:
|
---|
| 83 | <ulink url="&blfs-wiki;/gconf"/></para>
|
---|
| 84 |
|
---|
[6372fb8] | 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of GConf</title>
|
---|
| 89 |
|
---|
| 90 | <para>Install <application>GConf</application> by running the following
|
---|
| 91 | commands:</para>
|
---|
| 92 |
|
---|
[de1734c] | 93 | <screen><userinput>patch -Np1 -i ../GConf-&GConf-version;-sysconfdir-1.patch &&
|
---|
[1b46c878] | 94 | ./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
[a6bee1f] | 95 | --sysconfdir=&gnome-etc-dir; \
|
---|
| 96 | --libexecdir=$(pkg-config \
|
---|
| 97 | --variable=prefix ORBit-2.0)/lib/GConf \
|
---|
| 98 | --mandir=$(pkg-config \
|
---|
| 99 | --variable=prefix ORBit-2.0)/share/man &&
|
---|
[6372fb8] | 100 | make</userinput></screen>
|
---|
[67579968] | 101 |
|
---|
[6372fb8] | 102 | <para>This package does not come with a test suite.</para>
|
---|
[67579968] | 103 |
|
---|
[fd924b1c] | 104 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 105 | user:</para>
|
---|
[67579968] | 106 |
|
---|
[1b46c878] | 107 | <screen role="root"><userinput>make install &&
|
---|
| 108 | install -v -m755 -d &gnome-etc-dir;/gconf/gconf.xml.system</userinput></screen>
|
---|
[fdca4266] | 109 |
|
---|
[2a427ac] | 110 | <para>Still as the <systemitem class="username">root</systemitem> user,
|
---|
| 111 | configure <application>D-Bus</application> so that it can search for
|
---|
[bccb8dc4] | 112 | <application>GNOME</application> installed
|
---|
| 113 | <filename class='extension'>.conf</filename> files (This is assuming
|
---|
| 114 | that <filename>/etc/dbus-1/system-local.conf</filename> does not exist yet.
|
---|
| 115 | If it does, then you will need to merge in the changes). If
|
---|
| 116 | <envar>$GNOME_PREFIX</envar> is not
|
---|
| 117 | <filename class='directory'>/usr</filename>, you should uncomment the
|
---|
| 118 | <quote>servicedir</quote> line:</para>
|
---|
[2a427ac] | 119 |
|
---|
| 120 | <screen role="root"><userinput>cat > /etc/dbus-1/system-local.conf << "EOF"
|
---|
| 121 | <literal><!DOCTYPE busconfig PUBLIC
|
---|
| 122 | "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
---|
| 123 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
---|
| 124 | <busconfig>
|
---|
| 125 |
|
---|
[1bc4ab8f] | 126 | <!-- Search for .conf files in &gnome-etc-dir;/dbus-1/system.d -->
|
---|
| 127 | <includedir>&gnome-etc-dir;/dbus-1/system.d</includedir>
|
---|
[2a427ac] | 128 |
|
---|
[bccb8dc4] | 129 | <!-- Search for .service files in $GNOME_PREFIX/share/dbus-1/system-services -->
|
---|
| 130 | <!-- <servicedir>$GNOME_PREFIX/share/dbus-1/system-services</servicedir> -->
|
---|
| 131 |
|
---|
| 132 | </busconfig>
|
---|
| 133 | EOF</literal>
|
---|
| 134 | </userinput></screen>
|
---|
| 135 |
|
---|
| 136 | <para>If <envar>$GNOME_PREFIX</envar> is not
|
---|
| 137 | <filename class='directory'>/usr</filename>, you also need to configure
|
---|
| 138 | <application>D-Bus</application> so that it can search for
|
---|
| 139 | <application>GNOME</application> installed <quote>session</quote>
|
---|
| 140 | <filename class='extension'>.service</filename> files (This is assuming
|
---|
| 141 | that <filename>/etc/dbus-1/session-local.conf</filename> does not exist
|
---|
| 142 | yet. If it does, then you will need to merge in the changes). Additionally,
|
---|
| 143 | if <application>polkit</application> is installed, create a symbolic link
|
---|
| 144 | in <filename class='directory'>/usr/share/polkit-1/actions</filename> to
|
---|
| 145 | the <quote>action</quote> file installed by
|
---|
| 146 | <application>GConf</application>. Issue the following commands as the
|
---|
| 147 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 148 |
|
---|
| 149 | <screen role="root"><userinput>cat > /etc/dbus-1/session-local.conf << "EOF"
|
---|
| 150 | <literal><!DOCTYPE busconfig PUBLIC
|
---|
| 151 | "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
---|
| 152 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
---|
| 153 | <busconfig>
|
---|
| 154 |
|
---|
| 155 | <!-- Search for .service files in $GNOME_PREFIX/share/dbus-1/session-services -->
|
---|
| 156 | <servicedir>$GNOME_PREFIX/share/dbus-1/session-services</servicedir>
|
---|
| 157 |
|
---|
[2a427ac] | 158 | </busconfig>
|
---|
| 159 | EOF</literal>
|
---|
[bccb8dc4] | 160 |
|
---|
| 161 | ln -s -v <envar>$GNOME_PREFIX</envar>/share/polkit-1/actions/org.gnome.gconf.defaults.policy \
|
---|
| 162 | /usr/share/polkit-1/actions
|
---|
[2a427ac] | 163 | </userinput></screen>
|
---|
| 164 |
|
---|
[6372fb8] | 165 | </sect2>
|
---|
[fdca4266] | 166 |
|
---|
[6372fb8] | 167 | <sect2 role="commands">
|
---|
| 168 | <title>Command Explanations</title>
|
---|
[fdca4266] | 169 |
|
---|
[e05cd03f] | 170 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7cdaed0] | 171 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 172 |
|
---|
| 173 | <para><parameter>--sysconfdir=&gnome-etc-dir;</parameter>: This parameter
|
---|
| 174 | causes the <application>GConf-2</application> configuration database to be
|
---|
| 175 | built in <filename class="directory">&gnome-etc-dir;</filename> instead of
|
---|
| 176 | <filename class="directory">$GNOME_PREFIX/etc</filename>. This installation
|
---|
| 177 | controls all future installations of <application>GConf-2</application>
|
---|
| 178 | schemas. If you change the location (which includes eliminating this
|
---|
| 179 | parameter), it <emphasis role='strong'>must</emphasis> be consistent for
|
---|
| 180 | every subsequent package installation that updates the
|
---|
| 181 | <application>GConf-2</application> configuration database.</para>
|
---|
| 182 |
|
---|
[a6bee1f] | 183 | <para><parameter>--libexecdir=$(pkg-config --variable=prefix
|
---|
[551b9389] | 184 | ORBit-2.0)/lib/GConf</parameter>: This parameter causes the libexec files
|
---|
| 185 | to be installed in the preferred location of
|
---|
[fd924b1c] | 186 | <filename class="directory">$GNOME_PREFIX/lib/GConf</filename> instead of
|
---|
[6372fb8] | 187 | <filename class="directory">$GNOME_PREFIX/libexec</filename>.</para>
|
---|
[fdca4266] | 188 |
|
---|
[e05cd03f] | 189 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7cdaed0] | 190 | href="../../xincludes/gnome-mandir.xml"/>
|
---|
[551b9389] | 191 |
|
---|
[e05cd03f] | 192 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[551b9389] | 193 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[227a40a5] | 194 |
|
---|
[f4144b15] | 195 | <para><command>install -v -m755 -d
|
---|
| 196 | &gnome-etc-dir;/gconf/gconf.xml.system</command>: Creates a missing
|
---|
| 197 | directory. Without this directory, <command>gconf-sanity-check-2</command>
|
---|
| 198 | will fail during <application>GDM</application> startup and login.</para>
|
---|
| 199 |
|
---|
[6372fb8] | 200 | </sect2>
|
---|
[fdca4266] | 201 |
|
---|
[6372fb8] | 202 | <sect2 role="content">
|
---|
| 203 | <title>Contents</title>
|
---|
[fdca4266] | 204 |
|
---|
[6372fb8] | 205 | <segmentedlist>
|
---|
| 206 | <segtitle>Installed Programs</segtitle>
|
---|
[d272fb31] | 207 | <segtitle>Installed Libraries</segtitle>
|
---|
[293abe4] | 208 | <segtitle>Installed Directories</segtitle>
|
---|
[fdca4266] | 209 |
|
---|
[6372fb8] | 210 | <seglistitem>
|
---|
[d272fb31] | 211 | <seg>gconf-merge-tree, gconftool-2, gconf-defaults-mechanism,
|
---|
| 212 | gconf-sanity-check-2, and gconfd-2</seg>
|
---|
| 213 | <seg>libgconf-2.{so,a}, libgconfbackend-xml.{so,a}, and
|
---|
| 214 | libgconfbackend-oldxml.{so,a}</seg>
|
---|
[5e59e08] | 215 | <seg>&gnome-etc-dir;/gconf/{2,gconf.xml.defaults,gconf.xml.mandatory,
|
---|
| 216 | gconf.xml.system}, <envar>$GNOME_PREFIX</envar>/{include/gconf/2/gconf,
|
---|
| 217 | lib/GConf/2,share/{gtk-doc/html/gconf,sgml/gconf}}</seg>
|
---|
[6372fb8] | 218 | </seglistitem>
|
---|
| 219 | </segmentedlist>
|
---|
[fdca4266] | 220 |
|
---|
[6372fb8] | 221 | <variablelist>
|
---|
| 222 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 223 | <?dbfo list-presentation="list"?>
|
---|
| 224 | <?dbhtml list-presentation="table"?>
|
---|
[fdca4266] | 225 |
|
---|
[fd924b1c] | 226 | <varlistentry id="gconf-merge-tree">
|
---|
| 227 | <term><command>gconf-merge-tree</command></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>merges an xml filesystem hierarchy.</para>
|
---|
| 230 | <indexterm zone="GConf gconf-merge-tree">
|
---|
| 231 | <primary sortas="b-gconf-merge-tree">gconf-merge-tree</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | <varlistentry id="gconftool-2">
|
---|
| 237 | <term><command>gconftool-2</command></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>is a command line tool for manipulating the
|
---|
| 240 | <application>GConf</application> database.</para>
|
---|
| 241 | <indexterm zone="GConf gconftool-2">
|
---|
| 242 | <primary sortas="b-gconftool-2">gconftool-2</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
[6372fb8] | 247 | <varlistentry id="libgconf-2">
|
---|
[0a7c3921] | 248 | <term><filename class='libraryfile'>libgconf-2.{so,a}</filename></term>
|
---|
[6372fb8] | 249 | <listitem>
|
---|
| 250 | <para>provide the functions necessary to maintain the
|
---|
| 251 | configuration database.</para>
|
---|
| 252 | <indexterm zone="GConf libgconf-2">
|
---|
[0a7c3921] | 253 | <primary sortas="c-libgconf-2">libgconf-2.{so,a}</primary>
|
---|
[6372fb8] | 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
[fdca4266] | 257 |
|
---|
[6372fb8] | 258 | </variablelist>
|
---|
[7e3feff] | 259 |
|
---|
[6372fb8] | 260 | </sect2>
|
---|
[7e3feff] | 261 |
|
---|
[6372fb8] | 262 | </sect1>
|
---|