source: general/genlib/libuv.xml

trunk
Last change on this file was 99c90fa, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Lots of tags

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 "a808517c32ebd07c561bf21a4e30aeab">
10 <!ENTITY libuv-size "1.3 MB">
11 <!ENTITY libuv-buildsize "14 MB (add 16 MB for tests)">
12 <!ENTITY libuv-time "less than 0.1 SBU (add 0.5 SBU for tests)">
13]>
14
15<sect1 id="libuv" xreflabel="libuv-&libuv-version;">
16 <?dbhtml filename="libuv.html"?>
17
18
19 <title>libuv-&libuv-version;</title>
20
21 <indexterm zone="libuv">
22 <primary sortas="a-libuv">libuv</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libuv</title>
27
28 <para>
29 The <application>libuv</application> package is a
30 multi-platform support library with a focus on asynchronous I/O.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&libuv-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&libuv-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &libuv-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &libuv-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &libuv-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &libuv-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">libuv Dependencies</bridgehead>
70<!--
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="???"/>
74 </para>
75-->
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="sphinx"/>
79 </para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of libuv</title>
85
86 <para>
87 Install <application>libuv</application> by running the following
88 commands:
89 </para>
90
91 <caution>
92 <para>
93 The <command>sh autogen.sh</command> command below fails if the ACLOCAL
94 environment variable is set as specified in <xref linkend="xorg7"/>.
95 If it is used, ACLOCAL needs to be unset for this package and then
96 reset for other packages.
97 </para>
98 </caution>
99
100<!--
101Don't use cmake here to avoid circular dependency
102
103<screen><userinput>sed -i "/TARGETS uv_a ARCHIVE/d" CMakeLists.txt &amp;&amp;
104
105mkdir build &amp;&amp;
106cd build &amp;&amp;
107
108cmake -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
109make </userinput></screen>
110-->
111
112<screen><userinput>sh autogen.sh &amp;&amp;
113./configure --prefix=/usr --disable-static &amp;&amp;
114make </userinput></screen>
115
116 <para>
117 If you installed the optional <xref linkend="sphinx"/> python module,
118 create the man page:
119 </para>
120
121<screen remap="doc"><userinput>make man -C docs</userinput></screen>
122
123 <para>
124 If you want to run the tests, run: <command>make check</command> as
125 a non-root user. <!-- the test suite refuses to run as root -->
126 </para>
127
128 <para>
129 Now, as the &root; user:
130 </para>
131
132<screen role="root"><userinput>make install</userinput></screen>
133
134 <para>
135 If you built the man page, install it as the &root; user:
136 </para>
137
138<screen role="root" remap="doc"><userinput>install -Dm644 docs/build/man/libuv.1 /usr/share/man/man1</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.