Skip to content

Conversation

@Ronanbourg
Copy link

This update enables runcat-tray to work seamlessly on more recent systems that use the updated ayatana-appindicator packages, while maintaining backward compatibility with older systems relying on the legacy libappindicator.

Two main changes were made:

1. CMakeLists.txt update:

Modified the package detection logic to first attempt finding the legacy appindicator3-0.1 package, and if not found, fall back to the modern ayatana-appindicator3-0.1 package. This includes defining a USE_AYATANA macro when the Ayatana package is detected to allow conditional compilation.

2. Conditional includes in main.c:

Adjusted the source code to conditionally include the appropriate header file based on the presence of the USE_AYATANA macro. This allows compiling against either the legacy or the Ayatana AppIndicator headers without manual intervention.

These improvements ensure that runcat-tray builds and runs correctly across a wider range of Linux distributions and versions, accommodating the transition from libappindicator to Ayatana’s fork.

Ronan Thomas and others added 2 commits August 10, 2025 01:24
…g module in CMakeLists.txt and conditional includes in main.c
…g module in CMakeLists.txt and conditional includes in main.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant