source: multimedia/libdriv/sdl.xml@ 847ae101

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 847ae101 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
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
19 <!ENTITY sdl-download-http "http://www.libsdl.org/release/SDL-&sdl-version;.tar.gz">
20 <!ENTITY sdl-download-ftp " ">
21 <!ENTITY sdl-md5sum "80919ef556425ff82a8555ff40a579a0">
22 <!ENTITY sdl-size "2.6 MB">
23 <!ENTITY sdl-buildsize "36 MB">
24 <!ENTITY sdl-time "0.8 SBU">
25]>
26
27<sect1 id="sdl" xreflabel="SDL-&sdl-version;">
28 <?dbhtml filename="sdl.html"?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 <keywordset>
34 <keyword role="package">SDL-&sdl-version;.tar</keyword>
35 <keyword role="ftpdir">SDL</keyword>
36 </keywordset>
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
48 <para>The Simple DirectMedia Layer (<application>SDL</application>
49 for short) is a cross-platform library designed to make it easy to write
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
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
82 <bridgehead renderas="sect3">SDL Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional"><xref linkend="alsa"/>,
86 <xref linkend="esound"/>,
87 <xref linkend="arts"/>,
88 <xref linkend="nas"/>,
89 <xref linkend="NASM"/>,
90 <xref linkend="x-window-system"/>,
91 <xref linkend="aalib"/>,
92 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
93 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
94 <ulink url="http://www.gnu.org/software/pth/">GNU Pth</ulink>, and
95 <!-- Dead link,
96 <ulink url="http://www.trolltech.com/download/qtopia/">Qtopia</ulink>
97 -->
98 <ulink url="http://picogui.org/">PicoGUI</ulink></para>
99
100 <para condition="html" role="usernotes">User Notes:
101 <ulink url="&blfs-wiki;/sdl"/></para>
102
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of SDL</title>
107
108 <para>Install <application>SDL</application> by running the
109 following commands:</para>
110
111<screen><userinput>patch -Np1 -i ../SDL-&sdl-version;-gcc4-1.patch &amp;&amp;
112./configure --prefix=/usr --disable-debug &amp;&amp;
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;
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>
120
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para><parameter>--disable-debug</parameter>: This switch configures
127 <application>SDL</application> to build with aggressive
128 optimizations.</para>
129
130 <para><option>--enable-video-aalib</option>: This switch
131 is required to build <application>SDL</application>
132 with AAlib video support.</para>
133
134 </sect2>
135
136 <sect2 role="testing">
137 <title>Testing SDL</title>
138
139 <para>It is advisable to test the installation of
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>
144
145<screen><userinput>cd test &amp;&amp;
146./configure &amp;&amp;
147make</userinput></screen>
148
149 <para>You'll need to manually run all the test programs.</para>
150
151 </sect2>
152
153 <sect2 role="configuration">
154 <title>Configuring SDL</title>
155
156 <sect3>
157 <title>Configuration Information</title>
158
159 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
160
161 </sect3>
162
163 </sect2>
164
165 <sect2 role="content">
166 <title>Contents</title>
167
168 <segmentedlist>
169 <segtitle>Installed Program</segtitle>
170 <segtitle>Installed Libraries</segtitle>
171 <segtitle>Installed Directories</segtitle>
172
173 <seglistitem>
174 <seg>sdl-config</seg>
175 <seg>libSDL*.{so,a}</seg>
176 <seg>/usr/include/SDL and /usr/share/doc/SDL-&sdl-version;</seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="sdl-config">
186 <term><command>sdl-config</command></term>
187 <listitem>
188 <para>determines the compile and linker flags that should be used to
189 compile and link programs that use
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">
198 <term><filename class='libraryfile'>libSDL*.{so,a}</filename></term>
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">
204 <primary sortas="c-libsdl">libSDL*.{so,a}</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 </variablelist>
210
211 </sect2>
212
213</sect1>
Note: See TracBrowser for help on using the repository browser.