source: general/genlib/libwacom.xml@ ff822d5

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

Update to libwacom-2.12.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 "e78b52ef85b0b3fdbb5c5805c15cf305">
10 <!ENTITY libwacom-size "152 KB">
11 <!ENTITY libwacom-buildsize "6.2 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="libgudev"/>
75 </para>
76
77 <bridgehead renderas="sect4">Recommended</bridgehead>
78 <para role="recommended">
79 <xref linkend="libxml2"/>
80 </para>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <xref linkend="doxygen"/>,
85 <xref linkend="git"/>,
86 <xref linkend="librsvg"/>,
87 <xref linkend="valgrind"/> (optional for some tests), and
88 <xref linkend="pytest"/> with
89 <ulink url="https://pypi.org/project/libevdev/">python-libevdev</ulink> and
90 <ulink url="https://pypi.org/project/pyudev/">pyudev</ulink>
91 </para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of libwacom</title>
97
98<!-- Fixed in libwacom-1.7
99 <para>
100 First, adapt the udev rules to upstream udev/kernel changes:
101 </para>
102
103<screen><userinput remap="pre">sed -i 's/ACTION!="add|change"/ACTION=="remove"/' tools/65-libwacom.rules.in</userinput></screen>
104-->
105
106 <para>
107 Install <application>libwacom</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>mkdir build &amp;&amp;
112cd build &amp;&amp;
113
114meson setup .. \
115 --prefix=/usr \
116 --buildtype=release \
117 -Dtests=disabled &amp;&amp;
118ninja</userinput></screen>
119
120 <para>
121 To test the results, issue: <command>ninja test</command>.
122 To run additional tests, install
123 <xref linkend="pytest"/>, python-libevdev, and pyudev, then remove
124 the "-Dtests=disabled" option from the meson line above.
125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
130
131<screen role="root"><userinput>ninja install</userinput></screen>
132
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
139 href="../../xincludes/meson-buildtype-release.xml"/>
140
141 <para>
142 <parameter>-Dtests=disabled</parameter>: This parameter disables some of
143 the more advanced tests because they require <xref linkend="pytest"/> and
144 other two Python modules beyond the scope of BLFS to work properly.
145 </para>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directories</segtitle>
156
157 <seglistitem>
158 <seg>
159 libwacom-list-devices,
160 libwacom-list-local-devices,
161 libwacom-show-stylus, and
162 libwacom-update-db
163 </seg>
164 <seg>
165 libwacom.so
166 </seg>
167 <seg>
168 /usr/include/libwacom-1.0 and
169 /usr/share/libwacom
170 </seg>
171 </seglistitem>
172 </segmentedlist>
173
174 <variablelist>
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
176 <?dbfo list-presentation="list"?>
177 <?dbhtml list-presentation="table"?>
178
179 <varlistentry id="libwacom-list-devices">
180 <term><command>libwacom-list-devices</command></term>
181 <listitem>
182 <para>
183 lists all tablet devices that are supported by libwacom
184 </para>
185 <indexterm zone="libwacom libwacom-list-devices">
186 <primary sortas="b-libwacom-list-devices">libwacom-list-devices</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="libwacom-list-local-devices">
192 <term><command>libwacom-list-local-devices</command></term>
193 <listitem>
194 <para>
195 lists tablet devices that are connected to the system
196 </para>
197 <indexterm zone="libwacom libwacom-list-local-devices">
198 <primary sortas="b-libwacom-list-local-devices">libwacom-list-local-devices</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libwacom-show-stylus">
204 <term><command>libwacom-show-stylus</command></term>
205 <listitem>
206 <para>
207 lists tablet stylus IDs
208 </para>
209 <indexterm zone="libwacom libwacom-show-stylus">
210 <primary sortas="b-libwacom-show-stylus">libwacom-show-stylus</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="libwacom-update-db">
216 <term><command>libwacom-update-db</command></term>
217 <listitem>
218 <para>
219 updates the system according to the current set of tablet data files
220 </para>
221 <indexterm zone="libwacom libwacom-update-db">
222 <primary sortas="b-libwacom-update-db">libwacom-update-db</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="libwacom-lib">
228 <term><filename class="libraryfile">libwacom.so</filename></term>
229 <listitem>
230 <para>
231 contains functions used for accessing Wacom information
232 </para>
233 <indexterm zone="libwacom libwacom-lib">
234 <primary sortas="c-libwacom">libwacom.so</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 </variablelist>
240
241 </sect2>
242
243</sect1>
Note: See TracBrowser for help on using the repository browser.