1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY sdl-download-http "http://www.libsdl.org/release/SDL-&sdl-version;.tar.gz">
|
---|
7 | <!ENTITY sdl-download-ftp " ">
|
---|
8 | <!ENTITY sdl-md5sum "37aaf9f069f9c2c18856022f35de9f8c">
|
---|
9 | <!ENTITY sdl-size "2.6 MB">
|
---|
10 | <!ENTITY sdl-buildsize "36 MB">
|
---|
11 | <!ENTITY sdl-time "0.8 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="sdl" xreflabel="SDL-&sdl-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="sdl.html"?>
|
---|
20 | <title>SDL-&sdl-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application><acronym>SDL</acronym></application></title>
|
---|
24 |
|
---|
25 | <para>The Simple DirectMedia Layer
|
---|
26 | (<application><acronym>SDL</acronym></application> for short) is a
|
---|
27 | cross-platform library designed to make it easy to write multimedia software,
|
---|
28 | such as games and emulators.</para>
|
---|
29 |
|
---|
30 | <sect3><title>Package information</title>
|
---|
31 | <itemizedlist spacing='compact'>
|
---|
32 | <listitem><para>Download (HTTP):
|
---|
33 | <ulink url="&sdl-download-http;"/></para></listitem>
|
---|
34 | <listitem><para>Download (FTP):
|
---|
35 | <ulink url="&sdl-download-ftp;"/></para></listitem>
|
---|
36 | <listitem><para>Download MD5 sum: &sdl-md5sum;</para></listitem>
|
---|
37 | <listitem><para>Download size: &sdl-size;</para></listitem>
|
---|
38 | <listitem><para>Estimated disk space required:
|
---|
39 | &sdl-buildsize;</para></listitem>
|
---|
40 | <listitem><para>Estimated build time:
|
---|
41 | &sdl-time;</para></listitem></itemizedlist>
|
---|
42 | </sect3>
|
---|
43 |
|
---|
44 | <sect3><title><application><acronym>SDL</acronym></application>
|
---|
45 | dependencies</title>
|
---|
46 | <sect4><title>Optional</title>
|
---|
47 | <para><xref linkend="alsa"/>,
|
---|
48 | <xref linkend="esound"/>,
|
---|
49 | <xref linkend="arts"/>,
|
---|
50 | <xref linkend="nas"/>,
|
---|
51 | <xref linkend="NASM"/>,
|
---|
52 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
53 | <xref linkend="aalib"/>,
|
---|
54 | <ulink url="http://www.directfb.org/">DirectFB</ulink>,
|
---|
55 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
|
---|
56 | <ulink url="http://www.gnu.org/software/pth/">GNU Pth</ulink>,
|
---|
57 | <ulink url="http://www.trolltech.com/download/qtopia/">Qtopia</ulink> and
|
---|
58 | <ulink url="http://picogui.org/">PicoGUI</ulink></para>
|
---|
59 | </sect4>
|
---|
60 | </sect3>
|
---|
61 |
|
---|
62 | </sect2>
|
---|
63 |
|
---|
64 | <sect2>
|
---|
65 | <title>Installation of <application><acronym>SDL</acronym></application></title>
|
---|
66 |
|
---|
67 | <para>Install <application><acronym>SDL</acronym></application> by running the
|
---|
68 | following commands:</para>
|
---|
69 |
|
---|
70 | <screen><userinput><command>./configure --prefix=/usr --disable-debug &&
|
---|
71 | make</command></userinput></screen>
|
---|
72 |
|
---|
73 | <para>Now, as the root user:</para>
|
---|
74 |
|
---|
75 | <screen><userinput role='root'><command>make install &&
|
---|
76 | install -v -m755 -d /usr/share/doc/SDL-1.2.8/html &&
|
---|
77 | install -v -m644 docs/html/*.html /usr/share/doc/SDL-1.2.8/html</command></userinput></screen>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2>
|
---|
82 | <title>Command explanations</title>
|
---|
83 |
|
---|
84 | <para><parameter>--disable-debug</parameter>: This switch configures
|
---|
85 | <application><acronym>SDL</acronym></application> to build with aggressive
|
---|
86 | optimizations.</para>
|
---|
87 |
|
---|
88 | <para><option>--enable-video-aalib</option>: This switch
|
---|
89 | is required to build <application><acronym>SDL</acronym></application>
|
---|
90 | with <acronym>AA</acronym>lib video support.</para>
|
---|
91 |
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2>
|
---|
95 | <title>Configuring <application><acronym>SDL</acronym></application></title>
|
---|
96 |
|
---|
97 | <sect3><title>Configuration Information</title>
|
---|
98 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
99 | </sect3>
|
---|
100 |
|
---|
101 | </sect2>
|
---|
102 |
|
---|
103 | <sect2>
|
---|
104 | <title>Contents</title>
|
---|
105 |
|
---|
106 | <para>The <application><acronym>SDL</acronym></application> package contains
|
---|
107 | the <userinput>Simple DirectMedia Layer</userinput> libraries.</para>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2><title>Description</title>
|
---|
112 |
|
---|
113 | <sect3><title>Simple DirectMedia Layer</title>
|
---|
114 | <para>The Simple DirectMedia Layer is a generic <acronym>API</acronym> that
|
---|
115 | provides low level access to audio, keyboard, mouse, joystick,
|
---|
116 | <acronym>3D</acronym> hardware via OpenGL, and <acronym>2D</acronym> frame
|
---|
117 | buffer across multiple platforms.</para></sect3>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | </sect1>
|
---|