Sophie

Sophie

distrib > Mageia > 8 > armv7hl > media > core-release-src > by-pkgid > 40f1b4cf83b741cdbe54659ec5019646 > files > 1

psensor-1.2.1-5.mga8.src.rpm

From a8c1c787dd4c81d2fbd5d89111b370bcab092c6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jani=20V=C3=A4limaa?= <wally@mageia.org>
Date: Mon, 3 Aug 2020 22:16:36 +0300
Subject: [PATCH] Port to Ayatana Indicator

---
 configure.ac          | 6 +++---
 src/ui.h              | 2 +-
 src/ui_appindicator.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 48b10eb..4b89147 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,9 +117,9 @@ AC_SUBST(LIBNOTIFY_LIBS)
 
 # Checks AppIndicator 
 APPINDICATOR_LIBS=
-PKG_CHECK_MODULES(APPINDICATOR, appindicator3-0.1,
-     [AC_DEFINE([HAVE_APPINDICATOR],[1],[Use AppIndicator3-0.1])],
-     [AC_MSG_WARN(AppIndicator 3-0.1 not present")])
+PKG_CHECK_MODULES(APPINDICATOR, ayatana-appindicator3-0.1,
+     [AC_DEFINE([HAVE_APPINDICATOR],[1],[Use Ayatana AppIndicator3-0.1])],
+     [AC_MSG_WARN(Ayatana AppIndicator 3-0.1 not present")])
 AM_CONDITIONAL(APPINDICATOR, test -n "$APPINDICATOR_LIBS")
 AC_SUBST(APPINDICATOR_CFLAGS)
 AC_SUBST(APPINDICATOR_LIBS)
diff --git a/src/ui.h b/src/ui.h
index 426f29c..43ae4be 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -27,7 +27,7 @@
 #include <gtk/gtk.h>
 
 #if defined(HAVE_APPINDICATOR)
-#include <libappindicator/app-indicator.h>
+#include <libayatana-appindicator/app-indicator.h>
 #endif
 
 #include "psensor.h"
diff --git a/src/ui_appindicator.c b/src/ui_appindicator.c
index ed4cc64..b3179c0 100644
--- a/src/ui_appindicator.c
+++ b/src/ui_appindicator.c
@@ -21,7 +21,7 @@
 #include <string.h>
 
 #include <gtk/gtk.h>
-#include <libappindicator/app-indicator.h>
+#include <libayatana-appindicator/app-indicator.h>
 
 #include <cfg.h>
 #include <psensor.h>
-- 
2.28.0