Linux HOWTOs

About | Home | Search


HOWTO: libbonoboui
Description: UI code for bonobo, the OAF for Gnome 2
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


# libbonoboui
# ===========
# Slackware 9.0's 'libbonoboui' package includes version 2.2.0.1, 9.1's
# includes 2.4.0, 10.0 and 10.1's include 2.6.1  As of Slackware 10.2,
# GNOME is no longer included.

# I include several versions here, each one for a different major version of
# Gnome, but keep in mind that I only actually use the Gnome 2.16.x version.

# Prerequisites (for all versions):
# Perl
# bison
# gettext
# pkg-config
# libgnomecanvas-2.0 >= 1.116.0
# libgnome-2.0 >= 1.116.0
# bonobo-activation-2.0 >= 1.0.0
# libxml-2.0 >= 2.4.20
# gconf-2.0 >= 1.1.9
# libglade-2.0 >= 1.99.11
# glib
# XFree86 or X.org (for the xrdb utility and the libs, includes)


# libbonoboui 2.2.5 (for Gnome 2.2.x)
# =================
# Prerequisites (beyond those listed above):
# libbonobo-2.0 >= 2.0.0
# GTK+-2.0 >= 2.0.6
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

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

# Verify tarball w/ md5sum:
echo "0b9840ebb825c132a4591832385da1c4  libbonoboui-2.2.5.tar.bz2" | \
 md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libbonoboui-*" -exec rm -r {} \;
tar xjvf ~/libbonoboui-2.2.5.tar.bz2
cd libbonoboui-2.2.5
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 libbonoboui
rm -f /usr/lib/libbonoboui-2.*
make install
ldconfig
find /usr/share/locale -type f -name "libbonoboui-2.0.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libbonoboui-*.tar.*
mv libbonoboui-2.2.5.tar.bz2 installed/


# libbonoboui 2.4.4 (for Gnome 2.4.x)
# =================
# Prerequisites (beyond those listed above):
# libbonobo-2.0 >= 2.3.3
# GTK+-2.0 >= 2.2.0
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

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

# Verify tarball w/ md5sum:
echo "de6b329ca9d9b3a5637407b6b7d9158d  libbonoboui-2.4.4.tar.bz2" | \
 md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libbonoboui-*" -exec rm -r {} \;
tar xjvf ~/libbonoboui-2.4.4.tar.bz2
cd libbonoboui-2.4.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 libbonoboui
rm -f /usr/lib/libbonoboui-2.*
make install
ldconfig
find /usr/share/locale -type f -name "libbonoboui-2.0.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libbonoboui-*.tar.*
mv libbonoboui-2.4.4.tar.bz2 installed/


# libbonoboui 2.6.1 (for Gnome 2.6.x, 2.8.x, or 2.10.x)
# =================
# Prerequisites (beyond those listed above):
# libbonobo-2.0 >= 2.3.3
# GTK+-2.0 >= 2.3.1
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

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

# Verify tarball w/ md5sum:
echo "ee26630368b541dc101a65e46e67f5c4  libbonoboui-2.6.1.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

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

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libbonoboui-*.tar.*
mv libbonoboui-2.6.1.tar.bz2 installed/


# libbonoboui 2.10.1 (for Gnome 2.12.x)
# ==================
# Prerequisites (beyond those listed above):
# libbonobo-2.0 >= 2.3.3
# GTK+-2.0 >= 2.6.0
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

cd
test -f installed/libbonoboui-2.10.1.tar.bz2 &&
 mv installed/libbonoboui-2.10.1.tar.bz2 .
test ! -f libbonoboui-2.10.1.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/libbonoboui/2.10/\
libbonoboui-2.10.1.tar.bz2

# Verify tarball w/ md5sum:
echo "74c4b633ae33524e2f6d3e6573b75f3c  libbonoboui-2.10.1.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

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

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libbonoboui-*.tar.*
mv libbonoboui-2.10.1.tar.bz2 installed/


# libbonoboui 2.14.0 (for Gnome 2.14.x)
# ==================
# Prerequisites (beyond those listed above):
# libbonobo-2.0 >= 2.13.0
# GTK+-2.0 >= 2.6.0
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

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

# Verify tarball w/ md5sum:
echo "dc26dc17cddc625cac37ecfab263a51a  libbonoboui-2.14.0.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

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

# Become yourself again
exit

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


# libbonoboui 2.16.0 (for Gnome 2.16.x)
# ==================
# Prerequisites (beyond those listed above):
# libbonobo-2.0 >= 2.13.0
# GTK+-2.0 >= 2.6.0
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

cd
test -f installed/libbonoboui-2.16.0.tar.bz2 &&
 mv installed/libbonoboui-2.16.0.tar.bz2 .
test ! -f libbonoboui-2.16.0.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/libbonoboui/2.16/\
libbonoboui-2.16.0.tar.bz2

# Verify tarball w/ md5sum:
echo "603ffc92491ef27ccfbc2b69abd3906b  libbonoboui-2.16.0.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libbonoboui
rm -f /usr/lib/libbonoboui-2.*
make install
ldconfig
find /usr/share/locale -type f -name "libbonoboui-2.0.mo" -exec rm {} \;
chown -R $USER .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libbonoboui-*.tar.*
mv libbonoboui-2.16.0.tar.bz2 installed/

Back to the list


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