- Timestamp:
- 03/06/2022 08:22:05 AM (2 years ago)
- Branches:
- 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, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
- Children:
- 60caf48
- Parents:
- 364c21e
- Location:
- general/genlib
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/genlib.xml
r364c21e rb5b1af68 76 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inih.xml"/> 77 77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="jansson.xml"/> 78 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js38.xml"/> --> 79 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js52.xml"/> --> 80 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js60.xml"/> --> 81 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js68.xml"/> --> 82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js78.xml"/> 78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js91.xml"/> 83 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-c.xml"/> 84 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-glib.xml"/> -
general/genlib/js91.xml
r364c21e rb5b1af68 5 5 %general-entities; 6 6 7 <!-- for when firefox and js 78use same version8 <!ENTITY ff 78-version "&firefox-version;">7 <!-- for when firefox and js91 use same version 8 <!ENTITY ff91-version "&firefox-version;"> 9 9 and when they are on different versions - keep this for when 10 10 we have moved to next firefox-esr (ff-91) and JS has not moved 11 <!ENTITY ff 78-version "&JS78-version;"> -->12 13 <!-- <!ENTITY ff 78-version "&firefox-version;">-->14 <!ENTITY js 78-download-http "&mozilla-http;/firefox/releases/&JS78-version;esr/source/firefox-&JS78-version;esr.source.tar.xz">15 <!ENTITY js 78-download-ftp " ">16 <!ENTITY js 78-md5sum "453c90444bad8702fd08b71213ab2cbc">17 <!ENTITY js 78-size "316MB">18 <!ENTITY js 78-buildsize "3.0 GB (36MB installed after removing 34MB static lib)">19 <!ENTITY js 78-time "2.5SBU (with parallelism=4)">11 <!ENTITY ff91-version "&JS91-version;"> --> 12 13 <!-- <!ENTITY ff91-version "&firefox-version;">--> 14 <!ENTITY js91-download-http "&mozilla-http;/firefox/releases/&JS91-version;esr/source/firefox-&JS91-version;esr.source.tar.xz"> 15 <!ENTITY js91-download-ftp " "> 16 <!ENTITY js91-md5sum "038c417db527350d4fdd039870af819b"> 17 <!ENTITY js91-size "369 MB"> 18 <!ENTITY js91-buildsize "3.1 GB (37 MB installed after removing 34MB static lib)"> 19 <!ENTITY js91-time "7.0 SBU (with parallelism=4)"> 20 20 ]> 21 21 22 <sect1 id="js 78" xreflabel="js78-&JS78-version;">23 <?dbhtml filename="js 78.html"?>22 <sect1 id="js91" xreflabel="JS-&JS91-version;"> 23 <?dbhtml filename="js91.html"?> 24 24 25 25 <sect1info> … … 27 27 </sect1info> 28 28 29 <title>JS-&JS 78-version;</title>30 31 <indexterm zone="js 78">32 <primary sortas="a-js 78">js78</primary>29 <title>JS-&JS91-version;</title> 30 31 <indexterm zone="js91"> 32 <primary sortas="a-js91">js91</primary> 33 33 </indexterm> 34 34 … … 38 38 <para> 39 39 <application>JS</application> is Mozilla's JavaScript engine 40 written in C. JS 78is taken from Firefox.40 written in C. JS91 is taken from Firefox. 41 41 </para> 42 42 … … 47 47 <listitem> 48 48 <para> 49 Download (HTTP): <ulink url="&js 78-download-http;"/>50 </para> 51 </listitem> 52 <listitem> 53 <para> 54 Download (FTP): <ulink url="&js 78-download-ftp;"/>55 </para> 56 </listitem> 57 <listitem> 58 <para> 59 Download MD5 sum: &js 78-md5sum;60 </para> 61 </listitem> 62 <listitem> 63 <para> 64 Download size: &js 78-size;65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Estimated disk space required: &js 78-buildsize;70 </para> 71 </listitem> 72 <listitem> 73 <para> 74 Estimated build time: &js 78-time;49 Download (HTTP): <ulink url="&js91-download-http;"/> 50 </para> 51 </listitem> 52 <listitem> 53 <para> 54 Download (FTP): <ulink url="&js91-download-ftp;"/> 55 </para> 56 </listitem> 57 <listitem> 58 <para> 59 Download MD5 sum: &js91-md5sum; 60 </para> 61 </listitem> 62 <listitem> 63 <para> 64 Download size: &js91-size; 65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Estimated disk space required: &js91-buildsize; 70 </para> 71 </listitem> 72 <listitem> 73 <para> 74 Estimated build time: &js91-time; 75 75 </para> 76 76 </listitem> 77 77 </itemizedlist> 78 78 <!-- 79 79 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 80 80 <itemizedlist spacing="compact"> … … 82 82 <para> 83 83 Required patch: 84 <ulink url="&patch-root;/js-&JS 78-version;-python_3_10-1.patch"/>84 <ulink url="&patch-root;/js-&JS91-version;-python_3_10-1.patch"/> 85 85 </para> 86 86 </listitem> 87 87 </itemizedlist> 88 89 <bridgehead renderas="sect3">JS 78Dependencies</bridgehead>88 --> 89 <bridgehead renderas="sect3">JS91 Dependencies</bridgehead> 90 90 91 91 <bridgehead renderas="sect4">Required</bridgehead> 92 92 <para role="required"> 93 <xref linkend="autoconf213"/>,94 93 <xref linkend="icu"/>, 95 94 <xref linkend="rust"/>, and … … 105 104 106 105 <para condition="html" role="usernotes"> 107 User Notes: <ulink url="&blfs-wiki;/js 78"/>106 User Notes: <ulink url="&blfs-wiki;/js91"/> 108 107 </para> 109 108 </sect2> … … 115 114 <para> 116 115 Unlike most other packages in BLFS, the instructions below require you 117 to untar <filename>firefox-&JS 78-version;esr.tar.xz</filename> and118 change into the <filename>firefox-&JS 78-version;</filename> folder.116 to untar <filename>firefox-&JS91-version;esr.tar.xz</filename> and 117 change into the <filename>firefox-&JS91-version;</filename> folder. 119 118 </para> 120 119 … … 141 140 142 141 </note> 143 142 <!-- 144 143 <para> 145 144 Apply a patch to allow building this package with Python-3.10 or … … 147 146 </para> 148 147 149 <screen><userinput>patch -Np1 -i ../js-&JS 78-version;-python_3_10-1.patch</userinput></screen>150 148 <screen><userinput>patch -Np1 -i ../js-&JS91-version;-python_3_10-1.patch</userinput></screen> 149 --> 151 150 <para> 152 151 Install <application>JS</application> by running the following … … 172 171 173 172 CC=gcc CXX=g++ \ 174 ../js/src/configure--prefix=/usr \175 --with-intl-api \176 --with-system-zlib \177 --with-system-icu \178 --disable-jemalloc \179 --disable-debug-symbols \180 --enable-readline &&173 sh ../js/src/configure.in --prefix=/usr \ 174 --with-intl-api \ 175 --with-system-zlib \ 176 --with-system-icu \ 177 --disable-jemalloc \ 178 --disable-debug-symbols \ 179 --enable-readline && 181 180 make</userinput></screen> 182 181 … … 187 186 It's recommended to redirect the output into a log. 188 187 <!-- recheck when ICU gets upgraded --> 189 <!-- ken: removed "are known to fail' because there are 190 4096 known failures, these icu items are unexpected failures 191 and I found the wording confusing --> 192 <!-- ken : For 78.4 this was 14 failures, I changed it to 10 for 78.5. 193 On that machine with 78.6 still 10, but on another 14, both with similar 194 setup and locale. 195 Depending on the machine, either 196 ten or fourteen JS tests related to locale and timezone fail, 197 because of an issue with recent versions of <xref linkend="icu"/>. 198 pierre: Now, with icu-70.1, there are many more failures.--> 199 More than a hundred tests fail after upgrading to icu-70.1 or above, 200 out of a total of more than 40,000. 188 Because we are building with system ICU, more than one hundred tests 189 (out of a total of more than 40,000) are known to fail. 201 190 </para> 202 191 <para> 203 192 To run the JIT test suite, issue: 204 193 <command>make -C js/src check-jit-test 205 JITTEST_EXTRA_ARGS="--timeout 300"</command>. One test may fail.194 JITTEST_EXTRA_ARGS="--timeout 300"</command>. 206 195 </para> 207 196 … … 209 198 <para> 210 199 An issue in the installation process causes any running program which 211 links to JS 78shared library (for example, GNOME Shell) to crash if212 JS 78is upgraded or reinstalled. To work around this issue, remove213 the old version of the JS 78shared library before installation:200 links to JS91 shared library (for example, GNOME Shell) to crash if 201 JS91 is upgraded or reinstalled. To work around this issue, remove 202 the old version of the JS91 shared library before installation: 214 203 </para> 215 204 216 <screen role="root"><userinput>rm -fv /usr/lib/libmozjs- 78.so</userinput></screen>205 <screen role="root"><userinput>rm -fv /usr/lib/libmozjs-91.so</userinput></screen> 217 206 </caution> 218 207 … … 223 212 <screen role="root"><userinput>make install && 224 213 rm -v /usr/lib/libjs_static.ajs && 225 sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js 78-config</userinput></screen>214 sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js91-config</userinput></screen> 226 215 227 216 </sect2> 228 217 229 <!-- Several gjs-1.65.90 tests fail with js 78. Not sure why.218 <!-- Several gjs-1.65.90 tests fail with js91. Not sure why. 230 219 OTOH an "otherwise" GNOME-3.36 environment works fine. --> 231 220 … … 240 229 241 230 <para> 242 <parameter>--with-*</parameter>: These parameters allow the build system 231 <command>sh ../js/src/configure.in</command>: 232 <filename>configure.in</filename> is actually a shell script, but 233 the executable bit is not set in its permission mode so it's needed 234 to explicitly run it with <command>sh</command>. 235 </para> 236 237 <para> 238 <parameter>--with-intl-api</parameter>: This enables the 239 internationalization functions required by 240 <application>Gjs</application>. 241 </para> 242 243 <para> 244 <parameter>--with-system-*</parameter>: These parameters allow the build system 243 245 to use system versions of the above libraries. These are required for 244 246 stability. … … 252 254 <para> 253 255 <parameter>--disable-jemalloc</parameter>: This switch disables the 254 internal memory allocator used in JS 78. jemalloc is only intended for255 the Firefox browser environment. For other applications using JS 78,256 if JS 78uses jemalloc, the application may crash as items allocated256 internal memory allocator used in JS91. jemalloc is only intended for 257 the Firefox browser environment. For other applications using JS91, 258 if JS91 uses jemalloc, the application may crash as items allocated 257 259 in jemalloc allocator are freed on system (glibc) allocator. 258 260 </para> … … 261 263 <parameter>--disable-debug-symbols</parameter>: Don't generate debug 262 264 symbols since they are very large and most users won't need it. Remove 263 it if you want to debug JS 78.265 it if you want to debug JS91. 264 266 </para> 265 267 … … 270 272 271 273 <para> 272 <command>sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js 78-config</command>:273 Prevent <command>js 78-config</command> from using buggy CFLAGS.274 <command>sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js91-config</command>: 275 Prevent <command>js91-config</command> from using buggy CFLAGS. 274 276 </para> 275 277 … … 286 288 <seglistitem> 287 289 <seg> 288 js 78 and js78-config290 js91 and js91-config 289 291 </seg> 290 292 <seg> 291 libmozjs- 78.so293 libmozjs-91.so 292 294 </seg> 293 295 <seg> 294 /usr/include/mozjs- 78296 /usr/include/mozjs-91 295 297 </seg> 296 298 </seglistitem> … … 302 304 <?dbhtml list-presentation="table"?> 303 305 304 <varlistentry id="js 6-js78">305 <term><command>js 78</command></term>306 <varlistentry id="js91-js91"> 307 <term><command>js91</command></term> 306 308 <listitem> 307 309 <para> … … 309 311 <application>JavaScript</application> engine 310 312 </para> 311 <indexterm zone="js 78 js78">312 <primary sortas="b-js 78">js78</primary>313 <indexterm zone="js91 js91"> 314 <primary sortas="b-js91">js91</primary> 313 315 </indexterm> 314 316 </listitem> 315 317 </varlistentry> 316 318 317 <varlistentry id="js 78-config">318 <term><command>js 78-config</command></term>319 <varlistentry id="js91-config"> 320 <term><command>js91-config</command></term> 319 321 <listitem> 320 322 <para> 321 323 is used to find the JS compiler and linker flags 322 324 </para> 323 <indexterm zone="js 78 js78-config">324 <primary sortas="b-js 78-config">js78-config</primary>325 <indexterm zone="js91 js91-config"> 326 <primary sortas="b-js91-config">js91-config</primary> 325 327 </indexterm> 326 328 </listitem> 327 329 </varlistentry> 328 330 329 <varlistentry id="libmozjs- 78">330 <term><filename class="libraryfile">libmozjs- 78.so</filename></term>331 <varlistentry id="libmozjs-91"> 332 <term><filename class="libraryfile">libmozjs-91.so</filename></term> 331 333 <listitem> 332 334 <para> 333 335 contains the Mozilla JavaScript API functions 334 336 </para> 335 <indexterm zone="js 78 libmozjs-78">336 <primary sortas="c-libmozjs 78">libmozjs-78.so</primary>337 <indexterm zone="js91 libmozjs-91"> 338 <primary sortas="c-libmozjs91">libmozjs-91.so</primary> 337 339 </indexterm> 338 340 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.