source: general/genlib/js52.xml@ 5fff3896

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5fff3896 was 5fff3896, checked in by Douglas R. Reno <renodr@…>, 6 years ago

Update to xorg-server-1.20.1
Update to libxkbcommon-0.8.2
Update to systemd-239

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20284 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 &lfs82_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 &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-threadsafe \
114 --enable-readline &amp;&amp;
115make</userinput></screen>
116
117 <para>
118 This package does not come with a working test suite.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</userinput></screen>
126
127 </sect2>
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para>
133 <parameter>--with-*</parameter>: These parameters allow the build system
134 to use system versions of the above libriares. These are required for
135 stability.
136 </para>
137
138 <para>
139 <parameter>--enable-readline</parameter>: This switch enables Readline
140 support in the JS shell.
141 </para>
142
143 <para>
144 <parameter>--enable-threadsafe</parameter>: This switch enables support
145 for multiple threads at one time. This increases performance as well as
146 stability.
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 js52 and js52-config
162 </seg>
163 <!-- Yes, the static library is required. -->
164 <seg>
165 libmozjs-52.so and libjs_static.ajs
166 </seg>
167 <seg>
168 /usr/include/mozjs-52
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="js5-js52">
179 <term><command>js52</command></term>
180 <listitem>
181 <para>
182 provides a command line interface to the
183 <application>JavaScript</application> engine.
184 </para>
185 <indexterm zone="js52 js52">
186 <primary sortas="b-js52">js52</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="js52-config">
192 <term><command>js52-config</command></term>
193 <listitem>
194 <para>
195 is used to find the JS compiler and linker flags.
196 </para>
197 <indexterm zone="js52 js52-config">
198 <primary sortas="b-js52-config">js52-config</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libmozjs-52">
204 <term><filename class="libraryfile">libmozjs-52.so</filename></term>
205 <listitem>
206 <para>
207 contains the Mozilla JavaScript API functions.
208 </para>
209 <indexterm zone="js52 libmozjs-52">
210 <primary sortas="c-libmozjs52">libmozjs-52.so</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214 </variablelist>
215 </sect2>
216</sect1>
Note: See TracBrowser for help on using the repository browser.