From owner-freebsd-ports@freebsd.org Sat Mar 12 13:12:15 2016 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 6E2C0ACDF7F for ; Sat, 12 Mar 2016 13:12:15 +0000 (UTC) (envelope-from tijl@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 59C52D82 for ; Sat, 12 Mar 2016 13:12:15 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 59304ACDF7E; Sat, 12 Mar 2016 13:12:15 +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 58CAEACDF7D for ; Sat, 12 Mar 2016 13:12:15 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay110.isp.belgacom.be (mailrelay110.isp.belgacom.be [195.238.20.137]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA299D7F for ; Sat, 12 Mar 2016 13:12:14 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DqBgA3FORW/9O/8VFdgz6BP7wqhg0CgSs9EAEBAQEBAQFkJ4RCAQEEIzMjEAsYAgIFIQICDyoeBhOIKK4HjwoBAQEBAQUBAQEBARt8iV6BN4JrFoMCgToFl0uNdm6OIY59NyuCAw0MgUk7Lol0AQEB Received: from 211.191-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.191.211]) by relay.skynet.be with ESMTP; 12 Mar 2016 14:11:00 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id u2CDAxP9010255; Sat, 12 Mar 2016 14:11:00 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Sat, 12 Mar 2016 14:10:59 +0100 From: Tijl Coosemans To: Martin =?UTF-8?B?V2FzY2hiw7xzY2g=?= Cc: ports@freebsd.org Subject: Re: print/cups overhaul (PR 207746) side-effects Message-ID: <20160312141059.575582ec@kalimero.tijl.coosemans.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2016 13:12:15 -0000 On Fri, 11 Mar 2016 20:52:08 +0100 Martin Waschb=C3=BCsch wrote: > I just did a rebuild of packages for my webservers with poudriere. > What I noticed was that via the print/cups overhaul (see PR 207746), > quite a lot (>50) of additional dependencies are added to the system, > including lots of x11 related libs, avahi, dbus, cairo, opengl, etc. >=20 > This stems from installing pecl-imagick which results in pulling in > ImageMagick, ghostscript, and cups. >=20 > Now, of course I can manually remove port options and reduce the number > of additional dependencies, but I feel uneasy about the defaults now. >=20 > If I wanted to adjust an existing port to be less greedy with regards > to dependencies, how would I go about that? Create a slave port? print/cups has its X11 option disabled by default. It does depend on devel/dbus which has its X11 option enabled by default, but this only pulls in a few X11 dependencies, definitely not cairo. print/cups-filters on the other hand depends on graphics/poppler and that has an option to depend on cairo which is enabled by default. So you can disable this option, or if your server doesn't need to print you can uninstall cups-filters and its dependencies.