Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 898906

Summary: net-im/discord: migrate to Ayatana Indicators Transition
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Randall <ran.dall>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, proxy-maint, sarnex
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 887171    

Description Pacho Ramos gentoo-dev 2023-03-02 12:33:13 UTC
dev-libs/libayatana-appindicator and dev-libs/libayatana-indicator are the only appindicators implementation that are still maintained and developed, while libappindicator are unmaintained for ages.

Sadly, discord is still trying to use old one, this caused breakage in other distributions that migrated as Debian, but I cannot find discord bug tracker to see the progress on this issue.

On the other hand, the problem is easy to workaround: discord will try to load /opt/discord/libappindicator3.so before anything else. I have then tried to simply symlink /opt/discord/libappindicator3.so  to /usr/lib64/libayatana-appindicator3.so , and it works fine as both are interchangeable 

Thanks
Comment 1 Randall 2023-03-02 18:49:21 UTC
Hey Pacho!

Nice seeing you here.

Thanks for the heads up. I like the idea of symlinking opt/discord/libappindicator3.so  to /usr/lib64/libayatana-appindicator3.so.

I'll try a new build over the weekend.

Best regards,

Randall
Comment 2 Pacho Ramos gentoo-dev 2023-04-19 13:20:44 UTC
I can do it myself if you prefer :)
Comment 3 Larry the Git Cow gentoo-dev 2023-04-27 14:40:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=012ac9d98ffcf767240c736da60e45253428d428

commit 012ac9d98ffcf767240c736da60e45253428d428
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2023-04-27 14:23:07 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2023-04-27 14:40:49 +0000

    net-im/discord: Support ayatana indicators
    
    Also add missing locales
    
    Closes: https://bugs.gentoo.org/898906
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 net-im/discord/discord-0.0.26-r2.ebuild | 134 ++++++++++++++++++++++++++++++++
 1 file changed, 134 insertions(+)
Comment 4 Randall 2023-04-27 15:42:46 UTC
Great work, Pacho!

Thank you.