[Bug 267875] graphics/vips (and thus graphics/pecl-vips) and graphics/pecl-imagick-im7 can't be installed together using binary package

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Nov 2022 19:21:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267875

Miroslav Lachman <000.fbsd@quip.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mops@punkt.de

--- Comment #2 from Miroslav Lachman <000.fbsd@quip.cz> ---
As always - there is no one size fits all for packages shared between desktop
and servers.
PHP and it's extensions is mainly used on headless servers, that's why
pecl-imagick-im7 depends on ImageMagic7-nox11. Server admins usually do not
need and do not want to install Xorg on headless machines.
Ports / packages does not allow to set list of optional alternative
dependencies so if there is record for ImageMagic7-nox11 and other package
needs ImageMagic7, they cannot be installed together. User needs to build it's
own package with options and dependencies that suits requirements of ones
environment.

pecl-vips requires graphics/vips but cannot say "use vips without x11 for
ImageMagic dependency".
The only possible solution is to create flavor or metaport for vips-nox11 and
then use it as dependency for pecl-vips. Then all PHP / PECL extensions will be
built without X11, with the same variant of ImageMagic.

-- 
You are receiving this mail because:
You are the assignee for the bug.