From 7129987896f28e99f16c085587b78a182b24fe53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= <wally@mageia.org> Date: Mon, 3 Aug 2020 21:28:17 +0300 Subject: [PATCH] Port to Ayatana Indicator --- configure.ac | 8 ++++---- src/main.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index b9858ab..eb83953 100644 --- a/configure.ac +++ b/configure.ac @@ -112,10 +112,10 @@ AC_ARG_ENABLE([accountsservice], AM_CONDITIONAL([HAVE_ACCOUNTSSERVICE], [test "x$enable_accountsservice" = xyes]) # Application indicator -APPINDICATOR_PKG=appindicator3-0.1 +APPINDICATOR_PKG=ayatana-appindicator3-0.1 AC_ARG_ENABLE([appindicator], - AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators]), + AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for Ayatana Indicators]), [enable_appindicator=$enableval], [enable_appindicator="auto"]) @@ -129,7 +129,7 @@ fi if test "x$enable_appindicator" = "xyes"; then PKG_CHECK_MODULES(APPINDICATOR, [$APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED], - [AC_DEFINE(HAVE_APPINDICATOR, 1, [Have AppIndicator])]) + [AC_DEFINE(HAVE_APPINDICATOR, 1, [Have Ayatana AppIndicator])]) fi AM_CONDITIONAL(HAVE_APPINDICATOR, test "x$enable_appindicator" = "xyes") @@ -181,6 +181,6 @@ echo " Warning flags: ${WARN_CFLAGS} Accountsservice: ${enable_accountsservice} - Application indicator: ${enable_appindicator} + Ayatana AppIndicator: ${enable_appindicator} Maintainer mode: ${USE_MAINTAINER_MODE} " diff --git a/src/main.c b/src/main.c index 68f34ef..76bd958 100644 --- a/src/main.c +++ b/src/main.c @@ -30,7 +30,7 @@ #include <polkitagent/polkitagent.h> #ifdef HAVE_APPINDICATOR -#include <libappindicator/app-indicator.h> +#include <libayatana-appindicator/app-indicator.h> #endif #include "polkitmatelistener.h" -- 2.28.0