Changeset eb7de89 for general/prog/lua.xml
- Timestamp:
- 06/30/2020 10:01:54 PM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/lua.xml
r5ce1bdb reb7de89 7 7 <!ENTITY lua-download-http "http://www.lua.org/ftp/lua-&lua-version;.tar.gz"> 8 8 <!ENTITY lua-download-ftp " "> 9 <!ENTITY lua-md5sum " 4f4b4f323fd3514a68e0ab3da8ce3455">10 <!ENTITY lua-size "3 00KB">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)"> 12 12 <!ENTITY lua-time "less than 0.1 SBU (with Basic tests)"> 13 13 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"> 17 15 <!ENTITY lua-tests-download-ftp " "> 18 <!ENTITY lua-tests-md5sum " b14fe3748c1cb2d74e3acd1943629ba3">19 <!ENTITY lua-tests-size "1 04 KB">16 <!ENTITY lua-tests-md5sum "3d7768b090046506afa974a4ac0c5ba2"> 17 <!ENTITY lua-tests-size "124 KB"> 20 18 ]> 21 19 … … 128 126 129 127 <screen><userinput>cat > lua.pc << "EOF" 130 <literal>V=5. 3128 <literal>V=5.4 131 129 R=&lua-version; 132 130 … … 156 154 157 155 <screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-1.patch && 158 sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h && 159 160 make MYCFLAGS="-DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" linux</userinput></screen> 156 make 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.--> 161 161 162 162 <para> 163 163 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>. 165 165 More comprehensive tests can be performed if you downloaded the "Test 166 166 suite" tarball. Those tests need to be executed after the package is … … 175 175 INSTALL_DATA="cp -d" \ 176 176 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;" \ 178 178 install && 179 <!-- As stated above, we have to hardcode 5.3.4. -->180 179 181 180 mkdir -pv /usr/share/doc/lua-&lua-version; && … … 187 186 Here we describe only the "Basic tests". Untar the tarball and 188 187 change to the 189 <filename class="directory">lua- 5.3.4-tests</filename> directory,188 <filename class="directory">lua-&lua-version;-tests</filename> directory, 190 189 then issue 191 190 <command>lua -e "_U=true" all.lua</command>. If the tests finish without … … 193 192 </para> 194 193 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 197 199 <sect2 role="commands"> 198 200 <title>Command Explanations</title> … … 210 212 211 213 </sect2> 214 --> 212 215 213 216 <sect2 role="content">
Note:
See TracChangeset
for help on using the changeset viewer.