[feature request] support for libayatana-appindicator

Bug #1964116 reported by jcfp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xpad
Fix Released
High
Arthur Borsboom

Bug Description

In debian, libappindicator has been removed [1, 2] and applications ported to libayatana-appindicator, a compatible and actively maintained fork. I added a patch to the xpad package to make it use the ayatana lib [3] (completely replacing libappindicator, since it's unavailable anyway).

For xpad itself it might be preferable to support both for maximum compatibility; i.e. have configure check for the presence of both libs and modify the include statement in src/xpad-tray.c so that things work out of the box as long as headers for at least one of them are found at build time.

[1] https://packages.qa.debian.org/liba/libappindicator/news/20210914T185651Z.html
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037
[3] https://salsa.debian.org/jcfp/xpad/-/blob/324cd5e8f8d96750974b7504bbf86b2d19c3962b/debian/patches/01_use_libayatana-appindicator.diff

Related branches

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

I am happy to have some guidance from the field. :)

I prefer to maintain only one indicator, so I will give it a try to completely migrate to the libayatana-appindicator.

The last time, the move from GtkStatusIcon to libappindicator was a pain (to me), so it might take a bit time. Your patch will probably help me; thanks for the help.

I will get back to you.

Changed in xpad:
milestone: none → 5.7.0
assignee: nobody → Arthur Borsboom (arthurborsboom)
importance: Undecided → High
status: New → Confirmed
Changed in xpad:
status: Confirmed → Fix Committed
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Xpad 5.7.0 has been released, which contains the move to libayatana.

https://launchpad.net/xpad/trunk/5.7.0
https://launchpad.net/xpad/trunk/5.7.0/+download/xpad-5.7.0.tar.bz2

Changed in xpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.