source: general/genlib/libwacom.xml@ 1fac6dd7

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 1fac6dd7 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.3 KB
RevLine 
[69a16457]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
[f948b30]7 <!ENTITY libwacom-download-http "https://github.com/linuxwacom/libwacom/releases/download/libwacom-&libwacom-version;/libwacom-&libwacom-version;.tar.xz">
[69a16457]8 <!ENTITY libwacom-download-ftp " ">
[5701f4b]9 <!ENTITY libwacom-md5sum "cd27b77adf6cb23939dd9d91f4b2731c">
10 <!ENTITY libwacom-size "107 KB">
11 <!ENTITY libwacom-buildsize "5.3 MB (with tests)">
[3c0f55bd]12 <!ENTITY libwacom-time "less than 0.1 SBU (with tests)">
[69a16457]13]>
14
[51dfb3e]15<sect1 id="libwacom" xreflabel="libwacom-&libwacom-version;">
[69a16457]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
[0ddf4e7]33 &lfs112_checked;
[69a16457]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">
[914049f6]83 <xref linkend="doxygen"/>,
[844770f]84 <xref linkend="git"/>,
[51718d1]85 <xref linkend="librsvg"/>,
86 <xref linkend="valgrind"/> (optional for some tests), and
[5701f4b]87 <ulink url="https://docs.pytest.org/en/stable/">pytest</ulink> with
88 <ulink url="https://pypi.org/project/libevdev/">python-libevdev</ulink> and
89 <ulink url="https://pypi.org/project/pyudev/">pyudev</ulink>
[69a16457]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
[51718d1]100<!-- Fixed in libwacom-1.7
[de35807d]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>
[51718d1]106-->
[de35807d]107
[69a16457]108 <para>
109 Install <application>libwacom</application> by running the following
110 commands:
111 </para>
112
[914049f6]113<screen><userinput>mkdir build &amp;&amp;
114cd build &amp;&amp;
115
[20f070d8]116meson --prefix=/usr --buildtype=release -Dtests=disabled .. &amp;&amp;
[914049f6]117ninja</userinput></screen>
[69a16457]118
119 <para>
[914049f6]120 To test the results, issue: <command>ninja test</command>.
[8558044]121 To run additional tests, install
[51718d1]122 <ulink url="https://docs.pytest.org/en/stable/">pytest</ulink> and remove
123 the "-Dtests=disabled" option from the meson line above.
[69a16457]124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
[914049f6]130<screen role="root"><userinput>ninja install</userinput></screen>
[69a16457]131
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
[20f070d8]137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../../xincludes/meson-buildtype-release.xml"/>
139
[51718d1]140 <para>
141 <parameter>-Dtests=disabled</parameter>: This parameter disables some of
142 the more advanced tests because they require
143 <ulink url="https://docs.pytest.org/en/stable/">pytest</ulink> to work
144 properly.
145 </para>
146
[69a16457]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>
[70896c42]159 libwacom-list-devices,
160 libwacom-list-local-devices,
161 libwacom-show-stylus, and
162 libwacom-update-db
[69a16457]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
[70896c42]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
[c744d0a5]191 <varlistentry id="libwacom-list-local-devices">
192 <term><command>libwacom-list-local-devices</command></term>
193 <listitem>
194 <para>
[4c24eb0a]195 lists tablet devices that are connected to the system
[c744d0a5]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
[5d2965c]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
[70896c42]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
[69a16457]227 <varlistentry id="libwacom-lib">
228 <term><filename class="libraryfile">libwacom.so</filename></term>
229 <listitem>
230 <para>
[4c24eb0a]231 contains functions used for accessing Wacom information
[69a16457]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.