source: general/genlib/libevdev-systemd.xml@ 169031f

krejzi/svn
Last change on this file since 169031f was 169031f, checked in by Krejzi <krejzi@…>, 10 years ago

More systemd conversion, new package addition and minor fixes to existing ones, package updates for General Libraries section.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd-ng@14742 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • 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 <!-- Place this in the general.ent file
8 <!ENTITY libevdev-version "">
9 -->
10
11 <!ENTITY libevdev-download-http "http://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
12 <!ENTITY libevdev-download-ftp " ">
13 <!ENTITY libevdev-md5sum "ab67de8f949e84ae2abb48af09eda423">
14 <!ENTITY libevdev-size "375 KB">
15 <!ENTITY libevdev-buildsize "7.6 MB">
16 <!ENTITY libevdev-time "0.1 SBU (0.3 SBU with all tests)">
17]>
18
19<sect1 id="libevdev" xreflabel="libevdev-&libevdev-version;">
20 <?dbhtml filename="libevdev.html"?>
21
22 <sect1info>
23 <othername>$LastChangedBy$</othername>
24 <date>$Date$</date>
25 </sect1info>
26
27 <title>libevdev-&libevdev-version;</title>
28
29 <indexterm zone="libevdev">
30 <primary sortas="a-libevdev">libevdev</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to libevdev</title>
35
36 <para>
37 <application>libevdev</application> is a wrapper library for evdev
38 devices. It moves the common tasks when dealing with evdev devices
39 into a library and provides a library interface to the callers,
40 thus avoiding erroneous ioctls, etc.
41 </para>
42
43 &lfs76_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&libevdev-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&libevdev-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &libevdev-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &libevdev-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &libevdev-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &libevdev-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">libevdev Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="python2"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="check"/>,
89 <xref linkend="doxygen"/>, and
90 <xref linkend="valgrind"/>
91 </para>
92
93 <para condition="html" role="usernotes">
94 User Notes: <ulink url="&blfs-wiki;/libevdev"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libevdev</title>
100
101 <para>
102 If <xref linkend="valgrind"/> is installed and tests are
103 going to be run, fix a testing problem:
104 </para>
105
106<screen><userinput>cat &gt;&gt; test/valgrind.suppressions &lt;&lt; "EOF"
107{
108 &lt;timer_create@@GLIBC_2.3.3-2&gt;
109 Memcheck:Param
110 timer_create(evp)
111 fun:timer_create@@GLIBC_2.3.3
112 fun:check_get_clockid
113 fun:srunner_run
114 fun:main
115}
116EOF</userinput></screen>
117
118 <para>
119 Install <application>libevdev</application> by running the following
120 commands:
121 </para>
122
123<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 If you have the optional <xref linkend="check"/> package installed,
128 the regression tests can be run as the <systemitem
129 class="username">root</systemitem> user with
130 <userinput>make check</userinput>.
131 </para>
132
133 <para>
134 Now, as the <systemitem class="username">root</systemitem> user:
135 </para>
136
137<screen role="root"><userinput>make install</userinput></screen>
138
139 </sect2>
140
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"/>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directories</segtitle>
156
157 <seglistitem>
158 <seg>
159 touchpad-edge-detector
160 </seg>
161 <seg>
162 libevdev.so
163 </seg>
164 <seg>
165 None
166 </seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="libevdev-lib">
176 <term><filename class="libraryfile">libevdev.so</filename></term>
177 <listitem>
178 <para>
179 contains API functions for accessing evdev devices.
180 </para>
181 <indexterm zone="libevdev libevdev-lib">
182 <primary sortas="c-libevdev">libevdev.so</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.