Bug 100527 - Update build documentation for openSUSE
Summary: Update build documentation for openSUSE
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-01 20:41 UTC by Nate Graham
Modified: 2017-04-04 02:15 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Documentation patch (1.75 KB, patch)
2017-04-03 14:55 UTC, Nate Graham
Details | Splinter Review

Description Nate Graham 2017-04-01 20:41:42 UTC
The instructions on https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html don't have any instructions for openSUSE--only SuSE, which is different and not applicable.

Here's what the correct commands are for openSUSE (tested by me):

Reinstall:
sudo zypper install --force libinput10


Build dependencies:
sudo zypper modifyrepo --enable `zypper repos | grep source | awk '{print $5}'` (this is to support Tumbleweed and all the different Leap versions)
sudo zypper source-install -d libinput10
Comment 1 Nate Graham 2017-04-01 21:18:23 UTC
Also, the source package in openSUSE doesn't seem to have the correct dependencies listed. You need to manually install automake and libtool. For that, I've filed https://bugzilla.opensuse.org/show_bug.cgi?id=1032023

Dunno if that's info worth adding to the wiki, or omitting it because the bug should be fixed eventually.
Comment 2 Nate Graham 2017-04-01 22:09:47 UTC
Update after talking with the openSUSE folks. Here's what the Build Dependencies section should say for openSUSE:


sudo zypper modifyrepo --enable `zypper repos | grep source | awk '{print $5}'` (this is to support Tumbleweed and all the different Leap versions)
sudo zypper source-install -d libinput10
sudo zypper install autoconf automake libtool
sudo zypper modifyrepo --disable `zypper repos | grep source | awk '{print $5}'` (optional, if it wasn't enabled before and you don't want to keep it enabled)
Comment 3 Peter Hutterer 2017-04-03 01:13:41 UTC
Any chance you can attach a patch I can just apply? Thanks
Comment 4 Nate Graham 2017-04-03 03:31:17 UTC
I'd love to. What's the repo for the documentation? I couldn't find one, and it's not a wiki.
Comment 5 Peter Hutterer 2017-04-03 04:44:13 UTC
it's the libinput repo itself, build instructions are in doc/building.dox
Comment 6 Nate Graham 2017-04-03 14:55:02 UTC
Created attachment 130654 [details] [review]
Documentation patch

Awesome. I'm attaching a patch.
Comment 7 Peter Hutterer 2017-04-04 01:15:25 UTC
pushed as commit 88eaa7c1fd204d5864d7745bf588e7dbb2ea96da, thanks
Comment 8 Nate Graham 2017-04-04 02:15:09 UTC
Yay, I see it live.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.