How to install libinput 0.4.0 in Ubuntu 14.04?

Asked by Jerric Lyns John

I'm using Ubuntu Gnome 14.04 and I tried installing libinput package from source.

export WLD=$HOME/install
git clone git://anongit.freedesktop.org/wayland/libinput
cd libinput
./autogen.sh --prefix=$WLD
sudo make; sudo make install

But apparently when i try to find the version number of libinput using dpkg

dpkg -s libinput-dev | grep 'Version'
dpkg -s libinput0 | grep 'Version'

I get the following result respectively

dpkg-query: package 'libinput-dev' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

dpkg-query: package 'libinput0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

The reason why I wanted to install it from source is that I want the latest version 0.4.0 of libinput which apparently is a requirement of Weston - reference implementation of Wayland since after they added support to libinput.

This is the result that I get when i run autogen.sh for weston

./autogen.sh --prefix=$WLD --enable-libinput-backend --disable-setuid-install
--------
configure: error: Package requirements (libinput >= 0.4.0) were not met:
No package 'libinput' found

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu libinput Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you run :

sudo apt-get -f install; sudo dpkg-configure -a

What is the output please

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

On PPA https://launchpad.net/~ricotz/+archive/ubuntu/testing/+packages there is a libinput version 0.4.0 for utopic, with binary packages libinput3, libinput3-dev and libinput3-dbg. So maybe for version 0.4 and above the name is no longer libinput0 but libinput3?

Can you help with this problem?

Provide an answer of your own, or ask Jerric Lyns John for more information if necessary.

To post a message you must log in.