Gentoo Archives: gentoo-dev

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