directfb - Graphics library for the Linux framebuffer device ChangeLog

HOWTO


# DirectFB 1.0.1
# ==============
# Prerequisites:
# Linux kernel >= 2.2.x with frame buffer device
# Perl
# man's man2html (optional)
# SDL (optional)
# libvncserver
# libsysfs
# libjpeg
# zlib
# libpng
# freetype
# libmpeg3 (optional)
# pkg-config

# To be able to run multiple DirectFB applications at once, you need to
# install the Fusion kernel module from CVS:
# http://www.directfb.org/index.php/viewcvs.cgi/linux-fusion/
# and you need to build DirectFB with --enable-multi.  See the README for
# more info.

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

# Become root to install it
su

# Clean up files from old versions
test -d /usr/local/include/directfb && rm -r /usr/local/include/directfb
test -d /usr/local/include/directfb-internal &&
rm -r /usr/local/include/directfb-internal
( cd /usr/local/lib
  rm -f libdirect.* libfusion.* libdirectfb.* libdirectfb-*.so.* )
find /usr/local/lib /usr/local/share -maxdepth 1 -type d \
-name "directfb-*" -exec rm -r {} \;

# Install it
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/DirectFB-*.tar.*
mv DirectFB-1.0.1.tar.gz installed/


# If you ever want to uninstall DirectFB, this should do it:
# ('make uninstall' as root should do it, the rest is just in case)
cd
su
test -d src/DirectFB-* && ( cd src/DirectFB-* ; make uninstall )
( cd /usr/local/bin ; rm -f dfbdump dfbg dfbinfo dfblayer dfbscreen \
dfbsummon directfb-config directfb-csource )
test -d /usr/local/include/directfb && rm -r /usr/local/include/directfb
test -d /usr/local/include/directfb-internal &&
rm -r /usr/local/include/directfb-internal
( cd /usr/local/lib ; rm -f libdirect.* libdirectfb.* libfusion.* )
find /usr/local/lib -maxdepth 1 -type d -name "directfb-*" -exec rm -r {} \;
( /usr/local/lib/pkgconfig ; rm -f direct.pc directfb.pc \
directfb-internal.pc fusion.pc )
( cd /usr/local/man/man1 ; rm -f directfb-csource.1 dfbg.1 )
rm -f /usr/local/man/man5/directfbrc.5
find /usr/local/share -maxdepth 1 -type d -name "directfb-*" \
-exec rm -r {} \;
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "DirectFB-*" -exec rm -r {} \;
rm -f ~/installed/DirectFB-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2008-04-09 1:59pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]