source: general/genlib/libwacom.xml

trunk
Last change on this file was 7ba321a, checked in by Douglas R. Reno <renodr@…>, 9 days ago

Update to libwacom-2.11.0

  • Property mode set to 100644
File size: 7.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 libwacom-download-http "https://github.com/linuxwacom/libwacom/releases/download/libwacom-&libwacom-version;/libwacom-&libwacom-version;.tar.xz">
8 <!ENTITY libwacom-download-ftp " ">
9 <!ENTITY libwacom-md5sum "fa489522c2b5f014360f44a3e38a30f8">
10 <!ENTITY libwacom-size "116 KB">
11 <!ENTITY libwacom-buildsize "3.6 MB (with tests)">
12 <!ENTITY libwacom-time "less than 0.1 SBU (with tests)">
13]>
14
15<sect1 id="libwacom" xreflabel="libwacom-&libwacom-version;">
16 <?dbhtml filename="libwacom.html"?>
17
18
19 <title>libwacom-&libwacom-version;</title>
20
21 <indexterm zone="libwacom">
22 <primary sortas="a-libwacom">libwacom</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libwacom</title>
27
28 <para>
29 The <application>libwacom</application> package contains a library used
30 to identify wacom tablets and their model-specific features.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&libwacom-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&libwacom-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &libwacom-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &libwacom-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &libwacom-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &libwacom-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">libwacom Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="libgudev"/>
74 </para>
75
76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="libxml2"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="doxygen"/>,
84 <xref linkend="git"/>,
85 <xref linkend="librsvg"/>,
86 <xref linkend="valgrind"/> (optional for some tests), and
87 <xref linkend="pytest"/> with
88 <ulink url="https://pypi.org/project/libevdev/">python-libevdev</ulink> and
89 <ulink url="https://pypi.org/project/pyudev/">pyudev</ulink>
90 </para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of libwacom</title>
96
97<!-- Fixed in libwacom-1.7
98 <para>
99 First, adapt the udev rules to upstream udev/kernel changes:
100 </para>
101
102<screen><userinput remap="pre">sed -i 's/ACTION!="add|change"/ACTION=="remove"/' tools/65-libwacom.rules.in</userinput></screen>
103-->
104
105 <para>
106 Install <application>libwacom</application> by running the following
107 commands:
108 </para>
109
110<screen><userinput>mkdir build &amp;&amp;
111cd build &amp;&amp;
112
113meson setup .. \
114 --prefix=/usr \
115 --buildtype=release \
116 -Dtests=disabled &amp;&amp;
117ninja</userinput></screen>
118
119 <para>
120 To test the results, issue: <command>ninja test</command>.
121 To run additional tests, install
122 <xref linkend="pytest"/>, python-libevdev, and pyudev, then remove
123 the "-Dtests=disabled" option from the meson line above.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>ninja install</userinput></screen>
131
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../../xincludes/meson-buildtype-release.xml"/>
139
140 <para>
141 <parameter>-Dtests=disabled</parameter>: This parameter disables some of
142 the more advanced tests because they require <xref linkend="pytest"/> and
143 other two Python modules beyond the scope of BLFS to work properly.
144 </para>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
158 libwacom-list-devices,
159 libwacom-list-local-devices,
160 libwacom-show-stylus, and
161 libwacom-update-db
162 </seg>
163 <seg>
164 libwacom.so
165 </seg>
166 <seg>
167 /usr/include/libwacom-1.0 and
168 /usr/share/libwacom
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="libwacom-list-devices">
179 <term><command>libwacom-list-devices</command></term>
180 <listitem>
181 <para>
182 lists all tablet devices that are supported by libwacom
183 </para>
184 <indexterm zone="libwacom libwacom-list-devices">
185 <primary sortas="b-libwacom-list-devices">libwacom-list-devices</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="libwacom-list-local-devices">
191 <term><command>libwacom-list-local-devices</command></term>
192 <listitem>
193 <para>
194 lists tablet devices that are connected to the system
195 </para>
196 <indexterm zone="libwacom libwacom-list-local-devices">
197 <primary sortas="b-libwacom-list-local-devices">libwacom-list-local-devices</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="libwacom-show-stylus">
203 <term><command>libwacom-show-stylus</command></term>
204 <listitem>
205 <para>
206 lists tablet stylus IDs
207 </para>
208 <indexterm zone="libwacom libwacom-show-stylus">
209 <primary sortas="b-libwacom-show-stylus">libwacom-show-stylus</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libwacom-update-db">
215 <term><command>libwacom-update-db</command></term>
216 <listitem>
217 <para>
218 updates the system according to the current set of tablet data files
219 </para>
220 <indexterm zone="libwacom libwacom-update-db">
221 <primary sortas="b-libwacom-update-db">libwacom-update-db</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="libwacom-lib">
227 <term><filename class="libraryfile">libwacom.so</filename></term>
228 <listitem>
229 <para>
230 contains functions used for accessing Wacom information
231 </para>
232 <indexterm zone="libwacom libwacom-lib">
233 <primary sortas="c-libwacom">libwacom.so</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 </variablelist>
239
240 </sect2>
241
242</sect1>
Note: See TracBrowser for help on using the repository browser.