source: archive/js60.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.0 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 js60-download-http "http://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-&JS60-version;.tar.bz2">
8 <!ENTITY js60-download-ftp "ftp://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-&JS60-version;.tar.bz2">
9 <!ENTITY js60-md5sum "5eda38cc08a3594a3f2c3cc185d4f15b">
10 <!ENTITY js60-size "31 MB">
11 <!ENTITY js60-buildsize "640 MB"> <!-- The buildsize is over 4GB! Actually installed is much smaller. -->
12 <!ENTITY js60-time "6.6 SBU">
13]>
14
15<sect1 id="js60" xreflabel="js60-&JS60-version;">
16 <?dbhtml filename="js60.html"?>
17
18
19 <title>JS-&JS60-version;</title>
20
21 <indexterm zone="js60">
22 <primary sortas="a-js60">js60</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to JS</title>
27
28 <para>
29 <application>JS</application> is Mozilla's JavaScript engine
30 written in C.
31 </para>
32
33 &lfs91_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&js60-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&js60-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &js60-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &js60-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &js60-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &js60-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68<!--
69 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
70 <itemizedlist spacing="compact">
71 <listitem>
72 <para>
73 Required patch:
74 <ulink url="&patch-root;/js60-&JS60-version;-security_fix-1.patch"/>
75 </para>
76 </listitem>
77 </itemizedlist>
78-->
79 <bridgehead renderas="sect3">JS60 Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="autoconf213"/>,
84 <xref linkend="icu"/>,
85 <xref linkend="python2"/>,
86 <xref linkend="which"/>,
87 <!--<xref linkend="yasm"/>,--> and
88 <xref linkend="zip"/>
89 </para>
90
91 <bridgehead renderas="sect4">Optional</bridgehead>
92 <para role="optional">
93 <xref linkend="doxygen"/>
94 </para>
95
96 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/js60"/>
98 </para>
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of JS</title>
103
104 <!--caution>
105 <para>
106 If you are upgrading JS60 from a previously installed old version,
107 save all work and exit your GNOME Session if you have one running.
108 Replacing the JS60 binary will cause the GNOME Shell to crash and return
109 you to your display manager or TTY. After installing the new version,
110 reinstall <xref linkend="gjs"/>. Polkit is unaffected.
111 </para>
112 </caution-->
113<!--
114 <para>
115 First, apply a security patch:
116 </para>
117
118<screen><userinput remap="pre">patch -Np1 -i ../js60-&JS60-version;-security_fix-1.patch</userinput></screen>
119-->
120 <para>
121 Install <application>JS</application> by running the following
122 commands:
123 </para>
124
125<!-- &shell-env;-->
126
127 <note>
128 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
129 href="../../xincludes/mozshm.xml"/>
130
131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
132 href="../../xincludes/mozconfigure.xml"/>
133 </note>
134
135<screen><userinput>mkdir mozjs-build &amp;&amp;
136cd mozjs-build &amp;&amp;
137
138../js/src/configure --prefix=/usr \
139 --with-intl-api \
140 --with-system-zlib \
141 --with-system-icu \
142 --disable-jemalloc \
143 --enable-readline &amp;&amp;
144make</userinput></screen>
145
146 <para>
147 This package does not come with a working test suite.
148 </para>
149
150 <para>
151 Now, as the <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>make install</userinput></screen>
155
156 </sect2>
157
158 <sect2 role="commands">
159 <title>Command Explanations</title>
160
161 <para>
162 <parameter>--with-*</parameter>: These parameters allow the build system
163 to use system versions of the above libriares. These are required for
164 stability.
165 </para>
166
167 <para>
168 <parameter>--enable-readline</parameter>: This switch enables Readline
169 support in the JS shell.
170 </para>
171
172 <para>
173 <parameter>--disable-jemalloc</parameter>: This switch disables the
174 internal memory allocator used in JS60. jemalloc causes a conflict with glibc.
175 </para>
176
177 </sect2>
178
179 <sect2 role="content">
180 <title>Contents</title>
181
182 <segmentedlist>
183 <segtitle>Installed Programs</segtitle>
184 <segtitle>Installed Libraries</segtitle>
185 <segtitle>Installed Directories</segtitle>
186
187 <seglistitem>
188 <seg>
189 js60 and js60-config
190 </seg>
191 <seg>
192 libmozjs-60.so and libjs_static.ajs <!-- The AJS file doesn't
193 conflict with the one from js52 like originally thought -->
194 </seg>
195 <seg>
196 /usr/include/mozjs-60
197 </seg>
198 </seglistitem>
199 </segmentedlist>
200
201 <variablelist>
202 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
203 <?dbfo list-presentation="list"?>
204 <?dbhtml list-presentation="table"?>
205
206 <varlistentry id="js6-js60">
207 <term><command>js60</command></term>
208 <listitem>
209 <para>
210 provides a command line interface to the
211 <application>JavaScript</application> engine.
212 </para>
213 <indexterm zone="js60 js60">
214 <primary sortas="b-js60">js60</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="js60-config">
220 <term><command>js60-config</command></term>
221 <listitem>
222 <para>
223 is used to find the JS compiler and linker flags.
224 </para>
225 <indexterm zone="js60 js60-config">
226 <primary sortas="b-js60-config">js60-config</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="libmozjs-60">
232 <term><filename class="libraryfile">libmozjs-60.so</filename></term>
233 <listitem>
234 <para>
235 contains the Mozilla JavaScript API functions.
236 </para>
237 <indexterm zone="js60 libmozjs-60">
238 <primary sortas="c-libmozjs60">libmozjs-60.so</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242 </variablelist>
243 </sect2>
244</sect1>
Note: See TracBrowser for help on using the repository browser.