Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898912 - net-im/slack: migrate to Ayatana Indicators Transition
Summary: net-im/slack: 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
Assignee: Vladimir Pavljuchenkov (SpiderX)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 887171
  Show dependency tree
 
Reported: 2023-03-02 13:02 UTC by Pacho Ramos
Modified: 2023-04-27 14:40 UTC (History)
2 users (show)

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:02:39 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, slack is still trying to use old one, this caused breakage in other distributions that migrated as Debian, but I cannot find slack bug tracker to see the progress on this issue.

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

--- slack-4.28.182.ebuild	2022-11-28 15:10:20.000000000 +0100
+++ slack-4.29.149.ebuild	2023-03-02 13:59:40.849692777 +0100
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -43,7 +43,7 @@
 	x11-libs/libxkbfile:0[${MULTILIB_USEDEP}]
 	x11-libs/libXrandr:0[${MULTILIB_USEDEP}]
 	x11-libs/pango:0[${MULTILIB_USEDEP}]
-	appindicator? ( dev-libs/libappindicator:3[${MULTILIB_USEDEP}] )"
+	appindicator? ( dev-libs/libayatana-appindicator )"
 
 QA_PREBUILT="opt/slack/chrome-sandbox
 	opt/slack/chrome_crashpad_handler
@@ -102,6 +102,8 @@
 	dosym ../../opt/slack/slack usr/bin/slack
 
 	pax-mark -m "${ED}"/opt/slack/slack
+
+	dosym ../../usr/lib64/libayatana-appindicator3.so /opt/slack/libappindicator3.so
 }
 
 pkg_postinst() {


Thanks
Comment 1 Pacho Ramos gentoo-dev 2023-04-19 13:20:31 UTC
I can commit it myself if you lack time and prefer. Thanks
Comment 2 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=066d117f734ae0c83b58942e58b2a2e8322bfb0e

commit 066d117f734ae0c83b58942e58b2a2e8322bfb0e
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2023-04-27 14:28:44 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2023-04-27 14:40:49 +0000

    net-im/slack: Support ayatana appindicators
    
    Closes: https://bugs.gentoo.org/898912
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 net-im/slack/slack-4.29.149-r1.ebuild | 116 ++++++++++++++++++++++++++++++++++
 1 file changed, 116 insertions(+)