source: general/genlib/js52.xml@ b889223

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b889223 was b889223, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Add mozjs-52

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

  • Property mode set to 100644
File size: 5.9 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 js52-download-http "http://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-&JS52-version;.tar.gz">
8 <!ENTITY js52-download-ftp "ftp://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-&JS52-version;.tar.gz">
9 <!ENTITY js52-md5sum "72bd9a715ed1ab70b2aebe92969f6b63">
10 <!ENTITY js52-size "36 MB">
11 <!ENTITY js52-buildsize "627 MB">
12 <!ENTITY js52-time "6.4 SBU">
13]>
14
15<sect1 id="js52" xreflabel="js52-&JS52-version;">
16 <?dbhtml filename="js52.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>JS-&JS52-version;</title>
24
25 <indexterm zone="js52">
26 <primary sortas="a-js52">js52</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 &lfs81_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&js52-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&js52-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &js52-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &js52-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &js52-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &js52-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">JS52 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;/js52"/>
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<screen><userinput>cd js/src &amp;&amp;
105
106./configure --prefix=/usr \
107 --with-intl-api \
108 --with-system-zlib \
109 --with-system-nspr \
110 --with-system-icu \
111 --enable-threadsafe \
112 --enable-readline &amp;&amp;
113make</userinput></screen>
114
115 <para>
116 This package does not come with a working test suite.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install &amp;&amp;</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <para>
131 <parameter>--with-*</parameter>: These parameters allow the build system
132 to use system versions of the above libriares. These are required for
133 stability.
134 </para>
135
136 <para>
137 <parameter>--enable-readline</parameter>: This switch enables Readline
138 support in the JS shell.
139 </para>
140
141 <para>
142 <parameter>--enable-threadsafe</parameter>: This switch enables support
143 for multiple threads at one time. This increases performance as well as
144 stability.
145 </para>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Libraries)</segtitle>
155 <segtitle>Installed Directories</segtitle>
156
157 <seglistitem>
158 <seg>
159 js52 and js52-config
160 </seg>
161 <!-- Yes, the static library is required. -->
162 <seg>
163 libmozjs-52.so and libjs_static.ajs
164 </seg>
165 <seg>
166 /usr/include/mozjs-52
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="js5-js52">
177 <term><command>js52</command></term>
178 <listitem>
179 <para>
180 provides a command line interface to the
181 <application>JavaScript</application> engine.
182 </para>
183 <indexterm zone="js52 js52">
184 <primary sortas="b-js52">js52</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="js52-config">
190 <term><command>js52-config</command></term>
191 <listitem>
192 <para>
193 is used to find the JS compiler and linker flags.
194 </para>
195 <indexterm zone="js52 js52-config">
196 <primary sortas="b-js52-config">js52-config</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="libmozjs-52">
202 <term><filename class="libraryfile">libmozjs-52.so</filename></term>
203 <listitem>
204 <para>
205 contains the Mozilla JavaScript API functions.
206 </para>
207 <indexterm zone="js52 libmozjs-52">
208 <primary sortas="c-libmozjs52">libmozjs-52.so</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212 </variablelist>
213 </sect2>
214</sect1>
Note: See TracBrowser for help on using the repository browser.