source: general/genlib/libwacom.xml@ bc228ec

10.1 11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bc228ec was de35807d, checked in by Douglas R. Reno <renodr@…>, 3 years ago

libwacom: Adapt to udev rules changes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23969 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.4 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.bz2">
8 <!ENTITY libwacom-download-ftp " ">
9 <!ENTITY libwacom-md5sum "1b0ee3f541433fc6df562cce314986da">
10 <!ENTITY libwacom-size "504 KB">
11 <!ENTITY libwacom-buildsize "9.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 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libwacom-&libwacom-version;</title>
24
25 <indexterm zone="libwacom">
26 <primary sortas="a-libwacom">libwacom</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libwacom</title>
31
32 <para>
33 The <application>libwacom</application> package contains a library used
34 to identify wacom tablets and their model-specific features.
35 </para>
36
37 &lfs10_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libwacom-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libwacom-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libwacom-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libwacom-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libwacom-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libwacom-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libwacom Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="libgudev"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="libxml2"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="doxygen"/>,
88 <xref linkend="git"/>,
89 <xref linkend="librsvg"/>, and
90 <xref linkend="valgrind"/> (optional for some tests)
91 </para>
92
93 <para condition="html" role="usernotes">
94 User Notes: <ulink url="&blfs-wiki;/libwacom"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libwacom</title>
100
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 <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 --prefix=/usr -Dudev-dir=/lib/udev .. &amp;&amp;
116ninja</userinput></screen>
117
118 <para>
119 To test the results, issue: <command>ninja test</command>.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>ninja install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <parameter>-Dudev-dir=/lib/udev</parameter>: This parameter sets the
135 proper installation directory for udev rules.
136 </para>
137
138 </sect2>
139
140 <sect2 role="content">
141 <title>Contents</title>
142
143 <segmentedlist>
144 <segtitle>Installed Programs</segtitle>
145 <segtitle>Installed Libraries</segtitle>
146 <segtitle>Installed Directories</segtitle>
147
148 <seglistitem>
149 <seg>
150 libwacom-list-local-devices
151 </seg>
152 <seg>
153 libwacom.so
154 </seg>
155 <seg>
156 /usr/include/libwacom-1.0 and
157 /usr/share/libwacom
158 </seg>
159 </seglistitem>
160 </segmentedlist>
161
162 <variablelist>
163 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
164 <?dbfo list-presentation="list"?>
165 <?dbhtml list-presentation="table"?>
166
167 <varlistentry id="libwacom-list-local-devices">
168 <term><command>libwacom-list-local-devices</command></term>
169 <listitem>
170 <para>
171 lists tablet devices that are connected to the system.
172 </para>
173 <indexterm zone="libwacom libwacom-list-local-devices">
174 <primary sortas="b-libwacom-list-local-devices">libwacom-list-local-devices</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="libwacom-lib">
180 <term><filename class="libraryfile">libwacom.so</filename></term>
181 <listitem>
182 <para>
183 contains functions used for accessing Wacom information.
184 </para>
185 <indexterm zone="libwacom libwacom-lib">
186 <primary sortas="c-libwacom">libwacom.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.