Changeset 5028839f
- Timestamp:
- 09/17/2023 04:55:11 PM (9 months ago)
- Branches:
- 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
- Children:
- 2adc3b67
- Parents:
- 3f65573
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/genlib.xml
r3f65573 r5028839f 78 78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="intel-gmmlib.xml"/> 79 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="jansson.xml"/> 80 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js91.xml"/>-->81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js102.xml"/>82 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-c.xml"/> 83 81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-glib.xml"/> … … 159 157 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qca.xml"/> 160 158 <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qjson.xml"/>--> 159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="spidermonkey.xml"/> 161 160 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="talloc.xml"/> 162 161 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="telepathy-glib.xml"/> -
general/genlib/spidermonkey.xml
r3f65573 r5028839f 5 5 %general-entities; 6 6 7 <!-- for when firefox and js91 use same version 8 <!ENTITY ff91-version "&firefox-version;"> 9 and when they are on different versions - keep this for when 10 we have moved to next firefox-esr (ff-91) and JS has not moved 11 <!ENTITY ff91-version "&JS91-version;"> --> 12 13 <!--<!ENTITY ff102-version "&firefox-version;">--> 14 <!ENTITY js102-download-http "&mozilla-http;/firefox/releases/&JS102-version;esr/source/firefox-&JS102-version;esr.source.tar.xz"> 15 <!ENTITY js102-download-ftp " "> 16 <!ENTITY js102-md5sum "466e1dbe2a2eb23eceeb8986568e59c7"> 17 <!ENTITY js102-size "464 MB"> 18 <!ENTITY js102-buildsize "3.3 GB (39 MB installed after removing 34MB static lib)"> 19 <!ENTITY js102-time "2.0 SBU (with parallelism=4)"> 7 <!ENTITY spidermonkey-download-http "&mozilla-http;/firefox/releases/&spidermonkey-version;esr/source/firefox-&spidermonkey-version;esr.source.tar.xz"> 8 <!ENTITY spidermonkey-download-ftp " "> 9 <!ENTITY spidermonkey-md5sum "466e1dbe2a2eb23eceeb8986568e59c7"> 10 <!ENTITY spidermonkey-size "464 MB"> 11 <!ENTITY spidermonkey-buildsize "3.3 GB (39 MB installed after removing 34MB static lib)"> 12 <!ENTITY spidermonkey-time "2.0 SBU (with parallelism=4)"> 20 13 ]> 21 14 22 <sect1 id=" js102" xreflabel="JS-&JS102-version;">23 <?dbhtml filename=" js102.html"?>24 25 26 <title> JS-&JS102-version;</title>27 28 <indexterm zone=" js102">29 <primary sortas="a- js102">js102</primary>15 <sect1 id="spidermonkey" xreflabel="SpiderMonkey from Firefox-&spidermonkey-version;"> 16 <?dbhtml filename="spidermonkey.html"?> 17 18 19 <title>SpiderMonkey from Firefox-&spidermonkey-version;</title> 20 21 <indexterm zone="spidermonkey"> 22 <primary sortas="a-spidermonkey">SpiderMonkey</primary> 30 23 </indexterm> 31 24 32 25 <sect2 role="package"> 33 <title>Introduction to JS</title> 34 35 <para> 36 <application>JS</application> (also known as 37 <application>SpiderMonkey</application>) is Mozilla's JavaScript and 26 <title>Introduction to SpiderMonkey</title> 27 28 <para> 29 <application>SpiderMonkey</application> is Mozilla's JavaScript and 38 30 WebAssembly Engine, written in C++ and Rust. 39 In BLFS, the source code of JSis taken from Firefox.31 In BLFS, the source code of SpiderMonkey is taken from Firefox. 40 32 </para> 41 33 … … 48 40 <listitem> 49 41 <para> 50 Download (HTTP): <ulink url="& js102-download-http;"/>51 </para> 52 </listitem> 53 <listitem> 54 <para> 55 Download (FTP): <ulink url="& js102-download-ftp;"/>56 </para> 57 </listitem> 58 <listitem> 59 <para> 60 Download MD5 sum: & js102-md5sum;61 </para> 62 </listitem> 63 <listitem> 64 <para> 65 Download size: & js102-size;66 </para> 67 </listitem> 68 <listitem> 69 <para> 70 Estimated disk space required: & js102-buildsize;71 </para> 72 </listitem> 73 <listitem> 74 <para> 75 Estimated build time: & js102-time;42 Download (HTTP): <ulink url="&spidermonkey-download-http;"/> 43 </para> 44 </listitem> 45 <listitem> 46 <para> 47 Download (FTP): <ulink url="&spidermonkey-download-ftp;"/> 48 </para> 49 </listitem> 50 <listitem> 51 <para> 52 Download MD5 sum: &spidermonkey-md5sum; 53 </para> 54 </listitem> 55 <listitem> 56 <para> 57 Download size: &spidermonkey-size; 58 </para> 59 </listitem> 60 <listitem> 61 <para> 62 Estimated disk space required: &spidermonkey-buildsize; 63 </para> 64 </listitem> 65 <listitem> 66 <para> 67 Estimated build time: &spidermonkey-time; 76 68 </para> 77 69 </listitem> … … 88 80 </itemizedlist> 89 81 --> 90 <bridgehead renderas="sect3"> JS102Dependencies</bridgehead>82 <bridgehead renderas="sect3">SpiderMonkey Dependencies</bridgehead> 91 83 92 84 <bridgehead renderas="sect4">Required</bridgehead> … … 124 116 125 117 <sect2 role="installation"> 126 <title>Installation of JS</title>118 <title>Installation of SpiderMonkey</title> 127 119 128 120 <note> 129 121 <para> 130 Unlike most other packages in BLFS, the instructions below require you 131 to untar <filename>firefox-&JS102-version;esr.tar.xz</filename> and 132 change into the <filename>firefox-&JS102-version;</filename> folder. 122 Unlike most other packages in BLFS, the instructions below require 123 you to untar 124 <filename>firefox-&spidermonkey-version;esr.tar.xz</filename> and 125 change into the <filename>firefox-&spidermonkey-version;</filename> 126 folder. 133 127 </para> 134 128 … … 157 151 158 152 <para> 159 Install <application> JS</application> by running the following153 Install <application>SpiderMonkey</application> by running the following 160 154 commands: 161 155 </para> … … 187 181 188 182 <para> 189 To run the JStest suite, issue:183 To run the SpiderMonkey test suite, issue: 190 184 <command>make -C js/src check-jstests 191 185 JSTESTS_EXTRA_ARGS="--timeout 300 --wpt=disabled"</command>. … … 205 199 <para> 206 200 An issue in the installation process causes any running program which 207 links to JS102 shared library (for example, GNOME Shell) to crash if 208 JS102 is upgraded or reinstalled. To work around this issue, remove 209 the old version of the JS102 shared library before installation: 210 </para> 211 212 <screen role="root"><userinput>rm -fv /usr/lib/libmozjs-102.so</userinput></screen> 201 links to SpiderMonkey shared library (for example, GNOME Shell) to 202 crash if SpiderMonkey is reinstalled, or upgraded or downgraded 203 without a change of the the major version number 204 (&spidermonkey-major; in &spidermonkey-version;). To work around 205 this issue, remove the old version of the SpiderMonkey shared 206 library before installation: 207 </para> 208 209 <screen role="root"><userinput>rm -fv /usr/lib/libmozjs-&spidermonkey-major;.so</userinput></screen> 213 210 </caution> 214 211 … … 219 216 <screen role="root"><userinput>make install && 220 217 rm -v /usr/lib/libjs_static.ajs && 221 sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js 102-config</userinput></screen>218 sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js&spidermonkey-major;-config</userinput></screen> 222 219 223 220 </sect2> … … 247 244 <para> 248 245 <parameter>--enable-readline</parameter>: This switch enables Readline 249 support in the JS shell.246 support in the SpiderMonkey command line interface. 250 247 </para> 251 248 252 249 <para> 253 250 <parameter>--disable-jemalloc</parameter>: This switch disables the 254 internal memory allocator used in JS102. jemalloc is only intended for255 the Firefox browser environment. For other applications using JS102,256 the application may crash as items allocated in the jemalloc allocator257 are freed on the system (glibc) allocator.251 internal memory allocator used in SpiderMonkey. jemalloc is only 252 intended for the Firefox browser environment. For other applications 253 using SpiderMonkey, the application may crash as items allocated in 254 the jemalloc allocator are freed on the system (glibc) allocator. 258 255 </para> 259 256 … … 261 258 <parameter>--disable-debug-symbols</parameter>: Don't generate debug 262 259 symbols since they are very large and most users won't need it. Remove 263 it if you want to debug JS102.260 it if you want to debug SpiderMonkey. 264 261 </para> 265 262 … … 270 267 271 268 <para> 272 <command>sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js102-config</command>: 273 Prevent <command>js102-config</command> from using buggy CFLAGS. 269 <command>sed -i '/@NSPR_CFLAGS@/d' 270 /usr/bin/js&spidermonkey-major;-config</command>: 271 Prevent <command>js&spidermonkey-major;-config</command> from using 272 buggy CFLAGS. 274 273 </para> 275 274 … … 294 293 Use it if you are building this package on a 32-bit system with 295 294 GCC (if Clang is not installed or GCC is explicitly specified). 296 Note that this will cause JS to crash on a processor without SSE2297 capability. If you are running the system on such an old processor,298 Clang is strictly needed. This setting is not needed on 64-bit299 systems because all 64-bit x86 processors support SSE2 and the 64-bit300 compilers (both Clang and GCC) use SSE2 by default.295 Note that this will cause SpiderMonkey to crash on a processor without 296 SSE2 capability. If you are running the system on such an old 297 processor, Clang is strictly needed. This setting is not needed on 298 64-bit systems because all 64-bit x86 processors support SSE2 and the 299 64-bit compilers (both Clang and GCC) use SSE2 by default. 301 300 </para> 302 301 </sect2> … … 312 311 <seglistitem> 313 312 <seg> 314 js 102 and js102-config313 js&spidermonkey-major; and js&spidermonkey-major;-config 315 314 </seg> 316 315 <seg> 317 libmozjs- 102.so316 libmozjs-&spidermonkey-major;.so 318 317 </seg> 319 318 <seg> 320 /usr/include/mozjs- 102319 /usr/include/mozjs-&spidermonkey-major; 321 320 </seg> 322 321 </seglistitem> … … 328 327 <?dbhtml list-presentation="table"?> 329 328 330 <varlistentry id="js 102-js102">331 <term><command>js 102</command></term>329 <varlistentry id="js&spidermonkey-major;"> 330 <term><command>js&spidermonkey-major;</command></term> 332 331 <listitem> 333 332 <para> … … 335 334 <application>JavaScript</application> engine 336 335 </para> 337 <indexterm zone="js102 js102"> 338 <primary sortas="b-js102">js102</primary> 336 <indexterm zone="spidermonkey js&spidermonkey-major;"> 337 <primary sortas="b-js&spidermonkey-major;"> 338 js&spidermonkey-major; 339 </primary> 339 340 </indexterm> 340 341 </listitem> 341 342 </varlistentry> 342 343 343 <varlistentry id="js 102-config">344 <term><command>js 102-config</command></term>344 <varlistentry id="js&spidermonkey-major;-config"> 345 <term><command>js&spidermonkey-major;-config</command></term> 345 346 <listitem> 346 347 <para> 347 is used to find the JScompiler and linker flags348 is used to find the SpiderMonkey compiler and linker flags 348 349 </para> 349 <indexterm zone="js102 js102-config"> 350 <primary sortas="b-js102-config">js102-config</primary> 350 <indexterm zone="spidermonkey js&spidermonkey-major;-config"> 351 <primary sortas="b-js&spidermonkey-major;-config">i 352 js&spidermonkey-major;-config 353 </primary> 351 354 </indexterm> 352 355 </listitem> 353 356 </varlistentry> 354 357 355 <varlistentry id="libmozjs-102"> 356 <term><filename class="libraryfile">libmozjs-102.so</filename></term> 358 <varlistentry id="libmozjs-&spidermonkey-major;"> 359 <term> 360 <filename class="libraryfile"> 361 libmozjs-&spidermonkey-major;.so 362 </filename> 363 </term> 357 364 <listitem> 358 365 <para> 359 366 contains the Mozilla JavaScript API functions 360 367 </para> 361 <indexterm zone="js102 libmozjs-102"> 362 <primary sortas="c-libmozjs102">libmozjs-102.so</primary> 368 <indexterm zone="spidermonkey libmozjs-&spidermonkey-major;"> 369 <primary sortas="c-libmozjs&spidermonkey-major;"> 370 libmozjs-&spidermonkey-major;.so 371 </primary> 363 372 </indexterm> 364 373 </listitem> -
gnome/platform/gjs.xml
r3f65573 r5028839f 74 74 <xref linkend="dbus"/>, 75 75 <xref linkend="gobject-introspection"/>, and 76 <xref linkend=" js102"/>76 <xref linkend="spidermonkey"/> 77 77 </para> 78 78 -
packages.ent
r3f65573 r5028839f 118 118 <!ENTITY intel-gmmlib-version "22.3.11"> 119 119 <!ENTITY jansson-version "2.14"> 120 <!ENTITY JS102-version "102.15.0">121 120 <!ENTITY json-c-version "0.17"> 122 121 <!ENTITY json-glib-version "1.6.6"> … … 183 182 <!ENTITY pth-version "2.0.7"> 184 183 <!ENTITY qca-version "2.3.7"> 184 <!ENTITY spidermonkey-major "102"> 185 <!ENTITY spidermonkey-version "&spidermonkey-major;.15.0"> 185 186 <!ENTITY talloc-version "2.4.1"> 186 187 <!ENTITY telepathy-glib-version "0.24.2"> -
postlfs/security/polkit.xml
r3f65573 r5028839f 131 131 <para role="optional"> 132 132 <xref linkend="gtk-doc"/>, 133 <xref linkend=" js102"/> (can be used in place of duktape), and134 <xref linkend=" python-dbusmock"/> (for tests)133 <xref linkend="python-dbusmock"/>, and 134 <xref linkend="spidermonkey"/> (can be used in place of duktape) 135 135 </para> 136 136 … … 183 183 184 184 <para> 185 If using <xref linkend=" js102"/>, make the following change (see Command186 Explanations below for more information):185 If using <xref linkend="spidermonkey"/>, make the following change 186 (see Command Explanations below for more information): 187 187 </para> 188 188 … … 273 273 <para> 274 274 <option>-Djs_engine=mozjs</option>: This switch allows using the 275 <xref linkend=" js102"/> JavaScript engine instead of the275 <xref linkend="spidermonkey"/> JavaScript engine instead of the 276 276 <xref linkend='duktape'/> JavaScript engine. 277 277 </para>
Note:
See TracChangeset
for help on using the changeset viewer.