source: general/genlib/libwacom.xml@ 0945dd2d

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 0945dd2d was 91318eb, checked in by Pierre Labastie <pierre.labastie@…>, 15 months ago

Add "setup" to meson commands

I've not been very consistent on typography, but it is a start

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