CMake checks for appindicator when most of distros moved to Ayatana
✍️ Bug Description
This issue only affects Linux users. I'm currently on Debian 12 and it uses Ayatana project libraries instead of outdated appindicator.
So for example I have:
libayatana-appindicator3-1
instead of:
appindicator3-0.1
Which means I cannot build Soundux, because it fails after requesting for an old package I cannot install and completely ignores that I have installed Ayatana version of package. Including dev packages.
Other people also noticed it doesn't go well together: https://bugs.launchpad.net/ubuntu/+source/libayatana-appindicator/+bug/1964964 https://www.mail-archive.com/[email protected]/msg1823708.html https://bugzilla.redhat.com/show_bug.cgi?id=1651349
For more context here is Debian message about moving to Ayatana (from 2018) https://lists.debian.org/debian-devel/2018/03/msg00506.html
The libraries: https://packages.debian.org/sid/libayatana-appindicator-dev
Libyatana appindicator: https://github.com/AyatanaIndicators/libayatana-appindicator
Proposed changes: make a transition to Aytana or add support for these packages
🔁 Steps to reproduce
Build the project, it will fail when checking for module 'appindicator3-0.1' I tried both building from source and from MPR
🖥️ Console Output
-- Checking for module 'appindicator3-0.1'
-- Package 'appindicator3-0.1', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
lib/traypp/CMakeLists.txt:15 (pkg_check_modules)
❔ Expected behaviour
I expected to build the project without any issues
👀 Screenshots
No response
🖥️ Operating System
Linux
🖥️ Distribution
Debian GNU/Linux 12 (bookworm) x86_64
✅ I confirm that...
- [X] I have collected all the required information and read all the comments in this document
- [X] I searched for an existing bug report for this issue
- [X] the problem does occur with the reproduction steps I provided
- [x] what I described is indeed a problem
related: https://github.com/Soundux/Soundux/issues/656
This issue should be raised in https://github.com/Soundux/traypp
I attempted the Ubuntu download, the flatpack download...and now building from source. All 3 failed, last one with this error.