Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Ayatana AppIndicator. #41

Closed

Conversation

sunweaver
Copy link
Member

We are currently in the process of making Indicators available to all *nix platforms, not only Ubuntu.

For this, please consider merging this PR. After the merge, mate-polkit will work just fine on Ubuntu. No need to switch to Ayatana Indicators on the rendering level.

@raveit65
Copy link
Member

How should that work with distros from the dark side :) ?

[rave@mother ~]$ dnf provides */libayatana-appindicator/app-indicator.h
RPM Fusion for Fedora 26 - Free - Updates       2.9 MB/s | 493 kB     00:00    
RPM Fusion for Fedora 26 - Free                 2.1 MB/s | 519 kB     00:00    
RPM Fusion for Fedora 26 - Nonfree - Updates    728 kB/s |  60 kB     00:00    
RPM Fusion for Fedora 26 - Nonfree              1.0 MB/s | 158 kB     00:00    
Letzte Prüfung auf abgelaufene Metadaten: vor 0:00:00 am Do 29 Mär 2018 13:27:08 CEST.
Fehler: Keine Übereinstimmungen gefunden
[rave@mother ~]$ yum-deprecated provides */libayatana-appindicator/app-indicator.h
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.

fedora/26/x86_64/metalink                                   |  26 kB  00:00     
rpmfusion-free/26/x86_64/metalink                           |  10 kB  00:00     
rpmfusion-nonfree/26/x86_64/metalink                        |  10 kB  00:00     
MEGAsync                                                                  14/14
MEGAsync/26/filelists                                       | 7.6 kB  00:00     
results/filelists_db                                        | 942 kB  00:00     
results-mate-1.20/filelists_db                              | 893 kB  00:00     
results-mate-1.22/filelists_db                              |  30 kB  00:00     
results-rpmfusion_all/filelists_db                          |  75 kB  00:00     
rpmfusion-free-updates/26/x86_64/filelists_db               | 302 kB  00:00     
rpmfusion-nonfree-updates/26/x86_64/filelists_db            |  36 kB  00:00     
updates/26/x86_64/filelists_db                              |  15 MB  00:02     
No matches found

@sunweaver
Copy link
Member Author

sunweaver commented Mar 29, 2018 via email

@lukefromdc
Copy link
Member

Reality is those on any particular distro will need to either use the indicator support their distro ships. I see Debian is switching over we we will need this, but we should not remove the existing support until all distros have switched over

@sunweaver
Copy link
Member Author

sunweaver commented Mar 29, 2018 via email

@lukefromdc
Copy link
Member

OK, that's exactly what we need while distros transition

@lukefromdc
Copy link
Member

I just installed Ayatana indicator support, and built this. Build supports both indicator formats, so I don't know which one it is using but it works without issue

@sunweaver
Copy link
Member Author

sunweaver commented Mar 30, 2018 via email

@lukefromdc
Copy link
Member

OK, looks like it works: I got
libayatana-appindicator3.so.1 => /usr/lib/x86_64-linux-gnu/libayatana-appindicator3.so.1 (0x00007f17fcea0000)

@monsta
Copy link
Contributor

monsta commented Apr 1, 2018

Hmm... did you fork/rename libappindicator as well?

For the forks of indicators themselves, like indicator-application or indicator-sound, only indicator panel applets (in MATE or Xfce or other desktops) had to be adjusted. For the fork of the library you'll have to patch a lot more apps that make use of it...

@sunweaver
Copy link
Member Author

sunweaver commented Apr 1, 2018 via email

@lukefromdc lukefromdc requested a review from a team July 5, 2019 18:46
@lukefromdc
Copy link
Member

Any updates on this?

@lukefromdc
Copy link
Member

Note that this no longer builds as-is on Debian, as it predates the initltool->gettext transition and the older system is no longer supported.

@lukefromdc
Copy link
Member

The web editor did something ugly: in trying to fix conflicts by replacing configure.ac and src/makefile.am, it instead merged the entire master branch back into the PR branch, though as a 3ed commit that the originator can revert. CLOSING this and making a new PR instead with the changes from this to support both indicator types hand-edited into the current build system

@lukefromdc lukefromdc closed this Jan 31, 2023
@lukefromdc
Copy link
Member

Follow-on PR based on current master at
#70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants