source: general/genlib/nspr.xml@ c1b3614

11.0 11.1 11.2 11.3 12.0 12.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 c1b3614 was c1b3614, checked in by Bruce Dubbs <bdubbs@…>, 3 years 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
RevLine 
[9c57b3a]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
[8dfc5c3]7 <!ENTITY nspr-download-http "&mozilla-http;/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
[92e3023]8 <!ENTITY nspr-download-ftp " ">
[c1b3614]9 <!ENTITY nspr-md5sum "eb797bbe25067fadad141f37c4a603cf">
[6c3d8a47]10 <!ENTITY nspr-size "1.0 MB">
[c1b3614]11 <!ENTITY nspr-buildsize "9.5 MB">
[177e2f9]12 <!ENTITY nspr-time "less than 0.1 SBU">
[9c57b3a]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">
[67bd6fe4]25 <primary sortas="a-NSPR">NSPR</primary>
[9c57b3a]26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to NSPR</title>
30
[7753fc6]31 <para>
[c2d890f4]32 <application>Netscape Portable Runtime</application> (NSPR) provides a
33 platform-neutral API for system level and libc like functions.
34 </para>
[9c57b3a]35
[9029db2]36 &lfs101_checked;
[e3060aa]37
[9c57b3a]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
[7753fc6]41 <para>
42 Download (HTTP): <ulink url="&nspr-download-http;"/>
43 </para>
[9c57b3a]44 </listitem>
45 <listitem>
[7753fc6]46 <para>
47 Download (FTP): <ulink url="&nspr-download-ftp;"/>
48 </para>
[9c57b3a]49 </listitem>
50 <listitem>
[7753fc6]51 <para>
52 Download MD5 sum: &nspr-md5sum;
53 </para>
[9c57b3a]54 </listitem>
55 <listitem>
[7753fc6]56 <para>
57 Download size: &nspr-size;
58 </para>
[9c57b3a]59 </listitem>
60 <listitem>
[7753fc6]61 <para>
62 Estimated disk space required: &nspr-buildsize;
63 </para>
[9c57b3a]64 </listitem>
65 <listitem>
[7753fc6]66 <para>
67 Estimated build time: &nspr-time;
68 </para>
[9c57b3a]69 </listitem>
70 </itemizedlist>
71
[7753fc6]72 <para condition="html" role="usernotes">
73 User Notes: <ulink url="&blfs-wiki;/nspr"/>
74 </para>
[9c57b3a]75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of NSPR</title>
79
[7753fc6]80 <para>
81 Install <application>NSPR</application> by running the following commands:
82 </para>
[9c57b3a]83
[c3d40b7]84<screen><userinput>cd nspr &amp;&amp;
[c1b3614]85sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in &amp;&amp;
86sed -i 's#$(LIBRARY) ##' config/rules.mk &amp;&amp;
[731d374]87
[4591404]88./configure --prefix=/usr \
89 --with-mozilla \
90 --with-pthreads \
91 $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
[9c57b3a]92make</userinput></screen>
93
[7753fc6]94 <para>
[a98cec9]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"/>
[7753fc6]100 </para>
[9c57b3a]101
[7753fc6]102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
[9c57b3a]105
[2ccd091]106<screen role="root"><userinput>make install</userinput></screen>
[9c57b3a]107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
[7753fc6]112 <para>
[c1b3614]113 <command>sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in</command>:
114 This sed disables installing two unneeded scripts.
[ee469098]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
[4591404]124 to the libraries (required if you want to build any other Mozilla
125 products and link them to these libraries).
[7753fc6]126 </para>
127
128 <para>
[ee469098]129 <parameter>--with-pthreads</parameter>: This parameter forces use of the
[4591404]130 system pthread library.
[7753fc6]131 </para>
132
133 <para>
[ee469098]134 <parameter>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
135 --enable-64bit)</parameter>: The --enable-64bit parameter is
[db32c4c]136 <emphasis>required</emphasis> on an x86_64 system to prevent
[7753fc6]137 <command>configure</command> failing with a claim that this is a system
[db32c4c]138 without pthread support. The [ $(uname -m) = x86_64 ] test ensures it has
139 no effect on a 32 bit system.
[7753fc6]140 </para>
141
[9c57b3a]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>
[4591404]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>
[9c57b3a]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
[9c34dc7]170 <varlistentry id="nspr-config">
[9c57b3a]171 <term><command>nspr-config</command></term>
172 <listitem>
[7753fc6]173 <para>
174 provides compiler and linker options to other packages that use
[4c24eb0a]175 <application>NSPR</application>
[7753fc6]176 </para>
[9c57b3a]177 <indexterm zone="nspr nspr-config">
178 <primary sortas="b-nspr-config">nspr-config</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
[e305fa83]183 <varlistentry id="libnspr4">
[4c24eb0a]184 <term><filename class="libraryfile">libnspr4.so</filename></term>
[e305fa83]185 <listitem>
[7753fc6]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,
[4c24eb0a]190 basic memory management and shared library linking
[7753fc6]191 </para>
[e305fa83]192 <indexterm zone="nspr libnspr4">
[7753fc6]193 <primary sortas="c-libnspr4">libnspr4.so</primary>
[e305fa83]194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="libplc4">
[4c24eb0a]199 <term><filename class="libraryfile">libplc4.so</filename></term>
[e305fa83]200 <listitem>
[7753fc6]201 <para>
202 contains functions that implement many of the features offered by
203 libnspr4
204 </para>
[e305fa83]205 <indexterm zone="nspr libplc4">
[7753fc6]206 <primary sortas="c-libplc4">libplc4.so</primary>
[e305fa83]207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libplds4">
[4c24eb0a]212 <term><filename class="libraryfile">libplds4.so</filename></term>
[e305fa83]213 <listitem>
[7753fc6]214 <para>
[4c24eb0a]215 contains functions that provide data structures
[7753fc6]216 </para>
[e305fa83]217 <indexterm zone="nspr libplds4">
[7753fc6]218 <primary sortas="c-libplds4">libplds4.so</primary>
[e305fa83]219 </indexterm>
220 </listitem>
221 </varlistentry>
[4591404]222
[9c57b3a]223 </variablelist>
[4591404]224
[9c57b3a]225 </sect2>
[4591404]226
[9c57b3a]227</sect1>
Note: See TracBrowser for help on using the repository browser.