From owner-freebsd-ports@freebsd.org Thu Aug 20 17:25:48 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 129FA9BF42B for ; Thu, 20 Aug 2015 17:25:48 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E47801B4F for ; Thu, 20 Aug 2015 17:25:47 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E1E349BF42A; Thu, 20 Aug 2015 17:25:47 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C77D29BF429 for ; Thu, 20 Aug 2015 17:25:47 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.allbsd.org", Issuer "RapidSSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 740561B4E for ; Thu, 20 Aug 2015 17:25:47 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from alph.d.allbsd.org (alph.d.allbsd.org [IPv6:2001:2f0:104:e010:862b:2bff:febc:8956] (may be forged)) (authenticated bits=56) by mail.allbsd.org (8.14.9/8.14.9) with ESMTP id t7KHPVvH016079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Aug 2015 02:25:33 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.9/8.14.9) with ESMTP id t7KHPUTo011037 for ; Fri, 21 Aug 2015 02:25:31 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 21 Aug 2015 02:25:21 +0900 (JST) Message-Id: <20150821.022521.792759762853683209.hrs@allbsd.org> To: ports@FreeBSD.org Subject: Removal of print/ghostscript*-nox11 From: Hiroki Sato X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_Aug_21_02_25_21_2015_230)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.98.6 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Fri, 21 Aug 2015 02:25:39 +0900 (JST) X-Spam-Status: No, score=-98.0 required=13.0 tests=CONTENT_TYPE_PRESENT, RCVD_IN_AHBL, RCVD_IN_AHBL_PROXY, RCVD_IN_AHBL_SPAM, RDNS_NONE, USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gatekeeper.allbsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2015 17:25:48 -0000 ----Security_Multipart(Fri_Aug_21_02_25_21_2015_230)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I would like your comments about removal of ghostscript*-nox11 ports, more specifically, whether many people think X11 library dependency is annoying or not. After trying to fix -nox11 ports in the end of last month and then investigating them more carefully, I also reached a conclusion that they should be removed as several ports committers suggested. These -nox11 ports have originally been provided to build pre-compiled packages for people who want GS with no (heavy) X11 dependency. However, they have made dependency handling complicated because a package which depends on both X11 library and GS by default requires GS w/ X11 support in the dependency chain, but GS w/ and w/o X11 cannot co-exist. This means that the -nox11 packages do not work well with pre-complied packages which require GS though they work if all of them are built w/o X11 support consistently on a system. If ports are built manually with OPTIONS_UNSET=X11, print/ghostscript*-nox11 ports are not useful anymore. So I would suggest either of the following two plans: Plan A: Just remove print/ghostscript*-nox11. Currently ghostscript depends on X11 libraries of ice, sm, x11, xext, and xt. While one can still eliminate these dependency by disabling X11 in PORT_OPTIONS, the pre-complied packages always depend on them. Pros: Simple. Cons: GS always depends on the X11 libraries. Plan B: Remove print/ghostscript*-nox11 and split the X11-dependent part of print/ghostscript9 into another port. Ghostscript can be built into two parts; one is a part without X11 libraries and another is a shared library for X11-dependent functionality. GS will find the shared library and transparently enable x11* devices only when available. So we can split ghostscript ports into base and X11 part like this: print/ghostscript9-base: no X11 dependency print/ghostscript9-x11: installs the shared library only Ports which require ghostscript can safely depend on ghostscript9-base regardless of X11 support. If they need X11 support in GS (print/gv, for example), USES=ghostscript:x11 picks up ghostscript9-x11 as an additional dependency. Pros: Minimal dependency. Cons: People may confuse what -base and -x11 mean and which package should be installed when they want ghostscript. I have created patches for the both and confirmed technical feasibility but still wondering which looks better to people who are using ghostscript. Any comments and/or questions are welcome. -- Hiroki ----Security_Multipart(Fri_Aug_21_02_25_21_2015_230)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlXWDYEACgkQTyzT2CeTzy0ALgCeOdiKkSUqe+HldQrUUi3ICT33 44sAni4oCRxZhzvuQTM50pH8Ww36z6x2 =plIS -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Aug_21_02_25_21_2015_230)----