Gentoo Archives: gentoo-user

From: Daniel Barkalow <barkalow@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
Date: Fri, 29 Dec 2006 19:30:14
Message-Id: Pine.LNX.4.64.0612291413080.20138@iabervon.org
In Reply to: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem. by Walter Dnes
1 On Sun, 24 Dec 2006, Walter Dnes wrote:
2
3 > Did an "emerge --sync" and "emerge --ask --deep --update --world".
4 > When emerge got to x11-libs/gtk+-2.10.6, the following happened...
5 >
6 > checking for cups-config... /usr/bin/cups-config
7 > checking cairo-pdf.h usability... no
8 > checking cairo-pdf.h presence... no
9 > checking for cairo-pdf.h... no
10 > configure: error:
11 > *** Can't find cairo-pdf.h. You must build Cairo with the pdf
12 > *** backend enabled.
13 >
14 > Probably because I start off USE with a "-*". Should be an easy fix,
15 > insert "x11-libs/cairo pdf" into /etc/portage/package.use and rebuild
16 > Cairo, then proceed with the emerge... *BUT*...
17 >
18 > [m3000][root][~] emerge -pv cairo
19 >
20 > These are the packages that would be merged, in order:
21 >
22 > Calculating dependencies... done!
23 > [ebuild R ] x11-libs/cairo-1.2.4 USE="X png -directfb -doc -glitz
24 > -svg (-pdf%)" 0 kB
25 >
26 > Oops... note the "(-pdf%)". This option is simply not allowed for
27 > Cairo on my system. I threw in "--skipfirst" into the emerge command,
28 > and it seems to be working so far. But back to my main problem... how
29 > do I reconcile gtk+ and Cairo?
30
31 Actually, the cairo ebuild now unconditionally enables pdf support; the
32 USE flag is not allowed because it is no longer possible to disable pdf
33 support. (Portage doesn't have a way to express the differences between
34 something not being a USE flag because it is unsupported and because it is
35 automatic, but if you look in the ebuild, you'll find that it's using
36 "--enable-pdf")
37
38 So gtk+ should be happy once you re-emerge cairo even without changing use
39 flags.
40
41 -Daniel
42 *This .sig left intentionally blank*
43
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem. Walter Dnes <waltdnes@××××××××.org>