Changeset b36e20dd


Ignore:
Timestamp:
04/22/2022 10:32:32 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
1bd1f767
Parents:
50f9dbb
git-author:
Xi Ruoyao <xry111@…> (04/22/2022 10:31:34 AM)
git-committer:
Xi Ruoyao <xry111@…> (04/22/2022 10:32:32 AM)
Message:

libinput: fix udev rules and helpers installation

Reported-by: Rainer Fiebig <jrf@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/libinput.xml

    r50f9dbb rb36e20dd  
    148148cd    build &amp;&amp;
    149149
    150 meson --prefix=$XORG_PREFIX \
    151       --buildtype=release   \
    152       -Ddebug-gui=false     \
    153       -Dtests=false         \
    154       -Dlibwacom=false      \
     150meson --prefix=$XORG_PREFIX    \
     151      --buildtype=release      \
     152      -Ddebug-gui=false        \
     153      -Dtests=false            \
     154      -Dlibwacom=false         \
     155      -Dudev-dir=/usr/lib/udev \
    155156      ..                    &amp;&amp;
    156157ninja</userinput></screen>
     
    175176      </para>
    176177
    177 <screen role="root"><userinput>ninja install &amp;&amp;
    178 if [ "$XORG_PREFIX" != "/usr" ]; then
    179       $SUDO mv $XORG_PREFIX/lib/udev/rules.d/* /usr/lib/udev/rules.d
    180       $SUDO rm -rf $XORG_PREFIX/lib/udev/
    181 fi</userinput></screen>
     178<screen role="root"><userinput>ninja install</userinput></screen>
    182179
    183180      <para>
     
    220217        have <xref linkend="libwacom"/> installed, or if you are installing
    221218        GNOME.
     219      </para>
     220
     221      <para>
     222        <parameter>-Dudev-dir=/usr/lib/udev</parameter>: In case that the
     223        value of <envar>XORG_PREFIX</envar> is not set to
     224        <filename class='directory'>/usr</filename>, this option prevents
     225        the package from installing Udev rules and helpers into
     226        <filename class='directory'>$XORG_PREFIX/lib/udev</filename> which
     227        is not searched by Udev daemon.  This option is not needed for
     228        systems with <envar>XORG_PREFIX</envar> set to
     229        <filename class='directory'>/usr</filename>, but does no harm.
    222230      </para>
    223231
Note: See TracChangeset for help on using the changeset viewer.