README: show deps and gtk version

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2022-02-07 09:01:43 -05:00
parent d3380eeca7
commit ffbcc5a732
Signed by: vbatts
GPG Key ID: 10937E57733F1362
1 changed files with 8 additions and 4 deletions

View File

@ -10,13 +10,17 @@ https://sourceforge.net/projects/mocicon
## OPTIONS/SOURCE:
The source is fairly simple, and there are plenty of options to go around.
I don't do much source commenting, but it is all fairly self explanitory.
On debian, build dependencies install with:
```shell
apt install -y build-essential libgtk-3-dev
```
compiling without make:
```shell
gcc -Wall -g -O2 mocicon.c -o mocicon $(pkg-config --cflags --libs gtk+-2.0)
gcc -Wall -g -O2 mocicon.c -o mocicon $(pkg-config --cflags --libs gtk+-3.0)
```
with make it is the regular as root:
@ -25,7 +29,7 @@ with make it is the regular as root:
make clean install
```
it's simple enough. you'll need the gtk+ 2.0 libs and that's it.
it's simple enough. you'll need the gtk+ 3.0 libs and that's it.
run `./install` as root. It just installs mocicon in `/usr/local/bin/`