Changeset c8229af


Ignore:
Timestamp:
12/01/2015 03:40:15 PM (9 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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:
44884ae
Parents:
692b415e
Message:
  • Update to lua-5.3.2. Added optional "Basic tests".

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/lua.xml

    r692b415e rc8229af  
    88  <!ENTITY lua-download-ftp  " ">
    99  <!ENTITY lua-md5sum        "797adacada8d85761c079390ff1d9961">
    10   <!ENTITY lua-size          "276 KB">
    11   <!ENTITY lua-buildsize     "3.9 MB (with test)">
    12   <!ENTITY lua-time          "less than 0.1 SBU (with test)">
     10  <!ENTITY lua-size          "284 KB">
     11  <!ENTITY lua-buildsize     "4 MB (add 440 KB for the Basic tests)">
     12  <!ENTITY lua-time          "less than 0.1 SBU (with Basic tests)">
     13
     14  <!ENTITY lua-tests-download-http "http://www.lua.org/tests/lua-&lua-version;-tests.tar.gz">
     15  <!ENTITY lua-tests-download-ftp  " ">
     16  <!ENTITY lua-tests-md5sum        "a2b7ab1b8ff82a0145376e233ef30a4a">
     17  <!ENTITY lua-tests-size          "100 KB">
    1318]>
    1419
     
    8590        </para>
    8691      </listitem>
     92      <listitem>
     93        <para>
     94          Optional Test Suite Download (HTTP): <ulink url="&lua-tests-download-http;"/>
     95        </para>
     96      </listitem>
     97      <listitem>
     98        <para>
     99          Optional Test Suite Download (FTP): <ulink url="&lua-tests-download-ftp;"/>
     100        </para>
     101      </listitem>
     102      <listitem>
     103        <para>
     104          Optional Test Suite Download MD5 sum: &lua-tests-md5sum;
     105        </para>
     106      </listitem>
     107      <listitem>
     108        <para>
     109          Optional Test Suite Download size: &lua-tests-size;
     110        </para>
     111      </listitem>
    87112    </itemizedlist>
    88113
     
    101126
    102127<screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-1.patch &amp;&amp;
     128
    103129sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h &amp;&amp;
     130
    104131make linux</userinput></screen>
    105132
    106133    <para>
    107134      To test the results, issue: <command>make test</command>.
    108       <quote>This will run the interpreter and print its version.</quote>
     135      <quote>This will run the interpreter and print its version.</quote>.
     136      More comprehensive tests can be performed if you downloaded the "Test
     137      suite" tarball. Those tests need to be executed after the package is
     138      installed, thus we defer to describe then below.
    109139    </para>
    110140
     
    115145<screen role="root"><userinput>make INSTALL_TOP=/usr TO_LIB="liblua.so liblua.so.5.3 liblua.so.&lua-version;" \
    116146     INSTALL_DATA="cp -d" INSTALL_MAN=/usr/share/man/man1 install &amp;&amp;
     147
    117148mkdir -pv /usr/share/doc/lua-&lua-version; &amp;&amp;
    118149cp -v doc/*.{html,css,gif,png} /usr/share/doc/lua-&lua-version;</userinput></screen>
     
    145176EOF</userinput></screen>
    146177
     178    <para>
     179      We are going to describe only the "Basic tests". Untar the tarball and
     180      change to the
     181      <filename class="directory">lua-&lua-version;-tests</filename> directory,
     182      then issue
     183      <command>lua -e"_U=true" all.lua</command>. If the tests finish without
     184      error, you will see a message containing the string "final OK", at the
     185      end.
     186    </para>
     187
    147188  </sect2>
    148189
     
    173214        </seg>
    174215        <seg>
    175           /usr/lib/lua,
    176           /usr/share/lua and
     216          /usr/{lib,share}/lua and
    177217          /usr/share/doc/lua-&lua-version;
    178218        </seg>
  • introduction/welcome/changelog.xml

    r692b415e rc8229af  
    4444
    4545-->
     46
     47    <listitem>
     48      <para>December 1st, 2015</para>
     49      <itemizedlist>
     50       <listitem>
     51         <para>[fernando] - Update to lua-5.3.2. Added optional "Basic tests".
     52         Fixes <ulink url="&blfs-ticket-root;7193">#7193</ulink>.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
    4656
    4757    <listitem>
  • packages.ent

    r692b415e rc8229af  
    268268<!ENTITY librep-version               "0.92.5">
    269269<!ENTITY llvm-version                 "3.7.0">
    270 <!ENTITY lua-version                  "5.3.1">
     270<!ENTITY lua-version                  "5.3.2">
    271271<!ENTITY mercurial-version            "3.6.1">
    272272<!ENTITY nasm-version                 "2.11.08">
Note: See TracChangeset for help on using the changeset viewer.