mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Change SDL-1.2 to sdl12-compat-release-1.2.60.
This commit is contained in:
parent
8a742802cd
commit
676ee3a73a
@ -38,6 +38,16 @@
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
-->
|
||||
<listitem>
|
||||
<para>April 7th, 2023</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Change SDL-1.2 to sdl12-compat-release-1.2.60. Fixes
|
||||
<ulink url="&blfs-ticket-root;17898">#17898</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>April 6th, 2023</para>
|
||||
<itemizedlist>
|
||||
|
@ -4,31 +4,33 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY sdl-download-http "&sources-anduin-http;/sdl/SDL-&sdl-version;.tar.gz">
|
||||
<!ENTITY sdl-download-http "https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-&sdl-version;/sdl12-compat-release-&sdl-version;.tar.gz">
|
||||
<!ENTITY sdl-download-ftp " ">
|
||||
<!ENTITY sdl-md5sum "9d96df8417572a2afb781a7c4c811a85">
|
||||
<!ENTITY sdl-size "3.8 MB">
|
||||
<!ENTITY sdl-buildsize "40 MB">
|
||||
<!ENTITY sdl-time "0.6 SBU">
|
||||
<!ENTITY sdl-md5sum "a539a4a3ceb3d09b7bf312d96210443c">
|
||||
<!ENTITY sdl-size "432 KB">
|
||||
<!ENTITY sdl-buildsize "6.8 MB">
|
||||
<!ENTITY sdl-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="sdl" xreflabel="SDL-&sdl-version;">
|
||||
<sect1 id="sdl" xreflabel="sdl12-compat-&sdl-version;">
|
||||
<?dbhtml filename="sdl.html"?>
|
||||
|
||||
|
||||
<title>SDL-&sdl-version;</title>
|
||||
<title>sdl12-compat-&sdl-version;</title>
|
||||
|
||||
<indexterm zone="sdl">
|
||||
<primary sortas="a-SDL">SDL</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to SDL</title>
|
||||
<title>Introduction to sdl12-compat</title>
|
||||
|
||||
<para>
|
||||
The Simple DirectMedia Layer (<application>SDL</application>
|
||||
for short) is a cross-platform library designed to make it easy to write
|
||||
multimedia software, such as games and emulators.
|
||||
multimedia software, such as games and emulators. This code is a
|
||||
compatibility layer; it provides a binary and source compatible API
|
||||
for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes.
|
||||
</para>
|
||||
|
||||
&lfs113_checked;
|
||||
@ -69,46 +71,31 @@
|
||||
|
||||
<bridgehead renderas="sect3">SDL Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="xorg7-lib"/> (if they are not present, the corresponding
|
||||
modules are not built)
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="cmake"/> and
|
||||
<xref linkend="sdl2"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="aalib"/>,
|
||||
<xref linkend="alsa"/>,
|
||||
<xref linkend="glu"/>,
|
||||
<xref linkend="nasm"/>,
|
||||
<xref linkend="pulseaudio"/>,
|
||||
<xref linkend="pth"/>,
|
||||
<xref linkend="x-window-system"/>,
|
||||
<ulink url="https://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
|
||||
<ulink url="https://ibiblio.org/ggicore/">GGI</ulink>,
|
||||
<ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>,
|
||||
<ulink url="http://picogui.org/">PicoGUI</ulink>, and
|
||||
<ulink url="https://www.svgalib.org/">SVGAlib</ulink>
|
||||
</para>
|
||||
|
||||
<!--
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/sdl"/></para>
|
||||
|
||||
-->
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of SDL</title>
|
||||
<title>Installation of sdl12-compat</title>
|
||||
|
||||
<para>
|
||||
Install <application>SDL</application> by running the
|
||||
Install <application>sdl12-compat</application> by running the
|
||||
following commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>sed -e '/_XData32/s:register long:register _Xconst long:' \
|
||||
-i src/video/x11/SDL_x11sym.h &&
|
||||
|
||||
./configure --prefix=/usr --disable-static &&
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build &&
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
.. &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -116,10 +103,7 @@ make</userinput></screen>
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install &&
|
||||
|
||||
install -v -m755 -d /usr/share/doc/SDL-&sdl-version;/html &&
|
||||
install -v -m644 docs/html/*.html \
|
||||
/usr/share/doc/SDL-&sdl-version;/html</userinput></screen>
|
||||
rm -vf /usr/lib/libSDLmain.a</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -127,16 +111,11 @@ install -v -m644 docs/html/*.html \
|
||||
<title>Testing SDL</title>
|
||||
|
||||
<para>
|
||||
If you wish to, test the installation of <application>SDL</application>
|
||||
If you wish, test the <application>sdlcompat</application> package
|
||||
using the included test programs. It is not required to install any of
|
||||
the resulting binaries to validate the installation. Issue the following
|
||||
commands to build the test programs:
|
||||
the resulting binaries to validate the installation.
|
||||
</para>
|
||||
|
||||
<screen remap="test"><userinput>cd test &&
|
||||
./configure &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
You'll need to manually run all the test programs (they are listed in
|
||||
the <filename>README</filename> file in this directory). Many of them
|
||||
@ -145,36 +124,18 @@ make</userinput></screen>
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<!--
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>sed -e ...</command>: This command fixes compilation with
|
||||
libX11-1.6.0 and later.
|
||||
</para>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/static-libraries.xml"/>
|
||||
|
||||
<para>
|
||||
<option>--disable-alsa-shared</option>: This switch disables
|
||||
dynamically loading ALSA shared libraries.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>--disable-sdl-dlopen</option>: This switch disables using
|
||||
dlopen for shared object loading. Loading image backend libraries like
|
||||
libpng dynamically on the fly does not work.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>--disable-x11-shared</option>: This switch disables
|
||||
<option>- -disable-x11-shared</option>: This switch disables
|
||||
dynamically loading X11 shared libraries.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
-->
|
||||
<!--
|
||||
<sect2 role="configuration">
|
||||
<title>Configuring SDL</title>
|
||||
|
||||
@ -187,7 +148,7 @@ make</userinput></screen>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
-->
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
@ -198,8 +159,8 @@ make</userinput></screen>
|
||||
|
||||
<seglistitem>
|
||||
<seg>sdl-config</seg>
|
||||
<seg>libSDL.so and libSDLmain.a</seg>
|
||||
<seg>/usr/include/SDL and /usr/share/doc/SDL-&sdl-version;</seg>
|
||||
<seg>libSDL.so</seg>
|
||||
<seg>/usr/include/SDL</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
@ -226,7 +187,8 @@ make</userinput></screen>
|
||||
<term><filename class="libraryfile">libSDL.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
contains functions that provide low level access to audio,
|
||||
contains functions that provide compatibility links to SDL2
|
||||
low level functions for audio,
|
||||
keyboard, mouse, joystick, 3D hardware via OpenGL, and
|
||||
2D frame buffer across multiple platforms
|
||||
</para>
|
||||
|
@ -1045,7 +1045,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY pulseaudio-major-version "16.1">
|
||||
<!ENTITY pulseaudio-version "&pulseaudio-major-version;">
|
||||
<!ENTITY sbc-version "2.0">
|
||||
<!ENTITY sdl-version "1.2.15">
|
||||
<!ENTITY sdl-version "1.2.60">
|
||||
<!ENTITY sdl2-version "2.26.5">
|
||||
<!ENTITY sound-theme-freedesktop-version "0.8">
|
||||
<!ENTITY soundtouch-version "2.3.2">
|
||||
|
Loading…
Reference in New Issue
Block a user