From owner-freebsd-ports@freebsd.org Wed May 22 10:33:36 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D75E15A7A84 for ; Wed, 22 May 2019 10:33:36 +0000 (UTC) (envelope-from SRS0=kf1c=TW=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5223E77597 for ; Wed, 22 May 2019 10:33:35 +0000 (UTC) (envelope-from SRS0=kf1c=TW=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B2DF228423; Wed, 22 May 2019 12:33:33 +0200 (CEST) Received: from illbsd.quip.test (ip-62-24-92-232.net.upcbroadband.cz [62.24.92.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id AA14E28411; Wed, 22 May 2019 12:33:32 +0200 (CEST) Subject: Re: graphics/php*-gd requires X11 by default To: Greg Kennedy , "freebsd-ports@freebsd.org" References: From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Wed, 22 May 2019 12:33:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 5223E77597 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.08 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: elsa.codelab.cz]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=kf1c=TW=quip.cz=000.fbsd@elsa.codelab.cz]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=kf1c=TW=quip.cz=000.fbsd@elsa.codelab.cz]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.93)[0.929,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.986,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; IP_SCORE(0.98)[ip: (0.63), ipnet: 94.124.104.0/21(0.32), asn: 42000(3.85), country: CZ(0.08)]; R_SPF_NA(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 10:33:36 -0000 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 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 >> 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)