From e20543a5d813fbedad6db0b5e224d1d8eaf6bd73 Mon Sep 17 00:00:00 2001 From: Hasan Karaman Date: Wed, 6 Jul 2022 23:46:31 +0300 Subject: [PATCH 1/2] fix: Dependecies updated for Ubuntu 22.04 --- Makefile | 4 ++-- src/clevo-indicator.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 48228cf..0ddac47 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,8 @@ OBJ = $(patsubst %.c,$(OBJDIR)/%.o,$(SRC)) TARGET = bin/clevo-indicator -CFLAGS += `pkg-config --cflags appindicator3-0.1` -LDFLAGS += `pkg-config --libs appindicator3-0.1` +CFLAGS += `pkg-config --cflags ayatana-appindicator3-0.1` +LDFLAGS += `pkg-config --libs ayatana-appindicator3-0.1` all: $(TARGET) diff --git a/src/clevo-indicator.c b/src/clevo-indicator.c index 06be525..7eadfd0 100644 --- a/src/clevo-indicator.c +++ b/src/clevo-indicator.c @@ -47,7 +47,7 @@ #include #include -#include +#include #define NAME "clevo-indicator" From 55f532e11ead442c48815113305a6967f4ac1ccf Mon Sep 17 00:00:00 2001 From: Hasan Karaman Date: Thu, 7 Jul 2022 00:30:42 +0300 Subject: [PATCH 2/2] docs: README.md updated. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9d6342..abf2f6c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,14 @@ For command-line, use *-h* to display help, or a number representing percentage Build and Install ----------------- - +For Ubuntu 22.04: +```shell +sudo apt install libayatana-appindicator3-dev libgtk-3-dev +git clone https://github.com/grizzlei/clevo-indicator.git +cd clevo-indicator +make install +``` +For older Ubuntu versions: ```shell sudo apt-get install libappindicator3-dev libgtk-3-dev git clone https://github.com/SkyLandTW/clevo-indicator.git