2004-06-15 12:33:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-15 12:33:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2009-08-04 21:16:01 +08:00
|
|
|
<!ENTITY GConf-download-http "&gnome-download-http;/GConf/&gnome-version;/GConf-&GConf-version;.tar.bz2">
|
|
|
|
<!ENTITY GConf-download-ftp "&gnome-download-ftp;/GConf/&gnome-version;/GConf-&GConf-version;.tar.bz2">
|
2009-10-25 17:29:07 +08:00
|
|
|
<!ENTITY GConf-md5sum "ad2aeb9c7d906b274954c51a615caeac">
|
2009-08-04 21:16:01 +08:00
|
|
|
<!ENTITY GConf-size "1.4 MB">
|
2009-10-25 17:29:07 +08:00
|
|
|
<!ENTITY GConf-buildsize "39 MB">
|
|
|
|
<!ENTITY GConf-time "0.3 SBU">
|
2004-06-15 12:33:15 +08:00
|
|
|
]>
|
|
|
|
|
2002-09-01 07:57:42 +08:00
|
|
|
<sect1 id="GConf" xreflabel="GConf-&GConf-version;">
|
2005-05-15 16:44:05 +08:00
|
|
|
<?dbhtml filename="GConf.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>GConf-&GConf-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="GConf">
|
|
|
|
<primary sortas="a-GConf">GConf</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GConf</title>
|
|
|
|
|
|
|
|
<para>The <application>GConf</application> package contains a
|
|
|
|
configuration database system.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&GConf-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&GConf-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &GConf-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &GConf-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &GConf-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &GConf-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2009-09-06 22:06:17 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
2009-12-31 17:19:59 +08:00
|
|
|
url="&patch-root;/GConf-&GConf-version;-sysconfdir-1.patch"/></para>
|
2009-09-06 22:06:17 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<bridgehead renderas="sect3">GConf Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2009-10-25 17:29:07 +08:00
|
|
|
<para role="required"><xref linkend="ORBit2"/> and
|
|
|
|
<xref linkend="polkit"/></para>
|
2009-08-04 21:16:01 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2010-03-18 20:48:21 +08:00
|
|
|
<para role="recommended"><xref linkend="gtk2"/> (Required if building a
|
|
|
|
<application>GNOME</application> desktop because it will build the program
|
|
|
|
<command>gconf-sanity-check-2</command>, which is required for
|
|
|
|
building <application>GNOME Session</application>.)</para>
|
2005-05-15 16:44:05 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2009-08-04 21:16:01 +08:00
|
|
|
<para role="optional"><xref linkend="openldap"/>,
|
2007-07-25 22:48:30 +08:00
|
|
|
<xref linkend="intltool"/>, and
|
|
|
|
<xref linkend="gtk-doc"/></para>
|
2005-05-15 16:44:05 +08:00
|
|
|
|
2006-04-11 02:36:24 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/gconf"/></para>
|
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GConf</title>
|
|
|
|
|
|
|
|
<para>Install <application>GConf</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2010-03-18 20:48:21 +08:00
|
|
|
<screen><userinput>patch -Np1 -i ../GConf-&GConf-version;-sysconfdir-1.patch &&
|
2009-09-06 22:06:17 +08:00
|
|
|
./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
2006-06-21 09:46:25 +08:00
|
|
|
--sysconfdir=&gnome-etc-dir; \
|
|
|
|
--libexecdir=$(pkg-config \
|
|
|
|
--variable=prefix ORBit-2.0)/lib/GConf \
|
|
|
|
--mandir=$(pkg-config \
|
|
|
|
--variable=prefix ORBit-2.0)/share/man &&
|
2005-05-15 16:44:05 +08:00
|
|
|
make</userinput></screen>
|
2005-05-11 05:38:06 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
2005-05-11 05:38:06 +08:00
|
|
|
|
2006-01-28 21:36:45 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem>
|
|
|
|
user:</para>
|
2005-05-11 05:38:06 +08:00
|
|
|
|
2009-09-06 22:06:17 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
install -v -m755 -d &gnome-etc-dir;/gconf/gconf.xml.system</userinput></screen>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2009-08-04 21:16:01 +08:00
|
|
|
<para>Still as the <systemitem class="username">root</systemitem> user,
|
|
|
|
configure <application>D-Bus</application> so that it can search for
|
|
|
|
<application>GNOME</application> installed .conf files (This is assuming
|
|
|
|
that system-local.conf does not exist yet. If it does, then you will need
|
|
|
|
to merge in the changes):</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>cat > /etc/dbus-1/system-local.conf << "EOF"
|
|
|
|
<literal><!DOCTYPE busconfig PUBLIC
|
|
|
|
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
|
|
<busconfig>
|
|
|
|
|
2009-08-26 19:53:11 +08:00
|
|
|
<!-- Search for .conf files in &gnome-etc-dir;/dbus-1/system.d -->
|
|
|
|
<includedir>&gnome-etc-dir;/dbus-1/system.d</includedir>
|
2009-08-04 21:16:01 +08:00
|
|
|
|
|
|
|
</busconfig>
|
|
|
|
EOF</literal>
|
|
|
|
</userinput></screen>
|
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
</sect2>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2006-06-26 05:31:03 +08:00
|
|
|
href="../../xincludes/gnome-prefix.xml"/>
|
2006-06-26 03:48:15 +08:00
|
|
|
|
|
|
|
<para><parameter>--sysconfdir=&gnome-etc-dir;</parameter>: This parameter
|
|
|
|
causes the <application>GConf-2</application> configuration database to be
|
|
|
|
built in <filename class="directory">&gnome-etc-dir;</filename> instead of
|
|
|
|
<filename class="directory">$GNOME_PREFIX/etc</filename>. This installation
|
|
|
|
controls all future installations of <application>GConf-2</application>
|
|
|
|
schemas. If you change the location (which includes eliminating this
|
|
|
|
parameter), it <emphasis role='strong'>must</emphasis> be consistent for
|
|
|
|
every subsequent package installation that updates the
|
|
|
|
<application>GConf-2</application> configuration database.</para>
|
|
|
|
|
2006-06-21 09:46:25 +08:00
|
|
|
<para><parameter>--libexecdir=$(pkg-config --variable=prefix
|
2006-06-26 03:48:15 +08:00
|
|
|
ORBit-2.0)/lib/GConf</parameter>: This parameter causes the libexec files
|
|
|
|
to be installed in the preferred location of
|
2006-01-28 21:36:45 +08:00
|
|
|
<filename class="directory">$GNOME_PREFIX/lib/GConf</filename> instead of
|
2005-05-15 16:44:05 +08:00
|
|
|
<filename class="directory">$GNOME_PREFIX/libexec</filename>.</para>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2006-06-26 05:31:03 +08:00
|
|
|
href="../../xincludes/gnome-mandir.xml"/>
|
2006-06-26 03:48:15 +08:00
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2006-06-26 03:48:15 +08:00
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
2004-11-23 05:05:53 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
</sect2>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2009-08-05 19:27:56 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2005-05-16 03:51:32 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<seglistitem>
|
2009-08-05 19:27:56 +08:00
|
|
|
<seg>gconf-merge-tree, gconftool-2, gconf-defaults-mechanism,
|
|
|
|
gconf-sanity-check-2, and gconfd-2</seg>
|
|
|
|
<seg>libgconf-2.{so,a}, libgconfbackend-xml.{so,a}, and
|
|
|
|
libgconfbackend-oldxml.{so,a}</seg>
|
2009-08-04 21:16:01 +08:00
|
|
|
<seg>&gnome-etc-dir;/gconf{gconf.xml.defaults,2,gconf.xml.mandatory} and
|
2009-08-05 19:27:56 +08:00
|
|
|
<envar>$GNOME_PREFIX</envar>/{lib/GConf/2,share/sgml/gconf,
|
|
|
|
share/gtk-doc/html/gconf,include/gconf/2/gconf}</seg>
|
2005-05-15 16:44:05 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2006-01-28 21:36:45 +08:00
|
|
|
<varlistentry id="gconf-merge-tree">
|
|
|
|
<term><command>gconf-merge-tree</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>merges an xml filesystem hierarchy.</para>
|
|
|
|
<indexterm zone="GConf gconf-merge-tree">
|
|
|
|
<primary sortas="b-gconf-merge-tree">gconf-merge-tree</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gconftool-2">
|
|
|
|
<term><command>gconftool-2</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a command line tool for manipulating the
|
|
|
|
<application>GConf</application> database.</para>
|
|
|
|
<indexterm zone="GConf gconftool-2">
|
|
|
|
<primary sortas="b-gconftool-2">gconftool-2</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<varlistentry id="libgconf-2">
|
2006-04-11 02:36:24 +08:00
|
|
|
<term><filename class='libraryfile'>libgconf-2.{so,a}</filename></term>
|
2005-05-15 16:44:05 +08:00
|
|
|
<listitem>
|
|
|
|
<para>provide the functions necessary to maintain the
|
|
|
|
configuration database.</para>
|
|
|
|
<indexterm zone="GConf libgconf-2">
|
2006-04-11 02:36:24 +08:00
|
|
|
<primary sortas="c-libgconf-2">libgconf-2.{so,a}</primary>
|
2005-05-15 16:44:05 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
</variablelist>
|
2002-09-01 07:57:42 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
</sect2>
|
2002-09-01 07:57:42 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
</sect1>
|