svgalib - A video hardware graphics library ChangeLog

HOWTO


# svgalib
# =======
# The version at the top is pretty old, but it's considered the latest
# "stable" version.  The one at the bottom is the latest development version
# and is your best bet with a modern video card.  I use the one at the
# bottom.


# svgalib 1.4.3
# =============
# The last time I tried this, which was a while back, this version wouldn't
# compile for me on a box with gcc 3.3.x, but it was OK on another one with
# gcc 3.2.3

cd
test -f installed/svgalib-1.4.3.tar.gz && mv installed/svgalib-1.4.3.tar.gz .
test ! -f svgalib-1.4.3.tar.gz &&
wget http://www.svgalib.org/svgalib-1.4.3.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "svgalib-*" -exec rm -r {} \;
tar xzvf ~/svgalib-1.4.3.tar.gz
cd svgalib-1.4.3
test $UID = 0 && chown -R root:root .

# Configure the build with a patch:
wget -nc http://englanders.cc/pub/linux/patches/\
svgalib-1.4.3-config.patch &&
patch -p0 < svgalib-1.4.3-config.patch

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg svgalib
make install

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/svgalib-*.tar.*
mv svgalib-1.4.3.tar.gz installed/


# svgalib 1.9.25 (development)
# ==============
# 1.9.24 wouldn't build for me since kernel 2.6.14.something, but 1.9.25
# was fine with kernel 2.6.17.8 (and gcc 4.0.3)

cd
test -f installed/svgalib-1.9.25.tar.gz &&
mv installed/svgalib-1.9.25.tar.gz .
test ! -f svgalib-1.9.25.tar.gz &&
wget http://www.arava.co.il/matan/svgalib/svgalib-1.9.25.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "svgalib-*" -exec rm -r {} \;
tar xzvf ~/svgalib-1.9.25.tar.gz
cd svgalib-1.9.25
test $UID = 0 && chown -R root:root .
chmod -R u+w .

# Configure the build with a patch:
wget -nc http://englanders.cc/pub/linux/patches/svgalib-1.9.20.patch &&
patch -p0 < svgalib-1.9.20.patch

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg svgalib
make install
make demoprogs
chown -R $USER .

# Don't forget to rebuild & reinstall svgalib when you upgrade your
# kernel, or you won't have the module any more.
# Load the helper kernel module:
depmod -a
rmmod svgalib_helper
modprobe svgalib_helper

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/svgalib-*.tar.*
mv svgalib-1.9.25.tar.gz installed/

List of HOWTOs

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