source: general/genlib/libuv.xml@ ed345e7

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since ed345e7 was ed345e7, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Tags

  • Property mode set to 100644
File size: 4.8 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 "fa56dafe664d21f9568adebc428d2d64">
10 <!ENTITY libuv-size "1.2 MB">
11 <!ENTITY libuv-buildsize "14 MB (add 14 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 &lfs120_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="???"/>
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 want to run the tests, add -DBUILD_TESTING=true to
118 the cmake line above and after building run:
119 <command>make test</command>.
120 </para>
121-->
122 <para>
123 If you want to run the tests, run: <command>make check</command> as
124 a non-root user. <!-- the test suite refuses to run as root -->
125 </para>
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>make install</userinput></screen>
131
132 </sect2>
133
134<!--
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para>
139 <command>sed ...</command>: This command disables installation
140 of the static library.
141 </para>
142
143 </sect2>
144-->
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Library</segtitle>
151 <segtitle>Installed Directory</segtitle>
152
153 <seglistitem>
154 <seg>
155 None
156 </seg>
157 <seg>
158 libuv.so
159 </seg>
160 <seg>
161 /usr/include/uv
162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="libuv.so">
172 <term><filename class="libraryfile">libuv.so</filename></term>
173 <listitem>
174 <para>
175 contains API functions for asynchronous I/O operations
176 </para>
177 <indexterm zone="libuv libuv.so">
178 <primary sortas="c-libuv.so">libuv.so</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect2>
186
187</sect1>
Note: See TracBrowser for help on using the repository browser.