source: general/genlib/libxkbcommon.xml@ 0af463c

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/soup3 xry111/xf86-video-removal
Last change on this file since 0af463c was 0af463c, checked in by Xi Ruoyao <xry111@…>, 20 months ago

libxkbcommon: change xkeyboard-config to runtime, and add xorg-env

The building system only uses xkeyboard-config pkg-config file to find
the path to xkeyboard-config files. Without xkeyboard-config installed,
it guesses /usr/share/X11/xkb.

  • Property mode set to 100644
File size: 7.0 KB
RevLine 
[1c8d0ff]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
[8dfc5c3]7 <!ENTITY libxkbcommon-download-http "https://xkbcommon.org/download/libxkbcommon-&libxkbcommon-version;.tar.xz">
[1c8d0ff]8 <!ENTITY libxkbcommon-download-ftp " ">
[43ad17a]9 <!ENTITY libxkbcommon-md5sum "a871be5c9af2511f899e1bd6db8b429f">
[5ff076a6]10 <!ENTITY libxkbcommon-size "464 KB">
11 <!ENTITY libxkbcommon-buildsize "18 MB (with tests)">
[43ad17a]12 <!ENTITY libxkbcommon-time "0.4 SBU (with tests)">
[1c8d0ff]13]>
14
15<sect1 id="libxkbcommon" xreflabel="libxkbcommon-&libxkbcommon-version;">
16 <?dbhtml filename="libxkbcommon.html"?>
17
18 <sect1info>
[fe27a8f]19 <date>$Date$</date>
[1c8d0ff]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
[aa0b625]37 &lfs112_checked;
[1c8d0ff]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">
[0af463c]77 <xref linkend="xorg-env"/> (for <envar>XORG_CONFIG</envar>) and
78 <xref role="runtime" linkend="xkeyboard-config"/> (runtime)
[1c8d0ff]79 </para>
80
81 <bridgehead renderas="sect4">Recommended</bridgehead>
82 <para role="recommended">
[927658a5]83 <xref linkend="libxcb"/>,
84 <xref linkend="wayland"/>, and
85 <xref linkend="wayland-protocols"/>
[1c8d0ff]86 </para>
87
[d4ef6ae]88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="doxygen"/>
91 </para>
92
[1c8d0ff]93 <para condition="html" role="usernotes">User Notes:
94 <ulink url="&blfs-wiki;/libxkbcommon"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libxkbcommon</title>
100
101 <para>
102 Install <application>libxkbcommon</application> by running the following
103 commands:
104 </para>
105
[8d5da52a]106<screen><userinput>mkdir build &amp;&amp;
107cd build &amp;&amp;
108
[0af463c]109meson --prefix=/usr \
110 --buildtype=release \
111 -Denable-docs=false \
112 -Dxkb-config-root=$XORG_CONFIG/share/X11/xkb .. &amp;&amp;
[8d5da52a]113ninja</userinput></screen>
[1c8d0ff]114
115 <para>
[8d5da52a]116 To test the results, issue: <command>ninja test</command>.
[1c8d0ff]117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
[d4ef6ae]123<screen role="root"><userinput>ninja install</userinput></screen>
[1c8d0ff]124
125 </sect2>
[d4ef6ae]126
[1c8d0ff]127 <sect2 role="commands">
128 <title>Command Explanations</title>
[8558044]129
[20f070d8]130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="../../xincludes/meson-buildtype-release.xml"/>
132
[d4ef6ae]133 <!--
[1c8d0ff]134 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
135 href="../../xincludes/static-libraries.xml"/>
136
137 <para>
[d4ef6ae]138 <option>- -disable-x11</option>: Use this switch if you
[1c8d0ff]139 have not installed <xref linkend="libxcb"/> and
140 don't need the <filename>libxkbcommon-x11.so</filename>
141 library.
142 </para>
[d4ef6ae]143 -->
144
145 <para>
146 <parameter>-Denable-docs=false</parameter>: This switch disables
147 documentation generation. Remove it if <xref linkend="doxygen"/> is
148 installed.
149 </para>
[1c8d0ff]150
[d4ef6ae]151 <para>
152 <command>mv -v /usr/share/doc/libxkbcommon{,-&libxkbcommon-version;}</command>:
153 If you removed -Denable-docs=false, use this command to install the
154 documentation in a versioned directory.
155 </para>
[8558044]156
[1c8d0ff]157 </sect2>
[d4ef6ae]158
[1c8d0ff]159 <sect2 role="content">
160 <title>Contents</title>
161
162 <segmentedlist>
163 <segtitle>Installed Programs</segtitle>
164 <segtitle>Installed Libraries</segtitle>
165 <segtitle>Installed Directories</segtitle>
166
167 <seglistitem>
168 <seg>
[572618ad]169 xkbcli
[1c8d0ff]170 </seg>
171 <seg>
[572618ad]172 libxkbcommon.so,
173 libxkbcommon-x11.so, and
174 libxkbregistry.so
[1c8d0ff]175 </seg>
176 <seg>
[572618ad]177 /usr/include/xkbcommon,
178 /usr/libexec/xkbcommon, and
[1c8d0ff]179 /usr/share/doc/libxkbcommon-&libxkbcommon-version;
180 </seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
[572618ad]189 <varlistentry id="xkbcli">
190 <term><command>xkbcli</command></term>
191 <listitem>
192 <para>
[4c24eb0a]193 provides a debugger and compiler for XKB keymaps
[572618ad]194 </para>
195 <indexterm zone="libxkbcommon xkbcli">
196 <primary sortas="b-xkbcli">xkbcli</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
[1c8d0ff]201 <varlistentry id="libxkbcommon-lib">
202 <term><filename class="libraryfile">libxkbcommon.so</filename></term>
203 <listitem>
204 <para>
[4c24eb0a]205 contains the <application>libxkbcommon</application> API functions
[1c8d0ff]206 </para>
207 <indexterm zone="libxkbcommon libxkbcommon-lib">
208 <primary sortas="c-libxkbcommon">libxkbcommon.so</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="libxkbcommon-x11">
214 <term><filename class="libraryfile">libxkbcommon-x11.so</filename></term>
215 <listitem>
216 <para>
217 contains the <application>libxkbcommon</application> X11 specific API
[4c24eb0a]218 functions
[1c8d0ff]219 </para>
220 <indexterm zone="libxkbcommon libxkbcommon-x11">
221 <primary sortas="c-libxkbcommon-x11">libxkbcommon-x11.so</primary>
222 </indexterm>
223 </listitem>
[572618ad]224 </varlistentry>
225
226 <varlistentry id="libxkbregistry">
227 <term><filename class="libraryfile">libxkbregistry.so</filename></term>
228 <listitem>
229 <para>
230 contains a list of available XKB models, layouts, and variants for a
[4c24eb0a]231 given ruleset
[572618ad]232 </para>
233 <indexterm zone="libxkbcommon libxkbregistry">
234 <primary sortas="c-libxkbregistry">libxkbregistry.so</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
[1c8d0ff]238
239 </variablelist>
240
241 </sect2>
242
243</sect1>
Note: See TracBrowser for help on using the repository browser.