From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H0NQj-0007DF-K2 for garchives@archives.gentoo.org; Fri, 29 Dec 2006 19:30:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBTJQQN8026625; Fri, 29 Dec 2006 19:26:26 GMT Received: from iabervon.org (iabervon.org [66.92.72.58]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBTJN9Gt007231 for ; Fri, 29 Dec 2006 19:23:09 GMT Received: (qmail 3401 invoked by uid 1000); 29 Dec 2006 14:23:08 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 29 Dec 2006 14:23:08 -0500 Date: Fri, 29 Dec 2006 14:23:08 -0500 (EST) From: Daniel Barkalow To: Gentoo Users List Subject: Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem. In-Reply-To: <20061225041412.GA12981@waltdnes.org> Message-ID: References: <20061225041412.GA12981@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archives-Salt: 332c42a0-e2f7-4937-8db6-ce9836e79025 X-Archives-Hash: 1d3143c7ad7b6c2f68c50aab58311158 On Sun, 24 Dec 2006, Walter Dnes wrote: > Did an "emerge --sync" and "emerge --ask --deep --update --world". > When emerge got to x11-libs/gtk+-2.10.6, the following happened... > > checking for cups-config... /usr/bin/cups-config > checking cairo-pdf.h usability... no > checking cairo-pdf.h presence... no > checking for cairo-pdf.h... no > configure: error: > *** Can't find cairo-pdf.h. You must build Cairo with the pdf > *** backend enabled. > > Probably because I start off USE with a "-*". Should be an easy fix, > insert "x11-libs/cairo pdf" into /etc/portage/package.use and rebuild > Cairo, then proceed with the emerge... *BUT*... > > [m3000][root][~] emerge -pv cairo > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] x11-libs/cairo-1.2.4 USE="X png -directfb -doc -glitz > -svg (-pdf%)" 0 kB > > Oops... note the "(-pdf%)". This option is simply not allowed for > Cairo on my system. I threw in "--skipfirst" into the emerge command, > and it seems to be working so far. But back to my main problem... how > do I reconcile gtk+ and Cairo? Actually, the cairo ebuild now unconditionally enables pdf support; the USE flag is not allowed because it is no longer possible to disable pdf support. (Portage doesn't have a way to express the differences between something not being a USE flag because it is unsupported and because it is automatic, but if you look in the ebuild, you'll find that it's using "--enable-pdf") So gtk+ should be happy once you re-emerge cairo even without changing use flags. -Daniel *This .sig left intentionally blank* -- gentoo-user@gentoo.org mailing list