source: multimedia/libdriv/sdl.xml@ 0e2aa08

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 0e2aa08 was 0e2aa08, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #6

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

  • Property mode set to 100644
File size: 6.3 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 <!ENTITY sdl-download-http "http://www.libsdl.org/release/SDL-&sdl-version;.tar.gz">
8 <!ENTITY sdl-download-ftp " ">
9 <!ENTITY sdl-md5sum "80919ef556425ff82a8555ff40a579a0">
10 <!ENTITY sdl-size "2.6 MB">
11 <!ENTITY sdl-buildsize "36 MB">
12 <!ENTITY sdl-time "0.8 SBU">
13]>
14
15<sect1 id="sdl" xreflabel="SDL-&sdl-version;">
16 <?dbhtml filename="sdl.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">SDL-&sdl-version;.tar</keyword>
23 <keyword role="ftpdir">SDL</keyword>
24 </keywordset>
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
36 <para>The Simple DirectMedia Layer (<application>SDL</application>
37 for short) is a cross-platform library designed to make it easy to write
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
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
70 <bridgehead renderas="sect3">SDL Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional"><xref linkend="alsa"/>,
74 <xref linkend="esound"/>,
75 <xref linkend="arts"/>,
76 <xref linkend="nas"/>,
77 <xref linkend="NASM"/>,
78 <xref linkend="x-window-system"/>,
79 <xref linkend="aalib"/>,
80 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
81 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
82 <ulink url="http://www.gnu.org/software/pth/">GNU Pth</ulink>, and
83 <!-- Dead link,
84 <ulink url="http://www.trolltech.com/download/qtopia/">Qtopia</ulink>
85 -->
86 <ulink url="http://picogui.org/">PicoGUI</ulink></para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/sdl"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of SDL</title>
95
96 <para>Install <application>SDL</application> by running the
97 following commands:</para>
98
99<screen><userinput>patch -Np1 -i ../SDL-&sdl-version;-gcc4-1.patch &amp;&amp;
100./configure --prefix=/usr --disable-debug &amp;&amp;
101make</userinput></screen>
102
103 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
104
105<screen role="root"><userinput>make install &amp;&amp;
106install -v -m755 -d /usr/share/doc/SDL-&sdl-version;/html &amp;&amp;
107install -v -m644 docs/html/*.html /usr/share/doc/SDL-&sdl-version;/html</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para><parameter>--disable-debug</parameter>: This switch configures
115 <application>SDL</application> to build with aggressive
116 optimizations.</para>
117
118 <para><option>--enable-video-aalib</option>: This switch
119 is required to build <application>SDL</application>
120 with AAlib video support.</para>
121
122 </sect2>
123
124 <sect2 role="testing">
125 <title>Testing SDL</title>
126
127 <para>It is advisable to test the installation of
128 <application>SDL</application> using the included
129 test programs. It is not required to install any of the resulting binaries
130 to validate the installation. Issue the following commands to build the
131 test programs:</para>
132
133<screen><userinput>cd test &amp;&amp;
134./configure &amp;&amp;
135make</userinput></screen>
136
137 <para>You'll need to manually run all the test programs.</para>
138
139 </sect2>
140
141 <sect2 role="configuration">
142 <title>Configuring SDL</title>
143
144 <sect3>
145 <title>Configuration Information</title>
146
147 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
148
149 </sect3>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Program</segtitle>
158 <segtitle>Installed Libraries</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>sdl-config</seg>
163 <seg>libSDL*.{so,a}</seg>
164 <seg>/usr/include/SDL and /usr/share/doc/SDL-&sdl-version;</seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="sdl-config">
174 <term><command>sdl-config</command></term>
175 <listitem>
176 <para>determines the compile and linker flags that should be used to
177 compile and link programs that use
178 <filename class='libraryfile'>libSDL</filename>.</para>
179 <indexterm zone="sdl sdl-config">
180 <primary sortas="b-sdl-config">sdl-config</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="libsdl">
186 <term><filename class='libraryfile'>libSDL*.{so,a}</filename></term>
187 <listitem>
188 <para> libraries provide low level access to audio, keyboard, mouse,
189 joystick, 3D hardware via OpenGL, and
190 2D frame buffer across multiple platforms.</para>
191 <indexterm zone="sdl libsdl">
192 <primary sortas="c-libsdl">libSDL*.{so,a}</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 </variablelist>
198
199 </sect2>
200
201</sect1>
Note: See TracBrowser for help on using the repository browser.