File: 0001-Build-against-ayatana-appindicator.patch

package info (click to toggle)
pasystray 0.8.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 596 kB
  • sloc: ansic: 3,222; makefile: 79; sh: 20
file content (34 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Scott Leggett <scott@sl.id.au>
Date: Fri, 26 Oct 2018 23:23:06 +1100
Subject: Build against ayatana-appindicator
Forwarded: not-needed

---
 configure.ac       | 4 ++--
 src/systray_impl.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/configure.ac
+++ b/configure.ac
@@ -123,8 +123,8 @@ AC_ARG_ENABLE([appindicator],
     AS_HELP_STRING([--disable-appindicator], [Disable optional appindicator support]))
 
 case ${with_gtk} in
-    2) APPINDICATOR_VERSION=appindicator-0.1;;
-    3) APPINDICATOR_VERSION=appindicator3-0.1;;
+    2) APPINDICATOR_VERSION=ayatana-appindicator-0.1;;
+    3) APPINDICATOR_VERSION=ayatana-appindicator3-0.1;;
 esac
 AS_IF([test "x$enable_appindicator" != xno],
     [PKG_CHECK_MODULES(APPINDICATOR, [ $APPINDICATOR_VERSION ], HAVE_APPINDICATOR=1,
--- a/src/systray_impl.c
+++ b/src/systray_impl.c
@@ -26,7 +26,7 @@
 
 #ifdef HAVE_APPINDICATOR
 
-#include <libappindicator/app-indicator.h>
+#include <libayatana-appindicator/app-indicator.h>
 
 static void systray_impl_scroll_cb(AppIndicator* appind, gint delta, GdkScrollDirection direction, gpointer userdata)
 {