diff --git a/README.md b/README.md index 0115171..d0b549c 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ To build native applications for Windows, just type `make`. This assumes that GN * gdk-3 * gobject-2.0 * glib-2.0 -* libappindicator3 +* libaytana-appindicator3 # Directly Incorporated Third Party Code diff --git a/build.rs b/build.rs index a332a99..e6edaab 100644 --- a/build.rs +++ b/build.rs @@ -14,6 +14,6 @@ fn main() { println!("cargo:rustc-link-lib=dylib=gdk-3"); println!("cargo:rustc-link-lib=dylib=gobject-2.0"); println!("cargo:rustc-link-lib=dylib=glib-2.0"); - println!("cargo:rustc-link-lib=dylib=appindicator3"); + println!("cargo:rustc-link-lib=dylib=ayatana-appindicator3"); } } diff --git a/tray/Makefile b/tray/Makefile index 2111412..2b6ed01 100644 --- a/tray/Makefile +++ b/tray/Makefile @@ -21,8 +21,8 @@ else ifeq ($(shell uname -s),Linux) else OPT_FLAGS := -Og endif - TRAY_CFLAGS := $(OPT_FLAGS) -DTRAY_APPINDICATOR=1 $(shell pkg-config --cflags appindicator3-0.1) -std=c99 - TRAY_LDFLAGS := $(shell pkg-config --libs appindicator3-0.1) + TRAY_CFLAGS := $(OPT_FLAGS) -DTRAY_APPINDICATOR=1 $(shell pkg-config --cflags ayatana-appindicator3-0.1) -std=c99 + TRAY_LDFLAGS := $(shell pkg-config --libs ayatana-appindicator3-0.1) else ifeq ($(shell uname -s),Darwin) RM=rm -f LIB_NAME=libzt_desktop_tray.a diff --git a/tray/tray.h b/tray/tray.h index fe18fea..0ed4ffc 100644 --- a/tray/tray.h +++ b/tray/tray.h @@ -31,7 +31,7 @@ void tray_update(struct tray *tray); #if defined(TRAY_APPINDICATOR) #include -#include +#include #define TRAY_APPINDICATOR_ID "tray-id"