Difference between revisions of "DirectFB"

From CBLFS
Jump to navigationJump to search
(Dependencies)
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''Download Source: '''http://www.directfb.org/downloads/Core/DirectFB-1.0.0.tar.gz
+
{| style="text-align: left; background-color: AliceBlue;"
 +
|-
 +
!Download Source:
 +
| http://www.directfb.org/downloads/Core/DirectFB-{{Directfb-Version2}}/DirectFB-{{Directfb-Version}}.tar.gz
 +
|}
  
== Introduction to '''''<nowiki>DirectFB</nowiki>''''' ==
+
----
  
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.
+
{{Package-Introduction|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.|http://www.directfb.org/}}
 
 
Check http://www.directfb.org/ for more and up to date infos.
 
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
* [[Freetype]]
+
* [[FreeType]]
 +
* [[Libjpeg]]
 +
* [[libpng]]
 +
 
 +
=== Recommended ===
 +
* [[SDL]]
 +
* [[libvncserver]]
 +
 
 +
=== Optional ===
 +
* [[X Window System]]
 +
 
 +
== Non-Multilib ==
 +
 
 +
Compile the package:
 +
 
 +
sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) &&
 +
./configure --prefix=/usr --disable-mmx --disable-sse &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install
 +
 
 +
== Multilib ==
 +
 
 +
=== 32Bit ===
 +
 
 +
Compile the package:
 +
 
 +
sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) &&
 +
USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} CC="gcc ${BUILD32}" \
 +
    CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
 +
    --disable-mmx --disable-sse &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install &&
 +
mv -v /usr/bin/directfb-config{,-32}
 +
 
 +
=== N32 ===
 +
 
 +
Compile the package:
 +
 
 +
sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) &&
 +
sed -i "s@-L${XORG_PREFIX}/lib@-L${XORG_PREFIX}/lib32@g" configure &&
 +
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 &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install &&
 +
mv -v /usr/bin/directfb-config{,-n32}
 +
 
 +
=== 64Bit ===
 +
 
 +
Compile the package:
 +
 
 +
sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) &&
 +
sed -i "s@-L${XORG_PREFIX}/lib@-L${XORG_PREFIX}/lib64@g" configure &&
 +
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 &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install &&
 +
mv -v /usr/bin/directfb-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/directfb-config
 +
 
 +
== Contents ==
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
!Installed Directories:
 +
|/usr/share/directfb-{{Directfb-Version}}, /usr/include/directfb, /usr/include/directfb-internal, /usr/lib/directfb-{{Directfb-Version}}
 +
|-valign="top"
 +
!Installed Programs:
 +
|directfb-csource, dfbdump, dfbg, dfbinfo, dfbinput, dfblayer, dfbscreen, dfbsummon, dfbpenmount, mkdfiff, mkdgiff
 +
|-valign="top"
 +
!Installed Libraries:
 +
|libdirect.{la,so}, libfusion.{la,so}, libdirectfb.{la,so}, libdirectfb_fbdev.{la,so}
 +
|}
 +
[[Category:Graphics Libraries]]

Latest revision as of 11:37, 7 September 2009

Download Source: http://www.directfb.org/downloads/Core/DirectFB-1.4/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:

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) &&
./configure --prefix=/usr --disable-mmx --disable-sse &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) &&
USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} CC="gcc ${BUILD32}" \
    CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
    --disable-mmx --disable-sse &&
make

Install the package:

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

N32

Compile the package:

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) &&
sed -i "s@-L${XORG_PREFIX}/lib@-L${XORG_PREFIX}/lib32@g" configure &&
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 &&
make

Install the package:

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

64Bit

Compile the package:

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) &&
sed -i "s@-L${XORG_PREFIX}/lib@-L${XORG_PREFIX}/lib64@g" configure &&
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 &&
make

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=19098"