Package: telegram-desktop Version: 1.2.17-1 Severity: wishlist User: [email protected] Usertags: ayatana-appindicator
Dear maintainer of telegram-desktop,find attached a .debdiff that switches system tray icon rendering from Telegram 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 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 telegram-desktop-1.2.17/debian/changelog telegram-desktop-1.2.17/debian/changelog --- telegram-desktop-1.2.17/debian/changelog 2018-04-21 18:35:32.000000000 +0000 +++ telegram-desktop-1.2.17/debian/changelog 2018-05-11 10:33:23.000000000 +0000 @@ -1,3 +1,15 @@ +telegram-desktop (1.2.17-1.1+ayatanaappindicator) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * debian/patches: Add Build-against-Ayatana-AppIndicator.patch. + * debian/control: + + Switch B-D: libappindicator-dev (flawed-as-GTK-2) -> + libayatana-appindicator3-dev. + + Switch R (telegram-desktop): libappindicator3-0.1 -> + libayatana-appindicator3-0.1. + + -- Mike Gabriel <[email protected]> Fri, 11 May 2018 12:33:23 +0200 + telegram-desktop (1.2.17-1) unstable; urgency=medium * New upstream release diff -Nru telegram-desktop-1.2.17/debian/control telegram-desktop-1.2.17/debian/control --- telegram-desktop-1.2.17/debian/control 2018-04-21 18:35:32.000000000 +0000 +++ telegram-desktop-1.2.17/debian/control 2018-05-11 10:33:23.000000000 +0000 @@ -8,7 +8,7 @@ debhelper (>=11), dh-exec, gyp, - libappindicator-dev, + libayatana-appindicator3-dev, libavcodec-dev (>=7:3.2), libavformat-dev (>=7:3.2), libgtk2.0-dev, @@ -33,7 +33,7 @@ Package: telegram-desktop Architecture: any Depends: qt5-image-formats-plugins (>=5.5), ${misc:Depends}, ${shlibs:Depends} -Recommends: fonts-open-sans, libappindicator3-1 +Recommends: fonts-open-sans, libayatana-appindicator3-1 Description: official telegram messaging app Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the diff -Nru telegram-desktop-1.2.17/debian/patches/Build-against-Ayatana-AppIndicator.patch telegram-desktop-1.2.17/debian/patches/Build-against-Ayatana-AppIndicator.patch --- telegram-desktop-1.2.17/debian/patches/Build-against-Ayatana-AppIndicator.patch 1970-01-01 00:00:00.000000000 +0000 +++ telegram-desktop-1.2.17/debian/patches/Build-against-Ayatana-AppIndicator.patch 2018-05-11 10:33:23.000000000 +0000 @@ -0,0 +1,44 @@ +Description: Build Against Ayatana AppIndicator +Author: Mike Gabriel <[email protected]> + +--- a/Telegram/SourceFiles/platform/linux/linux_libs.cpp ++++ b/Telegram/SourceFiles/platform/linux/linux_libs.cpp +@@ -234,14 +234,14 @@ + bool gtkLoaded = false; + bool indicatorLoaded = false; + QLibrary lib_gtk, lib_indicator; +- if (loadLibrary(lib_indicator, "appindicator3", 1)) { ++ if (loadLibrary(lib_indicator, "ayatana-appindicator3", 1)) { + if (loadLibrary(lib_gtk, "gtk-3", 0)) { + gtkLoaded = setupGtkBase(lib_gtk); + indicatorLoaded = setupAppIndicator(lib_indicator); + } + } + if (!gtkLoaded || !indicatorLoaded) { +- if (loadLibrary(lib_indicator, "appindicator", 1)) { ++ if (loadLibrary(lib_indicator, "ayatana-appindicator", 1)) { + if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) { + gtkLoaded = indicatorLoaded = false; + gtkLoaded = setupGtkBase(lib_gtk); +--- a/Telegram/SourceFiles/platform/linux/linux_libs.h ++++ b/Telegram/SourceFiles/platform/linux/linux_libs.h +@@ -10,7 +10,7 @@ + #ifndef TDESKTOP_DISABLE_GTK_INTEGRATION + extern "C" { + #undef signals +-#include <libappindicator/app-indicator.h> ++#include <libayatana-appindicator/app-indicator.h> + #include <gtk/gtk.h> + #include <gdk/gdk.h> + #define signals public +--- a/Telegram/gyp/telegram_linux.gypi ++++ b/Telegram/gyp/telegram_linux.gypi +@@ -76,7 +76,7 @@ + 'ldflags': [ '-g' ], + }], ['not_need_gtk!="True"', { + 'cflags_cc': [ +- '<!(pkg-config 2> /dev/null --cflags appindicator-0.1)', ++ '<!(pkg-config 2> /dev/null --cflags ayatana-appindicator3-0.1)', + '<!(pkg-config 2> /dev/null --cflags gtk+-2.0)', + '<!(pkg-config 2> /dev/null --cflags glib-2.0)', + ], diff -Nru telegram-desktop-1.2.17/debian/patches/series telegram-desktop-1.2.17/debian/patches/series --- telegram-desktop-1.2.17/debian/patches/series 2018-04-01 13:53:04.000000000 +0000 +++ telegram-desktop-1.2.17/debian/patches/series 2018-05-11 10:24:25.000000000 +0000 @@ -2,3 +2,4 @@ Debian-API-ID.patch Packed-resources.patch Use-system-wide-font.patch +Build-against-Ayatana-AppIndicator.patch
pgpUxZSPXRGiF.pgp
Description: Digitale PGP-Signatur

