source: general/genlib/libwacom.xml@ 5cdaaee

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since 5cdaaee was 3aff9bf, checked in by Douglas R. Reno <renodr@…>, 3 months ago

Update to libwacom-2.12.1

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