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