vesautils - Library and utilities for handling VESA BIOS Extension ChangeLog

HOWTO


# Vesautils
# =========
# Below LRMI is covered, a prerequisite of Vesautils, then Vesautils itself


# Linux Real Mode Interface 0.10 (LRMI)
# ==============================
cd
test -f installed/lrmi-0.10.tar.gz && mv installed/lrmi-0.10.tar.gz .
test ! -f lrmi-0.10.tar.gz &&
wget http://downloads.sf.net/lrmi/lrmi-0.10.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "lrmi-*" -exec rm -r {} \;
tar xzvf ~/lrmi-0.10.tar.gz
cd lrmi-0.10
test $UID = 0 && chown -R root:root .
make

# Become root to install it
su

# Open up the Makefile and remove the -s from this line (42):
# install -m 644 -s -p lrmi.h $(INCDIR)/lrmi.h

# Remove old library and include files, install it
rm -f /usr/local/lib/liblrmi.* /usr/local/include/lrmi.h
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $USER .
chmod -R u+w .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/lrmi-*.tar.*
mv lrmi-0.10.tar.gz installed/


# Vesautils (from Subversion, no tarballs available)
# =========
# Prerequisites:
# LRMI

mkdir ~/src
cd ~/src
test -d ./vesautils && ( cd vesautils ; svn up ; make distclean )
test ! -d ./vesautils &&
svn checkout svn://svn.mplayerhq.hu/vesautils/trunk vesautils
cd vesautils
test $UID = 0 && chown -R root:root .

# As it is in Subversion right now, I had to comment out some things in the
# Makefile because it referenced things that don't exist.  I removed mode3
# and vga_reset from the "all = " line and commented out the vga_reset and
# install targets.

# Build and install libvbe
cd libvbe
make distclean
make

# Become root to install it
su

# Remove old library files, install it
rm -f /usr/local/lib/libvbe.*
make install
ldconfig

# Make sure your non-root user can remove the source later
cd ..
chown -R $USER .
chmod -R u+w .

# Become yourself again
exit

# Build and install the tools
cd ..
make

# Become root to install them
su

install -s dosint vbemodeinfo vbetest vbetool /usr/local/bin/
install -m 644 vbetool.h /usr/local/include/
install -m 644 vbetool.1 /usr/local/man/man1/

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
echo "vesautils was installed from Subversion in ~/src/vesautils" \
> installed/vesautils.README
chmod 600 installed/vesautils.README


# If you ever want to uninstall LRMI and Vesautils, this should do it:
su
( cd /usr/local/bin ; rm -f dosint vbemodeinfo vbetest vbetool )
rm -f /usr/local/lib/liblrmi.* /usr/local/include/lrmi.h \
/usr/local/include/vbetool.h /usr/local/man/man1/vbetool.1
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "lrmi-*" -exec rm -r {} \;
test -d ~/src/vesautils && rm -r ~/src/vesautils
rm -f ~/installed/lrmi-*.tar.*

List of HOWTOs

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