redshift icon indicating copy to clipboard operation
redshift copied to clipboard

redshift-gtk: use Ayatana AppIndicator3 instead of App Indicator3

Open kenhys opened this issue 5 years ago • 4 comments

libappindicator was deprecated and it will be removed in the future Debian release.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037

There is a successor API compatible library - Ayatana Indicator.

https://ayatanaindicators.github.io/code/

kenhys avatar Apr 27 '20 03:04 kenhys

Thanks for the patch. Does this affect any existing distros which might ship the older library but not the newer one? If so, is there a way to keep compatibility with both?

CameronNemo avatar May 04 '20 10:05 CameronNemo

Here are current status of Ayatana Appindicator:

Debian 9(old-stable): not available Debian 10(stable): available Ubuntu 16.04(xenial): not available Ubuntu 18.04(bionic): available Ubuntu 19.10(eoan): available Ubuntu 20.04(focal): available

It is ok to migrate Ayatana because it is available on stable release.

If you want to keep compatibility with both, it may better to try (Ayatana Appindicator) and fallback to AppIndicator .

kenhys avatar May 04 '20 12:05 kenhys

Yeah it seems like it should be easy to try Ayatana first then fallback to the old import since the APIs are supposedly compatible?

jonls avatar Jun 14 '20 02:06 jonls

@kenhys applied in Gentoo at https://github.com/gentoo/gentoo/commit/08e2652263307c142cd089cf2355e40f48ee0113 , thanks for the patch!

hartwork avatar Jan 24 '23 17:01 hartwork