source: general/genlib/js60.xml@ d0d2c8f2

elogind
Last change on this file since d0d2c8f2 was d0d2c8f2, checked in by DJ Lucas <dj@…>, 2 years ago

Fix skipped commits.

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

  • Property mode set to 100644
File size: 6.1 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 "202f71313e53d9b92e7c578107541539">
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 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>JS-&JS60-version;</title>
24
25 <indexterm zone="js60">
26 <primary sortas="a-js60">js60</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to JS</title>
31
32 <para>
33 <application>JS</application> is Mozilla's JavaScript engine
34 written in C. This package is present for GJS.
35 </para>
36
37 &lfs84_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&js60-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&js60-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &js60-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &js60-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &js60-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &js60-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">JS60 Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="autoconf213"/>,
78 <xref linkend="icu"/>,
79 <xref linkend="nspr"/>,
80 <xref linkend="python2"/>,
81 <xref linkend="xorg7-lib"/>,
82 <!--<xref linkend="yasm"/>,--> and
83 <xref linkend="zip"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="doxygen"/>
89 </para>
90
91 <para condition="html" role="usernotes">
92 User Notes: <ulink url="&blfs-wiki;/js60"/>
93 </para>
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of JS</title>
98
99 <para>
100 Install <application>JS</application> by running the following
101 commands:
102 </para>
103
104 &shell-env;
105
106<screen><userinput>mkdir mozjs-build &amp;&amp;
107cd mozjs-build &amp;&amp;
108
109../js/src/configure --prefix=/usr \
110 --with-intl-api \
111 --with-system-zlib \
112 --with-system-nspr \
113 --with-system-icu \
114 --disable-jemalloc \
115 --enable-readline &amp;&amp;
116make</userinput></screen>
117
118 <para>
119 This package does not come with a working test suite.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <parameter>--with-*</parameter>: These parameters allow the build system
135 to use system versions of the above libriares. These are required for
136 stability.
137 </para>
138
139 <para>
140 <parameter>--enable-readline</parameter>: This switch enables Readline
141 support in the JS shell.
142 </para>
143
144 <para>
145 <parameter>--disable-jemalloc</parameter>: This switch disables the
146 internal memory allocator used in JS60. jemalloc causes a conflict with glibc.
147 </para>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Programs</segtitle>
156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
158
159 <seglistitem>
160 <seg>
161 js60 and js60-config
162 </seg>
163 <seg>
164 libmozjs-60.so and libjs_static.ajs <!-- The AJS file doesn't
165 conflict with the one from js52 like originally thought -->
166 </seg>
167 <seg>
168 /usr/include/mozjs-60
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="js6-js60">
179 <term><command>js60</command></term>
180 <listitem>
181 <para>
182 provides a command line interface to the
183 <application>JavaScript</application> engine.
184 </para>
185 <indexterm zone="js60 js60">
186 <primary sortas="b-js60">js60</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="js60-config">
192 <term><command>js60-config</command></term>
193 <listitem>
194 <para>
195 is used to find the JS compiler and linker flags.
196 </para>
197 <indexterm zone="js60 js60-config">
198 <primary sortas="b-js60-config">js60-config</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libmozjs-60">
204 <term><filename class="libraryfile">libmozjs-60.so</filename></term>
205 <listitem>
206 <para>
207 contains the Mozilla JavaScript API functions.
208 </para>
209 <indexterm zone="js60 libmozjs-60">
210 <primary sortas="c-libmozjs60">libmozjs-60.so</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214 </variablelist>
215 </sect2>
216</sect1>
Note: See TracBrowser for help on using the repository browser.