libgdiplus as optdepend?

Task Info (Flyspray)
Opened By Paul Mulders (justinkb)
Task ID 46961
Type General Gripe
Project Arch Linux
Category Packages: Extra
Version None
OS All
Opened 2015-11-03 22:17:52 UTC
Status Assigned
Assignee Levente Polyak (anthraxx)
Assignee Giancarlo Razzolini (grazzolini)

Details

Having libgdiplus as strict dependency means we have to pull in all kinds of X/GUI packages, directly and indirectly (via cairo particularly).

On a headless server this could be undesirable. There is plenty of mono software which doesn't use GDI+/System.Drawing at all, so perhaps we can make this optdepend with a note "required for GDI+ drawing functionality".

Of course, packages in the Arch Linux repositories and AUR that rely on mono AND libgdiplus can just explicitly depend on libgdiplus, so there's no problem there.

Looking at libgdiplus's reverse dependencies, I see only mono listed on the package web interface, so perhaps there are currently packages which would have to be changed should this change go through.