From owner-freebsd-ports@freebsd.org Mon Aug 15 10:42:11 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 6AADBBB9937 for ; Mon, 15 Aug 2016 10:42:11 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 569F61D08 for ; Mon, 15 Aug 2016 10:42:11 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id 5243DBB9933; Mon, 15 Aug 2016 10:42:11 +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 51E56BB9932 for ; Mon, 15 Aug 2016 10:42:11 +0000 (UTC) (envelope-from 000.fbsd@quip.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 15E5B1D07; Mon, 15 Aug 2016 10:42:10 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 4A73828417; Mon, 15 Aug 2016 12:42:07 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (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 3417828416; Mon, 15 Aug 2016 12:42:06 +0200 (CEST) Message-ID: <57B19C7E.7050405@quip.cz> Date: Mon, 15 Aug 2016 12:42:06 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Matthieu Volat CC: ports@FreeBSD.org, kwm@FreeBSD.org Subject: Re: New dependencies of ImageMagick-nox11 - are they necessary? References: <57B0DC0B.3050100@quip.cz> <20160815075322.2dbf97f6@freedom.alkumuna.eu> In-Reply-To: <20160815075322.2dbf97f6@freedom.alkumuna.eu> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 10:42:11 -0000 Matthieu Volat wrote on 08/15/2016 07:53: > On Sun, 14 Aug 2016 23:00:59 +0200 > Miroslav Lachman <000.fbsd@quip.cz> wrote: > >> I upgraded ImageMagick-nox11: 6.9.4.3,1 -> 6.9.5.5_1,1 and found these >> new dependencies: >> >> >> New packages to be INSTALLED: >> gettext-runtime: 0.19.8.1 >> glib: 2.46.2_2 >> python27: 2.7.12 >> pcre: 8.39 >> >> I did this in one small jail where I don't want any unnecessary >> packages. This was minor update of ImageMagick so I am surprised with >> these not so small new dependencies. >> >> Are they really necessary even for nox11 variant of ImageMagick? > > After playing a bit with options, it seems that: > > 1. gettext-runtime > I did not see a configure option to disable NLS support in ImageMagick > > 2. glib, pcre > They are not always needed indeed, in my limited options configuration test[1], LQR needs it at least (I suppose others, like PDF or SVG, would too). > > 3. python > I suppose a dependency brought it? > >> >> Miroslav Lachman > > [1] Full option list and glib/pcre dependency: > > 16BIT_PIXEL: none > BZIP2: none > DJVU: ? > DOCS: ? > FFTW: ? > FONTCONFIG: none > FPX: ? > FREETYPE: none > GRAPHVIZ: ? > GSLIB: ? > HDRI: ? > JBIG: none > JPEG: none > JPEG2000: none > LCMS2: none > LQR: glib, pcre > LZMA: none > MODULES: none > OPENEXR: none > OPENMP: ? > PANGO: ? > PDF: ? > PERL: ? > PNG: none > SVG: ? > TESTS: ? > THREADS: none > TIFF: none > WEBP: ? > WMF: ? > X11: none Thank you for this analysis. I have following options for ImageMagick-nox11 Options : 16BIT_PIXEL : on BZIP2 : on DJVU : off DOCS : off FFTW : off FONTCONFIG : on FPX : off FREETYPE : on GRAPHVIZ : off GSLIB : off HDRI : off JBIG : on JPEG : on JPEG2000 : on LCMS2 : off LQR : off LZMA : off MODULES : on OPENEXR : off OPENMP : off PDF : off PERL : off PNG : on TESTS : off THREADS : on TIFF : on WEBP : off WMF : off So it doesn't need dependency on glib and pcre (and python brought by glib) Can ports Makefile be modified to use glib conditionaly only if options requiring it are selected? I am not sure about gettext. I have NLS disabled in make.conf on our poudriere builder for all ports and it was not used before version 6.9.5.5 OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS HAL Miroslav Lachman