Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2016 16:41:47 +0100
From:      =?utf-8?Q?Martin_Waschb=C3=BCsch?= <martin@waschbuesch.de>
To:        Tijl Coosemans <tijl@FreeBSD.org>
Cc:        ports@freebsd.org
Subject:   Re: print/cups overhaul (PR 207746) side-effects
Message-ID:  <537AB8F5-D4EE-4778-B169-43D3A7DA9F73@waschbuesch.de>
In-Reply-To: <20160312141059.575582ec@kalimero.tijl.coosemans.org>
References:  <CEEB1AD3-D620-45C5-88AD-9B3DAE68DA79@waschbuesch.de> <20160312141059.575582ec@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Am 12.03.2016 um 14:10 schrieb Tijl Coosemans <tijl@FreeBSD.org>:
>=20
> On Fri, 11 Mar 2016 20:52:08 +0100 Martin Waschb=C3=BCsch =
<martin@waschbuesch.de> 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?
>=20
> 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.

That is not true. Cairo does get pulled in.

Steps to recreate (on a 10.2 build box):

$ poudriere ports -c -p HEAD
$ poudriere jail -c -v 10.2-RELEASE -j test -p HEAD

just to be safe, I add:

$ echo "OPTIONS_UNSET+=3D X11" > =
/usr/local/etc/poudriere.d/test-make.conf

select the one port to build:

$ echo "print/cups" > /usr/local/etc/poudriere.d/test-port-list
$ poudriere options -j test -p HEAD -f =
/usr/local/etc/poudriere.d/test-port-list

Then do a dry-run:

$ poudriere bulk -n -j test -p HEAD -f =
/usr/local/etc/poudriere.d/test-port-list

This ends up telling me that the following 126 ports would be built:

Ports to build: autoconf-2.69 autoconf-wrapper-20131203 automake-1.15_1 =
automake-wrapper-20131203 avahi-app-0.6.31_5 bash-4.3.42_1 =
bigreqsproto-1.1.2 bison-2.7.1,1 boehm-gc-7.4.2_4 ca_root_nss-3.22.2 =
cairo-1.14.6,2 ccache-3.2.4_3 clang36-3.6.2 cups-2.1.3 damageproto-1.2.1 =
dbus-1.8.20 dbus-glib-0.104 docbook-1.5 docbook-sgml-4.5_1 =
docbook-xml-5.0_3 docbook-xsl-1.76.1_2 dri2proto-2.8 expat-2.1.0_3 =
fixesproto-5.0 fontconfig-2.11.1_1,1 freetype2-2.6.3 gbm-11.0.8 =
gdbm-1.11_2 getopt-1.1.6 gettext-runtime-0.19.7 gettext-tools-0.19.7 =
glib-2.46.2 glproto-1.4.17 gmake-4.1_2 gmake-lite-4.1_1 gmp-5.1.3_3 =
gnome_subr-1.0 gnutls-3.3.17.1_2 gobject-introspection-1.46.0 =
help2man-1.43.3_1 indexinfo-0.2.4 inputproto-2.3.1 intltool-0.51.0_1 =
iso8879-1986_3 kbproto-1.0.7 libEGL-11.0.8 libGL-11.0.8 libX11-1.6.3,1 =
libXau-1.0.8_3 libXdamage-1.1.4_3 libXdmcp-1.1.2 libXext-1.3.3_1,1 =
libXfixes-5.0.1_3 libXv-1.0.10_3,1 libXvMC-1.0.9 libXxf86vm-1.1.4_1 =
libatomic_ops-7.4.0_1 libcheck-0.10.0 libclc-0.1.0.20150710 =
libdaemon-0.14_1 libdevq-0.0.2_1 libdrm-2.4.66,1 libedit-3.1.20150325_1 =
libffi-3.2.1 libgcrypt-1.6.5 libglapi-11.0.8 libgpg-error-1.21 =
libiconv-1.14_9 libidn-1.31 libpaper-1.1.24.4 libpciaccess-0.13.4 =
libpthread-stubs-0.3_6 libtasn1-4.7 libtool-2.4.6 libxcb-1.11.1 =
libxml2-2.9.3 libxshmfence-1.2 libxslt-1.1.28_8 llvm36-3.6.2_2 =
m4-1.4.17_1,1 makedepend-1.0.5,1 nettle-3.2 ninja-1.6.0,2 p11-kit-0.23.2 =
p5-Locale-gettext-1.06 p5-XML-Parser-2.44 pciids-20160227 pcre-8.37_4 =
perl5-5.20.3_8 pixman-0.34.0 pkg-1.6.4_1 pkgconf-0.9.12_1 png-1.6.21 =
presentproto-1.0 py27-Babel-2.2.0_1 py27-Jinja2-2.8 py27-MarkupSafe-0.23 =
py27-alabaster-0.7.6 py27-docutils-0.12 py27-pygments-2.1 =
py27-pystemmer-1.3.0_1 py27-pytz-2015.7,1 py27-setuptools27-20.0 =
py27-six-1.10.0 py27-snowballstemmer-1.2.0_1 py27-sphinx-1.3.1_2 =
py27-sphinx_rtd_theme-0.1.9 python2-2_3 python27-2.7.11_1 =
sdocbook-xml-1.1_1,2 trousers-tddl-0.3.10_7 videoproto-2.3.2 w3m-0.5.3_5 =
xcb-proto-1.11_1 xcb-util-0.4.0_1,1 xcb-util-renderutil-0.3.9_1 =
xcmiscproto-1.2.2 xextproto-7.3.0 xf86bigfontproto-1.2.0 =
xf86vidmodeproto-2.3.1 xmlcatmgr-2.2_2 xmlcharent-0.3_2 xmlto-0.0.28 =
xorg-macros-1.19.0 xproto-7.0.28 xtrans-1.3.5=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537AB8F5-D4EE-4778-B169-43D3A7DA9F73>