Changeset 676ee3a7


Ignore:
Timestamp:
04/07/2023 05:24:36 PM (13 months ago)
Author:
Bruce Dubbs <bdubbs@…>
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
Message:

Change SDL-1.2 to sdl12-compat-release-1.2.60.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r8a742802 r676ee3a7  
    4040    -->
    4141   <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>
    4252     <para>April 6th, 2023</para>
    4353     <itemizedlist>
  • multimedia/libdriv/sdl.xml

    r8a742802 r676ee3a7  
    55  %general-entities;
    66
    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">
    88  <!ENTITY sdl-download-ftp  " ">
    9   <!ENTITY sdl-md5sum        "9d96df8417572a2afb781a7c4c811a85">
    10   <!ENTITY sdl-size          "3.8 MB">
    11   <!ENTITY sdl-buildsize     "40 MB">
    12   <!ENTITY sdl-time          "0.6 SBU">
     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">
    1313]>
    1414
    15 <sect1 id="sdl" xreflabel="SDL-&sdl-version;">
     15<sect1 id="sdl" xreflabel="sdl12-compat-&sdl-version;">
    1616  <?dbhtml filename="sdl.html"?>
    1717
    1818
    19   <title>SDL-&sdl-version;</title>
     19  <title>sdl12-compat-&sdl-version;</title>
    2020
    2121  <indexterm zone="sdl">
     
    2424
    2525  <sect2 role="package">
    26     <title>Introduction to SDL</title>
     26    <title>Introduction to sdl12-compat</title>
    2727
    2828    <para>
    2929      The Simple DirectMedia Layer (<application>SDL</application>
    3030      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.
    3234    </para>
    3335
     
    7072    <bridgehead renderas="sect3">SDL Dependencies</bridgehead>
    7173
    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<!--
    9480    <para condition="html" role="usernotes">User Notes:
    9581    <ulink url="&blfs-wiki;/sdl"/></para>
    96 
     82-->
    9783  </sect2>
    9884
    9985  <sect2 role="installation">
    100     <title>Installation of SDL</title>
    101 
    102     <para>
    103       Install <application>SDL</application> by running the
     86    <title>Installation of sdl12-compat</title>
     87
     88    <para>
     89      Install <application>sdl12-compat</application> by running the
    10490      following commands:
    10591    </para>
    10692
    107 <screen><userinput>sed -e '/_XData32/s:register long:register _Xconst long:' \
    108     -i src/video/x11/SDL_x11sym.h &amp;&amp;
    109 
    110 ./configure --prefix=/usr --disable-static &amp;&amp;
    111 
     93<screen><userinput>mkdir build &amp;&amp;
     94cd    build &amp;&amp;
     95
     96cmake -DCMAKE_INSTALL_PREFIX=/usr \
     97      -DCMAKE_BUILD_TYPE=RELEASE  \
     98      ..  &amp;&amp;
    11299make</userinput></screen>
    113100
     
    117104
    118105<screen role="root"><userinput>make install &amp;&amp;
    119 
    120 install -v -m755 -d /usr/share/doc/SDL-&sdl-version;/html &amp;&amp;
    121 install -v -m644    docs/html/*.html \
    122                     /usr/share/doc/SDL-&sdl-version;/html</userinput></screen>
     106rm -vf /usr/lib/libSDLmain.a</userinput></screen>
    123107
    124108  </sect2>
     
    128112
    129113    <para>
    130       If you wish to, test the installation of <application>SDL</application>
     114      If you wish, test the <application>sdlcompat</application> package
    131115      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 &amp;&amp;
    137 ./configure &amp;&amp;
    138 make</userinput></screen>
     116      the resulting binaries to validate the installation.
     117    </para>
    139118
    140119    <para>
     
    146125
    147126  </sect2>
    148 
     127<!--
    149128  <sect2 role="commands">
    150129    <title>Command Explanations</title>
    151130
    152131    <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
    173133      dynamically loading X11 shared libraries.
    174134    </para>
    175135
    176136  </sect2>
    177 
     137-->
     138<!--
    178139  <sect2 role="configuration">
    179140    <title>Configuring SDL</title>
     
    188149
    189150  </sect2>
    190 
     151-->
    191152  <sect2 role="content">
    192153    <title>Contents</title>
     
    199160      <seglistitem>
    200161        <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>
    203164      </seglistitem>
    204165    </segmentedlist>
     
    227188        <listitem>
    228189          <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,
    230192            keyboard, mouse, joystick, 3D hardware via OpenGL, and
    231193            2D frame buffer across multiple platforms
  • packages.ent

    r8a742802 r676ee3a7  
    10461046<!ENTITY pulseaudio-version           "&pulseaudio-major-version;">
    10471047<!ENTITY sbc-version                  "2.0">
    1048 <!ENTITY sdl-version                  "1.2.15">
     1048<!ENTITY sdl-version                  "1.2.60">
    10491049<!ENTITY sdl2-version                 "2.26.5">
    10501050<!ENTITY sound-theme-freedesktop-version "0.8">
Note: See TracChangeset for help on using the changeset viewer.