1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Update dependency list in INSTALL.md

This commit is contained in:
QC 2014-07-27 09:54:10 +02:00
parent c11fe3d056
commit e52f846089

View file

@ -1,26 +1,47 @@
Installation guide: # Installation guide:
===================
## DEPENDENCY
### For building:
* C compiler (gcc or clang)
* make
* autoconf
* automake
### External libraries
* libxinerama
* libxft
* libx11
* libxdg-basedir
### Optional:
* For i3 support, you need at least i3 version 4.5 or up.
DEPENDENCY
----------
For i3 support, you need at least i3 version 4.5 or up.
Install from a release Install from a release
---------------------- ----------------------
Check dependencies and configure build system: Check dependencies and configure build system:
```
./configure ./configure
```
Build Rofi: Build Rofi:
```
make make
```
The actual install, execute as root (if needed): The actual install, execute as root (if needed):
```
make install make install
```
Install a checkout from git Install a checkout from git
@ -28,23 +49,33 @@ Install a checkout from git
Generate build system: Generate build system:
```
autoreconf -i autoreconf -i
```
Create a build directory: Create a build directory:
```
mkdir build mkdir build
```
Check dependencies and configure build system: Check dependencies and configure build system:
```
../configure ../configure
```
Build rofi: Build rofi:
```
make make
```
The actual install, execute as root (if needed): The actual install, execute as root (if needed):
```
make install make install
```
Options for configure Options for configure
@ -55,14 +86,19 @@ When you run the configure step there are several you can configure. (To see the
The most useful one to set the installation prefix: The most useful one to set the installation prefix:
```
./configure --prefix=<installation path> ./configure --prefix=<installation path>
```
f.e. f.e.
```
./configure --prefix=/usr/ ./configure --prefix=/usr/
```
or to install locally: or to install locally:
```
./configure --prefix=${HOME}/.local/ ./configure --prefix=${HOME}/.local/
```