glibmm - C++ interface for glib ChangeLog

HOWTO


# glibmm
# ======
# I include three versions below: the latest 2.6.x and 2.8.x releases.
# I will keep all of them updated, but keep in mind that I only actually
# use the 2.8.x version (as of when I wrote this).
#
# There is a 2.10.x version available, but the web site still says that
# 2.8.x is the current stable release, so I'll hold off on that.
# 2.10.4's README, NEWS, etc. don't say anything about stable/unstable/
# development.

# If you ever want to uninstall glibmm, skip down to the bottom for
# instructions

# As configured below, the docs will go into /usr/local/share/doc
# If you don't want this, either pass --datadir=/usr to configure (making
# them go into /usr/doc), or create a symlink in /usr/local/share to
# /usr/doc like so:
# su -c "ln -s /usr/doc /usr/local/share/doc"

# Prerequisites (for both versions):
# gawk
# sed
# grep
# m4
# perl
# pkg-config
# sigc++-2.0 >= 2.0.0


# glibmm 2.6.6
# ============
# Prerequisites (beyond those listed above):
# glib-2.0 >= 2.6.0

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

# Verify tarball w/ md5sum:
echo "36b84658723b6cb4ab5f12edd04558a2  glibmm-2.6.6.tar.bz2" | md5sum -c

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

# Become root to install it
su

( cd /usr/local/lib
  rm -f libglibmm-2.* libglibmm_generate_extra_defs-2.* )
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/glibmm-*.tar.*
mv glibmm-2.6.6.tar.bz2 installed/


# glibmm 2.8.9
# ============
# Prerequisites (beyond those listed above):
# glib-2.0 >= 2.8.0

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

# Verify tarball w/ md5sum:
echo "6d23ba91546f51530421de5a1dc81fa8  glibmm-2.8.9.tar.bz2" | md5sum -c

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

# Become root to install it
su

( cd /usr/local/lib
  rm -f libglibmm-2.* libglibmm_generate_extra_defs-2.* )
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/glibmm-*.tar.*
mv glibmm-2.8.9.tar.bz2 installed/


# If you ever want to uninstall glibmm, this should do it:
cd
su
test -d src/glibmm-* && ( cd src/glibmm-* ; make uninstall )
( cd /usr/local/lib ; rm -f libglibmm-* libglibmm_generate_extra_defs-* )
find /usr/local/include -maxdepth 1 -type d -name "glibmm-*" -exec rm -r {} \;
find /usr/local/lib -maxdepth 1 -type d -name "glibmm-*" -exec rm -r {} \;
find /usr/local/share/doc -maxdepth 1 -type d -name "glibmm-*" \
-exec rm -r {} \;
rm -f /usr/local/share/aclocal/glibmm_check_perl.m4 \
/usr/local/lib/pkgconfig/glibmm-2.*.pc
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "glibmm-*" -exec rm -r {} \;
rm -f ~/installed/glibmm-*.tar.*

List of HOWTOs

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