Changeset 676ee3a7
- Timestamp:
- 04/07/2023 05:24:36 PM (13 months ago)
- Branches:
- 12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
- Children:
- 03adc377
- Parents:
- 8a742802
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/welcome/changelog.xml
r8a742802 r676ee3a7 40 40 --> 41 41 <listitem> 42 <para>April 7th, 2023</para> 43 <itemizedlist> 44 <listitem> 45 <para>[bdubbs] - Change SDL-1.2 to sdl12-compat-release-1.2.60. Fixes 46 <ulink url="&blfs-ticket-root;17898">#17898</ulink>.</para> 47 </listitem> 48 </itemizedlist> 49 </listitem> 50 51 <listitem> 42 52 <para>April 6th, 2023</para> 43 53 <itemizedlist> -
multimedia/libdriv/sdl.xml
r8a742802 r676ee3a7 5 5 %general-entities; 6 6 7 <!ENTITY sdl-download-http " &sources-anduin-http;/sdl/SDL-&sdl-version;.tar.gz">7 <!ENTITY sdl-download-http "https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-&sdl-version;/sdl12-compat-release-&sdl-version;.tar.gz"> 8 8 <!ENTITY sdl-download-ftp " "> 9 <!ENTITY sdl-md5sum " 9d96df8417572a2afb781a7c4c811a85">10 <!ENTITY sdl-size " 3.8 MB">11 <!ENTITY sdl-buildsize " 40MB">12 <!ENTITY sdl-time " 0.6SBU">9 <!ENTITY sdl-md5sum "a539a4a3ceb3d09b7bf312d96210443c"> 10 <!ENTITY sdl-size "432 KB"> 11 <!ENTITY sdl-buildsize "6.8 MB"> 12 <!ENTITY sdl-time "less than 0.1 SBU"> 13 13 ]> 14 14 15 <sect1 id="sdl" xreflabel=" SDL-&sdl-version;">15 <sect1 id="sdl" xreflabel="sdl12-compat-&sdl-version;"> 16 16 <?dbhtml filename="sdl.html"?> 17 17 18 18 19 <title> SDL-&sdl-version;</title>19 <title>sdl12-compat-&sdl-version;</title> 20 20 21 21 <indexterm zone="sdl"> … … 24 24 25 25 <sect2 role="package"> 26 <title>Introduction to SDL</title>26 <title>Introduction to sdl12-compat</title> 27 27 28 28 <para> 29 29 The Simple DirectMedia Layer (<application>SDL</application> 30 30 for short) is a cross-platform library designed to make it easy to write 31 multimedia software, such as games and emulators. 31 multimedia software, such as games and emulators. This code is a 32 compatibility layer; it provides a binary and source compatible API 33 for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes. 32 34 </para> 33 35 … … 70 72 <bridgehead renderas="sect3">SDL Dependencies</bridgehead> 71 73 72 <bridgehead renderas="sect4">Recommended</bridgehead> 73 <para role="recommended"> 74 <xref linkend="xorg7-lib"/> (if they are not present, the corresponding 75 modules are not built) 76 </para> 77 78 <bridgehead renderas="sect4">Optional</bridgehead> 79 <para role="optional"> 80 <xref linkend="aalib"/>, 81 <xref linkend="alsa"/>, 82 <xref linkend="glu"/>, 83 <xref linkend="nasm"/>, 84 <xref linkend="pulseaudio"/>, 85 <xref linkend="pth"/>, 86 <xref linkend="x-window-system"/>, 87 <ulink url="https://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>, 88 <ulink url="https://ibiblio.org/ggicore/">GGI</ulink>, 89 <ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>, 90 <ulink url="http://picogui.org/">PicoGUI</ulink>, and 91 <ulink url="https://www.svgalib.org/">SVGAlib</ulink> 92 </para> 93 74 <bridgehead renderas="sect4">Required</bridgehead> 75 <para role="required"> 76 <xref linkend="cmake"/> and 77 <xref linkend="sdl2"/> 78 </para> 79 <!-- 94 80 <para condition="html" role="usernotes">User Notes: 95 81 <ulink url="&blfs-wiki;/sdl"/></para> 96 82 --> 97 83 </sect2> 98 84 99 85 <sect2 role="installation"> 100 <title>Installation of SDL</title>101 102 <para> 103 Install <application> SDL</application> by running the86 <title>Installation of sdl12-compat</title> 87 88 <para> 89 Install <application>sdl12-compat</application> by running the 104 90 following commands: 105 91 </para> 106 92 107 <screen><userinput>sed -e '/_XData32/s:register long:register _Xconst long:' \ 108 -i src/video/x11/SDL_x11sym.h && 109 110 ./configure --prefix=/usr --disable-static && 111 93 <screen><userinput>mkdir build && 94 cd build && 95 96 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 97 -DCMAKE_BUILD_TYPE=RELEASE \ 98 .. && 112 99 make</userinput></screen> 113 100 … … 117 104 118 105 <screen role="root"><userinput>make install && 119 120 install -v -m755 -d /usr/share/doc/SDL-&sdl-version;/html && 121 install -v -m644 docs/html/*.html \ 122 /usr/share/doc/SDL-&sdl-version;/html</userinput></screen> 106 rm -vf /usr/lib/libSDLmain.a</userinput></screen> 123 107 124 108 </sect2> … … 128 112 129 113 <para> 130 If you wish to, test the installation of <application>SDL</application>114 If you wish, test the <application>sdlcompat</application> package 131 115 using the included test programs. It is not required to install any of 132 the resulting binaries to validate the installation. Issue the following 133 commands to build the test programs: 134 </para> 135 136 <screen remap="test"><userinput>cd test && 137 ./configure && 138 make</userinput></screen> 116 the resulting binaries to validate the installation. 117 </para> 139 118 140 119 <para> … … 146 125 147 126 </sect2> 148 127 <!-- 149 128 <sect2 role="commands"> 150 129 <title>Command Explanations</title> 151 130 152 131 <para> 153 <command>sed -e ...</command>: This command fixes compilation with 154 libX11-1.6.0 and later. 155 </para> 156 157 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 158 href="../../xincludes/static-libraries.xml"/> 159 160 <para> 161 <option>--disable-alsa-shared</option>: This switch disables 162 dynamically loading ALSA shared libraries. 163 </para> 164 165 <para> 166 <option>--disable-sdl-dlopen</option>: This switch disables using 167 dlopen for shared object loading. Loading image backend libraries like 168 libpng dynamically on the fly does not work. 169 </para> 170 171 <para> 172 <option>--disable-x11-shared</option>: This switch disables 132 <option>- -disable-x11-shared</option>: This switch disables 173 133 dynamically loading X11 shared libraries. 174 134 </para> 175 135 176 136 </sect2> 177 137 --> 138 <!-- 178 139 <sect2 role="configuration"> 179 140 <title>Configuring SDL</title> … … 188 149 189 150 </sect2> 190 151 --> 191 152 <sect2 role="content"> 192 153 <title>Contents</title> … … 199 160 <seglistitem> 200 161 <seg>sdl-config</seg> 201 <seg>libSDL.so and libSDLmain.a</seg>202 <seg>/usr/include/SDL and /usr/share/doc/SDL-&sdl-version;</seg>162 <seg>libSDL.so</seg> 163 <seg>/usr/include/SDL</seg> 203 164 </seglistitem> 204 165 </segmentedlist> … … 227 188 <listitem> 228 189 <para> 229 contains functions that provide low level access to audio, 190 contains functions that provide compatibility links to SDL2 191 low level functions for audio, 230 192 keyboard, mouse, joystick, 3D hardware via OpenGL, and 231 193 2D frame buffer across multiple platforms -
packages.ent
r8a742802 r676ee3a7 1046 1046 <!ENTITY pulseaudio-version "&pulseaudio-major-version;"> 1047 1047 <!ENTITY sbc-version "2.0"> 1048 <!ENTITY sdl-version "1.2. 15">1048 <!ENTITY sdl-version "1.2.60"> 1049 1049 <!ENTITY sdl2-version "2.26.5"> 1050 1050 <!ENTITY sound-theme-freedesktop-version "0.8">
Note:
See TracChangeset
for help on using the changeset viewer.