Linux HOWTOs

About | Home | Search


HOWTO: ggi
Description: Unified interface to manage access to graphics hardware
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


# GGI 2.2.2 (General Graphics Interface)
# =========
# This covers installing all of the GGI libraries.

# If you ever want to uninstall GGI, cd into the source of each library, run
# 'make uninstall' (as root), remove the source directories, then remove the
# tarball.

cd
test -f installed/ggi-2.2.2-bundle.src.tar.bz2 &&
 mv installed/ggi-2.2.2-bundle.src.tar.bz2 .
test ! -f ggi-2.2.2-bundle.src.tar.bz2 &&
 wget http://www.ggi-project.org/ftp/ggi/v2.2/ggi-2.2.2-bundle.src.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "ggi-*-bundle" -exec rm -r {} \;
tar xjvf ~/ggi-2.2.2-bundle.src.tar.bz2
cd ggi-2.2.2-bundle
test $UID = 0 && chown -R root:root .


# libgii (General Input Interface)
# ======
# Prerequisites:
# FreeBSD's libvgl (?)
# XFree86 or X.org

# FYI, with 2.2.1 (this is 2.2.2) and Slackware 11.0, I was unable to build
# this with the kernel 2.6.x includes package from Slackware 'extra', but it
# was OK with the original 2.4.x package.

cd libgii-1.0.2
./configure
make
su -c "make install ; ldconfig"
cd ..


# libggi
# ======
# Prerequisites:
# Glide (optional)
# KGI (optional)
# FreeBSD's libvgl (?)
# libgg >= 0.8 (included in libgii above)
# libgii >= 0.8 (above)
# XFree86 or X.org
# aalib (optional)
# DirectFB (optional)
# SVGAlib (optional)
# ncurses

cd libggi-2.2.2
./configure --enable-threads
make
su -c "make install ; ldconfig"
cd ..


# libggigcp (Generic Color Palette)
# =========
# Prerequisites:
# libggi (above)

cd libggigcp-1.0.2
./configure
make
su -c "make install ; ldconfig"
cd ..


# libggimisc
# ==========
# Prerequisites:
# libggi (above)
# SVGAlib (optional)

cd libggimisc-2.2.2
./configure
make
su -c "make install ; ldconfig"
cd ..


# libggiwmh
# =========
# Prerequisites:
# libggi (above)
# XFree86 or X.org

cd libggiwmh-0.3.2
./configure
make
su -c "make install ; ldconfig"
cd ..


# libgiigic
# =========
# Prerequisites:
# libgii (above)
# libggi (above)

cd libgiigic-1.1.2
./configure
make
su -c "make install ; ldconfig"


cd
mkdir -p -m 0700 installed
rm -f installed/ggi-*-bundle.src.tar.*
mv ggi-2.2.2-bundle.src.tar.bz2 installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>