source: general/genlib/nspr.xml@ c1b3614

trunk
Last change on this file since c1b3614 was c1b3614, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Package updates
Update to nspr-4.31.
Update to pcre2-10.37.
Update to libinput-1.17.3 (Xorg driver).

  • Property mode set to 100644
File size: 6.8 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 nspr-download-http "&mozilla-http;/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
8 <!ENTITY nspr-download-ftp " ">
9 <!ENTITY nspr-md5sum "eb797bbe25067fadad141f37c4a603cf">
10 <!ENTITY nspr-size "1.0 MB">
11 <!ENTITY nspr-buildsize "9.5 MB">
12 <!ENTITY nspr-time "less than 0.1 SBU">
13]>
14
15<sect1 id="nspr" xreflabel="NSPR-&nspr-version;">
16 <?dbhtml filename="nspr.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>NSPR-&nspr-version;</title>
23
24 <indexterm zone="nspr">
25 <primary sortas="a-NSPR">NSPR</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to NSPR</title>
30
31 <para>
32 <application>Netscape Portable Runtime</application> (NSPR) provides a
33 platform-neutral API for system level and libc like functions.
34 </para>
35
36 &lfs101_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&nspr-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&nspr-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &nspr-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &nspr-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &nspr-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &nspr-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <para condition="html" role="usernotes">
73 User Notes: <ulink url="&blfs-wiki;/nspr"/>
74 </para>
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of NSPR</title>
79
80 <para>
81 Install <application>NSPR</application> by running the following commands:
82 </para>
83
84<screen><userinput>cd nspr &amp;&amp;
85sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in &amp;&amp;
86sed -i 's#$(LIBRARY) ##' config/rules.mk &amp;&amp;
87
88./configure --prefix=/usr \
89 --with-mozilla \
90 --with-pthreads \
91 $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
92make</userinput></screen>
93
94 <para>
95 The testsuite is designed for testing changes to nss or nspr and is
96 not particularly useful for checking a released version (e.g. it needs
97 to be run on a non-optimized build with both nss and nspr directories
98 existing alongside each other). For further details, see the User Notes
99 for nss at <ulink url="&blfs-wiki;/nss"/>
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
112 <para>
113 <command>sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in</command>:
114 This sed disables installing two unneeded scripts.
115 </para>
116
117 <para>
118 <command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This sed disables
119 installing the static libraries.
120 </para>
121
122 <para>
123 <parameter>--with-mozilla</parameter>: This parameter adds Mozilla support
124 to the libraries (required if you want to build any other Mozilla
125 products and link them to these libraries).
126 </para>
127
128 <para>
129 <parameter>--with-pthreads</parameter>: This parameter forces use of the
130 system pthread library.
131 </para>
132
133 <para>
134 <parameter>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
135 --enable-64bit)</parameter>: The --enable-64bit parameter is
136 <emphasis>required</emphasis> on an x86_64 system to prevent
137 <command>configure</command> failing with a claim that this is a system
138 without pthread support. The [ $(uname -m) = x86_64 ] test ensures it has
139 no effect on a 32 bit system.
140 </para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>
154 nspr-config
155 </seg>
156 <seg>
157 libnspr4.so, libplc4.so and libplds4.so
158 </seg>
159 <seg>
160 /usr/include/nspr
161 </seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="nspr-config">
171 <term><command>nspr-config</command></term>
172 <listitem>
173 <para>
174 provides compiler and linker options to other packages that use
175 <application>NSPR</application>
176 </para>
177 <indexterm zone="nspr nspr-config">
178 <primary sortas="b-nspr-config">nspr-config</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="libnspr4">
184 <term><filename class="libraryfile">libnspr4.so</filename></term>
185 <listitem>
186 <para>
187 contains functions that provide platform independence for non-GUI
188 operating system facilities such as threads, thread synchronization,
189 normal file and network I/O, interval timing and calendar time,
190 basic memory management and shared library linking
191 </para>
192 <indexterm zone="nspr libnspr4">
193 <primary sortas="c-libnspr4">libnspr4.so</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="libplc4">
199 <term><filename class="libraryfile">libplc4.so</filename></term>
200 <listitem>
201 <para>
202 contains functions that implement many of the features offered by
203 libnspr4
204 </para>
205 <indexterm zone="nspr libplc4">
206 <primary sortas="c-libplc4">libplc4.so</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libplds4">
212 <term><filename class="libraryfile">libplds4.so</filename></term>
213 <listitem>
214 <para>
215 contains functions that provide data structures
216 </para>
217 <indexterm zone="nspr libplds4">
218 <primary sortas="c-libplds4">libplds4.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 </variablelist>
224
225 </sect2>
226
227</sect1>
Note: See TracBrowser for help on using the repository browser.