source: x/installing/libinput.xml@ 99feb0ce

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 99feb0ce was 99feb0ce, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to gnome-keyring-3.20.1.
Update to QScintilla_gpl-2.10.1.
Update to faac-1.29.
Update to libinput-1.8.0.
Update to udisks2-2.7.1.

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

  • Property mode set to 100644
File size: 8.1 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.8.0">
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 "f12066eeda3e1aeaa65eeca4b9ad833d">
12 <!ENTITY libinput-size "920 KB">
13 <!ENTITY libinput-buildsize "18 MB (add 8 MB for tests)">
14 <!ENTITY libinput-time "0.1 SBU (add 14 minutes for tests, not CPU dependent)">
15]>
16
17<sect2 id="libinput" xreflabel="libinput-&libinput-version;">
18 <?dbhtml filename="libinput.html"?>
19
20 <sect2info>
21 <othername>$LastChangedBy: renodr $</othername>
22 <date>$Date: 2015-09-14 17:42:53 -0500 (Mon, 14 Sep 2015) $</date>
23 </sect2info>
24
25 <title>libinput-&libinput-version;</title>
26
27 <indexterm zone="libinput">
28 <primary sortas="a-libinput">libinput</primary>
29 </indexterm>
30
31 <sect3 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 &lfs80_checked;
41 &gcc7_checked;
42
43 <bridgehead renderas="sect4">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&libinput-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&libinput-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &libinput-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &libinput-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &libinput-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &libinput-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect4">libinput Dependencies</bridgehead>
78
79 <bridgehead renderas="sect5">Required</bridgehead>
80 <para role="required">
81 <xref linkend="libevdev"/> and
82 <xref linkend="mtdev"/>
83 </para>
84
85 <bridgehead renderas="sect5">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="check"/> and
88 <xref linkend="valgrind"/> (to run the tests),
89 <xref linkend="doxygen"/> and
90 <xref linkend="graphviz"/> (to build the documentation)
91 <xref linkend="gtk3"/> (to build the GUI event viewer),
92 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink> (required to build tests), and
93 <ulink revision="sysv" url="https://sourceforge.net/projects/linuxwacom/files/libwacom/">libwacom</ulink>
94 <xref revision="systemd" linkend="libwacom"/>
95 </para>
96
97 <para condition="html" role="usernotes">
98 User Notes: <ulink url="&blfs-wiki;/libinput"/>
99 </para>
100 </sect3>
101
102 <sect3 role="installation">
103 <title>Installation of libinput</title>
104
105 <para>
106 Install <application>libinput</application> by running the following
107 commands:
108 </para>
109
110<screen><userinput>./configure $XORG_CONFIG \
111 --disable-libwacom \
112 --with-udev-dir=/lib/udev &amp;&amp;
113make</userinput></screen>
114
115 <note>
116 <para>If you want to run the tests, add --enable-tests to the
117 <command>configure</command> options above. In addition, the external
118 library, libunwind, must be installed.</para>
119
120 <para> To run the tests for this package, valgrind requires a version of
121 the /lib/ld-2.23.so (or later) library with debugging symbols present.
122 Normally in LFS these debugging symbols are stripped at the end of
123 Chapter 6. To get this library, glibc must be rebuilt with the current
124 glibc version using the same compiler that was used to build LFS. The
125 ld-2.23.so can then be renamed to ld-2.23.so.dbg and copied to /lib.
126 Then a symlink needs to be changed:</para>
127
128 <screen role="nodump"><userinput>ln -sfv ld-2.23.so.dbg /lib/ld-linux-x86-64.so.2</userinput></screen>
129
130 <para>Adjust the above instruction as needed for a 32-bit system
131 or for a different version of glibc</para>
132
133 </note>
134
135 <para>
136 Running the testsuite for this package can cause problems.
137 It creates a number of dummy input devices on the currently
138 running system that can lead to crashing a local X server or
139 a desktop environment. If you understand the risks and have
140 the optional <xref linkend="check"/> and
141 <xref linkend="valgrind"/> packages installed, the regression
142 tests can be run as the <systemitem
143 class="username">root</systemitem> user with
144 <userinput>make check</userinput>. Note that depending on
145 the system configuration and hardware, some tests may fail.
146 </para>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make install</userinput></screen>
153
154 <para>
155 If <xref linkend="doxygen"/> and <xref linkend="graphviz"/> were
156 present during the build, you can install the generated documentation
157 by running the following commands as the <systemitem
158 class="username">root</systemitem> user:
159 </para>
160
161<screen role="root"><userinput>install -v -dm755 $XORG_PREFIX/share/doc/libinput-&libinput-version; &amp;&amp;
162cp -rv doc/html/* $XORG_PREFIX/share/doc/libinput-&libinput-version;</userinput></screen>
163
164 </sect3>
165
166 <sect3 role="commands">
167 <title>Command Explanations</title>
168
169 <para>
170 <parameter>--disable-libwacom</parameter>: Remove this
171 option if you have the external library libwacom installed.
172 </para>
173
174 <para>
175 <parameter>--with-udev-dir=/lib/udev</parameter>: This switch
176 specifies where UDev rules and hwdb files will be installed.
177 </para>
178
179 </sect3>
180
181 <sect3 role="content">
182 <title>Contents</title>
183
184 <segmentedlist>
185 <segtitle>Installed Programs</segtitle>
186 <segtitle>Installed Libraries</segtitle>
187 <segtitle>Installed Directories</segtitle>
188
189 <seglistitem>
190 <seg>
191 libinput-debug-events and libinput-list-devices
192 </seg>
193 <seg>
194 libinput.so
195 </seg>
196 <seg>
197 $XORG_PREFIX/share/doc/libinput-&libinput-version;
198 </seg>
199 </seglistitem>
200 </segmentedlist>
201
202 <variablelist>
203 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
204 <?dbfo list-presentation="list"?>
205 <?dbhtml list-presentation="table"?>
206
207 <varlistentry id="libinput-debug-events">
208 <term><command>libinput-debug-events</command></term>
209 <listitem>
210 <para>
211 is a debug helper for <application>libinput</application>.
212 </para>
213 <indexterm zone="libinput libinput-debug-events">
214 <primary sortas="b-libinput-debug-events">libinput-debug-events</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="libinput-list-devices">
220 <term><command>libinput-list-devices</command></term>
221 <listitem>
222 <para>
223 lists local devices as recognized by
224 <application>libinput</application>.
225 </para>
226 <indexterm zone="libinput libinput-list-devices">
227 <primary sortas="b-libinput-list-devices">libinput-list-devices</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="libinput-lib">
233 <term><filename class="libraryfile">libinput.so</filename></term>
234 <listitem>
235 <para>
236 contains API functions for handling input devices.
237 </para>
238 <indexterm zone="libinput libinput-lib">
239 <primary sortas="c-libinput">libinput.so</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 </variablelist>
245
246 </sect3>
247
248</sect2>
Note: See TracBrowser for help on using the repository browser.