source: x/lib/libei.xml@ 1a9275a

12.2 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since 1a9275a was 3c8e262, checked in by Xi Ruoyao <xry111@…>, 6 weeks ago

libei: Test suite needs Python 3 structlog module, ...

and remove the redundant explanation of -D tests=disabled (because we
already have the meson configure command with an explanation).

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 libei-download-http "https://gitlab.freedesktop.org/libinput/libei/-/archive/&libei-version;/libei-&libei-version;.tar.gz">
8 <!ENTITY libei-download-ftp " ">
9 <!ENTITY libei-md5sum "39d18e5c56834d0b3e62b1e2af41a7a5">
10 <!ENTITY libei-size "228 KB">
11 <!ENTITY libei-buildsize "5.2 MB">
12 <!ENTITY libei-time "less than 0.1 SBU">
13]>
14
15<sect1 id="libei" xreflabel="libei-&libei-version;">
16 <?dbhtml filename="libei.html"?>
17
18 <title>libei-&libei-version;</title>
19
20 <indexterm zone="libei">
21 <primary sortas="a-libei">libei</primary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to libei</title>
26
27 <para>
28 The <application>libei</application> package contains a set of libraries
29 for handling emulated inputs. It is primarily aimed at the Wayland stack.
30 </para>
31
32 &lfs121_checked;
33
34 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&libei-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download (FTP): <ulink url="&libei-download-ftp;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download MD5 sum: &libei-md5sum;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download size: &libei-size;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated disk space required: &libei-buildsize;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated build time: &libei-time;
64 </para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">libei Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Required</bridgehead>
71 <para role="required">
72 <xref linkend="attrs"/>
73 </para>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
78 <xref linkend="libevdev"/>,
79 <xref linkend="libxkbcommon"/>,
80 <xref linkend="libxml2"/>,
81 <ulink url="https://github.com/nemequ/munit">munit</ulink>, and
82 <ulink url="https://pypi.org/project/structlog/">structlog</ulink>
83 </para>
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of libei</title>
88
89 <para>
90 Install <application>libei</application> by running the following
91 commands:
92 </para>
93
94<screen><userinput>mkdir build &amp;&amp;
95cd build &amp;&amp;
96
97meson setup --prefix=/usr --buildtype=release -D tests=disabled .. &amp;&amp;
98ninja</userinput></screen>
99
100 <para>
101 This package does come with a test suite, but it requires an external
102 dependency. If you have both
103 <ulink url="https://github.com/nemequ/munit">munit</ulink> and
104 <ulink url="https://pypi.org/project/structlog/">structlog</ulink>
105 installed, and you wish to run the test suite, run the following
106 commands:
107 </para>
108
109<screen remap="test"><userinput>meson configure -D tests=enabled .. &amp;&amp;
110ninja test</userinput></screen>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>ninja install</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
124 href="../../xincludes/meson-buildtype-release.xml"/>
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Libraries</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>
137 None
138 </seg>
139 <seg>
140 libei.so,
141 libeis.so, and
142 liboeffis.so
143 </seg>
144 <seg>
145 /usr/include/libei-1.0
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="libei-lib">
156 <term><filename class="libraryfile">libei.so</filename></term>
157 <listitem>
158 <para>
159 provides a client side implementation for handling Emulated Input
160 </para>
161 <indexterm zone="libei libei-lib">
162 <primary sortas="c-libei">libei.so</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="libeis">
168 <term><filename class="libraryfile">libeis.so</filename></term>
169 <listitem>
170 <para>
171 provides a server side implementation for handling Emulated Input
172 </para>
173 <indexterm zone="libei libeis">
174 <primary sortas="c-libeis">libeis.so</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="liboffis">
180 <term><filename class="libraryfile">liboffis</filename></term>
181 <listitem>
182 <para>
183 provides DBus communication services between libei and the XDG
184 RemoteDesktop portal
185 </para>
186 <indexterm zone="libei liboffis">
187 <primary sortas="c-liboffis">liboffis.so</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191 </variablelist>
192 </sect2>
193</sect1>
Note: See TracBrowser for help on using the repository browser.