source: general/genlib/libuv.xml@ 937efdb

11.0 11.1 11.2 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 937efdb was 937efdb, checked in by Xi Ruoyao <xry111@…>, 15 months ago

tags

  • Property mode set to 100644
File size: 5.0 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 libuv-download-http "https://dist.libuv.org/dist/v&libuv-version;/libuv-v&libuv-version;.tar.gz">
8 <!ENTITY libuv-download-ftp " ">
9 <!ENTITY libuv-md5sum "484dec4a06e183c20be815019ce9ddd0">
10 <!ENTITY libuv-size "1.2 MB">
11 <!ENTITY libuv-buildsize "13 MB (add 12 MB for tests)">
12 <!ENTITY libuv-time "less than 0.1 SBU (Using parallelism=4; add 0.5 SBU for tests)">
13]>
14
15<sect1 id="libuv" xreflabel="libuv-&libuv-version;">
16 <?dbhtml filename="libuv.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>libuv-&libuv-version;</title>
23
24 <indexterm zone="libuv">
25 <primary sortas="a-libuv">libuv</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to libuv</title>
30
31 <para>
32 The <application>libuv</application> package is a
33 multi-platform support library with a focus on asynchronous I/O.
34 </para>
35
36 &lfs110a_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&libuv-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&libuv-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &libuv-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &libuv-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &libuv-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &libuv-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71<!--
72 <bridgehead renderas="sect3">libuv Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="???"/>
77 </para>
78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <para role="optional">
81 <xref linkend="???"/>
82 </para>
83-->
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/libuv"/>
86 </para>
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of libuv</title>
91
92 <para>
93 Install <application>libuv</application> by running the following
94 commands:
95 </para>
96
97 <caution>
98 <para>
99 The <command>sh autogen.sh</command> command below fails if the ACLOCAL
100 environment variable is set as specified in <xref linkend="xorg7"/>.
101 If it is used, ACLOCAL needs to be unset for this package and then
102 reset for other packages.
103 </para>
104 </caution>
105
106<!--
107Don't use cmake here to avoid circular dependency
108
109<screen><userinput>sed -i "/TARGETS uv_a ARCHIVE/d" CMakeLists.txt &amp;&amp;
110
111mkdir build &amp;&amp;
112cd build &amp;&amp;
113
114cmake -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
115make </userinput></screen>
116-->
117
118<screen><userinput>sh autogen.sh &amp;&amp;
119./configure --prefix=/usr --disable-static &amp;&amp;
120make </userinput></screen>
121<!--
122 <para>
123 If you want to run the tests, add -DBUILD_TESTING=true to
124 the cmake line above and after building run:
125 <command>make test</command>.
126 </para>
127-->
128 <para>
129 If you want to run the tests, run: <command>make check</command>.
130<!-- as of version 1.42.0 - all tests passed
131 One test, ipc_closed_handle, is known to fail.
132-->
133 </para>
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>make install</userinput></screen>
139
140 </sect2>
141
142<!--
143 <sect2 role="commands">
144 <title>Command Explanations</title>
145
146 <para>
147 <command>sed ...</command>: This command disables installation
148 of the static library.
149 </para>
150
151 </sect2>
152-->
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Library</segtitle>
159 <segtitle>Installed Directory</segtitle>
160
161 <seglistitem>
162 <seg>
163 None
164 </seg>
165 <seg>
166 libuv.so
167 </seg>
168 <seg>
169 /usr/include/uv
170 </seg>
171 </seglistitem>
172 </segmentedlist>
173
174 <variablelist>
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
176 <?dbfo list-presentation="list"?>
177 <?dbhtml list-presentation="table"?>
178
179 <varlistentry id="libuv.so">
180 <term><filename class="libraryfile">libuv.so</filename></term>
181 <listitem>
182 <para>
183 contains API functions for asynchronous I/O operations
184 </para>
185 <indexterm zone="libuv libuv.so">
186 <primary sortas="c-libuv.so">libuv.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.