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;
|
|
|
|
|
2012-03-27 08:10:48 +08:00
|
|
|
<!ENTITY GConf-download-http
|
|
|
|
"&gnome-download-http;/GConf/&gnome-version;/GConf-&GConf-version;.tar.xz">
|
|
|
|
<!ENTITY GConf-download-ftp
|
|
|
|
"&gnome-download-ftp;/GConf/&gnome-version;/GConf-&GConf-version;.tar.xz">
|
|
|
|
<!ENTITY GConf-md5sum "1b803eb4f8576c572d072692cf40c9d8">
|
2012-01-25 09:50:49 +08:00
|
|
|
<!ENTITY GConf-size "1.5 MB">
|
2012-03-27 08:10:48 +08:00
|
|
|
<!ENTITY GConf-buildsize "42 MB">
|
2012-01-25 09:50:49 +08:00
|
|
|
<!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>
|
|
|
|
|
2012-03-27 08:10:48 +08:00
|
|
|
&lfs71_built;
|
2010-08-14 10:56:48 +08:00
|
|
|
|
2005-05-15 16:44:05 +08:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">GConf Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-01-25 09:50:49 +08:00
|
|
|
<para role="required"><xref linkend="dbus-glib"/>,
|
|
|
|
<xref linkend="intltool"/>, and
|
|
|
|
<xref linkend="libxml2"/><!--, and
|
|
|
|
<xref linkend="ORBit2"/>--></para>
|
2009-08-04 21:16:01 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2012-01-25 09:50:49 +08:00
|
|
|
<para role="recommended"><xref linkend="gtk3"/> (Required if building a
|
2010-08-11 19:05:47 +08:00
|
|
|
<application>GNOME</application> desktop.
|
2012-01-25 09:50:49 +08:00
|
|
|
<command>gconf-sanity-check-2</command> will not build otherwise.) and
|
|
|
|
<xref linkend="polkit"/></para>
|
2005-05-15 16:44:05 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-03-27 08:10:48 +08:00
|
|
|
<para role="optional"><xref linkend="openldap"/>,
|
|
|
|
<xref linkend="gobject-introspection"/> and
|
2007-07-25 22:48:30 +08:00
|
|
|
<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>
|
|
|
|
|
2012-01-25 09:50:49 +08:00
|
|
|
<!-- with-gtk=3.0 is the default, and mandir goes to prefix/share/man -->
|
|
|
|
|
2012-03-27 08:10:48 +08:00
|
|
|
<screen><userinput>sed -i '/INTROSPECTION_SCANNER_ARGS/s#$# -lgmodule-2.0#' gconf/Makefile.in &&
|
|
|
|
./configure --prefix=$GNOME_PREFIX \
|
2012-01-25 09:50:49 +08:00
|
|
|
--sysconfdir=$GNOME_SYSCONFDIR \
|
|
|
|
--libexecdir=$GNOME_PREFIX/lib/GConf \
|
2012-03-27 08:10:48 +08:00
|
|
|
--disable-orbit \
|
|
|
|
--disable-static &&
|
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 &&
|
2012-01-25 09:50:49 +08:00
|
|
|
install -v -m755 -d $GNOME_SYSCONFDIR/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
|
2010-12-06 02:45:16 +08:00
|
|
|
<application>GNOME</application> installed
|
|
|
|
<filename class='extension'>.conf</filename> files (This is assuming
|
|
|
|
that <filename>/etc/dbus-1/system-local.conf</filename> does not exist yet.
|
|
|
|
If it does, then you will need to merge in the changes). If
|
|
|
|
<envar>$GNOME_PREFIX</envar> is not
|
|
|
|
<filename class='directory'>/usr</filename>, you should uncomment the
|
|
|
|
<quote>servicedir</quote> line:</para>
|
2009-08-04 21:16:01 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2012-01-25 09:50:49 +08:00
|
|
|
<!-- Search for .conf files in $GNOME_SYSCONFDIR/dbus-1/system.d -->
|
|
|
|
<includedir>$GNOME_SYSCONFDIR/dbus-1/system.d</includedir>
|
2009-08-04 21:16:01 +08:00
|
|
|
|
2010-12-06 02:45:16 +08:00
|
|
|
<!-- Search for .service files in $GNOME_PREFIX/share/dbus-1/system-services -->
|
|
|
|
<!-- <servicedir>$GNOME_PREFIX/share/dbus-1/system-services</servicedir> -->
|
|
|
|
|
|
|
|
</busconfig>
|
|
|
|
EOF</literal>
|
|
|
|
</userinput></screen>
|
|
|
|
|
|
|
|
<para>If <envar>$GNOME_PREFIX</envar> is not
|
|
|
|
<filename class='directory'>/usr</filename>, you also need to configure
|
|
|
|
<application>D-Bus</application> so that it can search for
|
|
|
|
<application>GNOME</application> installed <quote>session</quote>
|
|
|
|
<filename class='extension'>.service</filename> files (This is assuming
|
|
|
|
that <filename>/etc/dbus-1/session-local.conf</filename> does not exist
|
|
|
|
yet. If it does, then you will need to merge in the changes). Additionally,
|
|
|
|
if <application>polkit</application> is installed, create a symbolic link
|
|
|
|
in <filename class='directory'>/usr/share/polkit-1/actions</filename> to
|
|
|
|
the <quote>action</quote> file installed by
|
|
|
|
<application>GConf</application>. Issue the following commands as the
|
|
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>cat > /etc/dbus-1/session-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>
|
|
|
|
|
|
|
|
<!-- Search for .service files in $GNOME_PREFIX/share/dbus-1/session-services -->
|
|
|
|
<servicedir>$GNOME_PREFIX/share/dbus-1/session-services</servicedir>
|
|
|
|
|
2009-08-04 21:16:01 +08:00
|
|
|
</busconfig>
|
|
|
|
EOF</literal>
|
2010-12-06 02:45:16 +08:00
|
|
|
|
|
|
|
ln -s -v <envar>$GNOME_PREFIX</envar>/share/polkit-1/actions/org.gnome.gconf.defaults.policy \
|
|
|
|
/usr/share/polkit-1/actions
|
2009-08-04 21:16:01 +08:00
|
|
|
</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
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-01-25 09:50:49 +08:00
|
|
|
href="../../xincludes/gnome-sysconfdir.xml"/>
|
|
|
|
|
2012-03-27 08:10:48 +08:00
|
|
|
<para><command>sed -i '/INTROSPECTION_SCANNER_ARGS/s#$# -lgmodule-2.0#'
|
|
|
|
gconf/Makefile.in</command>: This sed fixes compiling with both
|
|
|
|
<application>Glib-2.32</application> and
|
|
|
|
<xref linkend="gobject-introspection"/> installed.</para>
|
|
|
|
|
2012-01-25 09:50:49 +08:00
|
|
|
<para><parameter>--libexecdir=<envar>$GNOME_PREFIX</envar>/lib/GConf</parameter>:
|
|
|
|
This parameter causes the libexec files to be installed in the preferred
|
|
|
|
location of <filename class="directory">$GNOME_PREFIX/lib/GConf</filename>
|
|
|
|
instead of <filename
|
|
|
|
class="directory">$GNOME_PREFIX/libexec</filename>.</para>
|
|
|
|
|
|
|
|
<para><parameter>--disable-orbit</parameter>: This parameter is required if
|
|
|
|
<application>ORBit2</application> is not installed.
|
|
|
|
<application>ORBit2</application> is a deprecated package.</para>
|
|
|
|
|
|
|
|
<!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gnome-mandir.xml"/>-->
|
|
|
|
|
2012-03-27 08:10:48 +08:00
|
|
|
<para><option>--disable-static</option>: This switch prevents the static
|
2012-01-25 09:50:49 +08:00
|
|
|
libraries being installed.</para>
|
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
|
|
|
|
2011-06-11 10:36:38 +08:00
|
|
|
<para><command>install -v -m755 -d
|
2012-01-25 09:50:49 +08:00
|
|
|
$GNOME_SYSCONFDIR/gconf/gconf.xml.system</command>: Creates a missing
|
2011-06-11 10:36:38 +08:00
|
|
|
directory. Without this directory, <command>gconf-sanity-check-2</command>
|
|
|
|
will fail during <application>GDM</application> startup and login.</para>
|
|
|
|
|
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>
|
2012-01-25 09:50:49 +08:00
|
|
|
<seg>gconf-defaults-mechanism, gconf-merge-tree, gconf-sanity-check-2,
|
|
|
|
gconfd-2, gconftool-2, and gsettings-data-convert</seg>
|
|
|
|
<seg>libgconf-2.{so,a}, libgconfbackend-oldxml.{so,a},
|
|
|
|
libgconfbackend-xml.{so,a}, and libgsettingsgconfbackend.{so,a}</seg>
|
|
|
|
<seg><envar>$GNOME_SYSCONFDIR</envar>/{gconf/{2,gconf.xml.defaults,
|
|
|
|
gconf.xml.mandatory,gconf.xml.system},xdg/autostart}
|
|
|
|
<envar>$GNOME_PREFIX</envar>/{include/gconf/2/gconf,lib/GConf/2,
|
|
|
|
share/{gtk-doc/html/gconf,sgml/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>
|
|
|
|
|
2012-01-25 09:50:49 +08:00
|
|
|
<varlistentry id="gsettings-data-convert">
|
|
|
|
<term><command>gsettings-data-convert</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>reads values out of the users GConf database and stores them in
|
|
|
|
GSettings.</para>
|
|
|
|
<indexterm zone="GConf gsettings-data-convert">
|
|
|
|
<primary sortas="b-gsettings-data-convert">gsettings-data-convert</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>
|