public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
@ 2006-12-25  4:14 Walter Dnes
  2006-12-27 11:35 ` Mike Myers
  2006-12-29 19:23 ` Daniel Barkalow
  0 siblings, 2 replies; 7+ messages in thread
From: Walter Dnes @ 2006-12-25  4:14 UTC (permalink / raw
  To: Gentoo Users List

  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?

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
  2006-12-25  4:14 [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem Walter Dnes
@ 2006-12-27 11:35 ` Mike Myers
  2006-12-27 16:57   ` Dan
  2006-12-29 19:23 ` Daniel Barkalow
  1 sibling, 1 reply; 7+ messages in thread
From: Mike Myers @ 2006-12-27 11:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

On 12/24/06, Walter Dnes <waltdnes@waltdnes.org> 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?
>
> --
> Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
> My musings on technology and security at http://techsec.blog.ca
> --
> gentoo-user@gentoo.org mailing list
>
>

I'm having this problem too :(

[-- Attachment #2: Type: text/html, Size: 1997 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
  2006-12-27 11:35 ` Mike Myers
@ 2006-12-27 16:57   ` Dan
  0 siblings, 0 replies; 7+ messages in thread
From: Dan @ 2006-12-27 16:57 UTC (permalink / raw
  To: gentoo-user

On Wed, 27 Dec 2006 05:35:30 -0600
"Mike Myers" <fluffymikey@gmail.com> wrote:

> > -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?
> >

it seems to be a mild glitch in the portage setup for cairo and gtk and
whatnot.  I didn't have a problem adding pdf to the use flags for cairo
though.  
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
  2006-12-25  4:14 [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem Walter Dnes
  2006-12-27 11:35 ` Mike Myers
@ 2006-12-29 19:23 ` Daniel Barkalow
  2006-12-30  4:14   ` Walter Dnes
  1 sibling, 1 reply; 7+ messages in thread
From: Daniel Barkalow @ 2006-12-29 19:23 UTC (permalink / raw
  To: Gentoo Users List

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
  2006-12-29 19:23 ` Daniel Barkalow
@ 2006-12-30  4:14   ` Walter Dnes
  2006-12-30  4:21     ` Daniel Barkalow
  0 siblings, 1 reply; 7+ messages in thread
From: Walter Dnes @ 2006-12-30  4:14 UTC (permalink / raw
  To: gentoo-user

On Fri, Dec 29, 2006 at 02:23:08PM -0500, Daniel Barkalow wrote

> > 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.

  So why does the flag show up at all when I do an "emerge -pv"?

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
  2006-12-30  4:14   ` Walter Dnes
@ 2006-12-30  4:21     ` Daniel Barkalow
  2006-12-31  4:33       ` Walter Dnes
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Barkalow @ 2006-12-30  4:21 UTC (permalink / raw
  To: gentoo-user

On Fri, 29 Dec 2006, Walter Dnes wrote:

> On Fri, Dec 29, 2006 at 02:23:08PM -0500, Daniel Barkalow wrote
> 
> > > 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.
> 
>   So why does the flag show up at all when I do an "emerge -pv"?

Your currently installed package came from an ebuild which had it 
available (and not set), so it's reporting that currently the USE flags
include "-pdf", and rebuilding will cause that to go away.

	-Daniel
*This .sig left intentionally blank*
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
  2006-12-30  4:21     ` Daniel Barkalow
@ 2006-12-31  4:33       ` Walter Dnes
  0 siblings, 0 replies; 7+ messages in thread
From: Walter Dnes @ 2006-12-31  4:33 UTC (permalink / raw
  To: gentoo-user

On Fri, Dec 29, 2006 at 11:21:06PM -0500, Daniel Barkalow wrote
> On Fri, 29 Dec 2006, Walter Dnes wrote:

> Your currently installed package came from an ebuild which had it
> available (and not set), so it's reporting that currently the USE
> flags include "-pdf", and rebuilding will cause that to go away.

  Thanks for taking the time to explain things to me.  Happy New Year.

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-12-31  4:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-25  4:14 [gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem Walter Dnes
2006-12-27 11:35 ` Mike Myers
2006-12-27 16:57   ` Dan
2006-12-29 19:23 ` Daniel Barkalow
2006-12-30  4:14   ` Walter Dnes
2006-12-30  4:21     ` Daniel Barkalow
2006-12-31  4:33       ` Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox