source: x/installing/libinput.xml@ ce72f6e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 ce72f6e was ce72f6e, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Update to Net-DNS-1.04 (perl module).
  • Update to whois_5.2.11 (whois-5.2.11).
  • Update to libinput-1.1.2.
  • Update to menu-cache-1.0.1: parallel build also works with --enable-gtk-doc.

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

  • Property mode set to 100644
File size: 6.9 KB
RevLine 
[f97d5f6]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
[ce72f6e]7 <!ENTITY libinput-version "1.1.2">
[f97d5f6]8
9 <!ENTITY libinput-download-http "http://www.freedesktop.org/software/libinput/libinput-&libinput-version;.tar.xz">
10 <!ENTITY libinput-download-ftp " ">
[ce72f6e]11 <!ENTITY libinput-md5sum "634830eb423acd71262b23a13154f6f7">
12 <!ENTITY libinput-size "800 KB">
13 <!ENTITY libinput-buildsize "31 MB">
[f97d5f6]14 <!ENTITY libinput-time "0.2 SBU">
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
[6b241ec]37 need to directly deal with input devices.<!-- It is currently only
38 needed for <xref linkend="plasma5-build"/>.-->
[f97d5f6]39 </para>
40
41 &lfs78_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 build 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) and
92 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>
93 </para>
94
95 <para condition="html" role="usernotes">
96 User Notes: <ulink url="&blfs-wiki;/libinput"/>
97 </para>
98 </sect3>
99
100 <sect3 role="installation">
101 <title>Installation of libinput</title>
102
103 <para>
104 Install <application>libinput</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>./configure --prefix=/usr \
109 --disable-static \
110 --with-udev-dir=/lib/udev &amp;&amp;
111make</userinput></screen>
112
113 <para>
114 Running the testsuite for this package can be dangerous, as
115 it creates a number of dummy input devices on the currently
116 running system that can lead to crashing a local X server or
117 a desktop environment. If you understand the risks and have
118 the optional <xref linkend="check"/> and
119 <xref linkend="valgrind"/> packages installed, the regression
120 tests can be run as the <systemitem
121 class="username">root</systemitem> user with
122 <userinput>make check</userinput>. Note that depending on
123 the system configuration and hardware, some tests may fail.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>make install</userinput></screen>
131
132 <para>
133 If <xref linkend="doxygen"/> and <xref linkend="graphviz"/> were
134 present during the build, you can install the generated documentation
135 by running the following commands as the <systemitem
136 class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>install -v -dm755 /usr/share/doc/libinput-&libinput-version; &amp;&amp;
140cp -rv doc/html/* /usr/share/doc/libinput-&libinput-version;</userinput></screen>
141
142 </sect3>
143
144 <sect3 role="commands">
145 <title>Command Explanations</title>
146
147 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
148 href="../../xincludes/static-libraries.xml"/>
149
150 <para>
151 <parameter>--with-udev-dir=/lib/udev</parameter>: This switch
152 specifies where UDev rules and hwdb files will be installed.
153 </para>
154
155 </sect3>
156
157 <sect3 role="content">
158 <title>Contents</title>
159
160 <segmentedlist>
161 <segtitle>Installed Programs</segtitle>
162 <segtitle>Installed Libraries</segtitle>
163 <segtitle>Installed Directories</segtitle>
164
165 <seglistitem>
166 <seg>
167 libinput-debug-events and libinput-list-devices
168 </seg>
169 <seg>
170 libinput.so
171 </seg>
172 <seg>
173 /usr/share/doc/libinput-&libinput-version;
174 </seg>
175 </seglistitem>
176 </segmentedlist>
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="libinput-debug-events">
184 <term><command>libinput-debug-events</command></term>
185 <listitem>
186 <para>
187 is a debug helper for <application>libinput</application>.
188 </para>
189 <indexterm zone="libinput libinput-debug-events">
190 <primary sortas="b-libinput-debug-events">libinput-debug-events</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="libinput-list-devices">
196 <term><command>libinput-list-devices</command></term>
197 <listitem>
198 <para>
199 lists local devices as recognized by
200 <application>libinput</application>.
201 </para>
202 <indexterm zone="libinput libinput-list-devices">
203 <primary sortas="b-libinput-list-devices">libinput-list-devices</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="libinput-lib">
209 <term><filename class="libraryfile">libinput.so</filename></term>
210 <listitem>
211 <para>
212 contains API functions for handling input devices.
213 </para>
214 <indexterm zone="libinput libinput-lib">
215 <primary sortas="c-libinput">libinput.so</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 </variablelist>
221
222 </sect3>
223
224</sect2>
Note: See TracBrowser for help on using the repository browser.