ERROR: Slooooow dooooown... this page load was delayed.


pygtk - Python bindings for GTK ChangeLog

HOWTO


# PyGTK
# =====
# This is not the original PyGTK based on GTK+ 1.2.x  For that one, go here:
# ftp://ftp.gtk.org/pub/gtk/python/v1.2/

# I include several versions below, but keep in mind that I only currently
# (usually) use GTK+ 2.8.x  I'll keep the others current if new versions
# become available, but keep in mind that I have not tried them.
#
# There is a 2.10.x version available for GTK+ 2.10.x, but I'm not running
# GTK+ 2.10.x yet.

# If you ever want to uninstall PyGTK, cd into the source directory and
# run 'make uninstall', then remove the source directory and the tarball.

# Prerequisites (for all versions):
# gawk
# sed
# grep
# pkg-config
# ATK >= 1.0.0
# libglade >= 2.0.0

# The installation prefix passed to configure below (--prefix=) should be the
# same prefix that Python is installed under.  If yours is in /usr/local, use
# that instead.

# Select the appropriate version below for the version of GTK+ that you use.


# PyGTK 2.2.0 (for GTK+ 2.2.x)
# ===========
# Prerequisites (beyond those listed above):
# python >= 2.2
# Glib >= 2.2.0
# pango >= 1.0.0
# GTK+ >= 2.2.0

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

# Verify tarball w/ md5sum:
echo "992122f8a61c266aeb1b7b35be9c4be1  pygtk-2.2.0.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "pygtk-*" -exec rm -r {} \;
tar xjvf ~/pygtk-2.2.0.tar.bz2
cd pygtk-2.2.0
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/pygtk-*.tar.*
mv pygtk-2.2.0.tar.bz2 installed/


# PyGTK 2.4.1 (for GTK+ 2.4.x)
# ===========
# Prerequisites (beyond those listed above):
# python >= 2.3
# Glib >= 2.4.0
# pango >= 1.4.0
# GTK+ >= 2.4.0

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

# Verify tarball w/ md5sum:
echo "a926ffbc8cb3e0b7ddbfdbccd879a28d  pygtk-2.4.1.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "pygtk-*" -exec rm -r {} \;
tar xjvf ~/pygtk-2.4.1.tar.bz2
cd pygtk-2.4.1
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/pygtk-*.tar.*
mv pygtk-2.4.1.tar.bz2 installed/


# PyGTK 2.6.3 (for GTK+ 2.6.x)
# ===========
# Prerequisites (beyond those listed above):
# python >= 2.3
# Glib >= 2.6.0
# ATK >= 1.8.0
# pango >= 1.8.0
# GTK+ >= 2.6.0
# libglade >= 2.4.0 (optional)
# Numeric (optional)

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

# Verify tarball w/ md5sum:
echo "5acd4a4f5807f93a80389c1e9af48808  pygtk-2.6.3.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "pygtk-*" -exec rm -r {} \;
tar xjvf ~/pygtk-2.6.3.tar.bz2
cd pygtk-2.6.3
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/pygtk-*.tar.*
mv pygtk-2.6.3.tar.bz2 installed/


# PyGTK 2.8.6 (for GTK+ 2.8.x)
# ===========
# Prerequisites (beyond those listed above):
# python >= 2.3.5
# Glib >= 2.8.0
# ATK >= 1.8.0
# pango >= 1.10.0
# pangocairo >= 1.10.0 (pango built with cairo support; optional)
# pycairo >= 0.5.0
# GTK+ >= 2.8.0 (optional)
# libglade >= 2.5.0 (optional)
# Numerical Python (optional)

cd
test -f installed/pygtk-2.8.6.tar.bz2 && mv installed/pygtk-2.8.6.tar.bz2 .
test ! -f pygtk-2.8.6.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/pygtk/2.8/pygtk-2.8.6.tar.bz2

# Verify tarball w/ md5sum:
echo "c69c2e5e86a8f21a5773df20e265fc3a  pygtk-2.8.6.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "pygtk-*" -exec rm -r {} \;
tar xjvf ~/pygtk-2.8.6.tar.bz2
cd pygtk-2.8.6
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/pygtk-*.tar.*
mv pygtk-2.8.6.tar.bz2 installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-09-12 4:54pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]