Difference between revisions of "DirectFB"

From CBLFS
Jump to navigationJump to search
(Dependencies)
m (Multilib)
Line 52: Line 52:
 
   serialmouse, sonypijogdial, tslib, ucb1x00, wm97xx
 
   serialmouse, sonypijogdial, tslib, ucb1x00, wm97xx
  
without spaces between values i.e. '--with-inputdrivers=keyboard,ps2mouse'
+
without spaces between values like '--with-inputdrivers=keyboard,ps2mouse'
  
 
=== 32Bit ===
 
=== 32Bit ===

Revision as of 07:06, 21 July 2008

Download Source: http://www.directfb.org/downloads/Core/DirectFB-1.4.3.tar.gz

Introduction to DirectFB

DirectFB is a graphics library which was designed with embedded systems in mind. It offers maximum hardware accelerated performance at a minimum of resource usage and overhead.

Project Homepage: http://www.directfb.org/

Dependencies

Required

Recommended

Configuration Information

--with-gfxdrivers=list: Choose your video driver in the list (ati128, cle266, cyber5k, i810, i830, mach64, matrox, neomagic, nsc, nvidia, radeon, savage, sis315, tdfx, unichrome)
--enable-X11: Add X11 support

Non-Multilib

Compile the package:

./configure --prefix=/usr --disable-dependency-tracking --enable-zlib &&
sed -i 's/X11R6/X11R7/g' systems/x11/Makefile &&
make

Install the package:

make install

Multilib

change <YOURVIDEODRIVERS> to one or more from:

ati128, cle266, cyber5k, davinci, i810, i830, mach64, matrox,
neomagic, nsc, nvidia, omap, radeon, savage, sh7722,
sis315, tdfx, unichrome, vmware

change <YOURINPUTDRIVERS> to one or more from:

 dbox2remote, dreamboxremote, dynapro, elo-input, gunze, h3600_ts,
 joystick, keyboard, linuxinput, lirc, mutouch, penmount, ps2mouse,
 serialmouse, sonypijogdial, tslib, ucb1x00, wm97xx

without spaces between values like '--with-inputdrivers=keyboard,ps2mouse'

32Bit

Compile the package:

 USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} CC="gcc ${BUILD32}" \
   CXX="g++ ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib \
   --disable-dependency-tracking --enable-zlib --enable-X11 \ 
   --target=${CLFS_TARGET32} --enable-sysfs --enable-multi \
   --with-gfxdrivers=<YOURVIDEODRIVERS> \
   --with-inputdrivers=<YOURINPUTDRIVERS> 

Install the package:

make install

N32

Compile the package:

To do...

Install the package:

make install

64Bit

Compile the package:

  USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} CC="gcc ${BUILD64}" \
   CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib \
   --disable-dependency-tracking --enable-zlib --enable-X11 \ 
   --enable-sysfs --enable-multi \
   --with-gfxdrivers=<YOURVIDEODRIVERS> \
   --with-inputdrivers=<YOURINPUTDRIVERS> 

Install the package:

make install

Contents

Installed Directories: /usr/share/directfb-1.4.3, /usr/include/directfb, /usr/include/directfb-internal, /usr/lib/directfb-1.4.3
Installed Programs: directfb-csource, dfbdump, dfbg, dfbinfo, dfbinput, dfblayer, dfbscreen, dfbsummon, dfbpenmount, mkdfiff, mkdgiff
Installed Libraries: libdirect.{la,so}, libfusion.{la,so}, libdirectfb.{la,so}, libdirectfb_fbdev.{la,so}