From 452012093076c66cf5e934d47b43275bf0d0cf45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Sun, 9 Jun 2013 00:29:57 +0200
Subject: [PATCH] Update the README, fix CMake version requirement
---
CMakeLists.txt | 2 +-
README | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69b3d17..261f4e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 2.8.4)
+cmake_minimum_required (VERSION 2.8.5)
project (sensei-raw-ctl C)
set (project_VERSION "1.0")
diff --git a/README b/README
index a449304..a8cd918 100644
--- a/README
+++ b/README
@@ -4,8 +4,19 @@ This program makes it possible to change the configuration of your SteelSeries
Sensei Raw mouse from within Linux, *BSD or any other POSIX-compatible system
supported by libusb.
+Run `sensei-raw-ctl --help' or `man sensei-raw-ctl' for usage information.
+
+If you don't fancy command line tools, there's also a basic GTK+ frontend
+available. On Ubuntu and its derivates, you should be able to find it in your
+System Settings.
+
Installation
============
+Build dependencies: cmake >= 2.8.5, help2man, libusb >= 1.0,
+ gtk+ >= 3.0 (optional)
+
+$ git clone git://github.com/pjanouch/sensei-raw-ctl.git
+$ cd sensei-raw-ctl
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
@@ -15,6 +26,8 @@ Note that there's no "make uninstall" and the GUI needs to be installed in the
right location to work correctly.
If you don't want the GUI frontend, append -DBUILD_GUI=NO to the cmake command.
+The GUI also isn't going to be built if you don't have the GTK+ 3 development
+packages installed, if your distribution has any.
For Debian-based distros, you can do the following instead of the last step:
$ cpack -G DEB