source: general/genlib/libinput.xml@ d679563

systemd-13485
Last change on this file since d679563 was cecac4d, checked in by DJ Lucas <dj@…>, 9 years ago

Merge several recent changes from trunk - sync relevant changes to r16949.

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

  • Property mode set to 100644
File size: 6.7 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 libinput-version "1.1.7">
8
9 <!ENTITY libinput-download-http "http://www.freedesktop.org/software/libinput/libinput-&libinput-version;.tar.xz">
10 <!ENTITY libinput-download-ftp " ">
11 <!ENTITY libinput-md5sum "a501715a6135ac1f772bb5f3e3183481">
12 <!ENTITY libinput-size "808 KB">
13 <!ENTITY libinput-buildsize "32 MB">
14 <!ENTITY libinput-time "0.2 SBU">
15]>
16
17<sect1 id="libinput" xreflabel="libinput-&libinput-version;">
18 <?dbhtml filename="libinput.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>libinput-&libinput-version;</title>
26
27 <indexterm zone="libinput">
28 <primary sortas="a-libinput">libinput</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to libinput</title>
33
34 <para>
35 <application>libinput</application> is a library that handles
36 input devices for display servers and other applications that
37 need to directly deal with input devices.
38 </para>
39
40 &lfs77_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&libinput-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&libinput-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &libinput-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &libinput-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &libinput-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &libinput-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">libinput Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="libevdev"/> and
81 <xref linkend="mtdev"/>
82 </para>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional">
86 <xref linkend="check"/> and
87 <xref linkend="valgrind"/> (to build the tests),
88 <xref linkend="doxygen"/> and
89 <xref linkend="graphviz"/> (to build the documentation)
90 <xref linkend="gtk3"/> (to build the GUI event viewer) and
91 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>
92 </para>
93
94 <para condition="html" role="usernotes">
95 User Notes: <ulink url="&blfs-wiki;/libinput"/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of libinput</title>
101
102 <para>
103 Install <application>libinput</application> by running the following
104 commands:
105 </para>
106
107<screen><userinput>./configure --prefix=/usr \
108 --disable-static \
109 --with-udev-dir=/lib/udev &amp;&amp;
110make</userinput></screen>
111
112 <para>
113 Running the testsuite for this package can be dangerous, as
114 it creates a number of dummy input devices on the currently
115 running system that can lead to crashing a local X server or
116 a desktop environment. If you understand the risks and have
117 the optional <xref linkend="check"/> and
118 <xref linkend="valgrind"/> packages installed, the regression
119 tests can be run as the <systemitem
120 class="username">root</systemitem> user with
121 <userinput>make check</userinput>. Note that depending on
122 the system configuration and hardware, some tests may fail.
123 </para>
124
125 <para>
126 Now, as the <systemitem class="username">root</systemitem> user:
127 </para>
128
129<screen role="root"><userinput>make install</userinput></screen>
130
131 <para>
132 If <xref linkend="doxygen"/> and <xref linkend="graphviz"/> were
133 present during the build, you can install the generated documentation
134 by running the following commands as the <systemitem
135 class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>install -v -dm755 /usr/share/doc/libinput-&libinput-version; &amp;&amp;
139cp -rv doc/html/* /usr/share/doc/libinput-&libinput-version;</userinput></screen>
140
141 </sect2>
142
143 <sect2 role="commands">
144 <title>Command Explanations</title>
145
146 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
147 href="../../xincludes/static-libraries.xml"/>
148
149 <para>
150 <parameter>--with-udev-dir=/lib/udev</parameter>: This switch
151 specifies where UDev rules and hwdb files will be installed.
152 </para>
153
154 </sect2>
155
156 <sect2 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Programs</segtitle>
161 <segtitle>Installed Libraries</segtitle>
162 <segtitle>Installed Directories</segtitle>
163
164 <seglistitem>
165 <seg>
166 libinput-debug-events and libinput-list-devices
167 </seg>
168 <seg>
169 libinput.so
170 </seg>
171 <seg>
172 /usr/share/doc/libinput-&libinput-version;
173 </seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="libinput-debug-events">
183 <term><command>libinput-debug-events</command></term>
184 <listitem>
185 <para>
186 is a debug helper for <application>libinput</application>.
187 </para>
188 <indexterm zone="libinput libinput-debug-events">
189 <primary sortas="b-libinput-debug-events">libinput-debug-events</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="libinput-list-devices">
195 <term><command>libinput-list-devices</command></term>
196 <listitem>
197 <para>
198 lists local devices as recognized by
199 <application>libinput</application>.
200 </para>
201 <indexterm zone="libinput libinput-list-devices">
202 <primary sortas="b-libinput-list-devices">libinput-list-devices</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="libinput-lib">
208 <term><filename class="libraryfile">libinput.so</filename></term>
209 <listitem>
210 <para>
211 contains API functions for handling input devices.
212 </para>
213 <indexterm zone="libinput libinput-lib">
214 <primary sortas="c-libinput">libinput.so</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 </variablelist>
220
221 </sect2>
222
223</sect1>
Note: See TracBrowser for help on using the repository browser.