Gentoo Archives: gentoo-dev

From: Nick Brown <nicbrown@×××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] imagemagick forces freetype to be installed
Date: Sat, 10 May 2003 19:45:51
Message-Id: 1052569145.2557.4.camel@localhost.localdomain
1 If I do;
2 USE="-X -cups -truetype" emerge -p imagemagick
3 it still insists on installing freetype!
4
5 The below is from the imagemagick .ebuild.
6 The depend section has 2 lines that specify freetype.
7 The first unconditionally, and the second conditional on the truetype
8 USE flag. As can be seen in the compile section if you don't specify
9 truetype, it turns of support for it.
10
11 How do I install imagemagick without installing freetype?
12 or is the .ebuild broken?
13
14 thanks,
15 Nick
16
17
18 DEPEND="media-libs/jbigkit
19 >=sys-apps/bzip2-1
20 sys-libs/zlib
21 >=media-libs/freetype-2.0
22 X? ( virtual/x11
23 >=app-text/dgs-0.5.9.1 )
24 cups? ( >=app-text/ghostscript-6.50 )
25 jpeg? ( >=media-libs/jpeg-6b )
26 lcms? ( >=media-libs/lcms-1.06 )
27 mpeg? ( media-video/mpeg2vidcodec )
28 png? ( media-libs/libpng )
29 tiff? ( >=media-libs/tiff-3.5.5 )
30 xml2? ( >=dev-libs/libxml2-2.4.10 )
31 truetype? ( =media-libs/freetype-2* )"
32
33 src_compile() {
34 elibtoolize
35
36 local myconf=""
37 use X || myconf="${myconf} --with-x=no"
38 use cups || myconf="${myconf} --without-gslib"
39 use jpeg || myconf="${myconf} --without-jpeg --without-jp2"
40 use lcms || myconf="${myconf} --without-lcms"
41 use mpeg || myconf="${myconf} --without-mpeg2"
42 use tiff || myconf="${myconf} --without-tiff"
43 use xml2 || myconf="${myconf} --without-xml"
44 use truetype || myconf="${myconf} --without-ttf"
45
46
47
48 --
49 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] imagemagick forces freetype to be installed foser <foser@×××××××××××××××××.net>
[gentoo-dev] Re: imagemagick forces freetype to be installed Paul <set@×××××.com>