Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898914 - net-im/whatsapp-desktop-bin: migrate to Ayatana Indicators Transition
Summary: net-im/whatsapp-desktop-bin: migrate to Ayatana Indicators Transition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 887171
  Show dependency tree
 
Reported: 2023-03-02 13:15 UTC by Pacho Ramos
Modified: 2023-03-07 12:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2023-03-02 13:15:48 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, whatsapp-desktop-bin is still trying to use old one, this caused breakage in other distributions that migrated as Debian, but they still did not fix it:
https://github.com/oOthkOo/whatsapp-desktop/issues/39

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

 	domenu usr/share/applications/whatsapp.desktop
 
 	local DESTDIR="/opt/whatsapp-desktop"
+	dosym ../../usr/lib64/libayatana-appindicator3.so "${DESTDIR}"/libappindicator3.so
+
 	pushd "opt/whatsapp-desktop" || die
 
 	exeinto "${DESTDIR}"


Thanks
Comment 1 Larry the Git Cow gentoo-dev 2023-03-07 08:43:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921bd7e19755a4546ca662f9bd91b0a3a4556c7c

commit 921bd7e19755a4546ca662f9bd91b0a3a4556c7c
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-03-07 08:42:34 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-03-07 08:43:42 +0000

    net-im/whatsapp-desktop-bin: libappindicator -> libayatana-appindicator
    
    Co-authored-by: Pacho Ramos <pacho@gentoo.org>
    Closes: https://bugs.gentoo.org/898914
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 ...top-bin-0.5.2-r2.ebuild => whatsapp-desktop-bin-0.5.2-r3.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 2 Pacho Ramos gentoo-dev 2023-03-07 12:04:08 UTC
Thanks!