source: multimedia/libdriv/sdl.xml@ 4ec808b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4ec808b was 4ec808b, checked in by Andrew Benton <andy@…>, 18 years ago

Broken links

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5812 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
RevLine 
[576a230]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[48b7295]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[86698d8]6
[68ad918]7 <!ENTITY sdl-download-http "http://www.libsdl.org/release/SDL-&sdl-version;.tar.gz">
8 <!ENTITY sdl-download-ftp " ">
[6af3f7bd]9 <!ENTITY sdl-md5sum "80919ef556425ff82a8555ff40a579a0">
[5828877]10 <!ENTITY sdl-size "2.6 MB">
11 <!ENTITY sdl-buildsize "36 MB">
12 <!ENTITY sdl-time "0.8 SBU">
[48b7295]13]>
[4a21942]14
[68ad918]15<sect1 id="sdl" xreflabel="SDL-&sdl-version;">
[576a230]16 <?dbhtml filename="sdl.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[a747b3c]21 <keywordset>
22 <keyword role="package">SDL-&sdl-version;.tar</keyword>
[f15e274]23 <keyword role="ftpdir">SDL</keyword>
[a747b3c]24 </keywordset>
[576a230]25 </sect1info>
26
27 <title>SDL-&sdl-version;</title>
28
29 <indexterm zone="sdl">
30 <primary sortas="a-SDL">SDL</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to SDL</title>
35
[d7ecaa6]36 <para>The Simple DirectMedia Layer (<application>SDL</application>
[50b692d]37 for short) is a cross-platform library designed to make it easy to write
[576a230]38 multimedia software, such as games and emulators.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&sdl-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&sdl-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &sdl-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &sdl-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &sdl-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &sdl-time;</para>
59 </listitem>
60 </itemizedlist>
61
[3988b2b]62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>Required patch: <ulink
66 url="&patch-root;/SDL-&sdl-version;-gcc4-1.patch"/></para>
67 </listitem>
68 </itemizedlist>
69
[93d50f5]70 <bridgehead renderas="sect3">SDL Dependencies</bridgehead>
[576a230]71
72 <bridgehead renderas="sect4">Optional</bridgehead>
[a747b3c]73 <para role="optional"><xref linkend="alsa"/>,
[576a230]74 <xref linkend="esound"/>,
75 <xref linkend="arts"/>,
76 <xref linkend="nas"/>,
[50b692d]77 <xref linkend="NASM"/>,
[6473e74]78 X (<xref linkend="xfree86"/>, <xref linkend="xorg"/> or
[371ff30]79 <xref linkend="xorg7"/>),
[576a230]80 <xref linkend="aalib"/>,
[50b692d]81 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
82 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
[4ec808b]83 <ulink url="http://www.gnu.org/software/pth/">GNU Pth</ulink>
84<!-- Dead link,
85 <ulink url="http://www.trolltech.com/download/qtopia/">Qtopia</ulink>
86--> and
[576a230]87 <ulink url="http://picogui.org/">PicoGUI</ulink></para>
88
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of SDL</title>
93
[50b692d]94 <para>Install <application>SDL</application> by running the
[576a230]95 following commands:</para>
96
[3988b2b]97<screen><userinput>patch -Np1 -i ../SDL-&sdl-version;-gcc4-1.patch &amp;&amp;
98./configure --prefix=/usr --disable-debug &amp;&amp;
[576a230]99make</userinput></screen>
100
101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
102
103<screen role="root"><userinput>make install &amp;&amp;
[932b7e2]104install -v -m755 -d /usr/share/doc/SDL-&sdl-version;/html &amp;&amp;
105install -v -m644 docs/html/*.html /usr/share/doc/SDL-&sdl-version;/html</userinput></screen>
[48b7295]106
[576a230]107 </sect2>
[48b7295]108
[576a230]109 <sect2 role="commands">
110 <title>Command Explanations</title>
[48b7295]111
[576a230]112 <para><parameter>--disable-debug</parameter>: This switch configures
[50b692d]113 <application>SDL</application> to build with aggressive
[576a230]114 optimizations.</para>
[48b7295]115
[576a230]116 <para><option>--enable-video-aalib</option>: This switch
117 is required to build <application>SDL</application>
118 with AAlib video support.</para>
[48b7295]119
[4f2f35c]120 </sect2>
121
122 <sect2 role="testing">
123 <title>Testing SDL</title>
[48b7295]124
[50b692d]125 <para>It is advisable to test the installation of
[4f2f35c]126 <application>SDL</application> using the included
127 test programs. It is not required to install any of the resulting binaries
128 to validate the installation. Issue the following commands to build the
129 test programs:</para>
[48c17bf2]130
[576a230]131<screen><userinput>cd test &amp;&amp;
[48c17bf2]132./configure &amp;&amp;
[576a230]133make</userinput></screen>
[48c17bf2]134
[4f2f35c]135 <para>You'll need to manually run all the test programs.</para>
[576a230]136
137 </sect2>
138
139 <sect2 role="configuration">
140 <title>Configuring SDL</title>
141
142 <sect3>
143 <title>Configuration Information</title>
[48c17bf2]144
[576a230]145 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
[48b7295]146
[576a230]147 </sect3>
[48b7295]148
[576a230]149 </sect2>
[48b7295]150
[576a230]151 <sect2 role="content">
152 <title>Contents</title>
[48b7295]153
[576a230]154 <segmentedlist>
155 <segtitle>Installed Program</segtitle>
156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
[d7ecaa6]158
[576a230]159 <seglistitem>
160 <seg>sdl-config</seg>
161 <seg>libSDL*.[so,a]</seg>
162 <seg>/usr/include/SDL and /usr/share/doc/SDL-&sdl-version;</seg>
163 </seglistitem>
164 </segmentedlist>
[d7ecaa6]165
[576a230]166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
[d7ecaa6]170
[576a230]171 <varlistentry id="sdl-config">
172 <term><command>sdl-config</command></term>
173 <listitem>
[50b692d]174 <para>determines the compile and linker flags that should be used to
175 compile and link programs that use
[576a230]176 <filename class='libraryfile'>libSDL</filename>.</para>
177 <indexterm zone="sdl sdl-config">
178 <primary sortas="b-sdl-config">sdl-config</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="libsdl">
184 <term><filename class='libraryfile'>libSDL*.[so,a]</filename></term>
185 <listitem>
186 <para> libraries provide low level access to audio, keyboard, mouse,
187 joystick, 3D hardware via OpenGL, and
188 2D frame buffer across multiple platforms.</para>
189 <indexterm zone="sdl libsdl">
190 <primary sortas="c-libsdl">libSDL*.[so,a]</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
[d7ecaa6]194
[576a230]195 </variablelist>
[48b7295]196
[576a230]197 </sect2>
[f45b1953]198
199</sect1>
Note: See TracBrowser for help on using the repository browser.