Difference between revisions of "DirectFB"

From CBLFS
Jump to navigationJump to search
Line 46: Line 46:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
mv -v /usr/bin/directfb-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 58: Line 59:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
mv -v /usr/bin/directfb-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 71: Line 73:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
mv -v /usr/bin/directfb-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/directfb-config
 +
 
  
 
== Contents ==
 
== Contents ==

Revision as of 11:42, 28 May 2009

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

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --disable-mmx --disable-sse
make

Install the package:

make install

Multilib

32Bit

Compile the package:

 USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} CC="gcc ${BUILD32}" \
   CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
   --disable-mmx --disable-sse

Install the package:

make install &&
mv -v /usr/bin/directfb-config{,-32}

N32

Compile the package:

 USE_ARCH=N32 PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} CC="gcc ${BUILDN32}" \
   CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
   --disable-mmx --disable-sse

Install the package:

make install &&
mv -v /usr/bin/directfb-config{,-n32}

64Bit

Compile the package:

 USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} CC="gcc ${BUILD64}" \
   CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
   --disable-mmx --disable-sse


Install the package:

make install &&
mv -v /usr/bin/directfb-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/directfb-config


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}
Retrieved from "?title=DirectFB&oldid=18347"