Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 20:54:47 -0500
From:      Greg Kennedy <kennedy.greg@gmail.com>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: graphics/php*-gd requires X11 by default
Message-ID:  <CAN1%2BP_3MaRb14oT1k6q%2BV-EQW6K6ukU7t-gzkbQ=eQFJ7envMQ@mail.gmail.com>
In-Reply-To: <CAN1%2BP_1Ru47VHkXmHovZuaiE1SrPZo70ZsAzHJE3jGTR%2BGkFnA@mail.gmail.com>
References:  <CAN1%2BP_1Ru47VHkXmHovZuaiE1SrPZo70ZsAzHJE3jGTR%2BGkFnA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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)
>
> -Greg
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN1%2BP_3MaRb14oT1k6q%2BV-EQW6K6ukU7t-gzkbQ=eQFJ7envMQ>