Gentoo Archives: gentoo-dev

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