From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28945 invoked by uid 1002); 10 May 2003 19:43:42 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 13179 invoked from network); 10 May 2003 19:43:42 -0000 From: Nicholas Brown Reply-To: nicbrown@cisco.com To: gentoo-dev@gentoo.org Content-Type: text/plain Message-Id: <1052577066.2581.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1-2tex Date: 10 May 2003 15:31:07 +0100 Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] Imagemagick forces freetype to be installed X-Archives-Salt: 3aace953-2db0-462d-968d-f8fccdbdb39a X-Archives-Hash: 207ad58ba4ffbc2aba167371f7faf597 If I do; USE="-X -cups -truetype -mpeg" emerge -p imagemagick These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/jpeg-6b-r3 [ebuild N ] dev-libs/libxml2-2.5.6 [ebuild N ] media-libs/jbigkit-1.4 [ebuild N ] media-libs/libpng-1.2.5-r4 [ebuild N ] media-libs/freetype-2.1.4 [ebuild N ] media-gfx/imagemagick-5.5.6 it still insists on installing freetype! The below is from the imagemagick .ebuild. The depend section has 2 lines that specify freetype. The first unconditionally, and the second conditional on the truetype USE flag. As can be seen in the compile section if you don't specify truetype, it turns off support for it. How do I install imagemagick without installing freetype? or is the .ebuild broken? thanks, Nick DEPEND="media-libs/jbigkit >=sys-apps/bzip2-1 sys-libs/zlib >=media-libs/freetype-2.0 X? ( virtual/x11 >=app-text/dgs-0.5.9.1 ) cups? ( >=app-text/ghostscript-6.50 ) jpeg? ( >=media-libs/jpeg-6b ) lcms? ( >=media-libs/lcms-1.06 ) mpeg? ( media-video/mpeg2vidcodec ) png? ( media-libs/libpng ) tiff? ( >=media-libs/tiff-3.5.5 ) xml2? ( >=dev-libs/libxml2-2.4.10 ) truetype? ( =media-libs/freetype-2* )" src_compile() { elibtoolize local myconf="" use X || myconf="${myconf} --with-x=no" use cups || myconf="${myconf} --without-gslib" use jpeg || myconf="${myconf} --without-jpeg --without-jp2" use lcms || myconf="${myconf} --without-lcms" use mpeg || myconf="${myconf} --without-mpeg2" use tiff || myconf="${myconf} --without-tiff" use xml2 || myconf="${myconf} --without-xml" use truetype || myconf="${myconf} --without-ttf" -- gentoo-dev@gentoo.org mailing list