GConf-3.2.3

Introduction to GConf

The GConf package contains a configuration database system.

This package is known to build using an LFS 7.0 platform but has not been tested.

Package Information

GConf Dependencies

Required

D-Bus GLib Bindings-0.98, intltool-0.50.0, and libxml2-2.7.8

Recommended

Optional

OpenLDAP-2.4.23 and GTK-Doc-1.18

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

Installation of GConf

Install GConf by running the following commands:

./configure --prefix=$GNOME_PREFIX \
            --sysconfdir=$GNOME_SYSCONFDIR \
            --libexecdir=$GNOME_PREFIX/lib/GConf \
            --disable-orbit &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
install -v -m755 -d $GNOME_SYSCONFDIR/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 /etc/dbus-1/system-local.conf does not exist yet. If it does, then you will need to merge in the changes). If $GNOME_PREFIX is not /usr, you should uncomment the “servicedir” line:

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 $GNOME_SYSCONFDIR/dbus-1/system.d -->
  <includedir>$GNOME_SYSCONFDIR/dbus-1/system.d</includedir>

  <!-- Search for .service files in $GNOME_PREFIX/share/dbus-1/system-services -->
  <!-- <servicedir>$GNOME_PREFIX/share/dbus-1/system-services</servicedir> -->

</busconfig>
EOF

If $GNOME_PREFIX is not /usr, you also need to configure D-Bus so that it can search for GNOME installed “session.service files (This is assuming that /etc/dbus-1/session-local.conf does not exist yet. If it does, then you will need to merge in the changes). Additionally, if polkit is installed, create a symbolic link in /usr/share/polkit-1/actions to the “action” file installed by GConf. Issue the following commands as the root user:

cat > /etc/dbus-1/session-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 .service files in $GNOME_PREFIX/share/dbus-1/session-services -->
  <servicedir>$GNOME_PREFIX/share/dbus-1/session-services</servicedir>

</busconfig>
EOF

ln -s -v $GNOME_PREFIX/share/polkit-1/actions/org.gnome.gconf.defaults.policy \
         /usr/share/polkit-1/actions

Command Explanations

--prefix=$GNOME_PREFIX: Setting the prefix using this parameter will ensure that the prefix is consistent with the installation environment and the package will be installed in the correct location.

--sysconfdir=$GNOME_SYSCONFDIR: Setting the sysconfdir using this parameter will ensure that the sysconfdir is consistent with the installation environment and the package will be installed in the correct location.

--libexecdir=$GNOME_PREFIX/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.

--disable-orbit: This parameter is required if ORBit2 is not installed. ORBit2 is a deprecated package.

--enable-static=no: This switch prevents the static libraries being installed.

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

install -v -m755 -d $GNOME_SYSCONFDIR/gconf/gconf.xml.system: Creates a missing directory. Without this directory, gconf-sanity-check-2 will fail during GDM startup and login.

Contents

Installed Programs: gconf-defaults-mechanism, gconf-merge-tree, gconf-sanity-check-2, gconfd-2, gconftool-2, and gsettings-data-convert
Installed Libraries: libgconf-2.{so,a}, libgconfbackend-oldxml.{so,a}, libgconfbackend-xml.{so,a}, and libgsettingsgconfbackend.{so,a}
Installed Directories: $GNOME_SYSCONFDIR/{gconf/{2,gconf.xml.defaults, gconf.xml.mandatory,gconf.xml.system},xdg/autostart} $GNOME_PREFIX/{include/gconf/2/gconf,lib/GConf/2, share/{gtk-doc/html/gconf,sgml/gconf}}

Short Descriptions

gconf-merge-tree

merges an xml filesystem hierarchy.

gconftool-2

is a command line tool for manipulating the GConf database.

gsettings-data-convert

reads values out of the users GConf database and stores them in GSettings.

libgconf-2.{so,a}

provide the functions necessary to maintain the configuration database.

Last updated on 2012-01-25 01:50:49 +0000