source: archive/js52.xml@ 55c80c6

10.0 10.1 11.0 9.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 55c80c6 was 55c80c6, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Archive js52. No longer needed.
Update to polkit-0.116.

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

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