source: multimedia/libdriv/sdl.xml@ 98d5a95

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 98d5a95 was 98d5a95, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to shared-mime-info-0.91
Update to slang-2.2.4
Minor updates to xine-ui, libtheora, sdl, gpm, aalib

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

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 "e52086d1b508fa0b76c52ee30b55bec4">
10 <!ENTITY sdl-size "4.0 MB">
11 <!ENTITY sdl-buildsize "37 MB">
12 <!ENTITY sdl-time "0.6 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 </sect1info>
22
23 <title>SDL-&sdl-version;</title>
24
25 <indexterm zone="sdl">
26 <primary sortas="a-SDL">SDL</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to SDL</title>
31
32 <para>The Simple DirectMedia Layer (<application>SDL</application>
33 for short) is a cross-platform library designed to make it easy to write
34 multimedia software, such as games and emulators.</para>
35
36 &lfs70_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&sdl-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&sdl-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &sdl-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &sdl-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &sdl-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &sdl-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">SDL Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
63 <para role="optional">
64 <xref linkend="alsa"/>,
65 <xref linkend="esound"/>,
66 <xref linkend='pulseaudio'/>
67 <xref linkend="arts"/>,
68 <!--<xref linkend="nas"/>,-->
69 <xref linkend="NASM"/>,
70 <xref linkend="libusb"/>,
71 <xref linkend="x-window-system"/>,
72 <xref linkend="aalib"/>,
73 <xref linkend="pth"/>,
74 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
75 <ulink url="http://www.ggi-project.org/">GGI</ulink>,
76 <ulink url="http://my.arava.co.il/~matan/svgalib/">SVGAlib-1.9.5</ulink>
77 (<ulink url="&patch-root;/svgalib-1.9.25-megafixes-1.patch">patched</ulink>),
78 <ulink url="http://caca.zoy.org/wiki/libcaca">libcaca</ulink>, and
79 <ulink url="http://picogui.org/">PicoGUI</ulink>
80 </para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/sdl"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of SDL</title>
89
90 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
91 href="../../xincludes/X11R6_symlink.xml"/>
92
93 <para>Install <application>SDL</application> by running the
94 following commands:</para>
95
96<screen><userinput>./configure --prefix=/usr &amp;&amp;
97make</userinput></screen>
98
99 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
100
101<screen role="root"><userinput>make install &amp;&amp;
102
103install -v -m755 -d /usr/share/doc/SDL-&sdl-version;/html &amp;&amp;
104install -v -m644 docs/html/*.html \
105 /usr/share/doc/SDL-&sdl-version;/html</userinput></screen>
106
107 </sect2>
108
109 <sect2 role="testing">
110 <title>Testing SDL</title>
111
112 <para>If you wish to, test the installation of
113 <application>SDL</application> using the included
114 test programs. It is not required to install any of the resulting binaries
115 to validate the installation. Issue the following commands to build the
116 test programs:</para>
117
118<screen><userinput>cd test &amp;&amp;
119./configure &amp;&amp;
120make</userinput></screen>
121
122 <para>You'll need to manually run all the test programs (they are listed in
123 the <filename>README</filename> file in this directory). Many of them will
124 need to be manually killed, and you'll need to turn your speakers on with the
125 volume at a suitable level.</para>
126
127 </sect2>
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para><parameter>--disable-static</parameter>: prevent static libraries
133 being built and installed.</para>
134
135 </sect2>
136
137 <sect2 role="configuration">
138 <title>Configuring SDL</title>
139
140 <sect3>
141 <title>Configuration Information</title>
142
143 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
144 href="../../xincludes/lib-config.xml"/>
145
146 </sect3>
147
148 </sect2>
149
150 <sect2 role="content">
151 <title>Contents</title>
152
153 <segmentedlist>
154 <segtitle>Installed Program</segtitle>
155 <segtitle>Installed Libraries</segtitle>
156 <segtitle>Installed Directories</segtitle>
157
158 <seglistitem>
159 <seg>sdl-config</seg>
160 <seg>libSDL.{so,a} and libSDLmain.a</seg>
161 <seg>/usr/include/SDL and /usr/share/doc/SDL-&sdl-version;</seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="sdl-config">
171 <term><command>sdl-config</command></term>
172 <listitem>
173 <para>determines the compile and linker flags that should be used to
174 compile and link programs that use
175 <filename class='libraryfile'>libSDL</filename>.</para>
176 <indexterm zone="sdl sdl-config">
177 <primary sortas="b-sdl-config">sdl-config</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="libsdl">
183 <term><filename class='libraryfile'>libSDL.{so,a}</filename></term>
184 <listitem>
185 <para> library provides low level access to audio, keyboard, mouse,
186 joystick, 3D hardware via OpenGL, and
187 2D frame buffer across multiple platforms.</para>
188 <indexterm zone="sdl libsdl">
189 <primary sortas="c-libsdl">libSDL.{so,a}</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 </variablelist>
195
196 </sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.