source: networking/netlibs/libevent.xml@ 7fd2c27

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7fd2c27 was 7fd2c27, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Tags, Tags, and More Tags!

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

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