On Thursday 29 October 2009 20.16:24 Alan McKinnon wrote:
> On Thursday 29 October 2009 21:08:27 Dan Johansson wrote:
> > On Thursday 29 October 2009 19.52:52 Dirk Heinrichs wrote:
> > > Am Donnerstag 29 Oktober 2009 19:39:27 schrieb Dan Johansson:
> > > > Today when I do an update world on one of my serves I get the
> > > > following:
> > > >
> > > > ----------------------------------------------------8<---------------
> > > >-- -- -- ----------------------------- # emerge --update --deep
> > > > --verbose --reinstall changed-use --with-bdeps y world --pretend
> > > > --tree
> > > >
> > > > These are the packages that would be merged, in reverse order:
> > > >
> > > > Calculating dependencies... done!
> > > >
> > > > emerge: there are no ebuilds built with USE flags to satisfy ">=x11-
> > > > libs/cairo-1.6[X]".
> > > > !!! One of the following packages is required to complete your
> > > > request: - x11-libs/cairo-1.8.8 (Change USE: +X)
> > > > (dependency required by "x11-libs/gtk+-2.16.6" [ebuild])
> > > > (dependency required by "media-gfx/ufraw-0.15-r1" [ebuild])
> > > > (dependency required by "media-gfx/imagemagick-6.5.2.9" [ebuild])
> > > > (dependency required by "www-apps/gallery-2.3" [ebuild])
> > > > (dependency required by "world" [argument])
> > > > ----------------------------------------------------8<---------------
> > > >-- -- -- -----------------------------
> > > >
> > > > As this is a server I really do not want/need X on this host.
> > >
> > > So why do have gtk+ in your USE, then? That's the one that makes ufraw
> > > pull in gtk+ which in turn wants cairo with the X flag. OTOH, this
> > > doesn't mean you'll get X installed on your machine. You'll only get a
> > > handful of X libs.
> > >
> > > > I can not see why it works if I first deletes all USE flags (-*) and
> > > > the just sets the USE flags I need again.
> > >
> > > Because it's not imagemagick that wants cairo with X (which the emerge
> > >  output above clearly states).
> > >
> > > Bye...
> > >
> > >   Dirk
> >
> > Yes, I can see that it's not imagemagick directly that pulls in cairo.
> > And I do not have the gtk USE flag set:
> >
> > # euse -i gtk
> > global use flags (searching: gtk)
> > ************************************************************
> > [-    ] gtk - Adds support for x11-libs/gtk+ (The GIMP Toolkit)
> > <...snip...>
> 
> ufraw's DEPEND:
> 
> RDEPEND="media-libs/jpeg
> 
>         >=media-libs/lcms-1.13
> 
>         media-libs/tiff
> 
>         >=x11-libs/gtk+-2.4.0
> 
> You don't have a choice. With ufraw you are going to get gtk+.
> 
> imagemagick pulls in ufraw:
> 
> RDEPEND="raw? ( media-gfx/ufraw )
> 
> But you have -raw in USE for imagemagick
> 
> Hmm. What does emerge --info have to say about USE=raw?
> What does emerge -pvt imagemagick have to say?
> I'm thinking raw may be overridden in your profile. what profile are you
> using?

That was it, if I put -raw in make.conf I am able to upgrade imagemagick 
without pulling in all the X stuff (~25 new packages).

-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

Reply via email to