[48b7295] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.3/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-size "2.4 MB">
|
---|
| 9 | <!ENTITY SDL-buildsize "46 MB">
|
---|
| 10 | <!ENTITY SDL-time "0.99 SBU">
|
---|
| 11 | ]>
|
---|
[f45b1953] | 12 | <sect1 id="SDL" xreflabel="SDL-&SDL-version;">
|
---|
[dd3f20f0] | 13 | <?dbhtml filename="sdl.html"?>
|
---|
[f45b1953] | 14 | <title>SDL-&SDL-version;</title>
|
---|
| 15 |
|
---|
[48b7295] | 16 | <sect2>
|
---|
| 17 | <title>Introduction to <application><acronym>SDL</acronym></application></title>
|
---|
| 18 |
|
---|
| 19 | <para>The Simple DirectMedia Layer (<application><acronym>SDL</acronym>
|
---|
| 20 | </application> for short) is a cross-platform library designed to make it easy
|
---|
| 21 | to write multimedia software, such as games and emulators.</para>
|
---|
| 22 |
|
---|
| 23 | <sect3><title>Package information</title>
|
---|
| 24 | <itemizedlist spacing='compact'>
|
---|
| 25 | <listitem><para>Download (HTTP): <ulink url="&SDL-download-http;"/></para></listitem>
|
---|
| 26 | <listitem><para>Download (FTP): <ulink url="&SDL-download-ftp;"/></para></listitem>
|
---|
| 27 | <listitem><para>Download size: &SDL-size;</para></listitem>
|
---|
| 28 | <listitem><para>Estimated Disk space required: &SDL-buildsize;</para></listitem>
|
---|
| 29 | <listitem><para>Estimated build time: &SDL-time;</para></listitem></itemizedlist>
|
---|
| 30 | </sect3>
|
---|
| 31 |
|
---|
| 32 | <sect3><title><application><acronym>SDL</acronym></application> dependencies</title>
|
---|
| 33 | <sect4><title>Optional</title>
|
---|
| 34 | <para>
|
---|
| 35 | <xref linkend="alsa"/>,
|
---|
| 36 | <xref linkend="esound"/>,
|
---|
| 37 | <xref linkend="arts"/>,
|
---|
| 38 | <xref linkend="nas"/>,
|
---|
| 39 | <xref linkend="NASM"/>,
|
---|
| 40 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
| 41 | <xref linkend="aalib"/>,
|
---|
| 42 | <xref linkend="DirectFB"/> and
|
---|
| 43 | <xref linkend="SVGAlib"/>
|
---|
| 44 | </para></sect4>
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | </sect2>
|
---|
| 48 |
|
---|
| 49 | <sect2>
|
---|
| 50 | <title>Installation of <application><acronym>SDL</acronym></application></title>
|
---|
| 51 |
|
---|
| 52 | <para>Install <application><acronym>SDL</acronym></application> by running the following commands:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput><command>./configure --prefix=/usr --disable-debug &&
|
---|
| 55 | make &&
|
---|
| 56 | make install</command></userinput></screen>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2>
|
---|
| 61 | <title>Command explanations</title>
|
---|
| 62 |
|
---|
| 63 | <para><parameter>--disable-debug</parameter>: This switch configures
|
---|
| 64 | <application><acronym>SDL</acronym></application> to build with aggressive
|
---|
| 65 | optimizations.</para>
|
---|
| 66 |
|
---|
| 67 | <para><parameter>--enable-video-aalib</parameter>: This switch
|
---|
| 68 | is required to build <application><acronym>SDL</acronym></application>
|
---|
| 69 | with <acronym>AA</acronym>lib video support.</para>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2>
|
---|
| 74 | <title>Configuring <application><acronym>SDL</acronym></application></title>
|
---|
| 75 |
|
---|
| 76 | <sect3><title>Configuration Information</title>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 79 |
|
---|
| 80 | </sect3>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2>
|
---|
| 85 | <title>Contents</title>
|
---|
| 86 |
|
---|
| 87 | <para>The <application><acronym>SDL</acronym></application> package contains
|
---|
| 88 | the <userinput>Simple DirectMedia Layer</userinput>.</para>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2><title>Description</title>
|
---|
| 93 |
|
---|
| 94 | <sect3><title>Simple DirectMedia Layer</title>
|
---|
| 95 | <para>The Simple DirectMedia Layer is a generic <acronym>API</acronym> that
|
---|
| 96 | provides low level access to audio, keyboard, mouse, joystick, 3D hardware via
|
---|
| 97 | OpenGL, and 2D frame buffer across multiple platforms.</para></sect3>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
[f45b1953] | 100 |
|
---|
| 101 | </sect1>
|
---|
| 102 |
|
---|