mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
libinput-1.11.0
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20216 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
6961e42346
commit
2f2ca34339
@ -44,6 +44,10 @@
|
||||
<listitem>
|
||||
<para>June 28th, 2018</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[ken] - Update to libinput-1.11.0. Fixes
|
||||
<ulink url="&blfs-ticket-root;10851">#10851</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[ken] - Remove obsolete text from valgrind re symlinking ld-linux
|
||||
to a .dbg version of ld. In April 2017 LFS changed the strip commands.
|
||||
|
@ -4,13 +4,13 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY libinput-version "1.10.7">
|
||||
<!ENTITY libinput-version "1.11.0">
|
||||
|
||||
<!ENTITY libinput-download-http "https://www.freedesktop.org/software/libinput/libinput-&libinput-version;.tar.xz">
|
||||
<!ENTITY libinput-download-ftp " ">
|
||||
<!ENTITY libinput-md5sum "4369212564f8359f48c8f683c8c829b5">
|
||||
<!ENTITY libinput-size "484 KB">
|
||||
<!ENTITY libinput-buildsize "8.3 MB">
|
||||
<!ENTITY libinput-md5sum "a182dab52f4d33bc1ef50668dcf53cc6">
|
||||
<!ENTITY libinput-size "475 KB">
|
||||
<!ENTITY libinput-buildsize "9.7 MB">
|
||||
<!ENTITY libinput-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
@ -86,10 +86,13 @@
|
||||
<xref linkend="valgrind"/> (to run the tests),
|
||||
<xref linkend="doxygen"/> and
|
||||
<xref linkend="graphviz"/> (to build the documentation)
|
||||
<xref linkend="gtk3"/> (to build the GUI event viewer),
|
||||
<ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink> (required for tests), and
|
||||
<xref linkend="gtk3"/> (to build the GUI event viewer),
|
||||
<ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink> (required for tests),
|
||||
<ulink revision="sysv" url="https://sourceforge.net/projects/linuxwacom/files/libwacom/">libwacom</ulink>
|
||||
<xref revision="systemd" linkend="libwacom"/>
|
||||
<!-- commas outside the rev get rendered on either version -->
|
||||
, and
|
||||
<ulink url="https://pypi.org/project/pyparsing/"/> (for one non-root test)
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
@ -97,6 +100,45 @@
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
<sect3 role="kernel" id="libinput-kernel">
|
||||
<title>kernel configuration for running the libinput testsuite</title>
|
||||
|
||||
<para>
|
||||
Although libinput works with the same kernel configuration used by <xref
|
||||
linkend="libevdev"/>, its extensive testsuite requires the presence of
|
||||
<filename>/dev/uinput</filename> (as well as both <xref linkend="valgrind"/>
|
||||
and <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If you wish to run the full tests, enable the following option in the kernel
|
||||
configuration and recompile the kernel if necessary:
|
||||
</para>
|
||||
|
||||
<screen><literal>Device Drivers --->
|
||||
Input device support --->
|
||||
Miscellaneous Devices --->
|
||||
<*/M> User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
|
||||
|
||||
<para>
|
||||
If you build this as a module, it needs to be inserted before the testsuite
|
||||
runs.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
On an Xorg system you will also need to prevent the events generated
|
||||
during the testsuite from interfering with your desktop. Copy the
|
||||
file <filename>test/50-litest.conf</filename> into
|
||||
<filename class="directory"> ${XORG_PREFIX}/share/X11/xorg.conf.d</filename>
|
||||
and restart X. For further information see
|
||||
<ulink url="https://wayland.freedesktop.org/libinput/doc/&libinput-version;/test-suite.html">libinput test suite</ulink>.
|
||||
</para>
|
||||
|
||||
<indexterm zone="libinput libinput-kernel">
|
||||
<primary sortas="d-libinput">libinput</primary>
|
||||
</indexterm>
|
||||
</sect3>
|
||||
|
||||
<sect3 role="installation">
|
||||
<title>Installation of libinput</title>
|
||||
|
||||
@ -117,31 +159,20 @@ meson --prefix=$XORG_PREFIX \
|
||||
.. &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
<!--
|
||||
<note>
|
||||
<para>If you want to run the tests, remove -Dtests from the
|
||||
<command>meson</command> command above. The external
|
||||
library, libunwind, must be installed.</para>
|
||||
<para>If you want to run the full tests, remove -Dtests from the
|
||||
<command>meson</command> command above. Please read "kernel configuration
|
||||
for running the libinput testsuite" (above).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If you have enabled the full tests, you can run the main tests
|
||||
<emphasis>as the root user</emphasis> by executing:
|
||||
<command>ninja test</command>. A very large number of tests will
|
||||
be run, about 20 fail (at least on an Xorg system).
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
Running the testsuite for this package can cause problems.
|
||||
It creates a number of dummy input devices on the currently
|
||||
running system that can lead to crashing a local X server or
|
||||
a desktop environment. If you understand the risks and have
|
||||
the optional <xref linkend="check"/> and
|
||||
<xref linkend="valgrind"/> packages installed, the regression
|
||||
tests can be run as the <systemitem
|
||||
class="username">root</systemitem> user with
|
||||
<userinput>ninja test</userinput>. Note that depending on
|
||||
the system configuration and hardware, some tests may fail.
|
||||
</para>
|
||||
-->
|
||||
<para>
|
||||
This package does not currently have a functioning test suite.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
@ -175,9 +206,10 @@ cp -rv html/* /usr/share/doc/libinput-&libinput-version;</userinput></screen
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>-Dtests=false</option>: This switch disables compilation
|
||||
of tests. Remove if you want to run the tests, and you have the external
|
||||
libraries, libunwind and libwacom, installed.
|
||||
<option>-Dtests=false</option>: This switch disables compilation of the
|
||||
main tests. Even with the tests defined as false, you can still run the
|
||||
first four minor tests, as a regular user, but one will be skipped if
|
||||
<ulink url="https://pypi.org/project/pyparsing"/> is not installed.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -204,9 +236,9 @@ cp -rv html/* /usr/share/doc/libinput-&libinput-version;</userinput></screen
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
libinput,
|
||||
libinput-debug-events, and
|
||||
libinput-list-devices
|
||||
libinput,
|
||||
libinput-debug-events, libinput-list-devices, libinput-measure*,
|
||||
libinput-record, libinput-replay
|
||||
</seg>
|
||||
<seg>
|
||||
libinput.so
|
||||
@ -261,6 +293,44 @@ cp -rv html/* /usr/share/doc/libinput-&libinput-version;</userinput></screen
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libinput-measure">
|
||||
<term><command>libinput-measure</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is the entry to a set of debugging programs to measure
|
||||
the properties of one or more devices.
|
||||
</para>
|
||||
<indexterm zone="libinput libinput-measure">
|
||||
<primary sortas="b-libinput-measure">libinput-measure</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libinput-record">
|
||||
<term><command>libinput-record</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
records kernel events from a device in a form that can later be
|
||||
replayed by libinput-replay.
|
||||
</para>
|
||||
<indexterm zone="libinput libinput-record">
|
||||
<primary sortas="b-libinput-record">libinput-record</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libinput-replay">
|
||||
<term><command>libinput-replay</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
replays kernel events from a recording made by libinput-record.
|
||||
</para>
|
||||
<indexterm zone="libinput libinput-replay">
|
||||
<primary sortas="b-libinput-replay">libinput-replay</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libinput-lib">
|
||||
<term><filename class="libraryfile">libinput.so</filename></term>
|
||||
<listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user