GConf-2.28.0

Introduction to GConf

The GConf package contains a configuration database system.

Package Information

Additional Downloads

GConf Dependencies

Required

ORBit2-2.14.17 and polkit-0.94

Recommended

Optional

OpenLDAP-2.3.39, intltool-0.40.6, and GTK-Doc-1.11

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gconf

Installation of GConf

Install GConf by running the following commands:


patch -Np1 -i ../GConf-2.26.2-sysconfdir-1.patch &&
./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
            --sysconfdir=/etc/gnome/2.28.1 \
            --libexecdir=$(pkg-config \
                --variable=prefix ORBit-2.0)/lib/GConf \
            --mandir=$(pkg-config \
                --variable=prefix ORBit-2.0)/share/man &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
install -v -m755 -d /etc/gnome/2.28.1/gconf/gconf.xml.system

Still as the root user, configure D-Bus so that it can search for GNOME 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):

cat > /etc/dbus-1/system-local.conf << "EOF"
<!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 .conf files in /etc/gnome/2.28.1/dbus-1/system.d -->
  <includedir>/etc/gnome/2.28.1/dbus-1/system.d</includedir>

</busconfig>
EOF

Command Explanations

--prefix=$(pkg-config --variable=prefix ORBit-2.0): Setting the prefix using this parameter instead of with $GNOME_PREFIX will ensure that the prefix is consistent with the installation environment and the package will be installed in the correct location.

--sysconfdir=/etc/gnome/2.28.1: This parameter causes the GConf-2 configuration database to be built in /etc/gnome/2.28.1 instead of $GNOME_PREFIX/etc. This installation controls all future installations of GConf-2 schemas. If you change the location (which includes eliminating this parameter), it must be consistent for every subsequent package installation that updates the GConf-2 configuration database.

--libexecdir=$(pkg-config --variable=prefix ORBit-2.0)/lib/GConf: This parameter causes the libexec files to be installed in the preferred location of $GNOME_PREFIX/lib/GConf instead of $GNOME_PREFIX/libexec.

--mandir=$(pkg-config --variable=prefix ORBit-2.0)/share/man: This parameter causes the man.(X) files to be installed in $GNOME_PREFIX/share/man/man(X) instead of $GNOME_PREFIX/man/man(X).

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild the API documentation.

Contents

Installed Programs: gconf-merge-tree, gconftool-2, gconf-defaults-mechanism, gconf-sanity-check-2, and gconfd-2
Installed Libraries: libgconf-2.{so,a}, libgconfbackend-xml.{so,a}, and libgconfbackend-oldxml.{so,a}
Installed Directories: /etc/gnome/2.28.1/gconf{gconf.xml.defaults,2,gconf.xml.mandatory} and $GNOME_PREFIX/{lib/GConf/2,share/sgml/gconf, share/gtk-doc/html/gconf,include/gconf/2/gconf}

Short Descriptions

gconf-merge-tree

merges an xml filesystem hierarchy.

gconftool-2

is a command line tool for manipulating the GConf database.

libgconf-2.{so,a}

provide the functions necessary to maintain the configuration database.

Last updated on 2009-10-25 09:29:07 +0000