Author: ken
Date: Sat Jun 30 16:07:27 2018
New Revision: 20216

Log:
libinput-1.11.0

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/x/installing/libinput.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sat Jun 30 14:18:19 
2018        (r20215)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Sat Jun 30 16:07:27 
2018        (r20216)
@@ -45,6 +45,10 @@
       <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.
           That file now only contains debug symbols and is loaded when needed:

Modified: trunk/BOOK/x/installing/libinput.xml
==============================================================================
--- trunk/BOOK/x/installing/libinput.xml        Sat Jun 30 14:18:19 2018        
(r20215)
+++ trunk/BOOK/x/installing/libinput.xml        Sat Jun 30 16:07:27 2018        
(r20216)
@@ -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 ---&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">
     <title>Installation of libinput</title>
 
@@ -117,32 +159,21 @@
       ..                    &amp;&amp;
 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 @@
     </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 @@
 
       <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
@@ -260,6 +292,44 @@
           </indexterm>
         </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>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to