source: multimedia/libdriv/sdl.xml@ 2df08064

systemd-13485
Last change on this file since 2df08064 was 2a3a49a, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Update to cURL-7.45.0
Update to ICU-56.1
Update to gstreamer.1.6.0
Update to ISO-Codes-3.62
Update to gst-plugins-base-1.6.0
Update to gsettings-desktop-schemas-3.18.0
Update to glib-networking-2.46.1
Update to libsoup-2.52.1
Update to at-spi2-core-2.18.1
Update to at-spi2-atk-2.18.1
Update to gtk+-3.18.2
Update to BlueZ-5.35
Update to PulseAudio-7.0
Update to v4l-utils-1.8.0
Update to gst-plugins-good-1.6.0
Plenty of tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16529 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.3 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 " ">
[52b1b8c]9 <!ENTITY sdl-md5sum "9d96df8417572a2afb781a7c4c811a85">
10 <!ENTITY sdl-size "3.8 MB">
11 <!ENTITY sdl-buildsize "40 MB">
[10ee44ef]12 <!ENTITY sdl-time "0.6 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
[2a3a49a]36 &lfs78_checked;
[98d5a95]37
[576a230]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
[93d50f5]60 <bridgehead renderas="sect3">SDL Dependencies</bridgehead>
[576a230]61
62 <bridgehead renderas="sect4">Optional</bridgehead>
[e2e42c7]63 <para role="optional">
64 <xref linkend="alsa"/>,
65 <xref linkend='pulseaudio'/>
[efdd9de]66 <xref linkend="nasm"/>,
[e2e42c7]67 <xref linkend="x-window-system"/>,
[8a33d8cd]68 <xref linkend="glu"/>,
[e2e42c7]69 <xref linkend="aalib"/>,
70 <xref linkend="pth"/>,
[7d511f08]71 <ulink url="&fedora-http-repo;/directfb">DirectFB</ulink>,
[5a4810b]72 <ulink url="http://sourceforge.net/projects/ggi/files/bundle/GGI-2.2.2/">GGI</ulink>,
[da30dbc]73 <ulink url="http://mail.arava.co.il/~matan/svgalib/">SVGAlib-1.9.5</ulink>
[e2e42c7]74 (<ulink url="&patch-root;/svgalib-1.9.25-megafixes-1.patch">patched</ulink>),
[52b1b8c]75 <ulink url="http://caca.zoy.org/wiki/libcaca">libcaca</ulink> and
[e2e42c7]76 <ulink url="http://picogui.org/">PicoGUI</ulink>
77 </para>
[576a230]78
[0e2aa08]79 <para condition="html" role="usernotes">User Notes:
80 <ulink url="&blfs-wiki;/sdl"/></para>
81
[576a230]82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of SDL</title>
86
[50b692d]87 <para>Install <application>SDL</application> by running the
[576a230]88 following commands:</para>
89
[58cd150]90<screen><userinput>sed -i '/_XData32/s:register long:register _Xconst long:' src/video/x11/SDL_x11sym.h &amp;&amp;
[cf67717]91
[ac38e9dc]92./configure --prefix=/usr --disable-static --disable-sdl-dlopen &amp;&amp;
[576a230]93make</userinput></screen>
94
95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
96
97<screen role="root"><userinput>make install &amp;&amp;
[10ee44ef]98
[ac38e9dc]99install -v -dm755 /usr/share/doc/SDL-&sdl-version;/html &amp;&amp;
100install -v -m644 docs/html/*.html \
101 /usr/share/doc/SDL-&sdl-version;/html</userinput></screen>
[48b7295]102
[576a230]103 </sect2>
[48b7295]104
[4f2f35c]105 <sect2 role="testing">
106 <title>Testing SDL</title>
[48b7295]107
[5886225]108 <para>If you wish to, test the installation of
[4f2f35c]109 <application>SDL</application> using the included
110 test programs. It is not required to install any of the resulting binaries
111 to validate the installation. Issue the following commands to build the
112 test programs:</para>
[48c17bf2]113
[576a230]114<screen><userinput>cd test &amp;&amp;
[48c17bf2]115./configure &amp;&amp;
[576a230]116make</userinput></screen>
[48c17bf2]117
[5886225]118 <para>You'll need to manually run all the test programs (they are listed in
119 the <filename>README</filename> file in this directory). Many of them will
120 need to be manually killed, and you'll need to turn your speakers on with the
121 volume at a suitable level.</para>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
[58cd150]128 <para><command>sed -i ...</command>: This command fixes compilation with libX11-1.6.0</para>
[46efb87]129
[66d82600]130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="../../xincludes/static-libraries.xml"/>
[576a230]132
[ac38e9dc]133 <para><parameter>--disable-sdl-dlopen</parameter>: This switch disables
134 using dlopen for shared object loading.</para>
135
[576a230]136 </sect2>
137
138 <sect2 role="configuration">
139 <title>Configuring SDL</title>
140
141 <sect3>
142 <title>Configuration Information</title>
[48c17bf2]143
[e05cd03f]144 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[ebabf24]145 href="../../xincludes/lib-config.xml"/>
[48b7295]146
[576a230]147 </sect3>
[48b7295]148
[576a230]149 </sect2>
[48b7295]150
[576a230]151 <sect2 role="content">
152 <title>Contents</title>
[48b7295]153
[576a230]154 <segmentedlist>
155 <segtitle>Installed Program</segtitle>
156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
[d7ecaa6]158
[576a230]159 <seglistitem>
160 <seg>sdl-config</seg>
[66d82600]161 <seg>libSDL.so and libSDLmain.a</seg>
[576a230]162 <seg>/usr/include/SDL and /usr/share/doc/SDL-&sdl-version;</seg>
163 </seglistitem>
164 </segmentedlist>
[d7ecaa6]165
[576a230]166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
[d7ecaa6]170
[576a230]171 <varlistentry id="sdl-config">
172 <term><command>sdl-config</command></term>
173 <listitem>
[50b692d]174 <para>determines the compile and linker flags that should be used to
175 compile and link programs that use
[576a230]176 <filename class='libraryfile'>libSDL</filename>.</para>
177 <indexterm zone="sdl sdl-config">
178 <primary sortas="b-sdl-config">sdl-config</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="libsdl">
[66d82600]184 <term><filename class='libraryfile'>libSDL.so</filename></term>
[576a230]185 <listitem>
[10ee44ef]186 <para> library provides low level access to audio, keyboard, mouse,
[576a230]187 joystick, 3D hardware via OpenGL, and
188 2D frame buffer across multiple platforms.</para>
189 <indexterm zone="sdl libsdl">
[66d82600]190 <primary sortas="c-libsdl">libSDL.so</primary>
[576a230]191 </indexterm>
192 </listitem>
193 </varlistentry>
[d7ecaa6]194
[576a230]195 </variablelist>
[48b7295]196
[576a230]197 </sect2>
[f45b1953]198
199</sect1>
Note: See TracBrowser for help on using the repository browser.