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:
Ken Moffat 2018-06-30 23:07:27 +00:00
parent 6961e42346
commit 2f2ca34339
2 changed files with 107 additions and 33 deletions

View File

@ -44,6 +44,10 @@
<listitem> <listitem>
<para>June 28th, 2018</para> <para>June 28th, 2018</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[ken] - Update to libinput-1.11.0. Fixes
<ulink url="&blfs-ticket-root;10851">#10851</ulink>.</para>
</listitem>
<listitem> <listitem>
<para>[ken] - Remove obsolete text from valgrind re symlinking ld-linux <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. to a .dbg version of ld. In April 2017 LFS changed the strip commands.

View File

@ -4,13 +4,13 @@
<!ENTITY % general-entities SYSTEM "../../general.ent"> <!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities; %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-http "https://www.freedesktop.org/software/libinput/libinput-&libinput-version;.tar.xz">
<!ENTITY libinput-download-ftp " "> <!ENTITY libinput-download-ftp " ">
<!ENTITY libinput-md5sum "4369212564f8359f48c8f683c8c829b5"> <!ENTITY libinput-md5sum "a182dab52f4d33bc1ef50668dcf53cc6">
<!ENTITY libinput-size "484 KB"> <!ENTITY libinput-size "475 KB">
<!ENTITY libinput-buildsize "8.3 MB"> <!ENTITY libinput-buildsize "9.7 MB">
<!ENTITY libinput-time "less than 0.1 SBU"> <!ENTITY libinput-time "less than 0.1 SBU">
]> ]>
@ -86,10 +86,13 @@
<xref linkend="valgrind"/> (to run the tests), <xref linkend="valgrind"/> (to run the tests),
<xref linkend="doxygen"/> and <xref linkend="doxygen"/> and
<xref linkend="graphviz"/> (to build the documentation) <xref linkend="graphviz"/> (to build the documentation)
<xref linkend="gtk3"/> (to build the GUI event viewer), <xref linkend="gtk3"/> (to build the GUI event viewer),
<ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink> (required for tests), and <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> <ulink revision="sysv" url="https://sourceforge.net/projects/linuxwacom/files/libwacom/">libwacom</ulink>
<xref revision="systemd" linkend="libwacom"/> <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>
<para condition="html" role="usernotes"> <para condition="html" role="usernotes">
@ -97,6 +100,45 @@
</para> </para>
</sect3> </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 ---&gt;
Input device support ---&gt;
Miscellaneous Devices ---&gt;
&lt;*/M&gt; 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"> <sect3 role="installation">
<title>Installation of libinput</title> <title>Installation of libinput</title>
@ -117,31 +159,20 @@ meson --prefix=$XORG_PREFIX \
.. &amp;&amp; .. &amp;&amp;
ninja</userinput></screen> ninja</userinput></screen>
<!--
<note> <note>
<para>If you want to run the tests, remove -Dtests from the <para>If you want to run the full tests, remove -Dtests from the
<command>meson</command> command above. The external <command>meson</command> command above. Please read "kernel configuration
library, libunwind, must be installed.</para> 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> </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> <para>
Now, as the <systemitem class="username">root</systemitem> user: Now, as the <systemitem class="username">root</systemitem> user:
</para> </para>
@ -175,9 +206,10 @@ cp -rv html/* /usr/share/doc/libinput-&libinput-version;</userinput></screen
</para> </para>
<para> <para>
<option>-Dtests=false</option>: This switch disables compilation <option>-Dtests=false</option>: This switch disables compilation of the
of tests. Remove if you want to run the tests, and you have the external main tests. Even with the tests defined as false, you can still run the
libraries, libunwind and libwacom, installed. 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>
<para> <para>
@ -204,9 +236,9 @@ cp -rv html/* /usr/share/doc/libinput-&libinput-version;</userinput></screen
<seglistitem> <seglistitem>
<seg> <seg>
libinput, libinput,
libinput-debug-events, and libinput-debug-events, libinput-list-devices, libinput-measure*,
libinput-list-devices libinput-record, libinput-replay
</seg> </seg>
<seg> <seg>
libinput.so libinput.so
@ -261,6 +293,44 @@ cp -rv html/* /usr/share/doc/libinput-&libinput-version;</userinput></screen
</listitem> </listitem>
</varlistentry> </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"> <varlistentry id="libinput-lib">
<term><filename class="libraryfile">libinput.so</filename></term> <term><filename class="libraryfile">libinput.so</filename></term>
<listitem> <listitem>