Soundux icon indicating copy to clipboard operation
Soundux copied to clipboard

CMake checks for appindicator when most of distros moved to Ayatana

Open almera-vs opened this issue 2 years ago • 3 comments

✍️ 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

almera-vs avatar Jun 16 '23 21:06 almera-vs

related: https://github.com/Soundux/Soundux/issues/656

almera-vs avatar Jun 17 '23 10:06 almera-vs

This issue should be raised in https://github.com/Soundux/traypp

Curve avatar Sep 24 '23 05:09 Curve

I attempted the Ubuntu download, the flatpack download...and now building from source. All 3 failed, last one with this error.

rtaft avatar Mar 07 '24 18:03 rtaft