source: general/genlib/js52.xml@ 77c3644

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 77c3644 was c7918a9, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Add lua-5.2.4. Supports wireshark.
Update to colord-1.4.4.
Update to gdk-pixbuf-2.38.1.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21295 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 and polkit.
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="&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"/>, and
82 <!-- <xref linkend="yasm"/>, -->
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 &shell-env;
105
106<screen><userinput>cd js/src &amp;&amp;
107
108./configure --prefix=/usr \
109 --with-intl-api \
110 --with-system-zlib \
111 --with-system-nspr \
112 --with-system-icu \
113 --enable-readline &amp;&amp;
114make</userinput></screen>
115
116 <para>
117 This package does not come with a working test suite.
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>make install</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <para>
132 <parameter>--with-*</parameter>: These parameters allow the build system
133 to use system versions of the above libriares. These are required for
134 stability.
135 </para>
136
137 <para>
138 <parameter>--enable-readline</parameter>: This switch enables Readline
139 support in the JS shell.
140 </para>
141<!--
142 <para>
143 <parameter>- -enable-threadsafe</parameter>: This switch enables support
144 for multiple threads at one time. This increases performance as well as
145 stability.
146 </para>
147-->
148 </sect2>
149
150 <sect2 role="content">
151 <title>Contents</title>
152
153 <segmentedlist>
154 <segtitle>Installed Programs</segtitle>
155 <segtitle>Installed Libraries)</segtitle>
156 <segtitle>Installed Directories</segtitle>
157
158 <seglistitem>
159 <seg>
160 js52 and js52-config
161 </seg>
162 <!-- Yes, the static library is required. -->
163 <seg>
164 libmozjs-52.so and libjs_static.ajs
165 </seg>
166 <seg>
167 /usr/include/mozjs-52
168 </seg>
169 </seglistitem>
170 </segmentedlist>
171
172 <variablelist>
173 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
174 <?dbfo list-presentation="list"?>
175 <?dbhtml list-presentation="table"?>
176
177 <varlistentry id="js5-js52">
178 <term><command>js52</command></term>
179 <listitem>
180 <para>
181 provides a command line interface to the
182 <application>JavaScript</application> engine.
183 </para>
184 <indexterm zone="js52 js52">
185 <primary sortas="b-js52">js52</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="js52-config">
191 <term><command>js52-config</command></term>
192 <listitem>
193 <para>
194 is used to find the JS compiler and linker flags.
195 </para>
196 <indexterm zone="js52 js52-config">
197 <primary sortas="b-js52-config">js52-config</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="libmozjs-52">
203 <term><filename class="libraryfile">libmozjs-52.so</filename></term>
204 <listitem>
205 <para>
206 contains the Mozilla JavaScript API functions.
207 </para>
208 <indexterm zone="js52 libmozjs-52">
209 <primary sortas="c-libmozjs52">libmozjs-52.so</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213 </variablelist>
214 </sect2>
215</sect1>
Note: See TracBrowser for help on using the repository browser.