source: general/genlib/libinput-systemd.xml@ abf03a85

systemd-13485
Last change on this file since abf03a85 was abf03a85, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Update to samba-4.3.0
Update to libgcrypt-1.6.4
Update to gvfs-1.24.2
Update to nautilus-3.16.2
Update to zenity-3.16.3
Update to gnome-bluetooth-3.16.1
Update to xf86-input-wacom-0.31.0
Update to NSS-3.20
Update to gnome-settings-daemon-3.16.3
Update to cracklib-2.9.6 and cracklib-words-2.9.6
Update to libpwquality-1.3.0
Update to appstream-glib-0.5.0
Update to cheese-3.16.1
Update to ibus-1.5.11
Update to network-manager-applet-1.0.6
Update to exiv2-0.25
Update to gnome-color-manager-3.16.0
Update to gnome-control-center-3.16.3
Update to libinput-1.0.1
Update to mutter-3.16.3
Update to gnome-shell-3.16.3
Update to gnome-shell-extensions-3.16.2
Update to gnome-session-3.16.0
Update to gdm-3.16.2
Update to gnome-user-docs-3.16.1
Update to yelp-3.16.1

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