From ffbcc5a73296b97b37bf8dfd39cc7dae6f0e5609 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Mon, 7 Feb 2022 09:01:43 -0500 Subject: [PATCH] README: show deps and gtk version Signed-off-by: Vincent Batts --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bea3943..79826e2 100644 --- a/README.md +++ b/README.md @@ -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/`