Package: pasystray
Version: 0.6.0-1
Severity: wishlist
User: [email protected]
Usertags: ayatana-appindicator
Forwarded: https://github.com/christophgysin/pasystray/issues/98


Dear maintainer of pasystray,

find attached a .debdiff that switches on AppIndicator support for the system tray icon and that switches over from Ubuntu's AppIndicator to Ayatana AppIndicator.

This contribution is part of the Ayatana Indicators shift in Debian.

For more info, see
https://lists.debian.org/debian-devel/2018/03/msg00506.html

The patch in the .debdiff has also been proposed upstream already:
https://github.com/christophgysin/pasystray/issues/98

Thanks,
Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://das-netzwerkteam.de

diff -Nru pasystray-0.6.0/debian/changelog pasystray-0.6.0/debian/changelog
--- pasystray-0.6.0/debian/changelog    2016-07-18 15:19:38.000000000 +0200
+++ pasystray-0.6.0/debian/changelog    2018-05-14 10:07:19.000000000 +0200
@@ -1,3 +1,16 @@
+pasystray (0.6.0-1.1+ayatanaappindicator) UNRELEASED; urgency=medium
+
+  [ Mike Gabriel ]
+  * Non-maintainer upload.
+  * debian/control:
+    + Add B-D: libayatana-appindicator3-dev.
+
+  [ Unit193 ]
+  * debian/patches:
+    + Add 1001_build-against-Ayatana-AppIndicator.patch.
+
+ -- Mike Gabriel <[email protected]>  Mon, 14 May 2018 10:07:19 
+0200
+
 pasystray (0.6.0-1) unstable; urgency=low
 
   * New upstream release 0.6.0.
diff -Nru pasystray-0.6.0/debian/control pasystray-0.6.0/debian/control
--- pasystray-0.6.0/debian/control      2016-07-18 15:19:38.000000000 +0200
+++ pasystray-0.6.0/debian/control      2018-05-14 10:06:29.000000000 +0200
@@ -8,6 +8,7 @@
  dh-autoreconf,
  libavahi-client-dev,
  libavahi-glib-dev,
+ libayatana-appindicator3-dev,
  libgtk-3-dev,
  libnotify-dev,
  libpulse-dev,
diff -Nru 
pasystray-0.6.0/debian/patches/1001_build-against-Ayatana-AppIndicator.patch 
pasystray-0.6.0/debian/patches/1001_build-against-Ayatana-AppIndicator.patch
--- 
pasystray-0.6.0/debian/patches/1001_build-against-Ayatana-AppIndicator.patch    
    1970-01-01 01:00:00.000000000 +0100
+++ 
pasystray-0.6.0/debian/patches/1001_build-against-Ayatana-AppIndicator.patch    
    2018-05-14 10:07:19.000000000 +0200
@@ -0,0 +1,24 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -118,8 +118,8 @@
+     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)
+ {
diff -Nru pasystray-0.6.0/debian/patches/series 
pasystray-0.6.0/debian/patches/series
--- pasystray-0.6.0/debian/patches/series       1970-01-01 01:00:00.000000000 
+0100
+++ pasystray-0.6.0/debian/patches/series       2018-05-14 10:07:19.000000000 
+0200
@@ -0,0 +1 @@
+1001_build-against-Ayatana-AppIndicator.patch

Attachment: pgpGy1t5_pQ1R.pgp
Description: Digitale PGP-Signatur

Reply via email to