Ignore:
Timestamp:
06/30/2020 10:01:54 PM (4 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c744d0a5
Parents:
5ce1bdb
Message:

Update to lua-5.4.0
VIM: Adapt Lua interface to Lua-5.4
Apache/httpd: Adapt Lua module to Lua-5.4
Brotli: Remove invalid dependency on lua, there is a separate package that provides one, and it's not bundled with our download of Brotli
Dovecot: Add a command explanation describing how to build Lua support
Lua-5.2: Minor adjustment to installed files
Hexchat: Promote libcanberra to recommended

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/lua.xml

    r5ce1bdb reb7de89  
    77  <!ENTITY lua-download-http "http://www.lua.org/ftp/lua-&lua-version;.tar.gz">
    88  <!ENTITY lua-download-ftp  " ">
    9   <!ENTITY lua-md5sum        "4f4b4f323fd3514a68e0ab3da8ce3455">
    10   <!ENTITY lua-size          "300 KB">
    11   <!ENTITY lua-buildsize     "4.5 MB (with Basic tests)">
     9  <!ENTITY lua-md5sum        "dbf155764e5d433fc55ae80ea7060b60">
     10  <!ENTITY lua-size          "344 KB">
     11  <!ENTITY lua-buildsize     "5.5 MB (with Basic tests)">
    1212  <!ENTITY lua-time          "less than 0.1 SBU (with Basic tests)">
    1313
    14 <!-- Note for editors - the soname and test suite versions did not change, so I
    15      Had to hardcode them. -renodr -->
    16   <!ENTITY lua-tests-download-http "http://www.lua.org/tests/lua-5.3.4-tests.tar.gz">
     14  <!ENTITY lua-tests-download-http "http://www.lua.org/tests/lua-&lua-version;-tests.tar.gz">
    1715  <!ENTITY lua-tests-download-ftp  " ">
    18   <!ENTITY lua-tests-md5sum        "b14fe3748c1cb2d74e3acd1943629ba3">
    19   <!ENTITY lua-tests-size          "104 KB">
     16  <!ENTITY lua-tests-md5sum        "3d7768b090046506afa974a4ac0c5ba2">
     17  <!ENTITY lua-tests-size          "124 KB">
    2018]>
    2119
     
    128126
    129127<screen><userinput>cat &gt; lua.pc &lt;&lt; "EOF"
    130 <literal>V=5.3
     128<literal>V=5.4
    131129R=&lua-version;
    132130
     
    156154
    157155<screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-1.patch &amp;&amp;
    158 sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h &amp;&amp;
    159 
    160 make MYCFLAGS="-DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" linux</userinput></screen>
     156make linux</userinput></screen>
     157<!-- make MYCFLAGS="-DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" linux
     158     The MYCFLAGS="" part was brought into the patch since optimization had to
     159     be turned off.
     160     The LUA_ROOT change also has been merged into the patch.-->
    161161
    162162    <para>
    163163      To test the results, issue: <command>make test</command>.
    164       <quote>This will run the interpreter and print its version.</quote>.
     164      <quote>This will run the interpreter and print its version</quote>.
    165165      More comprehensive tests can be performed if you downloaded the "Test
    166166      suite" tarball. Those tests need to be executed after the package is
     
    175175     INSTALL_DATA="cp -d"            \
    176176     INSTALL_MAN=/usr/share/man/man1 \
    177      TO_LIB="liblua.so liblua.so.5.3 liblua.so.5.3.4" \
     177     TO_LIB="liblua.so liblua.so.5.4 liblua.so.&lua-version;" \
    178178     install &amp;&amp;
    179 <!-- As stated above, we have to hardcode 5.3.4. -->
    180179
    181180mkdir -pv                      /usr/share/doc/lua-&lua-version; &amp;&amp;
     
    187186      Here we describe only the "Basic tests". Untar the tarball and
    188187      change to the
    189       <filename class="directory">lua-5.3.4-tests</filename> directory,
     188      <filename class="directory">lua-&lua-version;-tests</filename> directory,
    190189      then issue
    191190      <command>lua -e "_U=true" all.lua</command>. If the tests finish without
     
    193192    </para>
    194193
    195   </sect2>
    196 
     194    <!-- The optimization problem fixed in the patch was identified by running
     195         the test suite, and ultimately culminated in a SIGBUS error. -->
     196  </sect2>
     197
     198  <!-- Brought into the patch, unneeded
    197199  <sect2 role="commands">
    198200    <title>Command Explanations</title>
     
    210212
    211213  </sect2>
     214  -->
    212215
    213216  <sect2 role="content">
Note: See TracChangeset for help on using the changeset viewer.