libglade - Lib that allows a program to load it's UI from an XML description at runtime ChangeLog

HOWTO


# libglade
# ========
# Slackware 9.0 and 9.1's 'libglade' packages include version 2.0.1, 10.0
# and 10.1's include 2.4.0, and 10.2's includes 2.4.2  Slackware 10.2 and
# up don't include GNOME, but they do include libglade.

# Prerequisites (for both versions):
# pkg-config
# libxml-2.0 >= 2.4.10
# gettext
# Python >= 2.0 with expat support

# I include four versions here: the latest 2.0.x, 2.3.x, 2.5.x, and 2.6.x
# versions.  Mainly those because they are listed as prerequisites of
# different releases of Gnome (see below).  Be aware that I am currently
# only using the 2.6.x version, though I will keep the others updated if
# new versions are released.

# If you ever want to uninstall libglade, cd into the source directory,
# run (as root) 'make uninstall ; ldconfig', remove the source directory,
# and remove the tarball.


# libglade 2.0.1 (for Gnome 2.2.x or 2.4.x)
# ==============
# Prerequisites (beyond those listed above):
# ATK >= 1.0.0
# GTK+ >= 2.0.0
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

cd
test -f installed/libglade-2.0.1.tar.bz2 &&
mv installed/libglade-2.0.1.tar.bz2 .
test ! -f libglade-2.0.1.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/\
libglade-2.0.1.tar.bz2

# Verify tarball w/ md5sum:
echo "4d93f6b01510013ae429e91af432cfe2  libglade-2.0.1.tar.bz2" | md5sum -c

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

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libglade
rm -f /usr/lib/libglade-2.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libglade-*.tar.*
mv libglade-2.0.1.tar.bz2 installed/


# libglade 2.3.6 (for Gnome 2.6.x, 2.8.x, or 2.10.x)
# ==============
# Prerequisites (beyond those listed above):
# ATK >= 1.0.0
# GTK+-2.0 >= 2.3.0
# Glib-2.0 >= 2.3.1
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages; used if --enable-gtk-doc is passed to configure)

# If you have 2.4.x installed, I'd stick with it (if you use gnome
# 2.(6|8|10).x)

cd
test -f installed/libglade-2.3.6.tar.bz2 &&
mv installed/libglade-2.3.6.tar.bz2 .
test ! -f libglade-2.3.6.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/libglade/2.3/\
libglade-2.3.6.tar.bz2

# Verify tarball w/ md5sum:
echo "f579c881b95e6dee0f55f82940eb2004  libglade-2.3.6.tar.bz2" | md5sum -c

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

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libglade
rm -f /usr/lib/libglade-2.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libglade-*.tar.*
mv libglade-2.3.6.tar.bz2 installed/


# libglade 2.5.1 (for Gnome 2.12.x)
# ==============
# Prerequisites (beyond those listed above):
# ATK >= 1.9.0
# GTK+ >= 2.5.0
# Glib-2.0 >= 2.5.0
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages; used if --enable-gtk-doc is passed to configure)

cd
test -f installed/libglade-2.5.1.tar.bz2 &&
mv installed/libglade-2.5.1.tar.bz2 .
test ! -f libglade-2.5.1.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/libglade/2.5/\
libglade-2.5.1.tar.bz2

# Verify tarball w/ md5sum:
echo "e4734a59f1f2308d7714dc0ebf8163f1  libglade-2.5.1.tar.bz2" | md5sum -c

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

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libglade
rm -f /usr/lib/libglade-2.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libglade-*.tar.*
mv libglade-2.5.1.tar.bz2 installed/


# libglade 2.6.0 (for Gnome 2.12.x, 2.14.x, or 2.16.x)
# ==============
# Prerequisites (beyond those listed above):
# ATK >= 1.9.0
# GTK+ >= 2.5.0
# Glib-2.0 >= 2.5.0
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages; used if --enable-gtk-doc is passed to configure)

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

# Verify tarball w/ md5sum:
echo "81d7b2b64871ce23a5fae1e5da0b1f6e  libglade-2.6.0.tar.bz2" | md5sum -c

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

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libglade
rm -f /usr/lib/libglade-2.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libglade-*.tar.*
mv libglade-2.6.0.tar.bz2 installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2006-11-28 12:08pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]