source: networking/netlibs/libevent.xml@ 898a61e

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 898a61e was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.9 KB
RevLine 
[5ef6186]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
[e27c5c5d]7 <!ENTITY libevent-source "https://github.com/libevent/libevent/releases/download">
8
9 <!ENTITY libevent-download-http "&libevent-source;/release-&libevent-version;-stable/libevent-&libevent-version;-stable.tar.gz">
[5ef6186]10 <!ENTITY libevent-download-ftp " ">
[b2bd6604]11 <!ENTITY libevent-md5sum "b5333f021f880fe76490d8a799cd79f4">
[0732d97d]12 <!ENTITY libevent-size "1.0 MB">
[3591ad9]13 <!ENTITY libevent-buildsize "20 MB (add 4 MB for tests and 4 MB for API docs)">
14 <!ENTITY libevent-time "0.3 SBU (add 11 SBU for tests)">
[5ef6186]15]>
16
17<sect1 id="libevent" xreflabel="libevent-&libevent-version;">
18 <?dbhtml filename="libevent.html"?>
19
20
21 <title>libevent-&libevent-version;</title>
22
23 <indexterm zone="libevent">
[ea21196]24 <primary sortas="a-libevent">libevent</primary>
[5ef6186]25 </indexterm>
26
27 <sect2 role="package">
[ea21196]28 <title>Introduction to libevent</title>
[5ef6186]29
30 <para>
[ea21196]31 <application>libevent</application> is an asynchronous event notification
32 software library. The <application>libevent</application> API provides a
33 mechanism to execute a callback function when a specific event occurs on
34 a file descriptor or after a timeout has been reached. Furthermore,
35 <application>libevent</application> also supports callbacks due to
36 signals or regular timeouts.
[5ef6186]37 </para>
38
[ecc2386]39 &lfs112_checked;
[5ef6186]40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&libevent-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&libevent-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &libevent-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &libevent-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &libevent-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &libevent-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
[ea21196]75 <bridgehead renderas="sect3">libevent Dependencies</bridgehead>
[b1a45a4b]76 <!-- Python3 ports of the rpcgen_event.py file were produced in 2.1.9 -->
[94b42903]77<!--
[5ef6186]78 <bridgehead renderas="sect4">Recommended</bridgehead>
[ea21196]79 <para role="recommended">
80 <xref linkend="openssl"/>
81 </para>
[94b42903]82-->
[be00429]83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="doxygen"/> (for API documentation)
86 </para>
87
[5ef6186]88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/libevent"/>
90 </para>
91 </sect2>
92
93 <sect2 role="installation">
[ea21196]94 <title>Installation of libevent</title>
[5ef6186]95
[20e9b21]96 <para>
[ecc2386]97 First, fix an issue that prevents event_rpcgen.py from working:
[20e9b21]98 </para>
99
100<screen><userinput remap="pre">sed -i 's/python/&amp;3/' event_rpcgen.py</userinput></screen>
101
[5ef6186]102 <para>
[ea21196]103 Install <application>libevent</application> by running the following
[5ef6186]104 commands:
105 </para>
106
[0732d97d]107<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[5ef6186]108make</userinput></screen>
109
[101030d]110 <para>
111 If you have <xref linkend="doxygen"/> installed and wish to build API
[a42c273]112 documentation, issue :
[101030d]113 </para>
114
[a42c273]115<screen remap="doc"><userinput>doxygen Doxyfile</userinput></screen>
116
[5ef6186]117 <para>
[d9622443]118 To test the results, issue: <command>make verify</command>. Six tests in
119 every suite related to <filename>regress_ssl.c</filename> and
120 <filename>regress_http.c</filename> are known to fail due to
121 incompatibilities with OpenSSL-3.
[ea21196]122 </para>
[5ef6186]123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>make install</userinput></screen>
[101030d]129
130 <para>
131 If you built the API documentation, install it by issuing the following
132 commands as the <systemitem class="username">root</systemitem> user:
133 </para>
134
[a42c273]135<screen role="root"
136 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/libevent-&libevent-version;/api &amp;&amp;
[0732d97d]137cp -v -R doxygen/html/* \
[101030d]138 /usr/share/doc/libevent-&libevent-version;/api</userinput></screen>
[5ef6186]139 </sect2>
[0732d97d]140
[5ef6186]141 <sect2 role="commands">
142 <title>Command Explanations</title>
143
144 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
145 href="../../xincludes/static-libraries.xml"/>
[ea21196]146
[5ef6186]147 </sect2>
[0732d97d]148
[5ef6186]149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Program</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directory</segtitle>
156
157 <seglistitem>
[ea21196]158 <seg>
[0732d97d]159 event_rpcgen.py
[ea21196]160 </seg>
[5ef6186]161 <seg>
[0732d97d]162 libevent_core.so,
163 libevent_extra.so,
164 libevent_openssl.so,
165 libevent_pthreads.so and
166 libevent.so
[5ef6186]167 </seg>
[ea21196]168 <seg>
[0732d97d]169 /usr/include/event2 and
[d591de4]170 /usr/share/doc/libevent-&libevent-version;
[ea21196]171 </seg>
[5ef6186]172 </seglistitem>
173 </segmentedlist>
174
175 <!-- Who knows what these things do?
176 <variablelist>
177 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
178 <?dbfo list-presentation="list"?>
179 <?dbhtml list-presentation="table"?>
180
[0732d97d]181 <varlistentry id="event_rpcgen.py">
182 <term><command>event_rpcgen.py</command></term>
[5ef6186]183 <listitem>
184 <para>
[0732d97d]185 does this .....
[5ef6186]186 </para>
[0732d97d]187 <indexterm zone="libevent event_rpcgen.py">
188 <primary sortas="b-event_rpcgen.py">event_rpcgen.py</primary>
[5ef6186]189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="libevent_core">
194 <term><filename class="libraryfile">libevent_core.so</filename></term>
195 <listitem>
196 <para>
197 contains functions that .....
198 </para>
199 <indexterm zone="libevent libevent_core">
200 <primary sortas="c-libevent_core">libevent_core.so</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204 </variablelist>
205
206 <varlistentry id="libevent_extra">
207 <term><filename class="libraryfile">libevent_extra.so</filename></term>
208 <listitem>
209 <para>
210 contains functions that .....
211 </para>
212 <indexterm zone="libevent libevent_extra">
213 <primary sortas="c-libevent_extra">libevent_extra.so</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
[0732d97d]217 </variablelist>
218
219 <varlistentry id="libevent_openssl">
220 <term><filename class="libraryfile">libevent_openssl.so</filename></term>
221 <listitem>
222 <para>
223 contains functions that .....
224 </para>
225 <indexterm zone="libevent libevent_openssl">
226 <primary sortas="c-libevent_openssl">libevent_openssl.so</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230 </variablelist>
231
232 <varlistentry id="libevent_pthreads">
233 <term><filename class="libraryfile">libevent_pthreads.so</filename></term>
234 <listitem>
235 <para>
236 contains functions that .....
237 </para>
238 <indexterm zone="libevent libevent_pthreads">
239 <primary sortas="c-libevent_pthreads">libevent_pthreads.so</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243 </variablelist>
244
245 <varlistentry id="libevent-lib">
246 <term><filename class="libraryfile">libevent.so</filename></term>
247 <listitem>
248 <para>
249 contains functions that .....
250 </para>
251 <indexterm zone="libevent libevent-lib">
252 <primary sortas="c-libevent">libevent.so</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
[ea21196]256
[5ef6186]257 </variablelist> -->
[ea21196]258
[5ef6186]259 </sect2>
[ea21196]260
[5ef6186]261</sect1>
Note: See TracBrowser for help on using the repository browser.