mate-desktop / mate-control-center

Utilities to configure the MATE desktop
https://mate-desktop.org
GNU General Public License v2.0
68 stars 59 forks source link

Please migrate to from Ubuntu Indicators to Ayatana Indicators #701

Closed pacho2 closed 7 months ago

pacho2 commented 1 year ago

libayatana-appindicator and dev-libs/libayatana-indicator are the only appindicators implementation that are still maintained and developped, while Ubuntu libappindicator stuff are unmaintained for ages.

OpenSUSE and Debian already migrated: https://wiki.debian.org/Ayatana/IndicatorsTransition

Thanks

raveit65 commented 1 year ago

Fedora and Redhat are using libappindicator and not libayatana-indicator. It is important that we can use both packages.

pacho2 commented 1 year ago

For example mate-polkit tries to use newer ayatana implementation and falls back to old one if not found: https://github.com/mate-desktop/mate-polkit/commit/65a6c367e28e338dc74931dece1af9e53338276f

pacho2 commented 1 year ago

1.patch.txt

I ported it and it seems to work with 1.26.0

pacho2 commented 1 year ago

1.patch.txt

This fixes the detection when library is present but its support is disabled and also remove some bashisms

raveit65 commented 1 year ago

Pull request?

rubyFeedback commented 7 months ago

Is ayatana-indicator mandatory? I don't seem to be able to find a way to disable it during configure; not sure if mate-control-center depends on it internally or not. If it is not mandatory then perhaps a --disable-ayatana-indicator or so could be nice to have.

cwendling commented 7 months ago

This is actually already fixed in #732.

@rubyFeedback with current mate-control-center, one of libappindicator or ayatana-appindicator is indeed required (for the typing-break plugin). You can select libappindicator manually if you prefer, using --enable-libappindicator, but not disable it altogether. Before 1.28 you could disable appindicator using --disable-appindicator and it would use a GTK status icon, but that one is deprecated in GTK and support for it has been removed in 1.28.