[PATCH libinput] doc: extend build instructions for dependencies
peter.hutterer at who-t.net
Wed Aug 31 23:53:36 UTC 2016
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Mostly sending this out for any hints on how to deal with this in Arch or
other distributions not listed here. Let me know and I'll add it to the
doc/building.dox | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/doc/building.dox b/doc/building.dox
index 5b4ca52..a14eba7 100644
@@ -19,10 +19,27 @@ $> sudo make install
@note On Debian-based distributions including Ubuntu and its derivatives skip the
-A description on how to fix "No package 'foo' found" errors during the
-configure stage is available
-this blog post here</a>.
+A successful build requires the @ref building_dependencies to be installed
+at configure time.
+ at subsection building_dependencies Build dependencies
+libinput has a few build-time dependencies that must be installed prior to
+running configure. In most cases, it is sufficient to install the
+dependencies that your distribution uses to build the libinput package.
+These can be installed with one of the following commands:
+<li>Debian/Ubuntu based distributions: ```sudo apt-get build-dep
+<li>Fedora 22 and later: ```sudo dnf builddep libinput```</li>
+<li>SuSE/RHEL/CentOS/Fedora 21 and earlier: ```sudo yum-builddep libinput```</li>
+If dependencies are missing, a message ```No package 'foo' found``` will be
+shown during the configure stage. See
+<a href="https://who-t.blogspot.com.au/2014/05/configure-fails-with-no-package-foo.html">this blog post here</a>.
+for instructions on how to fix it.
@subsection building_libwacom Building without libwacom
More information about the wayland-devel