source: general/genlib/libxkbcommon.xml@ c35a6f2

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 c35a6f2 was c35a6f2, checked in by Xi Ruoyao <xry111@…>, 19 months ago

libxkbcommon: remove reference to XORG_PREFIX

/usr/share/X11 is a symlink to $XORG_PREFIX/share/X11
if [ $XORG_PREFIX != /usr ], so -Dxkb-config-root is not needed.

  • Property mode set to 100644
File size: 6.9 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 libxkbcommon-download-http "https://xkbcommon.org/download/libxkbcommon-&libxkbcommon-version;.tar.xz">
8 <!ENTITY libxkbcommon-download-ftp " ">
9 <!ENTITY libxkbcommon-md5sum "a871be5c9af2511f899e1bd6db8b429f">
10 <!ENTITY libxkbcommon-size "464 KB">
11 <!ENTITY libxkbcommon-buildsize "18 MB (with tests)">
12 <!ENTITY libxkbcommon-time "0.4 SBU (with tests)">
13]>
14
15<sect1 id="libxkbcommon" xreflabel="libxkbcommon-&libxkbcommon-version;">
16 <?dbhtml filename="libxkbcommon.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>libxkbcommon-&libxkbcommon-version;</title>
23
24 <indexterm zone="libxkbcommon">
25 <primary sortas="a-libxkbcommon">libxkbcommon</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to libxkbcommon</title>
30
31 <para>
32 <application>libxkbcommon</application> is a keymap compiler and
33 support library which processes a reduced subset of keymaps as
34 defined by the XKB specification.
35 </para>
36
37 &lfs112_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libxkbcommon-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libxkbcommon-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libxkbcommon-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libxkbcommon-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libxkbcommon-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libxkbcommon-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libxkbcommon Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref role="runtime" linkend="xkeyboard-config"/> (runtime)
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="libxcb"/>,
83 <xref linkend="wayland"/>, and
84 <xref linkend="wayland-protocols"/>
85 </para>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
89 <xref linkend="doxygen"/>
90 </para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/libxkbcommon"/>
94 </para>
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of libxkbcommon</title>
99
100 <para>
101 Install <application>libxkbcommon</application> by running the following
102 commands:
103 </para>
104
105<screen><userinput>mkdir build &amp;&amp;
106cd build &amp;&amp;
107
108meson --prefix=/usr \
109 --buildtype=release \
110 -Denable-docs=false .. &amp;&amp;
111ninja</userinput></screen>
112
113 <para>
114 To test the results, issue: <command>ninja test</command>.
115 </para>
116
117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>ninja install</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
129 href="../../xincludes/meson-buildtype-release.xml"/>
130
131 <!--
132 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
133 href="../../xincludes/static-libraries.xml"/>
134
135 <para>
136 <option>- -disable-x11</option>: Use this switch if you
137 have not installed <xref linkend="libxcb"/> and
138 don't need the <filename>libxkbcommon-x11.so</filename>
139 library.
140 </para>
141 -->
142
143 <para>
144 <parameter>-Denable-docs=false</parameter>: This switch disables
145 documentation generation. Remove it if <xref linkend="doxygen"/> is
146 installed.
147 </para>
148
149 <para>
150 <command>mv -v /usr/share/doc/libxkbcommon{,-&libxkbcommon-version;}</command>:
151 If you removed -Denable-docs=false, use this command to install the
152 documentation in a versioned directory.
153 </para>
154
155 </sect2>
156
157 <sect2 role="content">
158 <title>Contents</title>
159
160 <segmentedlist>
161 <segtitle>Installed Programs</segtitle>
162 <segtitle>Installed Libraries</segtitle>
163 <segtitle>Installed Directories</segtitle>
164
165 <seglistitem>
166 <seg>
167 xkbcli
168 </seg>
169 <seg>
170 libxkbcommon.so,
171 libxkbcommon-x11.so, and
172 libxkbregistry.so
173 </seg>
174 <seg>
175 /usr/include/xkbcommon,
176 /usr/libexec/xkbcommon, and
177 /usr/share/doc/libxkbcommon-&libxkbcommon-version;
178 </seg>
179 </seglistitem>
180 </segmentedlist>
181
182 <variablelist>
183 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
184 <?dbfo list-presentation="list"?>
185 <?dbhtml list-presentation="table"?>
186
187 <varlistentry id="xkbcli">
188 <term><command>xkbcli</command></term>
189 <listitem>
190 <para>
191 provides a debugger and compiler for XKB keymaps
192 </para>
193 <indexterm zone="libxkbcommon xkbcli">
194 <primary sortas="b-xkbcli">xkbcli</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="libxkbcommon-lib">
200 <term><filename class="libraryfile">libxkbcommon.so</filename></term>
201 <listitem>
202 <para>
203 contains the <application>libxkbcommon</application> API functions
204 </para>
205 <indexterm zone="libxkbcommon libxkbcommon-lib">
206 <primary sortas="c-libxkbcommon">libxkbcommon.so</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libxkbcommon-x11">
212 <term><filename class="libraryfile">libxkbcommon-x11.so</filename></term>
213 <listitem>
214 <para>
215 contains the <application>libxkbcommon</application> X11 specific API
216 functions
217 </para>
218 <indexterm zone="libxkbcommon libxkbcommon-x11">
219 <primary sortas="c-libxkbcommon-x11">libxkbcommon-x11.so</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="libxkbregistry">
225 <term><filename class="libraryfile">libxkbregistry.so</filename></term>
226 <listitem>
227 <para>
228 contains a list of available XKB models, layouts, and variants for a
229 given ruleset
230 </para>
231 <indexterm zone="libxkbcommon libxkbregistry">
232 <primary sortas="c-libxkbregistry">libxkbregistry.so</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 </variablelist>
238
239 </sect2>
240
241</sect1>
Note: See TracBrowser for help on using the repository browser.