Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 12:33:37 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Greg Kennedy <kennedy.greg@gmail.com>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: graphics/php*-gd requires X11 by default
Message-ID:  <db366f28-9594-1ade-dec3-329e6d8c1c70@quip.cz>
In-Reply-To: <CAN1%2BP_0wFET1p04_8z%2B-wuZWTWq0wTOZnirLCOEhuKQ0JoFdNA@mail.gmail.com>
References:  <CAN1%2BP_1Ru47VHkXmHovZuaiE1SrPZo70ZsAzHJE3jGTR%2BGkFnA@mail.gmail.com> <CAN1%2BP_3MaRb14oT1k6q%2BV-EQW6K6ukU7t-gzkbQ=eQFJ7envMQ@mail.gmail.com> <CAN1%2BP_0wFET1p04_8z%2B-wuZWTWq0wTOZnirLCOEhuKQ0JoFdNA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Kennedy wrote on 2019/05/22 05:07:
> Never mind!  I just saw that this was fixed in October for php73-gd.  Need
> to update my PHP version.

I think all supported versions of PHP should have the same options 
enabled. And I support X11=off by default.


> On Thu, May 16, 2019 at 8:54 PM Greg Kennedy <kennedy.greg@gmail.com> wrote:
> 
>> I'm raising this again as the last time I tried to check with the port
>> maintainer, he had not made the change, and wasn't available to do so.
>>
>> Can someone change the default config for graphics/php72-gd from X11=on to
>> X11=off?
>>
>> It will save a large number of dependencies on X11, at the cost of not
>> supporting this (very rarely used) image format.
>>
>> On Sat, Sep 15, 2018 at 12:14 PM Greg Kennedy <kennedy.greg@gmail.com>
>> wrote:
>>
>>> I sent an email to the maintainer of these ports (tz@freebsd.org) a few
>>> days ago, but didn't hear back - so I thought I'd raise the same question
>>> to the mailing list instead.
>>>
>>> ---
>>>
>>> Hey there!  I was wondering something about the php-gd ports
>>> (specifically 7.2 but earlier as well).  Looking at the config options
>>> I see this:
>>>
>>>       X11=on: Enable XPM support
>>>
>>> With this option enabled php-gd can read XPixMap images, but in turn
>>> this pulls in a host of additional X11 dependencies.  That's an awful
>>> lot for (usually) headless servers, especially for an image format
>>> that is (relatively) unused.  I don't mind the option being there but
>>> because it is defaulted to "on", that means official FreeBSD packages
>>> are built with this support and all the dependencies.  On my system I
>>> have to manually build this one port just to turn off the option.
>>>
>>> Would it be possible to modify the defaults for this port so that
>>> X11=off by default?  Or, why is the default to "on"?  (I have a guess,
>>> that this respects WITHOUT_X11 in /etc/make.conf, but that's useless
>>> for pre-built binary packages)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db366f28-9594-1ade-dec3-329e6d8c1c70>