gnome-python - Python bindings for GTK ChangeLog

HOWTO


# gnome-python
# ============
# Slackware 8.1's 'gnome-python' package includes version 1.4.2, 9.0, 9.1,
# 10.0, and 10.1 didn't include a package for it and as of Slackware 10.2,
# Gnome is no longer included.

# Some apps that I know of that use gnome-python are:
# gramps
# revelation

# To cover different Gnome releases, I include several different versions
# of gnome-python below.  Keep in mind that I only actually use Gnome
# 2.12.x though.

# If you ever want to uninstall gnome-python, or clean up files from an old
# version before installing a new one, cd into the source directory, run
# 'make uninstall', remove the source directory, then remove the tarball.

# Prerequisites (for all versions):
# gawk
# sed
# grep
# python >= 2.2
# pkg-config
# gconf-2.0 >= 1.2.0


# gnome-python 2.0.3 (for GLIB/GTK+ 2.0.x)
# ==================
# Prerequisites (beyond those listed above):
# pygtk-2.0 >= 2.0.0
# glib >= 2.0.0
# gtk+ >= 2.0.0
# pyorbit-2 >= 2.0.0
# libzvt-2.0 >= 2.0.0
# libgtkhtml-2.0 >= 2.0.0
# libgnome-2.0 >= 2.0.0
# libgnomeui-2.0 >= 2.0.0
# libgnomecanvas-2.0 >= 2.0.0
# gnome-vfs-2.0 >= 2.0.0
# bonobo-activation-2.0 >= 1.0.0
# libbonobo-2.0 >= 2.0.0
# libbonoboui-2.0 >= 2.0.0
# libpanelapplet-2.0 >= 2.0.0
# libnautilus >= 2.0.0
# libgnomeprint-2.2 >= 2.2.0
# libgnomeprintui-2.2 >= 2.2.0

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

# Verify tarball w/ md5sum:
echo "f248cc3a0791c6e1c7c2ba6a49429f48  gnome-python-2.0.3.tar.bz2" | \
md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gnome-python-?.*" -exec rm -r {} \;
tar xjvf ~/gnome-python-2.0.3.tar.bz2
cd gnome-python-2.0.3
test $UID = 0 && chown -R root:root .

# You should use the same prefix here that you used to install python

./configure --prefix=/usr
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/gnome-python-?.*.tar.*
mv gnome-python-2.0.3.tar.bz2 installed/


# gnome-python 2.6.2 (for GLIB/GTK+ 2.4.x)
# ==================
# Prerequisites (beyond those listed above):
# pygtk-2.0 >= 2.4.0
# glib >= 2.4.0
# gtk+ >= 2.4.0
# pyorbit-2 >= 2.0.1
# libgtkhtml-2.0 >= 2.3.1
# libgnome-2.0 >= 2.0.0
# libgnomeui-2.0 >= 2.0.0
# libgnomecanvas-2.0 >= 2.0.0
# gnome-vfs-2.0 >= 2.0.0
# libbonobo-2.0 >= 2.5.4
# libpanelapplet-2.0 >= 2.0.0
# libnautilus >= 2.0.0
# libgnomeprint-2.2 >= 2.2.0
# libgnomeprintui-2.2 >= 2.2.0

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

# Verify tarball w/ md5sum:
echo "295ba9bea3d8509b42b783ed8e2ee298  gnome-python-2.6.2.tar.bz2" | \
md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gnome-python-?.*" -exec rm -r {} \;
tar xjvf ~/gnome-python-2.6.2.tar.bz2
cd gnome-python-2.6.2
test $UID = 0 && chown -R root:root .

# You should use the same prefix here that you used to install python

./configure --prefix=/usr
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/gnome-python-?.*.tar.*
mv gnome-python-2.6.2.tar.bz2 installed/


# gnome-python 2.12.4 (for GLIB/GTK+ >= 2.6.x, Gnome >= 2.8.0)
# ===================
# Prerequisites (beyond those listed above):
# pygtk-2.0 >= 2.6.2
# glib >= 2.6.0
# gtk+ >= 2.6.0
# libgnome-2.0 >= 2.8.0
# libgnomeui-2.0 >= 2.8.0
# pyorbit-2 >= 2.0.1
# libgnomecanvas-2.0 >= 2.8.0
# gnome-vfs-2.0 >= 2.9.3
# bonobo-activation-2.0 >= 2.8.0
# libbonobo-2.0 >= 2.8.0
# libbonoboui-2.0 >= 2.8.0

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

# Verify tarball w/ md5sum:
echo "94347f1bff86ffcce76111fa8dac1efc  gnome-python-2.12.4.tar.bz2" | \
md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gnome-python-?.*" -exec rm -r {} \;
tar xjvf ~/gnome-python-2.12.4.tar.bz2
cd gnome-python-2.12.4
test $UID = 0 && chown -R root:root .

# You should use the same prefix here that you used to install python

./configure --prefix=/usr
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/gnome-python-?.*.tar.*
mv gnome-python-2.12.4.tar.bz2 installed/

List of HOWTOs

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