Skip to content

power: Hack around upower FTBFS issues

ABI breakage in upower upstream in April/July this year means we cannot build against current master but there's no newer release available yet. Hack around this by checking for the removed functions until we can require a minimum release again.

up_client_get_devices2() is now up_client_get_devices() and all the lid handling code was removed.

See upower commits 07565ef6 and 67666029 for the breakage.

Fixes #756

Edited by Peter Hutterer

Merge request reports