source: general/genutils/spidermonkey.xml@ 8aeb474

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8aeb474 was e1a9f414, checked in by Krejzi <krejzi@…>, 12 years ago

Mark some packages as 7.2 checked. Part 2 - General Utilities.

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

  • Property mode set to 100644
File size: 5.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY SpiderMonkey-download-http
8 "http://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz">
9 <!ENTITY SpiderMonkey-download-ftp
10 "ftp://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz">
11 <!ENTITY SpiderMonkey-md5sum "a4574365938222adca0a6bd33329cb32">
12 <!ENTITY SpiderMonkey-size "5.9 MB">
13 <!ENTITY SpiderMonkey-buildsize "99 MB">
14 <!ENTITY SpiderMonkey-time "1.1 SBU">
15]>
16
17<sect1 id="SpiderMonkey" xreflabel="SpiderMonkey-&spidermonkey-version;">
18 <?dbhtml filename="SpiderMonkey.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>SpiderMonkey-&spidermonkey-version;</title>
26
27 <indexterm zone="SpiderMonkey">
28 <primary sortas="a-SpiderMonkey">SpiderMonkey</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to SpiderMonkey</title>
33
34 <para>
35 <application>SpiderMonkey</application> is Mozilla's JavaScript engine
36 written in C/C++. The most recent standalone source code release implements
37 JavaScript 1.8.5.
38 </para>
39
40 &lfs72_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&SpiderMonkey-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&SpiderMonkey-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &SpiderMonkey-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &SpiderMonkey-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &SpiderMonkey-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &SpiderMonkey-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">SpiderMonkey Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="nspr"/>,
81 <xref linkend="python2"/> and
82 <xref linkend="zip"/>
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/SpiderMonkey"/>
87 </para>
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of SpiderMonkey</title>
92
93 <para>
94 Install <application>SpiderMonkey</application> by running the
95 following commands:
96 </para>
97
98<screen><userinput>cd js/src &amp;&amp;
99sed -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#' Makefile.in &amp;&amp;
100./configure --prefix=/usr --enable-threadsafe --with-system-nspr &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 To test the results, issue: <command>TZ=US/Pacific make check</command>.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem>
109 user:
110 </para>
111
112<screen role="root"><userinput>make install</userinput></screen>
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <para>
119 <command>sed -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#'
120 Makefile.in</command>: This sed fixes the symlinks for
121 <filename>libmozjs185.so</filename> so that they are
122 relative and not absolute symlinks.
123 </para>
124
125 <para>
126 <command>TZ=US/Pacific make check</command>: the timezone tests were
127 written to be executed in Pacific time and to assume an mm/dd/yyyy
128 date format. The test suite runs in the local timezone, so override
129 its environment to prevent multiple failures in the
130 <command>check-date-format-tofte.js</command> tests.
131 </para>
132
133 <para>
134 <option>--enable-threadsafe</option>: This switch enables
135 support for multiple threads.
136 </para>
137
138 <para>
139 <option>--with-system-nspr</option>: This parameter forces the
140 package to link to the system version of <application>NSPR</application>
141 instead of using its included, and now old, version.
142 </para>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Program</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directory</segtitle>
153
154 <seglistitem>
155 <seg>
156 js-config
157 </seg>
158 <seg>
159 libmozjs185-1.0.a and libmozjs185.so
160 </seg>
161 <seg>
162 /usr/include/js
163 </seg>
164 </seglistitem>
165 </segmentedlist>
166
167 <variablelist>
168 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
169 <?dbfo list-presentation="list"?>
170 <?dbhtml list-presentation="table"?>
171
172 <varlistentry id="js-config">
173 <term><command>js-config</command></term>
174 <listitem>
175 <para>
176 is used to find out <application>SpiderMonkey</application>
177 compiler and linker flags.
178 </para>
179 <indexterm zone="SpiderMonkey js-config">
180 <primary sortas="b-js-config">js-config</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="libmozjs185">
186 <term><filename class="libraryfile">libmozjs185.so</filename></term>
187 <listitem>
188 <para>
189 contains the <application>Mozilla JavaScript</application> API functions.
190 </para>
191 <indexterm zone="SpiderMonkey libmozjs185">
192 <primary sortas="c-libmozjs185">libmozjs185.so</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 </variablelist>
198
199 </sect2>
200
201</sect1>
Note: See TracBrowser for help on using the repository browser.