source: multimedia/libdriv/sdl.xml@ 2128523

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2128523 was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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