Using DirectFB as a replacement for X11 --------------------------------------- XFree86 sucks: closed development process, recent license change, overall slow adoption of new technologies, slow drivers especially for 2d Homepage: http://www.directfb.org My DFB site: http://www.icculus.org/~boris/dfb/index.html Prerequisites ************* pkg-config cvs LFS 5.0 or later Installing ********** --- Fusion kernel module Kernel module required for dfb multi app support. The module is available for 2.4 and 2.6 kernels. cvs co linux-fusion make make install (root privileges required!) cp linux/include/linux/fusion.h /usr/include/linux/fusion.h --- DirectFB Main library, provides the gfx routines Warning! if you use sanitized headers you might need to hack configure. i also excluded all drivers which didnt compile on my test system, because of old kernel headers in /usr/include. cvs co DirectFB ./autogen.sh --prefix= --enable-linux-input --enable-multi --enable-zlib \ --enable-wm97xx --enable-mutouch --enable-elo-input \ --with-gfxdrivers=ati128,cle266,i810,mach64,matrox,neomagic,nsc,nvidia, \ radeon,savage,tdfx make make install --- FusionSound This is not related to the fusion kernel module above. In contrast, it is a sound API from the DirectFB folk. cvs co FusionSound ./autogen.sh --prefix= --enable-static make make install --- DFB++ C++ bindings for DirectFB. cvs co DFB++ ./autogen.sh --prefix= make make install --- DFBLock Console locker for DirectFB cvs co DFBLock ./autogen.sh --prefix= --with-shadow ln -s /usr/bin/libtool . make make install --- DFBNester NES emulator. cvs co DFBNester ./autogen.sh --prefix= make make install --- DFBPoint Presentation application like Powerpoint cvs co DFBPoint ./autogen.sh --prefix= make make install --- DFBSee Image viewer and movie player. cvs co DFBSee ./autogen.sh --prefix= make make install --- lite toolkit engine, needed by DFBTerm cvs co lite ./autogen.sh --prefix= make make install --- DFBTerm terminal emulator cvs co DFBTerm ./autogen.sh --prefix= make make install --- Mesa embedded-2-branch MGA driver for DirectFBGL. Do not delete the src directory, you will need it for compiling DirectFBGL. TODO: PATCH cvs -d:pserver:anonymous@cvs.mesa3d.sourceforge.net:/cvsroot/mesa3d co -r embedded-2-branch Mesa make cp src/kernel/drm/mga.o /lib/modules/`uname -r`/kernel/drivers/char/drm depmod -ae --- DirectFBGL OpenGL implementation for DirectFB TODO: PATCH (replace DSCAPS_DOUBLE with DSCAPS_FLIPPING) cvs co DirectFBGL ./autogen.sh --prefix= --with-mesa= --enable-static ln -s /usr/bin/libtool . make make install --- Gtk+ with DirectFB support Get the latest version of Gtk+2.x cvs co gdk-directfb mv gdk-directfb gdk/directfb patch -Np0 -i gdk/directfb/directfb/gtk-directfb.patch aclocal automake --add-missing autoconf rm -f libtool ln -s /usr/bin/libtool libtool ./configure --prefix=$DFB --with-gdktarget=directfb make make install --- glut-directfb Simple glut-implementation for DirectFB cvs co glut-directfb patch -Np1 -i glut-directfb.patch ./autogen.sh --prefix= make make install --- Java with directfb You should have gcj installed. autoconf >2.58 is needed. gmp-4.1.2 ./configure --prefix= make make install kaffe 1.1.x CVS cvs -d:pserver:readonly:readonly@cvs.kaffe.org:/cvs/kaffe co kaffe ./configure --prefix= --with-extensions=comm,microsoft,pjava,servlet,sound --enable-gcj --enable-pure-java-math make make install ant [...] jikes-1.16 ./configure --prefix= make make install kawt TODO: Does not compile yet cvs co kawt ./autogen.sh --prefix= --with-jni=$kaffe/include make make install --- KXL-DirectFB Visual sound library cvs co KXL-DirectFB ./autogen.sh --prefix= ln -s /usr/bin/libtool . make make install --- Chief TODO: description cvs co Chief ./autogen.sh --prefix= make make install --- DFBTutorials Tutorials for learning the DirectFB cvs co DFBTutorials ./autogen.sh --prefix= make --- directfb-engine Gtk+ theme engine which uses DFB for rendering to be faster. cvs co directfb-engine ln -s /usr/bin/libtool . ./autogen.sh --prefix= make make install --- DirectFB-examples Sample apps for testing and presenting DFB cvs co DirectFB-examples ./autogen.sh --prefix= make make install --- DirectFB-extra This package contains additional image/video/font providers and graphics/input drivers. Can utilize: OpenQuicktime, http://www.3ivx.com/download/unix.html, http://avifile.sourceforge.net/, http://www.swift-tools.com/Flash/, Libmpeg3 TODO: Patch for am__fastdepCC and am__fastdepCXX errors cvs co DirectFB-extra ./autogen.sh --prefix= make make install --- DFBKana Application which can help while learning japanese. cvs co DFBKana ./autogen.sh --prefix= ln -s /usr/bin/libtool . make make install --- Building an Xserver for DirectFB Note: the transparency-extension might not work on a current xc snapshot. TODO: untested cvs [...] co xc patch -Np0 -i xc-directfb.diff cp -Rpd programs/Xserver/hw/directfb programs/Xserver/hw/ cp config/cf/{directfb.cf,host.def} config/cf/ patch -Np1 -i xc-transparency-extension.diff make World make make install ************************************************************************************ TODO: DiVine, DirectFB-extra