source: general/genutils/spidermonkey.xml@ 4d180035

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4d180035 was 37aba7f, checked in by Krejzi <krejzi@…>, 12 years ago

Anjuta 3.4.2, SpiderMonkey command explanations, Polkit XML Fixes.

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

  • Property mode set to 100644
File size: 5.5 KB
RevLine 
[37f746a8]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
[d615263]7 <!ENTITY SpiderMonkey-download-http
[37aba7f]8 "http://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz">
[d615263]9 <!ENTITY SpiderMonkey-download-ftp
[37aba7f]10 "ftp://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz">
[37f746a8]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
[37aba7f]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>
[37f746a8]39
[37aba7f]40 &lfs70_checked;
[37f746a8]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[37aba7f]45 <para>
46 Download (HTTP): <ulink url="&SpiderMonkey-download-http;"/>
47 </para>
[37f746a8]48 </listitem>
49 <listitem>
[37aba7f]50 <para>
51 Download (FTP): <ulink url="&SpiderMonkey-download-ftp;"/>
52 </para>
[37f746a8]53 </listitem>
54 <listitem>
[37aba7f]55 <para>
56 Download MD5 sum: &SpiderMonkey-md5sum;
57 </para>
[37f746a8]58 </listitem>
59 <listitem>
[37aba7f]60 <para>
61 Download size: &SpiderMonkey-size;
62 </para>
[37f746a8]63 </listitem>
64 <listitem>
[37aba7f]65 <para>
66 Estimated disk space required: &SpiderMonkey-buildsize;
67 </para>
[37f746a8]68 </listitem>
69 <listitem>
[37aba7f]70 <para>
71 Estimated build time: &SpiderMonkey-time;
72 </para>
[37f746a8]73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">SpiderMonkey Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
[37aba7f]79 <para role="required">
80 <xref linkend="nspr"/>,
81 <xref linkend="python2"/> and
82 <xref linkend="zip"/>
83 </para>
[37f746a8]84
85 <para condition="html" role="usernotes">User Notes:
[37aba7f]86 <ulink url="&blfs-wiki;/SpiderMonkey"/>
87 </para>
[37f746a8]88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of SpiderMonkey</title>
92
[37aba7f]93 <para>
94 Install <application>SpiderMonkey</application> by running the
95 following commands:
96 </para>
[37f746a8]97
[d615263]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;
[37f746a8]101make</userinput></screen>
102
[37aba7f]103 <para>
104 To test the results, issue: <command>make check</command>.
105 </para>
[37f746a8]106
[37aba7f]107 <para>
108 Now, as the <systemitem class="username">root</systemitem>
109 user:
110 </para>
[37f746a8]111
112<screen role="root"><userinput>make install</userinput></screen>
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
[37aba7f]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>
[37f746a8]124
[37aba7f]125 <para>
126 <option>--enable-threadsafe</option>: This switch enables
127 support for multiple threads.
128 </para>
129
130 <para>
131 <option>--with-system-nspr</option>: This parameter forces the
132 package to link to the system version of <application>NSPR</application>
133 instead of using its included, and now old, version.
134 </para>
[37f746a8]135
136 </sect2>
137
138 <sect2 role="content">
139 <title>Contents</title>
140
141 <segmentedlist>
142 <segtitle>Installed Program</segtitle>
143 <segtitle>Installed Libraries</segtitle>
144 <segtitle>Installed Directory</segtitle>
145
146 <seglistitem>
[37aba7f]147 <seg>
148 js-config
149 </seg>
150 <seg>
151 libmozjs185-1.0.a and libmozjs185.so
152 </seg>
153 <seg>
154 /usr/include/js
155 </seg>
[37f746a8]156 </seglistitem>
157 </segmentedlist>
158
159 <variablelist>
160 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
161 <?dbfo list-presentation="list"?>
162 <?dbhtml list-presentation="table"?>
163
164 <varlistentry id="js-config">
165 <term><command>js-config</command></term>
166 <listitem>
[37aba7f]167 <para>
168 is used to find out <application>SpiderMonkey</application>
169 compiler and linker flags.
170 </para>
[37f746a8]171 <indexterm zone="SpiderMonkey js-config">
172 <primary sortas="b-js-config">js-config</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="libmozjs185">
[d615263]178 <term><filename class="libraryfile">libmozjs185.so</filename></term>
[37f746a8]179 <listitem>
[37aba7f]180 <para>
181 contains the <application>Mozilla JavaScript</application> API functions.
182 </para>
[37f746a8]183 <indexterm zone="SpiderMonkey libmozjs185">
184 <primary sortas="c-libmozjs185">libmozjs185.so</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
[37aba7f]188
[37f746a8]189 </variablelist>
[37aba7f]190
[37f746a8]191 </sect2>
[37aba7f]192
[37f746a8]193</sect1>
Note: See TracBrowser for help on using the repository browser.