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 "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
|
---|
8 | <!ENTITY nspr-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
|
---|
9 | <!ENTITY nspr-md5sum "c12ef68285aa631f8a335a547c434ad9">
|
---|
10 | <!ENTITY nspr-size "1.1 MB">
|
---|
11 | <!ENTITY nspr-buildsize "12.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 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>NSPR-&nspr-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="nspr">
|
---|
26 | <primary sortas="a-NSPR">Netscape Portable Runtime</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to NSPR</title>
|
---|
31 |
|
---|
32 | <para><application>Netscape Portable Runtime</application> (NSPR) provides
|
---|
33 | a platform-neutral API for system level and libc like functions.</para>
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>Download (HTTP): <ulink url="&nspr-download-http;"/></para>
|
---|
39 | </listitem>
|
---|
40 | <listitem>
|
---|
41 | <para>Download (FTP): <ulink url="&nspr-download-ftp;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download MD5 sum: &nspr-md5sum;</para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download size: &nspr-size;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Estimated disk space required: &nspr-buildsize;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated build time: &nspr-time;</para>
|
---|
54 | </listitem>
|
---|
55 | </itemizedlist>
|
---|
56 |
|
---|
57 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
58 | <itemizedlist spacing='compact'>
|
---|
59 | <listitem>
|
---|
60 | <para>Required patch: <ulink
|
---|
61 | url="&patch-root;/nspr-&nspr-version;-pkgconfig-1.patch"/>
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | </itemizedlist>
|
---|
65 |
|
---|
66 | <para condition="html" role="usernotes">User Notes:
|
---|
67 | <ulink url="&blfs-wiki;/nspr"/></para>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <sect2 role="installation">
|
---|
72 | <title>Installation of NSPR</title>
|
---|
73 |
|
---|
74 | <para>Install <application>NSPR</application> by running the following
|
---|
75 | commands:</para>
|
---|
76 |
|
---|
77 | <screen><userinput>patch -Np1 -i ../nspr-&nspr-version;-pkgconfig-1.patch &&
|
---|
78 | cd mozilla/nsprpub &&
|
---|
79 | ./configure --prefix=/usr \
|
---|
80 | --with-mozilla \
|
---|
81 | --with-pthreads &&
|
---|
82 | make</userinput></screen>
|
---|
83 |
|
---|
84 | <para>This package does not come with a test suite.</para>
|
---|
85 |
|
---|
86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
87 |
|
---|
88 | <screen role="root"><userinput>make install &&
|
---|
89 | cp -v -LR dist/include/nspr /usr/include &&
|
---|
90 | rm -v -f /usr/bin/{prerr.properties,compile-et.pl}</userinput></screen>
|
---|
91 |
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="commands">
|
---|
95 | <title>Command Explanations</title>
|
---|
96 |
|
---|
97 | <para><parameter>--with-mozilla</parameter>: This parameter adds Mozilla
|
---|
98 | supprt to the libraries (required if you want to build any Mozilla
|
---|
99 | products).</para>
|
---|
100 |
|
---|
101 | <para><parameter>--with-pthreads</parameter>: This parameter forces use of
|
---|
102 | the system pthreads library.</para>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="content">
|
---|
107 | <title>Contents</title>
|
---|
108 |
|
---|
109 | <segmentedlist>
|
---|
110 | <segtitle>Installed Programs</segtitle>
|
---|
111 | <segtitle>Installed Libraries</segtitle>
|
---|
112 | <segtitle>Installed Directories</segtitle>
|
---|
113 |
|
---|
114 | <seglistitem>
|
---|
115 | <seg>nspr-config</seg>
|
---|
116 | <seg>libnspr4.{a,so}, libplc4.{a,so}, and libplds4.{a.so}</seg>
|
---|
117 | <seg>/usr/include/nspr</seg>
|
---|
118 | </seglistitem>
|
---|
119 | </segmentedlist>
|
---|
120 |
|
---|
121 | <variablelist>
|
---|
122 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
123 | <?dbfo list-presentation="list"?>
|
---|
124 | <?dbhtml list-presentation="table"?>
|
---|
125 |
|
---|
126 | <varlistentry id="nspr-config">
|
---|
127 | <term><command>nspr-config</command></term>
|
---|
128 | <listitem>
|
---|
129 | <para>provides compiler and linker options to other packages that
|
---|
130 | use <application>NSPR</application>.</para>
|
---|
131 | <indexterm zone="nspr nspr-config">
|
---|
132 | <primary sortas="b-nspr-config">nspr-config</primary>
|
---|
133 | </indexterm>
|
---|
134 | </listitem>
|
---|
135 | </varlistentry>
|
---|
136 |
|
---|
137 | </variablelist>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | </sect1>
|
---|