Skip to content

Commit f6555c9

Browse files
authored
Merge pull request #57 from damageboy/aytana-appindicator
Transition to libaytana-appindicator3 from libappindicator3
2 parents 5e80ae3 + 417b6bf commit f6555c9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To build native applications for Windows, just type `make`. This assumes that GN
3737
* gdk-3
3838
* gobject-2.0
3939
* glib-2.0
40-
* libappindicator3
40+
* libaytana-appindicator3
4141

4242
# Directly Incorporated Third Party Code
4343

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ fn main() {
1414
println!("cargo:rustc-link-lib=dylib=gdk-3");
1515
println!("cargo:rustc-link-lib=dylib=gobject-2.0");
1616
println!("cargo:rustc-link-lib=dylib=glib-2.0");
17-
println!("cargo:rustc-link-lib=dylib=appindicator3");
17+
println!("cargo:rustc-link-lib=dylib=ayatana-appindicator3");
1818
}
1919
}

tray/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ else ifeq ($(shell uname -s),Linux)
2121
else
2222
OPT_FLAGS := -Og
2323
endif
24-
TRAY_CFLAGS := $(OPT_FLAGS) -DTRAY_APPINDICATOR=1 $(shell pkg-config --cflags appindicator3-0.1) -std=c99
25-
TRAY_LDFLAGS := $(shell pkg-config --libs appindicator3-0.1)
24+
TRAY_CFLAGS := $(OPT_FLAGS) -DTRAY_APPINDICATOR=1 $(shell pkg-config --cflags ayatana-appindicator3-0.1) -std=c99
25+
TRAY_LDFLAGS := $(shell pkg-config --libs ayatana-appindicator3-0.1)
2626
else ifeq ($(shell uname -s),Darwin)
2727
RM=rm -f
2828
LIB_NAME=libzt_desktop_tray.a

tray/tray.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void tray_update(struct tray *tray);
3131
#if defined(TRAY_APPINDICATOR)
3232

3333
#include <gtk/gtk.h>
34-
#include <libappindicator/app-indicator.h>
34+
#include <libayatana-appindicator/app-indicator.h>
3535

3636
#define TRAY_APPINDICATOR_ID "tray-id"
3737

0 commit comments

Comments
 (0)