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