Changeset 7753fc6


Ignore:
Timestamp:
03/04/2012 09:53:59 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9333a525
Parents:
181662f
Message:

nspr-4.9

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r181662f r7753fc6  
    209209<!ENTITY libunique-version            "3.0.2">
    210210<!ENTITY liboil-version               "0.3.17">
    211 <!ENTITY nspr-version                 "4.8.9">
     211<!ENTITY nspr-version                 "4.9">
    212212<!ENTITY libffi-version               "3.0.10">
    213213<!ENTITY gobject-introspection-version "1.30.0">
  • general/genlib/nspr.xml

    r181662f r7753fc6  
    55  %general-entities;
    66
    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        "60770d45dc08c0f181b22cdfce5be3e8">
     7  <!ENTITY nspr-download-http
     8  "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
     9  <!ENTITY nspr-download-ftp
     10  "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
     11  <!ENTITY nspr-md5sum        "aa0c960b23a9d66a3c30c3e6ba80a99a">
    1012  <!ENTITY nspr-size          "1.2 MB">
    11   <!ENTITY nspr-buildsize     "21 MB">
     13  <!ENTITY nspr-buildsize     "15 MB">
    1214  <!ENTITY nspr-time          "less than 0.1 SBU">
    1315]>
     
    3032    <title>Introduction to NSPR</title>
    3133
    32     <para><application>Netscape Portable Runtime</application> (NSPR) provides
    33     a platform-neutral API for system level and libc like functions.</para>
     34    <para>
     35        <application>Netscape Portable Runtime</application> (NSPR) provides
     36    a platform-neutral API for system level and libc like functions.
     37      </para>
    3438
    3539    &lfs70_checked;
     
    3842    <itemizedlist spacing="compact">
    3943      <listitem>
    40         <para>Download (HTTP): <ulink url="&nspr-download-http;"/></para>
    41       </listitem>
    42       <listitem>
    43         <para>Download (FTP): <ulink url="&nspr-download-ftp;"/></para>
    44       </listitem>
    45       <listitem>
    46         <para>Download MD5 sum: &nspr-md5sum;</para>
    47       </listitem>
    48       <listitem>
    49         <para>Download size: &nspr-size;</para>
    50       </listitem>
    51       <listitem>
    52         <para>Estimated disk space required: &nspr-buildsize;</para>
    53       </listitem>
    54       <listitem>
    55         <para>Estimated build time: &nspr-time;</para>
     44        <para>
     45          Download (HTTP): <ulink url="&nspr-download-http;"/>
     46        </para>
     47      </listitem>
     48      <listitem>
     49        <para>
     50          Download (FTP): <ulink url="&nspr-download-ftp;"/>
     51        </para>
     52      </listitem>
     53      <listitem>
     54        <para>
     55          Download MD5 sum: &nspr-md5sum;
     56        </para>
     57      </listitem>
     58      <listitem>
     59        <para>
     60         Download size: &nspr-size;
     61        </para>
     62      </listitem>
     63      <listitem>
     64        <para>
     65          Estimated disk space required: &nspr-buildsize;
     66        </para>
     67      </listitem>
     68      <listitem>
     69        <para>
     70          Estimated build time: &nspr-time;
     71        </para>
    5672      </listitem>
    5773    </itemizedlist>
    5874
    59     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    60     <itemizedlist spacing='compact'>
    61       <listitem>
    62         <para>Required patch: <ulink
    63           url="http://www.linuxfromscratch.org/patches/downloads/nspr/nspr-&nspr-version;-pkgconfig-2.patch"/>
    64       </para>
    65       </listitem>
    66     </itemizedlist>
    67 
    68     <para condition="html" role="usernotes">User Notes:
    69     <ulink url="&blfs-wiki;/nspr"/></para>
    70 
     75    <para condition="html" role="usernotes">
     76      User Notes: <ulink url="&blfs-wiki;/nspr"/>
     77    </para>
    7178  </sect2>
    7279
     
    7481    <title>Installation of NSPR</title>
    7582
    76     <para>Install <application>NSPR</application> by running the following
    77     commands:</para>
    78 
    79 <screen><userinput>patch -Np1 -i ../nspr-&nspr-version;-pkgconfig-2.patch &amp;&amp;
    80 cd mozilla/nsprpub &amp;&amp;
     83    <para>
     84      Install <application>NSPR</application> by running the following commands:
     85    </para>
     86
     87<screen><userinput>cd mozilla/nsprpub &amp;&amp;
    8188sed -i 's#^\(RELEASE_BINS =\).*#\1#' pr/src/misc/Makefile.in &amp;&amp;
     89sed -i 's#$(LIBRARY) ##' config/rules.mk &amp;&amp;
    8290./configure --prefix=/usr --with-mozilla --with-pthreads \
    8391  $([ $(arch) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
    8492make</userinput></screen>
    8593
    86     <para>This package does not come with a test suite.</para>
    87 
    88     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     94    <para>
     95      This package does not come with a test suite.
     96    </para>
     97
     98    <para>
     99      Now, as the <systemitem class="username">root</systemitem> user:
     100    </para>
    89101
    90102<screen role="root"><userinput>make install &amp;&amp;
    91 cp -v -LR dist/include/nspr /usr/include</userinput></screen>
    92 
     103cat &gt; /usr/lib/pkgconfig/nspr.pc &lt;&lt; "HERE_DOC"
     104prefix=/usr
     105exec_prefix=${prefix}
     106libdir=${exec_prefix}/lib
     107includedir=${prefix}/include/nspr
     108
     109Name: NSPR
     110Description: The Netscape Portable Runtime
     111Version: &nspr-version;.0
     112Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread
     113Cflags: -I${includedir}
     114HERE_DOC</userinput></screen>
    93115  </sect2>
    94116
     
    96118    <title>Command Explanations</title>
    97119
    98     <para><parameter>--with-mozilla</parameter>: This parameter adds Mozilla
    99     support to the libraries (required if you want to build any other Mozilla
    100     products and link them to these libraries).</para>
    101 
    102     <para><parameter>--with-pthreads</parameter>: This parameter forces use of
    103     the system pthreads library.</para>
    104 
    105     <para><parameter>$([ $(arch) ... --enable-64bit</parameter>: This parameter
    106     is required <emphasis>on an x86_64 system</emphasis> to prevent
    107     <command>configure</command> failing with a claim that this is a system
    108     without pthread support. It has no effect on a 32 bit system.</para>
    109 
    110     <para><command>sed -i 's#^\(RELEASE_BINS ...</command>: This disables
    111     installing two unneeded scripts.</para>
    112 
    113     <para>If you don't want to compile and install the static versions of the
    114     libraries you can disable them with a sed:
    115     <command>sed -i '/^TARGETS/s# $(LIBRARY)##' config/rules.mk</command></para>
    116 
     120    <para>
     121      <parameter>--with-mozilla</parameter>: This parameter adds Mozilla support
     122      to the libraries (required if you want to build any other Mozilla products
     123      and link them to these libraries).
     124    </para>
     125
     126    <para>
     127      <parameter>--with-pthreads</parameter>: This parameter forces use of the
     128      system pthreads library.
     129    </para>
     130
     131    <para>
     132      <parameter>$([ $(arch) ... --enable-64bit</parameter>: This parameter is
     133      required <emphasis>on an x86_64 system</emphasis> to prevent
     134      <command>configure</command> failing with a claim that this is a system
     135      without pthread support. It has no effect on a 32 bit system.
     136    </para>
     137
     138    <para>
     139      <command>sed -i 's#^\(RELEASE_BINS ...</command>: This disables installing
     140      two unneeded scripts.
     141    </para>
     142
     143    <para>
     144      <command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This disables
     145      installing the static libraries.
     146    </para>
    117147  </sect2>
    118148
     
    127157      <seglistitem>
    128158        <seg>nspr-config</seg>
    129         <seg>libnspr4.{a,so}, libplc4.{a,so}, and libplds4.{a.so}</seg>
     159        <seg>libnspr4.so, libplc4.so, and libplds4.so</seg>
    130160        <seg>/usr/include/nspr</seg>
    131161      </seglistitem>
     
    140170        <term><command>nspr-config</command></term>
    141171        <listitem>
    142           <para>provides compiler and linker options to other packages that
    143           use <application>NSPR</application>.</para>
     172          <para>
     173            provides compiler and linker options to other packages that use
     174            <application>NSPR</application>.
     175          </para>
    144176          <indexterm zone="nspr nspr-config">
    145177            <primary sortas="b-nspr-config">nspr-config</primary>
     
    149181
    150182      <varlistentry id="libnspr4">
    151         <term><filename class='libraryfile'>libnspr4.{so,a}</filename></term>
    152         <listitem>
    153           <para>contains functions that provide platform independence for
    154           non-GUI operating system facilities such as threads, thread
    155           synchronization, normal file and network I/O, interval timing and
    156           calendar time, basic memory management (malloc and free) and shared
    157           library linking.</para>
     183        <term><filename class='libraryfile'>libnspr4.so</filename></term>
     184        <listitem>
     185          <para>
     186            contains functions that provide platform independence for non-GUI
     187            operating system facilities such as threads, thread synchronization,
     188            normal file and network I/O, interval timing and calendar time,
     189            basic memory management and shared library linking.
     190          </para>
    158191          <indexterm zone="nspr libnspr4">
    159             <primary sortas="c-libnspr4">libnspr4.{so,a}</primary>
     192            <primary sortas="c-libnspr4">libnspr4.so</primary>
    160193          </indexterm>
    161194        </listitem>
     
    163196
    164197      <varlistentry id="libplc4">
    165         <term><filename class='libraryfile'>libplc4.{so,a}</filename></term>
    166         <listitem>
    167           <para>contains functions that implement many of the features offered
    168           by libnspr4</para>
     198        <term><filename class='libraryfile'>libplc4.so</filename></term>
     199        <listitem>
     200          <para>
     201            contains functions that implement many of the features offered by
     202            libnspr4
     203          </para>
    169204          <indexterm zone="nspr libplc4">
    170             <primary sortas="c-libplc4">libplc4.{so,a}</primary>
     205            <primary sortas="c-libplc4">libplc4.so</primary>
    171206          </indexterm>
    172207        </listitem>
     
    174209
    175210      <varlistentry id="libplds4">
    176         <term><filename class='libraryfile'>libplds4.{so,a}</filename></term>
    177         <listitem>
    178           <para>contains functions that provide data structures.</para>
     211        <term><filename class='libraryfile'>libplds4.so</filename></term>
     212        <listitem>
     213          <para>
     214            contains functions that provide data structures.
     215          </para>
    179216          <indexterm zone="nspr libplds4">
    180             <primary sortas="c-libplds4">libplds4.{so,a}</primary>
    181           </indexterm>
    182         </listitem>
    183       </varlistentry>
    184 
     217            <primary sortas="c-libplds4">libplds4.so</primary>
     218          </indexterm>
     219        </listitem>
     220      </varlistentry>
    185221    </variablelist>
    186 
    187   </sect2>
    188 
     222  </sect2>
    189223</sect1>
  • introduction/welcome/changelog.xml

    r181662f r7753fc6  
    4646      <itemizedlist>
    4747        <listitem>
    48           <para>[rthomsen] - Modified configuration of polkit. Thanks to Armin K. for creating the patch.</para>
    49         </listitem>
    50         <listitem>
     48          <para>[rthomsen] - Modified configuration of polkit. Thanks to
     49          Armin K. for creating the patch.</para>
     50        </listitem>
     51        <listitem>
    5152          <para>[rthomsen] - Updated to akonadi 1.7.1.</para>
    5253        </listitem>
     54        <listitem>
     55          <para>[abenton] - NSPR 4.9.</para>
     56        </listitem>
    5357      </itemizedlist>
    5458    </listitem>
     
    6165          <para>[rthomsen] - Updated to polkit-0.104.</para>
    6266        </listitem>
    63         <listitem>
    64           <para>[rthomsen] - Updated to XChat 2.8.8. Thanks to Armin K. for creating the patch.</para>
    65         </listitem>
    66         <listitem>
     67        <listitem>
     68          <para>[rthomsen] - Updated to XChat 2.8.8. Thanks to Armin K. for
     69          creating the patch.</para>
     70        </listitem>
     71        <listitem>
    6772          <para>[rthomsen] - Updated to Strigi 0.7.5.</para>
    6873        </listitem>
    69         <listitem>
     74        <listitem>
    7075          <para>[rthomsen] - Added patch for Raptor 1.4.21.</para>
    7176        </listitem>
    72         <listitem>
     77        <listitem>
    7378          <para>[rthomsen] - Updated to Soprano 2.7.4.</para>
    7479        </listitem>
    75         <listitem>
     80        <listitem>
    7681          <para>[rthomsen] - Updated to Kde4libs 4.8.0.</para>
    7782        </listitem>
     
    865870        <listitem>
    866871          <para>[ken] - Add autogen-5.12, clutter-gst-1.4.4, colord-0.1.14,
    867           lcms2-2.2 and mx-1.2.1 from Wayne, and mention Cantarell fonts in the
     872          lcms2-2.2 and mx-1.2.1 from Wayne, and mention Cantarell fonts in the
    868873          Xft Font Protocol part of xorg-config.</para>
    869874        </listitem>
    870875        <listitem>
    871           <para>[ken] - Merge clutter-1.8.2, clutter-gtk-1.0.4 and eviv2-0.22
     876          <para>[ken] - Merge clutter-1.8.2, clutter-gtk-1.0.4 and eviv2-0.22
    872877          from Wayne.</para>
    873878        </listitem>
Note: See TracChangeset for help on using the changeset viewer.