summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNate Graham <pointedstick@zoho.com>2017-04-03 08:51:22 -0600
committerPeter Hutterer <peter.hutterer@who-t.net>2017-04-04 10:24:26 +1000
commit88eaa7c1fd204d5864d7745bf588e7dbb2ea96da (patch)
treef07ec7f79c4e3f992d4f8761f884b5ce6362ccd5 /doc
parenta49ebfe5931e50d5e355fec3ead3ff0c7532744b (diff)
Fix build instructions for openSUSE
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100527 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/building.dox14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/building.dox b/doc/building.dox
index 7361d15..c201598 100644
--- a/doc/building.dox
+++ b/doc/building.dox
@@ -65,7 +65,8 @@ overwriting manually installed files.
<li><b>Debian/Ubuntu</b> based distributions: ```sudo apt-get install
--reinstall libinput```</li>
<li><b>Fedora 22</b> and later: ```sudo dnf reinstall libinput```</li>
-<li><b>SuSE/RHEL/CentOS/Fedora 21</b> and earlier: ```sudo yum reinstall libinput```</li>
+<li><b>RHEL/CentOS/Fedora 21</b> and earlier: ```sudo yum reinstall libinput```</li>
+<li><b>openSUSE</b>: ```sudo zypper install --force libinput10```</li>
<li><b>Arch</b>: ```sudo packman -S libinput```</li>
</ul>
@@ -80,7 +81,16 @@ These can be installed with one of the following commands:
<li><b>Debian/Ubuntu</b> based distributions: ```sudo apt-get build-dep
libinput```</li>
<li><b>Fedora 22</b> and later: ```sudo dnf builddep libinput```</li>
-<li><b>SuSE/RHEL/CentOS/Fedora 21</b> and earlier: ```sudo yum-builddep libinput```</li>
+<li><b>RHEL/CentOS/Fedora 21</b> and earlier: ```sudo yum-builddep libinput```</li>
+<li><b>openSUSE</b>:
+<pre>
+$> sudo zypper modifyrepo --enable `zypper repos | grep source | awk '{print $5}'`
+$> sudo zypper source-install -d libinput10
+$> sudo zypper install autoconf automake libtool
+$> sudo zypper modifyrepo --disable `zypper repos | grep source | awk '{print $5}'`
+</pre>
+</li>
+</pre>
<li><b>Arch</b>:
<pre>
$> abs extra/libinput