Linux HOWTOs

About | Home | Search


HOWTO: libgnomecanvas
Description: Canvas widget for Gnome2
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


# libgnomecanvas
# ==============
# Slackware 9.0's 'libgnomecanvas' package includes version 2.2.0.2, 9.1's
# includes 2.4.0, 10.0 and 10.1's include 2.6.1.1  As of version 10.2,
# Slackware no longer includes GNOME.

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

# Prerequisites (for all versions):
# gettext
# pkg-config
# libglade-2.0 >= 2.0.0
# Perl
# Glib


# libgnomecanvas 2.2.1 (for Gnome 2.2.x)
# ====================
# Prerequisites (beyond those listed above):
# bison
# XFree86's or X.org's xrdb utility
# GTK+-2.0 >= 2.0.3
# libart-2.0 >= 2.3.8
# pango >= 1.0.1
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

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

# Verify tarball w/ md5sum:
echo "4023de1258dfdfe0d7b26db05b528edd  libgnomecanvas-2.2.1.tar.bz2" | \
 md5sum -c

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

# Become yourself again
exit

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


# libgnomecanvas 2.4.0 (for Gnome 2.4.x)
# ====================
# Prerequisites (beyond those listed above):
# bison
# XFree86's or X.org's xrdb utility
# GTK+-2.0 >= 2.0.3
# libart-2.0 >= 2.3.8
# pango >= 1.0.1
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

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

# Verify tarball w/ md5sum:
echo "c212a7cac06b7f9e68ed2de38df6e54d  libgnomecanvas-2.4.0.tar.bz2" | \
 md5sum -c

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

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libgnomecanvas-*.tar.*
mv libgnomecanvas-2.4.0.tar.bz2 installed/


# libgnomecanvas 2.6.1.1 (for Gnome 2.6.x, 2.8.x, or 2.10.x)
# ======================
# Prerequisites (beyond those listed above):
# bison
# XFree86's or X.org's xrdb utility
# GTK+-2.0 >= 2.0.3
# libart-2.0 >= 2.3.8
# pango >= 1.0.1
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)

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

# Verify tarball w/ md5sum:
echo "040257b0231fd5fc507f731d73d9738b  libgnomecanvas-2.6.1.1.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

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

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libgnomecanvas-*.tar.*
mv libgnomecanvas-2.6.1.1.tar.bz2 installed/


# libgnomecanvas 2.12.0 (for Gnome 2.12.x)
# =====================
# Prerequisites (beyond those listed above):
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages; used if you pass --enable-gtk-doc to configure)

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

# Verify tarball w/ md5sum:
echo "62c0edd3d27803d341662fd9088b2d9b  libgnomecanvas-2.12.0.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

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

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libgnomecanvas-*.tar.*
mv libgnomecanvas-2.12.0.tar.bz2 installed/


# libgnomecanvas 2.14.0 (for Gnome 2.14.x or 2.16.x)
# =====================
# Prerequisites (beyond those listed above):
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages; used if you pass --enable-gtk-doc to configure)

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

# Verify tarball w/ md5sum:
echo "516c46fb4a1401b05cfef58c350fbd3d  libgnomecanvas-2.14.0.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

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

cd
mkdir -p -m 0700 installed
rm -f installed/libgnomecanvas-*.tar.*
mv libgnomecanvas-2.14.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>