From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 7 02:10:14 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FF881065670 for ; Wed, 7 Mar 2012 02:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 513678FC12 for ; Wed, 7 Mar 2012 02:10:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q272AEEH019578 for ; Wed, 7 Mar 2012 02:10:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q272AE2p019577; Wed, 7 Mar 2012 02:10:14 GMT (envelope-from gnats) Date: Wed, 7 Mar 2012 02:10:14 GMT Message-Id: <201203070210.q272AE2p019577@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Hiroki Sato Cc: Subject: Re: misc/165706: print/ghostscript9 forces dependency of dns/libidn which is really optional X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hiroki Sato List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 02:10:14 -0000 The following reply was made to PR ports/165706; it has been noted by GNATS. From: Hiroki Sato To: pg@2lazy.ru Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/165706: print/ghostscript9 forces dependency of dns/libidn which is really optional Date: Wed, 07 Mar 2012 11:06:00 +0900 (JST) ----Security_Multipart(Wed_Mar__7_11_06_00_2012_533)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Pavel Gubin wrote in <4F55A82C.6050706@2lazy.ru>: pg> Hiroki Sato wrote: pg> > pg> > may be configured --without-libidn, so this dep may be pg> pg> > made pg> > tunable. pg> > pg> > Why? pg> pg> Because it is pg> > optional, am I Wrong? pg> My system works well without libidn, and pg> > gs until ghostscript9-9.05_2 pg> (or _1) also works, and I verified pg> > this patch. Also I set default for pg> libidn to "on", so this pg> > should not break anything, but will allow to pg> disable pg> > unnecessary dependence if one doesn'n need it. pg> > pg> > You just do not use the PDF password feature newly added. I do pg> > not think it is unnecessary or should be optional unless it breaks pg> > other features. pg> Yes, and I've never used any password-protected PDFs, and see no pg> reason why this feature cannot be made optional (ON by default) if one pg> really does not need it, if this knob will cost almost nothing. pg> pg> Anyway, this may be done by just checking WITH[OUT]_LIBIDN without pg> defining additional config knob, thus it will cost nothing but a some pg> bytes in Makefile. pg> pg> Again, I see no reason why make extra dependency mandatory if it is pg> optional. It is not optional because it is designed to use it. Also I do not think adding libidn by default is a big problem for most of people because ghostscript9 already depends on 47 packages and libidn is small enough. Adding a knob increases the maintenance cost---it is not small as you expect. These are the reasons why I have no intention to add it at this moment unless it has a problem about the functionality or huge bloat of the dependency. -- Hiroki ----Security_Multipart(Wed_Mar__7_11_06_00_2012_533)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk9WwogACgkQTyzT2CeTzy1hgwCgn1o5Up82YyOAqrl78Lyf8Wol iHUAn23W0iGRhvPuTXZZdEo1qoyAE7C5 =mXj4 -----END PGP SIGNATURE----- ----Security_Multipart(Wed_Mar__7_11_06_00_2012_533)----