Contents
$GNOME_PREFIX
/{include/gconf/2/gconf,
lib/GConf/2,share/{gtk-doc/html/gconf,sgml/gconf}}
The GConf package contains a configuration database system.
This package is known to build and work properly using an LFS-6.5 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/GConf/2.28/GConf-2.28.1.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/GConf/2.28/GConf-2.28.1.tar.bz2
Download MD5 sum: 27663faf0af4f6a6d534de9270f6d24a
Download size: 1.4 MB
Estimated disk space required: 41 MB
Estimated build time: 0.5 SBU
ORBit2-2.14.19 and polkit-0.102
gtk+-2.24.8 (Required if building a GNOME desktop. gconf-sanity-check-2 will not build otherwise.)
OpenLDAP-2.4.23 and GTK-Doc-1.18
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gconf
Install GConf by running the following commands:
patch -Np1 -i ../GConf-2.28.1-sysconfdir-1.patch && ./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \ --sysconfdir=/etc/gnome/2.30.2 \ --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.30.2/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 /etc/gnome/2.30.2/dbus-1/system.d -->
<includedir>/etc/gnome/2.30.2/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
--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.30.2
: This
parameter causes the GConf-2
configuration database to be built in /etc/gnome/2.30.2
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 and install the API documentation.
install -v -m755 -d /etc/gnome/2.30.2/gconf/gconf.xml.system: Creates a missing directory. Without this directory, gconf-sanity-check-2 will fail during GDM startup and login.
$GNOME_PREFIX
/{include/gconf/2/gconf,
lib/GConf/2,share/{gtk-doc/html/gconf,sgml/gconf}}
Last updated on 2011-06-11 02:36:38 +0000