mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Update installation guide a bit.
This commit is contained in:
parent
ce5b8c0216
commit
42fa10da94
1 changed files with 26 additions and 2 deletions
28
INSTALL.md
28
INSTALL.md
|
@ -1,5 +1,10 @@
|
||||||
# Installation guide
|
# Installation guide
|
||||||
|
|
||||||
|
This guide explains how to install rofi using its build system and how you can make debug builds.
|
||||||
|
|
||||||
|
Rofi uses autotools (GNU Build system), for more information see
|
||||||
|
[here](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html).
|
||||||
|
|
||||||
## DEPENDENCY
|
## DEPENDENCY
|
||||||
|
|
||||||
### For building:
|
### For building:
|
||||||
|
@ -20,6 +25,8 @@
|
||||||
* libcairo
|
* libcairo
|
||||||
* libcairo-xcb
|
* libcairo-xcb
|
||||||
* libglib2.0 >= 2.40
|
* libglib2.0 >= 2.40
|
||||||
|
* gmodule-2.0
|
||||||
|
* gio-unix-2.0
|
||||||
* libstartup-notification-1.0
|
* libstartup-notification-1.0
|
||||||
* libxkbcommon >= 0.5.0
|
* libxkbcommon >= 0.5.0
|
||||||
* libxkbcommon-x11
|
* libxkbcommon-x11
|
||||||
|
@ -51,6 +58,7 @@ The actual install, execute as root (if needed):
|
||||||
make install
|
make install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The default installation prefix is: `/usr/local/` use `./configure --prefix={prefix}` to install into another location.
|
||||||
|
|
||||||
## Install a checkout from git
|
## Install a checkout from git
|
||||||
|
|
||||||
|
@ -59,6 +67,13 @@ The GitHub Pages version of these directions may be out of date. Please use
|
||||||
|
|
||||||
[master-install]: https://github.com/DaveDavenport/rofi/blob/master/INSTALL.md#install-a-checkout-from-git
|
[master-install]: https://github.com/DaveDavenport/rofi/blob/master/INSTALL.md#install-a-checkout-from-git
|
||||||
|
|
||||||
|
Make a checkout:
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://github.com/DaveDavenport/rofi
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Pull in dependencies
|
Pull in dependencies
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -142,7 +157,7 @@ make V=1
|
||||||
|
|
||||||
### Debug build
|
### Debug build
|
||||||
|
|
||||||
Compile with debug symbols and no optimization
|
Compile with debug symbols and no optimization, this is useful for making backtraces:
|
||||||
|
|
||||||
```
|
```
|
||||||
make CFLAGS="-O0 -g3" clean rofi
|
make CFLAGS="-O0 -g3" clean rofi
|
||||||
|
@ -159,12 +174,15 @@ can then load the core in GDB.
|
||||||
gdb rofi core
|
gdb rofi core
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Where the core file is located and what its exact name is different on each distributions. Please consult the
|
||||||
|
> relevant documentation.
|
||||||
|
|
||||||
## Install distribution
|
## Install distribution
|
||||||
|
|
||||||
### Debian or Ubuntu
|
### Debian or Ubuntu
|
||||||
|
|
||||||
```
|
```
|
||||||
apt-get install rofi
|
apt install rofi
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -174,3 +192,9 @@ rofi from [russianfedora repository](http://ru.fedoracommunity.org/repository)
|
||||||
and also
|
and also
|
||||||
[Yaroslav's COPR (Cool Other Package Repo)](https://copr.fedorainfracloud.org/coprs/yaroslav/i3desktop/)
|
[Yaroslav's COPR (Cool Other Package Repo)](https://copr.fedorainfracloud.org/coprs/yaroslav/i3desktop/)
|
||||||
|
|
||||||
|
|
||||||
|
### ArchLinux
|
||||||
|
|
||||||
|
```
|
||||||
|
pacman -S rofi
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue