source: multimedia/libdriv/sdl.xml@ 71cd2a5a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 71cd2a5a was 71cd2a5a, checked in by Randy McMurchy <randy@…>, 17 years ago

Replaced some /usr/X11R6 hacks with references to the compatibility symlink

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

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[576a230]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 " ">
[f2bb5a0]9 <!ENTITY sdl-md5sum "418b42956b7cd103bfab1b9077ccc149">
10 <!ENTITY sdl-size "2.7 MB">
11 <!ENTITY sdl-buildsize "23 MB">
[5828877]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>
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
[d7ecaa6]32 <para>The Simple DirectMedia Layer (<application>SDL</application>
[50b692d]33 for short) is a cross-platform library designed to make it easy to write
[576a230]34 multimedia software, such as games and emulators.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&sdl-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&sdl-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &sdl-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &sdl-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &sdl-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &sdl-time;</para>
55 </listitem>
56 </itemizedlist>
57
[93d50f5]58 <bridgehead renderas="sect3">SDL Dependencies</bridgehead>
[576a230]59
60 <bridgehead renderas="sect4">Optional</bridgehead>
[a747b3c]61 <para role="optional"><xref linkend="alsa"/>,
[576a230]62 <xref linkend="esound"/>,
63 <xref linkend="arts"/>,
64 <xref linkend="nas"/>,
[50b692d]65 <xref linkend="NASM"/>,
[e77976f]66 <xref linkend="x-window-system"/>,
[576a230]67 <xref linkend="aalib"/>,
[50b692d]68 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
69 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
[e77976f]70 <ulink url="http://www.gnu.org/software/pth/">GNU Pth</ulink>, and
[576a230]71 <ulink url="http://picogui.org/">PicoGUI</ulink></para>
72
[0e2aa08]73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/sdl"/></para>
75
[576a230]76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of SDL</title>
80
[71cd2a5a]81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../../xincludes/X11R6_symlink.xml"/>
83
84 <!-- <para>If your <application>X Window System</application> is installed into
[864b24de]85 any prefix other than <filename class="directory">/usr/X11R6</filename>,
86 execute the following command, replacing
87 <replaceable>&lt;PREFIX&gt;</replaceable> with the installation prefix of
[ca76bec]88 the <application>X Window System</application>:</para>
89
[71cd2a5a]90<screen><userinput>sed -i 's:/usr/X11R6:<replaceable>&lt;PREFIX&gt;</replaceable>:' configure</userinput></screen> -->
[ca76bec]91
[50b692d]92 <para>Install <application>SDL</application> by running the
[576a230]93 following commands:</para>
94
[f2bb5a0]95<screen><userinput>./configure --prefix=/usr &amp;&amp;
[576a230]96make</userinput></screen>
97
98 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
99
100<screen role="root"><userinput>make install &amp;&amp;
[932b7e2]101install -v -m755 -d /usr/share/doc/SDL-&sdl-version;/html &amp;&amp;
102install -v -m644 docs/html/*.html /usr/share/doc/SDL-&sdl-version;/html</userinput></screen>
[48b7295]103
[576a230]104 </sect2>
[48b7295]105
[4f2f35c]106 <sect2 role="testing">
107 <title>Testing SDL</title>
[48b7295]108
[50b692d]109 <para>It is advisable to test the installation of
[4f2f35c]110 <application>SDL</application> using the included
111 test programs. It is not required to install any of the resulting binaries
112 to validate the installation. Issue the following commands to build the
113 test programs:</para>
[48c17bf2]114
[576a230]115<screen><userinput>cd test &amp;&amp;
[48c17bf2]116./configure &amp;&amp;
[576a230]117make</userinput></screen>
[48c17bf2]118
[4f2f35c]119 <para>You'll need to manually run all the test programs.</para>
[576a230]120
121 </sect2>
122
123 <sect2 role="configuration">
124 <title>Configuring SDL</title>
125
126 <sect3>
127 <title>Configuration Information</title>
[48c17bf2]128
[ebabf24]129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
130 href="../../xincludes/lib-config.xml"/>
[48b7295]131
[576a230]132 </sect3>
[48b7295]133
[576a230]134 </sect2>
[48b7295]135
[576a230]136 <sect2 role="content">
137 <title>Contents</title>
[48b7295]138
[576a230]139 <segmentedlist>
140 <segtitle>Installed Program</segtitle>
141 <segtitle>Installed Libraries</segtitle>
142 <segtitle>Installed Directories</segtitle>
[d7ecaa6]143
[576a230]144 <seglistitem>
145 <seg>sdl-config</seg>
[0e2aa08]146 <seg>libSDL*.{so,a}</seg>
[576a230]147 <seg>/usr/include/SDL and /usr/share/doc/SDL-&sdl-version;</seg>
148 </seglistitem>
149 </segmentedlist>
[d7ecaa6]150
[576a230]151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
[d7ecaa6]155
[576a230]156 <varlistentry id="sdl-config">
157 <term><command>sdl-config</command></term>
158 <listitem>
[50b692d]159 <para>determines the compile and linker flags that should be used to
160 compile and link programs that use
[576a230]161 <filename class='libraryfile'>libSDL</filename>.</para>
162 <indexterm zone="sdl sdl-config">
163 <primary sortas="b-sdl-config">sdl-config</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="libsdl">
[0e2aa08]169 <term><filename class='libraryfile'>libSDL*.{so,a}</filename></term>
[576a230]170 <listitem>
171 <para> libraries provide low level access to audio, keyboard, mouse,
172 joystick, 3D hardware via OpenGL, and
173 2D frame buffer across multiple platforms.</para>
174 <indexterm zone="sdl libsdl">
[0e2aa08]175 <primary sortas="c-libsdl">libSDL*.{so,a}</primary>
[576a230]176 </indexterm>
177 </listitem>
178 </varlistentry>
[d7ecaa6]179
[576a230]180 </variablelist>
[48b7295]181
[576a230]182 </sect2>
[f45b1953]183
184</sect1>
Note: See TracBrowser for help on using the repository browser.