source: x/installing/libinput.xml@ fca0f4cc

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

Update to libpng-1.6.24.
Update to libinput-1.4.1.
Update to exo-0.11.0.

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

  • Property mode set to 100644
File size: 7.8 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.4.1">
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 "2e7ba577ed74d8d1baeb07dbd4fb912a">
12 <!ENTITY libinput-size "880 KB">
13 <!ENTITY libinput-buildsize "34 MB (add 10 MB for tests)">
14 <!ENTITY libinput-time "0.3 SBU (add 37 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 &lfs79_checked;&gcc6_checked;
41
42 <bridgehead renderas="sect4">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="sect4">libinput Dependencies</bridgehead>
77
78 <bridgehead renderas="sect5">Required</bridgehead>
79 <para role="required">
80 <xref linkend="libevdev"/> and
81 <xref linkend="mtdev"/>
82 </para>
83
84 <bridgehead renderas="sect5">Optional</bridgehead>
85 <para role="optional">
86 <xref linkend="check"/> and
87 <xref linkend="valgrind"/> (to run 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),
91 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>, and
92 <ulink revision="sysv" url="https://sourceforge.net/projects/linuxwacom/files/libwacom/">libwacom</ulink>
93 <xref revision="systemd" linkend="libwacom"/>
94 </para>
95
96 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/libinput"/>
98 </para>
99 </sect3>
100
101 <sect3 role="installation">
102 <title>Installation of libinput</title>
103
104 <para>
105 Install <application>libinput</application> by running the following
106 commands:
107 </para>
108
109<screen><userinput>./configure $XORG_CONFIG \
110 --disable-libwacom \
111 --with-udev-dir=/lib/udev &amp;&amp;
112make</userinput></screen>
113
114 <note><para>
115 To run the tests for this package, valgrind requires a
116 version of the /lib/ld-2.23.so library with debugging symbols
117 present. Normally in LFS these debugging symbols are
118 stripped at the end of Chapter 6. To get this library,
119 glibc must be rebuilt with the current glibc version using
120 the same compiler that was used to build LFS. The ld-2.23.so
121 can then be renamed to ld-2.23.so.dbg and copied to /lib.
122 Then a symlink needs to be changed:</para>
123
124 <screen><userinput>ln -sfv ld-2.23.so.dbg /lib/ld-linux-x86-64.so.2</userinput></screen>
125
126 <para>Adjust the above instruction as needed for a 32-bit system
127 or for a different version of glibc</para>
128
129 </note>
130
131 <para>
132 Running the testsuite for this package can cause problems.
133 It creates a number of dummy input devices on the currently
134 running system that can lead to crashing a local X server or
135 a desktop environment. If you understand the risks and have
136 the optional <xref linkend="check"/> and
137 <xref linkend="valgrind"/> packages installed, the regression
138 tests can be run as the <systemitem
139 class="username">root</systemitem> user with
140 <userinput>make check</userinput>. Note that depending on
141 the system configuration and hardware, some tests may fail.
142 </para>
143
144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>make install</userinput></screen>
149
150 <para>
151 If <xref linkend="doxygen"/> and <xref linkend="graphviz"/> were
152 present during the build, you can install the generated documentation
153 by running the following commands as the <systemitem
154 class="username">root</systemitem> user:
155 </para>
156
157<screen role="root"><userinput>install -v -dm755 $XORG_PREFIX/share/doc/libinput-&libinput-version; &amp;&amp;
158cp -rv doc/html/* $XORG_PREFIX/share/doc/libinput-&libinput-version;</userinput></screen>
159
160 </sect3>
161
162 <sect3 role="commands">
163 <title>Command Explanations</title>
164
165 <para>
166 <parameter>--disable-libwacom</parameter>: Remove this
167 option if you have the external library libwacom installed.
168 </para>
169
170 <para>
171 <parameter>--with-udev-dir=/lib/udev</parameter>: This switch
172 specifies where UDev rules and hwdb files will be installed.
173 </para>
174
175 </sect3>
176
177 <sect3 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Programs</segtitle>
182 <segtitle>Installed Libraries</segtitle>
183 <segtitle>Installed Directories</segtitle>
184
185 <seglistitem>
186 <seg>
187 libinput-debug-events and libinput-list-devices
188 </seg>
189 <seg>
190 libinput.so
191 </seg>
192 <seg>
193 $XORG_PREFIX/share/doc/libinput-&libinput-version;
194 </seg>
195 </seglistitem>
196 </segmentedlist>
197
198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
202
203 <varlistentry id="libinput-debug-events">
204 <term><command>libinput-debug-events</command></term>
205 <listitem>
206 <para>
207 is a debug helper for <application>libinput</application>.
208 </para>
209 <indexterm zone="libinput libinput-debug-events">
210 <primary sortas="b-libinput-debug-events">libinput-debug-events</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="libinput-list-devices">
216 <term><command>libinput-list-devices</command></term>
217 <listitem>
218 <para>
219 lists local devices as recognized by
220 <application>libinput</application>.
221 </para>
222 <indexterm zone="libinput libinput-list-devices">
223 <primary sortas="b-libinput-list-devices">libinput-list-devices</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="libinput-lib">
229 <term><filename class="libraryfile">libinput.so</filename></term>
230 <listitem>
231 <para>
232 contains API functions for handling input devices.
233 </para>
234 <indexterm zone="libinput libinput-lib">
235 <primary sortas="c-libinput">libinput.so</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 </variablelist>
241
242 </sect3>
243
244</sect2>
Note: See TracBrowser for help on using the repository browser.