• Bug#892956: libinput-dev: Requires.private without package dependencies

    From Andreas Metzler@21:1/5 to tjaalton@debian.org on Thu Mar 15 18:50:02 2018
    XPost: linux.debian.bugs.dist

    On 2018-03-15 Timo Aaltonen <tjaalton@debian.org> wrote:
    On 14.03.2018 22:25, Adrian Bunk wrote:
    Package: libinput-dev
    [...]
    Root cause are the new dependencies in Requires.private
    without package dependencies:

    $ pkg-config --cflags libinput
    Package libwacom was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libwacom.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'libwacom', required by 'libinput', not found

    1.10.2-1 didn't have them, and nothing changed in 1.10.3 that would
    result in this, so the culprit is elsewhere. Where did that "Requires.private" come from?

    Hello,

    Meson changed:

    --- ./libinput-1.10.3-builtwithmeson0.44.1-1/debian/libinput-dev/usr/lib/x86_64-linux-gnu/pkgconfig/libinput.pc 2018-03-15 18:24:08.366925927 +0100
    +++ ./libinput-1.10.3-builtwithmeson0.45.0-1/debian/libinput-dev/usr/lib/x86_64-linux-gnu/pkgconfig/libinput.pc 2018-03-15 18:15:49.059380110 +0100
    @@ -5,5 +5,7 @@ includedir=${prefix}/include
    Name: Libinput
    Description: Input device library
    Version: 1.10.3
    +Requires.private: libwacom libudev mtdev libevdev
    Libs: -L${libdir} -linput
    +Libs.private: -lm -lrt -L${libdir} -llibinput-util
    Cflags: -I${includedir}

    I guess the source was merging of
    https://github.com/mesonbuild/meson/pull/3131

    cu Andreas

    --
    `What a good friend you are to him, Dr. Maturin. His other friends are
    so grateful to you.'
    `I sew his ears on from time to time, sure'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)