FS#59476 - [colord] Please depend on 'libsystemd' and 'udev', rather than 'systemd'

Attached to Project: Arch Linux
Opened by Luke Shumaker (lukeshu) - Saturday, 28 July 2018, 16:51 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 01 August 2018, 15:22 GMT
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

colord depends=(systemd); probably for a pair of reasons:

1. It links against libsystemd.so. This warrants depends=(libsystemd), but not depends=(systemd). If the functions from libsystemd fail, it spits a g_warning(), but otherwise falls back to the -Dsystemd=false behavior.

2. It very clearly depends on 'udev', and for a while now, udev is part of systemd (accordingly, systemd provides=(udev)).

This presents a problem for AUR users of openrc/eudev, and for downstream distributions. By editing colord's depends=() to more precisely identify what it needs, it would make it so that downstream distros don't need to edit the PKGBUILD of colord, and so that AUR openrc users don't need to spoof the systemd dependency.

Note: The dependency on 'libsystemd' is currently fulfilled by the chain colord->libgudev->libsystemd. I am unsure if you would want to add depends=(libsystemd) to colord, or if you would want to rely on libgudev to persist in saying depends=(libsystemd) rather than a more precise depends=(libudev) (the 'libsystemd' package includes both libsystemd.so and libudev.so).

This would be helpful to Parabola.

Additional info:
* package version(s) colord 1.4.3-1, libgudev 232-1
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 01 August 2018, 15:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  colord 1.4.3-2

Loading...