Linux HOWTOs

About | Home | Search


HOWTO: gconf
Description: Configuration database system, the one Gnome uses
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# GConf
# =====
# Slackware 9.0's 'gconf' includes 2.2.0, 9.1's includes 2.4.0.1, 10.0's
# and 10.1's include 2.6.2  Slackware 10.2 doesn't include GNOME any more.

# There are three versions here, each one for a different version of Gnome.
# GConf doesn't require Gnome, but each version of Gnome was designed around
# a particular version of GConf, so I stick with a particular major version
# of GConf for each major version of Gnome.

# If you want to uninstall GConf or clean up old versions, skip down to the
# bottom for instructions.  This is recommended when you're going from one
# source-installed version to another.

# Prerequisites (for all versions):
# grep
# sed
# pkg-config
# ORBit-2.0 >= 2.4.0
# libxml-2.0
# GTK+-2.0 >= 2.0.0
# popt
# gettext
# gawk
# Perl
# indent


# GConf 2.2.1 (for Gnome 2.2.x)
# ===========
# Prerequisites (beyond those listed above):
# linc >= 0.5.0
# gtk-doc, db2html (Slackware includes a sgml-tools or linuxdoc-tools package
#  that includes these)
# Glib-2.0 >= 2.0.1

cd
test -f installed/GConf-2.2.1.tar.bz2 && mv installed/GConf-2.2.1.tar.bz2 .
test ! -f GConf-2.2.1.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/GConf/2.2/GConf-2.2.1.tar.bz2

# Verify tarball w/ md5sum:
echo "3788a2e63f200478caf2b16059327076  GConf-2.2.1.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "GConf-*" -exec rm -r {} \;
tar xjvf ~/GConf-2.2.1.tar.bz2
cd GConf-2.2.1
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg gconf
rm -f /usr/lib/libgconf-2.*
make install
ldconfig
find /usr/share/locale -type f -name "GConf2.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/GConf-*.tar.*
mv GConf-2.2.1.tar.bz2 installed/


# GConf 2.4.0.1 (for Gnome 2.4.x)
# =============
# Prerequisites (beyond those listed above):
# gtk-doc, db2html (Slackware includes a sgml-tools or linuxdoc-tools package
#  that includes these)
# Glib-2.0 >= 2.0.1

cd
test -f installed/GConf-2.4.0.1.tar.bz2 && mv installed/GConf-2.4.0.1.tar.bz2 .
test ! -f GConf-2.4.0.1.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/GConf/2.4/GConf-2.4.0.1.tar.bz2

# Verify tarball w/ md5sum:
echo "2f7548d0bad24d7c4beba54d0ec98a20  GConf-2.4.0.1.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "GConf-*" -exec rm -r {} \;
tar xjvf ~/GConf-2.4.0.1.tar.bz2
cd GConf-2.4.0.1
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg gconf
rm -f /usr/lib/libgconf-2.*
make install
ldconfig
find /usr/share/locale -type f -name "GConf2.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/GConf-*.tar.*
mv GConf-2.4.0.1.tar.bz2 installed/


# GConf 2.6.4 (for Gnome 2.6.x, 2.8.x, or 2.10.x)
# ===========
# Prerequisites (beyond those listed above):
# gtk-doc, db2html (Slackware includes a sgml-tools or linuxdoc-tools package
#  that includes these)
# Glib-2.0 >= 2.0.1

cd
test -f installed/GConf-2.6.4.tar.bz2 && mv installed/GConf-2.6.4.tar.bz2 .
test ! -f GConf-2.6.4.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/GConf/2.6/GConf-2.6.4.tar.bz2

# Verify tarball w/ md5sum:
echo "7a24af8dd5f3e810a7f8cc21a7c88ded  GConf-2.6.4.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "GConf-*" -exec rm -r {} \;
tar xjvf ~/GConf-2.6.4.tar.bz2
cd GConf-2.6.4
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg gconf
rm -f /usr/lib/libgconf-2.*
make install
ldconfig
find /usr/share/locale -type f -name "GConf2.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/GConf-*.tar.*
mv GConf-2.6.4.tar.bz2 installed/


# GConf 2.12.1 (for Gnome 2.12.x)
# ============
# Prerequisites (beyond those listed above):
# gtk-doc, db2html (Slackware includes a sgml-tools or linuxdoc-tools package
#  that includes these; used if --enable-gtk-doc is passed to configure)
# Glib-2.0 >= 2.7.0
# OpenLDAP's includes/libraries (optional)

cd
test -f installed/GConf-2.12.1.tar.bz2 && mv installed/GConf-2.12.1.tar.bz2 .
test ! -f GConf-2.12.1.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/GConf/2.12/GConf-2.12.1.tar.bz2

# Verify tarball w/ md5sum:
echo "247110de013ed24b17cf4191eb6daec5  GConf-2.12.1.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "GConf-*" -exec rm -r {} \;
tar xjvf ~/GConf-2.12.1.tar.bz2
cd GConf-2.12.1
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg gconf
rm -f /usr/lib/libgconf-2.*
make install
ldconfig
find /usr/share/locale -type f -name "GConf2.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/GConf-*.tar.*
mv GConf-2.12.1.tar.bz2 installed/


# GConf 2.14.0 (for Gnome 2.14.x or 2.16.x)
# ============
# Prerequisites (beyond those listed above):
# gtk-doc, db2html (Slackware includes a sgml-tools or linuxdoc-tools package
#  that includes these; used if --enable-gtk-doc is passed to configure)
# Glib-2.0 >= 2.7.0
# OpenLDAP's includes/libraries (optional)

cd
test -f installed/GConf-2.14.0.tar.bz2 && mv installed/GConf-2.14.0.tar.bz2 .
test ! -f GConf-2.14.0.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/GConf/2.14/GConf-2.14.0.tar.bz2

# Verify tarball w/ md5sum:
echo "d07c2efcaf477cf34225c604a04b6271  GConf-2.14.0.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "GConf-*" -exec rm -r {} \;
tar xjvf ~/GConf-2.14.0.tar.bz2
cd GConf-2.14.0
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg gconf
rm -f /usr/lib/libgconf-2.*
make install
ldconfig
find /usr/share/locale -type f -name "GConf2.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/GConf-*.tar.*
mv GConf-2.14.0.tar.bz2 installed/


# If you ever want to uninstall GConf, this should do it:
cd
su
test -d src/GConf-* && ( cd src/GConf-* ; make uninstall )
rm -f /usr/lib/libgconf-2.* /usr/man/man1/gconftool-2.1 \
 /usr/share/aclocal/gconf-2.m4 /usr/lib/pkgconfig/gconf-2.0.pc
test -d /etc/gconf && rm -r /etc/gconf
( cd /usr/bin ; rm -f gconftool-2 gconf-merge-tree ) 
test -d /usr/include/gconf && rm -r /usr/include/gconf
test -d /usr/lib/GConf && rm -r /usr/lib/GConf
( cd /usr/libexec ; rm -f gconfd-2 gconf-sanity-check-2 )
test -d /usr/share/GConf && rm -r /usr/share/GConf
test -d /usr/share/gtk-doc/html/gconf && rm -r /usr/share/gtk-doc/html/gconf
test -d /usr/share/sgml/gconf && rm -r /usr/share/sgml/gconf
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "GConf-*" -exec rm -r {} \;
rm -f ~/installed/GConf-*.tar.*

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>