source: x/installing/libevdev.xml@ 95d49d5e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 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 nosym 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 95d49d5e was 95d49d5e, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update to xorg-server-1.16.2
Update to libevdev-1.3.1

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

  • Property mode set to 100644
File size: 5.3 KB
RevLine 
[b7a67e90]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
[95d49d5e]7 <!ENTITY libevdev-version "1.3.1">
[35e960fb]8
9 <!ENTITY libevdev-download-http "http://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
10 <!ENTITY libevdev-download-ftp " ">
[95d49d5e]11 <!ENTITY libevdev-md5sum "c47d49e16c6f7d2eb45164a58895aecb">
[26487c1]12 <!ENTITY libevdev-size "384 KB">
[95d49d5e]13 <!ENTITY libevdev-buildsize "8.9 MB (with tests)">
14 <!ENTITY libevdev-time "0.1 SBU (0.2 SBU with tests)">
[b7a67e90]15]>
16
[14ddbdf6]17 <!-- Begin Xorg Libevdev Driver -->
[35e960fb]18 <sect2 id="libevdev" xreflabel="Libevdev-&libevdev-version;">
[b7a67e90]19
[35e960fb]20 <title>Libevdev &libevdev-version;</title>
[b7a67e90]21
[35e960fb]22 <indexterm zone="libevdev">
23 <primary sortas="a-libevdev">libevdev</primary>
[b7a67e90]24 </indexterm>
25
26 <sect3 role="package">
[35e960fb]27 <title>Introduction to Libevdev</title>
[b7a67e90]28
29 <para>
[35e960fb]30 The <application>Libevdev</application> package contains common
[b7a67e90]31 functions for Xorg input drivers.
32 </para>
33
[59d9079]34 &lfs76_checked;
[b7a67e90]35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
[35e960fb]40 Download (HTTP): <ulink url="&libevdev-download-http;"/>
[b7a67e90]41 </para>
42 </listitem>
43 <listitem>
44 <para>
[35e960fb]45 Download (FTP): <ulink url="&libevdev-download-ftp;"/>
[b7a67e90]46 </para>
47 </listitem>
48 <listitem>
49 <para>
[35e960fb]50 Download MD5 sum: &libevdev-md5sum;
[b7a67e90]51 </para>
52 </listitem>
53 <listitem>
54 <para>
[35e960fb]55 Download size: &libevdev-size;
[b7a67e90]56 </para>
57 </listitem>
58 <listitem>
59 <para>
[35e960fb]60 Estimated disk space required: &libevdev-buildsize;
[b7a67e90]61 </para>
62 </listitem>
63 <listitem>
64 <para>
[35e960fb]65 Estimated build time: &libevdev-time;
[b7a67e90]66 </para>
67 </listitem>
68 </itemizedlist>
69
[35e960fb]70 <bridgehead renderas="sect4">Libevdev Dependencies</bridgehead>
[b7a67e90]71
72 <bridgehead renderas="sect5">Required</bridgehead>
73 <para role="required">
74 <xref linkend="python2"/>
75 </para>
76
77 <bridgehead renderas="sect5">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="check"/>,
80 <xref linkend="doxygen"/>, and
81 <xref linkend="valgrind"/>
82 </para>
83
84 <para condition="html" role="usernotes">
[35e960fb]85 User Notes: <ulink url="&blfs-wiki;/libevdev"/>
[b7a67e90]86 </para>
87 </sect3>
88
[35e960fb]89 <sect3 role="kernel" id="libevdev-kernel">
[b7a67e90]90 <title>Kernel Configuration</title>
91
92 <para>
93 Enable the following options in the kernel configuration and recompile the
94 kernel if necessary:
95 </para>
96
97<screen><literal>Device Drivers ---&gt;
98 Input device support ---&gt;
99 Event interface: Y or M
100 Miscellaneous devices ---&gt;
101 User level driver support: Y or M</literal></screen>
102
[35e960fb]103 <indexterm zone="libevdev libevdev-kernel">
104 <primary sortas="d-libevdev">libevdev</primary>
[b7a67e90]105 </indexterm>
106 </sect3>
107
108 <sect3 role="installation">
[35e960fb]109 <title>Installation of Libevdev</title>
[b7a67e90]110
[d9bfb9f]111 <para>If <xref linkend="valgrind"/> is installed and tests are
112 going to be run, fix a testing problem:</para>
113
114<screen><userinput>cat &gt;&gt; test/valgrind.suppressions &lt;&lt; "EOF"
115{
116 &lt;timer_create@@GLIBC_2.3.3-2&gt;
117 Memcheck:Param
118 timer_create(evp)
119 fun:timer_create@@GLIBC_2.3.3
120 fun:check_get_clockid
121 fun:srunner_run
122 fun:main
123}
124EOF</userinput></screen>
125
[b7a67e90]126 <para>
[35e960fb]127 Install <application>Libevdev</application> by running the following
[b7a67e90]128 commands:
129 </para>
130
131<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
132make</userinput></screen>
133
134 <para>
135 If you have the optional <xref linkend='check'/> package installed,
136 the regression tests can be run as the <systemitem
137 class="username">root</systemitem> user with
138 <userinput>make check</userinput>.
139 </para>
140
141 <para>
142 Now, as the <systemitem class="username">root</systemitem> user:
143 </para>
144
145<screen role="root"><userinput>make install</userinput></screen>
146 </sect3>
147
148 <sect3 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Xorg Program</segtitle>
153 <segtitle>Installed Xorg Library</segtitle>
154
155 <seglistitem>
156 <seg>
157 touchpad-edge-detector
158 </seg>
159 <seg>
160 libevdev.so
161 </seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
[35e960fb]170 <varlistentry id="libevdev-lib">
[b7a67e90]171 <term><filename class="libraryfile">libevdev.so</filename></term>
172 <listitem>
173 <para>
174 is a library of Xorg driver input functions.
175 </para>
[35e960fb]176 <indexterm zone="libevdev libevdev-lib">
177 <primary sortas="c-libevdev-lib">ebvdev.so</primary>
[b7a67e90]178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 </variablelist>
183
184 </sect3>
185
186 </sect2>
187 <!-- End Xorg Evdev Driver -->
Note: See TracBrowser for help on using the repository browser.