[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY DirectFB-download-http "http://www.directfb.org/download/DirectFB/DirectFB-&DirectFB-version;.tar.gz">
|
---|
| 8 | <!ENTITY DirectFB-download-ftp " ">
|
---|
| 9 | <!ENTITY DirectFB-size "1.3 MB">
|
---|
| 10 | <!ENTITY DirectFB-buildsize "13 MB">
|
---|
| 11 | <!ENTITY DirectFB-time "0.65 SBU">
|
---|
| 12 |
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[284d8e17] | 15 | <sect1 id="DirectFB" xreflabel="DirectFB-&DirectFB-version;">
|
---|
[7f72cbf] | 16 | <?dbhtml filename="DirectFB.html"?>
|
---|
[284d8e17] | 17 | <title>DirectFB-&DirectFB-version;</title>
|
---|
| 18 |
|
---|
[52d29f7] | 19 | <sect2>
|
---|
| 20 | <title>Introduction to <application>DirectFB</application></title>
|
---|
| 21 |
|
---|
| 22 | <para><application>DirectFB</application> is a graphics library on top of the Linux frame buffer
|
---|
| 23 | device. It offers maximum hardware accelerated performance at a
|
---|
| 24 | minimum of resource usage and overhead.</para>
|
---|
| 25 |
|
---|
| 26 | <sect3><title>Package information</title>
|
---|
| 27 | <itemizedlist spacing='compact'>
|
---|
| 28 | <listitem><para>Download (HTTP): <ulink url="&DirectFB-download-http;"/></para></listitem>
|
---|
| 29 | <listitem><para>Download (FTP): <ulink url="&DirectFB-download-ftp;"/></para></listitem>
|
---|
| 30 | <listitem><para>Download size: &DirectFB-size;</para></listitem>
|
---|
| 31 | <listitem><para>Estimated Disk space required: &DirectFB-buildsize;</para></listitem>
|
---|
| 32 | <listitem><para>Estimated build time: &DirectFB-time;</para></listitem></itemizedlist>
|
---|
| 33 | </sect3>
|
---|
| 34 |
|
---|
| 35 | <sect3><title>Additional downloads</title>
|
---|
| 36 | <itemizedlist spacing='compact'>
|
---|
| 37 | <listitem><para>Optional image and video providers: <ulink
|
---|
| 38 | url="http://www.directfb.org/download/DirectFB-extra/DirectFB-extra-0.9.16.tar.gz"/>
|
---|
| 39 | </para></listitem>
|
---|
| 40 | </itemizedlist></sect3>
|
---|
| 41 |
|
---|
| 42 | <sect3><title><application>DirectFB</application> dependencies</title>
|
---|
| 43 | <sect4><title>Required</title>
|
---|
| 44 | <para><xref linkend="freetype2"/>, <xref linkend="libjpeg"/> and
|
---|
| 45 | <xref linkend="libpng"/>
|
---|
| 46 | </para></sect4>
|
---|
| 47 | <sect4><title>Optional</title>
|
---|
| 48 | <para><xref linkend="SDL"/>, <xref linkend="libmpeg3"/>
|
---|
| 49 | <xref linkend="pkgconfig"/>, <xref linkend="imlib2"/>, <xref
|
---|
| 50 | linkend="openquicktime"/> and <xref linkend="avifile"/>
|
---|
| 51 | </para></sect4>
|
---|
| 52 | </sect3>
|
---|
| 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2>
|
---|
| 57 | <title>Installation of <application>DirectFB</application></title>
|
---|
| 58 |
|
---|
| 59 | <note><para>DirectFB needs a Linux kernel with frame buffer support. Check
|
---|
| 60 | the documentation in the kernel tree
|
---|
| 61 | (<filename class="directory">/usr/src/linux/Documentation/fb/</filename>)
|
---|
| 62 | on how to enable the frame buffer device for your graphics
|
---|
| 63 | card.</para></note>
|
---|
| 64 |
|
---|
| 65 | <para>Install <application>DirectFB</application> by running the
|
---|
| 66 | following commands:</para>
|
---|
| 67 |
|
---|
| 68 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 69 | make &&
|
---|
| 70 | make install</command></userinput></screen>
|
---|
| 71 |
|
---|
| 72 | <para>If you decided to add any optional image and video providers, then you
|
---|
| 73 | have to install the DirectFB-extra package too:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 76 | make &&
|
---|
| 77 | make install</command></userinput></screen>
|
---|
| 78 |
|
---|
| 79 | <note><para>The current version of avifile does not work with DirectFB.
|
---|
| 80 | You have to use the avifile version which can be found at
|
---|
| 81 | <ulink url="http://www.directfb.org/download/contrib/"/> or alternatively disable the
|
---|
| 82 | avifile video provider by calling configure with
|
---|
| 83 | <command>--disable-avifile</command>.</para></note>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2>
|
---|
| 88 | <title>Configuring DirectFB</title>
|
---|
| 89 |
|
---|
| 90 | <sect3><title>Config files</title>
|
---|
| 91 |
|
---|
| 92 | <para><filename>/etc/directfbrc</filename>,
|
---|
| 93 | <filename>~/.directfbrc</filename></para>
|
---|
| 94 | </sect3>
|
---|
| 95 |
|
---|
| 96 | <sect3><title>Configuration information</title>
|
---|
| 97 |
|
---|
| 98 | <para>DirectFB is shipped with reasonable defaults but you might have to
|
---|
| 99 | tweak things. There are several ways to do this. You may edit the
|
---|
| 100 | system-wide configuration file <filename>/etc/directfbrc</filename>, the user-specific
|
---|
| 101 | <filename>~/.directfbrc</filename> or you may configure the DirectFB application via the
|
---|
| 102 | command-line. Consult the directfbrc(5) manual page for details.</para>
|
---|
| 103 | </sect3>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2>
|
---|
| 108 | <title>Contents</title>
|
---|
| 109 |
|
---|
| 110 | <para>The DirectFB package provides <command>dfbdump</command>,
|
---|
| 111 | <command>dfbg</command>, <command>dfbinfo</command>,
|
---|
| 112 | <command>dfblayer</command>, <command>directfb-config</command>,
|
---|
| 113 | <command>directfb-csource</command> and <filename
|
---|
| 114 | class="libraryfile">libdirectfb</filename> libraries.</para>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2><title>Description</title>
|
---|
| 119 |
|
---|
| 120 | <sect3><title>dfbdump</title>
|
---|
| 121 | <para> This is a simple debugging tool for DirectFB that shows a list
|
---|
| 122 | of surfaces and windows.</para></sect3>
|
---|
| 123 |
|
---|
| 124 | <sect3><title>dfbg</title>
|
---|
| 125 | <para><command>dfbg</command> is a background configuration
|
---|
| 126 | tool.</para></sect3>
|
---|
| 127 |
|
---|
| 128 | <sect3><title>dfbinfo</title>
|
---|
| 129 | <para>This tool enumerates input devices.</para></sect3>
|
---|
| 130 |
|
---|
| 131 | <sect3><title>dfblayer</title>
|
---|
| 132 | <para><command>dfblayer</command> is a display layer configuration
|
---|
| 133 | tool.</para></sect3>
|
---|
| 134 |
|
---|
| 135 | <sect3><title>directfb-config</title>
|
---|
| 136 | <para><command>directfb-config</command> provides all flags to link static binaries with
|
---|
| 137 | selectable drivers and other modules built in.</para></sect3>
|
---|
| 138 |
|
---|
| 139 | <sect3><title>directfb-csource</title>
|
---|
| 140 | <para>This is a C code generation utility for DirectFB
|
---|
| 141 | surfaces.</para></sect3>
|
---|
| 142 |
|
---|
| 143 | <sect3><title>libdirectfb libraries</title>
|
---|
| 144 | <para>They provide hardware graphics acceleration, input device handling
|
---|
| 145 | and abstraction, integrated windowing system with support for
|
---|
| 146 | translucent windows and multiple display layers on top of the Linux
|
---|
| 147 | frame buffer device.</para></sect3>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
[284d8e17] | 150 |
|
---|
| 151 | </sect1>
|
---|